Window (gb.gtk)

This class implements a window.

Esta classe herda Container.

Esta classe é criável.

Esta classe funciona como um array apenas leitura.

Constantes
Above  
Below  
Normal  

Propriedades
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  
NoTabFocus  
Parent  
PopupMenu  
Previous  
Proxy  
RightToLeft  
ScreenX  
ScreenY  
Tag  
Tooltip  
Top  
Tracking  
Visible  
W  
Width  
Window  
X  
Y  

Métodos
Activate  
Center  
Close  
Raise  
Show  
ShowDialog  
ShowModal  
ShowPopup  

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

Eventos
Activate  
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  

Warning...

Properties/function/events related to positioning like Form.X, Form.Y, Form.Move, Form_Move() will not work or give correct information with wayland.

Gambas cannot see the top level window/screen with wayland.
So it considers the applications main Form as the top level window.
This causes problems with events and getting/setting positions will not work as expected as nothing relates to the underlying screen size.

A Form can only be moved reliably with wayland if it is in it's own larger container.

See also