mirror of
https://github.com/gnustep/libs-gui.git
synced 2025-05-30 13:20:38 +00:00
Added aditional methods for text completion
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@9541 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
parent
576a4db6e6
commit
13f8324f10
3 changed files with 41 additions and 0 deletions
|
@ -47,6 +47,7 @@
|
|||
//_buttonCell = nil;
|
||||
_popUpList = [[NSMutableArray alloc] init];
|
||||
//_usesDataSource = NO;
|
||||
//_completes = NO;
|
||||
_visibleItems = 10;
|
||||
_intercellSpacing = NSZeroSize;
|
||||
_itemHeight = 14;
|
||||
|
@ -296,6 +297,23 @@
|
|||
return _popUpList;
|
||||
}
|
||||
|
||||
// Text completion
|
||||
- (NSString *)completedString:(NSString *)substring
|
||||
{
|
||||
// FIXME
|
||||
return substring;
|
||||
}
|
||||
|
||||
- (void)setCompletes:(BOOL)completes
|
||||
{
|
||||
_completes = completes;
|
||||
}
|
||||
|
||||
- (BOOL)completes
|
||||
{
|
||||
return _completes;
|
||||
}
|
||||
|
||||
- (void)performPopUsingSelector:(SEL)aSelector
|
||||
inRect:(NSRect)cellFrame
|
||||
ofView:(NSView *)controlView
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue