Gtk.Expander.prototype.get_resize_toplevel

function get_resize_toplevel():Boolean {
    // Gjs wrapper for gtk_expander_get_resize_toplevel()
}

Returns whether the expander will resize the toplevel widget containing the expander upon resizing and collpasing.

Since 3.2

Returns

the "resize toplevel" setting.