Action.setVisible

void setVisible(bool visible)

Sets the :visible property of the action to visible. Note that this doesn’t necessarily mean effective visibility. See [gtk.action.Action.isVisible] for that.

Parameters

visibletrue to make the action visible

Deprecated

Use #GAction instead, and control and monitor the state of

#GtkActionable widgets directly