Gtk.Widget.prototype.get_state_flags
function get_state_flags():Gtk.StateFlags { // Gjs wrapper for gtk_widget_get_state_flags() }
Returns the widget state as a flag set. It is worth mentioning that the effective Gtk.StateFlags.insensitive state will be returned, that is, also based on parent insensitivity, even if widget itself is sensitive.
Since 3.0
- Returns
The state flags for widget