Remove this item from the menu bar. The item is retained and can be shown again with show().
Check if this item is currently visible in the menu bar.
true if the item is visible in the menu bar
Set a callback invoked when the item is clicked (only fires when no menu is set)
A function to call on click, or null to remove the callback
Set the icon displayed in the menu bar
An HSImage object, or null to remove the icon
Set the menu for this item. Pass an array of menu item objects for a static menu, or a function that returns an array for a dynamic menu populated each time it opens.
Array of menu item objects, a function returning such an array, or null to remove the menu
Set the tooltip shown when hovering over the menu bar item
Tooltip text, or null to remove the tooltip
Show this item in the menu bar.
Object representing a macOS system menu bar item. Create instances with
hs.menubar.create().