Popular Python recipes tagged "metro"http://code.activestate.com/recipes/langs/python/tags/metro/2017-04-16T16:48:22-07:00ActiveState Code RecipesMetro Listbox (Python) 2017-04-16T16:48:22-07:00Miguel Martínez Lópezhttp://code.activestate.com/recipes/users/4189907/http://code.activestate.com/recipes/580785-metro-listbox/ <p style="color: grey"> Python recipe 580785 by <a href="/recipes/users/4189907/">Miguel Martínez López</a> (<a href="/recipes/tags/listbox/">listbox</a>, <a href="/recipes/tags/metro/">metro</a>, <a href="/recipes/tags/tkinter/">tkinter</a>). Revision 2. </p> <p>I provide an alternative listbox for tkinter.</p> <p>Using this trick you can add horizontal and vertical padding to every item and also a width.</p> Metro Accordion for Tkinter (Python) 2017-04-11T15:52:23-07:00Miguel Martínez Lópezhttp://code.activestate.com/recipes/users/4189907/http://code.activestate.com/recipes/580781-metro-accordion-for-tkinter/ <p style="color: grey"> Python recipe 580781 by <a href="/recipes/users/4189907/">Miguel Martínez López</a> (<a href="/recipes/tags/accordion/">accordion</a>, <a href="/recipes/tags/metro/">metro</a>, <a href="/recipes/tags/tkinter/">tkinter</a>, <a href="/recipes/tags/widget/">widget</a>). Revision 5. </p> <p>I provide an animation abstract object to make easy the animation of the accordion.</p> Metro Dialog for Tkinter (Python) 2017-04-11T11:23:46-07:00Miguel Martínez Lópezhttp://code.activestate.com/recipes/users/4189907/http://code.activestate.com/recipes/580780-metro-dialog-for-tkinter/ <p style="color: grey"> Python recipe 580780 by <a href="/recipes/users/4189907/">Miguel Martínez López</a> (<a href="/recipes/tags/dialog/">dialog</a>, <a href="/recipes/tags/metro/">metro</a>, <a href="/recipes/tags/tkinter/">tkinter</a>). Revision 5. </p> <p>I provide here a metro style dialog.</p> <p>It's possible to use a different style of colors subclassing the class <em>Metro_Dialog</em> or providing the corresponding arguments during class initialization. </p> <p>For more metro widgets see here:</p> <p><a href="https://code.activestate.com/recipes/580729-metro-ui-tkinter" rel="nofollow">https://code.activestate.com/recipes/580729-metro-ui-tkinter</a></p> Metro UI Tkinter (Python) 2017-04-13T23:48:27-07:00Miguel Martínez Lópezhttp://code.activestate.com/recipes/users/4189907/http://code.activestate.com/recipes/580729-metro-ui-tkinter/ <p style="color: grey"> Python recipe 580729 by <a href="/recipes/users/4189907/">Miguel Martínez López</a> (<a href="/recipes/tags/colors/">colors</a>, <a href="/recipes/tags/metro/">metro</a>, <a href="/recipes/tags/style/">style</a>, <a href="/recipes/tags/tkinter/">tkinter</a>). Revision 20. </p> <p>I provide here some widgets with windows metro style: QuoteFrame, Metro_LabelFrame. Metro_Button, Container, Label_Container, Pagination.</p> <p>It's possible to provide an ID to the widgets, and then find the widget using the function <em>get_widget_by_ID</em>. </p> <p>Many widgets inherits the background from its container if this value is not provided.</p> <p>To inherit the background makes easy to create colored areas, instead of setting the same background color to every widget of the area.</p>