Gtk.Widget.prototype.set_has_window
function set_has_window(has_window:Boolean):void { // Gjs wrapper for gtk_widget_set_has_window() }
Specifies whether widget has a Gdk.Window of its own. Note that all realized widgets have a non-null "window" pointer (Gtk.Widget.prototype.get_window never returns a null window when a widget is realized), but for many of them it's actually the Gdk.Window of one of its parent widgets. Widgets that do not create a %window for themselves in Gtk.realize must announce this by calling this function with has_window = false.
This function should only be called by widget implementations, and they should call it in their init() function.
Since 2.18
- has_window
whether or not widget has a window.