Gtk.Widget.prototype.get_has_window

function get_has_window():Boolean {
    // Gjs wrapper for gtk_widget_get_has_window()
}

Determines whether widget has a Gdk.Window of its own. See Gtk.set_has_window.

Since 2.18

Returns

true if widget has a window, false otherwise