mirror of
https://github.com/gnustep/apps-gorm.git
synced 2025-02-24 12:01:16 +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";
|
"## Comment" = "Do NOT change this file, Gorm maintains it";
|
||||||
FirstResponder = {
|
FirstResponder = {
|
||||||
Actions = (
|
Actions = (
|
||||||
"capitalizeWord:",
|
|
||||||
"changeFont:",
|
|
||||||
"delete:",
|
|
||||||
"deleteWordBackward:",
|
|
||||||
"loosenKerning:",
|
|
||||||
"moveDown:",
|
|
||||||
"moveToBeginningOfParagraph:",
|
|
||||||
"moveWordForward:",
|
|
||||||
"orderFrontDataLinkPanel:",
|
|
||||||
"orderFrontFontPanel:",
|
"orderFrontFontPanel:",
|
||||||
"pasteAsPlainText:",
|
|
||||||
"raiseBaseline:",
|
|
||||||
"scrollLineDown:",
|
|
||||||
"selectParagraph:",
|
|
||||||
"showWindow:",
|
|
||||||
"takeObjectValueFrom:",
|
|
||||||
"toggleTraditionalCharacterShape:",
|
|
||||||
"unscript:",
|
|
||||||
"setObject:",
|
"setObject:",
|
||||||
"updateMenuType:",
|
"updateMenuType:",
|
||||||
"updateAutoenable:"
|
"updateAutoenable:"
|
||||||
|
|
Binary file not shown.
Binary file not shown.
|
@ -39,11 +39,9 @@
|
||||||
|
|
||||||
@implementation GormMenuAttributesInspector
|
@implementation GormMenuAttributesInspector
|
||||||
|
|
||||||
- (void) controlTextDidEndEditing: (NSNotification*)aNotification
|
- (void)controlTextDidChange:(NSNotification *)aNotification
|
||||||
{
|
{
|
||||||
id<IBDocuments> doc = [(id<IB>)NSApp activeDocument];
|
|
||||||
[object setTitle: [titleText stringValue]];
|
[object setTitle: [titleText stringValue]];
|
||||||
[doc touch];
|
|
||||||
}
|
}
|
||||||
|
|
||||||
- (id) init
|
- (id) init
|
||||||
|
@ -163,7 +161,7 @@
|
||||||
|
|
||||||
@implementation GormMenuItemAttributesInspector
|
@implementation GormMenuItemAttributesInspector
|
||||||
|
|
||||||
- (void) controlTextDidEndEditing: (NSNotification*)aNotification
|
- (void)controlTextDidChange:(NSNotification *)aNotification
|
||||||
{
|
{
|
||||||
id o = [aNotification object];
|
id o = [aNotification object];
|
||||||
id<IBDocuments> doc = [(id<IB>)NSApp activeDocument];
|
id<IBDocuments> doc = [(id<IB>)NSApp activeDocument];
|
||||||
|
|
|
@ -2,41 +2,7 @@
|
||||||
"## Comment" = "Do NOT change this file, Gorm maintains it";
|
"## Comment" = "Do NOT change this file, Gorm maintains it";
|
||||||
FirstResponder = {
|
FirstResponder = {
|
||||||
Actions = (
|
Actions = (
|
||||||
"alignLeft:",
|
"orderFrontFontPanel:"
|
||||||
"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:"
|
|
||||||
);
|
);
|
||||||
Super = NSObject;
|
Super = NSObject;
|
||||||
};
|
};
|
||||||
|
|
Binary file not shown.
Binary file not shown.
Loading…
Reference in a new issue