mirror of
https://github.com/gnustep/libs-gui.git
synced 2025-05-30 05:20:38 +00:00
* Headers/AppKit/NSSavePanel.h:
* Source/NSSavePanel.m: Implement -setNameFieldStringValue:, -nameFieldStringValue, -setNameFieldLabel:, -nameFieldLabel. git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@32933 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
parent
9db8881062
commit
a2f673e468
3 changed files with 23 additions and 3 deletions
|
@ -896,15 +896,24 @@ selectCellWithString: (NSString*)title
|
|||
return _accessoryView;
|
||||
}
|
||||
|
||||
- (void) setNameFieldStringValue:(NSString *)value
|
||||
{
|
||||
[[_form cellAtIndex: 0] setStringValue: value];
|
||||
}
|
||||
|
||||
- (NSString *) nameFieldStringValue
|
||||
{
|
||||
return [[_form cellAtIndex: 0] stringValue];
|
||||
}
|
||||
|
||||
- (void) setNameFieldLabel: (NSString *)label
|
||||
{
|
||||
// FIXME
|
||||
[[_form cellAtIndex: 0] setTitle: label];
|
||||
}
|
||||
|
||||
- (NSString *) nameFieldLabel
|
||||
{
|
||||
// FIXME
|
||||
return _(@"Save As");
|
||||
return [[_form cellAtIndex: 0] title];
|
||||
}
|
||||
|
||||
- (void) setMessage: (NSString *)message
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue