vtkKWToolbarSet Class Reference

a "set of toolbars" widget More...

#include <vtkKWToolbarSet.h>

Inheritance diagram for vtkKWToolbarSet:
Inheritance graph
[legend]
Collaboration diagram for vtkKWToolbarSet:
Collaboration graph
[legend]

List of all members.

Classes

class  ToolbarSlot

Public Types

typedef vtkKWCompositeWidget Superclass

Public Member Functions

virtual const char * GetClassName ()
virtual int IsA (const char *type)
void PrintSelf (ostream &os, vtkIndent indent)
virtual void SetToolbarsAspect (int)
virtual void SetToolbarsWidgetsAspect (int)
virtual int GetNumberOfVisibleToolbars ()
virtual void Update ()
virtual void Pack ()
virtual void UpdateEnableState ()

Static Public Member Functions

static vtkKWToolbarSetNew ()
static int IsTypeOf (const char *type)
static vtkKWToolbarSetSafeDownCast (vtkObject *o)

Protected Member Functions

 vtkKWToolbarSet ()
 ~vtkKWToolbarSet ()
virtual void CreateWidget ()
virtual void InvokeToolbarVisibilityChangedCommand (vtkKWToolbar *toolbar)
virtual void InvokeNumberOfToolbarsChangedCommand ()
ToolbarSlotGetToolbarSlot (vtkKWToolbar *toolbar)
virtual void PackToolbars ()
virtual void PackBottomSeparator ()
virtual void PackTopSeparator ()

Protected Attributes

vtkKWSeparatorTopSeparator
vtkKWFrameToolbarsFrame
vtkKWSeparatorBottomSeparator
int BottomSeparatorVisibility
int TopSeparatorVisibility
int SynchronizeToolbarsVisibilityWithRegistry
char * ToolbarVisibilityChangedCommand
char * NumberOfToolbarsChangedCommand
vtkKWToolbarSetInternals * Internals

Friends

class vtkKWToolbarSetInternals



enum  { ToolbarAnchorWest = 0, ToolbarAnchorEast }
virtual vtkKWFrameGetToolbarsFrame ()
virtual int AddToolbar (vtkKWToolbar *toolbar)
virtual int AddToolbar (vtkKWToolbar *toolbar, int default_visibility)
virtual int HasToolbar (vtkKWToolbar *toolbar)
virtual vtkKWToolbarGetNthToolbar (int rank)
virtual int GetNumberOfToolbars ()
virtual int RemoveToolbar (vtkKWToolbar *toolbar)
virtual void RemoveAllToolbars ()
virtual void HideToolbar (vtkKWToolbar *toolbar)
virtual void ShowToolbar (vtkKWToolbar *toolbar)
virtual void SetToolbarVisibility (vtkKWToolbar *toolbar, int flag)
virtual int GetToolbarVisibility (vtkKWToolbar *toolbar)
virtual void ToggleToolbarVisibility (vtkKWToolbar *toolbar)
virtual void SetToolbarAnchor (vtkKWToolbar *toolbar, int anchor)
virtual int GetToolbarAnchor (vtkKWToolbar *toolbar)
virtual void SetToolbarAnchorToWest (vtkKWToolbar *toolbar)
virtual void SetToolbarAnchorToEast (vtkKWToolbar *toolbar)
virtual void SaveToolbarVisibilityToRegistry (vtkKWToolbar *toolbar)
virtual void RestoreToolbarVisibilityFromRegistry (vtkKWToolbar *toolbar)
virtual void SaveToolbarsVisibilityToRegistry ()
virtual void RestoreToolbarsVisibilityFromRegistry ()
virtual void SynchronizeToolbarsVisibilityWithRegistryOn ()
virtual void SynchronizeToolbarsVisibilityWithRegistryOff ()
virtual int GetSynchronizeToolbarsVisibilityWithRegistry ()
virtual void SetSynchronizeToolbarsVisibilityWithRegistry (int)
virtual void PopulateToolbarsVisibilityMenu (vtkKWMenu *menu)
virtual void UpdateToolbarsVisibilityMenu (vtkKWMenu *menu)
virtual void SetToolbarVisibilityChangedCommand (vtkObject *object, const char *method)
virtual void SetNumberOfToolbarsChangedCommand (vtkObject *object, const char *method)
virtual void SetBottomSeparatorVisibility (int)
virtual void BottomSeparatorVisibilityOn ()
virtual void BottomSeparatorVisibilityOff ()
virtual int GetBottomSeparatorVisibility ()
virtual void SetTopSeparatorVisibility (int)
virtual void TopSeparatorVisibilityOn ()
virtual void TopSeparatorVisibilityOff ()
virtual int GetTopSeparatorVisibility ()

Detailed Description

a "set of toolbars" widget

A simple widget representing a set of toolbars..

Definition at line 31 of file vtkKWToolbarSet.h.


Member Typedef Documentation

Reimplemented from vtkKWCompositeWidget.

Definition at line 36 of file vtkKWToolbarSet.h.


Member Enumeration Documentation

anonymous enum

Set a toolbar's anchor. By default, toolbars are packed from left to right in the order they were added to the toolbar set, i.e. each toolbar is "anchored" to the west side of the set. One can change this anchor on a per-toolbar basis. This means that all toolbars anchored to the west side will be grouped together on that side, and all toolbars anchored to the east side will be grouped on the opposite side. Note though that anchoring acts like a "mirror": packing starts from the anchor side, progressing towards the middle of the toolbar set (i.e., toolbars anchored west are packed left to right, toolbars anchored east are packed right to left, following the order they were inserted in the set). BTX

Enumerator:
ToolbarAnchorWest 
ToolbarAnchorEast 

Definition at line 102 of file vtkKWToolbarSet.h.


Constructor & Destructor Documentation

vtkKWToolbarSet::vtkKWToolbarSet (  )  [protected]
vtkKWToolbarSet::~vtkKWToolbarSet (  )  [protected]

Member Function Documentation

static vtkKWToolbarSet* vtkKWToolbarSet::New (  )  [static]

Reimplemented from vtkKWCompositeWidget.

virtual const char* vtkKWToolbarSet::GetClassName (  )  [virtual]

Reimplemented from vtkKWCompositeWidget.

static int vtkKWToolbarSet::IsTypeOf ( const char *  type  )  [static]

Reimplemented from vtkKWCompositeWidget.

virtual int vtkKWToolbarSet::IsA ( const char *  type  )  [virtual]

Reimplemented from vtkKWCompositeWidget.

static vtkKWToolbarSet* vtkKWToolbarSet::SafeDownCast ( vtkObject o  )  [static]

Reimplemented from vtkKWCompositeWidget.

void vtkKWToolbarSet::PrintSelf ( ostream &  os,
vtkIndent  indent 
) [virtual]

Reimplemented from vtkKWCompositeWidget.

virtual vtkKWFrame* vtkKWToolbarSet::GetToolbarsFrame (  )  [virtual]

Get the frame that can be used as a parent to a toolbar

virtual int vtkKWToolbarSet::AddToolbar ( vtkKWToolbar toolbar  )  [inline, virtual]

Add a toolbar to the set. The default_visibility parameter sets the visibility of the toolbar in the set once it is added (so that it can be added hidden for example, before its visibility setting is retrieved from the registry). Return 1 on success, 0 otherwise.

Definition at line 49 of file vtkKWToolbarSet.h.

virtual int vtkKWToolbarSet::AddToolbar ( vtkKWToolbar toolbar,
int  default_visibility 
) [virtual]

Set a toolbar's anchor. By default, toolbars are packed from left to right in the order they were added to the toolbar set, i.e. each toolbar is "anchored" to the west side of the set. One can change this anchor on a per-toolbar basis. This means that all toolbars anchored to the west side will be grouped together on that side, and all toolbars anchored to the east side will be grouped on the opposite side. Note though that anchoring acts like a "mirror": packing starts from the anchor side, progressing towards the middle of the toolbar set (i.e., toolbars anchored west are packed left to right, toolbars anchored east are packed right to left, following the order they were inserted in the set). BTX

virtual int vtkKWToolbarSet::HasToolbar ( vtkKWToolbar toolbar  )  [virtual]

Set a toolbar's anchor. By default, toolbars are packed from left to right in the order they were added to the toolbar set, i.e. each toolbar is "anchored" to the west side of the set. One can change this anchor on a per-toolbar basis. This means that all toolbars anchored to the west side will be grouped together on that side, and all toolbars anchored to the east side will be grouped on the opposite side. Note though that anchoring acts like a "mirror": packing starts from the anchor side, progressing towards the middle of the toolbar set (i.e., toolbars anchored west are packed left to right, toolbars anchored east are packed right to left, following the order they were inserted in the set). BTX

virtual vtkKWToolbar* vtkKWToolbarSet::GetNthToolbar ( int  rank  )  [virtual]

Get the n-th toolbar, and the number of toolbars.

virtual int vtkKWToolbarSet::GetNumberOfToolbars (  )  [virtual]

Set a toolbar's anchor. By default, toolbars are packed from left to right in the order they were added to the toolbar set, i.e. each toolbar is "anchored" to the west side of the set. One can change this anchor on a per-toolbar basis. This means that all toolbars anchored to the west side will be grouped together on that side, and all toolbars anchored to the east side will be grouped on the opposite side. Note though that anchoring acts like a "mirror": packing starts from the anchor side, progressing towards the middle of the toolbar set (i.e., toolbars anchored west are packed left to right, toolbars anchored east are packed right to left, following the order they were inserted in the set). BTX

virtual int vtkKWToolbarSet::RemoveToolbar ( vtkKWToolbar toolbar  )  [virtual]

Remove a toolbar (or all) from the set. Return 1 on success, 0 otherwise.

virtual void vtkKWToolbarSet::RemoveAllToolbars (  )  [virtual]

Set a toolbar's anchor. By default, toolbars are packed from left to right in the order they were added to the toolbar set, i.e. each toolbar is "anchored" to the west side of the set. One can change this anchor on a per-toolbar basis. This means that all toolbars anchored to the west side will be grouped together on that side, and all toolbars anchored to the east side will be grouped on the opposite side. Note though that anchoring acts like a "mirror": packing starts from the anchor side, progressing towards the middle of the toolbar set (i.e., toolbars anchored west are packed left to right, toolbars anchored east are packed right to left, following the order they were inserted in the set). BTX

virtual void vtkKWToolbarSet::SetToolbarsAspect ( int   )  [virtual]

Set/Get the aspect of the toolbar (flat or 3D GUI style, or unchanged) Important: this will *not* override the toolbar aspect of a toolbar which aspect was already set to 'UnChanged'.

virtual void vtkKWToolbarSet::SetToolbarsWidgetsAspect ( int   )  [virtual]

Set/Get the aspect of the widgets (flat, 3D GUI style, or unchanged) Important: this will *not* override the widgets aspect of a toolbar which widgets aspect was already set to 'UnChanged'.

virtual void vtkKWToolbarSet::HideToolbar ( vtkKWToolbar toolbar  )  [virtual]

Set the visibility of a toolbar.

virtual void vtkKWToolbarSet::ShowToolbar ( vtkKWToolbar toolbar  )  [virtual]

Set a toolbar's anchor. By default, toolbars are packed from left to right in the order they were added to the toolbar set, i.e. each toolbar is "anchored" to the west side of the set. One can change this anchor on a per-toolbar basis. This means that all toolbars anchored to the west side will be grouped together on that side, and all toolbars anchored to the east side will be grouped on the opposite side. Note though that anchoring acts like a "mirror": packing starts from the anchor side, progressing towards the middle of the toolbar set (i.e., toolbars anchored west are packed left to right, toolbars anchored east are packed right to left, following the order they were inserted in the set). BTX

virtual void vtkKWToolbarSet::SetToolbarVisibility ( vtkKWToolbar toolbar,
int  flag 
) [virtual]

Set a toolbar's anchor. By default, toolbars are packed from left to right in the order they were added to the toolbar set, i.e. each toolbar is "anchored" to the west side of the set. One can change this anchor on a per-toolbar basis. This means that all toolbars anchored to the west side will be grouped together on that side, and all toolbars anchored to the east side will be grouped on the opposite side. Note though that anchoring acts like a "mirror": packing starts from the anchor side, progressing towards the middle of the toolbar set (i.e., toolbars anchored west are packed left to right, toolbars anchored east are packed right to left, following the order they were inserted in the set). BTX

virtual int vtkKWToolbarSet::GetToolbarVisibility ( vtkKWToolbar toolbar  )  [virtual]

Set a toolbar's anchor. By default, toolbars are packed from left to right in the order they were added to the toolbar set, i.e. each toolbar is "anchored" to the west side of the set. One can change this anchor on a per-toolbar basis. This means that all toolbars anchored to the west side will be grouped together on that side, and all toolbars anchored to the east side will be grouped on the opposite side. Note though that anchoring acts like a "mirror": packing starts from the anchor side, progressing towards the middle of the toolbar set (i.e., toolbars anchored west are packed left to right, toolbars anchored east are packed right to left, following the order they were inserted in the set). BTX

virtual void vtkKWToolbarSet::ToggleToolbarVisibility ( vtkKWToolbar toolbar  )  [virtual]

Set a toolbar's anchor. By default, toolbars are packed from left to right in the order they were added to the toolbar set, i.e. each toolbar is "anchored" to the west side of the set. One can change this anchor on a per-toolbar basis. This means that all toolbars anchored to the west side will be grouped together on that side, and all toolbars anchored to the east side will be grouped on the opposite side. Note though that anchoring acts like a "mirror": packing starts from the anchor side, progressing towards the middle of the toolbar set (i.e., toolbars anchored west are packed left to right, toolbars anchored east are packed right to left, following the order they were inserted in the set). BTX

virtual int vtkKWToolbarSet::GetNumberOfVisibleToolbars (  )  [virtual]

Return the number of visible toolbars

virtual void vtkKWToolbarSet::SetToolbarAnchor ( vtkKWToolbar toolbar,
int  anchor 
) [virtual]

Set a toolbar's anchor. By default, toolbars are packed from left to right in the order they were added to the toolbar set, i.e. each toolbar is "anchored" to the west side of the set. One can change this anchor on a per-toolbar basis. This means that all toolbars anchored to the west side will be grouped together on that side, and all toolbars anchored to the east side will be grouped on the opposite side. Note though that anchoring acts like a "mirror": packing starts from the anchor side, progressing towards the middle of the toolbar set (i.e., toolbars anchored west are packed left to right, toolbars anchored east are packed right to left, following the order they were inserted in the set). BTX

virtual int vtkKWToolbarSet::GetToolbarAnchor ( vtkKWToolbar toolbar  )  [virtual]

Set a toolbar's anchor. By default, toolbars are packed from left to right in the order they were added to the toolbar set, i.e. each toolbar is "anchored" to the west side of the set. One can change this anchor on a per-toolbar basis. This means that all toolbars anchored to the west side will be grouped together on that side, and all toolbars anchored to the east side will be grouped on the opposite side. Note though that anchoring acts like a "mirror": packing starts from the anchor side, progressing towards the middle of the toolbar set (i.e., toolbars anchored west are packed left to right, toolbars anchored east are packed right to left, following the order they were inserted in the set). BTX

virtual void vtkKWToolbarSet::SetToolbarAnchorToWest ( vtkKWToolbar toolbar  )  [inline, virtual]

Set a toolbar's anchor. By default, toolbars are packed from left to right in the order they were added to the toolbar set, i.e. each toolbar is "anchored" to the west side of the set. One can change this anchor on a per-toolbar basis. This means that all toolbars anchored to the west side will be grouped together on that side, and all toolbars anchored to the east side will be grouped on the opposite side. Note though that anchoring acts like a "mirror": packing starts from the anchor side, progressing towards the middle of the toolbar set (i.e., toolbars anchored west are packed left to right, toolbars anchored east are packed right to left, following the order they were inserted in the set). BTX

Definition at line 110 of file vtkKWToolbarSet.h.

virtual void vtkKWToolbarSet::SetToolbarAnchorToEast ( vtkKWToolbar toolbar  )  [inline, virtual]

Set a toolbar's anchor. By default, toolbars are packed from left to right in the order they were added to the toolbar set, i.e. each toolbar is "anchored" to the west side of the set. One can change this anchor on a per-toolbar basis. This means that all toolbars anchored to the west side will be grouped together on that side, and all toolbars anchored to the east side will be grouped on the opposite side. Note though that anchoring acts like a "mirror": packing starts from the anchor side, progressing towards the middle of the toolbar set (i.e., toolbars anchored west are packed left to right, toolbars anchored east are packed right to left, following the order they were inserted in the set). BTX

Definition at line 112 of file vtkKWToolbarSet.h.

virtual void vtkKWToolbarSet::SaveToolbarVisibilityToRegistry ( vtkKWToolbar toolbar  )  [virtual]

Save/Restore the visibility flag of one/all toolbars to/from the registry Note that the name of each toolbar to save/restore should have been set for this method to work (see vtkKWToolbar).

virtual void vtkKWToolbarSet::RestoreToolbarVisibilityFromRegistry ( vtkKWToolbar toolbar  )  [virtual]

Set a toolbar's anchor. By default, toolbars are packed from left to right in the order they were added to the toolbar set, i.e. each toolbar is "anchored" to the west side of the set. One can change this anchor on a per-toolbar basis. This means that all toolbars anchored to the west side will be grouped together on that side, and all toolbars anchored to the east side will be grouped on the opposite side. Note though that anchoring acts like a "mirror": packing starts from the anchor side, progressing towards the middle of the toolbar set (i.e., toolbars anchored west are packed left to right, toolbars anchored east are packed right to left, following the order they were inserted in the set). BTX

virtual void vtkKWToolbarSet::SaveToolbarsVisibilityToRegistry (  )  [virtual]

Set a toolbar's anchor. By default, toolbars are packed from left to right in the order they were added to the toolbar set, i.e. each toolbar is "anchored" to the west side of the set. One can change this anchor on a per-toolbar basis. This means that all toolbars anchored to the west side will be grouped together on that side, and all toolbars anchored to the east side will be grouped on the opposite side. Note though that anchoring acts like a "mirror": packing starts from the anchor side, progressing towards the middle of the toolbar set (i.e., toolbars anchored west are packed left to right, toolbars anchored east are packed right to left, following the order they were inserted in the set). BTX

virtual void vtkKWToolbarSet::RestoreToolbarsVisibilityFromRegistry (  )  [virtual]

Set a toolbar's anchor. By default, toolbars are packed from left to right in the order they were added to the toolbar set, i.e. each toolbar is "anchored" to the west side of the set. One can change this anchor on a per-toolbar basis. This means that all toolbars anchored to the west side will be grouped together on that side, and all toolbars anchored to the east side will be grouped on the opposite side. Note though that anchoring acts like a "mirror": packing starts from the anchor side, progressing towards the middle of the toolbar set (i.e., toolbars anchored west are packed left to right, toolbars anchored east are packed right to left, following the order they were inserted in the set). BTX

virtual void vtkKWToolbarSet::SynchronizeToolbarsVisibilityWithRegistryOn (  )  [virtual]

Set/Get if the visibility flag of the toolbars should be saved or restored to the registry automatically. It is restored when the toolbar is added, and saved when the visibility flag is changed.

virtual void vtkKWToolbarSet::SynchronizeToolbarsVisibilityWithRegistryOff (  )  [virtual]

Set a toolbar's anchor. By default, toolbars are packed from left to right in the order they were added to the toolbar set, i.e. each toolbar is "anchored" to the west side of the set. One can change this anchor on a per-toolbar basis. This means that all toolbars anchored to the west side will be grouped together on that side, and all toolbars anchored to the east side will be grouped on the opposite side. Note though that anchoring acts like a "mirror": packing starts from the anchor side, progressing towards the middle of the toolbar set (i.e., toolbars anchored west are packed left to right, toolbars anchored east are packed right to left, following the order they were inserted in the set). BTX

virtual int vtkKWToolbarSet::GetSynchronizeToolbarsVisibilityWithRegistry (  )  [virtual]

Set a toolbar's anchor. By default, toolbars are packed from left to right in the order they were added to the toolbar set, i.e. each toolbar is "anchored" to the west side of the set. One can change this anchor on a per-toolbar basis. This means that all toolbars anchored to the west side will be grouped together on that side, and all toolbars anchored to the east side will be grouped on the opposite side. Note though that anchoring acts like a "mirror": packing starts from the anchor side, progressing towards the middle of the toolbar set (i.e., toolbars anchored west are packed left to right, toolbars anchored east are packed right to left, following the order they were inserted in the set). BTX

virtual void vtkKWToolbarSet::SetSynchronizeToolbarsVisibilityWithRegistry ( int   )  [virtual]

Set a toolbar's anchor. By default, toolbars are packed from left to right in the order they were added to the toolbar set, i.e. each toolbar is "anchored" to the west side of the set. One can change this anchor on a per-toolbar basis. This means that all toolbars anchored to the west side will be grouped together on that side, and all toolbars anchored to the east side will be grouped on the opposite side. Note though that anchoring acts like a "mirror": packing starts from the anchor side, progressing towards the middle of the toolbar set (i.e., toolbars anchored west are packed left to right, toolbars anchored east are packed right to left, following the order they were inserted in the set). BTX

virtual void vtkKWToolbarSet::PopulateToolbarsVisibilityMenu ( vtkKWMenu menu  )  [virtual]

Create and update a menu that can be used to control the visibility of all toolbars. The Populate...() method will repopulate the menu (note that it does *not* remove all entries, so that this menu can be used for several toolbar sets). The Update...() method will update the state of the entries according to the toolbarsvisibility (the first one will call the second one automatically).

virtual void vtkKWToolbarSet::UpdateToolbarsVisibilityMenu ( vtkKWMenu menu  )  [virtual]

Set a toolbar's anchor. By default, toolbars are packed from left to right in the order they were added to the toolbar set, i.e. each toolbar is "anchored" to the west side of the set. One can change this anchor on a per-toolbar basis. This means that all toolbars anchored to the west side will be grouped together on that side, and all toolbars anchored to the east side will be grouped on the opposite side. Note though that anchoring acts like a "mirror": packing starts from the anchor side, progressing towards the middle of the toolbar set (i.e., toolbars anchored west are packed left to right, toolbars anchored east are packed right to left, following the order they were inserted in the set). BTX

virtual void vtkKWToolbarSet::SetToolbarVisibilityChangedCommand ( vtkObject object,
const char *  method 
) [virtual]

Specifies a command to associate with the widget. This command is typically invoked when the visibility of a toolbar is changed. The 'object' argument is the object that will have the method called on it. The 'method' argument is the name of the method to be called and any arguments in string form. If the object is NULL, the method is still evaluated as a simple command. The following parameters are also passed to the command: - pointer to the toolbar which visibility changed: vtkKWToolbar*

virtual void vtkKWToolbarSet::SetNumberOfToolbarsChangedCommand ( vtkObject object,
const char *  method 
) [virtual]

Specifies a command to associate with the widget. This command is typically invoked when the number of toolbars has changed (i.e. a toolbar is added or removed). The 'object' argument is the object that will have the method called on it. The 'method' argument is the name of the method to be called and any arguments in string form. If the object is NULL, the method is still evaluated as a simple command.

virtual void vtkKWToolbarSet::SetBottomSeparatorVisibility ( int   )  [virtual]

Set/Get the visibility of the separator at the bottom of the set

virtual void vtkKWToolbarSet::BottomSeparatorVisibilityOn (  )  [virtual]

Set a toolbar's anchor. By default, toolbars are packed from left to right in the order they were added to the toolbar set, i.e. each toolbar is "anchored" to the west side of the set. One can change this anchor on a per-toolbar basis. This means that all toolbars anchored to the west side will be grouped together on that side, and all toolbars anchored to the east side will be grouped on the opposite side. Note though that anchoring acts like a "mirror": packing starts from the anchor side, progressing towards the middle of the toolbar set (i.e., toolbars anchored west are packed left to right, toolbars anchored east are packed right to left, following the order they were inserted in the set). BTX

virtual void vtkKWToolbarSet::BottomSeparatorVisibilityOff (  )  [virtual]

Set a toolbar's anchor. By default, toolbars are packed from left to right in the order they were added to the toolbar set, i.e. each toolbar is "anchored" to the west side of the set. One can change this anchor on a per-toolbar basis. This means that all toolbars anchored to the west side will be grouped together on that side, and all toolbars anchored to the east side will be grouped on the opposite side. Note though that anchoring acts like a "mirror": packing starts from the anchor side, progressing towards the middle of the toolbar set (i.e., toolbars anchored west are packed left to right, toolbars anchored east are packed right to left, following the order they were inserted in the set). BTX

virtual int vtkKWToolbarSet::GetBottomSeparatorVisibility (  )  [virtual]

Set a toolbar's anchor. By default, toolbars are packed from left to right in the order they were added to the toolbar set, i.e. each toolbar is "anchored" to the west side of the set. One can change this anchor on a per-toolbar basis. This means that all toolbars anchored to the west side will be grouped together on that side, and all toolbars anchored to the east side will be grouped on the opposite side. Note though that anchoring acts like a "mirror": packing starts from the anchor side, progressing towards the middle of the toolbar set (i.e., toolbars anchored west are packed left to right, toolbars anchored east are packed right to left, following the order they were inserted in the set). BTX

virtual void vtkKWToolbarSet::SetTopSeparatorVisibility ( int   )  [virtual]

Set/Get the visibility of the separator at the top of the set

virtual void vtkKWToolbarSet::TopSeparatorVisibilityOn (  )  [virtual]

Set a toolbar's anchor. By default, toolbars are packed from left to right in the order they were added to the toolbar set, i.e. each toolbar is "anchored" to the west side of the set. One can change this anchor on a per-toolbar basis. This means that all toolbars anchored to the west side will be grouped together on that side, and all toolbars anchored to the east side will be grouped on the opposite side. Note though that anchoring acts like a "mirror": packing starts from the anchor side, progressing towards the middle of the toolbar set (i.e., toolbars anchored west are packed left to right, toolbars anchored east are packed right to left, following the order they were inserted in the set). BTX

virtual void vtkKWToolbarSet::TopSeparatorVisibilityOff (  )  [virtual]

Set a toolbar's anchor. By default, toolbars are packed from left to right in the order they were added to the toolbar set, i.e. each toolbar is "anchored" to the west side of the set. One can change this anchor on a per-toolbar basis. This means that all toolbars anchored to the west side will be grouped together on that side, and all toolbars anchored to the east side will be grouped on the opposite side. Note though that anchoring acts like a "mirror": packing starts from the anchor side, progressing towards the middle of the toolbar set (i.e., toolbars anchored west are packed left to right, toolbars anchored east are packed right to left, following the order they were inserted in the set). BTX

virtual int vtkKWToolbarSet::GetTopSeparatorVisibility (  )  [virtual]

Set a toolbar's anchor. By default, toolbars are packed from left to right in the order they were added to the toolbar set, i.e. each toolbar is "anchored" to the west side of the set. One can change this anchor on a per-toolbar basis. This means that all toolbars anchored to the west side will be grouped together on that side, and all toolbars anchored to the east side will be grouped on the opposite side. Note though that anchoring acts like a "mirror": packing starts from the anchor side, progressing towards the middle of the toolbar set (i.e., toolbars anchored west are packed left to right, toolbars anchored east are packed right to left, following the order they were inserted in the set). BTX

virtual void vtkKWToolbarSet::Update (  )  [virtual]

Update the toolbar set (update the enabled state of all toolbars, call PackToolbars(), etc.).

virtual void vtkKWToolbarSet::Pack (  )  [virtual]

(Re)Pack the toolbars, if needed (if the widget is created, and the toolbar is created, AddToolbar will pack the toolbar automatically).

virtual void vtkKWToolbarSet::UpdateEnableState (  )  [virtual]

Update the "enable" state of the object and its internal parts. Depending on different Ivars (this->Enabled, the application's Limited Edition Mode, etc.), the "enable" state of the object is updated and propagated to its internal parts/subwidgets. This will, for example, enable/disable parts of the widget UI, enable/disable the visibility of 3D widgets, etc.

Reimplemented from vtkKWWidget.

virtual void vtkKWToolbarSet::CreateWidget (  )  [protected, virtual]

Create the widget.

Reimplemented from vtkKWCompositeWidget.

virtual void vtkKWToolbarSet::InvokeToolbarVisibilityChangedCommand ( vtkKWToolbar toolbar  )  [protected, virtual]
virtual void vtkKWToolbarSet::InvokeNumberOfToolbarsChangedCommand (  )  [protected, virtual]
ToolbarSlot* vtkKWToolbarSet::GetToolbarSlot ( vtkKWToolbar toolbar  )  [protected]
virtual void vtkKWToolbarSet::PackToolbars (  )  [protected, virtual]
virtual void vtkKWToolbarSet::PackBottomSeparator (  )  [protected, virtual]
virtual void vtkKWToolbarSet::PackTopSeparator (  )  [protected, virtual]

Friends And Related Function Documentation

friend class vtkKWToolbarSetInternals [friend]

Definition at line 241 of file vtkKWToolbarSet.h.


Member Data Documentation

Definition at line 210 of file vtkKWToolbarSet.h.

Definition at line 211 of file vtkKWToolbarSet.h.

Definition at line 212 of file vtkKWToolbarSet.h.

Definition at line 214 of file vtkKWToolbarSet.h.

Definition at line 215 of file vtkKWToolbarSet.h.

Definition at line 216 of file vtkKWToolbarSet.h.

Definition at line 218 of file vtkKWToolbarSet.h.

Definition at line 219 of file vtkKWToolbarSet.h.

vtkKWToolbarSetInternals* vtkKWToolbarSet::Internals [protected]

PIMPL Encapsulation for STL containers

Reimplemented from vtkKWCoreWidget.

Definition at line 240 of file vtkKWToolbarSet.h.


The documentation for this class was generated from the following file:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines

Generated on Tue Apr 27 02:38:30 2010 for KWWidgets by  doxygen 1.6.1