GuideBarMenu (hwx.gui)¶
Clickable Menu that can be added to a GuideBar.
- Inherits:
Property Details¶
-
anchorbutton
()
The button in the guide bar associated with this menu.
-
autohide
()
Determines whether to automatically hide or not.
-
autoshow
()
Determines whether to automatically show the menu when its anchor button is clicked.
-
icon
()
The name of icon file or predefined icon to assigned to the anchor button.
-
text
()
The text to display on the anchor button.
Method Details¶
-
button
(self, **kwds)
Adds a button to the Guide bar menu layout.
param kwds: | Any other properties needed to be set for the Button. |
---|---|
type kwds: | dict |
returns: | The added button. |
rtype: | Button |
-
checkBox
(self, checked=False, **kwds)¶
Adds a checkbox to the Guide bar menu layout.
param checked: | Determines whether the button is checked or not. |
---|---|
type checked: | bool |
param kwds: | Any other properties needed to be set for the check box. |
type kwds: | dict |
returns: | The check box. |
rtype: | Button |