superclass of KW widgets More...
#include <vtkKWWidget.h>


Public Types | |
| typedef vtkKWObject | Superclass |
Public Member Functions | |
| virtual const char * | GetClassName () |
| virtual int | IsA (const char *type) |
| void | PrintSelf (ostream &os, vtkIndent indent) |
| virtual vtkKWApplication * | GetApplication () |
| virtual void | Create () |
| virtual int | IsCreated () |
| virtual int | IsAlive () |
| virtual int | IsMapped () |
| virtual vtkKWKeyBindingsManager * | GetKeyBindingsManager () |
| virtual void | SetDropFileBinding (vtkObject *object, const char *method) |
| vtkKWTopLevel * | GetParentTopLevel () |
| virtual void | UpdateEnableState () |
| virtual void | UnRegister (vtkObjectBase *o) |
| virtual int | GetNetReferenceCount () |
Static Public Member Functions | |
| static vtkKWWidget * | New () |
| static int | IsTypeOf (const char *type) |
| static vtkKWWidget * | SafeDownCast (vtkObject *o) |
Protected Member Functions | |
| vtkKWWidget () | |
| ~vtkKWWidget () | |
| virtual void | PropagateEnableState (vtkKWWidget *widget) |
| virtual void | CreateWidget () |
Protected Attributes | |
| char * | WidgetName |
| vtkKWWidget * | Parent |
| vtkKWWidgetInternals * | Internals |
|
| |
| enum | { WidgetCreatedEvent = 30000 } |
| char * | BalloonHelpString |
| vtkKWIcon * | BalloonHelpIcon |
| vtkKWBalloonHelpManager * | BalloonHelpManager |
| static int | GetUseClassNameInWidgetName () |
| static void | SetUseClassNameInWidgetName (int) |
| static void | UseClassNameInWidgetNameOn () |
| static void | UseClassNameInWidgetNameOff () |
| virtual void | SetParent (vtkKWWidget *p) |
| virtual vtkKWWidget * | GetParent () |
| virtual const char * | GetWidgetName () |
| virtual void | SetWidgetName (const char *) |
| virtual void | Focus () |
| virtual int | HasFocus () |
| virtual void | SetEnabled (int) |
| virtual void | EnabledOn () |
| virtual void | EnabledOff () |
| virtual int | GetEnabled () |
| virtual void | SetBinding (const char *event, vtkObject *object, const char *method) |
| virtual void | SetBinding (const char *event, const char *command) |
| virtual const char * | GetBinding (const char *event) |
| virtual void | AddBinding (const char *event, vtkObject *object, const char *method) |
| virtual void | AddBinding (const char *event, const char *command) |
| virtual void | RemoveBinding (const char *event) |
| virtual void | RemoveBinding (const char *event, vtkObject *object, const char *method) |
| virtual void | SetKeyBinding (const char *event, vtkObject *object, const char *method, const char *context, const char *description) |
| virtual void | RemoveKeyBinding (const char *event) |
| virtual void | RemoveKeyBinding (const char *event, vtkObject *object, const char *method) |
| virtual int | IsPacked () |
| virtual int | GetNumberOfPackedChildren () |
| virtual void | Unpack () |
| virtual int | IsGridded () |
| virtual int | GetNumberOfGriddedChildren () |
| virtual void | Ungrid () |
| virtual int | IsPlaced () |
| virtual int | GetNumberOfPlacedChildren () |
| virtual void | Unplace () |
| virtual void | UnpackSiblings () |
| virtual void | UnpackChildren () |
| virtual void | SetBalloonHelpString (const char *str) |
| virtual char * | GetBalloonHelpString () |
| virtual void | SetBalloonHelpIcon (vtkKWIcon *icon) |
| virtual vtkKWIcon * | GetBalloonHelpIcon () |
| virtual vtkKWBalloonHelpManager * | GetBalloonHelpManager () |
| virtual void | SetBalloonHelpManager (vtkKWBalloonHelpManager *mgr) |
| virtual int | HasDragAndDropTargetSet () |
| virtual vtkKWDragAndDropTargetSet * | GetDragAndDropTargetSet () |
| virtual void | Grab () |
| virtual void | ReleaseGrab () |
| virtual int | IsGrabbed () |
| virtual int | HasChild (vtkKWWidget *w) |
| virtual int | GetNumberOfChildren () |
| virtual vtkKWWidget * | GetNthChild (int rank) |
| virtual vtkKWWidget * | GetChildWidgetWithName (const char *) |
| virtual void | RemoveAllChildren () |
| virtual void | AddChild (vtkKWWidget *w) |
| virtual void | RemoveChild (vtkKWWidget *w) |
| virtual void | AddBalloonHelpBindings () |
| virtual void | SetGenericBinding (const char *target, const char *event, vtkObject *object, const char *method) |
| virtual void | AddGenericBinding (const char *target, const char *event, vtkObject *object, const char *method) |
| virtual void | RemoveGenericBinding (const char *target, const char *event) |
| virtual void | RemoveGenericBinding (const char *target, const char *event, vtkObject *object, const char *method) |
| static int | CreateSpecificTkWidget (vtkKWWidget *obj, const char *type, const char *args=NULL) |
superclass of KW widgets
This class is the superclass of all UI based objects in the Kitware toolkit. It contains common methods such as specifying the parent widget, generating and returning the Tcl widget name for an instance, and managing children. It overrides the Unregister method to handle circular reference counts between child and parent widgets.
Definition at line 40 of file vtkKWWidget.h.
| typedef vtkKWObject vtkKWWidget::Superclass |
Reimplemented from vtkKWObject.
Reimplemented in vtkKWCanvas, vtkKWChangeColorButton, vtkKWCheckButton, vtkKWCheckButtonWithChangeColorButton, vtkKWCheckButtonWithPopupFrame, vtkKWColorPickerDialog, vtkKWColorPickerWidget, vtkKWColorPresetMenu, vtkKWColorPresetSelector, vtkKWColorSpectrumWidget, vtkKWColorSwatchesWidget, vtkKWColorTransferFunctionEditor, vtkKWComboBox, vtkKWCompositeWidget, vtkKWCoreWidget, vtkKWCornerAnnotationEditor, vtkKWDialog, vtkKWDirectoryExplorer, vtkKWDirectoryPresetSelector, vtkKWEntry, vtkKWExtent, vtkKWFavoriteDirectoriesFrame, vtkKWFileBrowserDialog, vtkKWFileBrowserWidget, vtkKWFileListTable, vtkKWFrame, vtkKWFrameWithLabel, vtkKWFrameWithScrollbar, vtkKWHeaderAnnotationEditor, vtkKWHSVColorSelector, vtkKWKeyBindingsWidget, vtkKWLabel, vtkKWListBox, vtkKWListBoxToListBoxSelectionEditor, vtkKWLoadSaveButton, vtkKWLoadSaveDialog, vtkKWLogDialog, vtkKWLogWidget, vtkKWMaterialPropertyWidget, vtkKWMatrixWidget, vtkKWMenu, vtkKWMenuButton, vtkKWMessage, vtkKWMessageDialog, vtkKWMultiColumnList, vtkKWNotebook, vtkKWParameterValueFunctionEditor, vtkKWParameterValueFunctionInterface, vtkKWParameterValueHermiteFunctionEditor, vtkKWPiecewiseFunctionEditor, vtkKWPopupButton, vtkKWPopupFrame, vtkKWPresetSelector, vtkKWProgressGauge, vtkKWPushButton, vtkKWPushButtonWithMenu, vtkKWRadioButton, vtkKWRadioButtonSet, vtkKWRange, vtkKWRenderWidget, vtkKWSaveImageDialog, vtkKWScalarBarAnnotation, vtkKWScalarComponentSelectionWidget, vtkKWScale, vtkKWScaleWithEntry, vtkKWScrollbar, vtkKWSelectionFrame, vtkKWSelectionFrameLayoutManager, vtkKWSeparator, vtkKWSimpleAnimationWidget, vtkKWSimpleEntryDialog, vtkKWSmallCounterLabel, vtkKWSpinBox, vtkKWSpinButtons, vtkKWSplashScreen, vtkKWSplitFrame, vtkKWStartupPageWidget, vtkKWSurfaceMaterialPropertyWidget, vtkKWTclInteractor, vtkKWText, vtkKWTextPropertyEditor, vtkKWThumbWheel, vtkKWTkcon, vtkKWToolbar, vtkKWToolbarSet, vtkKWTopLevel, vtkKWTree, vtkKWTreeWithScrollbars, vtkKWVolumeMaterialPropertyWidget, vtkKWVolumePropertyPresetSelector, vtkKWVolumePropertyWidget, vtkKWWidgetSet, vtkKWWidgetWithLabel, vtkKWWidgetWithScrollbars, vtkKWWidgetWithSpinButtons, vtkKWWindow, vtkKWWindowBase, vtkKWWindowLevelPresetSelector, vtkKWWizardDialog, vtkKWWizardWidget, vtkKWCanvasWithScrollbars, vtkKWCheckButtonSet, vtkKWCheckButtonSetWithLabel, vtkKWCheckButtonWithLabel, vtkKWColorTransferFunctionEditorSet, vtkKWComboBoxSet, vtkKWComboBoxWithLabel, vtkKWEntrySet, vtkKWEntryWithLabel, vtkKWFrameSet, vtkKWLabelSet, vtkKWLabelWithLabel, vtkKWLabelWithLabelSet, vtkKWListBoxWithScrollbars, vtkKWListBoxWithScrollbarsWithLabel, vtkKWLoadSaveButtonWithLabel, vtkKWMatrixWidgetWithLabel, vtkKWMenuButtonWithLabel, vtkKWMenuButtonWithSpinButtons, vtkKWMenuButtonWithSpinButtonsWithLabel, vtkKWMessageWithLabel, vtkKWMultiColumnListWithLabel, vtkKWMultiColumnListWithScrollbars, vtkKWMultiColumnListWithScrollbarsWithLabel, vtkKWPiecewiseFunctionEditorSet, vtkKWPopupButtonWithLabel, vtkKWPushButtonSet, vtkKWPushButtonSetWithLabel, vtkKWPushButtonWithLabel, vtkKWRadioButtonSetWithLabel, vtkKWScaleSet, vtkKWScaleWithEntrySet, vtkKWScaleWithEntrySetWithLabel, vtkKWScaleWithLabel, vtkKWScaleWithLabelSet, vtkKWSpinBoxSet, vtkKWSpinBoxWithLabel, vtkKWTextWithLabel, vtkKWTextWithScrollbars, and vtkKWTextWithScrollbarsWithLabel.
Definition at line 45 of file vtkKWWidget.h.
| anonymous enum |
Events. The WidgetCreatedEvent is sent after Create() is called. BTX
Definition at line 288 of file vtkKWWidget.h.
| vtkKWWidget::vtkKWWidget | ( | ) | [protected] |
| vtkKWWidget::~vtkKWWidget | ( | ) | [protected] |
| static vtkKWWidget* vtkKWWidget::New | ( | ) | [static] |
Reimplemented from vtkKWObject.
Reimplemented in vtkKWCanvas, vtkKWChangeColorButton, vtkKWCheckButton, vtkKWCheckButtonWithChangeColorButton, vtkKWCheckButtonWithPopupFrame, vtkKWColorPickerDialog, vtkKWColorPickerWidget, vtkKWColorPresetMenu, vtkKWColorPresetSelector, vtkKWColorSpectrumWidget, vtkKWColorSwatchesWidget, vtkKWColorTransferFunctionEditor, vtkKWComboBox, vtkKWCompositeWidget, vtkKWCoreWidget, vtkKWCornerAnnotationEditor, vtkKWDialog, vtkKWDirectoryExplorer, vtkKWDirectoryPresetSelector, vtkKWEntry, vtkKWExtent, vtkKWFavoriteDirectoriesFrame, vtkKWFileBrowserDialog, vtkKWFileBrowserWidget, vtkKWFileListTable, vtkKWFrame, vtkKWFrameWithLabel, vtkKWFrameWithScrollbar, vtkKWHeaderAnnotationEditor, vtkKWHSVColorSelector, vtkKWKeyBindingsWidget, vtkKWLabel, vtkKWListBox, vtkKWListBoxToListBoxSelectionEditor, vtkKWLoadSaveButton, vtkKWLoadSaveDialog, vtkKWLogDialog, vtkKWLogWidget, vtkKWMatrixWidget, vtkKWMenu, vtkKWMenuButton, vtkKWMessage, vtkKWMessageDialog, vtkKWMultiColumnList, vtkKWNotebook, vtkKWPiecewiseFunctionEditor, vtkKWPopupButton, vtkKWPopupFrame, vtkKWPresetSelector, vtkKWProgressGauge, vtkKWPushButton, vtkKWPushButtonWithMenu, vtkKWRadioButton, vtkKWRadioButtonSet, vtkKWRange, vtkKWRenderWidget, vtkKWSaveImageDialog, vtkKWScalarBarAnnotation, vtkKWScalarComponentSelectionWidget, vtkKWScale, vtkKWScaleWithEntry, vtkKWScrollbar, vtkKWSelectionFrame, vtkKWSelectionFrameLayoutManager, vtkKWSeparator, vtkKWSimpleAnimationWidget, vtkKWSimpleEntryDialog, vtkKWSmallCounterLabel, vtkKWSpinBox, vtkKWSpinButtons, vtkKWSplashScreen, vtkKWSplitFrame, vtkKWStartupPageWidget, vtkKWSurfaceMaterialPropertyWidget, vtkKWTclInteractor, vtkKWText, vtkKWTextPropertyEditor, vtkKWThumbWheel, vtkKWTkcon, vtkKWToolbar, vtkKWToolbarSet, vtkKWTopLevel, vtkKWTree, vtkKWTreeWithScrollbars, vtkKWVolumeMaterialPropertyWidget, vtkKWVolumePropertyPresetSelector, vtkKWVolumePropertyWidget, vtkKWWidgetWithLabel, vtkKWWidgetWithSpinButtons, vtkKWWindow, vtkKWWindowBase, vtkKWWindowLevelPresetSelector, vtkKWWizardDialog, vtkKWWizardWidget, vtkKWCanvasWithScrollbars, vtkKWCheckButtonSet, vtkKWCheckButtonSetWithLabel, vtkKWCheckButtonWithLabel, vtkKWColorTransferFunctionEditorSet, vtkKWComboBoxSet, vtkKWComboBoxWithLabel, vtkKWEntrySet, vtkKWEntryWithLabel, vtkKWFrameSet, vtkKWLabelSet, vtkKWLabelWithLabel, vtkKWLabelWithLabelSet, vtkKWListBoxWithScrollbars, vtkKWListBoxWithScrollbarsWithLabel, vtkKWLoadSaveButtonWithLabel, vtkKWMatrixWidgetWithLabel, vtkKWMenuButtonWithLabel, vtkKWMenuButtonWithSpinButtons, vtkKWMenuButtonWithSpinButtonsWithLabel, vtkKWMessageWithLabel, vtkKWMultiColumnListWithLabel, vtkKWMultiColumnListWithScrollbars, vtkKWMultiColumnListWithScrollbarsWithLabel, vtkKWPiecewiseFunctionEditorSet, vtkKWPopupButtonWithLabel, vtkKWPushButtonSet, vtkKWPushButtonSetWithLabel, vtkKWPushButtonWithLabel, vtkKWRadioButtonSetWithLabel, vtkKWScaleSet, vtkKWScaleWithEntrySet, vtkKWScaleWithEntrySetWithLabel, vtkKWScaleWithLabel, vtkKWScaleWithLabelSet, vtkKWSpinBoxSet, vtkKWSpinBoxWithLabel, vtkKWTextWithLabel, vtkKWTextWithScrollbars, and vtkKWTextWithScrollbarsWithLabel.
| virtual const char* vtkKWWidget::GetClassName | ( | ) | [virtual] |
Reimplemented from vtkKWObject.
Reimplemented in vtkKWCanvas, vtkKWChangeColorButton, vtkKWCheckButton, vtkKWCheckButtonWithChangeColorButton, vtkKWCheckButtonWithPopupFrame, vtkKWColorPickerDialog, vtkKWColorPickerWidget, vtkKWColorPresetMenu, vtkKWColorPresetSelector, vtkKWColorSpectrumWidget, vtkKWColorSwatchesWidget, vtkKWColorTransferFunctionEditor, vtkKWComboBox, vtkKWCompositeWidget, vtkKWCoreWidget, vtkKWCornerAnnotationEditor, vtkKWDialog, vtkKWDirectoryExplorer, vtkKWDirectoryPresetSelector, vtkKWEntry, vtkKWExtent, vtkKWFavoriteDirectoriesFrame, vtkKWFileBrowserDialog, vtkKWFileBrowserWidget, vtkKWFileListTable, vtkKWFrame, vtkKWFrameWithLabel, vtkKWFrameWithScrollbar, vtkKWHeaderAnnotationEditor, vtkKWHSVColorSelector, vtkKWKeyBindingsWidget, vtkKWLabel, vtkKWListBox, vtkKWListBoxToListBoxSelectionEditor, vtkKWLoadSaveButton, vtkKWLoadSaveDialog, vtkKWLogDialog, vtkKWLogWidget, vtkKWMaterialPropertyWidget, vtkKWMatrixWidget, vtkKWMenu, vtkKWMenuButton, vtkKWMessage, vtkKWMessageDialog, vtkKWMultiColumnList, vtkKWNotebook, vtkKWParameterValueFunctionEditor, vtkKWParameterValueFunctionInterface, vtkKWParameterValueHermiteFunctionEditor, vtkKWPiecewiseFunctionEditor, vtkKWPopupButton, vtkKWPopupFrame, vtkKWPresetSelector, vtkKWProgressGauge, vtkKWPushButton, vtkKWPushButtonWithMenu, vtkKWRadioButton, vtkKWRadioButtonSet, vtkKWRange, vtkKWRenderWidget, vtkKWSaveImageDialog, vtkKWScalarBarAnnotation, vtkKWScalarComponentSelectionWidget, vtkKWScale, vtkKWScaleWithEntry, vtkKWScrollbar, vtkKWSelectionFrame, vtkKWSelectionFrameLayoutManager, vtkKWSeparator, vtkKWSimpleAnimationWidget, vtkKWSimpleEntryDialog, vtkKWSmallCounterLabel, vtkKWSpinBox, vtkKWSpinButtons, vtkKWSplashScreen, vtkKWSplitFrame, vtkKWStartupPageWidget, vtkKWSurfaceMaterialPropertyWidget, vtkKWTclInteractor, vtkKWText, vtkKWTextPropertyEditor, vtkKWThumbWheel, vtkKWTkcon, vtkKWToolbar, vtkKWToolbarSet, vtkKWTopLevel, vtkKWTree, vtkKWTreeWithScrollbars, vtkKWVolumeMaterialPropertyWidget, vtkKWVolumePropertyPresetSelector, vtkKWVolumePropertyWidget, vtkKWWidgetSet, vtkKWWidgetWithLabel, vtkKWWidgetWithScrollbars, vtkKWWidgetWithSpinButtons, vtkKWWindow, vtkKWWindowBase, vtkKWWindowLevelPresetSelector, vtkKWWizardDialog, vtkKWWizardWidget, vtkKWCanvasWithScrollbars, vtkKWCheckButtonSet, vtkKWCheckButtonSetWithLabel, vtkKWCheckButtonWithLabel, vtkKWColorTransferFunctionEditorSet, vtkKWComboBoxSet, vtkKWComboBoxWithLabel, vtkKWEntrySet, vtkKWEntryWithLabel, vtkKWFrameSet, vtkKWLabelSet, vtkKWLabelWithLabel, vtkKWLabelWithLabelSet, vtkKWListBoxWithScrollbars, vtkKWListBoxWithScrollbarsWithLabel, vtkKWLoadSaveButtonWithLabel, vtkKWMatrixWidgetWithLabel, vtkKWMenuButtonWithLabel, vtkKWMenuButtonWithSpinButtons, vtkKWMenuButtonWithSpinButtonsWithLabel, vtkKWMessageWithLabel, vtkKWMultiColumnListWithLabel, vtkKWMultiColumnListWithScrollbars, vtkKWMultiColumnListWithScrollbarsWithLabel, vtkKWPiecewiseFunctionEditorSet, vtkKWPopupButtonWithLabel, vtkKWPushButtonSet, vtkKWPushButtonSetWithLabel, vtkKWPushButtonWithLabel, vtkKWRadioButtonSetWithLabel, vtkKWScaleSet, vtkKWScaleWithEntrySet, vtkKWScaleWithEntrySetWithLabel, vtkKWScaleWithLabel, vtkKWScaleWithLabelSet, vtkKWSpinBoxSet, vtkKWSpinBoxWithLabel, vtkKWTextWithLabel, vtkKWTextWithScrollbars, and vtkKWTextWithScrollbarsWithLabel.
| static int vtkKWWidget::IsTypeOf | ( | const char * | type | ) | [static] |
Reimplemented from vtkKWObject.
Reimplemented in vtkKWCanvas, vtkKWChangeColorButton, vtkKWCheckButton, vtkKWCheckButtonWithChangeColorButton, vtkKWCheckButtonWithPopupFrame, vtkKWColorPickerDialog, vtkKWColorPickerWidget, vtkKWColorPresetMenu, vtkKWColorPresetSelector, vtkKWColorSpectrumWidget, vtkKWColorSwatchesWidget, vtkKWColorTransferFunctionEditor, vtkKWComboBox, vtkKWCompositeWidget, vtkKWCoreWidget, vtkKWCornerAnnotationEditor, vtkKWDialog, vtkKWDirectoryExplorer, vtkKWDirectoryPresetSelector, vtkKWEntry, vtkKWExtent, vtkKWFavoriteDirectoriesFrame, vtkKWFileBrowserDialog, vtkKWFileBrowserWidget, vtkKWFileListTable, vtkKWFrame, vtkKWFrameWithLabel, vtkKWFrameWithScrollbar, vtkKWHeaderAnnotationEditor, vtkKWHSVColorSelector, vtkKWKeyBindingsWidget, vtkKWLabel, vtkKWListBox, vtkKWListBoxToListBoxSelectionEditor, vtkKWLoadSaveButton, vtkKWLoadSaveDialog, vtkKWLogDialog, vtkKWLogWidget, vtkKWMaterialPropertyWidget, vtkKWMatrixWidget, vtkKWMenu, vtkKWMenuButton, vtkKWMessage, vtkKWMessageDialog, vtkKWMultiColumnList, vtkKWNotebook, vtkKWParameterValueFunctionEditor, vtkKWParameterValueFunctionInterface, vtkKWParameterValueHermiteFunctionEditor, vtkKWPiecewiseFunctionEditor, vtkKWPopupButton, vtkKWPopupFrame, vtkKWPresetSelector, vtkKWProgressGauge, vtkKWPushButton, vtkKWPushButtonWithMenu, vtkKWRadioButton, vtkKWRadioButtonSet, vtkKWRange, vtkKWRenderWidget, vtkKWSaveImageDialog, vtkKWScalarBarAnnotation, vtkKWScalarComponentSelectionWidget, vtkKWScale, vtkKWScaleWithEntry, vtkKWScrollbar, vtkKWSelectionFrame, vtkKWSelectionFrameLayoutManager, vtkKWSeparator, vtkKWSimpleAnimationWidget, vtkKWSimpleEntryDialog, vtkKWSmallCounterLabel, vtkKWSpinBox, vtkKWSpinButtons, vtkKWSplashScreen, vtkKWSplitFrame, vtkKWStartupPageWidget, vtkKWSurfaceMaterialPropertyWidget, vtkKWTclInteractor, vtkKWText, vtkKWTextPropertyEditor, vtkKWThumbWheel, vtkKWTkcon, vtkKWToolbar, vtkKWToolbarSet, vtkKWTopLevel, vtkKWTree, vtkKWTreeWithScrollbars, vtkKWVolumeMaterialPropertyWidget, vtkKWVolumePropertyPresetSelector, vtkKWVolumePropertyWidget, vtkKWWidgetSet, vtkKWWidgetWithLabel, vtkKWWidgetWithScrollbars, vtkKWWidgetWithSpinButtons, vtkKWWindow, vtkKWWindowBase, vtkKWWindowLevelPresetSelector, vtkKWWizardDialog, vtkKWWizardWidget, vtkKWCanvasWithScrollbars, vtkKWCheckButtonSet, vtkKWCheckButtonSetWithLabel, vtkKWCheckButtonWithLabel, vtkKWColorTransferFunctionEditorSet, vtkKWComboBoxSet, vtkKWComboBoxWithLabel, vtkKWEntrySet, vtkKWEntryWithLabel, vtkKWFrameSet, vtkKWLabelSet, vtkKWLabelWithLabel, vtkKWLabelWithLabelSet, vtkKWListBoxWithScrollbars, vtkKWListBoxWithScrollbarsWithLabel, vtkKWLoadSaveButtonWithLabel, vtkKWMatrixWidgetWithLabel, vtkKWMenuButtonWithLabel, vtkKWMenuButtonWithSpinButtons, vtkKWMenuButtonWithSpinButtonsWithLabel, vtkKWMessageWithLabel, vtkKWMultiColumnListWithLabel, vtkKWMultiColumnListWithScrollbars, vtkKWMultiColumnListWithScrollbarsWithLabel, vtkKWPiecewiseFunctionEditorSet, vtkKWPopupButtonWithLabel, vtkKWPushButtonSet, vtkKWPushButtonSetWithLabel, vtkKWPushButtonWithLabel, vtkKWRadioButtonSetWithLabel, vtkKWScaleSet, vtkKWScaleWithEntrySet, vtkKWScaleWithEntrySetWithLabel, vtkKWScaleWithLabel, vtkKWScaleWithLabelSet, vtkKWSpinBoxSet, vtkKWSpinBoxWithLabel, vtkKWTextWithLabel, vtkKWTextWithScrollbars, and vtkKWTextWithScrollbarsWithLabel.
| virtual int vtkKWWidget::IsA | ( | const char * | type | ) | [virtual] |
Reimplemented from vtkKWObject.
Reimplemented in vtkKWCanvas, vtkKWChangeColorButton, vtkKWCheckButton, vtkKWCheckButtonWithChangeColorButton, vtkKWCheckButtonWithPopupFrame, vtkKWColorPickerDialog, vtkKWColorPickerWidget, vtkKWColorPresetMenu, vtkKWColorPresetSelector, vtkKWColorSpectrumWidget, vtkKWColorSwatchesWidget, vtkKWColorTransferFunctionEditor, vtkKWComboBox, vtkKWCompositeWidget, vtkKWCoreWidget, vtkKWCornerAnnotationEditor, vtkKWDialog, vtkKWDirectoryExplorer, vtkKWDirectoryPresetSelector, vtkKWEntry, vtkKWExtent, vtkKWFavoriteDirectoriesFrame, vtkKWFileBrowserDialog, vtkKWFileBrowserWidget, vtkKWFileListTable, vtkKWFrame, vtkKWFrameWithLabel, vtkKWFrameWithScrollbar, vtkKWHeaderAnnotationEditor, vtkKWHSVColorSelector, vtkKWKeyBindingsWidget, vtkKWLabel, vtkKWListBox, vtkKWListBoxToListBoxSelectionEditor, vtkKWLoadSaveButton, vtkKWLoadSaveDialog, vtkKWLogDialog, vtkKWLogWidget, vtkKWMaterialPropertyWidget, vtkKWMatrixWidget, vtkKWMenu, vtkKWMenuButton, vtkKWMessage, vtkKWMessageDialog, vtkKWMultiColumnList, vtkKWNotebook, vtkKWParameterValueFunctionEditor, vtkKWParameterValueFunctionInterface, vtkKWParameterValueHermiteFunctionEditor, vtkKWPiecewiseFunctionEditor, vtkKWPopupButton, vtkKWPopupFrame, vtkKWPresetSelector, vtkKWProgressGauge, vtkKWPushButton, vtkKWPushButtonWithMenu, vtkKWRadioButton, vtkKWRadioButtonSet, vtkKWRange, vtkKWRenderWidget, vtkKWSaveImageDialog, vtkKWScalarBarAnnotation, vtkKWScalarComponentSelectionWidget, vtkKWScale, vtkKWScaleWithEntry, vtkKWScrollbar, vtkKWSelectionFrame, vtkKWSelectionFrameLayoutManager, vtkKWSeparator, vtkKWSimpleAnimationWidget, vtkKWSimpleEntryDialog, vtkKWSmallCounterLabel, vtkKWSpinBox, vtkKWSpinButtons, vtkKWSplashScreen, vtkKWSplitFrame, vtkKWStartupPageWidget, vtkKWSurfaceMaterialPropertyWidget, vtkKWTclInteractor, vtkKWText, vtkKWTextPropertyEditor, vtkKWThumbWheel, vtkKWTkcon, vtkKWToolbar, vtkKWToolbarSet, vtkKWTopLevel, vtkKWTree, vtkKWTreeWithScrollbars, vtkKWVolumeMaterialPropertyWidget, vtkKWVolumePropertyPresetSelector, vtkKWVolumePropertyWidget, vtkKWWidgetSet, vtkKWWidgetWithLabel, vtkKWWidgetWithScrollbars, vtkKWWidgetWithSpinButtons, vtkKWWindow, vtkKWWindowBase, vtkKWWindowLevelPresetSelector, vtkKWWizardDialog, vtkKWWizardWidget, vtkKWCanvasWithScrollbars, vtkKWCheckButtonSet, vtkKWCheckButtonSetWithLabel, vtkKWCheckButtonWithLabel, vtkKWColorTransferFunctionEditorSet, vtkKWComboBoxSet, vtkKWComboBoxWithLabel, vtkKWEntrySet, vtkKWEntryWithLabel, vtkKWFrameSet, vtkKWLabelSet, vtkKWLabelWithLabel, vtkKWLabelWithLabelSet, vtkKWListBoxWithScrollbars, vtkKWListBoxWithScrollbarsWithLabel, vtkKWLoadSaveButtonWithLabel, vtkKWMatrixWidgetWithLabel, vtkKWMenuButtonWithLabel, vtkKWMenuButtonWithSpinButtons, vtkKWMenuButtonWithSpinButtonsWithLabel, vtkKWMessageWithLabel, vtkKWMultiColumnListWithLabel, vtkKWMultiColumnListWithScrollbars, vtkKWMultiColumnListWithScrollbarsWithLabel, vtkKWPiecewiseFunctionEditorSet, vtkKWPopupButtonWithLabel, vtkKWPushButtonSet, vtkKWPushButtonSetWithLabel, vtkKWPushButtonWithLabel, vtkKWRadioButtonSetWithLabel, vtkKWScaleSet, vtkKWScaleWithEntrySet, vtkKWScaleWithEntrySetWithLabel, vtkKWScaleWithLabel, vtkKWScaleWithLabelSet, vtkKWSpinBoxSet, vtkKWSpinBoxWithLabel, vtkKWTextWithLabel, vtkKWTextWithScrollbars, and vtkKWTextWithScrollbarsWithLabel.
| static vtkKWWidget* vtkKWWidget::SafeDownCast | ( | vtkObject * | o | ) | [static] |
Reimplemented from vtkKWObject.
Reimplemented in vtkKWCanvas, vtkKWChangeColorButton, vtkKWCheckButton, vtkKWCheckButtonWithChangeColorButton, vtkKWCheckButtonWithPopupFrame, vtkKWColorPickerDialog, vtkKWColorPickerWidget, vtkKWColorPresetMenu, vtkKWColorPresetSelector, vtkKWColorSpectrumWidget, vtkKWColorSwatchesWidget, vtkKWColorTransferFunctionEditor, vtkKWComboBox, vtkKWCompositeWidget, vtkKWCoreWidget, vtkKWCornerAnnotationEditor, vtkKWDialog, vtkKWDirectoryExplorer, vtkKWDirectoryPresetSelector, vtkKWEntry, vtkKWExtent, vtkKWFavoriteDirectoriesFrame, vtkKWFileBrowserDialog, vtkKWFileBrowserWidget, vtkKWFileListTable, vtkKWFrame, vtkKWFrameWithLabel, vtkKWFrameWithScrollbar, vtkKWHeaderAnnotationEditor, vtkKWHSVColorSelector, vtkKWKeyBindingsWidget, vtkKWLabel, vtkKWListBox, vtkKWListBoxToListBoxSelectionEditor, vtkKWLoadSaveButton, vtkKWLoadSaveDialog, vtkKWLogDialog, vtkKWLogWidget, vtkKWMaterialPropertyWidget, vtkKWMatrixWidget, vtkKWMenu, vtkKWMenuButton, vtkKWMessage, vtkKWMessageDialog, vtkKWMultiColumnList, vtkKWNotebook, vtkKWParameterValueFunctionEditor, vtkKWParameterValueFunctionInterface, vtkKWParameterValueHermiteFunctionEditor, vtkKWPiecewiseFunctionEditor, vtkKWPopupButton, vtkKWPopupFrame, vtkKWPresetSelector, vtkKWProgressGauge, vtkKWPushButton, vtkKWPushButtonWithMenu, vtkKWRadioButton, vtkKWRadioButtonSet, vtkKWRange, vtkKWRenderWidget, vtkKWSaveImageDialog, vtkKWScalarBarAnnotation, vtkKWScalarComponentSelectionWidget, vtkKWScale, vtkKWScaleWithEntry, vtkKWScrollbar, vtkKWSelectionFrame, vtkKWSelectionFrameLayoutManager, vtkKWSeparator, vtkKWSimpleAnimationWidget, vtkKWSimpleEntryDialog, vtkKWSmallCounterLabel, vtkKWSpinBox, vtkKWSpinButtons, vtkKWSplashScreen, vtkKWSplitFrame, vtkKWStartupPageWidget, vtkKWSurfaceMaterialPropertyWidget, vtkKWTclInteractor, vtkKWText, vtkKWTextPropertyEditor, vtkKWThumbWheel, vtkKWTkcon, vtkKWToolbar, vtkKWToolbarSet, vtkKWTopLevel, vtkKWTree, vtkKWTreeWithScrollbars, vtkKWVolumeMaterialPropertyWidget, vtkKWVolumePropertyPresetSelector, vtkKWVolumePropertyWidget, vtkKWWidgetSet, vtkKWWidgetWithLabel, vtkKWWidgetWithScrollbars, vtkKWWidgetWithSpinButtons, vtkKWWindow, vtkKWWindowBase, vtkKWWindowLevelPresetSelector, vtkKWWizardDialog, vtkKWWizardWidget, vtkKWCanvasWithScrollbars, vtkKWCheckButtonSet, vtkKWCheckButtonSetWithLabel, vtkKWCheckButtonWithLabel, vtkKWColorTransferFunctionEditorSet, vtkKWComboBoxSet, vtkKWComboBoxWithLabel, vtkKWEntrySet, vtkKWEntryWithLabel, vtkKWFrameSet, vtkKWLabelSet, vtkKWLabelWithLabel, vtkKWLabelWithLabelSet, vtkKWListBoxWithScrollbars, vtkKWListBoxWithScrollbarsWithLabel, vtkKWLoadSaveButtonWithLabel, vtkKWMatrixWidgetWithLabel, vtkKWMenuButtonWithLabel, vtkKWMenuButtonWithSpinButtons, vtkKWMenuButtonWithSpinButtonsWithLabel, vtkKWMessageWithLabel, vtkKWMultiColumnListWithLabel, vtkKWMultiColumnListWithScrollbars, vtkKWMultiColumnListWithScrollbarsWithLabel, vtkKWPiecewiseFunctionEditorSet, vtkKWPopupButtonWithLabel, vtkKWPushButtonSet, vtkKWPushButtonSetWithLabel, vtkKWPushButtonWithLabel, vtkKWRadioButtonSetWithLabel, vtkKWScaleSet, vtkKWScaleWithEntrySet, vtkKWScaleWithEntrySetWithLabel, vtkKWScaleWithLabel, vtkKWScaleWithLabelSet, vtkKWSpinBoxSet, vtkKWSpinBoxWithLabel, vtkKWTextWithLabel, vtkKWTextWithScrollbars, and vtkKWTextWithScrollbarsWithLabel.
| void vtkKWWidget::PrintSelf | ( | ostream & | os, | |
| vtkIndent | indent | |||
| ) | [virtual] |
Reimplemented from vtkKWObject.
Reimplemented in vtkKWCanvas, vtkKWChangeColorButton, vtkKWCheckButton, vtkKWCheckButtonWithChangeColorButton, vtkKWCheckButtonWithPopupFrame, vtkKWColorPickerDialog, vtkKWColorPickerWidget, vtkKWColorPresetMenu, vtkKWColorPresetSelector, vtkKWColorSpectrumWidget, vtkKWColorSwatchesWidget, vtkKWColorTransferFunctionEditor, vtkKWComboBox, vtkKWCompositeWidget, vtkKWCoreWidget, vtkKWCornerAnnotationEditor, vtkKWDialog, vtkKWDirectoryExplorer, vtkKWDirectoryPresetSelector, vtkKWEntry, vtkKWExtent, vtkKWFavoriteDirectoriesFrame, vtkKWFileBrowserDialog, vtkKWFileBrowserWidget, vtkKWFileListTable, vtkKWFrame, vtkKWFrameWithLabel, vtkKWFrameWithScrollbar, vtkKWHeaderAnnotationEditor, vtkKWHSVColorSelector, vtkKWKeyBindingsWidget, vtkKWLabel, vtkKWListBox, vtkKWListBoxToListBoxSelectionEditor, vtkKWLoadSaveButton, vtkKWLoadSaveDialog, vtkKWLogDialog, vtkKWLogWidget, vtkKWMaterialPropertyWidget, vtkKWMatrixWidget, vtkKWMenu, vtkKWMenuButton, vtkKWMessage, vtkKWMessageDialog, vtkKWMultiColumnList, vtkKWNotebook, vtkKWParameterValueFunctionEditor, vtkKWParameterValueFunctionInterface, vtkKWParameterValueHermiteFunctionEditor, vtkKWPiecewiseFunctionEditor, vtkKWPopupButton, vtkKWPopupFrame, vtkKWPresetSelector, vtkKWProgressGauge, vtkKWPushButton, vtkKWPushButtonWithMenu, vtkKWRadioButton, vtkKWRadioButtonSet, vtkKWRange, vtkKWRenderWidget, vtkKWSaveImageDialog, vtkKWScalarBarAnnotation, vtkKWScalarComponentSelectionWidget, vtkKWScale, vtkKWScaleWithEntry, vtkKWScrollbar, vtkKWSelectionFrame, vtkKWSelectionFrameLayoutManager, vtkKWSeparator, vtkKWSimpleAnimationWidget, vtkKWSimpleEntryDialog, vtkKWSmallCounterLabel, vtkKWSpinBox, vtkKWSpinButtons, vtkKWSplashScreen, vtkKWSplitFrame, vtkKWStartupPageWidget, vtkKWSurfaceMaterialPropertyWidget, vtkKWTclInteractor, vtkKWText, vtkKWTextPropertyEditor, vtkKWThumbWheel, vtkKWTkcon, vtkKWToolbar, vtkKWToolbarSet, vtkKWTopLevel, vtkKWTree, vtkKWTreeWithScrollbars, vtkKWVolumeMaterialPropertyWidget, vtkKWVolumePropertyPresetSelector, vtkKWVolumePropertyWidget, vtkKWWidgetSet, vtkKWWidgetWithLabel, vtkKWWidgetWithScrollbars, vtkKWWidgetWithSpinButtons, vtkKWWindow, vtkKWWindowBase, vtkKWWindowLevelPresetSelector, vtkKWWizardDialog, vtkKWWizardWidget, vtkKWCanvasWithScrollbars, vtkKWCheckButtonSet, vtkKWCheckButtonSetWithLabel, vtkKWCheckButtonWithLabel, vtkKWColorTransferFunctionEditorSet, vtkKWComboBoxSet, vtkKWComboBoxWithLabel, vtkKWEntrySet, vtkKWEntryWithLabel, vtkKWFrameSet, vtkKWLabelSet, vtkKWLabelWithLabel, vtkKWLabelWithLabelSet, vtkKWListBoxWithScrollbars, vtkKWListBoxWithScrollbarsWithLabel, vtkKWLoadSaveButtonWithLabel, vtkKWMatrixWidgetWithLabel, vtkKWMenuButtonWithLabel, vtkKWMenuButtonWithSpinButtons, vtkKWMenuButtonWithSpinButtonsWithLabel, vtkKWMessageWithLabel, vtkKWMultiColumnListWithLabel, vtkKWMultiColumnListWithScrollbars, vtkKWMultiColumnListWithScrollbarsWithLabel, vtkKWPiecewiseFunctionEditorSet, vtkKWPopupButtonWithLabel, vtkKWPushButtonSet, vtkKWPushButtonSetWithLabel, vtkKWPushButtonWithLabel, vtkKWRadioButtonSetWithLabel, vtkKWScaleSet, vtkKWScaleWithEntrySet, vtkKWScaleWithEntrySetWithLabel, vtkKWScaleWithLabel, vtkKWScaleWithLabelSet, vtkKWSpinBoxSet, vtkKWSpinBoxWithLabel, vtkKWTextWithLabel, vtkKWTextWithScrollbars, and vtkKWTextWithScrollbarsWithLabel.
| virtual void vtkKWWidget::SetParent | ( | vtkKWWidget * | p | ) | [virtual] |
Set/Get the parent widget for this widget. Important: you can not reparent a widget that has been Create()'ed already.
| virtual vtkKWWidget* vtkKWWidget::GetParent | ( | ) | [virtual] |
Events. The WidgetCreatedEvent is sent after Create() is called. BTX
| virtual vtkKWApplication* vtkKWWidget::GetApplication | ( | ) | [virtual] |
Get the application instance for this object. Override the superclass to try to retrieve the parent's application if it was not set already.
Reimplemented from vtkKWObject.
Reimplemented in vtkKWTopLevel.
| virtual void vtkKWWidget::Create | ( | ) | [virtual] |
Create the widget. The parent should be set before calling this method (see SetParent()). Once the object is fully created: - the widget is configured according to the settings found in the application's option database. - the UpdateEnableState() method is called to make sure the state of the widget and its internal sub-widgets is up-to-date. - a WidgetCreatedEvent event is sent. Subclasses should *not* re-implement this method but re-implement the protected CreateWidget() method instead.
| virtual const char* vtkKWWidget::GetWidgetName | ( | ) | [virtual] |
Get the name of the underlying Tk widget being used. The Create() method should be called before invoking this method. Note that setting the widget name manually is *not* recommended ; use it only if you know what you are doing, say, for example, if you have to map an external Tk widget to a vtkKWWidget object.
| virtual void vtkKWWidget::SetWidgetName | ( | const char * | ) | [virtual] |
Events. The WidgetCreatedEvent is sent after Create() is called. BTX
| static int vtkKWWidget::GetUseClassNameInWidgetName | ( | ) | [static] |
Globally Set/Get if the widget name should include the object class name. NOTE: this is a *static* method that defines the behaviour for all* instances to be created afterwards. This is typically called in your application class or your main executable, before creating any UI. By default it is globally *disabled*.
| static void vtkKWWidget::SetUseClassNameInWidgetName | ( | int | ) | [static] |
Events. The WidgetCreatedEvent is sent after Create() is called. BTX
| static void vtkKWWidget::UseClassNameInWidgetNameOn | ( | ) | [static] |
Events. The WidgetCreatedEvent is sent after Create() is called. BTX
| static void vtkKWWidget::UseClassNameInWidgetNameOff | ( | ) | [static] |
Events. The WidgetCreatedEvent is sent after Create() is called. BTX
| virtual int vtkKWWidget::IsCreated | ( | ) | [virtual] |
Query if the widget was created successfully.
| virtual int vtkKWWidget::IsAlive | ( | ) | [virtual] |
Query if the widget is "alive" (i.e. IsCreated()) and has not been deleted as far as Tk is concerned.
| virtual int vtkKWWidget::IsMapped | ( | ) | [virtual] |
Query if the widget is mapped (i.e, on screen)
| virtual void vtkKWWidget::Focus | ( | ) | [virtual] |
Set/query focus to this widget.
Reimplemented in vtkKWDirectoryExplorer, vtkKWFileListTable, vtkKWMultiColumnList, vtkKWTkcon, and vtkKWTree.
| virtual int vtkKWWidget::HasFocus | ( | ) | [virtual] |
Events. The WidgetCreatedEvent is sent after Create() is called. BTX
Reimplemented in vtkKWDirectoryExplorer, vtkKWFileListTable, vtkKWMultiColumnList, and vtkKWTree.
| virtual void vtkKWWidget::SetEnabled | ( | int | ) | [virtual] |
Set/Get the enabled state.
Reimplemented in vtkKWMenu.
| virtual void vtkKWWidget::EnabledOn | ( | ) | [virtual] |
Events. The WidgetCreatedEvent is sent after Create() is called. BTX
| virtual void vtkKWWidget::EnabledOff | ( | ) | [virtual] |
Events. The WidgetCreatedEvent is sent after Create() is called. BTX
| virtual int vtkKWWidget::GetEnabled | ( | ) | [virtual] |
Events. The WidgetCreatedEvent is sent after Create() is called. BTX
| virtual void vtkKWWidget::SetBinding | ( | const char * | event, | |
| vtkObject * | object, | |||
| const char * | method | |||
| ) | [virtual] |
Set/add/remove a binding to a widget, i.e. the command that is invoked whenever the 'event' is triggered on the widget. SetBinding will replace any old bindings, whereas AddBinding will add the binding to the list of bindings already defined for that event. RemoveBinding can remove a specific binding or all bindings for an event. 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.
Reimplemented in vtkKWMultiColumnList, and vtkKWTree.
| virtual void vtkKWWidget::SetBinding | ( | const char * | event, | |
| const char * | command | |||
| ) | [virtual] |
Events. The WidgetCreatedEvent is sent after Create() is called. BTX
Reimplemented in vtkKWMultiColumnList, and vtkKWTree.
| virtual const char* vtkKWWidget::GetBinding | ( | const char * | event | ) | [virtual] |
Events. The WidgetCreatedEvent is sent after Create() is called. BTX
| virtual void vtkKWWidget::AddBinding | ( | const char * | event, | |
| vtkObject * | object, | |||
| const char * | method | |||
| ) | [virtual] |
Events. The WidgetCreatedEvent is sent after Create() is called. BTX
Reimplemented in vtkKWMultiColumnList, and vtkKWTree.
| virtual void vtkKWWidget::AddBinding | ( | const char * | event, | |
| const char * | command | |||
| ) | [virtual] |
Events. The WidgetCreatedEvent is sent after Create() is called. BTX
Reimplemented in vtkKWMultiColumnList, and vtkKWTree.
| virtual void vtkKWWidget::RemoveBinding | ( | const char * | event | ) | [virtual] |
Events. The WidgetCreatedEvent is sent after Create() is called. BTX
Reimplemented in vtkKWMultiColumnList, and vtkKWTree.
| virtual void vtkKWWidget::RemoveBinding | ( | const char * | event, | |
| vtkObject * | object, | |||
| const char * | method | |||
| ) | [virtual] |
Events. The WidgetCreatedEvent is sent after Create() is called. BTX
Reimplemented in vtkKWMultiColumnList, and vtkKWTree.
| virtual void vtkKWWidget::SetKeyBinding | ( | const char * | event, | |
| vtkObject * | object, | |||
| const char * | method, | |||
| const char * | context, | |||
| const char * | description | |||
| ) | [virtual] |
A convenience method to add a key binding. This method does call SetBinding under the hood (which can still be used to add key bindings) but use the 'context' and 'description' to register that specific binding to an application-wide key bindings (keyboard shortcuts) manager. That manager can in turn be queried to create a list of key bindings and present it to the user (in the Help menu for example). Use this method only for important key bindings that you want the user to be reminded of. Simple bindings like <Return> on a button to allow the user to "press" said button by hitting <Return, should probably not be set with this method, but with the usual SetBinding method. 'context' is a string in plain English (or preferably localized) that explains in which context this key binding is valid. For example: "Any 2D View", or "Any Main Window". It usually is a simple/short description of the class setting the binding. 'description' is a string in plain English (or preferably localized) that explains what that binding does. For example: "Reset the camera".
| virtual void vtkKWWidget::RemoveKeyBinding | ( | const char * | event | ) | [virtual] |
Events. The WidgetCreatedEvent is sent after Create() is called. BTX
| virtual void vtkKWWidget::RemoveKeyBinding | ( | const char * | event, | |
| vtkObject * | object, | |||
| const char * | method | |||
| ) | [virtual] |
Events. The WidgetCreatedEvent is sent after Create() is called. BTX
| virtual vtkKWKeyBindingsManager* vtkKWWidget::GetKeyBindingsManager | ( | ) | [virtual] |
A convenience method that will return the key bindings manager associated to the application this widget belongs to. There is no key bindings internal ivar, this method returns the *application-wide* manager.
Reimplemented in vtkKWKeyBindingsWidget, and vtkKWWindowBase.
| virtual void vtkKWWidget::SetDropFileBinding | ( | vtkObject * | object, | |
| const char * | method | |||
| ) | [virtual] |
Set a drop-file binding to a widget, i.e. the command that is invoked whenever a file is dropped on the widget. The following parameters are also passed to the command: - filename(s): list of filenames
| vtkKWTopLevel* vtkKWWidget::GetParentTopLevel | ( | ) |
Get the parent vtkKWTopLevel for this widget if there is one (by recursively tracking the parents). This can be safe-downcasted to a vtkKWWindowBase or vtkKWWindow. NOTE: this may return NULL if the widget is not in a toplevel.
| virtual int vtkKWWidget::IsPacked | ( | ) | [virtual] |
Query if widget is pack'ed, i.e. if the widget has been layout using the 'pack' geometry manager. Get number of packed children, unpack (remove from layout).
| virtual int vtkKWWidget::GetNumberOfPackedChildren | ( | ) | [virtual] |
Events. The WidgetCreatedEvent is sent after Create() is called. BTX
| virtual void vtkKWWidget::Unpack | ( | ) | [virtual] |
Events. The WidgetCreatedEvent is sent after Create() is called. BTX
| virtual int vtkKWWidget::IsGridded | ( | ) | [virtual] |
Query if widget is grid'ed, i.e. if the widget has been layout using the 'grid' geometry manager. Get number of grid'ed children, ungrid (remove from layout).
| virtual int vtkKWWidget::GetNumberOfGriddedChildren | ( | ) | [virtual] |
Events. The WidgetCreatedEvent is sent after Create() is called. BTX
| virtual void vtkKWWidget::Ungrid | ( | ) | [virtual] |
Events. The WidgetCreatedEvent is sent after Create() is called. BTX
| virtual int vtkKWWidget::IsPlaced | ( | ) | [virtual] |
Query if widget is place'ed, i.e. if the widget has been layout using the 'place' geometry manager. Get number of placed children, unplace (remove from layout).
| virtual int vtkKWWidget::GetNumberOfPlacedChildren | ( | ) | [virtual] |
Events. The WidgetCreatedEvent is sent after Create() is called. BTX
| virtual void vtkKWWidget::Unplace | ( | ) | [virtual] |
Events. The WidgetCreatedEvent is sent after Create() is called. BTX
| virtual void vtkKWWidget::UnpackSiblings | ( | ) | [virtual] |
Unpack widget, unpack siblings (slave's of parent widget), unpack children This will both unpack and ungrid and unplace, for convenience.
| virtual void vtkKWWidget::UnpackChildren | ( | ) | [virtual] |
Events. The WidgetCreatedEvent is sent after Create() is called. BTX
| virtual void vtkKWWidget::SetBalloonHelpString | ( | const char * | str | ) | [virtual] |
Set the balloon help string or icon for this widget. This will popup a small tooltip window over the widget after some delay. The tooltip settings are common to all widgets within the application and can be accessed by retrieving the balloon help manager using the GetBalloonHelpManager method. In some very specific case, a new tooltip manager can be set specifically for a widget instance.
Reimplemented in vtkKWChangeColorButton, vtkKWHSVColorSelector, vtkKWParameterValueFunctionEditor, vtkKWRange, vtkKWScaleWithEntry, vtkKWThumbWheel, vtkKWWidgetWithLabel, vtkKWWidgetWithSpinButtons, vtkKWCheckButtonSetWithLabel, vtkKWCheckButtonWithLabel, vtkKWComboBoxWithLabel, vtkKWEntryWithLabel, vtkKWLabelWithLabel, vtkKWListBoxWithScrollbarsWithLabel, vtkKWLoadSaveButtonWithLabel, vtkKWMatrixWidgetWithLabel, vtkKWMenuButtonWithLabel, vtkKWMenuButtonWithSpinButtons, vtkKWMenuButtonWithSpinButtonsWithLabel, vtkKWMessageWithLabel, vtkKWMultiColumnListWithLabel, vtkKWMultiColumnListWithScrollbarsWithLabel, vtkKWPopupButtonWithLabel, vtkKWPushButtonSetWithLabel, vtkKWPushButtonWithLabel, vtkKWRadioButtonSetWithLabel, vtkKWScaleWithEntrySetWithLabel, vtkKWScaleWithLabel, vtkKWSpinBoxWithLabel, vtkKWTextWithLabel, and vtkKWTextWithScrollbarsWithLabel.
| virtual char* vtkKWWidget::GetBalloonHelpString | ( | ) | [virtual] |
Events. The WidgetCreatedEvent is sent after Create() is called. BTX
| virtual void vtkKWWidget::SetBalloonHelpIcon | ( | vtkKWIcon * | icon | ) | [virtual] |
Events. The WidgetCreatedEvent is sent after Create() is called. BTX
| virtual vtkKWIcon* vtkKWWidget::GetBalloonHelpIcon | ( | ) | [virtual] |
Events. The WidgetCreatedEvent is sent after Create() is called. BTX
| virtual vtkKWBalloonHelpManager* vtkKWWidget::GetBalloonHelpManager | ( | ) | [virtual] |
Set/Get the balloon help manager. If the widget has been created, this returns the application balloon help manager. Be aware that changing its settings will affect all widgets. Setting the manager to a different instance allows a widget to use specific balloon help settings (say, a different delay or color) without affecting the other widgets. This has to be done before calling Create(). This is an advanced feature, SetBalloonHelpString or SetBalloonHelpIcon are the only methods that are really needed to setup a proper tooltip 99% of the time.
| virtual void vtkKWWidget::SetBalloonHelpManager | ( | vtkKWBalloonHelpManager * | mgr | ) | [virtual] |
Events. The WidgetCreatedEvent is sent after Create() is called. BTX
| virtual int vtkKWWidget::HasDragAndDropTargetSet | ( | ) | [virtual] |
Query if there are drag and drop targets between this widget and other widgets. Get the targets. IMPORTANT: the vtkKWDragAndDropTargetSet object is lazy-allocated, i.e. allocated only when it is needed, as GetDragAndDropTargetSet() is called. Therefore, to check if the instance *has* drag and drop targets, use HasDragAndDropTargetSet(), not GetDragAndDropTargetSet().
| virtual vtkKWDragAndDropTargetSet* vtkKWWidget::GetDragAndDropTargetSet | ( | ) | [virtual] |
Events. The WidgetCreatedEvent is sent after Create() is called. BTX
Reimplemented in vtkKWFrameWithLabel.
| virtual void vtkKWWidget::Grab | ( | ) | [virtual] |
Grab the widget (locally)
| virtual void vtkKWWidget::ReleaseGrab | ( | ) | [virtual] |
Events. The WidgetCreatedEvent is sent after Create() is called. BTX
| virtual int vtkKWWidget::IsGrabbed | ( | ) | [virtual] |
Events. The WidgetCreatedEvent is sent after Create() is called. BTX
| virtual void vtkKWWidget::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 in vtkKWCanvas, vtkKWChangeColorButton, vtkKWCheckButton, vtkKWCheckButtonWithChangeColorButton, vtkKWCheckButtonWithPopupFrame, vtkKWColorPickerDialog, vtkKWColorPickerWidget, vtkKWColorSpectrumWidget, vtkKWColorSwatchesWidget, vtkKWColorTransferFunctionEditor, vtkKWComboBox, vtkKWCornerAnnotationEditor, vtkKWDirectoryExplorer, vtkKWEntry, vtkKWExtent, vtkKWFavoriteDirectoriesFrame, vtkKWFileBrowserDialog, vtkKWFileBrowserWidget, vtkKWFileListTable, vtkKWFrameWithLabel, vtkKWFrameWithScrollbar, vtkKWHeaderAnnotationEditor, vtkKWHSVColorSelector, vtkKWKeyBindingsWidget, vtkKWLabel, vtkKWListBox, vtkKWListBoxToListBoxSelectionEditor, vtkKWLoadSaveButton, vtkKWLogWidget, vtkKWMaterialPropertyWidget, vtkKWMatrixWidget, vtkKWMenu, vtkKWMenuButton, vtkKWMultiColumnList, vtkKWNotebook, vtkKWParameterValueFunctionEditor, vtkKWParameterValueHermiteFunctionEditor, vtkKWPiecewiseFunctionEditor, vtkKWPopupButton, vtkKWPopupFrame, vtkKWPresetSelector, vtkKWPushButton, vtkKWPushButtonWithMenu, vtkKWRange, vtkKWRenderWidget, vtkKWScalarBarAnnotation, vtkKWScalarComponentSelectionWidget, vtkKWScale, vtkKWScaleWithEntry, vtkKWSelectionFrame, vtkKWSelectionFrameLayoutManager, vtkKWSimpleAnimationWidget, vtkKWSpinBox, vtkKWSpinButtons, vtkKWSplashScreen, vtkKWSplitFrame, vtkKWStartupPageWidget, vtkKWTclInteractor, vtkKWText, vtkKWTextPropertyEditor, vtkKWThumbWheel, vtkKWTkcon, vtkKWToolbar, vtkKWToolbarSet, vtkKWTopLevel, vtkKWTree, vtkKWTreeWithScrollbars, vtkKWVolumeMaterialPropertyWidget, vtkKWVolumePropertyWidget, vtkKWWidgetSet, vtkKWWidgetWithLabel, vtkKWWidgetWithScrollbars, vtkKWWidgetWithSpinButtons, vtkKWWindow, vtkKWWindowBase, vtkKWWizardDialog, vtkKWWizardWidget, vtkKWCanvasWithScrollbars, vtkKWCheckButtonSetWithLabel, vtkKWCheckButtonWithLabel, vtkKWComboBoxWithLabel, vtkKWEntryWithLabel, vtkKWLabelWithLabel, vtkKWListBoxWithScrollbars, vtkKWListBoxWithScrollbarsWithLabel, vtkKWLoadSaveButtonWithLabel, vtkKWMatrixWidgetWithLabel, vtkKWMenuButtonWithLabel, vtkKWMenuButtonWithSpinButtons, vtkKWMenuButtonWithSpinButtonsWithLabel, vtkKWMessageWithLabel, vtkKWMultiColumnListWithLabel, vtkKWMultiColumnListWithScrollbars, vtkKWMultiColumnListWithScrollbarsWithLabel, vtkKWPopupButtonWithLabel, vtkKWPushButtonSetWithLabel, vtkKWPushButtonWithLabel, vtkKWRadioButtonSetWithLabel, vtkKWScaleWithEntrySetWithLabel, vtkKWScaleWithLabel, vtkKWSpinBoxWithLabel, vtkKWTextWithLabel, vtkKWTextWithScrollbars, and vtkKWTextWithScrollbarsWithLabel.
| virtual void vtkKWWidget::UnRegister | ( | vtkObjectBase * | o | ) | [virtual] |
Override Unregister since widgets have loops.
Reimplemented in vtkKWRenderWidget.
| virtual int vtkKWWidget::GetNetReferenceCount | ( | ) | [virtual] |
Get the net reference count of this widget. That is the reference count of this widget minus its children.
| virtual int vtkKWWidget::HasChild | ( | vtkKWWidget * | w | ) | [virtual] |
Query children from this widget
| virtual int vtkKWWidget::GetNumberOfChildren | ( | ) | [virtual] |
Events. The WidgetCreatedEvent is sent after Create() is called. BTX
| virtual vtkKWWidget* vtkKWWidget::GetNthChild | ( | int | rank | ) | [virtual] |
Events. The WidgetCreatedEvent is sent after Create() is called. BTX
| virtual vtkKWWidget* vtkKWWidget::GetChildWidgetWithName | ( | const char * | ) | [virtual] |
Events. The WidgetCreatedEvent is sent after Create() is called. BTX
| virtual void vtkKWWidget::RemoveAllChildren | ( | ) | [virtual] |
Events. The WidgetCreatedEvent is sent after Create() is called. BTX
| virtual void vtkKWWidget::AddChild | ( | vtkKWWidget * | w | ) | [protected, virtual] |
Add/Remove a child to/from this widget
| virtual void vtkKWWidget::RemoveChild | ( | vtkKWWidget * | w | ) | [protected, virtual] |
Events. The WidgetCreatedEvent is sent after Create() is called. BTX
| virtual void vtkKWWidget::AddBalloonHelpBindings | ( | ) | [protected, virtual] |
Events. The WidgetCreatedEvent is sent after Create() is called. BTX
| virtual void vtkKWWidget::PropagateEnableState | ( | vtkKWWidget * | widget | ) | [protected, virtual] |
Propagates the Enabled state of the instance to another subwidget (preferably a sub-widget). It calls SetEnabled(this->GetEnabled()) on the 'widget' parameter
| virtual void vtkKWWidget::CreateWidget | ( | ) | [protected, virtual] |
Create the widget. This is the method that should be implemented to create the widget itself, as well as its internal widgets if any. Subclasses should re-implement this method (do *not* re-implement the public Create() method).
Reimplemented in vtkKWCanvas, vtkKWChangeColorButton, vtkKWCheckButton, vtkKWCheckButtonWithChangeColorButton, vtkKWCheckButtonWithPopupFrame, vtkKWColorPickerDialog, vtkKWColorPickerWidget, vtkKWColorPresetMenu, vtkKWColorPresetSelector, vtkKWColorSpectrumWidget, vtkKWColorSwatchesWidget, vtkKWColorTransferFunctionEditor, vtkKWComboBox, vtkKWCompositeWidget, vtkKWCoreWidget, vtkKWCornerAnnotationEditor, vtkKWDialog, vtkKWDirectoryExplorer, vtkKWDirectoryPresetSelector, vtkKWEntry, vtkKWExtent, vtkKWFavoriteDirectoriesFrame, vtkKWFileBrowserDialog, vtkKWFileBrowserWidget, vtkKWFileListTable, vtkKWFrame, vtkKWFrameWithLabel, vtkKWFrameWithScrollbar, vtkKWHeaderAnnotationEditor, vtkKWHSVColorSelector, vtkKWKeyBindingsWidget, vtkKWLabel, vtkKWListBox, vtkKWListBoxToListBoxSelectionEditor, vtkKWLoadSaveButton, vtkKWLogDialog, vtkKWLogWidget, vtkKWMaterialPropertyWidget, vtkKWMatrixWidget, vtkKWMenu, vtkKWMenuButton, vtkKWMessage, vtkKWMessageDialog, vtkKWMultiColumnList, vtkKWNotebook, vtkKWParameterValueFunctionEditor, vtkKWParameterValueFunctionInterface, vtkKWParameterValueHermiteFunctionEditor, vtkKWPiecewiseFunctionEditor, vtkKWPopupButton, vtkKWPopupFrame, vtkKWPresetSelector, vtkKWProgressGauge, vtkKWPushButton, vtkKWPushButtonWithMenu, vtkKWRadioButton, vtkKWRange, vtkKWRenderWidget, vtkKWSaveImageDialog, vtkKWScalarBarAnnotation, vtkKWScalarComponentSelectionWidget, vtkKWScale, vtkKWScaleWithEntry, vtkKWScrollbar, vtkKWSelectionFrame, vtkKWSelectionFrameLayoutManager, vtkKWSeparator, vtkKWSimpleAnimationWidget, vtkKWSimpleEntryDialog, vtkKWSmallCounterLabel, vtkKWSpinBox, vtkKWSpinButtons, vtkKWSplashScreen, vtkKWSplitFrame, vtkKWStartupPageWidget, vtkKWTclInteractor, vtkKWText, vtkKWTextPropertyEditor, vtkKWThumbWheel, vtkKWTkcon, vtkKWToolbar, vtkKWToolbarSet, vtkKWTopLevel, vtkKWTree, vtkKWTreeWithScrollbars, vtkKWVolumeMaterialPropertyWidget, vtkKWVolumePropertyWidget, vtkKWWidgetSet, vtkKWWidgetWithLabel, vtkKWWidgetWithScrollbars, vtkKWWidgetWithSpinButtons, vtkKWWindow, vtkKWWindowBase, vtkKWWizardDialog, vtkKWWizardWidget, vtkKWCanvasWithScrollbars, vtkKWCheckButtonSetWithLabel, vtkKWCheckButtonWithLabel, vtkKWComboBoxWithLabel, vtkKWEntryWithLabel, vtkKWLabelWithLabel, vtkKWListBoxWithScrollbars, vtkKWListBoxWithScrollbarsWithLabel, vtkKWLoadSaveButtonWithLabel, vtkKWMatrixWidgetWithLabel, vtkKWMenuButtonWithLabel, vtkKWMenuButtonWithSpinButtons, vtkKWMenuButtonWithSpinButtonsWithLabel, vtkKWMessageWithLabel, vtkKWMultiColumnListWithLabel, vtkKWMultiColumnListWithScrollbars, vtkKWMultiColumnListWithScrollbarsWithLabel, vtkKWPopupButtonWithLabel, vtkKWPushButtonSetWithLabel, vtkKWPushButtonWithLabel, vtkKWRadioButtonSetWithLabel, vtkKWScaleWithEntrySetWithLabel, vtkKWScaleWithLabel, vtkKWSpinBoxWithLabel, vtkKWTextWithLabel, vtkKWTextWithScrollbars, and vtkKWTextWithScrollbarsWithLabel.
| static int vtkKWWidget::CreateSpecificTkWidget | ( | vtkKWWidget * | obj, | |
| const char * | type, | |||
| const char * | args = NULL | |||
| ) | [static, protected] |
Create a specific Tk widget of type 'type', with optional arguments 'args' and map it to an object 'obj'. This method should only be used to from a subclass to implement a specific kind of pure Tk widget as a vtkKWWidget subclass, or to map an external pure Tk widget into a vtkKWWidget. If 'type' is NULL, this method will still perform some checkings and set the proper flags indicating that the widget has been created. Ideally, the 'args' parameter should only be used to specify options that can *not* be changed using Tk's 'configure' (i.e. SetConfigurationOptions()), and therefore that have to be passed at widget's creation time. For example the -visual and -class options of the 'toplevel' widget. Return 1 on success, 0 otherwise.
| virtual void vtkKWWidget::SetGenericBinding | ( | const char * | target, | |
| const char * | event, | |||
| vtkObject * | object, | |||
| const char * | method | |||
| ) | [protected, virtual] |
Set/add/remove a binding to a target, i.e. the command that is invoked whenever the 'event' is triggered on the target. The target here could be a tag, a widget name, etc. It is NOT, by default, the widget this method was called on. This method technically should be static, but we need a pointer to the application, etc.
| virtual void vtkKWWidget::AddGenericBinding | ( | const char * | target, | |
| const char * | event, | |||
| vtkObject * | object, | |||
| const char * | method | |||
| ) | [protected, virtual] |
Events. The WidgetCreatedEvent is sent after Create() is called. BTX
| virtual void vtkKWWidget::RemoveGenericBinding | ( | const char * | target, | |
| const char * | event | |||
| ) | [protected, virtual] |
Events. The WidgetCreatedEvent is sent after Create() is called. BTX
| virtual void vtkKWWidget::RemoveGenericBinding | ( | const char * | target, | |
| const char * | event, | |||
| vtkObject * | object, | |||
| const char * | method | |||
| ) | [protected, virtual] |
Events. The WidgetCreatedEvent is sent after Create() is called. BTX
char* vtkKWWidget::WidgetName [protected] |
The name of the underlying Tk widget being used.
Definition at line 309 of file vtkKWWidget.h.
vtkKWWidget* vtkKWWidget::Parent [protected] |
The parent of the widget
Definition at line 312 of file vtkKWWidget.h.
char* vtkKWWidget::BalloonHelpString [protected] |
The tooltip associated to the widget, and the balloon help manager
Definition at line 316 of file vtkKWWidget.h.
vtkKWIcon* vtkKWWidget::BalloonHelpIcon [protected] |
Events. The WidgetCreatedEvent is sent after Create() is called. BTX
Definition at line 317 of file vtkKWWidget.h.
vtkKWBalloonHelpManager* vtkKWWidget::BalloonHelpManager [protected] |
Events. The WidgetCreatedEvent is sent after Create() is called. BTX
Definition at line 318 of file vtkKWWidget.h.
vtkKWWidgetInternals* vtkKWWidget::Internals [protected] |
PIMPL Encapsulation for STL containers
Reimplemented in vtkKWColorPickerWidget, vtkKWColorPresetMenu, vtkKWColorSpectrumWidget, vtkKWColorSwatchesWidget, vtkKWCoreWidget, vtkKWDirectoryExplorer, vtkKWFavoriteDirectoriesFrame, vtkKWFileBrowserDialog, vtkKWFileBrowserWidget, vtkKWFileListTable, vtkKWFrameWithScrollbar, vtkKWKeyBindingsWidget, vtkKWLogWidget, vtkKWMaterialPropertyWidget, vtkKWMenu, vtkKWMenuButton, vtkKWMultiColumnList, vtkKWNotebook, vtkKWPresetSelector, vtkKWProgressGauge, vtkKWRenderWidget, vtkKWSelectionFrame, vtkKWSelectionFrameLayoutManager, vtkKWStartupPageWidget, vtkKWText, vtkKWTkcon, vtkKWToolbar, vtkKWToolbarSet, vtkKWTree, vtkKWVolumePropertyPresetSelector, vtkKWWidgetSet, and vtkKWWindowLevelPresetSelector.
Definition at line 323 of file vtkKWWidget.h.
1.6.1