Abstract base class for all top-level windows
Create server-side resources.
Reimplemented from FXShell.
Reimplemented in FXPrintDialog, FXToolbarShell, AFXMainWindow, and AFXDialog.
Return the default height of this window.
Reimplemented from FXComposite.
Reimplemented in FXToolbarShell, and AFXMainWindow.
Return the default width of this window.
Reimplemented from FXComposite.
Reimplemented in FXToolbarShell, and AFXMainWindow.
Hide this window.
Reimplemented from FXWindow.
Reimplemented in AFXManagerMenuDB, AFXDialog, and AFXMessageDialog.
Move this window to the specified position in the parent's coordinates.
Reimplemented from FXWindow.
Argument | Type | Default | Description |
x | Int | ||
y | Int |
Position the window based on placement.
Argument | Type | Default | Description |
placement | Int |
Move and resize this window in the parent's coordinates.
Reimplemented from FXWindow.
Argument | Type | Default | Description |
x | Int | ||
y | Int | ||
w | Int | ||
h | Int |
Resize this window to the specified width and height.
Reimplemented from FXWindow.
Argument | Type | Default | Description |
w | Int | ||
h | Int |
Change title and border decorations.
Argument | Type | Default | Description |
decorations | Int |
Change horizontal spacing between children.
Argument | Type | Default | Description |
hs | Int |
Change packing hints for children.
Argument | Type | Default | Description |
ph | Int |
Change vertical spacing between children.
Argument | Type | Default | Description |
vs | Int |
Show this window.
Reimplemented from FXWindow.
Reimplemented in AFXDialog, AFXFileDialog, and AFXMessageDialog.
ID_ICONIFY | Iconify the window. |
ID_DEICONIFY | Deiconify the window. |
ID_QUERY_DOCK | Toolbar asks to dock. |
Title and border decorations
DECOR_NONE | Borderless window. |
DECOR_TITLE | Window title. |
DECOR_MINIMIZE | Minimize button. |
DECOR_MAXIMIZE | Maximize button. |
DECOR_CLOSE | Close button. |
DECOR_BORDER | Border. |
DECOR_RESIZE | Resize handles. |
DECOR_MENU | Window menu. |
Initial window placement
PLACEMENT_DEFAULT | Place it at the default size and location. |
PLACEMENT_VISIBLE | Place window to be fully visible. |
PLACEMENT_CURSOR | Place it under the cursor position. |
PLACEMENT_OWNER | Place it centered on its owner. |
PLACEMENT_SCREEN | Place it centered on the screen. |
PLACEMENT_MAXIMIZED | Place it maximized to the screen size. |