vtkKWPopupButton Class Reference

a button that triggers a popup More...

#include <vtkKWPopupButton.h>

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

List of all members.

Public Types

typedef vtkKWPushButton Superclass

Public Member Functions

virtual const char * GetClassName ()
virtual int IsA (const char *type)
void PrintSelf (ostream &os, vtkIndent indent)
virtual void SetPopupTitle (const char *title)
virtual void UpdateEnableState ()
virtual void SetWithdrawCommand (vtkObject *object, const char *command)



virtual vtkKWTopLevelGetPopupTopLevel ()
virtual vtkKWFrameGetPopupFrame ()
virtual vtkKWPushButtonGetPopupCloseButton ()
virtual void DisplayPopupCallback ()
virtual void WithdrawPopupCallback ()

Static Public Member Functions

static vtkKWPopupButtonNew ()
static int IsTypeOf (const char *type)
static vtkKWPopupButtonSafeDownCast (vtkObject *o)

Protected Member Functions

 vtkKWPopupButton ()
 ~vtkKWPopupButton ()
virtual void CreateWidget ()
virtual void InvokeWithdrawCommand ()
virtual void Bind ()
virtual void UnBind ()

Protected Attributes

vtkKWTopLevelPopupTopLevel
vtkKWFramePopupFrame
vtkKWPushButtonPopupCloseButton
char * WithdrawCommand

Detailed Description

a button that triggers a popup

The vtkKWPopupButton class creates a push button that will popup a window. User widgets should be inserted inside the PopupFrame ivar.

Definition at line 30 of file vtkKWPopupButton.h.


Member Typedef Documentation

Reimplemented from vtkKWPushButton.

Definition at line 35 of file vtkKWPopupButton.h.


Constructor & Destructor Documentation

vtkKWPopupButton::vtkKWPopupButton (  )  [protected]
vtkKWPopupButton::~vtkKWPopupButton (  )  [protected]

Member Function Documentation

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

Reimplemented from vtkKWPushButton.

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

Reimplemented from vtkKWPushButton.

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

Reimplemented from vtkKWPushButton.

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

Reimplemented from vtkKWPushButton.

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

Reimplemented from vtkKWPushButton.

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

Reimplemented from vtkKWPushButton.

virtual vtkKWTopLevel* vtkKWPopupButton::GetPopupTopLevel (  )  [virtual]

Access to sub-widgets. The PopupFrame widget is the place to put your own sub-widgets.

virtual vtkKWFrame* vtkKWPopupButton::GetPopupFrame (  )  [virtual]

Access to sub-widgets. The PopupFrame widget is the place to put your own sub-widgets.

virtual vtkKWPushButton* vtkKWPopupButton::GetPopupCloseButton (  )  [virtual]

Access to sub-widgets. The PopupFrame widget is the place to put your own sub-widgets.

virtual void vtkKWPopupButton::SetPopupTitle ( const char *  title  )  [virtual]

Set the popup title.

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

virtual void vtkKWPopupButton::SetWithdrawCommand ( vtkObject object,
const char *  command 
) [virtual]

Specifies a command to associate with the widget. This command is typically invoked when the popup is withdrawn. 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 vtkKWPopupButton::DisplayPopupCallback (  )  [virtual]

Callbacks. Internal, do not use.

virtual void vtkKWPopupButton::WithdrawPopupCallback (  )  [virtual]

Access to sub-widgets. The PopupFrame widget is the place to put your own sub-widgets.

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

Create the widget.

Reimplemented from vtkKWPushButton.

virtual void vtkKWPopupButton::InvokeWithdrawCommand (  )  [protected, virtual]
virtual void vtkKWPopupButton::Bind (  )  [protected, virtual]
virtual void vtkKWPopupButton::UnBind (  )  [protected, virtual]

Member Data Documentation

Definition at line 80 of file vtkKWPopupButton.h.

Definition at line 81 of file vtkKWPopupButton.h.

Definition at line 82 of file vtkKWPopupButton.h.

Definition at line 84 of file vtkKWPopupButton.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:36:23 2010 for KWWidgets by  doxygen 1.6.1