#include <vtkKWCoreWidget.h>
Inheritance diagram for vtkKWCoreWidget:
[NOHEADER] | |
enum | { ConvertStringEscapeCurlyBraces = 1, ConvertStringEscapeInterpretable = 2 } |
const char * | ConvertTclStringToInternalString (const char *source, int options=0) |
const char * | ConvertInternalStringToTclString (const char *source, int options=0) |
Public Member Functions | |
vtkTypeRevisionMacro (vtkKWCoreWidget, vtkKWWidget) | |
void | PrintSelf (ostream &os, vtkIndent indent) |
virtual void | Create (vtkKWApplication *app) |
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 | 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 | SetPadX (int) |
virtual int | GetPadX () |
virtual void | SetPadY (int) |
virtual int | GetPadY () |
virtual int | SetConfigurationOption (const char *option, const char *value) |
virtual int | HasConfigurationOption (const char *option) |
virtual const char * | GetConfigurationOption (const char *option) |
virtual int | GetConfigurationOptionAsInt (const char *option) |
virtual int | SetConfigurationOptionAsInt (const char *option, int value) |
virtual double | GetConfigurationOptionAsDouble (const char *option) |
virtual int | SetConfigurationOptionAsDouble (const char *option, double value) |
virtual void | GetConfigurationOptionAsColor (const char *option, double *r, double *g, double *b) |
virtual double * | GetConfigurationOptionAsColor (const char *option) |
virtual void | SetConfigurationOptionAsColor (const char *option, double r, double g, double b) |
virtual void | SetConfigurationOptionAsColor (const char *option, double rgb[3]) |
virtual void | SetState (int) |
virtual int | GetState () |
virtual void | SetStateToDisabled () |
virtual void | SetStateToNormal () |
virtual void | SetStateToReadOnly () |
Static Public Member Functions | |
vtkKWCoreWidget * | New () |
Protected Types | |
Protected Member Functions | |
vtkKWCoreWidget () | |
~vtkKWCoreWidget () | |
virtual const char * | GetType () |
virtual void | SetTextOption (const char *option, const char *value) |
virtual const char * | GetTextOption (const char *option) |
A superclass for all core widgets, i.e. C++ wrappers around simple Tk widgets.
Definition at line 33 of file vtkKWCoreWidget.h.
|
Convert a Tcl string (stored internally as UTF-8/Unicode) to another internal format (given the widget's application CharacterEncoding), and vice-versa. The 'source' string is the source to convert. It returns a pointer to a static buffer where the converted string can be found (so be quick about it). The 'options' can be set to perform some replacements/escaping. ConvertStringEscapeInterpretable will attempt to escape all characters that can be interpreted (when found between a pair of quotes for example): $ [ ] " BTX Definition at line 165 of file vtkKWCoreWidget.h. |
|
Definition at line 150 of file vtkKWCoreWidget.h. |
|
Definition at line 151 of file vtkKWCoreWidget.h. |
|
|
|
|
|
|
Convenience method to Set/Get the current background and foreground colors of the widget |
|
Convenience method to Set/Get the current background and foreground colors of the widget |
|
Convenience method to Set/Get the current background and foreground colors of the widget Reimplemented in vtkKWMultiColumnList, and vtkKWParameterValueFunctionEditor. Referenced by vtkKWMultiColumnList::SetBackgroundColor(). |
|
Convenience method to Set/Get the current background and foreground colors of the widget Reimplemented in vtkKWMultiColumnList, and vtkKWParameterValueFunctionEditor. Definition at line 49 of file vtkKWCoreWidget.h. |
|
Convenience method to Set/Get the current background and foreground colors of the widget |
|
Convenience method to Set/Get the current background and foreground colors of the widget |
|
Convenience method to Set/Get the current background and foreground colors of the widget Reimplemented in vtkKWMultiColumnList. Referenced by vtkKWMultiColumnList::SetForegroundColor(). |
|
Convenience method to Set/Get the current background and foreground colors of the widget Reimplemented in vtkKWMultiColumnList. Definition at line 54 of file vtkKWCoreWidget.h. |
|
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. |
|
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. |
|
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). |
|
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). |
|
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 vtkKWTkOptions::ReliefType. |
|
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 vtkKWTkOptions::ReliefType. |
|
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 vtkKWTkOptions::ReliefType. Definition at line 80 of file vtkKWCoreWidget.h. |
|
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 vtkKWTkOptions::ReliefType. Definition at line 82 of file vtkKWCoreWidget.h. |
|
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 vtkKWTkOptions::ReliefType. Definition at line 84 of file vtkKWCoreWidget.h. |
|
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 vtkKWTkOptions::ReliefType. Definition at line 86 of file vtkKWCoreWidget.h. |
|
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 vtkKWTkOptions::ReliefType. Definition at line 88 of file vtkKWCoreWidget.h. |
|
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 vtkKWTkOptions::ReliefType. Definition at line 90 of file vtkKWCoreWidget.h. |
|
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. |
|
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. |
|
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. |
|
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. |
|
Set/Get a Tk configuration option (ex: "-bg") Please make sure you check the class (and subclasses) API for a C++ method acting as a front-end for the corresponding Tk option. For example, the SetBackgroundColor() method should be used to set the corresponding -bg Tk option. Note that SetConfigurationOption will enclose the value inside curly braces {} as a convenience. SetConfigurationOption returns 1 on success, 0 otherwise. |
|
Set/Get a Tk configuration option (ex: "-bg") Please make sure you check the class (and subclasses) API for a C++ method acting as a front-end for the corresponding Tk option. For example, the SetBackgroundColor() method should be used to set the corresponding -bg Tk option. Note that SetConfigurationOption will enclose the value inside curly braces {} as a convenience. SetConfigurationOption returns 1 on success, 0 otherwise. |
|
Set/Get a Tk configuration option (ex: "-bg") Please make sure you check the class (and subclasses) API for a C++ method acting as a front-end for the corresponding Tk option. For example, the SetBackgroundColor() method should be used to set the corresponding -bg Tk option. Note that SetConfigurationOption will enclose the value inside curly braces {} as a convenience. SetConfigurationOption returns 1 on success, 0 otherwise. |
|
Set/Get a Tk configuration option (ex: "-bg") Please make sure you check the class (and subclasses) API for a C++ method acting as a front-end for the corresponding Tk option. For example, the SetBackgroundColor() method should be used to set the corresponding -bg Tk option. Note that SetConfigurationOption will enclose the value inside curly braces {} as a convenience. SetConfigurationOption returns 1 on success, 0 otherwise. |
|
Set/Get a Tk configuration option (ex: "-bg") Please make sure you check the class (and subclasses) API for a C++ method acting as a front-end for the corresponding Tk option. For example, the SetBackgroundColor() method should be used to set the corresponding -bg Tk option. Note that SetConfigurationOption will enclose the value inside curly braces {} as a convenience. SetConfigurationOption returns 1 on success, 0 otherwise. |
|
Set/Get a Tk configuration option (ex: "-bg") Please make sure you check the class (and subclasses) API for a C++ method acting as a front-end for the corresponding Tk option. For example, the SetBackgroundColor() method should be used to set the corresponding -bg Tk option. Note that SetConfigurationOption will enclose the value inside curly braces {} as a convenience. SetConfigurationOption returns 1 on success, 0 otherwise. |
|
Set/Get a Tk configuration option (ex: "-bg") Please make sure you check the class (and subclasses) API for a C++ method acting as a front-end for the corresponding Tk option. For example, the SetBackgroundColor() method should be used to set the corresponding -bg Tk option. Note that SetConfigurationOption will enclose the value inside curly braces {} as a convenience. SetConfigurationOption returns 1 on success, 0 otherwise. |
|
Set/Get a Tk configuration option (ex: "-bg") Please make sure you check the class (and subclasses) API for a C++ method acting as a front-end for the corresponding Tk option. For example, the SetBackgroundColor() method should be used to set the corresponding -bg Tk option. Note that SetConfigurationOption will enclose the value inside curly braces {} as a convenience. SetConfigurationOption returns 1 on success, 0 otherwise. |
|
Set/Get a Tk configuration option (ex: "-bg") Please make sure you check the class (and subclasses) API for a C++ method acting as a front-end for the corresponding Tk option. For example, the SetBackgroundColor() method should be used to set the corresponding -bg Tk option. Note that SetConfigurationOption will enclose the value inside curly braces {} as a convenience. SetConfigurationOption returns 1 on success, 0 otherwise. |
|
Set/Get a Tk configuration option (ex: "-bg") Please make sure you check the class (and subclasses) API for a C++ method acting as a front-end for the corresponding Tk option. For example, the SetBackgroundColor() method should be used to set the corresponding -bg Tk option. Note that SetConfigurationOption will enclose the value inside curly braces {} as a convenience. SetConfigurationOption returns 1 on success, 0 otherwise. |
|
Set/Get a Tk configuration option (ex: "-bg") Please make sure you check the class (and subclasses) API for a C++ method acting as a front-end for the corresponding Tk option. For example, the SetBackgroundColor() method should be used to set the corresponding -bg Tk option. Note that SetConfigurationOption will enclose the value inside curly braces {} as a convenience. SetConfigurationOption returns 1 on success, 0 otherwise. Definition at line 129 of file vtkKWCoreWidget.h. |
|
Convenience method to Set/Get the -state option to "normal" (1) or "disabled" (0) or "readonly" (2, if supported). Valid constants can be found in vtkKWTkOptions::StateType. This should not be used directly, this is done by SetEnabled()/UpdateEnableState(). TODO: should be in protected: Reimplemented in vtkKWMenu. |
|
Convenience method to Set/Get the -state option to "normal" (1) or "disabled" (0) or "readonly" (2, if supported). Valid constants can be found in vtkKWTkOptions::StateType. This should not be used directly, this is done by SetEnabled()/UpdateEnableState(). TODO: should be in protected: |
|
Convenience method to Set/Get the -state option to "normal" (1) or "disabled" (0) or "readonly" (2, if supported). Valid constants can be found in vtkKWTkOptions::StateType. This should not be used directly, this is done by SetEnabled()/UpdateEnableState(). TODO: should be in protected: Definition at line 141 of file vtkKWCoreWidget.h. |
|
Convenience method to Set/Get the -state option to "normal" (1) or "disabled" (0) or "readonly" (2, if supported). Valid constants can be found in vtkKWTkOptions::StateType. This should not be used directly, this is done by SetEnabled()/UpdateEnableState(). TODO: should be in protected: Definition at line 143 of file vtkKWCoreWidget.h. |
|
Convenience method to Set/Get the -state option to "normal" (1) or "disabled" (0) or "readonly" (2, if supported). Valid constants can be found in vtkKWTkOptions::StateType. This should not be used directly, this is done by SetEnabled()/UpdateEnableState(). TODO: should be in protected: Definition at line 145 of file vtkKWCoreWidget.h. |
|
Get the Tk string type of the widget. |
|
Convert a Tcl string (stored internally as UTF-8/Unicode) to another internal format (given the widget's application CharacterEncoding), and vice-versa. The 'source' string is the source to convert. It returns a pointer to a static buffer where the converted string can be found (so be quick about it). The 'options' can be set to perform some replacements/escaping. ConvertStringEscapeInterpretable will attempt to escape all characters that can be interpreted (when found between a pair of quotes for example): $ [ ] " BTX |
|
Convert a Tcl string (stored internally as UTF-8/Unicode) to another internal format (given the widget's application CharacterEncoding), and vice-versa. The 'source' string is the source to convert. It returns a pointer to a static buffer where the converted string can be found (so be quick about it). The 'options' can be set to perform some replacements/escaping. ConvertStringEscapeInterpretable will attempt to escape all characters that can be interpreted (when found between a pair of quotes for example): $ [ ] " BTX |
|
Set/Get a textual Tk configuration option (ex: "-bg") This should be used instead of SetConfigurationOption as it performs various characted encoding and escaping tricks. The characted encoding used in the string will be retrieved by querying the widget's application CharacterEncoding ivar. Conversion from that encoding to Tk internal encoding will be performed automatically. |
|
Set/Get a textual Tk configuration option (ex: "-bg") This should be used instead of SetConfigurationOption as it performs various characted encoding and escaping tricks. The characted encoding used in the string will be retrieved by querying the widget's application CharacterEncoding ivar. Conversion from that encoding to Tk internal encoding will be performed automatically. |