Gtk.Widget.prototype.get_sensitive
function get_sensitive():Boolean { // Gjs wrapper for gtk_widget_get_sensitive() }
Returns the widget's sensitivity (in the sense of returning the value that has been set using Gtk.set_sensitive).
The effective sensitivity of a widget is however determined by both its own and its parent widget's sensitivity. See Gtk.is_sensitive.
Since 2.18
- Returns
true if the widget is sensitive