<table width="100%" cellspacing=0 cellpadding=2 border=0 summary="heading">
<tr bgcolor="#7799ee">
<td valign=bottom>&nbsp;<br>
<font color="#ffffff" face="helvetica,
><td align=right valign=bottom
><font color="#ffffff" face="helvetica, arial"><a href=".">index</a><br><a href="streamtuner2/uikit.py">
    <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;<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>

<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,

<tr><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
<a
</td><td width="25%" valign=top><a
<a
<a
</td><td width="25%" valign=top><a
<a
<a
</td><td width="25%" valign=top><a

<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,

<tr><td
<td width="100%"><dl>
<dt><font face="helvetica, arial"><a href="__builtin__.html#object">__builtin__.object</a>

<dl>
<dt><font face="helvetica, arial"><a href="#AuxiliaryWindow">AuxiliaryWindow</a>

<dl>
<dt><font face="helvetica, arial"><a href="#AboutStreamtuner2">AboutStreamtuner2</a>

</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>)

<dl>
<dt><font face="helvetica, arial"><a href="#ComboBoxText">ComboBoxText</a>

</dd>
<dt><font face="helvetica, arial"><a href="#uikit">uikit</a>

 <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

<tr bgcolor="#ffc8d8"><td
<td
<tr><td>&nbsp;</td>
<td width="100%"><dl><dt>Method resolution order:</dt>
<dd><a
<dd><a
<dd><a
</dl>
<hr>
Methods defined here:<br>
<dl><dt><a

<hr>
Methods inherited from <a href="#AuxiliaryWindow">AuxiliaryWindow</a>:<br>
<dl><dt><a

<hr>
Data descriptors inherited from <a href="#AuxiliaryWindow">AuxiliaryWindow</a>:<br>


</dl>


</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="AuxiliaryWindow">class

<tr bgcolor="#ffc8d8"><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>

<tr><td>&nbsp;</td>
<td width="100%">Methods defined here:<br>
<dl><dt><a

<dl><dt><a

<hr>
Data descriptors defined here:<br>


</dl>


</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="ComboBoxText">class

<tr bgcolor="#ffc8d8"><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>

#<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>

<tr><td>
Methods defined here:<br>
<dl><dt><a entries, no_scroll<font

<dl><dt><a

<dl><dt><a widget, event, data<font

<dl><dt><a

<hr>
Static methods defined here:<br>
<dl><dt><a sep<font color="#909090">='|'</font>, assoc<font

<hr>
Data and other attributes defined here:<br>
<dl><dt><strong>ls</strong> = None</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="uikit">class

<tr bgcolor="#ffc8d8"><td
<td
<tr><td>&nbsp;</td>
<td width="100%">Static methods defined here:<br>
<dl><dt><a label, action, insert<font

<dl><dt><a

<dl><dt><a

<dl><dt><a r<font
#<br>


<dl><dt><a widgetnames<font color="#909090">=['window1', 'treeview2',
#<br>
#&nbsp;needs&nbsp;a&nbsp;list&nbsp;of&nbsp;widgetnames<br>
#&nbsp;e.g.&nbsp;pickle.dump(<a href="#uikit">uikit</a>.<a

<dl><dt><a color<font color="#909090">=''</font>, where<font color="#909090">=['bg']</font>, wrap<font

<dl><dt><a 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
#<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>


<dl><dt><a columns<font color="#909090">=['Icon',

<dl><dt><a *args,

<dl><dt><a w2, exr<font color="#909090">=True</font>, spacing<font

<dl><dt><a

<dl><dt><a size<font color="#909090">=305</font>, markup<font

<dl><dt><a 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>


<dl><dt><a 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

<dl><dt><a fmt<font color="#909090">='png'</font>, decode<font color="#909090">=True</font>, gzip<font

<dl><dt><a 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

<dl><dt><a

<dl><dt><a entries, title<font color="#909090">='category'</font>, icon<font
#<br>
#&nbsp;simple&nbsp;two-level&nbsp;treeview&nbsp;display&nbsp;in&nbsp;one&nbsp;column<br>


<dl><dt><a title<font

<dl><dt><a 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

<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>


<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,

<tr><td
<td width="100%"><dl><dt><a color="#909090">=0.0</font>, msg<font color="#909090">='streamtuner2 is
 <dl><dt><a

 <dl><dt><a

<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,

<tr><td
<td width="100%"><strong>PY3</strong> = 0<br>
<strong>conf</strong> = {u'filter_walledgardens': True, 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>'<br>
<strong>ver</strong> =