Popular recipes tagged "collapse"http://code.activestate.com/recipes/tags/collapse/2017-03-06T12:40:28-08:00ActiveState Code RecipesCollpsible frame for Tkinter or Collapsible panel (Python)
2017-03-06T12:40:28-08:00Miguel Martínez Lópezhttp://code.activestate.com/recipes/users/4189907/http://code.activestate.com/recipes/580760-collpsible-frame-for-tkinter-or-collapsible-panel/
<p style="color: grey">
Python
recipe 580760
by <a href="/recipes/users/4189907/">Miguel Martínez López</a>
(<a href="/recipes/tags/collapse/">collapse</a>, <a href="/recipes/tags/collapsible/">collapsible</a>, <a href="/recipes/tags/frame/">frame</a>, <a href="/recipes/tags/panel/">panel</a>, <a href="/recipes/tags/tkinter/">tkinter</a>).
Revision 6.
</p>
<p>Click on button and frame will collapse or expand.</p>
<p>If you want to fit the frame to width of contents, call method "udpate_width()".</p>
<p>Simple API:</p>
<ul>
<li>open()</li>
<li>close()</li>
<li>toggle()</li>
<li>update_width()</li>
</ul>