1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129
|
<html><head><meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1"><title>gtk Functions</title><meta name="generator" content="DocBook XSL Stylesheets V1.65.1"><link rel="home" href="index.html" title="PyGTK 2.0 Reference Manual"><link rel="up" href="gtk-class-reference.html" title="The gtk Class Reference"><link rel="previous" href="class-gtkwindowgroup.html" title="gtk.WindowGroup"><link rel="next" href="gtk-stock-items.html" title="Stock Items"></head><body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF"><div class="navheader"><table width="100%" summary="Navigation header"><tr><th colspan="3" align="center">gtk Functions</th></tr><tr><td width="20%" align="left"><a accesskey="p" href="class-gtkwindowgroup.html">Prev</a></td><th width="60%" align="center">The gtk Class Reference</th><td width="20%" align="right"><a accesskey="n" href="gtk-stock-items.html">Next</a></td></tr></table><hr></div><div class="refentry" lang="en"><a name="gtk-functions"></a><div class="titlepage"><div></div><div></div></div><div class="refnamediv"><h2>gtk Functions</h2><p>gtk Functions — miscellaneous functions</p></div><div class="refsect1" lang="en"><a name="id3662450"></a><h2>Synopsis</h2><div class="refsect2" lang="en"><a name="id3662457"></a><h3><a href="class-gtkaboutdialog.html" title="gtk.AboutDialog"><tt class="classname">gtk.AboutDialog</tt></a> Functions</h3><table border="0" bgcolor="#E0E0E0" width="100%"><tr><td><pre class="programlisting"><code class="methodsynopsis"> def <span class="methodname"><a href="class-gtkaboutdialog.html#function-gtk--about-dialog-set-email-hook" title="gtk.about_dialog_set_email_hook">gtk.about_dialog_set_email_hook</a></span>(<span class="methodparam"><span class="parameter"><b class="parameter"><tt>func</tt></b></span></span>, <span class="methodparam"><span class="parameter"><b class="parameter"><tt>data</tt></b></span></span>)</code><br><code class="methodsynopsis"> def <span class="methodname"><a href="class-gtkaboutdialog.html#function-gtk--about-dialog-set-url-hook" title="gtk.about_dialog_set_url_hook">gtk.about_dialog_set_url_hook</a></span>(<span class="methodparam"><span class="parameter"><b class="parameter"><tt>func</tt></b></span></span>, <span class="methodparam"><span class="parameter"><b class="parameter"><tt>data</tt></b></span></span>)</code></pre></td></tr></table></div><div class="refsect2" lang="en"><a name="id3662525"></a><h3><a href="class-gtkaccelgroup.html" title="gtk.AccelGroup"><tt class="classname">gtk.AccelGroup</tt></a> Functions</h3><table border="0" bgcolor="#E0E0E0" width="100%"><tr><td><pre class="programlisting"><code class="methodsynopsis"> def <span class="methodname"><a href="class-gtkaccelgroup.html#function-gtk--accelerator-valid" title="gtk.accelerator_valid">gtk.accelerator_valid</a></span>(<span class="methodparam"><span class="parameter"><b class="parameter"><tt>keyval</tt></b></span></span>, <span class="methodparam"><span class="parameter"><b class="parameter"><tt>modifiers</tt></b></span></span>)</code><br><code class="methodsynopsis"> def <span class="methodname"><a href="class-gtkaccelgroup.html#function-gtk--accelerator-parse" title="gtk.accelerator_parse">gtk.accelerator_parse</a></span>(<span class="methodparam"><span class="parameter"><b class="parameter"><tt>accelerator</tt></b></span></span>)</code><br><code class="methodsynopsis"> def <span class="methodname"><a href="class-gtkaccelgroup.html#function-gtk--accelerator-name" title="gtk.accelerator_name">gtk.accelerator_name</a></span>(<span class="methodparam"><span class="parameter"><b class="parameter"><tt>accelerator_key</tt></b></span></span>, <span class="methodparam"><span class="parameter"><b class="parameter"><tt>accelerator_mods</tt></b></span></span>)</code><br><code class="methodsynopsis"> def <span class="methodname"><a href="class-gtkaccelgroup.html#function-gtk--accelerator-set-default-mod-mask" title="gtk.accelerator_set_default_mod_mask">gtk.accelerator_set_default_mod_mask</a></span>(<span class="methodparam"><span class="parameter"><b class="parameter"><tt>default_mod_mask</tt></b></span></span>)</code><br><code class="methodsynopsis"> def <span class="methodname"><a href="class-gtkaccelgroup.html#function-gtk--accelerator-get-default-mod-mask" title="gtk.accelerator_get_default_mod_mask">gtk.accelerator_get_default_mod_mask</a></span>()</code><br><code class="methodsynopsis"> def <span class="methodname"><a href="class-gtkaccelgroup.html#function-gtk--accelerator-get-label" title="gtk.accelerator_get_label">gtk.accelerator_get_label</a></span>(<span class="methodparam"><span class="parameter"><b class="parameter"><tt>accelerator_key</tt></b></span></span>, <span class="methodparam"><span class="parameter"><b class="parameter"><tt>accelerator_mods</tt></b></span></span>)</code><br><code class="methodsynopsis"> def <span class="methodname"><a href="class-gtkaccelgroup.html#function-gtk--accel-map-add-entry" title="gtk.accel_map_add_entry">gtk.accel_map_add_entry</a></span>(<span class="methodparam"><span class="parameter"><b class="parameter"><tt>accel_path</tt></b></span></span>, <span class="methodparam"><span class="parameter"><b class="parameter"><tt>accel_key</tt></b></span></span>, <span class="methodparam"><span class="parameter"><b class="parameter"><tt>accel_mods</tt></b></span></span>)</code><br><code class="methodsynopsis"> def <span class="methodname"><a href="class-gtkaccelgroup.html#function-gtk--accel-map-change-entry" title="gtk.accel_map_change_entry">gtk.accel_map_lookup_entry</a></span>(<span class="methodparam"><span class="parameter"><b class="parameter"><tt>accel_path</tt></b></span></span>)</code><br><code class="methodsynopsis"> def <span class="methodname"><a href="class-gtkaccelgroup.html#function-gtk--accel-map-change-entry" title="gtk.accel_map_change_entry">gtk.accel_map_change_entry</a></span>(<span class="methodparam"><span class="parameter"><b class="parameter"><tt>accel_path</tt></b></span></span>, <span class="methodparam"><span class="parameter"><b class="parameter"><tt>accel_key</tt></b></span></span>, <span class="methodparam"><span class="parameter"><b class="parameter"><tt>accel_mods</tt></b></span></span>, <span class="methodparam"><span class="parameter"><b class="parameter"><tt>replace</tt></b></span></span>)</code><br><code class="methodsynopsis"> def <span class="methodname"><a href="class-gtkaccelgroup.html#function-gtk--accel-map-load" title="gtk.accel_map_load">gtk.accel_map_load</a></span>(<span class="methodparam"><span class="parameter"><b class="parameter"><tt>file_name</tt></b></span></span>)</code><br><code class="methodsynopsis"> def <span class="methodname"><a href="class-gtkaccelgroup.html#function-gtk--accel-map-save" title="gtk.accel_map_save">gtk.accel_map_save</a></span>(<span class="methodparam"><span class="parameter"><b class="parameter"><tt>file_name</tt></b></span></span>)</code><br><code class="methodsynopsis"> def <span class="methodname"><a href="class-gtkaccelgroup.html#function-gtk--accel-map-load-fd" title="gtk.accel_map_load_fd">gtk.accel_map_load_fd</a></span>(<span class="methodparam"><span class="parameter"><b class="parameter"><tt>fd</tt></b></span></span>)</code><br><code class="methodsynopsis"> def <span class="methodname"><a href="class-gtkaccelgroup.html#function-gtk--accel-map-save-fd" title="gtk.accel_map_save_fd">gtk.accel_map_save_fd</a></span>(<span class="methodparam"><span class="parameter"><b class="parameter"><tt>fd</tt></b></span></span>)</code><br><code class="methodsynopsis"> def <span class="methodname"><a href="class-gtkaccelgroup.html#function-gtk--accel-map-lock-path" title="gtk.accel_map_lock_path">gtk.accel_map_lock_path</a></span>(<span class="methodparam"><span class="parameter"><b class="parameter"><tt>accel_path</tt></b></span></span>)</code><br><code class="methodsynopsis"> def <span class="methodname"><a href="class-gtkaccelgroup.html#function-gtk--accel-map-unlock-path" title="gtk.accel_map_unlock_path">gtk.accel_map_unlock_path</a></span>(<span class="methodparam"><span class="parameter"><b class="parameter"><tt>accel_path</tt></b></span></span>)</code><br><code class="methodsynopsis"> def <span class="methodname"><a href="class-gtkaccelgroup.html#function-gtk--accel-map-add-filter" title="gtk.accel_map_add_filter">gtk.accel_map_add_filter</a></span>(<span class="methodparam"><span class="parameter"><b class="parameter"><tt>filter_pattern</tt></b></span></span>)</code><br><code class="methodsynopsis"> def <span class="methodname"><a href="class-gtkaccelgroup.html#function-gtk--accel-groups-from-object" title="gtk.accel_groups_from_object">gtk.accel_groups_from_object</a></span>(<span class="methodparam"><span class="parameter"><i class="parameter"><tt>object</tt></i></span></span>)</code></pre></td></tr></table></div><div class="refsect2" lang="en"><a name="id3662922"></a><h3><a href="class-gtkcellview.html" title="gtk.CellView"><tt class="classname">gtk.CellView</tt></a> Functions</h3><table border="0" bgcolor="#E0E0E0" width="100%"><tr><td><pre class="programlisting"><code class="methodsynopsis"> def <span class="methodname"><a href="class-gtkcellview.html#function-gtk--cell-view-new-with-text" title="gtk.cell_view_new_with_text">gtk.cell_view_new_with_text</a></span>(<span class="methodparam"><span class="parameter"><b class="parameter"><tt>text</tt></b></span></span>)</code><br><code class="methodsynopsis"> def <span class="methodname"><a href="class-gtkcellview.html#function-gtk--cell-view-new-with-markup" title="gtk.cell_view_new_with_markup">gtk.cell_view_new_with_markup</a></span>(<span class="methodparam"><span class="parameter"><b class="parameter"><tt>markup</tt></b></span></span>)</code><br><code class="methodsynopsis"> def <span class="methodname"><a href="class-gtkcellview.html#function-gtk--cell-view-new-with-pixbuf" title="gtk.cell_view_new_with_pixbuf">gtk.cell_view_new_with_pixbuf</a></span>(<span class="methodparam"><span class="parameter"><b class="parameter"><tt>pixbuf</tt></b></span></span>)</code></pre></td></tr></table></div><div class="refsect2" lang="en"><a name="id3662996"></a><h3><a href="class-gtkclipboard.html" title="gtk.Clipboard"><tt class="classname">gtk.Clipboard</tt></a> Functions</h3><table border="0" bgcolor="#E0E0E0" width="100%"><tr><td><pre class="programlisting"><code class="methodsynopsis"> def <span class="methodname"><a href="class-gtkclipboard.html#function-gtk--clipboard-get" title="gtk.clipboard_get">gtk.clipboard_get</a></span>(<span class="methodparam"></span>)</code></pre></td></tr></table></div><div class="refsect2" lang="en"><a name="id3663027"></a><h3><a href="class-gtkcolorselection.html" title="gtk.ColorSelection"><tt class="classname">gtk.ColorSelection</tt></a> Functions</h3><table border="0" bgcolor="#E0E0E0" width="100%"><tr><td><pre class="programlisting"><code class="methodsynopsis"> def <span class="methodname"><a href="class-gtkcolorselection.html#function-gtk--color-selection-palette-from-string" title="gtk.color_selection_palette_from_string">gtk.color_selection_palette_from_string</a></span>(<span class="methodparam"><span class="parameter"><b class="parameter"><tt>str</tt></b></span></span>)</code><br><code class="methodsynopsis"> def <span class="methodname"><a href="class-gtkcolorselection.html#function-gtk--color-selection-palette-to-string" title="gtk.color_selection_palette_to_string">gtk.color_selection_palette_to_string</a></span>(<span class="methodparam"><span class="parameter"><b class="parameter"><tt>colors</tt></b></span></span>)</code></pre></td></tr></table></div><div class="refsect2" lang="en"><a name="id3663083"></a><h3><a href="class-gtkcombobox.html" title="gtk.ComboBox"><tt class="classname">gtk.ComboBox</tt></a> Functions</h3><table border="0" bgcolor="#E0E0E0" width="100%"><tr><td><pre class="programlisting"><code class="methodsynopsis"> def <span class="methodname"><a href="class-gtkcombobox.html#function-gtk--combo-box-new-text" title="gtk.combo_box_new_text">gtk.combo_box_new_text</a></span>(<span class="methodparam"></span>)</code></pre></td></tr></table></div><div class="refsect2" lang="en"><a name="id3663114"></a><h3><a href="class-gtkcomboboxentry.html" title="gtk.ComboBoxEntry"><tt class="classname">gtk.ComboBoxEntry</tt></a> Functions</h3><table border="0" bgcolor="#E0E0E0" width="100%"><tr><td><pre class="programlisting"><code class="methodsynopsis"> def <span class="methodname"><a href="class-gtkcomboboxentry.html#function-gtk--combo-box-entry-new-text" title="gtk.combo_box_entry_new_text">gtk.combo_box_entry_new_text</a></span>(<span class="methodparam"></span>)</code></pre></td></tr></table></div><div class="refsect2" lang="en"><a name="id3663145"></a><h3><a href="class-gtkcomboboxentry.html" title="gtk.ComboBoxEntry"><tt class="classname">gtk.Container</tt></a> Functions</h3><table border="0" bgcolor="#E0E0E0" width="100%"><tr><td><pre class="programlisting"><code class="methodsynopsis"> def <span class="methodname"><a href="class-gtkcontainer.html#function-gtk--container-class-install-child-property" title="gtk.container_class_install_child_property">gtk.container_class_install_child_property</a></span>(<span class="methodparam"><span class="parameter"><b class="parameter"><tt>klass</tt></b></span></span>, <span class="methodparam"><span class="parameter"><b class="parameter"><tt>property_id</tt></b></span></span>, <span class="methodparam"><span class="parameter"><b class="parameter"><tt>pspec</tt></b></span></span>)</code><br><code class="methodsynopsis"> def <span class="methodname"><a href="class-gtkcontainer.html#function-gtk--container-class-list-child-properties" title="gtk.container_class_list_child_properties">gtk.container_class_list_child_properties</a></span>(<span class="methodparam"><span class="parameter"><b class="parameter"><tt>klass</tt></b></span></span>)</code></pre></td></tr></table></div><div class="refsect2" lang="en"><a name="id3663215"></a><h3><a href="class-gtkexpander.html" title="gtk.Expander"><tt class="classname">gtk.Expander</tt></a> Functions</h3><table border="0" bgcolor="#E0E0E0" width="100%"><tr><td><pre class="programlisting"><code class="methodsynopsis"> def <span class="methodname"><a href="class-gtkexpander.html#function-gtk--expander-new-with-mnemonic" title="gtk.expander_new_with_mnemonic">gtk.expander_new_with_mnemonic</a></span>(<span class="methodparam"><span class="parameter"><b class="parameter"><tt>label</tt></b></span></span>)</code></pre></td></tr></table></div><div class="refsect2" lang="en"><a name="id3663250"></a><h3><a href="class-gtkiconfactory.html" title="gtk.IconFactory"><tt class="classname">gtk.IconFactory</tt></a> Functions</h3><table border="0" bgcolor="#E0E0E0" width="100%"><tr><td><pre class="programlisting"><code class="methodsynopsis"> def <span class="methodname"><a href="class-gtkiconfactory.html#function-gtk--icon-factory-lookup-default" title="gtk.icon_factory_lookup_default">gtk.icon_factory_lookup_default</a></span>(<span class="methodparam"><span class="parameter"><b class="parameter"><tt>stock_id</tt></b></span></span>)</code></pre></td></tr></table></div><div class="refsect2" lang="en"><a name="id3663288"></a><h3><a href="class-gtkiconsource.html" title="gtk.IconSource"><tt class="classname">gtk.IconSource</tt></a> Functions</h3><table border="0" bgcolor="#E0E0E0" width="100%"><tr><td><pre class="programlisting"><code class="methodsynopsis"> def <span class="methodname"><a href="class-gtkiconsource.html#function-gtk--icon-size-lookup" title="gtk.icon_size_lookup">gtk.icon_size_lookup</a></span>(<span class="methodparam"><span class="parameter"><b class="parameter"><tt>icon_size</tt></b></span></span>)</code><br><code class="methodsynopsis"> def <span class="methodname"><a href="class-gtkiconsource.html#function-gtk--icon-size-lookup-for-settings" title="gtk.icon_size_lookup_for_settings">gtk.icon_size_lookup_for_settings</a></span>(<span class="methodparam"><span class="parameter"><b class="parameter"><tt>settings</tt></b></span></span>, <span class="methodparam"><span class="parameter"><b class="parameter"><tt>icon_size</tt></b></span></span>)</code><br><code class="methodsynopsis"> def <span class="methodname"><a href="class-gtkiconsource.html#function-gtk--icon-size-register" title="gtk.icon_size_register">gtk.icon_size_register</a></span>(<span class="methodparam"><span class="parameter"><b class="parameter"><tt>name</tt></b></span></span>, <span class="methodparam"><span class="parameter"><b class="parameter"><tt>width</tt></b></span></span>, <span class="methodparam"><span class="parameter"><b class="parameter"><tt>height</tt></b></span></span>)</code><br><code class="methodsynopsis"> def <span class="methodname"><a href="class-gtkiconsource.html#function-gtk--icon-size-register-alias" title="gtk.icon_size_register_alias">gtk.icon_size_register_alias</a></span>(<span class="methodparam"><span class="parameter"><b class="parameter"><tt>alias</tt></b></span></span>, <span class="methodparam"><span class="parameter"><b class="parameter"><tt>target</tt></b></span></span>)</code><br><code class="methodsynopsis"> def <span class="methodname"><a href="class-gtkiconsource.html#function-gtk--icon-size-from-name" title="gtk.icon_size_from_name">gtk.icon_size_from_name</a></span>(<span class="methodparam"><span class="parameter"><b class="parameter"><tt>name</tt></b></span></span>)</code><br><code class="methodsynopsis"> def <span class="methodname"><a href="class-gtkiconsource.html#function-gtk--icon-size-get-name" title="gtk.icon_size_get_name">gtk.icon_size_get_name</a></span>(<span class="methodparam"><span class="parameter"><b class="parameter"><tt>size</tt></b></span></span>)</code></pre></td></tr></table></div><div class="refsect2" lang="en"><a name="id3663449"></a><h3><a href="class-gtkicontheme.html" title="gtk.IconTheme"><tt class="classname">gtk.IconTheme</tt></a> Functions</h3><table border="0" bgcolor="#E0E0E0" width="100%"><tr><td><pre class="programlisting"><code class="methodsynopsis"> def <span class="methodname"><a href="class-gtkicontheme.html#function-gtk--icon-theme-get-default" title="gtk.icon_theme_get_default">gtk.icon_theme_get_default</a></span>()</code><br><code class="methodsynopsis"> def <span class="methodname"><a href="class-gtkicontheme.html#function-gtk--icon-theme-get-for-screen" title="gtk.icon_theme_get_for_screen">gtk.icon_theme_get_for_screen</a></span>(<span class="methodparam"><span class="parameter"><b class="parameter"><tt>screen</tt></b></span></span>)</code><br><code class="methodsynopsis"> def <span class="methodname"><a href="class-gtkicontheme.html#function-gtk--icon-theme-add-builtin-icon" title="gtk.icon_theme_add_builtin_icon">gtk.icon_theme_add_builtin_icon</a></span>(<span class="methodparam"><span class="parameter"><b class="parameter"><tt>icon_name</tt></b></span></span>, <span class="methodparam"><span class="parameter"><b class="parameter"><tt>size</tt></b></span></span>, <span class="methodparam"><span class="parameter"><b class="parameter"><tt>pixbuf</tt></b></span></span>)</code></pre></td></tr></table></div><div class="refsect2" lang="en"><a name="id3663531"></a><h3><a href="class-gtkimage.html" title="gtk.Image"><tt class="classname">gtk.Image</tt></a> Functions</h3><table border="0" bgcolor="#E0E0E0" width="100%"><tr><td><pre class="programlisting"><code class="methodsynopsis"> def <span class="methodname"><a href="class-gtkimage.html#function-gtk--image-new-from-stock" title="gtk.image_new_from_stock">gtk.image_new_from_stock</a></span>(<span class="methodparam"><span class="parameter"><b class="parameter"><tt>stock_id</tt></b></span></span>, <span class="methodparam"><span class="parameter"><b class="parameter"><tt>size</tt></b></span></span>)</code><br><code class="methodsynopsis"> def <span class="methodname"><a href="class-gtkimage.html#function-gtk--image-new-from-icon-set" title="gtk.image_new_from_icon_set">gtk.image_new_from_icon_set</a></span>(<span class="methodparam"><span class="parameter"><b class="parameter"><tt>icon_set</tt></b></span></span>, <span class="methodparam"><span class="parameter"><b class="parameter"><tt>size</tt></b></span></span>)</code><br><code class="methodsynopsis"> def <span class="methodname"><a href="class-gtkimage.html#function-gtk--image-new-from-animation" title="gtk.image_new_from_animation">gtk.image_new_from_animation</a></span>(<span class="methodparam"><span class="parameter"><b class="parameter"><tt>animation</tt></b></span></span>)</code><br><code class="methodsynopsis"> def <span class="methodname"><a href="class-gtkimage.html#function-gtk--image-new-from-animation" title="gtk.image_new_from_animation">gtk.image_new_from_icon_name</a></span>(<span class="methodparam"><span class="parameter"><b class="parameter"><tt>icon_name</tt></b></span></span>, <span class="methodparam"><span class="parameter"><b class="parameter"><tt>size</tt></b></span></span>)</code></pre></td></tr></table></div><div class="refsect2" lang="en"><a name="id3663646"></a><h3><a href="class-gtkitemfactory.html" title="gtk.ItemFactory"><tt class="classname">gtk.ItemFactory</tt></a> Functions</h3><table border="0" bgcolor="#E0E0E0" width="100%"><tr><td><pre class="programlisting"><code class="methodsynopsis"> def <span class="methodname"><a href="class-gtkitemfactory.html#function-gtk--item-factory-from-widget" title="gtk.item_factory_from_widget">gtk.item_factory_from_widget</a></span>(<span class="methodparam"><span class="parameter"><b class="parameter"><tt>widget</tt></b></span></span>)</code><br><code class="methodsynopsis"> def <span class="methodname"><a href="class-gtkitemfactory.html#function-gtk--item-factory-path-from-widget" title="gtk.item_factory_path_from_widget">gtk.item_factory_path_from_widget</a></span>(<span class="methodparam"><span class="parameter"><b class="parameter"><tt>widget</tt></b></span></span>)</code></pre></td></tr></table></div><div class="refsect2" lang="en"><a name="id3663702"></a><h3><a href="class-gtkobject.html" title="gtk.Object"><tt class="classname">gtk.Object</tt></a> Functions</h3><table border="0" bgcolor="#E0E0E0" width="100%"><tr><td><pre class="programlisting"><code class="methodsynopsis"> def <span class="methodname"><a href="class-gtkobject.html#function-gtk--bindings-activate" title="gtk.bindings_activate">gtk.bindings_activate</a></span>(<span class="methodparam"><span class="parameter"><b class="parameter"><tt>object</tt></b></span></span>, <span class="methodparam"><span class="parameter"><b class="parameter"><tt>keyval</tt></b></span></span>, <span class="methodparam"><span class="parameter"><b class="parameter"><tt>modifiers</tt></b></span></span>)</code><br><code class="methodsynopsis"> def <span class="methodname"><a href="class-gtkobject.html#function-gtk--bindings-activate" title="gtk.bindings_activate">gtk.bindings_activate_event</a></span>(<span class="methodparam"><span class="parameter"><b class="parameter"><tt>object</tt></b></span></span>, <span class="methodparam"><span class="parameter"><b class="parameter"><tt>event</tt></b></span></span>)</code></pre></td></tr></table></div><div class="refsect2" lang="en"><a name="id3663778"></a><h3><a href="class-gtkplug.html" title="gtk.Plug"><tt class="classname">gtk.Plug</tt></a> Functions</h3><table border="0" bgcolor="#E0E0E0" width="100%"><tr><td><pre class="programlisting"><code class="methodsynopsis"> def <span class="methodname"><a href="class-gtkplug.html#function-gtk--plug-new-for-display" title="gtk.plug_new_for_display">gtk.plug_new_for_display</a></span>(<span class="methodparam"><span class="parameter"><b class="parameter"><tt>display</tt></b></span></span>, <span class="methodparam"><span class="parameter"><b class="parameter"><tt>socket_id</tt></b></span></span>)</code></pre></td></tr></table></div><div class="refsect2" lang="en"><a name="id3663820"></a><h3><a href="class-gtkrcstyle.html" title="gtk.RcStyle"><tt class="classname">gtk.RcStyle</tt></a> Functions</h3><table border="0" bgcolor="#E0E0E0" width="100%"><tr><td><pre class="programlisting"><code class="methodsynopsis"> def <span class="methodname"><a href="class-gtkrcstyle.html#function-gtk--rc-add-default-file" title="gtk.rc_add_default_file">gtk.rc_add_default_file</a></span>(<span class="methodparam"><span class="parameter"><b class="parameter"><tt>filename</tt></b></span></span>)</code><br><code class="methodsynopsis"> def <span class="methodname"><a href="class-gtkrcstyle.html#function-gtk--rc-set-default-files" title="gtk.rc_set_default_files">gtk.rc_set_default_files</a></span>(<span class="methodparam"><span class="parameter"><b class="parameter"><tt>filenames</tt></b></span></span>)</code><br><code class="methodsynopsis"> def <span class="methodname"><a href="class-gtkrcstyle.html#function-gtk--rc-get-default-files" title="gtk.rc_get_default_files">gtk.rc_get_default_files</a></span>(<span class="methodparam"></span>)</code><br><code class="methodsynopsis"> def <span class="methodname"><a href="class-gtkrcstyle.html#function-gtk--rc-get-style-by-paths" title="gtk.rc_get_style_by_paths">gtk.rc_get_style_by_paths</a></span>(<span class="methodparam"><span class="parameter"><b class="parameter"><tt>settings</tt></b></span></span>, <span class="methodparam"><span class="parameter"><b class="parameter"><tt>widget_path</tt></b></span></span>, <span class="methodparam"><span class="parameter"><b class="parameter"><tt>class_path</tt></b></span></span>, <span class="methodparam"><span class="parameter"><b class="parameter"><tt>type</tt></b></span></span>)</code><br><code class="methodsynopsis"> def <span class="methodname"><a href="class-gtkrcstyle.html#function-gtk--rc-reparse-all-for-settings" title="gtk.rc_reparse_all_for_settings">gtk.rc_reparse_all_for_settings</a></span>(<span class="methodparam"><span class="parameter"><b class="parameter"><tt>settings</tt></b></span></span>, <span class="methodparam"><span class="parameter"><b class="parameter"><tt>force_load</tt></b></span></span>)</code><br><code class="methodsynopsis"> def <span class="methodname"><a href="class-gtkrcstyle.html#function-gtk--rc-reset-styles" title="gtk.rc_reset_styles">gtk.rc_reset_styles</a></span>(<span class="methodparam"><span class="parameter"><b class="parameter"><tt>settings</tt></b></span></span>)</code><br><code class="methodsynopsis"> def <span class="methodname"><a href="class-gtkrcstyle.html#function-gtk--rc-parse" title="gtk.rc_parse">gtk.rc_parse</a></span>(<span class="methodparam"><span class="parameter"><b class="parameter"><tt>filename</tt></b></span></span>)</code><br><code class="methodsynopsis"> def <span class="methodname"><a href="class-gtkrcstyle.html#function-gtk--rc-parse-string" title="gtk.rc_parse_string">gtk.rc_parse_string</a></span>(<span class="methodparam"><span class="parameter"><b class="parameter"><tt>rc_string</tt></b></span></span>)</code><br><code class="methodsynopsis"> def <span class="methodname"><a href="class-gtkrcstyle.html#function-gtk--rc-reparse-all" title="gtk.rc_reparse_all">gtk.rc_reparse_all</a></span>(<span class="methodparam"></span>)</code><br><code class="methodsynopsis"> def <span class="methodname"><a href="class-gtkrcstyle.html#function-gtk--rc-find-module-in-path" title="gtk.rc_find_module_in_path">gtk.rc_find_module_in_path</a></span>(<span class="methodparam"><span class="parameter"><b class="parameter"><tt>module_file</tt></b></span></span>)</code><br><code class="methodsynopsis"> def <span class="methodname"><a href="class-gtkrcstyle.html#function-gtk--rc-get-theme-dir" title="gtk.rc_get_theme_dir">gtk.rc_get_theme_dir</a></span>(<span class="methodparam"></span>)</code><br><code class="methodsynopsis"> def <span class="methodname"><a href="class-gtkrcstyle.html#function-gtk--rc-get-module-dir" title="gtk.rc_get_module_dir">gtk.rc_get_module_dir</a></span>(<span class="methodparam"></span>)</code><br><code class="methodsynopsis"> def <span class="methodname"><a href="class-gtkrcstyle.html#function-gtk--rc-get-im-module-path" title="gtk.rc_get_im_module_path">gtk.rc_get_im_module_path</a></span>(<span class="methodparam"></span>)</code><br><code class="methodsynopsis"> def <span class="methodname"><a href="class-gtkrcstyle.html#function-gtk--rc-get-im-module-file" title="gtk.rc_get_im_module_file">gtk.rc_get_im_module_file</a></span>(<span class="methodparam"></span>)</code></pre></td></tr></table></div><div class="refsect2" lang="en"><a name="id3664108"></a><h3><a href="class-gtkselectiondata.html" title="gtk.SelectionData"><tt class="classname">gtk.SelectionData</tt></a> Functions</h3><table border="0" bgcolor="#E0E0E0" width="100%"><tr><td><pre class="programlisting"><code class="methodsynopsis"> def <span class="methodname"><a href="class-gtkselectiondata.html#function-gtk--selection-owner-set-for-display" title="gtk.selection_owner_set_for_display">gtk.selection_owner_set_for_display</a></span>(<span class="methodparam"><span class="parameter"><b class="parameter"><tt>display</tt></b></span></span>, <span class="methodparam"><span class="parameter"><b class="parameter"><tt>widget</tt></b></span></span>, <span class="methodparam"><span class="parameter"><b class="parameter"><tt>selection</tt></b></span></span>, <span class="methodparam"><span class="parameter"><b class="parameter"><tt>time</tt></b></span><span class="initializer">=0</span></span>)</code><br><code class="methodsynopsis"> def <span class="methodname"><a href="class-gtkselectiondata.html#function-gtk--target-list-add-image-targets" title="gtk.target_list_add_image_targets">gtk.target_list_add_image_targets</a></span>(<span class="methodparam"><span class="parameter"><b class="parameter"><tt>list</tt></b></span><span class="initializer">=None</span></span>, <span class="methodparam"><span class="parameter"><b class="parameter"><tt>info</tt></b></span><span class="initializer">=0</span></span>, <span class="methodparam"><span class="parameter"><b class="parameter"><tt>writable</tt></b></span><span class="initializer">=FALSE</span></span>)</code><br><code class="methodsynopsis"> def <span class="methodname"><a href="class-gtkselectiondata.html#function-gtk--target-list-add-text-targets" title="gtk.target_list_add_text_targets">gtk.target_list_add_text_targets</a></span>(<span class="methodparam"><span class="parameter"><b class="parameter"><tt>list</tt></b></span><span class="initializer">=None</span></span>, <span class="methodparam"><span class="parameter"><b class="parameter"><tt>info</tt></b></span><span class="initializer">=0</span></span>)</code><br><code class="methodsynopsis"> def <span class="methodname"><a href="class-gtkselectiondata.html#function-gtk--target-list-add-uri-targets" title="gtk.target_list_add_uri_targets">gtk.target_list_add_uri_targets</a></span>(<span class="methodparam"><span class="parameter"><b class="parameter"><tt>list</tt></b></span><span class="initializer">=None</span></span>, <span class="methodparam"><span class="parameter"><b class="parameter"><tt>info</tt></b></span><span class="initializer">=0</span></span>)</code></pre></td></tr></table></div><div class="refsect2" lang="en"><a name="id3664272"></a><h3><a href="class-gtksettings.html" title="gtk.Settings"><tt class="classname">gtk.Settings</tt></a> Functions</h3><table border="0" bgcolor="#E0E0E0" width="100%"><tr><td><pre class="programlisting"><code class="methodsynopsis"> def <span class="methodname"><a href="class-gtksettings.html#function-gtk--settings-get-default" title="gtk.settings_get_default">gtk.settings_get_default</a></span>(<span class="methodparam"></span>)</code><br><code class="methodsynopsis"> def <span class="methodname"><a href="class-gtksettings.html#function-gtk--settings-get-for-screen" title="gtk.settings_get_for_screen">gtk.settings_get_for_screen</a></span>(<span class="methodparam"><span class="parameter"><b class="parameter"><tt>screen</tt></b></span></span>)</code></pre></td></tr></table></div><div class="refsect2" lang="en"><a name="id3664323"></a><h3><a href="class-gtktooltips.html" title="gtk.Tooltips"><tt class="classname">gtk.Tooltips</tt></a> Functions</h3><table border="0" bgcolor="#E0E0E0" width="100%"><tr><td><pre class="programlisting"><code class="methodsynopsis"> def <span class="methodname"><a href="class-gtktooltips.html#function-gtk--tooltips-data-get" title="gtk.tooltips_data_get">gtk.tooltips_data_get</a></span>(<span class="methodparam"><span class="parameter"><b class="parameter"><tt>widget</tt></b></span></span>)</code></pre></td></tr></table></div><div class="refsect2" lang="en"><a name="id3664358"></a><h3><a href="class-gtktreemodel.html" title="gtk.TreeModel"><tt class="classname">gtk.TreeModel</tt></a> Functions</h3><table border="0" bgcolor="#E0E0E0" width="100%"><tr><td><pre class="programlisting"><code class="methodsynopsis"> def <span class="methodname"><a href="class-gtktreemodel.html#function-gtk--tree-row-reference-inserted" title="gtk.tree_row_reference_inserted">gtk.tree_row_reference_inserted</a></span>(<span class="methodparam"><span class="parameter"><b class="parameter"><tt>proxy</tt></b></span></span>, <span class="methodparam"><span class="parameter"><b class="parameter"><tt>path</tt></b></span></span>)</code><br><code class="methodsynopsis"> def <span class="methodname"><a href="class-gtktreemodel.html#function-gtk--tree-row-reference-deleted" title="gtk.tree_row_reference_deleted">gtk.tree_row_reference_deleted</a></span>(<span class="methodparam"><span class="parameter"><b class="parameter"><tt>proxy</tt></b></span></span>, <span class="methodparam"><span class="parameter"><b class="parameter"><tt>path</tt></b></span></span>)</code></pre></td></tr></table></div><div class="refsect2" lang="en"><a name="id3664428"></a><h3><a href="class-gtkwidget.html" title="gtk.Widget"><tt class="classname">gtk.Widget</tt></a> Functions</h3><table border="0" bgcolor="#E0E0E0" width="100%"><tr><td><pre class="programlisting"><code class="methodsynopsis"> def <span class="methodname"><a href="class-gtkwidget.html#function-gtk--widget-push-colormap" title="gtk.widget_push_colormap">gtk.widget_push_colormap</a></span>(<span class="methodparam"><span class="parameter"><b class="parameter"><tt>cmap</tt></b></span></span>)</code><br><code class="methodsynopsis"> def <span class="methodname"><a href="class-gtkwidget.html#function-gtk--widget-push-composite-child" title="gtk.widget_push_composite_child">gtk.widget_push_composite_child</a></span>(<span class="methodparam"></span>)</code><br><code class="methodsynopsis"> def <span class="methodname"><a href="class-gtkwidget.html#function-gtk--widget-pop-composite-child" title="gtk.widget_pop_composite_child">gtk.widget_pop_composite_child</a></span>(<span class="methodparam"></span>)</code><br><code class="methodsynopsis"> def <span class="methodname"><a href="class-gtkwidget.html#function-gtk--widget-pop-colormap" title="gtk.widget_pop_colormap">gtk.widget_pop_colormap</a></span>(<span class="methodparam"></span>)</code><br><code class="methodsynopsis"> def <span class="methodname"><a href="class-gtkwidget.html#function-gtk--widget-get-default-style" title="gtk.widget_get_default_style">gtk.widget_get_default_style</a></span>(<span class="methodparam"></span>)</code><br><code class="methodsynopsis"> def <span class="methodname"><a href="class-gtkwidget.html#function-gtk--widget-set-default-colormap" title="gtk.widget_set_default_colormap">gtk.widget_set_default_colormap</a></span>(<span class="methodparam"><span class="parameter"><b class="parameter"><tt>colormap</tt></b></span></span>)</code><br><code class="methodsynopsis"> def <span class="methodname"><a href="class-gtkwidget.html#function-gtk--widget-get-default-colormap" title="gtk.widget_get_default_colormap">gtk.widget_get_default_colormap</a></span>(<span class="methodparam"></span>)</code><br><code class="methodsynopsis"> def <span class="methodname"><a href="class-gtkwidget.html#function-gtk--widget-get-default-visual" title="gtk.widget_get_default_visual">gtk.widget_get_default_visual</a></span>(<span class="methodparam"></span>)</code><br><code class="methodsynopsis"> def <span class="methodname"><a href="class-gtkwidget.html#function-gtk--widget-set-default-direction" title="gtk.widget_set_default_direction">gtk.widget_set_default_direction</a></span>(<span class="methodparam"><span class="parameter"><b class="parameter"><tt>dir</tt></b></span></span>)</code><br><code class="methodsynopsis"> def <span class="methodname"><a href="class-gtkwidget.html#function-gtk--widget-get-default-direction" title="gtk.widget_get_default_direction">gtk.widget_get_default_direction</a></span>(<span class="methodparam"></span>)</code><br><code class="methodsynopsis"> def <span class="methodname"><a href="class-gtkwidget.html#function-gtk--widget-list-style-properties" title="gtk.widget_list_style_properties">gtk.widget_list_style_properties</a></span>(<span class="methodparam"><span class="parameter"><b class="parameter"><tt>cmap</tt></b></span></span>)</code><br><code class="methodsynopsis"> def <span class="methodname"><a href="class-gtkwidget.html#function-gtk--widget-class-install-style-property" title="gtk.widget_class_install_style_property">gtk.widget_class_install_style_property</a></span>(<span class="methodparam"><span class="parameter"><b class="parameter"><tt>widget</tt></b></span></span>, <span class="methodparam"><span class="parameter"><b class="parameter"><tt>pspec</tt></b></span></span>)</code></pre></td></tr></table></div><div class="refsect2" lang="en"><a name="id3664654"></a><h3><a href="class-gtkwindow.html" title="gtk.Window"><tt class="classname">gtk.Window</tt></a> Functions</h3><table border="0" bgcolor="#E0E0E0" width="100%"><tr><td><pre class="programlisting"><code class="methodsynopsis"> def <span class="methodname"><a href="class-gtkwindow.html#function-gtk--window-set-default-icon" title="gtk.window_set_default_icon">gtk.window_set_default_icon</a></span>(<span class="methodparam"><span class="parameter"><b class="parameter"><tt>icon</tt></b></span></span>)</code><br><code class="methodsynopsis"> def <span class="methodname"><a href="class-gtkwindow.html#function-gtk--window-set-default-icon-from-file" title="gtk.window_set_default_icon_from_file">gtk.window_set_default_icon_from_file</a></span>(<span class="methodparam"><span class="parameter"><b class="parameter"><tt>filename</tt></b></span></span>)</code><br><code class="methodsynopsis"> def <span class="methodname"><a href="class-gtkwindow.html#function-gtk--window-set-default-icon-list" title="gtk.window_set_default_icon_list">gtk.window_set_default_icon_list</a></span>(<span class="methodparam"><span class="parameter"><i class="parameter"><tt>...</tt></i></span></span>)</code><br><code class="methodsynopsis"> def <span class="methodname"><a href="class-gtkwindow.html#function-gtk--window-get-default-icon-list" title="gtk.window_get_default_icon_list">gtk.window_get_default_icon_list</a></span>(<span class="methodparam"></span>)</code><br><code class="methodsynopsis"> def <span class="methodname"><a href="class-gtkwindow.html#function-gtk--window-set-auto-startup-notification" title="gtk.window_set_auto_startup_notification">gtk.window_set_auto_startup_notification</a></span>(<span class="methodparam"><span class="parameter"><b class="parameter"><tt>setting</tt></b></span></span>)</code><br><code class="methodsynopsis"> def <span class="methodname"><a href="class-gtkwindow.html#function-gtk--window-list-toplevels" title="gtk.window_list_toplevels">gtk.window_list_toplevels</a></span>(<span class="methodparam"></span>)</code><br><code class="methodsynopsis"> def <span class="methodname"><a href="class-gtkwindow.html#function-gtk--window-set-default-icon-name" title="gtk.window_set_default_icon_name">gtk.window_set_default_icon_name</a></span>(<span class="methodparam"><span class="parameter"><b class="parameter"><tt>name</tt></b></span></span>)</code></pre></td></tr></table></div><div class="refsect2" lang="en"><a name="id3664797"></a><h3><a href="gtk-stock-items.html" title="Stock Items">Stock Item</a> Functions</h3><table border="0" bgcolor="#E0E0E0" width="100%"><tr><td><pre class="programlisting"><code class="methodsynopsis"> def <span class="methodname"><a href="gtk-stock-items.html#function-gtk--stock-add" title="gtk.stock_add">gtk.stock_add</a></span>(<span class="methodparam"><span class="parameter"><b class="parameter"><tt>items</tt></b></span></span>)</code><br><code class="methodsynopsis"> def <span class="methodname"><a href="gtk-stock-items.html#function-gtk--stock-lookup" title="gtk.stock_lookup">gtk.stock_lookup</a></span>(<span class="methodparam"><span class="parameter"><i class="parameter"><tt>stock_id</tt></i></span></span>)</code><br><code class="methodsynopsis"> def <span class="methodname"><a href="gtk-stock-items.html#function-gtk--stock-list-ids" title="gtk.stock_list_ids">gtk.stock_list_ids</a></span>(<span class="methodparam"><span class="parameter"><b class="parameter"><tt></tt></b></span></span>)</code></pre></td></tr></table></div><div class="refsect2" lang="en"><a name="id3664865"></a><h3>Miscellaneous Functions</h3><table border="0" bgcolor="#E0E0E0" width="100%"><tr><td><pre class="programlisting"><code class="methodsynopsis"> def <span class="methodname"><a href="gtk-functions.html#function-gtk--binding-entry-add-signal" title="gtk.binding_entry_add_signal">gtk.binding_entry_add_signal</a></span>(<span class="methodparam"><span class="parameter"><i class="parameter"><tt>object</tt></i></span></span>, <span class="methodparam"><span class="parameter"><i class="parameter"><tt>keyval</tt></i></span></span>, <span class="methodparam"><span class="parameter"><i class="parameter"><tt>modifiers</tt></i></span></span>, <span class="methodparam"><span class="parameter"><i class="parameter"><tt>signal_name</tt></i></span></span>, <span class="methodparam"><span class="parameter"><i class="parameter"><tt>...</tt></i></span></span>)</code><br><code class="methodsynopsis"> def <span class="methodname"><a href="gtk-functions.html#function-gtk--check-version" title="gtk.check_version">gtk.check_version</a></span>(<span class="methodparam"><span class="parameter"><b class="parameter"><tt>required_major</tt></b></span></span>, <span class="methodparam"><span class="parameter"><b class="parameter"><tt>required_minor</tt></b></span></span>, <span class="methodparam"><span class="parameter"><b class="parameter"><tt>required_micro</tt></b></span></span>)</code><br><code class="methodsynopsis"> def <span class="methodname"><a href="gtk-functions.html#function-gtk--draw-insertion-cursor" title="gtk.draw_insertion_cursor">gtk.draw_insertion_cursor</a></span>(<span class="methodparam"><span class="parameter"><b class="parameter"><tt>widget</tt></b></span></span>, <span class="methodparam"><span class="parameter"><b class="parameter"><tt>drawable</tt></b></span></span>, <span class="methodparam"><span class="parameter"><b class="parameter"><tt>area</tt></b></span></span>, <span class="methodparam"><span class="parameter"><b class="parameter"><tt>location</tt></b></span></span>, <span class="methodparam"><span class="parameter"><b class="parameter"><tt>is_primary</tt></b></span></span>, <span class="methodparam"><span class="parameter"><b class="parameter"><tt>direction</tt></b></span></span>, <span class="methodparam"><span class="parameter"><b class="parameter"><tt>draw_arrow</tt></b></span></span>)</code><br><code class="methodsynopsis"> def <span class="methodname"><a href="gtk-functions.html#function-gtk--get-default-language" title="gtk.get_default_language">gtk.get_default_language</a></span>(<span class="methodparam"></span>)</code><br><code class="methodsynopsis"> def <span class="methodname"><a href="gtk-functions.html#function-gtk--events-pending" title="gtk.events_pending">gtk.events_pending</a></span>(<span class="methodparam"></span>)</code><br><code class="methodsynopsis"> def <span class="methodname"><a href="gtk-functions.html#function-gtk--main-do-event" title="gtk.main_do_event">gtk.main_do_event</a></span>(<span class="methodparam"><span class="parameter"><b class="parameter"><tt>event</tt></b></span></span>)</code><br><code class="methodsynopsis"> def <span class="methodname"><a href="gtk-functions.html#function-gtk--main" title="gtk.main">gtk.main</a></span>(<span class="methodparam"></span>)</code><br><code class="methodsynopsis"> def <span class="methodname"><a href="gtk-functions.html#function-gtk--main-level" title="gtk.main_level">gtk.main_level</a></span>(<span class="methodparam"></span>)</code><br><code class="methodsynopsis"> def <span class="methodname"><a href="gtk-functions.html#function-gtk--main-quit" title="gtk.main_quit">gtk.main_quit</a></span>(<span class="methodparam"></span>)</code><br><code class="methodsynopsis"> def <span class="methodname"><a href="gtk-functions.html#function-gtk--main-iteration" title="gtk.main_iteration">gtk.main_iteration</a></span>(<span class="methodparam"><span class="parameter"><b class="parameter"><tt>block</tt></b></span></span>)</code><br><code class="methodsynopsis"> def <span class="methodname"><a href="gtk-functions.html#function-gtk--main-iteration-do" title="gtk.main_iteration_do">gtk.main_iteration_do</a></span>(<span class="methodparam"><span class="parameter"><b class="parameter"><tt>block</tt></b></span></span>)</code><br><code class="methodsynopsis"> def <span class="methodname"><a href="gtk-functions.html#function-gtk--grab-get-current" title="gtk.grab_get_current">gtk.grab_get_current</a></span>(<span class="methodparam"><span class="parameter"><b class="parameter"><tt></tt></b></span></span>)</code><br><code class="methodsynopsis"> def <span class="methodname"><a href="gtk-functions.html#function-gtk--quit-add" title="gtk.quit_add">gtk.quit_add</a></span>(<span class="methodparam"><span class="parameter"><i class="parameter"><tt>level</tt></i></span></span>, <span class="methodparam"><span class="parameter"><i class="parameter"><tt>func</tt></i></span></span>, <span class="methodparam"><span class="parameter"><i class="parameter"><tt>...</tt></i></span></span>)</code><br><code class="methodsynopsis"> def <span class="methodname"><a href="gtk-functions.html#function-gtk--quit-remove" title="gtk.quit_remove">gtk.quit_remove</a></span>(<span class="methodparam"><span class="parameter"><b class="parameter"><tt>quit_handler_id</tt></b></span></span>)</code><br><code class="methodsynopsis"> def <span class="methodname"><a href="gtk-functions.html#function-gtk--get-current-event" title="gtk.get_current_event">gtk.get_current_event</a></span>()</code><br><code class="methodsynopsis"> def <span class="methodname"><a href="gtk-functions.html#function-gtk--get-current-event-state" title="gtk.get_current_event_state">gtk.get_current_event_state</a></span>()</code><br><code class="methodsynopsis"> def <span class="methodname"><a href="gtk-functions.html#function-gtk--get-current-event-time" title="gtk.get_current_event_time">gtk.get_current_event_time</a></span>()</code></pre></td></tr></table></div></div><div class="refsect1" lang="en"><a name="id3665241"></a><h2>Description</h2><p>All <tt class="literal">PyGTK</tt> functions for the gtk module are
listed above categorized by class. Those functions associated with a class
have their descriptions included with the class reference. Those functions
that are not associated with a specific class are described below.</p></div><div class="refsect1" lang="en"><a name="id3665260"></a><h2>Functions</h2><div class="refsect2" lang="en"><a name="function-gtk--binding-entry-add-signal"></a><h3>gtk.binding_entry_add_signal</h3><table border="0" bgcolor="#E0E0E0" width="100%"><tr><td><pre class="programlisting"><code class="methodsynopsis"> def <span class="methodname">gtk.binding_entry_add_signal</span>(<span class="methodparam"><span class="parameter"><i class="parameter"><tt>class</tt></i></span></span>, <span class="methodparam"><span class="parameter"><i class="parameter"><tt>keyval</tt></i></span></span>, <span class="methodparam"><span class="parameter"><i class="parameter"><tt>modifiers</tt></i></span></span>, <span class="methodparam"><span class="parameter"><i class="parameter"><tt>signal_name</tt></i></span></span>, <span class="methodparam"><span class="parameter"><i class="parameter"><tt>...</tt></i></span></span>)</code></pre></td></tr></table><table border="0" width="100%" bgcolor="#FFECCE"><col align="left" valign="top" width="0*"><tbody><tr><td><span class="term"><b class="parameter"><tt>object</tt></b>:</span></td><td>the <a href="class-gtkobject.html" title="gtk.Object"><tt class="classname">gtk.Object</tt></a>
class the binding entry will be associated with</td></tr><tr><td><span class="term"><b class="parameter"><tt>keyval</tt></b>:</span></td><td>the key value</td></tr><tr><td><span class="term"><b class="parameter"><tt>modifiers</tt></b>:</span></td><td>the modifier mask</td></tr><tr><td><span class="term"><b class="parameter"><tt>signal_name</tt></b>:</span></td><td>the signal name</td></tr><tr><td><span class="term"><b class="parameter"><tt>...</tt></b>:</span></td><td>zero or more pairs of value type-value
pairs</td></tr></tbody></table><p>The <tt class="function">gtk.binding_entry_add_signal</tt>() function
adds a binding (specified by <i class="parameter"><tt>keyval</tt></i> and
<i class="parameter"><tt>modifiers</tt></i>) to the binding set of the specified object
<i class="parameter"><tt>class</tt></i>. The signal specified by
<i class="parameter"><tt>signal_name</tt></i> will be emitted with the optional
arguments specified by the argument pairs denoted by ... that are value type
and value. This function is used when creating a new widget class to set up
key bindings.</p></div><div class="refsect2" lang="en"><a name="function-gtk--check-version"></a><h3>gtk.check_version</h3><table border="0" bgcolor="#E0E0E0" width="100%"><tr><td><pre class="programlisting"><code class="methodsynopsis"> def <span class="methodname">gtk.check_version</span>(<span class="methodparam"><span class="parameter"><b class="parameter"><tt>required_major</tt></b></span></span>, <span class="methodparam"><span class="parameter"><b class="parameter"><tt>required_minor</tt></b></span></span>, <span class="methodparam"><span class="parameter"><b class="parameter"><tt>required_micro</tt></b></span></span>)</code></pre></td></tr></table><table border="0" width="100%" bgcolor="#FFECCE"><col align="left" valign="top" width="0*"><tbody><tr><td><span class="term"><b class="parameter"><tt>required_major</tt></b>:</span></td><td>the required major version
number</td></tr><tr><td><span class="term"><b class="parameter"><tt>required_minor</tt></b>:</span></td><td>the required minor version
number</td></tr><tr><td><span class="term"><b class="parameter"><tt>required_micro</tt></b>:</span></td><td>the required micro version
number</td></tr><tr><td><span class="term"><span class="emphasis"><em>Returns</em></span>:</span></td><td><tt class="literal">None</tt> if the underlying
<tt class="literal">GTK+</tt> library is compatible or a string describing the
mismatch</td></tr></tbody></table><p>The <tt class="function">gtk.check_version</tt>() function checks the
underlying <tt class="literal">GTK+</tt> library version against the version
specified by <i class="parameter"><tt>required_major</tt></i>,
<i class="parameter"><tt>required_minor</tt></i> and
<i class="parameter"><tt>required_micro</tt></i>. If the library is compatible this
function returns <tt class="literal">None</tt>; otherwise it returns a string
describing the mismatch.</p></div><div class="refsect2" lang="en"><a name="function-gtk--draw-insertion-cursor"></a><h3>gtk.draw_insertion_cursor</h3><table border="0" bgcolor="#E0E0E0" width="100%"><tr><td><pre class="programlisting"><code class="methodsynopsis"> def <span class="methodname">gtk.draw_insertion_cursor</span>(<span class="methodparam"><span class="parameter"><b class="parameter"><tt>widget</tt></b></span></span>, <span class="methodparam"><span class="parameter"><b class="parameter"><tt>drawable</tt></b></span></span>, <span class="methodparam"><span class="parameter"><b class="parameter"><tt>area</tt></b></span></span>, <span class="methodparam"><span class="parameter"><b class="parameter"><tt>location</tt></b></span></span>, <span class="methodparam"><span class="parameter"><b class="parameter"><tt>is_primary</tt></b></span></span>, <span class="methodparam"><span class="parameter"><b class="parameter"><tt>direction</tt></b></span></span>, <span class="methodparam"><span class="parameter"><b class="parameter"><tt>draw_arrow</tt></b></span></span>)</code></pre></td></tr></table><table border="0" width="100%" bgcolor="#FFECCE"><col align="left" valign="top" width="0*"><tbody><tr><td><span class="term"><b class="parameter"><tt>widget</tt></b>:</span></td><td>a <a href="class-gtkwidget.html" title="gtk.Widget"><tt class="classname">gtk.Widget</tt></a></td></tr><tr><td><span class="term"><b class="parameter"><tt>drawable</tt></b>:</span></td><td>a <a href="class-gdkdrawable.html" title="gtk.gdk.Drawable"><tt class="classname">gtk.gdk.Drawable</tt></a></td></tr><tr><td><span class="term"><b class="parameter"><tt>area</tt></b>:</span></td><td>the rectangle to which the output is clipped, or
<tt class="literal">None</tt> if the output should not be clipped</td></tr><tr><td><span class="term"><b class="parameter"><tt>location</tt></b>:</span></td><td>the location to draw the cursor
(<i class="parameter"><tt>location.width</tt></i> is
ignored)</td></tr><tr><td><span class="term"><b class="parameter"><tt>is_primary</tt></b>:</span></td><td> if <tt class="literal">TRUE</tt> the cursor should
be the primary cursor color.</td></tr><tr><td><span class="term"><b class="parameter"><tt>direction</tt></b>:</span></td><td>the direction of the cursor; either
<tt class="literal">gtk.TEXT_DIR_LTR</tt> or
<tt class="literal">gtk.TEXT_DIR_RTL</tt></td></tr><tr><td><span class="term"><b class="parameter"><tt>draw_arrow</tt></b>:</span></td><td>if <tt class="literal">TRUE</tt> draw a directional
arrow on the cursor. Should be <tt class="literal">FALSE</tt> unless the
cursor is split.</td></tr></tbody></table><div class="note" style="margin-left: 0.5in; margin-right: 0.5in;"><h3 class="title">Note</h3><p>This function is available in PyGTK 2.4 and above.</p></div><p>The <tt class="function">gtk.draw_insertion_cursor</tt>() function
draws a text caret on the <a href="class-gdkdrawable.html" title="gtk.gdk.Drawable"><tt class="classname">gtk.gdk.Drawable</tt></a>
specified by <i class="parameter"><tt>drawable</tt></i> at the position specified by
<i class="parameter"><tt>location</tt></i>. <i class="parameter"><tt>area</tt></i> specifies a
clipping rectangle or is <tt class="literal">None</tt> if the output should not be
clipped. If <i class="parameter"><tt>is_primary</tt></i> is <tt class="literal">TRUE</tt> the
cursor should be the primary cursor color. <i class="parameter"><tt>direction</tt></i>
specifies whether the cursor is right-to-left or left-to-right. This is a
convenience function for drawing the standard cursor shape.</p></div><div class="refsect2" lang="en"><a name="function-gtk--get-default-language"></a><h3>gtk.get_default_language</h3><table border="0" bgcolor="#E0E0E0" width="100%"><tr><td><pre class="programlisting"><code class="methodsynopsis"> def <span class="methodname">gtk.get_default_language</span>(<span class="methodparam"></span>)</code></pre></td></tr></table><table border="0" width="100%" bgcolor="#FFECCE"><col align="left" valign="top" width="0*"><tbody><tr><td><span class="term"><span class="emphasis"><em>Returns</em></span>:</span></td><td>a <a href="class-pangolanguage.html" title="pango.Language"><tt class="classname">pango.Language</tt></a>
object for the default language</td></tr></tbody></table><p>The <tt class="function">gtk.get_default_language</tt>() function
returns a <a href="class-pangolanguage.html" title="pango.Language"><tt class="classname">pango.Language</tt></a>
describing the default language.</p></div><div class="refsect2" lang="en"><a name="function-gtk--events-pending"></a><h3>gtk.events_pending</h3><table border="0" bgcolor="#E0E0E0" width="100%"><tr><td><pre class="programlisting"><code class="methodsynopsis"> def <span class="methodname">gtk.events_pending</span>(<span class="methodparam"></span>)</code></pre></td></tr></table><table border="0" width="100%" bgcolor="#FFECCE"><col align="left" valign="top" width="0*"><tbody><tr><td><span class="term"><span class="emphasis"><em>Returns</em></span>:</span></td><td><tt class="literal">TRUE</tt> if any events are
pending</td></tr></tbody></table><p>The <tt class="function">gtk.events_pending</tt>() function returns
<tt class="literal">TRUE</tt> if any events are pending. This can be used to
update the user interface and invoke timeouts etc. while doing some time
intensive computation.</p></div><div class="refsect2" lang="en"><a name="function-gtk--main-do-event"></a><h3>gtk.main_do_event</h3><table border="0" bgcolor="#E0E0E0" width="100%"><tr><td><pre class="programlisting"><code class="methodsynopsis"> def <span class="methodname">gtk.main_do_event</span>(<span class="methodparam"><span class="parameter"><b class="parameter"><tt></tt></b></span></span>)</code></pre></td></tr></table><table border="0" width="100%" bgcolor="#FFECCE"><col align="left" valign="top" width="0*"><tbody><tr><td><span class="term"><b class="parameter"><tt>event</tt></b>:</span></td><td>a <a href="class-gdkevent.html" title="gtk.gdk.Event"><tt class="classname">gtk.gdk.Event</tt></a> to
process</td></tr></tbody></table><p>The <tt class="function">gtk.main_do_event</tt>() function processes
a single <a href="class-gdkevent.html" title="gtk.gdk.Event"><tt class="classname">gtk.gdk.Event</tt></a>. This
function is public only to allow filtering of events between
<tt class="literal">GDK</tt> and <tt class="literal">GTK+</tt>. You will not usually
need to call this function directly. While you should not call this function
directly, you might want to know how exactly events are handled. So here is
what this function does with the event:</p><div class="orderedlist"><ol type="1"><li>Compress enter/leave notify events. If the event passed
builds an enter-leave pair together with the next event (peeked from
<tt class="literal">GDK</tt>) both events are thrown away. This is to avoid a
backlog of (de-)highlighting widgets crossed by the pointer.</li><li>Find the widget which got the event. If the widget can't
be determined the event is thrown away unless it belongs to a
<tt class="literal">INCR</tt> transaction. In that case it is passed to
<tt class="function">gtk_selection_incr_event</tt>().</li><li>Then the event is passed on a stack so you can query the
currently handled event with <a href="gtk-functions.html#function-gtk--get-current-event" title="gtk.get_current_event"><tt class="function">gtk.get_current_event</tt>()</a>.</li><li><p>The event is sent to a widget. If a grab is active all
events for widgets that are not in the contained in the grab widget are sent
to the latter with a few exceptions:</p><div class="itemizedlist"><ul type="disc"><li>Deletion and destruction events are still sent to the
event widget for obvious reasons. </li><li>Events which directly relate to the visual
representation of the event widget. </li><li>Leave events are delivered to the event widget if
there was an enter event delivered to it before without the paired leave
event. </li><li>Drag events are not redirected because it is unclear
what the semantics of that would be. </li></ul></div><p>Another point of interest might be that all key events
are first passed through the key snooper functions if there are any. Read
the description of <tt class="function">gtk_key_snooper_install</tt>() if you
need this feature.</p></li><li>After finishing the delivery the event is popped from the
event stack. </li></ol></div><p></p></div><div class="refsect2" lang="en"><a name="function-gtk--main"></a><h3>gtk.main</h3><table border="0" bgcolor="#E0E0E0" width="100%"><tr><td><pre class="programlisting"><code class="methodsynopsis"> def <span class="methodname">gtk.main</span>(<span class="methodparam"></span>)</code></pre></td></tr></table><p>The <tt class="function">gtk.main</tt>() function runs the main loop
until the <a href="gtk-functions.html#function-gtk--main-quit" title="gtk.main_quit"><tt class="function">gtk.main_quit</tt>()</a>
function is called. You can nest calls to <tt class="function">gtk.main</tt>().
In that case the call to the <a href="gtk-functions.html#function-gtk--main-quit" title="gtk.main_quit"><tt class="function">gtk.main_quit</tt>()</a>
function will make the innermost invocation of the main loop return.</p></div><div class="refsect2" lang="en"><a name="function-gtk--main-level"></a><h3>gtk.main_level</h3><table border="0" bgcolor="#E0E0E0" width="100%"><tr><td><pre class="programlisting"><code class="methodsynopsis"> def <span class="methodname">gtk.main_level</span>(<span class="methodparam"></span>)</code></pre></td></tr></table><table border="0" width="100%" bgcolor="#FFECCE"><col align="left" valign="top" width="0*"><tbody><tr><td><span class="term"><span class="emphasis"><em>Returns</em></span>:</span></td><td>the nesting level of the current invocation of
the main loop</td></tr></tbody></table><p>The <tt class="function">gtk.main_level</tt>() function returns the
current nesting level of the main loop. The nesting level is increased by
calling the <a href="gtk-functions.html#function-gtk--main" title="gtk.main"><tt class="function">gtk.main</tt>()</a> function
and reduced by calling the <a href="gtk-functions.html#function-gtk--main-quit" title="gtk.main_quit"><tt class="function">gtk.main_quit</tt>()</a>
function.</p></div><div class="refsect2" lang="en"><a name="function-gtk--main-quit"></a><h3>gtk.main_quit</h3><table border="0" bgcolor="#E0E0E0" width="100%"><tr><td><pre class="programlisting"><code class="methodsynopsis"> def <span class="methodname">gtk.main_quit</span>(<span class="methodparam"></span>)</code></pre></td></tr></table><p>The <tt class="function">gtk.main_quit</tt>() function terminates the
current main loop level started by the most recent call to the <a href="gtk-functions.html#function-gtk--main" title="gtk.main"><tt class="function">gtk.main</tt>()</a>
function. The nesting level of the main loop is reduced by calling this
function.</p></div><div class="refsect2" lang="en"><a name="function-gtk--main-iteration"></a><h3>gtk.main_iteration</h3><table border="0" bgcolor="#E0E0E0" width="100%"><tr><td><pre class="programlisting"><code class="methodsynopsis"> def <span class="methodname">gtk.main_iteration</span>(<span class="methodparam"><span class="parameter"><b class="parameter"><tt>block</tt></b></span><span class="initializer">=TRUE</span></span>)</code></pre></td></tr></table><table border="0" width="100%" bgcolor="#FFECCE"><col align="left" valign="top" width="0*"><tbody><tr><td><span class="term"><b class="parameter"><tt>block</tt></b>:</span></td><td>if <tt class="literal">TRUE</tt> block if no events
are pending</td></tr><tr><td><span class="term"><span class="emphasis"><em>Returns</em></span>:</span></td><td><tt class="literal">TRUE</tt> if the <a href="gtk-functions.html#function-gtk--main-quit" title="gtk.main_quit"><tt class="function">gtk.main_quit</tt>()</a>
function has been called for the innermost main loop.</td></tr></tbody></table><p>The <tt class="function">gtk.main_iteration</tt>() function runs a
single iteration of the mainloop. If no events are waiting to be processed
<tt class="literal">PyGTK</tt> will block until the next event is noticed if
<i class="parameter"><tt>block</tt></i> is <tt class="literal">TRUE</tt>. This function is
identical to the <a href="gtk-functions.html#function-gtk--main-iteration-do" title="gtk.main_iteration_do"><tt class="function">gtk.main_iteration_do</tt>()</a>
function.</p></div><div class="refsect2" lang="en"><a name="function-gtk--main-iteration-do"></a><h3>gtk.main_iteration_do</h3><table border="0" bgcolor="#E0E0E0" width="100%"><tr><td><pre class="programlisting"><code class="methodsynopsis"> def <span class="methodname">gtk.main_iteration_do</span>(<span class="methodparam"><span class="parameter"><b class="parameter"><tt>block</tt></b></span><span class="initializer">=TRUE</span></span>)</code></pre></td></tr></table><table border="0" width="100%" bgcolor="#FFECCE"><col align="left" valign="top" width="0*"><tbody><tr><td><span class="term"><b class="parameter"><tt>block</tt></b>:</span></td><td>if <tt class="literal">TRUE</tt> block if no events
are pending</td></tr><tr><td><span class="term"><span class="emphasis"><em>Returns</em></span>:</span></td><td><tt class="literal">TRUE</tt> if the <a href="gtk-functions.html#function-gtk--main-quit" title="gtk.main_quit"><tt class="function">gtk.main_quit</tt>()</a>
function has been called for the innermost main loop.</td></tr></tbody></table><p>The <tt class="function">gtk.main_iteration_do</tt>() function runs a
single iteration of the main loop. If <i class="parameter"><tt>block</tt></i> is
<tt class="literal">TRUE</tt> block until an event occurs. This function is
identical to the <a href="gtk-functions.html#function-gtk--main-iteration" title="gtk.main_iteration"><tt class="function">gtk.main_iteration</tt>()</a>
function.</p></div><div class="refsect2" lang="en"><a name="function-gtk--grab-get-current"></a><h3>gtk.grab_get_current</h3><table border="0" bgcolor="#E0E0E0" width="100%"><tr><td><pre class="programlisting"><code class="methodsynopsis"> def <span class="methodname">gtk.grab_get_current</span>(<span class="methodparam"></span>)</code></pre></td></tr></table><table border="0" width="100%" bgcolor="#FFECCE"><col align="left" valign="top" width="0*"><tbody><tr><td><span class="term"><span class="emphasis"><em>Returns</em></span>:</span></td><td>the <a href="class-gtkwidget.html" title="gtk.Widget"><tt class="classname">gtk.Widget</tt></a> that has
the grab currently or <tt class="literal">None</tt> if no grab is
active</td></tr></tbody></table><p>The <tt class="function">gtk.grab_get_current</tt>() function returns
the <a href="class-gtkwidget.html" title="gtk.Widget"><tt class="classname">gtk.Widget</tt></a>
that has the grab or <tt class="literal">None</tt> if no grab is active.</p></div><div class="refsect2" lang="en"><a name="function-gtk--quit-add"></a><h3>gtk.quit_add</h3><table border="0" bgcolor="#E0E0E0" width="100%"><tr><td><pre class="programlisting"><code class="methodsynopsis"> def <span class="methodname">gtk.quit_add</span>(<span class="methodparam"><span class="parameter"><i class="parameter"><tt>level</tt></i></span></span>, <span class="methodparam"><span class="parameter"><i class="parameter"><tt>func</tt></i></span></span>, <span class="methodparam"><span class="parameter"><i class="parameter"><tt>...</tt></i></span></span>)</code></pre></td></tr></table><table border="0" width="100%" bgcolor="#FFECCE"><col align="left" valign="top" width="0*"><tbody><tr><td><span class="term"><b class="parameter"><tt>level</tt></b>:</span></td><td>the level at which termination
<i class="parameter"><tt>func</tt></i> shall be called. You can pass 0 here to have
<i class="parameter"><tt>func</tt></i> run at the termination of the current main
loop.</td></tr><tr><td><span class="term"><b class="parameter"><tt>func</tt></b>:</span></td><td>the function to call - it should return 0 to be
removed from the list of quit handlers</td></tr><tr><td><span class="term"><b class="parameter"><tt>...</tt></b>:</span></td><td>optional parameter(s) to be passed to
<i class="parameter"><tt>func</tt></i></td></tr><tr><td><span class="term"><span class="emphasis"><em>Returns</em></span>:</span></td><td>a handle for this quit handler (you need this
for the <a href="gtk-functions.html#function-gtk--quit-remove" title="gtk.quit_remove"><tt class="function">gtk.quit_remove</tt>()</a>
function).</td></tr></tbody></table><p>The <tt class="function">gtk.quit_add</tt>() function registers a
function specified by <i class="parameter"><tt>func</tt></i> to be called when the
specified main loop <i class="parameter"><tt>level</tt></i> is exited.
<i class="parameter"><tt>func</tt></i> should return 0 to be removed from the list of
quit handlers. This function returns a handler ID that is used when removing
the handler with the <a href="gtk-functions.html#function-gtk--quit-remove" title="gtk.quit_remove"><tt class="function">gtk.quit_remove</tt>()</a>
function.</p></div><div class="refsect2" lang="en"><a name="function-gtk--quit-remove"></a><h3>gtk.quit_remove</h3><table border="0" bgcolor="#E0E0E0" width="100%"><tr><td><pre class="programlisting"><code class="methodsynopsis"> def <span class="methodname">gtk.quit_remove</span>(<span class="methodparam"><span class="parameter"><b class="parameter"><tt>quit_handler_id</tt></b></span></span>)</code></pre></td></tr></table><table border="0" width="100%" bgcolor="#FFECCE"><col align="left" valign="top" width="0*"><tbody><tr><td><span class="term"><b class="parameter"><tt>quit_handler_id</tt></b>:</span></td><td>the ID of a quit handler</td></tr></tbody></table><p>The <tt class="function">gtk.quit_remove</tt>() function removes the
quit handler specified by <i class="parameter"><tt>quit_handler_id</tt></i> from the
list of quit handlers.</p></div><div class="refsect2" lang="en"><a name="function-gtk--get-current-event"></a><h3>gtk.get_current_event</h3><table border="0" bgcolor="#E0E0E0" width="100%"><tr><td><pre class="programlisting"><code class="methodsynopsis"> def <span class="methodname">gtk.get_current_event</span>(<span class="methodparam"></span>)</code></pre></td></tr></table><table border="0" width="100%" bgcolor="#FFECCE"><col align="left" valign="top" width="0*"><tbody><tr><td><span class="term"><span class="emphasis"><em>Returns</em></span>:</span></td><td>a copy of the current event or
<tt class="literal">None</tt></td></tr></tbody></table><div class="note" style="margin-left: 0.5in; margin-right: 0.5in;"><h3 class="title">Note</h3><p>This function is available in PyGTK 2.6 and above.</p></div><p>The <tt class="function">gtk.get_current_event</tt>() function
returns a copy of the event currently being processed by GTK+. For example,
if you get a "clicked" signal from <a href="class-gtkbutton.html" title="gtk.Button"><tt class="classname">gtk.Button</tt></a>, the
current event will be the GdkEventButton that triggered the "clicked"
signal. If there is no current event, the function returns
<tt class="literal">None</tt>.</p></div><div class="refsect2" lang="en"><a name="function-gtk--get-current-event-state"></a><h3>gtk.get_current_event_state</h3><table border="0" bgcolor="#E0E0E0" width="100%"><tr><td><pre class="programlisting"><code class="methodsynopsis"> def <span class="methodname">gtk.get_current_event_state</span>(<span class="methodparam"></span>)</code></pre></td></tr></table><table border="0" width="100%" bgcolor="#FFECCE"><col align="left" valign="top" width="0*"><tbody><tr><td><span class="term"><span class="emphasis"><em>Returns</em></span>:</span></td><td>the state of the current event if any or
<tt class="literal">None</tt> if there is no current event or
state</td></tr></tbody></table><div class="note" style="margin-left: 0.5in; margin-right: 0.5in;"><h3 class="title">Note</h3><p>This function is available in PyGTK 2.6 and above.</p></div><p>The <tt class="function">gtk.get_current_event_state</tt>() function
returns the state of the current event or <tt class="literal">None</tt> if there
is no current event or state.</p></div><div class="refsect2" lang="en"><a name="function-gtk--get-current-event-time"></a><h3>gtk.get_current_event_time</h3><table border="0" bgcolor="#E0E0E0" width="100%"><tr><td><pre class="programlisting"><code class="methodsynopsis"> def <span class="methodname">gtk.get_current_event_time</span>(<span class="methodparam"></span>)</code></pre></td></tr></table><table border="0" width="100%" bgcolor="#FFECCE"><col align="left" valign="top" width="0*"><tbody><tr><td><span class="term"><span class="emphasis"><em>Returns</em></span>:</span></td><td>the timestamp of the current event or
0L</td></tr></tbody></table><p>The <tt class="function">gtk.get_current_event_time</tt>() function
returns the timestamp from the current event or 0L if there is no current
event.</p></div></div></div><div class="navfooter"><hr><table width="100%" summary="Navigation footer"><tr><td width="40%" align="left"><a accesskey="p" href="class-gtkwindowgroup.html">Prev</a></td><td width="20%" align="center"><a accesskey="u" href="gtk-class-reference.html">Up</a></td><td width="40%" align="right"><a accesskey="n" href="gtk-stock-items.html">Next</a></td></tr><tr><td width="40%" align="left" valign="top">gtk.WindowGroup</td><td width="20%" align="center"><a accesskey="h" href="index.html">Home</a></td><td width="40%" align="right" valign="top">Stock Items</td></tr></table></div></body></html>
|