Popular recipes tagged "frame" but not "gradient" and "difference"http://code.activestate.com/recipes/tags/frame-gradient-difference/2017-05-16T18:15:44-07:00ActiveState Code RecipesFrame with border color for Tkinter (Python)
2017-04-17T11:25:02-07:00Miguel Martínez Lópezhttp://code.activestate.com/recipes/users/4189907/http://code.activestate.com/recipes/580735-frame-with-border-color-for-tkinter/
<p style="color: grey">
Python
recipe 580735
by <a href="/recipes/users/4189907/">Miguel Martínez López</a>
(<a href="/recipes/tags/border/">border</a>, <a href="/recipes/tags/color/">color</a>, <a href="/recipes/tags/frame/">frame</a>, <a href="/recipes/tags/tkinter/">tkinter</a>).
</p>
<p>This trick show how to add a border color to frame. These are the important configurations:</p>
<pre class="prettyprint"><code> highlightbackground="your border color here"
highlightcolor="your border color here"
highlightthickness="the border width"
bd= 0
</code></pre>
Scrolled Frame V2 (Python)
2017-05-06T18:54:47-07:00Miguel Martínez Lópezhttp://code.activestate.com/recipes/users/4189907/http://code.activestate.com/recipes/580797-scrolled-frame-v2/
<p style="color: grey">
Python
recipe 580797
by <a href="/recipes/users/4189907/">Miguel Martínez López</a>
(<a href="/recipes/tags/frame/">frame</a>, <a href="/recipes/tags/scrolling/">scrolling</a>, <a href="/recipes/tags/tkinter/">tkinter</a>).
Revision 4.
</p>
<p>This is another version of scrolled frame. It doesn't use Canvas. Instead it does the trick using place geometry manager.</p>
<p>Based on these codes:</p>
<ul>
<li><p>https://github.com/alejandroautalan/pygubu/blob/master/pygubu/widgets/tkscrolledframe.py</p></li>
<li><p>http://wiki.tcl.tk/9223 </p></li>
</ul>
<p>This is my other version of scrolled frame:</p>
<p><a href="https://code.activestate.com/recipes/580640-scrolling-frame-with-mouse-wheel-support/" rel="nofollow">https://code.activestate.com/recipes/580640-scrolling-frame-with-mouse-wheel-support/</a></p>
Stacked frame for Tkinter (Python)
2017-04-13T18:20:26-07:00Miguel Martínez Lópezhttp://code.activestate.com/recipes/users/4189907/http://code.activestate.com/recipes/580784-stacked-frame-for-tkinter/
<p style="color: grey">
Python
recipe 580784
by <a href="/recipes/users/4189907/">Miguel Martínez López</a>
(<a href="/recipes/tags/animation/">animation</a>, <a href="/recipes/tags/frame/">frame</a>, <a href="/recipes/tags/stacked/">stacked</a>, <a href="/recipes/tags/tkinter/">tkinter</a>).
Revision 2.
</p>
<p>I provide here a stacked frame widget with possibility to use animation for the transition.</p>
Collpsible 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>
Scrolling frame with mouse wheel support (Python)
2017-05-16T18:15:44-07:00Miguel Martínez Lópezhttp://code.activestate.com/recipes/users/4189907/http://code.activestate.com/recipes/580640-scrolling-frame-with-mouse-wheel-support/
<p style="color: grey">
Python
recipe 580640
by <a href="/recipes/users/4189907/">Miguel Martínez López</a>
(<a href="/recipes/tags/frame/">frame</a>, <a href="/recipes/tags/mousewheel/">mousewheel</a>, <a href="/recipes/tags/scrolling/">scrolling</a>, <a href="/recipes/tags/tkinter/">tkinter</a>).
Revision 26.
</p>
<p>Scrolling frame in Tkinter with mouse wheel support for different platforms.</p>