Gtk.Widget.prototype.get_window

function get_window():Gdk.Window {
    // Gjs wrapper for gtk_widget_get_window()
}

Returns the widget's window if it is realized, null otherwise

Since 2.14

Returns

widget's window.