◆ structureHasChanged()
void RenderingMenuMgrObserver::structureHasChanged |
( |
| ) |
|
|
inlineoverridevirtual |
Indicates that the menu structure has changed in a way that requires a new bootstrap and complete redraw. For example when a new menu item is added, or when static values such as the name or info block data change.
Implements MenuManagerObserver.
◆ menuEditStarting()
bool RenderingMenuMgrObserver::menuEditStarting |
( |
MenuItem * |
item | ) |
|
|
inlineoverridevirtual |
This method is called when editing is started with the menu manager, you can prevent editing by returning false.
- Parameters
-
item | the item that is about to start editing |
- Returns
- true to allow editing, otherwise false
Implements MenuManagerObserver.
◆ menuEditEnded()
void RenderingMenuMgrObserver::menuEditEnded |
( |
MenuItem * |
item | ) |
|
|
inlineoverridevirtual |
This method indicates that editing has completed editing, it is different to the menu item callback in that it is only called when the menu is edited. You cannot prevent completion, but you could present a dialog if the value was incorrectly adjusted.
- Parameters
-
item | the item that has finished editing. |
Implements MenuManagerObserver.
The documentation for this class was generated from the following file: