mirror of
https://github.com/gnustep/apps-gorm.git
synced 2025-02-24 03:51:22 +00:00
improve ui : set setNextView: / initialFirstResponder & delegate method for textfield
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/apps/gorm/trunk@21413 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
parent
f55c5147da
commit
9bb2454f1f
7 changed files with 3 additions and 56 deletions
|
@ -2,24 +2,7 @@
|
|||
"## Comment" = "Do NOT change this file, Gorm maintains it";
|
||||
FirstResponder = {
|
||||
Actions = (
|
||||
"capitalizeWord:",
|
||||
"changeFont:",
|
||||
"delete:",
|
||||
"deleteWordBackward:",
|
||||
"loosenKerning:",
|
||||
"moveDown:",
|
||||
"moveToBeginningOfParagraph:",
|
||||
"moveWordForward:",
|
||||
"orderFrontDataLinkPanel:",
|
||||
"orderFrontFontPanel:",
|
||||
"pasteAsPlainText:",
|
||||
"raiseBaseline:",
|
||||
"scrollLineDown:",
|
||||
"selectParagraph:",
|
||||
"showWindow:",
|
||||
"takeObjectValueFrom:",
|
||||
"toggleTraditionalCharacterShape:",
|
||||
"unscript:",
|
||||
"setObject:",
|
||||
"updateMenuType:",
|
||||
"updateAutoenable:"
|
||||
|
|
Binary file not shown.
Binary file not shown.
|
@ -39,11 +39,9 @@
|
|||
|
||||
@implementation GormMenuAttributesInspector
|
||||
|
||||
- (void) controlTextDidEndEditing: (NSNotification*)aNotification
|
||||
- (void)controlTextDidChange:(NSNotification *)aNotification
|
||||
{
|
||||
id<IBDocuments> doc = [(id<IB>)NSApp activeDocument];
|
||||
[object setTitle: [titleText stringValue]];
|
||||
[doc touch];
|
||||
}
|
||||
|
||||
- (id) init
|
||||
|
@ -163,7 +161,7 @@
|
|||
|
||||
@implementation GormMenuItemAttributesInspector
|
||||
|
||||
- (void) controlTextDidEndEditing: (NSNotification*)aNotification
|
||||
- (void)controlTextDidChange:(NSNotification *)aNotification
|
||||
{
|
||||
id o = [aNotification object];
|
||||
id<IBDocuments> doc = [(id<IB>)NSApp activeDocument];
|
||||
|
|
|
@ -2,41 +2,7 @@
|
|||
"## Comment" = "Do NOT change this file, Gorm maintains it";
|
||||
FirstResponder = {
|
||||
Actions = (
|
||||
"alignLeft:",
|
||||
"capitalizeWord:",
|
||||
"changeFont:",
|
||||
"copy:",
|
||||
"delete:",
|
||||
"deleteToBeginningOfParagraph:",
|
||||
"deleteWordBackward:",
|
||||
"fax:",
|
||||
"loosenKerning:",
|
||||
"miniaturize:",
|
||||
"moveDown:",
|
||||
"moveLeft:",
|
||||
"moveToBeginningOfParagraph:",
|
||||
"moveUp:",
|
||||
"moveWordForward:",
|
||||
"openDocument:",
|
||||
"orderFrontDataLinkPanel:",
|
||||
"orderFrontFontPanel:",
|
||||
"orderOut:",
|
||||
"pasteAsPlainText:",
|
||||
"performClose:",
|
||||
"raiseBaseline:",
|
||||
"saveAllDocuments:",
|
||||
"scrollLineDown:",
|
||||
"scrollViaScroller:",
|
||||
"selectParagraph:",
|
||||
"selectWord:",
|
||||
"showWindow:",
|
||||
"swapWithMark:",
|
||||
"takeObjectValueFrom:",
|
||||
"toggle:",
|
||||
"toggleTraditionalCharacterShape:",
|
||||
"turnOffLigatures:",
|
||||
"unscript:",
|
||||
"useStandardLigatures:"
|
||||
"orderFrontFontPanel:"
|
||||
);
|
||||
Super = NSObject;
|
||||
};
|
||||
|
|
Binary file not shown.
Binary file not shown.
Loading…
Reference in a new issue