mirror of
https://github.com/gnustep/apps-gorm.git
synced 2025-02-24 12:01:16 +00:00
popup and pulldown menus added to palette
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/apps/gorm/trunk@6017 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
parent
3ec2072c83
commit
bffcf44703
2 changed files with 20 additions and 0 deletions
|
@ -1,3 +1,8 @@
|
||||||
|
Sun Feb 14 06:56:00 2000 Richard Frith-Macdonald <richard@brainstorm.co.uk>
|
||||||
|
|
||||||
|
* Palettes/2Control/main.m: Add popup and pulldown menu controls
|
||||||
|
though there is no way to edit them yet.
|
||||||
|
|
||||||
Sun Feb 6 8:44:00 2000 Richard Frith-Macdonald <richard@brainstorm.co.uk>
|
Sun Feb 6 8:44:00 2000 Richard Frith-Macdonald <richard@brainstorm.co.uk>
|
||||||
|
|
||||||
Removed InfoPanel.m and updated Gorm to use standard panel now that
|
Removed InfoPanel.m and updated Gorm to use standard panel now that
|
||||||
|
|
|
@ -63,6 +63,21 @@
|
||||||
RELEASE(v);
|
RELEASE(v);
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
v = [[NSPopUpButton alloc] initWithFrame: NSMakeRect(10, 60, 80, 20)];
|
||||||
|
[v addItemWithTitle: @"PopUp1"];
|
||||||
|
[v addItemWithTitle: @"PopUp2"];
|
||||||
|
[v addItemWithTitle: @"PopUp3"];
|
||||||
|
[contents addSubview: v];
|
||||||
|
RELEASE(v);
|
||||||
|
|
||||||
|
v = [[NSPopUpButton alloc] initWithFrame: NSMakeRect(10, 30, 80, 20)];
|
||||||
|
[v setPullsDown: YES];
|
||||||
|
[v addItemWithTitle: @"PullDown1"];
|
||||||
|
[v addItemWithTitle: @"PullDown2"];
|
||||||
|
[v addItemWithTitle: @"PullDown3"];
|
||||||
|
[contents addSubview: v];
|
||||||
|
RELEASE(v);
|
||||||
|
|
||||||
v = [[NSTextField alloc] initWithFrame: NSMakeRect(100, 160, 80, 20)];
|
v = [[NSTextField alloc] initWithFrame: NSMakeRect(100, 160, 80, 20)];
|
||||||
[v setEditable: NO];
|
[v setEditable: NO];
|
||||||
[v setSelectable: NO];
|
[v setSelectable: NO];
|
||||||
|
|
Loading…
Reference in a new issue