Platforms to show: All Mac Windows Linux Cross-Platform
The class NSStatusItemMBS
class NSStatusItemMBS
MBS REALbasic Cocoa Plugin (NSStatusItem),
class, Statusitem, MBS REALbasic Cocoa Plugin (NSStatusItem), class NSStatusItemMBS, Console safe, Plugin version: 7.2, Mac OS X: Works, Windows: Does nothing, Linux x86: Does nothing, Feedback.
Function: A class to handle a NSStatusitem which is a tiny little item in the menubar.
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 handle a NSStatusitem which is a tiny little item in the menubar.
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 Action
- event DoubleAction
- property Handle as Integer
- method alternateImage as NSImageMBS
- method attributedTitle as NSAttributedStringMBS
- method Available as boolean
- method Close
- method CreateMenu as boolean
- method CreateMenu(length as single) as boolean
- method CreateMenuMiddle(length as single) as boolean
- method CreateMenuRight(length as single) as boolean
- method DrawStatusBarBackground(x as double, y as double, width as double, height as double, highlight as boolean)
- method Enabled as boolean
- method Height as single
- method HighlightMode as boolean
- method image as NSImageMBS
- method Left as single
- method Length as single
- method Menu as NSMenuMBS
- method MenuIsVertical as double
- method MenuThickness as double
- method popUpStatusItemMenu(menu as NSMenuMBS)
- method SendActionOn(mode as integer)
- method setView(view as NSViewMBS)
- method Title as String
- method ToolTip as String
- method Top as single
- method View as NSViewMBS
- method Width as single
- method Window as NSWindowMBS
This class has no sub classes.
Some examples which use this class:
- /Cocoa/NSStatusItem/StatusItem
- /Cocoa/NSStatusItem/StatusItem with NSView
- /Cocoa/NSStatusItem/Display current IP
- /Cocoa/NSStatusItem/Statusitem Counter
- /Cocoa/NSStatusItem/Name in menu bar
- /Cocoa/NSStatusItem/Classic Control Menu
- /Cocoa/NSStatusItem/Display current iTunes Song
- /Cocoa/NSStatusItem/StatusItem with CarbonEvents
- /Cocoa/NSStatusItem/Logintime in menubar
The items on this page are in the following plugins: MBS REALbasic Cocoa Plugin.
Links
MBS Realbasic PDF Plugins - Förderverein St. Arnulf Nickenich