# Way to collapse InterfaceGl groups?

**URL:** <https://discourse.libcinder.org/t/way-to-collapse-interfacegl-groups/490>\
**Category:** Uncategorized\
**Created:** [January 7, 2017, 6:38pm UTC](https://discourse.libcinder.org/t/way-to-collapse-interfacegl-groups/490 "2017-01-07T18:38:37Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![camb416](https://yyz2.discourse-cdn.com/flex030/user_avatar/discourse.libcinder.org/camb416/32/237_2.png) [@camb416](https://discourse.libcinder.org/u/camb416)\
**Post date:** [January 7, 2017, 6:38pm UTC](https://discourse.libcinder.org/t/way-to-collapse-interfacegl-groups/490/1 "2017-01-07T18:38:38Z")

</div>

Hi all,

Quick question: is there currently a way to have groups in InterfaceGl default to collapsed?

I found the “opened” Option in Anttweakbar, but am not seeing it implemented anywhere in InterfaceGl  
[http://anttweakbar.sourceforge.net/doc/tools:anttweakbar:varparamsyntax#opened](http://anttweakbar.sourceforge.net/doc/tools:anttweakbar:varparamsyntax#opened)

Thanks in advance!!!

---

<div class="post-metadata">

**Author:** ![navadria](https://yyz2.discourse-cdn.com/flex030/user_avatar/discourse.libcinder.org/navadria/32/90_2.png) [@navadria](https://discourse.libcinder.org/u/navadria)\
**Post date:** [January 7, 2017, 7:05pm UTC](https://discourse.libcinder.org/t/way-to-collapse-interfacegl-groups/490/2 "2017-01-07T19:05:59Z")

</div>

You can use `setOptions` for the properties that are not wrapped in the Cinder class.  
In this case it would be something like `mParams->setOptions("Group 1", "opened=false");`

If you want to apply it to the whole params window just use `""` as the name. For example:  
`mParams->setOptions("", "valueswidth=100");`

---

<div class="post-metadata">

**Author:** ![camb416](https://yyz2.discourse-cdn.com/flex030/user_avatar/discourse.libcinder.org/camb416/32/237_2.png) [@camb416](https://discourse.libcinder.org/u/camb416)\
**Post date:** [January 7, 2017, 8:05pm UTC](https://discourse.libcinder.org/t/way-to-collapse-interfacegl-groups/490/3 "2017-01-07T20:05:50Z")

</div>

Amazing, thank you @navadria!!!

Is there a list of all the available params in setOptions somewhere? I want to customize all the things now!

---

<div class="post-metadata">

**Author:** ![gabor\_papp](https://yyz2.discourse-cdn.com/flex030/user_avatar/discourse.libcinder.org/gabor_papp/32/769_2.png) [@gabor\_papp](https://discourse.libcinder.org/u/gabor_papp)\
**Post date:** [January 7, 2017, 10:38pm UTC](https://discourse.libcinder.org/t/way-to-collapse-interfacegl-groups/490/4 "2017-01-07T22:38:37Z")

</div>

Check out the AntTweakBar documentation.  
Var params: [http://anttweakbar.sourceforge.net/doc/tools:anttweakbar:varparamsyntax](http://anttweakbar.sourceforge.net/doc/tools:anttweakbar:varparamsyntax)  
Bar params: [http://anttweakbar.sourceforge.net/doc/tools:anttweakbar:twbarparamsyntax](http://anttweakbar.sourceforge.net/doc/tools:anttweakbar:twbarparamsyntax)

---

<div class="post-metadata">

**Author:** ![camb416](https://yyz2.discourse-cdn.com/flex030/user_avatar/discourse.libcinder.org/camb416/32/237_2.png) [@camb416](https://discourse.libcinder.org/u/camb416)\
**Post date:** [January 8, 2017, 1:49am UTC](https://discourse.libcinder.org/t/way-to-collapse-interfacegl-groups/490/5 "2017-01-08T01:49:34Z")

</div>

awesome, thanks @gabor_papp!
