Internet radio browser GUI for music/video streams from various directory services.

⌈⌋ ⎇ branch:  streamtuner2


Update of "api-uikit"

Overview

Artifact ID: 561fd5696ec6bec29696826ceee336c68769803a
Page Name:api-uikit
Date: 2017-02-20 15:12:25
Original User: mario
Mimetype:text/html
Next 5b051c904eb5f8d96e4a58dfd8e7e21f17c38ddc
Content
<html><head><title>Python: module uikit</title>

<table width="100%" cellspacing=0 cellpadding=2 border=0 summary="heading">
<tr bgcolor="#7799ee">
<td valign=bottom>&nbsp;<br>
<font color="#ffffff" face="helvetica, arial">&nbsp;<br><big><big><strong>uikit</strong></big></big></font></td
><td align=right valign=bottom
><font color="#ffffff" face="helvetica, arial"><a href=".">index</a><br><a href="streamtuner2/uikit.py">/home/mario/projects/streamtuner2/uikit.py</a></font></td></tr></table>
    <p><tt>#&nbsp;encoding:&nbsp;UTF-8<br>
#&nbsp;api:&nbsp;python<br>
#&nbsp;type:&nbsp;functions<br>
#&nbsp;title:&nbsp;<a href="#uikit">uikit</a>&nbsp;helper&nbsp;functions<br>
#&nbsp;description:&nbsp;simplify&nbsp;usage&nbsp;of&nbsp;some&nbsp;gtk&nbsp;widgets<br>
#&nbsp;version:&nbsp;2.0<br>
#&nbsp;author:&nbsp;mario<br>
#&nbsp;license:&nbsp;public&nbsp;domain<br>
#<br>
#&nbsp;Wrappers&nbsp;around&nbsp;gtk&nbsp;methods.&nbsp;The&nbsp;TreeView&nbsp;method&nbsp;.columns()&nbsp;allows<br>
#&nbsp;to&nbsp;fill&nbsp;a&nbsp;treeview.&nbsp;It&nbsp;adds&nbsp;columns&nbsp;and&nbsp;data&nbsp;rows&nbsp;with&nbsp;a&nbsp;mapping<br>
#&nbsp;dictionary&nbsp;(which&nbsp;specifies&nbsp;many&nbsp;options&nbsp;and&nbsp;data&nbsp;positions).<br>
#<br>
#&nbsp;The&nbsp;.tree()&nbsp;method&nbsp;is&nbsp;a&nbsp;trimmed-down&nbsp;variant&nbsp;of&nbsp;that,&nbsp;creates&nbsp;a<br>
#&nbsp;single&nbsp;column,&nbsp;but&nbsp;has&nbsp;threaded&nbsp;entries.<br>
#<br>
#&nbsp;With&nbsp;the&nbsp;methodes&nbsp;.app_state()&nbsp;and&nbsp;.app_restore()&nbsp;named&nbsp;gtk&nbsp;widgets<br>
#&nbsp;can&nbsp;be&nbsp;queried&nbsp;for&nbsp;attributes.&nbsp;The&nbsp;methods&nbsp;return&nbsp;a&nbsp;saveable&nbsp;dict,<br>
#&nbsp;which&nbsp;contain&nbsp;current&nbsp;layout&nbsp;options&nbsp;for&nbsp;a&nbsp;few&nbsp;Widget&nbsp;types.&nbsp;Saving<br>
#&nbsp;and&nbsp;restoring&nbsp;must&nbsp;be&nbsp;handled&nbsp;elsewhere.</tt></p>
<p>
<table width="100%" cellspacing=0 cellpadding=2 border=0 summary="section">
<tr bgcolor="#aa55cc">
<td colspan=3 valign=bottom>&nbsp;<br>
<font color="#ffffff" face="helvetica, arial"><big><strong>Modules</strong></big></font></td></tr>
    
<tr><td bgcolor="#aa55cc"><tt>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</tt></td><td>&nbsp;</td>
<td width="100%"><table width="100%" summary="list"><tr><td width="25%" valign=top><a href="gtk.gdk.html">gtk.gdk</a><br>
<a href="https://docs.python.org/3/library/base64.html">base64</a><br>
<a href="https://docs.python.org/3/library/copy.html">copy</a><br>
</td><td width="25%" valign=top><a href="https://docs.python.org/3/library/gobject.html">gobject</a><br>
<a href="https://docs.python.org/3/library/gtk.html">gtk</a><br>
<a href="https://docs.python.org/3/library/inspect.html">inspect</a><br>
</td><td width="25%" valign=top><a href="https://docs.python.org/3/library/os.html">os</a><br>
<a href="https://docs.python.org/3/library/pygtk.html">pygtk</a><br>
<a href="https://docs.python.org/3/library/re.html">re</a><br>
</td><td width="25%" valign=top><a href="https://docs.python.org/3/library/sys.html">sys</a><br>
</td></tr></table></td></tr></table><p>
<table width="100%" cellspacing=0 cellpadding=2 border=0 summary="section">
<tr bgcolor="#ee77aa">
<td colspan=3 valign=bottom>&nbsp;<br>
<font color="#ffffff" face="helvetica, arial"><big><strong>Classes</strong></big></font></td></tr>
    
<tr><td bgcolor="#ee77aa"><tt>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</tt></td><td>&nbsp;</td>
<td width="100%"><dl>
<dt><font face="helvetica, arial"><a href="__builtin__.html#object">__builtin__.object</a>
</font></dt><dd>
<dl>
<dt><font face="helvetica, arial"><a href="#AuxiliaryWindow">AuxiliaryWindow</a>
</font></dt><dd>
<dl>
<dt><font face="helvetica, arial"><a href="#AboutStreamtuner2">AboutStreamtuner2</a>
</font></dt></dl>
</dd>
</dl>
</dd>
<dt><font face="helvetica, arial"><a href="gtk.html#ComboBox">gtk.ComboBox</a>(<a href="gtk.html#Bin">gtk.Bin</a>, <a href="gtk.html#CellEditable">gtk.CellEditable</a>, <a href="gtk.html#CellLayout">gtk.CellLayout</a>)
</font></dt><dd>
<dl>
<dt><font face="helvetica, arial"><a href="#ComboBoxText">ComboBoxText</a>
</font></dt></dl>
</dd>
<dt><font face="helvetica, arial"><a href="#uikit">uikit</a>
</font></dt></dl>
 <p>
<table width="100%" cellspacing=0 cellpadding=2 border=0 summary="section">
<tr bgcolor="#ffc8d8">
<td colspan=3 valign=bottom>&nbsp;<br>
<font color="#000000" face="helvetica, arial"><a name="AboutStreamtuner2">class <strong>AboutStreamtuner2</strong></a>(<a href="#AuxiliaryWindow">AuxiliaryWindow</a>)</font></td></tr>
    
<tr bgcolor="#ffc8d8"><td rowspan=2><tt>&nbsp;&nbsp;&nbsp;</tt></td>
<td colspan=2><tt>#&nbsp;Auxiliary&nbsp;window:&nbsp;about&nbsp;dialog<br>&nbsp;</tt></td></tr>
<tr><td>&nbsp;</td>
<td width="100%"><dl><dt>Method resolution order:</dt>
<dd><a href="#AboutStreamtuner2">AboutStreamtuner2</a></dd>
<dd><a href="#AuxiliaryWindow">AuxiliaryWindow</a></dd>
<dd><a href="__builtin__.html#object">__builtin__.object</a></dd>
</dl>
<hr>
Methods defined here:<br>
<dl><dt><a name="AboutStreamtuner2-__init__"><strong>__init__</strong></a>(self, parent)</dt></dl>

<hr>
Methods inherited from <a href="#AuxiliaryWindow">AuxiliaryWindow</a>:<br>
<dl><dt><a name="AboutStreamtuner2-__getattr__"><strong>__getattr__</strong></a>(self, name)</dt></dl>

<hr>
Data descriptors inherited from <a href="#AuxiliaryWindow">AuxiliaryWindow</a>:<br>
<dl><dt><strong>__dict__</strong></dt>
<dd><tt>dictionary&nbsp;for&nbsp;instance&nbsp;variables&nbsp;(if&nbsp;defined)</tt></dd>
</dl>
<dl><dt><strong>__weakref__</strong></dt>
<dd><tt>list&nbsp;of&nbsp;weak&nbsp;references&nbsp;to&nbsp;the&nbsp;object&nbsp;(if&nbsp;defined)</tt></dd>
</dl>
</td></tr></table> <p>
<table width="100%" cellspacing=0 cellpadding=2 border=0 summary="section">
<tr bgcolor="#ffc8d8">
<td colspan=3 valign=bottom>&nbsp;<br>
<font color="#000000" face="helvetica, arial"><a name="AuxiliaryWindow">class <strong>AuxiliaryWindow</strong></a>(<a href="__builtin__.html#object">__builtin__.object</a>)</font></td></tr>
    
<tr bgcolor="#ffc8d8"><td rowspan=2><tt>&nbsp;&nbsp;&nbsp;</tt></td>
<td colspan=2><tt>#&nbsp;Encapsulates&nbsp;references&nbsp;to&nbsp;gtk&nbsp;objects&nbsp;AND&nbsp;properties&nbsp;in&nbsp;main&nbsp;window,<br>
#&nbsp;which&nbsp;allows&nbsp;to&nbsp;use&nbsp;self.&nbsp;and&nbsp;main.&nbsp;almost&nbsp;interchangably.<br>
#<br>
#&nbsp;This&nbsp;is&nbsp;a&nbsp;kludge&nbsp;to&nbsp;keep&nbsp;gtkBuilder&nbsp;widgets&nbsp;accessible;&nbsp;so&nbsp;just&nbsp;one<br>
#&nbsp;instance&nbsp;has&nbsp;to&nbsp;be&nbsp;built.&nbsp;Also&nbsp;ties&nbsp;main.channels{}&nbsp;or&nbsp;.features{}<br>
#&nbsp;dicts&nbsp;together&nbsp;for&nbsp;feature&nbsp;windows.&nbsp;Used&nbsp;by&nbsp;search,&nbsp;config,&nbsp;streamedit.<br>&nbsp;</tt></td></tr>
<tr><td>&nbsp;</td>
<td width="100%">Methods defined here:<br>
<dl><dt><a name="AuxiliaryWindow-__getattr__"><strong>__getattr__</strong></a>(self, name)</dt></dl>

<dl><dt><a name="AuxiliaryWindow-__init__"><strong>__init__</strong></a>(self, parent)</dt></dl>

<hr>
Data descriptors defined here:<br>
<dl><dt><strong>__dict__</strong></dt>
<dd><tt>dictionary&nbsp;for&nbsp;instance&nbsp;variables&nbsp;(if&nbsp;defined)</tt></dd>
</dl>
<dl><dt><strong>__weakref__</strong></dt>
<dd><tt>list&nbsp;of&nbsp;weak&nbsp;references&nbsp;to&nbsp;the&nbsp;object&nbsp;(if&nbsp;defined)</tt></dd>
</dl>
</td></tr></table> <p>
<table width="100%" cellspacing=0 cellpadding=2 border=0 summary="section">
<tr bgcolor="#ffc8d8">
<td colspan=3 valign=bottom>&nbsp;<br>
<font color="#000000" face="helvetica, arial"><a name="ComboBoxText">class <strong>ComboBoxText</strong></a>(<a href="gtk.html#ComboBox">gtk.ComboBox</a>)</font></td></tr>
    
<tr bgcolor="#ffc8d8"><td rowspan=2><tt>&nbsp;&nbsp;&nbsp;</tt></td>
<td colspan=2><tt>#&nbsp;Text-only&nbsp;dropdown&nbsp;list.<br>
#<br>
#&nbsp;Necessary&nbsp;because&nbsp;gtk.<a href="#ComboBoxText">ComboBoxText</a>&nbsp;binding&nbsp;is&nbsp;absent&nbsp;in&nbsp;debian&nbsp;packages<br>
#&nbsp;https://bugzilla.gnome.org/show_bug.cgi?id=660659<br>
#<br>
#&nbsp;This&nbsp;one&nbsp;implements&nbsp;a&nbsp;convenience&nbsp;method&nbsp;`.<a href="#ComboBoxText-set_default">set_default</a>()`&nbsp;to&nbsp;define&nbsp;the&nbsp;active<br>
#&nbsp;selection&nbsp;by&nbsp;value,&nbsp;rather&nbsp;than&nbsp;by&nbsp;index.<br>
#<br>
#&nbsp;Can&nbsp;use&nbsp;a&nbsp;list[]&nbsp;of&nbsp;entries&nbsp;or&nbsp;a&nbsp;key-&gt;value&nbsp;dict{},&nbsp;where&nbsp;the&nbsp;value&nbsp;becomes<br>
#&nbsp;display&nbsp;text,&nbsp;and&nbsp;the&nbsp;key&nbsp;the&nbsp;internal&nbsp;value.<br>&nbsp;</tt></td></tr>
<tr><td>
Methods defined here:<br>
<dl><dt><a name="ComboBoxText-__init__"><strong>__init__</strong></a>(self, entries, no_scroll<font color="#909090">=1</font>)</dt></dl>

<dl><dt><a name="ComboBoxText-get_active_text"><strong>get_active_text</strong></a>(self)</dt><dd><tt>#&nbsp;fetch&nbsp;currently&nbsp;selected&nbsp;text&nbsp;entry</tt></dd></dl>

<dl><dt><a name="ComboBoxText-no_scroll"><strong>no_scroll</strong></a>(self, widget, event, data<font color="#909090">=None</font>)</dt><dd><tt>#&nbsp;Signal/Event&nbsp;callback&nbsp;to&nbsp;prevent&nbsp;hover&nbsp;scrolling&nbsp;of&nbsp;<a href="gtk.html#ComboBox">ComboBox</a>&nbsp;widgets</tt></dd></dl>

<dl><dt><a name="ComboBoxText-set_default"><strong>set_default</strong></a>(self, value)</dt><dd><tt>#&nbsp;activate&nbsp;dropdown&nbsp;of&nbsp;given&nbsp;value</tt></dd></dl>

<hr>
Static methods defined here:<br>
<dl><dt><a name="ComboBoxText-parse_options"><strong>parse_options</strong></a>(opts, sep<font color="#909090">='|'</font>, assoc<font color="#909090">='='</font>)</dt><dd><tt>#&nbsp;Expand&nbsp;A=a|B=b|C=c&nbsp;option&nbsp;list&nbsp;into&nbsp;(key,value)&nbsp;tuple&nbsp;list,&nbsp;or&nbsp;A|B|C&nbsp;just&nbsp;into&nbsp;a&nbsp;list.</tt></dd></dl>

<hr>
Data and other attributes defined here:<br>
<dl><dt><strong>ls</strong> = None</dl>

</td></tr></table> <p>
<table width="100%" cellspacing=0 cellpadding=2 border=0 summary="section">
<tr bgcolor="#ffc8d8">
<td colspan=3 valign=bottom>&nbsp;<br>
<font color="#000000" face="helvetica, arial"><a name="uikit">class <strong>uikit</strong></a></font></td></tr>
    
<tr bgcolor="#ffc8d8"><td rowspan=2><tt>&nbsp;&nbsp;&nbsp;</tt></td>
<td colspan=2><tt>#&nbsp;simplified&nbsp;gtk&nbsp;constructors&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;---------------------------------------------<br>&nbsp;</tt></td></tr>
<tr><td>&nbsp;</td>
<td width="100%">Static methods defined here:<br>
<dl><dt><a name="uikit-add_menu"><strong>add_menu</strong></a>(menuwidget, label, action, insert<font color="#909090">=None</font>)</dt><dd><tt>#&nbsp;Attach&nbsp;textual&nbsp;menu&nbsp;entry&nbsp;and&nbsp;callback</tt></dd></dl>

<dl><dt><a name="uikit-add_signals"><strong>add_signals</strong></a>(builder, map)</dt><dd><tt>#&nbsp;manual&nbsp;signal&nbsp;binding&nbsp;with&nbsp;a&nbsp;dict&nbsp;of&nbsp;{&nbsp;(widget,&nbsp;signal):&nbsp;callback&nbsp;}</tt></dd></dl>

<dl><dt><a name="uikit-app_bin_check"><strong>app_bin_check</strong></a>(v)</dt><dd><tt>#&nbsp;return&nbsp;OK&nbsp;or&nbsp;CANCEL&nbsp;depending&nbsp;on&nbsp;availability&nbsp;of&nbsp;app</tt></dd></dl>

<dl><dt><a name="uikit-app_restore"><strong>app_restore</strong></a>(wTree, r<font color="#909090">=None</font>)</dt><dd><tt>#--&nbsp;restore&nbsp;window&nbsp;and&nbsp;widget&nbsp;properties<br>
#<br>
#&nbsp;requires&nbsp;only&nbsp;the&nbsp;previously&nbsp;saved&nbsp;widget&nbsp;state&nbsp;dict</tt></dd></dl>

<dl><dt><a name="uikit-app_state"><strong>app_state</strong></a>(wTree, widgetnames<font color="#909090">=['window1', 'treeview2', 'vbox17']</font>)</dt><dd><tt>#--&nbsp;save&nbsp;window&nbsp;size&nbsp;and&nbsp;widget&nbsp;properties<br>
#<br>
#&nbsp;needs&nbsp;a&nbsp;list&nbsp;of&nbsp;widgetnames<br>
#&nbsp;e.g.&nbsp;pickle.dump(<a href="#uikit">uikit</a>.<a href="#uikit-app_state">app_state</a>(...),&nbsp;open(os.environ["HOME"]+"/.config/app_winstate",&nbsp;"w"))</tt></dd></dl>

<dl><dt><a name="uikit-bg"><strong>bg</strong></a>(w, color<font color="#909090">=''</font>, where<font color="#909090">=['bg']</font>, wrap<font color="#909090">=1</font>)</dt><dd><tt>this&nbsp;method&nbsp;should&nbsp;be&nbsp;called&nbsp;after&nbsp;widget&nbsp;creation,&nbsp;and&nbsp;before&nbsp;.add()ing&nbsp;it&nbsp;to&nbsp;container</tt></dd></dl>

<dl><dt><a name="uikit-columns"><strong>columns</strong></a>(widget, datamap<font color="#909090">=[]</font>, entries<font color="#909090">=None</font>, show_favicons<font color="#909090">=True</font>, pix_entry<font color="#909090">=False</font>, fixed_size<font color="#909090">=24</font>)</dt><dd><tt>#--&nbsp;fill&nbsp;a&nbsp;treeview<br>
#<br>
#&nbsp;Adds&nbsp;treeviewcolumns/cellrenderers&nbsp;and&nbsp;liststore&nbsp;from&nbsp;a&nbsp;data&nbsp;dictionary.<br>
#&nbsp;Its&nbsp;datamap&nbsp;and&nbsp;the&nbsp;table&nbsp;contents&nbsp;can&nbsp;be&nbsp;supplied&nbsp;in&nbsp;one&nbsp;or&nbsp;two&nbsp;steps.<br>
#&nbsp;When&nbsp;new&nbsp;data&nbsp;gets&nbsp;applied,&nbsp;the&nbsp;columns&nbsp;aren't&nbsp;recreated.<br>
#<br>
#&nbsp;The&nbsp;columns&nbsp;are&nbsp;created&nbsp;according&nbsp;to&nbsp;the&nbsp;datamap,&nbsp;which&nbsp;describes&nbsp;cell<br>
#&nbsp;mapping&nbsp;and&nbsp;layout.&nbsp;Columns&nbsp;can&nbsp;have&nbsp;multiple&nbsp;cellrenderers,&nbsp;but&nbsp;usually<br>
#&nbsp;there&nbsp;is&nbsp;a&nbsp;direct&nbsp;mapping&nbsp;to&nbsp;a&nbsp;data&nbsp;source&nbsp;key&nbsp;from&nbsp;entries.<br>
#<br>
#&nbsp;datamap&nbsp;=&nbsp;[&nbsp;&nbsp;#&nbsp;&nbsp;title&nbsp;&nbsp;&nbsp;width&nbsp;&nbsp;&nbsp;&nbsp;dict-key&nbsp;&nbsp;&nbsp;&nbsp;type,&nbsp;&nbsp;renderer,&nbsp;&nbsp;attrs&nbsp;&nbsp;<br>
#&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;["Name",&nbsp;&nbsp;&nbsp;150,&nbsp;&nbsp;["titlerow",&nbsp;&nbsp;&nbsp;str,&nbsp;&nbsp;&nbsp;&nbsp;"text",&nbsp;&nbsp;&nbsp;&nbsp;{}&nbsp;]&nbsp;&nbsp;],<br>
#&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;[False,&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;0,&nbsp;&nbsp;&nbsp;["interndat",&nbsp;&nbsp;int,&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;None,&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;{}&nbsp;]&nbsp;&nbsp;],<br>
#&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;["Desc",&nbsp;&nbsp;&nbsp;200,&nbsp;&nbsp;["descriptn",&nbsp;&nbsp;str,&nbsp;&nbsp;&nbsp;&nbsp;"text",&nbsp;&nbsp;&nbsp;&nbsp;{}&nbsp;],&nbsp;&nbsp;["icon",str,"pixbuf",{}]&nbsp;&nbsp;],<br>
#<br>
#&nbsp;An&nbsp;according&nbsp;entries&nbsp;list&nbsp;then&nbsp;would&nbsp;contain&nbsp;a&nbsp;dictionary&nbsp;for&nbsp;each&nbsp;row:<br>
#&nbsp;&nbsp;&nbsp;entries&nbsp;=&nbsp;[&nbsp;{"titlerow":"first",&nbsp;"interndat":123},&nbsp;{"titlerow":"..."},&nbsp;]<br>
#&nbsp;Keys&nbsp;not&nbsp;mentioned&nbsp;in&nbsp;the&nbsp;datamap&nbsp;get&nbsp;ignored,&nbsp;and&nbsp;defaults&nbsp;are&nbsp;applied<br>
#&nbsp;for&nbsp;missing&nbsp;cols.&nbsp;All&nbsp;values&nbsp;must&nbsp;already&nbsp;be&nbsp;in&nbsp;the&nbsp;correct&nbsp;type&nbsp;however.</tt></dd></dl>

<dl><dt><a name="uikit-config_treeview"><strong>config_treeview</strong></a>(opt, columns<font color="#909090">=['Icon', 'Command']</font>)</dt><dd><tt>#&nbsp;Config&nbsp;win&nbsp;table&nbsp;(editable&nbsp;dictionary,&nbsp;two&nbsp;columns&nbsp;w/&nbsp;executable&nbsp;indicator&nbsp;pixbuf)</tt></dd></dl>

<dl><dt><a name="uikit-do"><strong>do</strong></a>(callback, *args, **kwargs)</dt><dd><tt>#&nbsp;Spool&nbsp;gtk&nbsp;update&nbsp;calls&nbsp;from&nbsp;non-main&nbsp;threads&nbsp;(optional&nbsp;immediate=1&nbsp;flag&nbsp;to&nbsp;run&nbsp;task&nbsp;next,&nbsp;not&nbsp;last)</tt></dd></dl>

<dl><dt><a name="uikit-hbox"><strong>hbox</strong></a>(w1, w2, exr<font color="#909090">=True</font>, spacing<font color="#909090">=5</font>)</dt><dd><tt>#&nbsp;Wrap&nbsp;two&nbsp;widgets&nbsp;in&nbsp;horizontal&nbsp;box</tt></dd></dl>

<dl><dt><a name="uikit-idle_do"><strong>idle_do</strong></a>()</dt><dd><tt>#&nbsp;Execute&nbsp;UI&nbsp;updating&nbsp;tasks&nbsp;in&nbsp;order</tt></dd></dl>

<dl><dt><a name="uikit-label"><strong>label</strong></a>(text, size<font color="#909090">=305</font>, markup<font color="#909090">=0</font>)</dt><dd><tt>#&nbsp;Create&nbsp;GtkLabel</tt></dd></dl>

<dl><dt><a name="uikit-liststore_edit"><strong>liststore_edit</strong></a>(cell, row, text, user_data)</dt><dd><tt>#&nbsp;Generic&nbsp;Gtk&nbsp;callback&nbsp;to&nbsp;update&nbsp;ListStore&nbsp;when&nbsp;entries&nbsp;get&nbsp;edited.<br>
#&nbsp;where&nbsp;user_data&nbsp;=&nbsp;(liststore,&nbsp;column&nbsp;#id)</tt></dd></dl>

<dl><dt><a name="uikit-msg"><strong>msg</strong></a>(text, style<font color="#909090">=&lt;enum GTK_MESSAGE_INFO of type GtkMessageType&gt;</font>, buttons<font color="#909090">=&lt;enum GTK_BUTTONS_CLOSE of type GtkButtonsType&gt;</font>, yes<font color="#909090">=None</font>)</dt><dd><tt>#&nbsp;gtk.messagebox</tt></dd></dl>

<dl><dt><a name="uikit-pixbuf"><strong>pixbuf</strong></a>(buf, fmt<font color="#909090">='png'</font>, decode<font color="#909090">=True</font>, gzip<font color="#909090">=False</font>)</dt><dd><tt>#&nbsp;Pixbug&nbsp;loader&nbsp;(from&nbsp;inline&nbsp;string,&nbsp;as&nbsp;in&nbsp;`logo.png`,&nbsp;automatic&nbsp;base64&nbsp;decoding,&nbsp;and&nbsp;gunzipping&nbsp;of&nbsp;raw&nbsp;data)</tt></dd></dl>

<dl><dt><a name="uikit-save_file"><strong>save_file</strong></a>(title<font color="#909090">='Save As'</font>, parent<font color="#909090">=None</font>, fn<font color="#909090">=''</font>, formats<font color="#909090">=None</font>, action<font color="#909090">=&lt;enum GTK_FILE_CHOOSER_ACTION_SAVE of type GtkFileChooserAction&gt;</font>, action_btn<font color="#909090">='gtk-save'</font>)</dt></dl>

<dl><dt><a name="uikit-save_file_filterchange"><strong>save_file_filterchange</strong></a>(c)</dt><dd><tt>#&nbsp;Callback&nbsp;for&nbsp;changed&nbsp;FileFilter,&nbsp;updates&nbsp;current&nbsp;filename&nbsp;extension</tt></dd></dl>

<dl><dt><a name="uikit-tree"><strong>tree</strong></a>(widget, entries, title<font color="#909090">='category'</font>, icon<font color="#909090">='gtk-directory'</font>)</dt><dd><tt>#--&nbsp;treeview&nbsp;for&nbsp;categories<br>
#<br>
#&nbsp;simple&nbsp;two-level&nbsp;treeview&nbsp;display&nbsp;in&nbsp;one&nbsp;column<br>
#&nbsp;with&nbsp;entries&nbsp;=&nbsp;[main,[sub,sub],&nbsp;title,[...],...]</tt></dd></dl>

<dl><dt><a name="uikit-tree_column"><strong>tree_column</strong></a>(widget, title<font color="#909090">='Category'</font>)</dt></dl>

<dl><dt><a name="uikit-wrap"><strong>wrap</strong></a>(widgetstore<font color="#909090">=None</font>, id<font color="#909090">=None</font>, w<font color="#909090">=None</font>, label<font color="#909090">=None</font>, color<font color="#909090">=None</font>, image<font color="#909090">=None</font>, align<font color="#909090">=1</font>, label_size<font color="#909090">=305</font>, label_markup<font color="#909090">=0</font>)</dt><dd><tt>#&nbsp;Wrap&nbsp;entries/checkboxes&nbsp;with&nbsp;extra&nbsp;label,&nbsp;background,&nbsp;images,&nbsp;etc.</tt></dd></dl>

<hr>
Data and other attributes defined here:<br>
<dl><dt><strong>gtk_position_type_enum</strong> = [&lt;enum GTK_POS_LEFT of type GtkPositionType&gt;, &lt;enum GTK_POS_RIGHT of type GtkPositionType&gt;, &lt;enum GTK_POS_TOP of type GtkPositionType&gt;, &lt;enum GTK_POS_BOTTOM of type GtkPositionType&gt;]</dl>

<dl><dt><strong>idle_tasks</strong> = []</dl>

<dl><dt><strong>in_idle</strong> = False</dl>

<dl><dt><strong>save_formats</strong> = [('*.pls', '*.pls'), ('*.xspf', '*.xpsf'), ('*.m3u', '*.m3u'), ('*.jspf', '*.jspf'), ('*.asx', '*.asx'), ('*.json', '*.json'), ('*.smil', '*.smil'), ('*.desktop', '*.desktop'), ('*', '*')]</dl>

</td></tr></table></td></tr></table><p>
<table width="100%" cellspacing=0 cellpadding=2 border=0 summary="section">
<tr bgcolor="#eeaa77">
<td colspan=3 valign=bottom>&nbsp;<br>
<font color="#ffffff" face="helvetica, arial"><big><strong>Functions</strong></big></font></td></tr>
    
<tr><td bgcolor="#eeaa77"><tt>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</tt></td><td>&nbsp;</td>
<td width="100%"><dl><dt><a name="-gui_startup"><strong>gui_startup</strong></a>(p<font color="#909090">=0.0</font>, msg<font color="#909090">='streamtuner2 is starting'</font>)</dt></dl>
 <dl><dt><a name="-treepath"><strong>treepath</strong></a>(ls)</dt><dd><tt>#&nbsp;Use&nbsp;a&nbsp;str&nbsp;of&nbsp;"1:2:3"&nbsp;as&nbsp;treepath,<br>
#&nbsp;literally&nbsp;in&nbsp;Gtk2,&nbsp;TreePath-wrapped&nbsp;for&nbsp;Gtk3</tt></dd></dl>
 <dl><dt><a name="-treepath_to_str"><strong>treepath_to_str</strong></a>(tp)</dt></dl>
</td></tr></table><p>
<table width="100%" cellspacing=0 cellpadding=2 border=0 summary="section">
<tr bgcolor="#55aa55">
<td colspan=3 valign=bottom>&nbsp;<br>
<font color="#ffffff" face="helvetica, arial"><big><strong>Data</strong></big></font></td></tr>
    
<tr><td bgcolor="#55aa55"><tt>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</tt></td><td>&nbsp;</td>
<td width="100%"><strong>PY3</strong> = 0<br>
<strong>conf</strong> = {u'filter_walledgardens': True, u'radionomy_page...e/mario/.config/streamtuner2', u'history': u'20'}<br>
<strong>empty_pixbuf</strong> = &lt;gtk.gdk.Pixbuf object at 0x7fe51185d820 (GdkPixbuf at 0x18dd190)&gt;<br>
<strong>log</strong> = &lt;config.log_printer object&gt;<br>
<strong>progressbar</strong> = None<br>
<strong>progresswin</strong> = None<br>
<strong>ui_xml</strong> = u'&lt;?xml version="1.0" encoding="UTF-8"?&gt;<font color="#c040c0">\n</font>&lt;!-- Gene... &lt;/object&gt;<font color="#c040c0">\n</font>    &lt;/child&gt;<font color="#c040c0">\n</font>  &lt;/object&gt;<font color="#c040c0">\n</font>&lt;/interface&gt;<font color="#c040c0">\n</font>'<br>
<strong>ver</strong> = 2</td></tr></table>