BRTextEntryControl
Source Code Examples: (that shows/utilize the control)
I used this code to get the BRTextEntry control onto the screen. See here for more
#import "MyMenuController.h" @implementation MyMenuController : BRMenuController -(id)initWithScene:(id)scene { [super initWithScene:scene]; [self setListTitle:@"Utilities"]; [self setApplianceIcon:[NSImage imageNamed:@"ApplianceIcon.png"]]; BRTextEntryControl *textentry = [[[BRTextEntryControl alloc] initWithScene:scene] autorelease]; [textentry setInitialText:@"Initial Text Goes Here"]; id item = [BRTextMenuItemLayer menuItemWithScene:scene]; [item setTitle:@"Text Entry"]; [item addControl:textentry]; [[self list] addObject:item]; return self; } @end
Provides for the following 'setters':
- Needs to be added
Other notes / observations :
- None at this time
Back to the Plug-in Developers Note Pad