# Is it possible to expand/collapes all panels in a region with a keystroke or shortcut?

In particular, I'm looking for a simple way to collapse all the N and T panels. I'm using a number of addons and things are starting to get a little cumbersome wheeling up and down to find something so I'd like to collapse them all at once and then expand just the one I want.

If not, is there an API that could make use of?

thanks

• hovering over a collapsible region and pressing A toggles it, but I don't know about all at once.
– gandalf3
Sep 20, 2013 at 20:15

• If you only care about the panel's default state, it can be set with Panel.bl_options.