Gimp.Item.prototype.set_expanded

function set_expanded(expanded: Boolean): Boolean {
    // Gjs wrapper for gimp_item_set_expanded()
}
  

Sets the expanded state of the item.

This procedure expands or collapses the item.

Since 2.10

expanded

TRUE to expand the item, FALSE to collapse the item.

Returns

TRUE on success.