|
CFx SDK Documentation
2023 SP0
|
#include <FxUIMenu.h>
Additional Inherited Members | |
Protected Member Functions inherited from CFxUIObject | |
| CFxUIObject * | sender () |
Protected Attributes inherited from CFxUIObject | |
| CFxUIObjectImpl * | m_pImpl |
| CFxUIObjectData * | m_pData |
Class CFxUIMenu provides a menu widget for use in menu bars, context menus, and other popup menus.
Definition at line 27 of file FxUIMenu.h.
| CFxUIMenu::CFxUIMenu | ( | ) |
Constructor
| CFxUIMenu::~CFxUIMenu | ( | ) |
Destructor
| CFxUISignal<void( void )>& CFxUIMenu::aboutToHide | ( | ) |
Signal is emitted when menu is about hide.
| CFxUISignal<void( void )>& CFxUIMenu::aboutToShow | ( | ) |
Signal is emitted when menu is about show.
| void CFxUIMenu::addAction | ( | CFxUIAction * | pAction | ) |
Adds the action action to the menu's list of actions.
| pAction | Pointer to the action that need to be added to list. |
Adds the pMenu menu to the menu's list of menu-items.
| pMenu | Pointer to the menu that need to be added to list. |
| void CFxUIMenu::addSeparator | ( | ) |
Adds a new separator action,
| void CFxUIMenu::clear | ( | ) |
Removes all the menu's actions. Actions owned by the menu and not shown in any other widget are deleted.
| void CFxUIMenu::hide | ( | ) |
Hide the menu
| CFxUISignal<void( void )>& CFxUIMenu::menuPressed | ( | ) |
Signal is emitted when menu is pressed.
| void CFxUIMenu::popup | ( | CFxUIBaseView * | anchorView | ) |
| void CFxUIMenu::setTitle | ( | const CFxUIString & | text | ) |
Sets title of this menu