Toolbar widget interface.
General | |
| virtual void | SetHeight (ni::tF32 afHeight)=0 |
| Set the toolbar's height in pixels. {Property}. More... | |
| virtual ni::tF32 | GetHeight () const =0 |
| Get the toolbar's height. {Property}. More... | |
| virtual void | SetAutoHide (ni::tBool abAutoHide)=0 |
| Set whether the toolbar should auto-hide. {Property}. More... | |
| virtual ni::tBool | GetAutoHide () const =0 |
| Get whether the toolbar should auto-hide. {Property}. More... | |
| virtual void | SetAutoHideBackground (ni::tBool abAutoHide)=0 |
| Set whether the toolbar should draw the bottom background when unfolded in auto-hide mode. {Property}. More... | |
| virtual ni::tBool | GetAutoHideBackground () const =0 |
| Get whether the toolbar should draw the bottom background when unfolded in auto-hide mode. {Property}. More... | |
| virtual void | SetShowPage (ni::tBool abShowPage)=0 |
| Set whether the toolbar's active page should be visible. {Property}. More... | |
| virtual ni::tBool | GetShowPage () const =0 |
| Get whether the toolbar's active page is visible. {Property}. More... | |
| virtual iWidget * | GetTopBar () const =0 |
| Get the top bar widget. {Property}. More... | |
| virtual iWidget * | GetBottomBar () const =0 |
| Get the bottom bar widget. {Property}. More... | |
| virtual void | SetCommandDestination (iMessageHandler *apMH)=0 |
| Set the destination message target for the commands received by the toolbar. {Property}. More... | |
| virtual iMessageHandler * | GetCommandDestination () const =0 |
| Get the destination message for the commands received by the toolbar. {Property}. More... | |
| virtual void | UpdateToolbar ()=0 |
| Updates the toolbar. More... | |
| virtual void | HidePopup ()=0 |
| Hide the toolbar pop-up. More... | |
Pages | |
| virtual ni::tU32 | GetNumPages () const =0 |
| Get the number of pages in the toolbar. {Property}. More... | |
| virtual ni::iWidget * | GetPageWidget (ni::tU32 anIndex) const =0 |
| Get the widget of the page at the specified index. {Property}. More... | |
| virtual ni::tU32 | GetPageIndex (ni::iHString *ahspID) const =0 |
| Get the index of the page with the specified ID. {Property}. More... | |
| virtual iWidget * | InitPage (iHString *ahspID, iHString *ahspName)=0 |
| Initialize/Add a toolbar with the specified ID and name. More... | |
| virtual ni::tBool | SetPageName (iHString *ahspID, iHString *ahspName)=0 |
| Set the name/title of the specified page. {Property}. More... | |
| virtual iHString * | GetPageName (iHString *ahspID) const =0 |
| Get the name/title of the specified page. {Property}. More... | |
| virtual ni::tBool | SetPageEnabled (iHString *ahspID, tBool abEnabled)=0 |
| Set whether the specifed page is enabled. {Property}. More... | |
| virtual ni::tBool | GetPageEnabled (iHString *ahspID) const =0 |
| Get whether the specifed page is enabled. {Property}. More... | |
| virtual ni::tBool | SetActivePageIndex (ni::tU32 anActivePage)=0 |
| Set the active's page index. {Property}. More... | |
| virtual ni::tU32 | GetActivePageIndex () const =0 |
| Get the active's pages index. {Property}. More... | |
| virtual ni::tBool | SetActivePageID (ni::iHString *ahspID)=0 |
| Set the active's page ID. {Property}. More... | |
| virtual ni::iHString * | GetActivePageID () const =0 |
| Get the active's page ID. {Property}. More... | |
Top bar | |
| virtual tU32 | GetNumTopWidgets () const =0 |
| Get the number of widgets in the top bar. {Property}. More... | |
| virtual iWidget * | GetTopWidget (tU32 anIndex) const =0 |
| Get the top bar widget at the specified index. {Property}. More... | |
| virtual tU32 | GetTopWidgetIndex (iWidget *apWidget) const =0 |
| Get the index of the specified top bar widget. {Property}. More... | |
| virtual iWidget * | GetTopWidgetFromID (iHString *ahspID) const =0 |
| Get the top bar widget with the specified ID. {Property}. More... | |
| virtual tBool | SetTopWidgetCommandDestination (tU32 anIndex, iMessageHandler *apCmdDest)=0 |
| Set the command destination of the specified top widget. {Property}. More... | |
| virtual iMessageHandler * | GetTopWidgetCommandDestination (tU32 anIndex) const =0 |
| Get the command destination of the specified top widget. {Property}. More... | |
| virtual tBool | AddTopWidget (iWidget *apWidget, tF32 afWidth, iMessageHandler *apCmdDest)=0 |
| Add a top bar widget. More... | |
Groups | |
| virtual iWidget * | AddGroup (iHString *ahspPageID, iHString *ahspPageName, iHString *ahspGroupID, iHString *ahspGroupName, iMessageHandler *apCmdDest)=0 |
| Add a group in the specified page. If the page doesn't already exist it is added. More... | |
| virtual iWidget * | GetGroup (ni::iHString *ahspID) const =0 |
| Get the group with the specified ID. {Property}. More... | |
| virtual tBool | RemoveGroup (ni::iHString *ahspID)=0 |
| Remove the specified group. More... | |
Additional Inherited Members | |
Public Member Functions inherited from iUnknown | |
| virtual tBool | IsOK () const =0 |
| Check if the object is valid. More... | |
| virtual tI32 | AddRef ()=0 |
| Signal that one more reference of the object has been created. More... | |
| virtual tI32 | Release ()=0 |
| Release a reference of the object. More... | |
| virtual void | DeleteThis ()=0 |
| Bypass any reference counting and delete this object. More... | |
| virtual void | Invalidate ()=0 |
| Invalidate the object. More... | |
| virtual iUnknown * | QueryInterface (const tUUID &aIID)=0 |
| Query an interface. More... | |
| virtual void | ListInterfaces (iMutableCollection *apLst, tU32 anFlags) const =0 |
| Fill a UUID list containing the UUIDs of the implemented interfaces. More... | |
| virtual tI32 | SetNumRefs (tI32 anNumRefs)=0 |
| Set the reference counter directly. More... | |
| virtual tI32 | GetNumRefs () const =0 |
| Get the number of references to this object. More... | |
Set the toolbar's height in pixels. {Property}.
|
pure virtual |
Get the toolbar's height. {Property}.
Set whether the toolbar should auto-hide. {Property}.
|
pure virtual |
Get whether the toolbar should auto-hide. {Property}.
Set whether the toolbar should draw the bottom background when unfolded in auto-hide mode. {Property}.
|
pure virtual |
Get whether the toolbar should draw the bottom background when unfolded in auto-hide mode. {Property}.
Set whether the toolbar's active page should be visible. {Property}.
|
pure virtual |
Get whether the toolbar's active page is visible. {Property}.
|
pure virtual |
Get the top bar widget. {Property}.
|
pure virtual |
Get the bottom bar widget. {Property}.
|
pure virtual |
Set the destination message target for the commands received by the toolbar. {Property}.
|
pure virtual |
Get the destination message for the commands received by the toolbar. {Property}.
|
pure virtual |
Updates the toolbar.
|
pure virtual |
Hide the toolbar pop-up.
|
pure virtual |
Get the number of pages in the toolbar. {Property}.
|
pure virtual |
Get the widget of the page at the specified index. {Property}.
|
pure virtual |
Get the index of the page with the specified ID. {Property}.
Initialize/Add a toolbar with the specified ID and name.
Set the name/title of the specified page. {Property}.
Get the name/title of the specified page. {Property}.
Set whether the specifed page is enabled. {Property}.
Get whether the specifed page is enabled. {Property}.
Set the active's page index. {Property}.
|
pure virtual |
Get the active's pages index. {Property}.
|
pure virtual |
Set the active's page ID. {Property}.
|
pure virtual |
Get the active's page ID. {Property}.
|
pure virtual |
Get the number of widgets in the top bar. {Property}.
Get the top bar widget at the specified index. {Property}.
Get the index of the specified top bar widget. {Property}.
Get the top bar widget with the specified ID. {Property}.
|
pure virtual |
Set the command destination of the specified top widget. {Property}.
|
pure virtual |
Get the command destination of the specified top widget. {Property}.
|
pure virtual |
Add a top bar widget.
|
pure virtual |
Add a group in the specified page. If the page doesn't already exist it is added.
|
pure virtual |
Get the group with the specified ID. {Property}.
|
pure virtual |
Remove the specified group.
1.8.7