toplevel superclass More...
#include <vtkKWTopLevel.h>


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 vtkKWApplication * | GetApplication () |
| virtual void | Display () |
| virtual void | Withdraw () |
| virtual void | DeIconify () |
| virtual void | SetTitleToTopLevelTitle (vtkKWWidget *) |
| virtual void | Maximize () |
| vtkKWMenu * | GetMenu () |
| virtual void | SetIconName (const char *name) |
| virtual void | SetResizable (int w, int h) |
| virtual void | UpdateEnableState () |
Static Public Member Functions | |
| static vtkKWTopLevel * | New () |
| static int | IsTypeOf (const char *type) |
| static vtkKWTopLevel * | SafeDownCast (vtkObject *o) |
Protected Member Functions | |
| vtkKWTopLevel () | |
| ~vtkKWTopLevel () | |
| virtual void | CreateWidget () |
| virtual int | ComputeDisplayPosition (int *x, int *y) |
| virtual void | PostCreate () |
Protected Attributes | |
| vtkKWWidget * | MasterWindow |
| vtkKWMenu * | Menu |
| char * | Title |
| char * | WindowClass |
| int | HideDecoration |
| int | Modal |
| int | DisplayPosition |
|
| |
| enum | { DisplayPositionDefault = 0, DisplayPositionMasterWindowCenter = 1, DisplayPositionMasterWindowCenterFirst = 2, DisplayPositionScreenCenter = 3, DisplayPositionScreenCenterFirst = 4, DisplayPositionPointer = 5 } |
| enum | { DisplayEvent = 5500, WithdrawEvent, SlaveDisplayEvent, SlaveWithdrawEvent } |
| virtual void | SetWindowClass (const char *) |
| virtual char * | GetWindowClass () |
| virtual void | SetMasterWindow (vtkKWWidget *win) |
| virtual vtkKWWidget * | GetMasterWindow () |
| virtual void | SetModal (int) |
| virtual void | ModalOn () |
| virtual void | ModalOff () |
| virtual int | GetModal () |
| 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 | SetBorderWidth (int) |
| virtual int | GetBorderWidth () |
| virtual void | SetHighlightThickness (int) |
| virtual int | GetHighlightThickness () |
| 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 void | SetDisplayPosition (int) |
| virtual int | GetDisplayPosition () |
| virtual void | SetDisplayPositionToDefault () |
| virtual void | SetDisplayPositionToMasterWindowCenter () |
| virtual void | SetDisplayPositionToMasterWindowCenterFirst () |
| virtual void | SetDisplayPositionToScreenCenter () |
| virtual void | SetDisplayPositionToScreenCenterFirst () |
| virtual void | SetDisplayPositionToPointer () |
| virtual void | SetTitle (const char *) |
| virtual char * | GetTitle () |
| virtual int | SetPosition (int x, int y) |
| virtual int | GetPosition (int *x, int *y) |
| virtual int | SetSize (int w, int h) |
| virtual int | GetSize (int *w, int *h) |
| virtual int | GetWidth () |
| virtual int | GetHeight () |
| virtual int | SetMinimumSize (int w, int h) |
| virtual int | GetMinimumSize (int *w, int *h) |
| virtual int | SetGeometry (const char *) |
| virtual const char * | GetGeometry () |
| virtual void | SetHideDecoration (int) |
| virtual int | GetHideDecoration () |
| virtual void | HideDecorationOn () |
| virtual void | HideDecorationOff () |
| virtual void | SetDeleteWindowProtocolCommand (vtkObject *object, const char *method) |
| virtual vtkKWTclInteractor * | GetTclInteractor () |
| virtual void | DisplayTclInteractor () |
| virtual int | GetRequestedWidth () |
| virtual int | GetRequestedHeight () |
toplevel superclass
A generic superclass for toplevel.
Definition at line 28 of file vtkKWTopLevel.h.
Reimplemented from vtkKWCoreWidget.
Reimplemented in vtkKWColorPickerDialog, vtkKWDialog, vtkKWFileBrowserDialog, vtkKWLoadSaveDialog, vtkKWLogDialog, vtkKWMessageDialog, vtkKWSaveImageDialog, vtkKWSimpleEntryDialog, vtkKWSplashScreen, vtkKWTclInteractor, vtkKWTkcon, vtkKWWindow, vtkKWWindowBase, and vtkKWWizardDialog.
Definition at line 33 of file vtkKWTopLevel.h.
| anonymous enum |
Set/Get the position this toplevel should be centered at when Display() is called. The default setting, Default, is to not set/change the position at all and let the user or the window manager place the toplevel. If set to MasterWindowCenter, the toplevel is centered inside its master window ; if the MasterWindow ivar is not set, it is centered on the screen, which is similar to the ScreenCenter setting. If set to Pointer, the toplevel is centered at the current mouse position. On some sytem, the default setting can lead the window manager to place the window at the upper left corner (0, 0) the first time it is displayed. Since this can be fairly annoying, the MasterWindowCenterFirst and ScreenCenterFirst can be used to center the toplevel relative to the master window or the screen only the first time it is displayed (after that, the toplevel will be displayed wherever it was left). BTX
| DisplayPositionDefault | |
| DisplayPositionMasterWindowCenter | |
| DisplayPositionMasterWindowCenterFirst | |
| DisplayPositionScreenCenter | |
| DisplayPositionScreenCenterFirst | |
| DisplayPositionPointer |
Definition at line 146 of file vtkKWTopLevel.h.
| anonymous enum |
Events. WithdrawEvent is called when the toplevel has been withdrawn, as a result of calling the Withdraw() method. DisplayEvent is called when the toplevel has been displayed by calling the Display() method. SlaveDisplayEvent is invoked when a slave toplevel of that instance is displayed (i.e. a toplevel whose MasterWindow was set to this instance). SlaveWithdrawEvent is invoked when a slave toplevel of that instance is withdrawn. Both events pass a pointer to the slave as call data. BTX
Definition at line 296 of file vtkKWTopLevel.h.
| vtkKWTopLevel::vtkKWTopLevel | ( | ) | [protected] |
| vtkKWTopLevel::~vtkKWTopLevel | ( | ) | [protected] |
| static vtkKWTopLevel* vtkKWTopLevel::New | ( | ) | [static] |
Reimplemented from vtkKWCoreWidget.
Reimplemented in vtkKWColorPickerDialog, vtkKWDialog, vtkKWFileBrowserDialog, vtkKWLoadSaveDialog, vtkKWLogDialog, vtkKWMessageDialog, vtkKWSaveImageDialog, vtkKWSimpleEntryDialog, vtkKWSplashScreen, vtkKWTclInteractor, vtkKWTkcon, vtkKWWindow, vtkKWWindowBase, and vtkKWWizardDialog.
| virtual const char* vtkKWTopLevel::GetClassName | ( | ) | [virtual] |
Reimplemented from vtkKWCoreWidget.
Reimplemented in vtkKWColorPickerDialog, vtkKWDialog, vtkKWFileBrowserDialog, vtkKWLoadSaveDialog, vtkKWLogDialog, vtkKWMessageDialog, vtkKWSaveImageDialog, vtkKWSimpleEntryDialog, vtkKWSplashScreen, vtkKWTclInteractor, vtkKWTkcon, vtkKWWindow, vtkKWWindowBase, and vtkKWWizardDialog.
| static int vtkKWTopLevel::IsTypeOf | ( | const char * | type | ) | [static] |
Reimplemented from vtkKWCoreWidget.
Reimplemented in vtkKWColorPickerDialog, vtkKWDialog, vtkKWFileBrowserDialog, vtkKWLoadSaveDialog, vtkKWLogDialog, vtkKWMessageDialog, vtkKWSaveImageDialog, vtkKWSimpleEntryDialog, vtkKWSplashScreen, vtkKWTclInteractor, vtkKWTkcon, vtkKWWindow, vtkKWWindowBase, and vtkKWWizardDialog.
| virtual int vtkKWTopLevel::IsA | ( | const char * | type | ) | [virtual] |
Reimplemented from vtkKWCoreWidget.
Reimplemented in vtkKWColorPickerDialog, vtkKWDialog, vtkKWFileBrowserDialog, vtkKWLoadSaveDialog, vtkKWLogDialog, vtkKWMessageDialog, vtkKWSaveImageDialog, vtkKWSimpleEntryDialog, vtkKWSplashScreen, vtkKWTclInteractor, vtkKWTkcon, vtkKWWindow, vtkKWWindowBase, and vtkKWWizardDialog.
| static vtkKWTopLevel* vtkKWTopLevel::SafeDownCast | ( | vtkObject * | o | ) | [static] |
Reimplemented from vtkKWCoreWidget.
Reimplemented in vtkKWColorPickerDialog, vtkKWDialog, vtkKWFileBrowserDialog, vtkKWLoadSaveDialog, vtkKWLogDialog, vtkKWMessageDialog, vtkKWSaveImageDialog, vtkKWSimpleEntryDialog, vtkKWSplashScreen, vtkKWTclInteractor, vtkKWTkcon, vtkKWWindow, vtkKWWindowBase, and vtkKWWizardDialog.
| void vtkKWTopLevel::PrintSelf | ( | ostream & | os, | |
| vtkIndent | indent | |||
| ) | [virtual] |
Reimplemented from vtkKWCoreWidget.
Reimplemented in vtkKWColorPickerDialog, vtkKWDialog, vtkKWFileBrowserDialog, vtkKWLoadSaveDialog, vtkKWLogDialog, vtkKWMessageDialog, vtkKWSaveImageDialog, vtkKWSimpleEntryDialog, vtkKWSplashScreen, vtkKWTclInteractor, vtkKWTkcon, vtkKWWindow, vtkKWWindowBase, and vtkKWWizardDialog.
| virtual void vtkKWTopLevel::SetWindowClass | ( | const char * | ) | [virtual] |
Class of the window. Used to group several windows under the same class (they will, for example, de-iconify together). Make sure you set it before a call to Create().
| virtual char* vtkKWTopLevel::GetWindowClass | ( | ) | [virtual] |
Set/Get the position this toplevel should be centered at when Display() is called. The default setting, Default, is to not set/change the position at all and let the user or the window manager place the toplevel. If set to MasterWindowCenter, the toplevel is centered inside its master window ; if the MasterWindow ivar is not set, it is centered on the screen, which is similar to the ScreenCenter setting. If set to Pointer, the toplevel is centered at the current mouse position. On some sytem, the default setting can lead the window manager to place the window at the upper left corner (0, 0) the first time it is displayed. Since this can be fairly annoying, the MasterWindowCenterFirst and ScreenCenterFirst can be used to center the toplevel relative to the master window or the screen only the first time it is displayed (after that, the toplevel will be displayed wherever it was left). BTX
| virtual void vtkKWTopLevel::SetMasterWindow | ( | vtkKWWidget * | win | ) | [virtual] |
Set the widget/window to which this toplevel will be slave. If set, this toplevel will always be on top of the master window and will minimize with it (assuming that the windowing system supports this). For convenience purposes, the MasterWindow does not have to be a toplevel, it can be a plain widget (its toplevel will be found at runtime). Has to be called before Create().
| virtual vtkKWWidget* vtkKWTopLevel::GetMasterWindow | ( | ) | [virtual] |
Set/Get the position this toplevel should be centered at when Display() is called. The default setting, Default, is to not set/change the position at all and let the user or the window manager place the toplevel. If set to MasterWindowCenter, the toplevel is centered inside its master window ; if the MasterWindow ivar is not set, it is centered on the screen, which is similar to the ScreenCenter setting. If set to Pointer, the toplevel is centered at the current mouse position. On some sytem, the default setting can lead the window manager to place the window at the upper left corner (0, 0) the first time it is displayed. Since this can be fairly annoying, the MasterWindowCenterFirst and ScreenCenterFirst can be used to center the toplevel relative to the master window or the screen only the first time it is displayed (after that, the toplevel will be displayed wherever it was left). BTX
| virtual vtkKWApplication* vtkKWTopLevel::GetApplication | ( | ) | [virtual] |
Get the application instance for this object. Override the superclass to try to retrieve the masterwindow's application if it was not set already.
Reimplemented from vtkKWWidget.
| virtual void vtkKWTopLevel::Display | ( | ) | [virtual] |
Display the toplevel. Hide it with the Withdraw() method. This also call DeIconify(), Focus() and Raise()
Reimplemented in vtkKWColorPickerDialog, vtkKWDialog, vtkKWFileBrowserDialog, vtkKWMessageDialog, and vtkKWSplashScreen.
| virtual void vtkKWTopLevel::Withdraw | ( | ) | [virtual] |
Arranges for window to be withdrawn from the screen. This causes the window to be unmapped and forgotten about by the window manager.
| virtual void vtkKWTopLevel::SetModal | ( | int | ) | [virtual] |
Inform the window manager that this toplevel should be modal. If it is set, Display() will bring up the toplevel and grab it. Withdraw() will bring down the toplevel, and release the grab.
| virtual void vtkKWTopLevel::ModalOn | ( | ) | [virtual] |
Set/Get the position this toplevel should be centered at when Display() is called. The default setting, Default, is to not set/change the position at all and let the user or the window manager place the toplevel. If set to MasterWindowCenter, the toplevel is centered inside its master window ; if the MasterWindow ivar is not set, it is centered on the screen, which is similar to the ScreenCenter setting. If set to Pointer, the toplevel is centered at the current mouse position. On some sytem, the default setting can lead the window manager to place the window at the upper left corner (0, 0) the first time it is displayed. Since this can be fairly annoying, the MasterWindowCenterFirst and ScreenCenterFirst can be used to center the toplevel relative to the master window or the screen only the first time it is displayed (after that, the toplevel will be displayed wherever it was left). BTX
| virtual void vtkKWTopLevel::ModalOff | ( | ) | [virtual] |
Set/Get the position this toplevel should be centered at when Display() is called. The default setting, Default, is to not set/change the position at all and let the user or the window manager place the toplevel. If set to MasterWindowCenter, the toplevel is centered inside its master window ; if the MasterWindow ivar is not set, it is centered on the screen, which is similar to the ScreenCenter setting. If set to Pointer, the toplevel is centered at the current mouse position. On some sytem, the default setting can lead the window manager to place the window at the upper left corner (0, 0) the first time it is displayed. Since this can be fairly annoying, the MasterWindowCenterFirst and ScreenCenterFirst can be used to center the toplevel relative to the master window or the screen only the first time it is displayed (after that, the toplevel will be displayed wherever it was left). BTX
| virtual int vtkKWTopLevel::GetModal | ( | ) | [virtual] |
Set/Get the position this toplevel should be centered at when Display() is called. The default setting, Default, is to not set/change the position at all and let the user or the window manager place the toplevel. If set to MasterWindowCenter, the toplevel is centered inside its master window ; if the MasterWindow ivar is not set, it is centered on the screen, which is similar to the ScreenCenter setting. If set to Pointer, the toplevel is centered at the current mouse position. On some sytem, the default setting can lead the window manager to place the window at the upper left corner (0, 0) the first time it is displayed. Since this can be fairly annoying, the MasterWindowCenterFirst and ScreenCenterFirst can be used to center the toplevel relative to the master window or the screen only the first time it is displayed (after that, the toplevel will be displayed wherever it was left). BTX
| virtual void vtkKWTopLevel::GetBackgroundColor | ( | double * | r, | |
| double * | g, | |||
| double * | b | |||
| ) | [virtual] |
Set/Get the background color of the widget.
| virtual double* vtkKWTopLevel::GetBackgroundColor | ( | ) | [virtual] |
Set/Get the position this toplevel should be centered at when Display() is called. The default setting, Default, is to not set/change the position at all and let the user or the window manager place the toplevel. If set to MasterWindowCenter, the toplevel is centered inside its master window ; if the MasterWindow ivar is not set, it is centered on the screen, which is similar to the ScreenCenter setting. If set to Pointer, the toplevel is centered at the current mouse position. On some sytem, the default setting can lead the window manager to place the window at the upper left corner (0, 0) the first time it is displayed. Since this can be fairly annoying, the MasterWindowCenterFirst and ScreenCenterFirst can be used to center the toplevel relative to the master window or the screen only the first time it is displayed (after that, the toplevel will be displayed wherever it was left). BTX
| virtual void vtkKWTopLevel::SetBackgroundColor | ( | double | r, | |
| double | g, | |||
| double | b | |||
| ) | [virtual] |
Set/Get the position this toplevel should be centered at when Display() is called. The default setting, Default, is to not set/change the position at all and let the user or the window manager place the toplevel. If set to MasterWindowCenter, the toplevel is centered inside its master window ; if the MasterWindow ivar is not set, it is centered on the screen, which is similar to the ScreenCenter setting. If set to Pointer, the toplevel is centered at the current mouse position. On some sytem, the default setting can lead the window manager to place the window at the upper left corner (0, 0) the first time it is displayed. Since this can be fairly annoying, the MasterWindowCenterFirst and ScreenCenterFirst can be used to center the toplevel relative to the master window or the screen only the first time it is displayed (after that, the toplevel will be displayed wherever it was left). BTX
| virtual void vtkKWTopLevel::SetBackgroundColor | ( | double | rgb[3] | ) | [inline, virtual] |
Set/Get the position this toplevel should be centered at when Display() is called. The default setting, Default, is to not set/change the position at all and let the user or the window manager place the toplevel. If set to MasterWindowCenter, the toplevel is centered inside its master window ; if the MasterWindow ivar is not set, it is centered on the screen, which is similar to the ScreenCenter setting. If set to Pointer, the toplevel is centered at the current mouse position. On some sytem, the default setting can lead the window manager to place the window at the upper left corner (0, 0) the first time it is displayed. Since this can be fairly annoying, the MasterWindowCenterFirst and ScreenCenterFirst can be used to center the toplevel relative to the master window or the screen only the first time it is displayed (after that, the toplevel will be displayed wherever it was left). BTX
Definition at line 82 of file vtkKWTopLevel.h.
| virtual void vtkKWTopLevel::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 vtkKWTopLevel::GetBorderWidth | ( | ) | [virtual] |
Set/Get the position this toplevel should be centered at when Display() is called. The default setting, Default, is to not set/change the position at all and let the user or the window manager place the toplevel. If set to MasterWindowCenter, the toplevel is centered inside its master window ; if the MasterWindow ivar is not set, it is centered on the screen, which is similar to the ScreenCenter setting. If set to Pointer, the toplevel is centered at the current mouse position. On some sytem, the default setting can lead the window manager to place the window at the upper left corner (0, 0) the first time it is displayed. Since this can be fairly annoying, the MasterWindowCenterFirst and ScreenCenterFirst can be used to center the toplevel relative to the master window or the screen only the first time it is displayed (after that, the toplevel will be displayed wherever it was left). BTX
| virtual void vtkKWTopLevel::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 vtkKWTopLevel::GetHighlightThickness | ( | ) | [virtual] |
Set/Get the position this toplevel should be centered at when Display() is called. The default setting, Default, is to not set/change the position at all and let the user or the window manager place the toplevel. If set to MasterWindowCenter, the toplevel is centered inside its master window ; if the MasterWindow ivar is not set, it is centered on the screen, which is similar to the ScreenCenter setting. If set to Pointer, the toplevel is centered at the current mouse position. On some sytem, the default setting can lead the window manager to place the window at the upper left corner (0, 0) the first time it is displayed. Since this can be fairly annoying, the MasterWindowCenterFirst and ScreenCenterFirst can be used to center the toplevel relative to the master window or the screen only the first time it is displayed (after that, the toplevel will be displayed wherever it was left). BTX
| virtual void vtkKWTopLevel::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 vtkKWTopLevel::GetRelief | ( | ) | [virtual] |
Set/Get the position this toplevel should be centered at when Display() is called. The default setting, Default, is to not set/change the position at all and let the user or the window manager place the toplevel. If set to MasterWindowCenter, the toplevel is centered inside its master window ; if the MasterWindow ivar is not set, it is centered on the screen, which is similar to the ScreenCenter setting. If set to Pointer, the toplevel is centered at the current mouse position. On some sytem, the default setting can lead the window manager to place the window at the upper left corner (0, 0) the first time it is displayed. Since this can be fairly annoying, the MasterWindowCenterFirst and ScreenCenterFirst can be used to center the toplevel relative to the master window or the screen only the first time it is displayed (after that, the toplevel will be displayed wherever it was left). BTX
| virtual void vtkKWTopLevel::SetReliefToRaised | ( | ) | [virtual] |
Set/Get the position this toplevel should be centered at when Display() is called. The default setting, Default, is to not set/change the position at all and let the user or the window manager place the toplevel. If set to MasterWindowCenter, the toplevel is centered inside its master window ; if the MasterWindow ivar is not set, it is centered on the screen, which is similar to the ScreenCenter setting. If set to Pointer, the toplevel is centered at the current mouse position. On some sytem, the default setting can lead the window manager to place the window at the upper left corner (0, 0) the first time it is displayed. Since this can be fairly annoying, the MasterWindowCenterFirst and ScreenCenterFirst can be used to center the toplevel relative to the master window or the screen only the first time it is displayed (after that, the toplevel will be displayed wherever it was left). BTX
| virtual void vtkKWTopLevel::SetReliefToSunken | ( | ) | [virtual] |
Set/Get the position this toplevel should be centered at when Display() is called. The default setting, Default, is to not set/change the position at all and let the user or the window manager place the toplevel. If set to MasterWindowCenter, the toplevel is centered inside its master window ; if the MasterWindow ivar is not set, it is centered on the screen, which is similar to the ScreenCenter setting. If set to Pointer, the toplevel is centered at the current mouse position. On some sytem, the default setting can lead the window manager to place the window at the upper left corner (0, 0) the first time it is displayed. Since this can be fairly annoying, the MasterWindowCenterFirst and ScreenCenterFirst can be used to center the toplevel relative to the master window or the screen only the first time it is displayed (after that, the toplevel will be displayed wherever it was left). BTX
| virtual void vtkKWTopLevel::SetReliefToFlat | ( | ) | [virtual] |
Set/Get the position this toplevel should be centered at when Display() is called. The default setting, Default, is to not set/change the position at all and let the user or the window manager place the toplevel. If set to MasterWindowCenter, the toplevel is centered inside its master window ; if the MasterWindow ivar is not set, it is centered on the screen, which is similar to the ScreenCenter setting. If set to Pointer, the toplevel is centered at the current mouse position. On some sytem, the default setting can lead the window manager to place the window at the upper left corner (0, 0) the first time it is displayed. Since this can be fairly annoying, the MasterWindowCenterFirst and ScreenCenterFirst can be used to center the toplevel relative to the master window or the screen only the first time it is displayed (after that, the toplevel will be displayed wherever it was left). BTX
| virtual void vtkKWTopLevel::SetReliefToRidge | ( | ) | [virtual] |
Set/Get the position this toplevel should be centered at when Display() is called. The default setting, Default, is to not set/change the position at all and let the user or the window manager place the toplevel. If set to MasterWindowCenter, the toplevel is centered inside its master window ; if the MasterWindow ivar is not set, it is centered on the screen, which is similar to the ScreenCenter setting. If set to Pointer, the toplevel is centered at the current mouse position. On some sytem, the default setting can lead the window manager to place the window at the upper left corner (0, 0) the first time it is displayed. Since this can be fairly annoying, the MasterWindowCenterFirst and ScreenCenterFirst can be used to center the toplevel relative to the master window or the screen only the first time it is displayed (after that, the toplevel will be displayed wherever it was left). BTX
| virtual void vtkKWTopLevel::SetReliefToSolid | ( | ) | [virtual] |
Set/Get the position this toplevel should be centered at when Display() is called. The default setting, Default, is to not set/change the position at all and let the user or the window manager place the toplevel. If set to MasterWindowCenter, the toplevel is centered inside its master window ; if the MasterWindow ivar is not set, it is centered on the screen, which is similar to the ScreenCenter setting. If set to Pointer, the toplevel is centered at the current mouse position. On some sytem, the default setting can lead the window manager to place the window at the upper left corner (0, 0) the first time it is displayed. Since this can be fairly annoying, the MasterWindowCenterFirst and ScreenCenterFirst can be used to center the toplevel relative to the master window or the screen only the first time it is displayed (after that, the toplevel will be displayed wherever it was left). BTX
| virtual void vtkKWTopLevel::SetReliefToGroove | ( | ) | [virtual] |
Set/Get the position this toplevel should be centered at when Display() is called. The default setting, Default, is to not set/change the position at all and let the user or the window manager place the toplevel. If set to MasterWindowCenter, the toplevel is centered inside its master window ; if the MasterWindow ivar is not set, it is centered on the screen, which is similar to the ScreenCenter setting. If set to Pointer, the toplevel is centered at the current mouse position. On some sytem, the default setting can lead the window manager to place the window at the upper left corner (0, 0) the first time it is displayed. Since this can be fairly annoying, the MasterWindowCenterFirst and ScreenCenterFirst can be used to center the toplevel relative to the master window or the screen only the first time it is displayed (after that, the toplevel will be displayed wherever it was left). BTX
| virtual void vtkKWTopLevel::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 vtkKWTopLevel::GetPadX | ( | ) | [virtual] |
Set/Get the position this toplevel should be centered at when Display() is called. The default setting, Default, is to not set/change the position at all and let the user or the window manager place the toplevel. If set to MasterWindowCenter, the toplevel is centered inside its master window ; if the MasterWindow ivar is not set, it is centered on the screen, which is similar to the ScreenCenter setting. If set to Pointer, the toplevel is centered at the current mouse position. On some sytem, the default setting can lead the window manager to place the window at the upper left corner (0, 0) the first time it is displayed. Since this can be fairly annoying, the MasterWindowCenterFirst and ScreenCenterFirst can be used to center the toplevel relative to the master window or the screen only the first time it is displayed (after that, the toplevel will be displayed wherever it was left). BTX
| virtual void vtkKWTopLevel::SetPadY | ( | int | ) | [virtual] |
Set/Get the position this toplevel should be centered at when Display() is called. The default setting, Default, is to not set/change the position at all and let the user or the window manager place the toplevel. If set to MasterWindowCenter, the toplevel is centered inside its master window ; if the MasterWindow ivar is not set, it is centered on the screen, which is similar to the ScreenCenter setting. If set to Pointer, the toplevel is centered at the current mouse position. On some sytem, the default setting can lead the window manager to place the window at the upper left corner (0, 0) the first time it is displayed. Since this can be fairly annoying, the MasterWindowCenterFirst and ScreenCenterFirst can be used to center the toplevel relative to the master window or the screen only the first time it is displayed (after that, the toplevel will be displayed wherever it was left). BTX
| virtual int vtkKWTopLevel::GetPadY | ( | ) | [virtual] |
Set/Get the position this toplevel should be centered at when Display() is called. The default setting, Default, is to not set/change the position at all and let the user or the window manager place the toplevel. If set to MasterWindowCenter, the toplevel is centered inside its master window ; if the MasterWindow ivar is not set, it is centered on the screen, which is similar to the ScreenCenter setting. If set to Pointer, the toplevel is centered at the current mouse position. On some sytem, the default setting can lead the window manager to place the window at the upper left corner (0, 0) the first time it is displayed. Since this can be fairly annoying, the MasterWindowCenterFirst and ScreenCenterFirst can be used to center the toplevel relative to the master window or the screen only the first time it is displayed (after that, the toplevel will be displayed wherever it was left). BTX
| virtual void vtkKWTopLevel::SetDisplayPosition | ( | int | ) | [virtual] |
Set/Get the position this toplevel should be centered at when Display() is called. The default setting, Default, is to not set/change the position at all and let the user or the window manager place the toplevel. If set to MasterWindowCenter, the toplevel is centered inside its master window ; if the MasterWindow ivar is not set, it is centered on the screen, which is similar to the ScreenCenter setting. If set to Pointer, the toplevel is centered at the current mouse position. On some sytem, the default setting can lead the window manager to place the window at the upper left corner (0, 0) the first time it is displayed. Since this can be fairly annoying, the MasterWindowCenterFirst and ScreenCenterFirst can be used to center the toplevel relative to the master window or the screen only the first time it is displayed (after that, the toplevel will be displayed wherever it was left). BTX
| virtual int vtkKWTopLevel::GetDisplayPosition | ( | ) | [virtual] |
Set/Get the position this toplevel should be centered at when Display() is called. The default setting, Default, is to not set/change the position at all and let the user or the window manager place the toplevel. If set to MasterWindowCenter, the toplevel is centered inside its master window ; if the MasterWindow ivar is not set, it is centered on the screen, which is similar to the ScreenCenter setting. If set to Pointer, the toplevel is centered at the current mouse position. On some sytem, the default setting can lead the window manager to place the window at the upper left corner (0, 0) the first time it is displayed. Since this can be fairly annoying, the MasterWindowCenterFirst and ScreenCenterFirst can be used to center the toplevel relative to the master window or the screen only the first time it is displayed (after that, the toplevel will be displayed wherever it was left). BTX
| virtual void vtkKWTopLevel::SetDisplayPositionToDefault | ( | ) | [inline, virtual] |
Set/Get the position this toplevel should be centered at when Display() is called. The default setting, Default, is to not set/change the position at all and let the user or the window manager place the toplevel. If set to MasterWindowCenter, the toplevel is centered inside its master window ; if the MasterWindow ivar is not set, it is centered on the screen, which is similar to the ScreenCenter setting. If set to Pointer, the toplevel is centered at the current mouse position. On some sytem, the default setting can lead the window manager to place the window at the upper left corner (0, 0) the first time it is displayed. Since this can be fairly annoying, the MasterWindowCenterFirst and ScreenCenterFirst can be used to center the toplevel relative to the master window or the screen only the first time it is displayed (after that, the toplevel will be displayed wherever it was left). BTX
Definition at line 160 of file vtkKWTopLevel.h.
| virtual void vtkKWTopLevel::SetDisplayPositionToMasterWindowCenter | ( | ) | [inline, virtual] |
Set/Get the position this toplevel should be centered at when Display() is called. The default setting, Default, is to not set/change the position at all and let the user or the window manager place the toplevel. If set to MasterWindowCenter, the toplevel is centered inside its master window ; if the MasterWindow ivar is not set, it is centered on the screen, which is similar to the ScreenCenter setting. If set to Pointer, the toplevel is centered at the current mouse position. On some sytem, the default setting can lead the window manager to place the window at the upper left corner (0, 0) the first time it is displayed. Since this can be fairly annoying, the MasterWindowCenterFirst and ScreenCenterFirst can be used to center the toplevel relative to the master window or the screen only the first time it is displayed (after that, the toplevel will be displayed wherever it was left). BTX
Definition at line 163 of file vtkKWTopLevel.h.
| virtual void vtkKWTopLevel::SetDisplayPositionToMasterWindowCenterFirst | ( | ) | [inline, virtual] |
Set/Get the position this toplevel should be centered at when Display() is called. The default setting, Default, is to not set/change the position at all and let the user or the window manager place the toplevel. If set to MasterWindowCenter, the toplevel is centered inside its master window ; if the MasterWindow ivar is not set, it is centered on the screen, which is similar to the ScreenCenter setting. If set to Pointer, the toplevel is centered at the current mouse position. On some sytem, the default setting can lead the window manager to place the window at the upper left corner (0, 0) the first time it is displayed. Since this can be fairly annoying, the MasterWindowCenterFirst and ScreenCenterFirst can be used to center the toplevel relative to the master window or the screen only the first time it is displayed (after that, the toplevel will be displayed wherever it was left). BTX
Definition at line 166 of file vtkKWTopLevel.h.
| virtual void vtkKWTopLevel::SetDisplayPositionToScreenCenter | ( | ) | [inline, virtual] |
Set/Get the position this toplevel should be centered at when Display() is called. The default setting, Default, is to not set/change the position at all and let the user or the window manager place the toplevel. If set to MasterWindowCenter, the toplevel is centered inside its master window ; if the MasterWindow ivar is not set, it is centered on the screen, which is similar to the ScreenCenter setting. If set to Pointer, the toplevel is centered at the current mouse position. On some sytem, the default setting can lead the window manager to place the window at the upper left corner (0, 0) the first time it is displayed. Since this can be fairly annoying, the MasterWindowCenterFirst and ScreenCenterFirst can be used to center the toplevel relative to the master window or the screen only the first time it is displayed (after that, the toplevel will be displayed wherever it was left). BTX
Definition at line 169 of file vtkKWTopLevel.h.
| virtual void vtkKWTopLevel::SetDisplayPositionToScreenCenterFirst | ( | ) | [inline, virtual] |
Set/Get the position this toplevel should be centered at when Display() is called. The default setting, Default, is to not set/change the position at all and let the user or the window manager place the toplevel. If set to MasterWindowCenter, the toplevel is centered inside its master window ; if the MasterWindow ivar is not set, it is centered on the screen, which is similar to the ScreenCenter setting. If set to Pointer, the toplevel is centered at the current mouse position. On some sytem, the default setting can lead the window manager to place the window at the upper left corner (0, 0) the first time it is displayed. Since this can be fairly annoying, the MasterWindowCenterFirst and ScreenCenterFirst can be used to center the toplevel relative to the master window or the screen only the first time it is displayed (after that, the toplevel will be displayed wherever it was left). BTX
Definition at line 172 of file vtkKWTopLevel.h.
| virtual void vtkKWTopLevel::SetDisplayPositionToPointer | ( | ) | [inline, virtual] |
Set/Get the position this toplevel should be centered at when Display() is called. The default setting, Default, is to not set/change the position at all and let the user or the window manager place the toplevel. If set to MasterWindowCenter, the toplevel is centered inside its master window ; if the MasterWindow ivar is not set, it is centered on the screen, which is similar to the ScreenCenter setting. If set to Pointer, the toplevel is centered at the current mouse position. On some sytem, the default setting can lead the window manager to place the window at the upper left corner (0, 0) the first time it is displayed. Since this can be fairly annoying, the MasterWindowCenterFirst and ScreenCenterFirst can be used to center the toplevel relative to the master window or the screen only the first time it is displayed (after that, the toplevel will be displayed wherever it was left). BTX
Definition at line 175 of file vtkKWTopLevel.h.
| virtual void vtkKWTopLevel::DeIconify | ( | ) | [virtual] |
Arrange for the toplevel to be displayed in normal (non-iconified) form. This is done by mapping the window.
| virtual void vtkKWTopLevel::SetTitle | ( | const char * | ) | [virtual] |
Set the title of the toplevel.
| virtual char* vtkKWTopLevel::GetTitle | ( | ) | [virtual] |
Set/Get the position this toplevel should be centered at when Display() is called. The default setting, Default, is to not set/change the position at all and let the user or the window manager place the toplevel. If set to MasterWindowCenter, the toplevel is centered inside its master window ; if the MasterWindow ivar is not set, it is centered on the screen, which is similar to the ScreenCenter setting. If set to Pointer, the toplevel is centered at the current mouse position. On some sytem, the default setting can lead the window manager to place the window at the upper left corner (0, 0) the first time it is displayed. Since this can be fairly annoying, the MasterWindowCenterFirst and ScreenCenterFirst can be used to center the toplevel relative to the master window or the screen only the first time it is displayed (after that, the toplevel will be displayed wherever it was left). BTX
Reimplemented in vtkKWWindowBase.
| virtual void vtkKWTopLevel::SetTitleToTopLevelTitle | ( | vtkKWWidget * | ) | [virtual] |
Set the title to the same title as another widget's toplevel.
| virtual int vtkKWTopLevel::SetPosition | ( | int | x, | |
| int | y | |||
| ) | [virtual] |
Set/Get the window position in screen pixel coordinates. No effect if called before Create() Return 1 on success, 0 otherwise.
| virtual int vtkKWTopLevel::GetPosition | ( | int * | x, | |
| int * | y | |||
| ) | [virtual] |
Set/Get the position this toplevel should be centered at when Display() is called. The default setting, Default, is to not set/change the position at all and let the user or the window manager place the toplevel. If set to MasterWindowCenter, the toplevel is centered inside its master window ; if the MasterWindow ivar is not set, it is centered on the screen, which is similar to the ScreenCenter setting. If set to Pointer, the toplevel is centered at the current mouse position. On some sytem, the default setting can lead the window manager to place the window at the upper left corner (0, 0) the first time it is displayed. Since this can be fairly annoying, the MasterWindowCenterFirst and ScreenCenterFirst can be used to center the toplevel relative to the master window or the screen only the first time it is displayed (after that, the toplevel will be displayed wherever it was left). BTX
| virtual int vtkKWTopLevel::SetSize | ( | int | w, | |
| int | h | |||
| ) | [virtual] |
Set/Get the window size in pixels. No effect if called before Create() This will in turn call GetWidget() and GetHeight() Return 1 on success, 0 otherwise.
| virtual int vtkKWTopLevel::GetSize | ( | int * | w, | |
| int * | h | |||
| ) | [virtual] |
Set/Get the position this toplevel should be centered at when Display() is called. The default setting, Default, is to not set/change the position at all and let the user or the window manager place the toplevel. If set to MasterWindowCenter, the toplevel is centered inside its master window ; if the MasterWindow ivar is not set, it is centered on the screen, which is similar to the ScreenCenter setting. If set to Pointer, the toplevel is centered at the current mouse position. On some sytem, the default setting can lead the window manager to place the window at the upper left corner (0, 0) the first time it is displayed. Since this can be fairly annoying, the MasterWindowCenterFirst and ScreenCenterFirst can be used to center the toplevel relative to the master window or the screen only the first time it is displayed (after that, the toplevel will be displayed wherever it was left). BTX
| virtual int vtkKWTopLevel::GetWidth | ( | ) | [virtual] |
Get the width/height of the toplevel.
| virtual int vtkKWTopLevel::GetHeight | ( | ) | [virtual] |
Set/Get the position this toplevel should be centered at when Display() is called. The default setting, Default, is to not set/change the position at all and let the user or the window manager place the toplevel. If set to MasterWindowCenter, the toplevel is centered inside its master window ; if the MasterWindow ivar is not set, it is centered on the screen, which is similar to the ScreenCenter setting. If set to Pointer, the toplevel is centered at the current mouse position. On some sytem, the default setting can lead the window manager to place the window at the upper left corner (0, 0) the first time it is displayed. Since this can be fairly annoying, the MasterWindowCenterFirst and ScreenCenterFirst can be used to center the toplevel relative to the master window or the screen only the first time it is displayed (after that, the toplevel will be displayed wherever it was left). BTX
| virtual int vtkKWTopLevel::SetMinimumSize | ( | int | w, | |
| int | h | |||
| ) | [virtual] |
Set/Get the minimum window size. For gridded windows the dimensions are specified in grid units; otherwise they are specified in pixel units. The window manager will restrict the window's dimensions to be greater than or equal to width and height. No effect if called before Create() Return 1 on success, 0 otherwise.
| virtual int vtkKWTopLevel::GetMinimumSize | ( | int * | w, | |
| int * | h | |||
| ) | [virtual] |
Set/Get the position this toplevel should be centered at when Display() is called. The default setting, Default, is to not set/change the position at all and let the user or the window manager place the toplevel. If set to MasterWindowCenter, the toplevel is centered inside its master window ; if the MasterWindow ivar is not set, it is centered on the screen, which is similar to the ScreenCenter setting. If set to Pointer, the toplevel is centered at the current mouse position. On some sytem, the default setting can lead the window manager to place the window at the upper left corner (0, 0) the first time it is displayed. Since this can be fairly annoying, the MasterWindowCenterFirst and ScreenCenterFirst can be used to center the toplevel relative to the master window or the screen only the first time it is displayed (after that, the toplevel will be displayed wherever it was left). BTX
| virtual int vtkKWTopLevel::SetGeometry | ( | const char * | ) | [virtual] |
Set/Get the window size and position in screen pixel coordinates as a geometry format wxh+x+y (ex: 800x700+20+50). No effect if called before Create() SetGeometry will return 1 on success, 0 otherwise. GetGeometry will return the geometry in a temporary buffer on success (copy the value to another string buffer as soon as possible), or NULL otherwise
| virtual const char* vtkKWTopLevel::GetGeometry | ( | ) | [virtual] |
Set/Get the position this toplevel should be centered at when Display() is called. The default setting, Default, is to not set/change the position at all and let the user or the window manager place the toplevel. If set to MasterWindowCenter, the toplevel is centered inside its master window ; if the MasterWindow ivar is not set, it is centered on the screen, which is similar to the ScreenCenter setting. If set to Pointer, the toplevel is centered at the current mouse position. On some sytem, the default setting can lead the window manager to place the window at the upper left corner (0, 0) the first time it is displayed. Since this can be fairly annoying, the MasterWindowCenterFirst and ScreenCenterFirst can be used to center the toplevel relative to the master window or the screen only the first time it is displayed (after that, the toplevel will be displayed wherever it was left). BTX
| virtual void vtkKWTopLevel::Maximize | ( | ) | [virtual] |
Arranges for window to be maximized. Windows only.
| virtual void vtkKWTopLevel::SetHideDecoration | ( | int | ) | [virtual] |
Set/Get if the toplevel should be displayed without decorations (i.e. ignored by the window manager). Default to 0. If not decorated, the toplevel will usually be displayed without a title bar, resizing handles, etc.
| virtual int vtkKWTopLevel::GetHideDecoration | ( | ) | [virtual] |
Set/Get the position this toplevel should be centered at when Display() is called. The default setting, Default, is to not set/change the position at all and let the user or the window manager place the toplevel. If set to MasterWindowCenter, the toplevel is centered inside its master window ; if the MasterWindow ivar is not set, it is centered on the screen, which is similar to the ScreenCenter setting. If set to Pointer, the toplevel is centered at the current mouse position. On some sytem, the default setting can lead the window manager to place the window at the upper left corner (0, 0) the first time it is displayed. Since this can be fairly annoying, the MasterWindowCenterFirst and ScreenCenterFirst can be used to center the toplevel relative to the master window or the screen only the first time it is displayed (after that, the toplevel will be displayed wherever it was left). BTX
| virtual void vtkKWTopLevel::HideDecorationOn | ( | ) | [virtual] |
Set/Get the position this toplevel should be centered at when Display() is called. The default setting, Default, is to not set/change the position at all and let the user or the window manager place the toplevel. If set to MasterWindowCenter, the toplevel is centered inside its master window ; if the MasterWindow ivar is not set, it is centered on the screen, which is similar to the ScreenCenter setting. If set to Pointer, the toplevel is centered at the current mouse position. On some sytem, the default setting can lead the window manager to place the window at the upper left corner (0, 0) the first time it is displayed. Since this can be fairly annoying, the MasterWindowCenterFirst and ScreenCenterFirst can be used to center the toplevel relative to the master window or the screen only the first time it is displayed (after that, the toplevel will be displayed wherever it was left). BTX
| virtual void vtkKWTopLevel::HideDecorationOff | ( | ) | [virtual] |
Set/Get the position this toplevel should be centered at when Display() is called. The default setting, Default, is to not set/change the position at all and let the user or the window manager place the toplevel. If set to MasterWindowCenter, the toplevel is centered inside its master window ; if the MasterWindow ivar is not set, it is centered on the screen, which is similar to the ScreenCenter setting. If set to Pointer, the toplevel is centered at the current mouse position. On some sytem, the default setting can lead the window manager to place the window at the upper left corner (0, 0) the first time it is displayed. Since this can be fairly annoying, the MasterWindowCenterFirst and ScreenCenterFirst can be used to center the toplevel relative to the master window or the screen only the first time it is displayed (after that, the toplevel will be displayed wherever it was left). BTX
| vtkKWMenu* vtkKWTopLevel::GetMenu | ( | ) |
Get the menu associated to this toplevel. Note that this menu is created on the fly to lower the footprint of this object.
| virtual void vtkKWTopLevel::SetDeleteWindowProtocolCommand | ( | vtkObject * | object, | |
| const char * | method | |||
| ) | [virtual] |
Specifies a command to associate with the widget. This command is typically invoked when the user closes the window using the window manager. The 'object' argument is the object that will have the method called on it. The 'method' argument is the name of the method to be called and any arguments in string form. If the object is NULL, the method is still evaluated as a simple command.
| virtual void vtkKWTopLevel::SetIconName | ( | const char * | name | ) | [virtual] |
Set the name inside the icon associated to this window/toplevel.
| virtual void vtkKWTopLevel::SetResizable | ( | int | w, | |
| int | h | |||
| ) | [virtual] |
Set whether or not the user may interactively resize the toplevel window. The parameters are boolean values that determine whether the width and height of the window may be modified by the user. No effect if called before Create()
| virtual vtkKWTclInteractor* vtkKWTopLevel::GetTclInteractor | ( | ) | [virtual] |
Get/display the tcl interactor. Kept for compatibility purposes, use vtkKWApplication instead.
| virtual void vtkKWTopLevel::DisplayTclInteractor | ( | ) | [virtual] |
Set/Get the position this toplevel should be centered at when Display() is called. The default setting, Default, is to not set/change the position at all and let the user or the window manager place the toplevel. If set to MasterWindowCenter, the toplevel is centered inside its master window ; if the MasterWindow ivar is not set, it is centered on the screen, which is similar to the ScreenCenter setting. If set to Pointer, the toplevel is centered at the current mouse position. On some sytem, the default setting can lead the window manager to place the window at the upper left corner (0, 0) the first time it is displayed. Since this can be fairly annoying, the MasterWindowCenterFirst and ScreenCenterFirst can be used to center the toplevel relative to the master window or the screen only the first time it is displayed (after that, the toplevel will be displayed wherever it was left). BTX
| virtual void vtkKWTopLevel::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.
Reimplemented in vtkKWColorPickerDialog, vtkKWFileBrowserDialog, vtkKWSplashScreen, vtkKWTclInteractor, vtkKWTkcon, vtkKWWindow, vtkKWWindowBase, and vtkKWWizardDialog.
| virtual void vtkKWTopLevel::CreateWidget | ( | ) | [protected, virtual] |
Create the widget. Make sure WindowClass is set before calling this method (if needed). If MasterWindow is set and is a vtkKWTopLevel, its class will be used to set our own WindowClass. Withdraw() is called at the end of the creation.
Reimplemented from vtkKWCoreWidget.
Reimplemented in vtkKWColorPickerDialog, vtkKWDialog, vtkKWFileBrowserDialog, vtkKWLogDialog, vtkKWMessageDialog, vtkKWSaveImageDialog, vtkKWSimpleEntryDialog, vtkKWSplashScreen, vtkKWTclInteractor, vtkKWTkcon, vtkKWWindow, vtkKWWindowBase, and vtkKWWizardDialog.
| virtual int vtkKWTopLevel::GetRequestedWidth | ( | ) | [protected, virtual] |
Get the width/height of the toplevel as requested by the window manager. Not exposed in public since it is so Tk related. Is is usually used to get the geometry of a window before it is mapped to screen, as requested by the geometry manager.
Reimplemented in vtkKWSplashScreen.
| virtual int vtkKWTopLevel::GetRequestedHeight | ( | ) | [protected, virtual] |
Set/Get the position this toplevel should be centered at when Display() is called. The default setting, Default, is to not set/change the position at all and let the user or the window manager place the toplevel. If set to MasterWindowCenter, the toplevel is centered inside its master window ; if the MasterWindow ivar is not set, it is centered on the screen, which is similar to the ScreenCenter setting. If set to Pointer, the toplevel is centered at the current mouse position. On some sytem, the default setting can lead the window manager to place the window at the upper left corner (0, 0) the first time it is displayed. Since this can be fairly annoying, the MasterWindowCenterFirst and ScreenCenterFirst can be used to center the toplevel relative to the master window or the screen only the first time it is displayed (after that, the toplevel will be displayed wherever it was left). BTX
Reimplemented in vtkKWSplashScreen.
| virtual int vtkKWTopLevel::ComputeDisplayPosition | ( | int * | x, | |
| int * | y | |||
| ) | [protected, virtual] |
Compute the display position (centered or at pointer) Return 1 on success, 0 otherwise
| virtual void vtkKWTopLevel::PostCreate | ( | ) | [protected, virtual] |
Setup transient, protocol, title and other settings right after the widget has been created. This can be used by subclass that really need to create the toplevel manually, but want to have the ivar setup properly
vtkKWWidget* vtkKWTopLevel::MasterWindow [protected] |
Definition at line 318 of file vtkKWTopLevel.h.
vtkKWMenu* vtkKWTopLevel::Menu [protected] |
Definition at line 319 of file vtkKWTopLevel.h.
char* vtkKWTopLevel::Title [protected] |
Definition at line 321 of file vtkKWTopLevel.h.
char* vtkKWTopLevel::WindowClass [protected] |
Definition at line 322 of file vtkKWTopLevel.h.
int vtkKWTopLevel::HideDecoration [protected] |
Definition at line 324 of file vtkKWTopLevel.h.
int vtkKWTopLevel::Modal [protected] |
Definition at line 325 of file vtkKWTopLevel.h.
int vtkKWTopLevel::DisplayPosition [protected] |
Definition at line 326 of file vtkKWTopLevel.h.
1.6.1