Most viewed recipes tagged "user_interface"http://code.activestate.com/recipes/tags/user_interface/views/2017-01-05T16:57:15-08:00ActiveState Code RecipesBasic Gtk.TreeView Example with two sortable columns (Python)
2013-11-27T13:56:38-08:00Anonimistahttp://code.activestate.com/recipes/users/4188571/http://code.activestate.com/recipes/578772-basic-gtktreeview-example-with-two-sortable-column/
<p style="color: grey">
Python
recipe 578772
by <a href="/recipes/users/4188571/">Anonimista</a>
(<a href="/recipes/tags/gtk/">gtk</a>, <a href="/recipes/tags/user_interface/">user_interface</a>).
</p>
<p>Basic Gtk.TreeView Example with two sortable columns</p>
Give Python code a web plus command-line interface with hug (Python)
2017-01-05T16:57:15-08:00Vasudev Ramhttp://code.activestate.com/recipes/users/4173351/http://code.activestate.com/recipes/580742-give-python-code-a-web-plus-command-line-interface/
<p style="color: grey">
Python
recipe 580742
by <a href="/recipes/users/4173351/">Vasudev Ram</a>
(<a href="/recipes/tags/cli/">cli</a>, <a href="/recipes/tags/commandline/">commandline</a>, <a href="/recipes/tags/hug/">hug</a>, <a href="/recipes/tags/library/">library</a>, <a href="/recipes/tags/python/">python</a>, <a href="/recipes/tags/python3/">python3</a>, <a href="/recipes/tags/user_interface/">user_interface</a>, <a href="/recipes/tags/web/">web</a>, <a href="/recipes/tags/web_server/">web_server</a>).
</p>
<p>This recipe shows how to take a Python function and wrap it with both a web and a command-line interface, somewhat easily, using the hug Python library. The example used shows how to wrap a function that uses the psutil library to get information on disk partitions. So you can see the disk partition info either via the web browser or the command line. The code for the recipe is shown below. It is also possible to wrap multiple functions in the same Python file, and expose all of them via both the web and the command-line.</p>
<p>More information and multiple sample outputs are available here:</p>
<p><a href="https://jugad2.blogspot.in/2017/01/give-your-python-function-webcli-hug.html" rel="nofollow">https://jugad2.blogspot.in/2017/01/give-your-python-function-webcli-hug.html</a></p>
List MySql databases in a Gtk.TreeView (Python)
2013-11-27T14:03:21-08:00Anonimistahttp://code.activestate.com/recipes/users/4188571/http://code.activestate.com/recipes/578774-list-mysql-databases-in-a-gtktreeview/
<p style="color: grey">
Python
recipe 578774
by <a href="/recipes/users/4188571/">Anonimista</a>
(<a href="/recipes/tags/database/">database</a>, <a href="/recipes/tags/gtk/">gtk</a>, <a href="/recipes/tags/gui/">gui</a>, <a href="/recipes/tags/mysqldb/">mysqldb</a>, <a href="/recipes/tags/user_interface/">user_interface</a>).
</p>
<p>List MySql databases in a Gtk.TreeView</p>
Use Gtk.TreeView to browse MySql databases (Python)
2013-11-27T14:06:20-08:00Anonimistahttp://code.activestate.com/recipes/users/4188571/http://code.activestate.com/recipes/578775-use-gtktreeview-to-browse-mysql-databases/
<p style="color: grey">
Python
recipe 578775
by <a href="/recipes/users/4188571/">Anonimista</a>
(<a href="/recipes/tags/gui/">gui</a>, <a href="/recipes/tags/mysqldb/">mysqldb</a>, <a href="/recipes/tags/user_interface/">user_interface</a>).
</p>
<p>Use Gtk.TreeView to browse MySql database structure from database to tables and views and to columns</p>
Simple Buttonbar Utility Version 1 (Python)
2010-02-09T23:02:40-08:00Phil Risthttp://code.activestate.com/recipes/users/4171119/http://code.activestate.com/recipes/577038-simple-buttonbar-utility-version-1/
<p style="color: grey">
Python
recipe 577038
by <a href="/recipes/users/4171119/">Phil Rist</a>
(<a href="/recipes/tags/command_execution/">command_execution</a>, <a href="/recipes/tags/user_interface/">user_interface</a>).
Revision 4.
</p>
<p>Display buttonbar generated from .ini style file of command templates. Commandline contains path used to generate commands. Templates can contain macros which will be replaced by parts of the file path. Template 'copy {a} {u}\{f}' could copy selected file {a} to backup directory {u} with same file name {f}. Command line specifies name of .ini file and which sections to include in buttonbar. Not all need be used.</p>
A Moderately Simple Buttonbar Program (Python)
2010-02-10T02:08:37-08:00Phil Risthttp://code.activestate.com/recipes/users/4171119/http://code.activestate.com/recipes/577039-a-moderately-simple-buttonbar-program/
<p style="color: grey">
Python
recipe 577039
by <a href="/recipes/users/4171119/">Phil Rist</a>
(<a href="/recipes/tags/command_execution/">command_execution</a>, <a href="/recipes/tags/user_interface/">user_interface</a>).
</p>
<p>This buttonbar program is similar to my ButtonBarV1 <a href="http://code.activestate.com/recipes/577038/">recipe 577038</a> except a file pattern such as c:\source\python\new*.py can be entered instead of a single file. This will allow you to scroll through a list of matching files selecting the files you want to process. You must still select the command separately for each file. Besides the file pattern or file a menu file and an optional list of section names are specified on the command line.</p>