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

vtkKWTkOptions Class Reference

set of methods to convert to/from Tk options More...

#include <vtkKWTkOptions.h>

List of all members.

[NOHEADER]

enum  AnchorType {
  AnchorNorth = 0, AnchorNorthEast, AnchorEast, AnchorSouthEast,
  AnchorSouth, AnchorSouthWest, AnchorWest, AnchorNorthWest,
  AnchorCenter, AnchorUnknown
}
const char * GetAnchorAsTkOptionValue (int)
int GetAnchorFromTkOptionValue (const char *)

[NOHEADER]

enum  ReliefType {
  ReliefRaised = 0, ReliefSunken, ReliefFlat, ReliefRidge,
  ReliefSolid, ReliefGroove, ReliefUnknown
}
const char * GetReliefAsTkOptionValue (int)
int GetReliefFromTkOptionValue (const char *)

[NOHEADER]

enum  JustificationType { JustificationLeft = 0, JustificationCenter, JustificationRight, JustificationUnknown }
const char * GetJustificationAsTkOptionValue (int)
int GetJustificationFromTkOptionValue (const char *)

[NOHEADER]

enum  SelectionModeType {
  SelectionModeSingle = 0, SelectionModeBrowse, SelectionModeMultiple, SelectionModeExtended,
  SelectionModeUnknown
}
const char * GetSelectionModeAsTkOptionValue (int)
int GetSelectionModeFromTkOptionValue (const char *)

[NOHEADER]

enum  OrientationType { OrientationHorizontal = 0, OrientationVertical, OrientationUnknown }
const char * GetOrientationAsTkOptionValue (int)
int GetOrientationFromTkOptionValue (const char *)

[NOHEADER]

enum  StateType {
  StateDisabled = 0, StateNormal = 1, StateActive = 2, StateReadOnly = 3,
  StateUnknown
}
const char * GetStateAsTkOptionValue (int)
int GetStateFromTkOptionValue (const char *)

Public Types


Public Member Functions

 vtkTypeRevisionMacro (vtkKWTkOptions, vtkObject)
void PrintSelf (ostream &os, vtkIndent indent)

Static Public Member Functions

vtkKWTkOptionsNew ()
const char * GetCharacterEncodingAsTclOptionValue (int)

Protected Member Functions

 vtkKWTkOptions ()
 ~vtkKWTkOptions ()


Detailed Description

set of methods to convert to/from Tk options

This class provides some conversion betweek vtkKWWidget constants and the corresponding Tk options.

Definition at line 27 of file vtkKWTkOptions.h.


Member Enumeration Documentation

enum vtkKWTkOptions::AnchorType
 

Return the Tk value for a given anchor constant, and vice-versa Specifies how the information in a widget (e.g. text or a bitmap) is to be displayed in the widget. BTX

Enumeration values:
AnchorNorth 
AnchorNorthEast 
AnchorEast 
AnchorSouthEast 
AnchorSouth 
AnchorSouthWest 
AnchorWest 
AnchorNorthWest 
AnchorCenter 
AnchorUnknown 

Definition at line 42 of file vtkKWTkOptions.h.

enum vtkKWTkOptions::ReliefType
 

Return the Tk value for a given relief constant, and vice-versa The value indicates how the interior of the widget should appear relative to its exterior. BTX

Enumeration values:
ReliefRaised 
ReliefSunken 
ReliefFlat 
ReliefRidge 
ReliefSolid 
ReliefGroove 
ReliefUnknown 

Definition at line 64 of file vtkKWTkOptions.h.

enum vtkKWTkOptions::JustificationType
 

Return the Tk value for a given justification constant, and vice-versa. When there are multiple lines of text displayed in a widget, this option determines how the lines line up with each other. BTX

Enumeration values:
JustificationLeft 
JustificationCenter 
JustificationRight 
JustificationUnknown 

Definition at line 84 of file vtkKWTkOptions.h.

enum vtkKWTkOptions::SelectionModeType
 

Set/Get the one of several styles for manipulating the selection. BTX

Enumeration values:
SelectionModeSingle 
SelectionModeBrowse 
SelectionModeMultiple 
SelectionModeExtended 
SelectionModeUnknown 

Definition at line 98 of file vtkKWTkOptions.h.

enum vtkKWTkOptions::OrientationType
 

Return the Tk value for a given orientation constant, and vice-versa. For widgets that can lay themselves out with either a horizontal or vertical orientation, such as scrollbars, this option specifies which orientation should be used. BTX

Enumeration values:
OrientationHorizontal 
OrientationVertical 
OrientationUnknown 

Definition at line 116 of file vtkKWTkOptions.h.

enum vtkKWTkOptions::StateType
 

State option (make sure disabled/normal map to 0/1). BTX

Enumeration values:
StateDisabled 
StateNormal 
StateActive 
StateReadOnly 
StateUnknown 

Definition at line 129 of file vtkKWTkOptions.h.


Constructor & Destructor Documentation

vtkKWTkOptions::vtkKWTkOptions  )  [inline, protected]
 

Definition at line 143 of file vtkKWTkOptions.h.

vtkKWTkOptions::~vtkKWTkOptions  )  [inline, protected]
 

Definition at line 144 of file vtkKWTkOptions.h.


Member Function Documentation

vtkKWTkOptions* vtkKWTkOptions::New  )  [static]
 

vtkKWTkOptions::vtkTypeRevisionMacro vtkKWTkOptions  ,
vtkObject 
 

void vtkKWTkOptions::PrintSelf ostream &  os,
vtkIndent  indent
 

const char* vtkKWTkOptions::GetCharacterEncodingAsTclOptionValue int   )  [static]
 

Return the Tcl value for a given encoding constant Check vtkSystemIncludes for a list of valid encodings.

const char* vtkKWTkOptions::GetAnchorAsTkOptionValue int   )  [static]
 

Return the Tk value for a given anchor constant, and vice-versa Specifies how the information in a widget (e.g. text or a bitmap) is to be displayed in the widget. BTX

int vtkKWTkOptions::GetAnchorFromTkOptionValue const char *   )  [static]
 

Return the Tk value for a given anchor constant, and vice-versa Specifies how the information in a widget (e.g. text or a bitmap) is to be displayed in the widget. BTX

const char* vtkKWTkOptions::GetReliefAsTkOptionValue int   )  [static]
 

Return the Tk value for a given relief constant, and vice-versa The value indicates how the interior of the widget should appear relative to its exterior. BTX

int vtkKWTkOptions::GetReliefFromTkOptionValue const char *   )  [static]
 

Return the Tk value for a given relief constant, and vice-versa The value indicates how the interior of the widget should appear relative to its exterior. BTX

const char* vtkKWTkOptions::GetJustificationAsTkOptionValue int   )  [static]
 

Return the Tk value for a given justification constant, and vice-versa. When there are multiple lines of text displayed in a widget, this option determines how the lines line up with each other. BTX

int vtkKWTkOptions::GetJustificationFromTkOptionValue const char *   )  [static]
 

Return the Tk value for a given justification constant, and vice-versa. When there are multiple lines of text displayed in a widget, this option determines how the lines line up with each other. BTX

const char* vtkKWTkOptions::GetSelectionModeAsTkOptionValue int   )  [static]
 

Set/Get the one of several styles for manipulating the selection. BTX

int vtkKWTkOptions::GetSelectionModeFromTkOptionValue const char *   )  [static]
 

Set/Get the one of several styles for manipulating the selection. BTX

const char* vtkKWTkOptions::GetOrientationAsTkOptionValue int   )  [static]
 

Return the Tk value for a given orientation constant, and vice-versa. For widgets that can lay themselves out with either a horizontal or vertical orientation, such as scrollbars, this option specifies which orientation should be used. BTX

int vtkKWTkOptions::GetOrientationFromTkOptionValue const char *   )  [static]
 

Return the Tk value for a given orientation constant, and vice-versa. For widgets that can lay themselves out with either a horizontal or vertical orientation, such as scrollbars, this option specifies which orientation should be used. BTX

const char* vtkKWTkOptions::GetStateAsTkOptionValue int   )  [static]
 

State option (make sure disabled/normal map to 0/1). BTX

int vtkKWTkOptions::GetStateFromTkOptionValue const char *   )  [static]
 

State option (make sure disabled/normal map to 0/1). BTX


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