The type of the custom attribute field
Space-separated CSS class names.
Array of CSS class names.
Whether input events pass through this widget to widgets below.
Inline CSS applied to this widget.
CSS cursor name displayed when the pointer hovers this widget.
Horizontal alignment: 'fill', 'start', 'end', 'center', or 'baseline'.
Whether this widget has been destroyed.
Vertical alignment: 'fill', 'start', 'end', 'center', or 'baseline'.
Binds a widget property to a GObject property.
this for chaining
Connects to a GObject signal and automatically disconnects on widget destroy.
The callback is also invoked once immediately (idle) with the current state.
The GObject to observe
Callback invoked on signal emission
Optionalsignal: stringThe signal name to connect to
this for chaining
Checks whether the pointer is currently over this widget.
Optionalevent: EventOptional GDK event to use for coordinates
true if the pointer is within the widget bounds
Registers a keyboard shortcut on this widget.
Can be called with just a key, or with modifier keys + key.
Connects a callback to a signal on this widget.
The signal name
The callback
this for chaining
Calls a callback at a regular interval, automatically stopping on widget destroy.
Interval in milliseconds
The callback to invoke
this for chaining
Sets inline CSS on this widget, wrapping in * { ... } if needed.
CSS string
Adds or removes a CSS class name.
The CSS class name
If true (default), adds the class; if false, removes it
Base class that adds AGS widget features to
Gtk.Widget.Provides reactive property binding, signal hooking, CSS management, cursor handling, keyboard shortcuts, and other convenience methods. Individual widget types (Box, Label, etc.) mix in this class's prototype via register.