Dialog (hwx.gui)

A top-level window mostly used for short-term tasks and brief communications with the user.

Inherits:

Properties

Public Methods

positionUnder (self, relativeTo, checkWasMoved=True, xoffset=0)

Property Details

caption()

The text displayed in the titlebar.

modal()

Blocks input to other visible windows.

position()

The location within the main window.

Method Details

positionUnder(self, relativeTo, checkWasMoved=True, xoffset=0)

Positions the dialog under or over the relataveTo widget.

param relativeTo:
 The widget to position relative to.
type relativeTo:
 Widget
param checkWasMoved:
 Determines whether to check if widget is moved or not.
type checkWasMoved:
 bool, optional
param xoffset:The offset value for the widget for x-axis.
type xoffset:int, optional