set_visible


Description:

public void set_visible (bool visible)

Sets the visibility state of this.

Note that setting this to true doesn’t mean the widget is actually viewable, see [ [email protected]_visible].

This function simply calls [[email protected]] or [[email protected]] but is nicer to use when the visibility of the widget depends on some condition.

Parameters:

this

a `GtkWidget`

visible

whether the widget should be shown or not




2022 vala-language.org