Platforms to show: All Mac Windows Linux Cross-Platform
The class NSMenuMBS
class NSMenuMBS
MBS REALbasic CocoaBase Plugin (NSMenu),
class, Statusitem, MBS REALbasic CocoaBase Plugin (NSMenu), class NSMenuMBS, Console safe, Plugin version: 7.2, Mac OS X: Works, Windows: Does nothing, Linux x86: Does nothing, Feedback.
Function: A class to represent a menu in the Cocoa world.
Notes: All methods in this class will catch exceptions from Cocoa and raise a NSExceptionMBS instead. Using the message, name and reason properties you can see what was the reason for this exception. Please report if you find a method which does not handle exceptions correct.
Function: A class to represent a menu in the Cocoa world.
Notes: All methods in this class will catch exceptions from Cocoa and raise a NSExceptionMBS instead. Using the message, name and reason properties you can see what was the reason for this exception. Please report if you find a method which does not handle exceptions correct.
- event EnableMenuItems
- property Handle as Integer
- method allowsContextMenuPlugIns as boolean
- method cancelTracking
- method cancelTrackingWithoutAnimation
- method Font as NSFontMBS
- method highlightedItem as NSMenuItemMBS
- method indexOfItem(item as NSMenuItemMBS) as integer
- method indexOfItemWithSubmenu(item as NSMenuMBS) as integer
- method indexOfItemWithTag(tag as integer) as integer
- method indexOfItemWithTitle(title as string) as integer
- method menuBarHeight as double
- shared method menuBarVisible as boolean
- method minimumWidth as double
- method performActionForItemAtIndex(index as integer)
- method removeAllItems
- shared method setMenuBarVisible(value as boolean)
- method showsStateColumn as boolean
- method size as NSSizeMBS
- method update
- method addItem(m as NSMenuItemMBS)
- method autoenablesItems as Boolean
- method Constructor(title as string="")
- method insertItem(m as NSMenuItemMBS, index as integer)
- method Item(index as integer) as NSMenuItemMBS
- method numberOfItems as integer
- method removeItem(m as NSMenuItemMBS)
- method removeItemAtIndex(index as integer)
- method supermenu as NSMenuMBS
- method Title as String
This class has no sub classes.
Some methods using this class:
- NSCellMBS.defaultMenu as NSMenuMBS
- NSMenuMBS.indexOfItemWithSubmenu(item as NSMenuMBS) as integer
- NSCellMBS.menu as NSMenuMBS
- NSPopUpButtonMBS.menu as NSMenuMBS
- NSResponderMBS.menu as NSMenuMBS
- NSStatusItemMBS.Menu as NSMenuMBS
- NSMenuItemMBS.menu as NSMenuMBS
- NSStatusItemMBS.popUpStatusItemMenu(menu as NSMenuMBS)
- NSMenuItemMBS.submenu as NSMenuMBS
- NSMenuMBS.supermenu as NSMenuMBS
Some examples which use this class:
- /Cocoa/NSStatusItem/StatusItem
- /Cocoa/NSStatusItem/StatusItem with NSView
- /Cocoa/NSStatusItem/Statusitem Counter
- /Cocoa/NSStatusItem/Name in menu bar
- /Cocoa/NSStatusItem/Classic Control Menu
- /Cocoa/NSStatusItem/StatusItem with CarbonEvents
The items on this page are in the following plugins: MBS REALbasic CocoaBase Plugin.
Links
MBS Filemaker Plugins - Pfarrgemeinde Ministranten Nickenich