Gtk.Widget.prototype.get_can_focus
function get_can_focus():Boolean { // Gjs wrapper for gtk_widget_get_can_focus() }
Determines whether widget can own the input focus. See Gtk.set_can_focus.
Since 2.18
- Returns
true if widget can own the input focus, false otherwise