All Frameworks Class Hierarchy This Framework Indexes
ApplicationFrame Class CATCmdContainer
Usage: you must use this class as is. You should never derive it.
public class CATCmdContainer
Class to create the container's access.
Role: A container can be :
- a menubar, a menu, a submenu, a toolbar or an icon box. Use the NewAccess macro with CATCmdContainer as
classname parameter to create an instance.
- a workshop. Use the
NewAccess macro with CATCmdWorkshop as
classname parameter to create an instance.
- a workbench. Use the
NewAccess macro with CATCmdWorkbench as
classname parameter to create an instance.
- See also:
- CATCmdWorkshop, CATCmdWorkbench, CATIWorkshop, CATIWorkbench, CATIWorkbenchAddin
Method Index
- o
AddChild(CATCmdAccess*,CATString*)
- Declares an access to add in a container.
Enumerated Type Index
- o
ComponentPosition
- Position of the toolbar in the application window.
Methods
o AddChild
| public AddChild( | | newItem, |
| const | beforeItem | = NULL) |
-
Declares an access to add in a container.
Role: Container's accesses are chained. The access
is attached to its container at the end
of the container's children list.
Enumerated Types
o ComponentPosition
-
enum ComponentPosition {
Top,
Bottom,
Left,
Right,
UnDock
}
Position of the toolbar in the application window.
- Parameters:
-
- UnDock
- The toolbar is undocked.
- Bottom
- The toolbar is docked at the bottom of the application window
- Top
- The toolbar is docked at the top of the application window
- Left
- The toolbar is docked at the left of the application window
- Right
- The toolbar is docked at the right of the application window
- See also:
- AddToolbarView
This object is included in the file: CATCmdContainer.h
If needed, your Imakefile.mk should include the module: CATApplicationFrame