Adding a number of changes. The skeleton implementations of NSToolbar and

NSToolbarItem as well as a number of miscellaneous things I have had laying
around for a while.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@13997 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
gcasa 2002-06-30 05:14:21 +00:00
parent 9df20632e8
commit 81f25a9996
12 changed files with 762 additions and 15 deletions

View file

@ -3814,17 +3814,14 @@ resetCursorRectsForView(NSView *theView)
- (void) setToolbar: (NSToolbar*)toolbar
{
// TODO
NSLog(@"Method %s is not implemented for class %s",
"drawers", "NSWindow");
ASSIGN(_toolbar, toolbar);
[_wv addSubview: [toolbar _toolbarView]];
[self setViewsNeedDisplay: YES];
}
- (NSToolbar *) toolbar
{
// TODO
NSLog(@"Method %s is not implemented for class %s",
"drawers", "NSWindow");
return nil;
return _toolbar;
}
- (void) toggleToolbarShown: (id)sender
@ -3836,7 +3833,7 @@ resetCursorRectsForView(NSView *theView)
- (void) runToolbarCustomizationPalette: (id)sender
{
// TODO
// TODO
NSLog(@"Method %s is not implemented for class %s",
"runToolbarCustomizationPalette:", "NSWindow");
}