Gtk.Expander.prototype.get_expanded

function get_expanded():Boolean {
    // Gjs wrapper for gtk_expander_get_expanded()
}

Queries a Gtk.Expander and returns its current state. Returns true if the child widget is revealed.

See Gtk.set_expanded.

Since 2.4

Returns

the current state of the expander