mirror of
https://github.com/gnustep/libs-gui.git
synced 2025-04-22 20:50:44 +00:00
implemented selectTabViewItemWithIdentifier:
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@16640 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
parent
8a2e943bbd
commit
ffdd4dc955
3 changed files with 12 additions and 0 deletions
|
@ -1,3 +1,8 @@
|
|||
2003-05-05 Michael Hanni <michael@deviant-behavior.com>
|
||||
|
||||
* Source/NSTabView.m: implemented
|
||||
selectTabViewItemWithIdentifier:.
|
||||
|
||||
2003-05-05 22:48 Alexander Malmberg <alexander@malmberg.org>
|
||||
|
||||
* Headers/gnustep/gui/GSLayoutManager.h, Source/GSLayoutManager.m,
|
||||
|
|
|
@ -72,6 +72,7 @@ typedef enum {
|
|||
- (void)selectPreviousTabViewItem:(id)sender;
|
||||
- (void)selectTabViewItem:(NSTabViewItem *)tabViewItem;
|
||||
- (void)selectTabViewItemAtIndex:(int)index;
|
||||
- (void)selectTabViewItemWithIdentifier:(id)identifier;
|
||||
- (void)takeSelectedTabViewItemFromSender:(id)sender;
|
||||
- (NSTabViewItem*) selectedTabViewItem;
|
||||
|
||||
|
|
|
@ -227,6 +227,12 @@
|
|||
[self selectTabViewItem: [_items objectAtIndex: index]];
|
||||
}
|
||||
|
||||
- (void) selectTabViewItemWithIdentifier:(id)identifier
|
||||
{
|
||||
int index = [self indexOfTabViewItemWithIdentifier: identifier];
|
||||
[self selectTabViewItemAtIndex: index];
|
||||
}
|
||||
|
||||
- (void) takeSelectedTabViewItemFromSender: (id)sender
|
||||
{
|
||||
int index = -1;
|
||||
|
|
Loading…
Reference in a new issue