This control is appropriate for attaching popup menus.
We want the menu to appear on mouse button down (instead of mouse button up) so override the doPress() method to invoke the callback.
#include
<class_u_i_1_1_popup_menu_button.h>
Public Member Functions |
|
__init__ () | |
doEnter () | |
doExit () | |
doPress () | |
Invoke callback on press so popup menu may
be shown immediately. |
|
doRelease () | |
Nothing to do on release. |
UI.PopupMenuButton.__init__ | ( | ) |
Reimplemented from UI.ImageButton.
UI.PopupMenuButton.doEnter | ( | ) |
Reimplemented from UI.ImageButton.
UI.PopupMenuButton.doExit | ( | ) |
Reimplemented from UI.ImageButton.
UI.PopupMenuButton.doPress | ( | ) |
Invoke callback on press so popup menu may be shown immediately.
Reimplemented from UI.ImageButton.
UI.PopupMenuButton.doRelease | ( | ) |