Main Page | Class Hierarchy | Alphabetical List | Class List | File List | Class Members | File Members | Related Pages

vtkKWPushButtonWithMenu Class Reference

PushButton with left mouse bound to menu. More...

#include <vtkKWPushButtonWithMenu.h>

Inheritance diagram for vtkKWPushButtonWithMenu:

Inheritance graph
[legend]
Collaboration diagram for vtkKWPushButtonWithMenu:

Collaboration graph
[legend]
List of all members.

Public Member Functions

 vtkTypeRevisionMacro (vtkKWPushButtonWithMenu, vtkKWPushButton)
void PrintSelf (ostream &os, vtkIndent indent)
virtual void Create (vtkKWApplication *app)
vtkKWMenuGetMenu ()
void PopupCallback (int x, int y)
virtual void UpdateEnableState ()
void AddCheckButton (const char *label, const char *varName, int defaultState, const char *help)
int GetCheckButtonState (const char *varName)
void SetCheckButtonState (const char *varName, int state)

Static Public Member Functions

vtkKWPushButtonWithMenuNew ()

Protected Member Functions

 vtkKWPushButtonWithMenu ()
 ~vtkKWPushButtonWithMenu ()

Protected Attributes

vtkKWMenuMenu

Detailed Description

PushButton with left mouse bound to menu.

vtkKWPushButtonWithMenu was created for the reset view. The menu will change the behavior of the button.

Definition at line 28 of file vtkKWPushButtonWithMenu.h.


Constructor & Destructor Documentation

vtkKWPushButtonWithMenu::vtkKWPushButtonWithMenu  )  [protected]
 

vtkKWPushButtonWithMenu::~vtkKWPushButtonWithMenu  )  [protected]
 


Member Function Documentation

vtkKWPushButtonWithMenu* vtkKWPushButtonWithMenu::New  )  [static]
 

Reimplemented from vtkKWPushButton.

vtkKWPushButtonWithMenu::vtkTypeRevisionMacro vtkKWPushButtonWithMenu  ,
vtkKWPushButton 
 

void vtkKWPushButtonWithMenu::PrintSelf ostream &  os,
vtkIndent  indent
 

Reimplemented from vtkKWPushButton.

virtual void vtkKWPushButtonWithMenu::Create vtkKWApplication app  )  [virtual]
 

Create the widget.

Reimplemented from vtkKWPushButton.

void vtkKWPushButtonWithMenu::AddCheckButton const char *  label,
const char *  varName,
int  defaultState,
const char *  help
 

Append a check button to the menu.

int vtkKWPushButtonWithMenu::GetCheckButtonState const char *  varName  ) 
 

Append a check button to the menu.

void vtkKWPushButtonWithMenu::SetCheckButtonState const char *  varName,
int  state
 

Append a check button to the menu.

vtkKWMenu* vtkKWPushButtonWithMenu::GetMenu  ) 
 

Access to the menu

void vtkKWPushButtonWithMenu::PopupCallback int  x,
int  y
 

Internal callback.

virtual void vtkKWPushButtonWithMenu::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 vtkKWPushButton.


Member Data Documentation

vtkKWMenu* vtkKWPushButtonWithMenu::Menu [protected]
 

Definition at line 64 of file vtkKWPushButtonWithMenu.h.


The documentation for this class was generated from the following file:
Generated on Tue May 30 12:42:22 2006 for ParaView by doxygen 1.3.5