Package: gtk

Accessor gtk-widget-visible

Lambda List

gtk-widget-visible (object)

Syntax

(gtk-widget-visible object) => setting
(setf (gtk-widget-visible object) setting)

Arguments

object -- a gtk-widget object
setting -- a boolean whether the widget is visible

Details

Accessor of the visible slot of the gtk-widget class.

The gtk-widget-visible slot access function determines whether the widget is visible. The (setf gtk-widget-visible) slot access function sets the visibility state. Note that this does not take into account whether the parent of the widget is also visible or the widget is obscured in any way.

This function simply calls the gtk-widget-show or gtk-widget-hide functions but is nicer to use when the visibility of the widget depends on some condition.
 

See also

*2021-12-15