Gtk.Widget.prototype.get_visible
function get_visible():Boolean { // Gjs wrapper for gtk_widget_get_visible() }
Determines whether the widget is visible. If you want to take into account whether the widget's parent is also marked as visible, use Gtk.is_visible instead.
This function does not check if the widget is obscured in any way.
See Gtk.set_visible.
Since 2.18
- Returns
true if the widget is visible