GtkExpander::set_expanded

void set_expanded(bool expanded);

Use this method to set the state of the specified GtkExpander. Set to true if you want the child widget to be revealed, and false if you want the child widget to be hidden.

See also: get_expanded()