vtkKWMenuButton Class Reference

an option menu widget More...

#include <vtkKWMenuButton.h>

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

List of all members.

Public Types

typedef vtkKWCoreWidget Superclass

Public Member Functions

virtual const char * GetClassName ()
virtual int IsA (const char *type)
void PrintSelf (ostream &os, vtkIndent indent)
virtual void UpdateEnableState ()

Static Public Member Functions

static vtkKWMenuButtonNew ()
static int IsTypeOf (const char *type)
static vtkKWMenuButtonSafeDownCast (vtkObject *o)

Protected Member Functions

 vtkKWMenuButton ()
 ~vtkKWMenuButton ()
virtual void CreateWidget ()
virtual char * GetCurrentValue ()
virtual void SetCurrentValue (const char *)
virtual void UpdateMenuButtonLabel ()
virtual const char * UpdateMenuButtonLabelFromMenu (const char *varname, const char *value, vtkKWMenu *menu)
virtual void ScheduleUpdateMenuButtonLabel ()
virtual void UpdateBindings ()

Protected Attributes

char * CurrentValue
vtkKWMenuMenu
int MaximumLabelWidth
int AdjustLabelWidthToWidgetSize
vtkKWMenuButtonInternals * Internals



virtual const char * GetValue ()
virtual void SetValue (const char *name)
virtual void NextValue ()
virtual void PreviousValue ()
virtual vtkKWMenuGetMenu ()
virtual void SetIndicatorVisibility (int ind)
virtual int GetIndicatorVisibility ()
virtual void IndicatorVisibilityOn ()
virtual void IndicatorVisibilityOff ()
virtual void SetWidth (int width)
virtual int GetWidth ()
virtual void SetMaximumLabelWidth (int)
virtual int GetMaximumLabelWidth ()
virtual void SetAdjustLabelWidthToWidgetSize (int)
virtual int GetAdjustLabelWidthToWidgetSize ()
virtual void AdjustLabelWidthToWidgetSizeOn ()
virtual void AdjustLabelWidthToWidgetSizeOff ()
virtual void GetBackgroundColor (double *r, double *g, double *b)
virtual double * GetBackgroundColor ()
virtual void SetBackgroundColor (double r, double g, double b)
virtual void SetBackgroundColor (double rgb[3])
virtual void GetForegroundColor (double *r, double *g, double *b)
virtual double * GetForegroundColor ()
virtual void SetForegroundColor (double r, double g, double b)
virtual void SetForegroundColor (double rgb[3])
virtual void SetHighlightThickness (int)
virtual int GetHighlightThickness ()
virtual void GetActiveBackgroundColor (double *r, double *g, double *b)
virtual double * GetActiveBackgroundColor ()
virtual void SetActiveBackgroundColor (double r, double g, double b)
virtual void SetActiveBackgroundColor (double rgb[3])
virtual void GetActiveForegroundColor (double *r, double *g, double *b)
virtual double * GetActiveForegroundColor ()
virtual void SetActiveForegroundColor (double r, double g, double b)
virtual void SetActiveForegroundColor (double rgb[3])
virtual void GetDisabledForegroundColor (double *r, double *g, double *b)
virtual double * GetDisabledForegroundColor ()
virtual void SetDisabledForegroundColor (double r, double g, double b)
virtual void SetDisabledForegroundColor (double rgb[3])
virtual void SetBorderWidth (int)
virtual int GetBorderWidth ()
virtual void SetRelief (int)
virtual int GetRelief ()
virtual void SetReliefToRaised ()
virtual void SetReliefToSunken ()
virtual void SetReliefToFlat ()
virtual void SetReliefToRidge ()
virtual void SetReliefToSolid ()
virtual void SetReliefToGroove ()
virtual void SetFont (const char *font)
virtual const char * GetFont ()
virtual void SetPadX (int)
virtual int GetPadX ()
virtual void SetPadY (int)
virtual int GetPadY ()
virtual void SetAnchor (int)
virtual int GetAnchor ()
virtual void SetAnchorToNorth ()
virtual void SetAnchorToNorthEast ()
virtual void SetAnchorToEast ()
virtual void SetAnchorToSouthEast ()
virtual void SetAnchorToSouth ()
virtual void SetAnchorToSouthWest ()
virtual void SetAnchorToWest ()
virtual void SetAnchorToNorthWest ()
virtual void SetAnchorToCenter ()
virtual void SetImageToIcon (vtkKWIcon *icon)
virtual void SetImageToPredefinedIcon (int icon_index)
virtual void SetImageToPixels (const unsigned char *pixels, int width, int height, int pixel_size, unsigned long buffer_length=0)
virtual void SetCompoundMode (int)
virtual int GetCompoundMode ()
virtual void SetCompoundModeToNone ()
virtual void SetCompoundModeToLeft ()
virtual void SetCompoundModeToCenter ()
virtual void SetCompoundModeToRight ()
virtual void SetCompoundModeToTop ()
virtual void SetCompoundModeToBottom ()
virtual void TracedVariableChangedCallback (const char *, const char *, const char *)
virtual void ConfigureCallback ()
virtual void UpdateMenuButtonLabelCallback ()
virtual void AddCallbackCommandObservers ()
virtual void RemoveCallbackCommandObservers ()
virtual void ProcessCallbackCommandEvents (vtkObject *caller, unsigned long event, void *calldata)

Detailed Description

an option menu widget

A widget that looks like a button but when pressed provides a list of options that the user can select.

Definition at line 30 of file vtkKWMenuButton.h.


Member Typedef Documentation

Reimplemented from vtkKWCoreWidget.

Definition at line 35 of file vtkKWMenuButton.h.


Constructor & Destructor Documentation

vtkKWMenuButton::vtkKWMenuButton (  )  [protected]
vtkKWMenuButton::~vtkKWMenuButton (  )  [protected]

Member Function Documentation

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

Reimplemented from vtkKWCoreWidget.

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

Reimplemented from vtkKWCoreWidget.

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

Reimplemented from vtkKWCoreWidget.

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

Reimplemented from vtkKWCoreWidget.

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

Reimplemented from vtkKWCoreWidget.

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

Reimplemented from vtkKWCoreWidget.

virtual const char* vtkKWMenuButton::GetValue (  )  [virtual]

Set/Get the current entry of this option menu. This can be an image name if any entry in the menu uses an image instead of a label.

virtual void vtkKWMenuButton::SetValue ( const char *  name  )  [virtual]

Set/Get the current entry of this option menu. This can be an image name if any entry in the menu uses an image instead of a label.

virtual void vtkKWMenuButton::NextValue (  )  [virtual]

Set/Get the current entry to the previous or next entry. and call the corresponding callback if any. WARNING: this does not support multiple menu levels (i.e. cascade)

virtual void vtkKWMenuButton::PreviousValue (  )  [virtual]

Set/Get the current entry of this option menu. This can be an image name if any entry in the menu uses an image instead of a label.

virtual vtkKWMenu* vtkKWMenuButton::GetMenu (  )  [virtual]

Get the menu object

virtual void vtkKWMenuButton::SetIndicatorVisibility ( int  ind  )  [virtual]

Set the indicator On/Off. To be called after creation.

virtual int vtkKWMenuButton::GetIndicatorVisibility (  )  [virtual]

Set/Get the current entry of this option menu. This can be an image name if any entry in the menu uses an image instead of a label.

virtual void vtkKWMenuButton::IndicatorVisibilityOn (  )  [virtual]

Set/Get the current entry of this option menu. This can be an image name if any entry in the menu uses an image instead of a label.

virtual void vtkKWMenuButton::IndicatorVisibilityOff (  )  [virtual]

Set/Get the current entry of this option menu. This can be an image name if any entry in the menu uses an image instead of a label.

virtual void vtkKWMenuButton::SetWidth ( int  width  )  [virtual]

Set the button width (in chars if text, in pixels if image).

virtual int vtkKWMenuButton::GetWidth (  )  [virtual]

Set/Get the current entry of this option menu. This can be an image name if any entry in the menu uses an image instead of a label.

virtual void vtkKWMenuButton::SetMaximumLabelWidth ( int   )  [virtual]

Set/Get the maximum width *in characters* of the option menu label. This does not modify the internal value, this is only meant for display purposes: the option menu button can therefore be automatically shrinked, while the menu associated to it will display all entries correctly. Set width to 0 (default) to prevent auto-cropping.

virtual int vtkKWMenuButton::GetMaximumLabelWidth (  )  [virtual]

Set/Get the current entry of this option menu. This can be an image name if any entry in the menu uses an image instead of a label.

virtual void vtkKWMenuButton::SetAdjustLabelWidthToWidgetSize ( int   )  [virtual]

Adjust the label width automatically to fit in the menu button. This does not modify the internal value, this is only meant for display purposes: the option menu button can therefore be automatically shrinked, while the menu associated to it will display all entries correctly. Overrides MaximumLabelWidth.

virtual int vtkKWMenuButton::GetAdjustLabelWidthToWidgetSize (  )  [virtual]

Set/Get the current entry of this option menu. This can be an image name if any entry in the menu uses an image instead of a label.

virtual void vtkKWMenuButton::AdjustLabelWidthToWidgetSizeOn (  )  [virtual]

Set/Get the current entry of this option menu. This can be an image name if any entry in the menu uses an image instead of a label.

virtual void vtkKWMenuButton::AdjustLabelWidthToWidgetSizeOff (  )  [virtual]

Set/Get the current entry of this option menu. This can be an image name if any entry in the menu uses an image instead of a label.

virtual void vtkKWMenuButton::GetBackgroundColor ( double *  r,
double *  g,
double *  b 
) [virtual]

Set/Get the background color of the widget.

virtual double* vtkKWMenuButton::GetBackgroundColor (  )  [virtual]

Set/Get the current entry of this option menu. This can be an image name if any entry in the menu uses an image instead of a label.

virtual void vtkKWMenuButton::SetBackgroundColor ( double  r,
double  g,
double  b 
) [virtual]

Set/Get the current entry of this option menu. This can be an image name if any entry in the menu uses an image instead of a label.

virtual void vtkKWMenuButton::SetBackgroundColor ( double  rgb[3]  )  [inline, virtual]

Set/Get the current entry of this option menu. This can be an image name if any entry in the menu uses an image instead of a label.

Definition at line 98 of file vtkKWMenuButton.h.

virtual void vtkKWMenuButton::GetForegroundColor ( double *  r,
double *  g,
double *  b 
) [virtual]

Set/Get the foreground color of the widget.

virtual double* vtkKWMenuButton::GetForegroundColor (  )  [virtual]

Set/Get the current entry of this option menu. This can be an image name if any entry in the menu uses an image instead of a label.

virtual void vtkKWMenuButton::SetForegroundColor ( double  r,
double  g,
double  b 
) [virtual]

Set/Get the current entry of this option menu. This can be an image name if any entry in the menu uses an image instead of a label.

virtual void vtkKWMenuButton::SetForegroundColor ( double  rgb[3]  )  [inline, virtual]

Set/Get the current entry of this option menu. This can be an image name if any entry in the menu uses an image instead of a label.

Definition at line 107 of file vtkKWMenuButton.h.

virtual void vtkKWMenuButton::SetHighlightThickness ( int   )  [virtual]

Set/Get the highlight thickness, a non-negative value indicating the width of the highlight rectangle to draw around the outside of the widget when it has the input focus.

virtual int vtkKWMenuButton::GetHighlightThickness (  )  [virtual]

Set/Get the current entry of this option menu. This can be an image name if any entry in the menu uses an image instead of a label.

virtual void vtkKWMenuButton::GetActiveBackgroundColor ( double *  r,
double *  g,
double *  b 
) [virtual]

Set/Get the active background color of the widget. An element (a widget or portion of a widget) is active if the mouse cursor is positioned over the element and pressing a mouse button will cause some action to occur.

virtual double* vtkKWMenuButton::GetActiveBackgroundColor (  )  [virtual]

Set/Get the current entry of this option menu. This can be an image name if any entry in the menu uses an image instead of a label.

virtual void vtkKWMenuButton::SetActiveBackgroundColor ( double  r,
double  g,
double  b 
) [virtual]

Set/Get the current entry of this option menu. This can be an image name if any entry in the menu uses an image instead of a label.

virtual void vtkKWMenuButton::SetActiveBackgroundColor ( double  rgb[3]  )  [inline, virtual]

Set/Get the current entry of this option menu. This can be an image name if any entry in the menu uses an image instead of a label.

Definition at line 127 of file vtkKWMenuButton.h.

virtual void vtkKWMenuButton::GetActiveForegroundColor ( double *  r,
double *  g,
double *  b 
) [virtual]

Set/Get the active foreground color of the widget. An element (a widget or portion of a widget) is active if the mouse cursor is positioned over the element and pressing a mouse button will cause some action to occur.

virtual double* vtkKWMenuButton::GetActiveForegroundColor (  )  [virtual]

Set/Get the current entry of this option menu. This can be an image name if any entry in the menu uses an image instead of a label.

virtual void vtkKWMenuButton::SetActiveForegroundColor ( double  r,
double  g,
double  b 
) [virtual]

Set/Get the current entry of this option menu. This can be an image name if any entry in the menu uses an image instead of a label.

virtual void vtkKWMenuButton::SetActiveForegroundColor ( double  rgb[3]  )  [inline, virtual]

Set/Get the current entry of this option menu. This can be an image name if any entry in the menu uses an image instead of a label.

Definition at line 139 of file vtkKWMenuButton.h.

virtual void vtkKWMenuButton::GetDisabledForegroundColor ( double *  r,
double *  g,
double *  b 
) [virtual]

Set/Get the foreground color of the widget when it is disabled.

virtual double* vtkKWMenuButton::GetDisabledForegroundColor (  )  [virtual]

Set/Get the current entry of this option menu. This can be an image name if any entry in the menu uses an image instead of a label.

virtual void vtkKWMenuButton::SetDisabledForegroundColor ( double  r,
double  g,
double  b 
) [virtual]

Set/Get the current entry of this option menu. This can be an image name if any entry in the menu uses an image instead of a label.

virtual void vtkKWMenuButton::SetDisabledForegroundColor ( double  rgb[3]  )  [inline, virtual]

Set/Get the current entry of this option menu. This can be an image name if any entry in the menu uses an image instead of a label.

Definition at line 148 of file vtkKWMenuButton.h.

virtual void vtkKWMenuButton::SetBorderWidth ( int   )  [virtual]

Set/Get the border width, a non-negative value indicating the width of the 3-D border to draw around the outside of the widget (if such a border is being drawn; the Relief option typically determines this).

virtual int vtkKWMenuButton::GetBorderWidth (  )  [virtual]

Set/Get the current entry of this option menu. This can be an image name if any entry in the menu uses an image instead of a label.

virtual void vtkKWMenuButton::SetRelief ( int   )  [virtual]

Set/Get the 3-D effect desired for the widget. The value indicates how the interior of the widget should appear relative to its exterior. Valid constants can be found in vtkKWOptions::ReliefType.

virtual int vtkKWMenuButton::GetRelief (  )  [virtual]

Set/Get the current entry of this option menu. This can be an image name if any entry in the menu uses an image instead of a label.

virtual void vtkKWMenuButton::SetReliefToRaised (  )  [virtual]

Set/Get the current entry of this option menu. This can be an image name if any entry in the menu uses an image instead of a label.

virtual void vtkKWMenuButton::SetReliefToSunken (  )  [virtual]

Set/Get the current entry of this option menu. This can be an image name if any entry in the menu uses an image instead of a label.

virtual void vtkKWMenuButton::SetReliefToFlat (  )  [virtual]

Set/Get the current entry of this option menu. This can be an image name if any entry in the menu uses an image instead of a label.

virtual void vtkKWMenuButton::SetReliefToRidge (  )  [virtual]

Set/Get the current entry of this option menu. This can be an image name if any entry in the menu uses an image instead of a label.

virtual void vtkKWMenuButton::SetReliefToSolid (  )  [virtual]

Set/Get the current entry of this option menu. This can be an image name if any entry in the menu uses an image instead of a label.

virtual void vtkKWMenuButton::SetReliefToGroove (  )  [virtual]

Set/Get the current entry of this option menu. This can be an image name if any entry in the menu uses an image instead of a label.

virtual void vtkKWMenuButton::SetFont ( const char *  font  )  [virtual]

Specifies the font to use when drawing text inside the widget. You can use predefined font names (e.g. 'system'), or you can specify a set of font attributes with a platform-independent name, for example, 'times 12 bold'. In this example, the font is specified with a three element list: the first element is the font family, the second is the size, the third is a list of style parameters (normal, bold, roman, italic, underline, overstrike). Example: 'times 12 {bold italic}'. The Times, Courier and Helvetica font families are guaranteed to exist and will be matched to the corresponding (closest) font on your system. If you are familiar with the X font names specification, you can also describe the font that way (say, '*times-medium-r-*-*-12*').

virtual const char* vtkKWMenuButton::GetFont (  )  [virtual]

Set/Get the current entry of this option menu. This can be an image name if any entry in the menu uses an image instead of a label.

virtual void vtkKWMenuButton::SetPadX ( int   )  [virtual]

Set/Get the padding that will be applied around each widget (in pixels). Specifies a non-negative value indicating how much extra space to request for the widget in the X and Y-direction. When computing how large a window it needs, the widget will add this amount to the width it would normally need (as determined by the width of the things displayed in the widget); if the geometry manager can satisfy this request, the widget will end up with extra internal space around what it displays inside.

virtual int vtkKWMenuButton::GetPadX (  )  [virtual]

Set/Get the current entry of this option menu. This can be an image name if any entry in the menu uses an image instead of a label.

virtual void vtkKWMenuButton::SetPadY ( int   )  [virtual]

Set/Get the current entry of this option menu. This can be an image name if any entry in the menu uses an image instead of a label.

virtual int vtkKWMenuButton::GetPadY (  )  [virtual]

Set/Get the current entry of this option menu. This can be an image name if any entry in the menu uses an image instead of a label.

virtual void vtkKWMenuButton::SetAnchor ( int   )  [virtual]

Set/Get the anchoring. Specifies how the information in a widget (e.g. text or a bitmap) is to be displayed in the widget. Valid constants can be found in vtkKWOptions::AnchorType.

virtual int vtkKWMenuButton::GetAnchor (  )  [virtual]

Set/Get the current entry of this option menu. This can be an image name if any entry in the menu uses an image instead of a label.

virtual void vtkKWMenuButton::SetAnchorToNorth (  )  [virtual]

Set/Get the current entry of this option menu. This can be an image name if any entry in the menu uses an image instead of a label.

virtual void vtkKWMenuButton::SetAnchorToNorthEast (  )  [virtual]

Set/Get the current entry of this option menu. This can be an image name if any entry in the menu uses an image instead of a label.

virtual void vtkKWMenuButton::SetAnchorToEast (  )  [virtual]

Set/Get the current entry of this option menu. This can be an image name if any entry in the menu uses an image instead of a label.

virtual void vtkKWMenuButton::SetAnchorToSouthEast (  )  [virtual]

Set/Get the current entry of this option menu. This can be an image name if any entry in the menu uses an image instead of a label.

virtual void vtkKWMenuButton::SetAnchorToSouth (  )  [virtual]

Set/Get the current entry of this option menu. This can be an image name if any entry in the menu uses an image instead of a label.

virtual void vtkKWMenuButton::SetAnchorToSouthWest (  )  [virtual]

Set/Get the current entry of this option menu. This can be an image name if any entry in the menu uses an image instead of a label.

virtual void vtkKWMenuButton::SetAnchorToWest (  )  [virtual]

Set/Get the current entry of this option menu. This can be an image name if any entry in the menu uses an image instead of a label.

virtual void vtkKWMenuButton::SetAnchorToNorthWest (  )  [virtual]

Set/Get the current entry of this option menu. This can be an image name if any entry in the menu uses an image instead of a label.

virtual void vtkKWMenuButton::SetAnchorToCenter (  )  [virtual]

Set/Get the current entry of this option menu. This can be an image name if any entry in the menu uses an image instead of a label.

virtual void vtkKWMenuButton::SetImageToIcon ( vtkKWIcon icon  )  [virtual]

Specifies an image to display in the widget. Typically, if the image is specified then it overrides other options that specify a bitmap or textual value to display in the widget. Invoke vtkKWWidget's SetConfigurationOption("-image", imagename) to use a specific pre-existing Tk image, or call one of the following functions. The SetImageToPredefinedIcon method accepts an index to one of the predefined icon listed in vtkKWIcon. The SetImageToPixels method sets the image using pixel data. It expects a pointer to the pixels and the structure of the image, i.e. its width, height and the pixel_size (how many bytes per pixel, say 3 for RGB, or 1 for grayscale). If buffer_length = 0, it is computed automatically from the previous parameters. If it is not, it will most likely indicate that the buffer has been encoded using base64 and/or zlib. If pixel_size > 3 (i.e. RGBA), the image is blend the with background color of the widget. Check the SetCompoundMode method if you want to display both the image and the label at the same time.

virtual void vtkKWMenuButton::SetImageToPredefinedIcon ( int  icon_index  )  [virtual]

Set/Get the current entry of this option menu. This can be an image name if any entry in the menu uses an image instead of a label.

virtual void vtkKWMenuButton::SetImageToPixels ( const unsigned char *  pixels,
int  width,
int  height,
int  pixel_size,
unsigned long  buffer_length = 0 
) [virtual]

Set/Get the current entry of this option menu. This can be an image name if any entry in the menu uses an image instead of a label.

virtual void vtkKWMenuButton::SetCompoundMode ( int   )  [virtual]

Specifies if the widget should display text and bitmaps/images at the same time, and if so, where the bitmap/image should be placed relative to the text. Valid constants can be found in vtkKWOptions::CompoundModeType. The (default) value CompoundModeNone specifies that the bitmap or image should (if defined) be displayed instead of the text.

virtual int vtkKWMenuButton::GetCompoundMode (  )  [virtual]

Set/Get the current entry of this option menu. This can be an image name if any entry in the menu uses an image instead of a label.

virtual void vtkKWMenuButton::SetCompoundModeToNone (  )  [virtual]

Set/Get the current entry of this option menu. This can be an image name if any entry in the menu uses an image instead of a label.

virtual void vtkKWMenuButton::SetCompoundModeToLeft (  )  [virtual]

Set/Get the current entry of this option menu. This can be an image name if any entry in the menu uses an image instead of a label.

virtual void vtkKWMenuButton::SetCompoundModeToCenter (  )  [virtual]

Set/Get the current entry of this option menu. This can be an image name if any entry in the menu uses an image instead of a label.

virtual void vtkKWMenuButton::SetCompoundModeToRight (  )  [virtual]

Set/Get the current entry of this option menu. This can be an image name if any entry in the menu uses an image instead of a label.

virtual void vtkKWMenuButton::SetCompoundModeToTop (  )  [virtual]

Set/Get the current entry of this option menu. This can be an image name if any entry in the menu uses an image instead of a label.

virtual void vtkKWMenuButton::SetCompoundModeToBottom (  )  [virtual]

Set/Get the current entry of this option menu. This can be an image name if any entry in the menu uses an image instead of a label.

virtual void vtkKWMenuButton::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 vtkKWMenuButton::TracedVariableChangedCallback ( const char *  ,
const char *  ,
const char *   
) [virtual]

Callbacks. Internal, do not use.

virtual void vtkKWMenuButton::ConfigureCallback (  )  [virtual]

Set/Get the current entry of this option menu. This can be an image name if any entry in the menu uses an image instead of a label.

virtual void vtkKWMenuButton::UpdateMenuButtonLabelCallback (  )  [virtual]

Set/Get the current entry of this option menu. This can be an image name if any entry in the menu uses an image instead of a label.

virtual void vtkKWMenuButton::AddCallbackCommandObservers (  )  [virtual]

Add all the default observers needed by that object, or remove all the observers that were added through AddCallbackCommandObserver. Subclasses can override these methods to add/remove their own default observers, but should call the superclass too.

Reimplemented from vtkKWObject.

virtual void vtkKWMenuButton::RemoveCallbackCommandObservers (  )  [virtual]

Set/Get the current entry of this option menu. This can be an image name if any entry in the menu uses an image instead of a label.

Reimplemented from vtkKWObject.

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

Create the widget.

Reimplemented from vtkKWCoreWidget.

virtual char* vtkKWMenuButton::GetCurrentValue (  )  [protected, virtual]
virtual void vtkKWMenuButton::SetCurrentValue ( const char *   )  [protected, virtual]
virtual void vtkKWMenuButton::UpdateMenuButtonLabel (  )  [protected, virtual]
virtual const char* vtkKWMenuButton::UpdateMenuButtonLabelFromMenu ( const char *  varname,
const char *  value,
vtkKWMenu menu 
) [protected, virtual]
virtual void vtkKWMenuButton::ScheduleUpdateMenuButtonLabel (  )  [protected, virtual]
virtual void vtkKWMenuButton::ProcessCallbackCommandEvents ( vtkObject caller,
unsigned long  event,
void *  calldata 
) [protected, virtual]

Processes the events that are passed through CallbackCommand (or others). Subclasses can oberride this method to process their own events, but should call the superclass too.

Reimplemented from vtkKWObject.

virtual void vtkKWMenuButton::UpdateBindings (  )  [protected, virtual]

Update bindings


Member Data Documentation

char* vtkKWMenuButton::CurrentValue [protected]

Definition at line 298 of file vtkKWMenuButton.h.

Definition at line 301 of file vtkKWMenuButton.h.

Definition at line 302 of file vtkKWMenuButton.h.

Definition at line 303 of file vtkKWMenuButton.h.

vtkKWMenuButtonInternals* vtkKWMenuButton::Internals [protected]

PIMPL Encapsulation for STL containers

Reimplemented from vtkKWCoreWidget.

Definition at line 323 of file vtkKWMenuButton.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:35:34 2010 for KWWidgets by  doxygen 1.6.1