GuideBarButton (hwx.gui)#
- class GuideBarButton(parent, **kwds)#
Bases:
PushButton
Clickable button that can be added to a GuideBar.
# Name
Type
property
property
property
property
property
# Name
Description
get
(self)Returns True if checked.
Creates a new menu button.
onCommand
(self, event=None)Callback method to be called when the button is clicked.
set
(self, v)Set Checked
showDialog
(self)Show guidbar and dialog.
- menu(autoshow=True, autohide=True, **kwds)#
Creates a new menu button.
- property icon#
Name of the icon file or one of the predefined. Valid choices are:
‘play’
‘reset’
‘next’
‘previous’
‘menu’
‘combobox’
- property helptext#
The help message displayed below the guidebar.
- property autoshowmode#
Determines what gets displayed automatically when this button is clicked. Valid choices are:
“dialog”
“menu”
“nothing”
- property dialog#
The MicroDialog associated with this button.
- showDialog()#
Show guidbar and dialog.
- onCommand(event=None)#
Callback method to be called when the button is clicked.
- property menuwidget#
The Menu associated with this button, if any.
- set(v)#
Set Checked
- get()#
Returns True if checked.