Window (gb.gtk)

This class implements a window.

This class inherits Container.

This class is creatable.

This class acts like a read-only array.

Constants
Above  
Below  
Normal  

Properties
Arrangement  
AutoResize  
Border   Return or set if the window has a border.
Caption  
Centered  
Closed  
Controls  
FullScreen  
Geometry  
Icon  
Indent  
Invert  
Margin  
Mask  
Maximized  
Menus  
MinH  
MinHeight  
MinW  
MinWidth  
Minimized  
Modal  
Opacity  
Padding  
Persistent  
Picture  
Resizable   Constant used by the Border property to indicate that the window is freely resizable.
Screen  
SkipTaskbar  
Spacing  
Stacking  
Sticky  
TakeFocus  
Text  
Title  
TopLevel  
TopOnly  
Transparent  
Utility  

Inherited properties
Action  
Background   Returns or sets the background color used by the control.
Children  
ClientH  
ClientHeight  
ClientW  
ClientWidth  
ClientX  
ClientY  
Cursor   Use this property for assigning a custom cursor to a control.
Design   Indicates that the control is in design mode.
Direction  
Drop   Returns or sets if a control accepts drops.
Enabled   Indicates that the control is enabled.
Expand   Returns or sets if a control will expand if included in a container that arranges its contents.
Font   Returns or sets the font used to draw text in the control.
Foreground   Returns or sets the foreground color used by the control.
H  
Handle  
HasFocus  
Height  
Hovered  
Id  
Ignore  
Left  
Mouse   Returns or sets the appearence of the cursor when it points inside the control.
Name  
Next  
NoAnimation  
NoTabFocus  
Parent  
PopupMenu  
Previous  
Proxy  
ProxyFor  
RightToLeft  
ScreenX  
ScreenY  
Tag  
Tooltip  
Top  
Tracking  
Visible  
W  
Width  
Window  
X  
Y  

Methods
Activate  
Center  
Close  
Raise  
Show  
ShowDialog  
ShowModal  
ShowPopup  
StartMove  
StartResize  

Inherited methods
Delete  
Drag  
FindChild  
Grab  
Hide  
Lower  
Move  
MoveScaled  
Refresh  
Reparent  
Resize  
ResizeScaled  
SetFocus  

Events
Activate  
Change  
Close  
Deactivate  
Font  
Hide  
Icon  
Move  
Open  
Resize  
Show  
State  
Title  

Inherited events
Arrange  
BeforeArrange  
DblClick  
Drag  
DragLeave  
DragMove  
Drop  
Enter  
GotFocus  
KeyPress  
KeyRelease  
Leave  
LostFocus  
Menu  
MouseDown  
MouseDrag  
MouseMove  
MouseUp  
MouseWheel  
NewChild  

Properties, methods and events related to the window position do not work with Wayland.

There is nothing Gambas can do about this, as soon as the Wayland developers refuse to let the applications see the global desktop coordinate space.

See Wayland and Gambas for more details.

See also