Om
1.0.0
A universal framework for multimedia simulation
|
A class that contains function objects that recieve TabView events. More...
#include <omGraphicsGUITabView.h>
Public Attributes | |
Function< Bool(TabView &, Index)> | selectTab |
A function object that is called whenever the selected tab of a TabView is changed. More... | |
Function< void(TabView &, Index)> | deselectTab |
A function object that is called whenever a tab of a TabView is deselected. More... | |
Function< Bool(TabView &, Index tabIndex)> | closeTab |
A function object that is called whenever a tab of a TabView wants to be closed by the user. More... | |
Function< void(TabView &, Index userID)> | closedTab |
A function object that is called after a tab of a TabView is closed. More... | |
UserData | data |
An object that stores an opaque pointer to delegate data. More... | |
A class that contains function objects that recieve TabView events.
Any content-view-related event that might be processed has an appropriate callback function object. Each callback function is called by the tab view whenever such an event is received. If a callback function in the delegate is not initialized, a tab view ignores it.
A function object that is called whenever the selected tab of a TabView is changed.
The delegate function may choose to return either a value of TRUE, indicating that the change in tab is allowed, or a value of FALSE, indicating that the tab change should be ignored.
The TabView provides the index of the tab that was selected.
UserData om::graphics::gui::objects::TabView::Delegate::data |
An object that stores an opaque pointer to delegate data.