~ubuntu-branches/ubuntu/precise/gtk+2.0/precise-updates

« back to all changes in this revision

Viewing changes to docs/reference/gtk/html/GtkItemFactory.html

  • Committer: Package Import Robot
  • Author(s): Ken VanDine
  • Date: 2011-12-01 11:40:06 UTC
  • mfrom: (1.14.11)
  • Revision ID: package-import@ubuntu.com-20111201114006-nrmf6qu3pg512veo
Tags: 2.24.8-0ubuntu1
* New upstream release 
  - gtkfilechooser should be more robust to malformed URIs
    in .gtk-bookmarks (LP: #189494)
* debian/patches/010_make_bg_changes_queue_repaint.patch
  - dropped it introduces performance regressions in some gtk2 
    apps (LP: #889019)
* 101_filechooser.patch, 000git_file_chooser.patch: dropped, upstream

Show diffs side-by-side

added added

removed removed

Lines of Context:
8
8
<link rel="up" href="DeprecatedObjects.html" title="Deprecated">
9
9
<link rel="prev" href="GtkFileSelection.html" title="GtkFileSelection">
10
10
<link rel="next" href="GtkList.html" title="GtkList">
11
 
<meta name="generator" content="GTK-Doc V1.17.1 (XML mode)">
 
11
<meta name="generator" content="GTK-Doc V1.17 (XML mode)">
12
12
<link rel="stylesheet" href="style.css" type="text/css">
13
13
</head>
14
14
<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF">
43
43
#include &lt;gtk/gtk.h&gt;
44
44
 
45
45
struct              <a class="link" href="GtkItemFactory.html#GtkItemFactory-struct" title="struct GtkItemFactory">GtkItemFactory</a>;
46
 
<span class="returnvalue">void</span>                (<a class="link" href="GtkItemFactory.html#GtkPrintFunc" title="GtkPrintFunc ()">*GtkPrintFunc</a>)                     (<em class="parameter"><code><span class="type">gpointer</span> func_data</code></em>,
47
 
                                                         <em class="parameter"><code>const <span class="type">gchar</span> *str</code></em>);
48
 
<span class="returnvalue">gchar</span> *             (<a class="link" href="GtkItemFactory.html#GtkTranslateFunc" title="GtkTranslateFunc ()">*GtkTranslateFunc</a>)                 (<em class="parameter"><code>const <span class="type">gchar</span> *path</code></em>,
49
 
                                                         <em class="parameter"><code><span class="type">gpointer</span> func_data</code></em>);
 
46
<span class="returnvalue">void</span>                (<a class="link" href="GtkItemFactory.html#GtkPrintFunc" title="GtkPrintFunc ()">*GtkPrintFunc</a>)                     (<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> func_data</code></em>,
 
47
                                                         <em class="parameter"><code>const <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *str</code></em>);
 
48
<a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="returnvalue">gchar</span></a> *             (<a class="link" href="GtkItemFactory.html#GtkTranslateFunc" title="GtkTranslateFunc ()">*GtkTranslateFunc</a>)                 (<em class="parameter"><code>const <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *path</code></em>,
 
49
                                                         <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> func_data</code></em>);
50
50
<span class="returnvalue">void</span>                (<a class="link" href="GtkItemFactory.html#GtkItemFactoryCallback" title="GtkItemFactoryCallback ()">*GtkItemFactoryCallback</a>)           ();
51
 
<span class="returnvalue">void</span>                (<a class="link" href="GtkItemFactory.html#GtkItemFactoryCallback1" title="GtkItemFactoryCallback1 ()">*GtkItemFactoryCallback1</a>)          (<em class="parameter"><code><span class="type">gpointer</span> callback_data</code></em>,
52
 
                                                         <em class="parameter"><code><span class="type">guint</span> callback_action</code></em>,
 
51
<span class="returnvalue">void</span>                (<a class="link" href="GtkItemFactory.html#GtkItemFactoryCallback1" title="GtkItemFactoryCallback1 ()">*GtkItemFactoryCallback1</a>)          (<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> callback_data</code></em>,
 
52
                                                         <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#guint"><span class="type">guint</span></a> callback_action</code></em>,
53
53
                                                         <em class="parameter"><code><a class="link" href="GtkWidget.html" title="GtkWidget"><span class="type">GtkWidget</span></a> *widget</code></em>);
54
54
<span class="returnvalue">void</span>                (<a class="link" href="GtkItemFactory.html#GtkItemFactoryCallback2" title="GtkItemFactoryCallback2 ()">*GtkItemFactoryCallback2</a>)          (<em class="parameter"><code><a class="link" href="GtkWidget.html" title="GtkWidget"><span class="type">GtkWidget</span></a> *widget</code></em>,
55
 
                                                         <em class="parameter"><code><span class="type">gpointer</span> callback_data</code></em>,
56
 
                                                         <em class="parameter"><code><span class="type">guint</span> callback_action</code></em>);
 
55
                                                         <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> callback_data</code></em>,
 
56
                                                         <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#guint"><span class="type">guint</span></a> callback_action</code></em>);
57
57
struct              <a class="link" href="GtkItemFactory.html#GtkItemFactoryEntry" title="struct GtkItemFactoryEntry">GtkItemFactoryEntry</a>;
58
58
struct              <a class="link" href="GtkItemFactory.html#GtkItemFactoryItem" title="struct GtkItemFactoryItem">GtkItemFactoryItem</a>;
59
 
<a class="link" href="GtkItemFactory.html" title="GtkItemFactory"><span class="returnvalue">GtkItemFactory</span></a> *    <a class="link" href="GtkItemFactory.html#gtk-item-factory-new" title="gtk_item_factory_new ()">gtk_item_factory_new</a>                (<em class="parameter"><code><span class="type">GType</span> container_type</code></em>,
60
 
                                                         <em class="parameter"><code>const <span class="type">gchar</span> *path</code></em>,
 
59
<a class="link" href="GtkItemFactory.html" title="GtkItemFactory"><span class="returnvalue">GtkItemFactory</span></a> *    <a class="link" href="GtkItemFactory.html#gtk-item-factory-new" title="gtk_item_factory_new ()">gtk_item_factory_new</a>                (<em class="parameter"><code><a href="http://library.gnome.org/devel/gobject/unstable/gobject-Type-Information.html#GType"><span class="type">GType</span></a> container_type</code></em>,
 
60
                                                         <em class="parameter"><code>const <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *path</code></em>,
61
61
                                                         <em class="parameter"><code><a class="link" href="gtk-Keyboard-Accelerators.html#GtkAccelGroup"><span class="type">GtkAccelGroup</span></a> *accel_group</code></em>);
62
62
<span class="returnvalue">void</span>                <a class="link" href="GtkItemFactory.html#gtk-item-factory-construct" title="gtk_item_factory_construct ()">gtk_item_factory_construct</a>          (<em class="parameter"><code><a class="link" href="GtkItemFactory.html" title="GtkItemFactory"><span class="type">GtkItemFactory</span></a> *ifactory</code></em>,
63
 
                                                         <em class="parameter"><code><span class="type">GType</span> container_type</code></em>,
64
 
                                                         <em class="parameter"><code>const <span class="type">gchar</span> *path</code></em>,
 
63
                                                         <em class="parameter"><code><a href="http://library.gnome.org/devel/gobject/unstable/gobject-Type-Information.html#GType"><span class="type">GType</span></a> container_type</code></em>,
 
64
                                                         <em class="parameter"><code>const <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *path</code></em>,
65
65
                                                         <em class="parameter"><code><a class="link" href="gtk-Keyboard-Accelerators.html#GtkAccelGroup"><span class="type">GtkAccelGroup</span></a> *accel_group</code></em>);
66
66
<span class="returnvalue">void</span>                <a class="link" href="GtkItemFactory.html#gtk-item-factory-add-foreign" title="gtk_item_factory_add_foreign ()">gtk_item_factory_add_foreign</a>        (<em class="parameter"><code><a class="link" href="GtkWidget.html" title="GtkWidget"><span class="type">GtkWidget</span></a> *accel_widget</code></em>,
67
 
                                                         <em class="parameter"><code>const <span class="type">gchar</span> *full_path</code></em>,
 
67
                                                         <em class="parameter"><code>const <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *full_path</code></em>,
68
68
                                                         <em class="parameter"><code><a class="link" href="gtk-Keyboard-Accelerators.html#GtkAccelGroup"><span class="type">GtkAccelGroup</span></a> *accel_group</code></em>,
69
 
                                                         <em class="parameter"><code><span class="type">guint</span> keyval</code></em>,
70
 
                                                         <em class="parameter"><code><a href="../gdk/gdk-Windows.html#GdkModifierType"><span class="type">GdkModifierType</span></a> modifiers</code></em>);
71
 
<a class="link" href="GtkItemFactory.html" title="GtkItemFactory"><span class="returnvalue">GtkItemFactory</span></a> *    <a class="link" href="GtkItemFactory.html#gtk-item-factory-from-widget" title="gtk_item_factory_from_widget ()">gtk_item_factory_from_widget</a>        (<em class="parameter"><code><a class="link" href="GtkWidget.html" title="GtkWidget"><span class="type">GtkWidget</span></a> *widget</code></em>);
72
 
const <span class="returnvalue">gchar</span> *       <a class="link" href="GtkItemFactory.html#gtk-item-factory-path-from-widget" title="gtk_item_factory_path_from_widget ()">gtk_item_factory_path_from_widget</a>   (<em class="parameter"><code><a class="link" href="GtkWidget.html" title="GtkWidget"><span class="type">GtkWidget</span></a> *widget</code></em>);
73
 
<a class="link" href="GtkWidget.html" title="GtkWidget"><span class="returnvalue">GtkWidget</span></a> *         <a class="link" href="GtkItemFactory.html#gtk-item-factory-get-item" title="gtk_item_factory_get_item ()">gtk_item_factory_get_item</a>           (<em class="parameter"><code><a class="link" href="GtkItemFactory.html" title="GtkItemFactory"><span class="type">GtkItemFactory</span></a> *ifactory</code></em>,
74
 
                                                         <em class="parameter"><code>const <span class="type">gchar</span> *path</code></em>);
75
 
<a class="link" href="GtkWidget.html" title="GtkWidget"><span class="returnvalue">GtkWidget</span></a> *         <a class="link" href="GtkItemFactory.html#gtk-item-factory-get-widget" title="gtk_item_factory_get_widget ()">gtk_item_factory_get_widget</a>         (<em class="parameter"><code><a class="link" href="GtkItemFactory.html" title="GtkItemFactory"><span class="type">GtkItemFactory</span></a> *ifactory</code></em>,
76
 
                                                         <em class="parameter"><code>const <span class="type">gchar</span> *path</code></em>);
77
 
<a class="link" href="GtkWidget.html" title="GtkWidget"><span class="returnvalue">GtkWidget</span></a> *         <a class="link" href="GtkItemFactory.html#gtk-item-factory-get-widget-by-action" title="gtk_item_factory_get_widget_by_action ()">gtk_item_factory_get_widget_by_action</a>
 
69
                                                         <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#guint"><span class="type">guint</span></a> keyval</code></em>,
 
70
                                                         <em class="parameter"><code><a href="http://library.gnome.org/devel/gdk3/gdk-Windows.html#GdkModifierType"><span class="type">GdkModifierType</span></a> modifiers</code></em>);
 
71
<a class="link" href="GtkItemFactory.html" title="GtkItemFactory"><span class="returnvalue">GtkItemFactory</span></a> *        <a class="link" href="GtkItemFactory.html#gtk-item-factory-from-widget" title="gtk_item_factory_from_widget ()">gtk_item_factory_from_widget</a>    (<em class="parameter"><code><a class="link" href="GtkWidget.html" title="GtkWidget"><span class="type">GtkWidget</span></a> *widget</code></em>);
 
72
const <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="returnvalue">gchar</span></a> *          <a class="link" href="GtkItemFactory.html#gtk-item-factory-path-from-widget" title="gtk_item_factory_path_from_widget ()">gtk_item_factory_path_from_widget</a>
 
73
                                                        (<em class="parameter"><code><a class="link" href="GtkWidget.html" title="GtkWidget"><span class="type">GtkWidget</span></a> *widget</code></em>);
 
74
<a class="link" href="GtkWidget.html" title="GtkWidget"><span class="returnvalue">GtkWidget</span></a> *                <a class="link" href="GtkItemFactory.html#gtk-item-factory-get-item" title="gtk_item_factory_get_item ()">gtk_item_factory_get_item</a>           (<em class="parameter"><code><a class="link" href="GtkItemFactory.html" title="GtkItemFactory"><span class="type">GtkItemFactory</span></a> *ifactory</code></em>,
 
75
                                                         <em class="parameter"><code>const <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *path</code></em>);
 
76
<a class="link" href="GtkWidget.html" title="GtkWidget"><span class="returnvalue">GtkWidget</span></a> *                <a class="link" href="GtkItemFactory.html#gtk-item-factory-get-widget" title="gtk_item_factory_get_widget ()">gtk_item_factory_get_widget</a>         (<em class="parameter"><code><a class="link" href="GtkItemFactory.html" title="GtkItemFactory"><span class="type">GtkItemFactory</span></a> *ifactory</code></em>,
 
77
                                                         <em class="parameter"><code>const <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *path</code></em>);
 
78
<a class="link" href="GtkWidget.html" title="GtkWidget"><span class="returnvalue">GtkWidget</span></a> *                <a class="link" href="GtkItemFactory.html#gtk-item-factory-get-widget-by-action" title="gtk_item_factory_get_widget_by_action ()">gtk_item_factory_get_widget_by_action</a>
78
79
                                                        (<em class="parameter"><code><a class="link" href="GtkItemFactory.html" title="GtkItemFactory"><span class="type">GtkItemFactory</span></a> *ifactory</code></em>,
79
 
                                                         <em class="parameter"><code><span class="type">guint</span> action</code></em>);
80
 
<a class="link" href="GtkWidget.html" title="GtkWidget"><span class="returnvalue">GtkWidget</span></a> *         <a class="link" href="GtkItemFactory.html#gtk-item-factory-get-item-by-action" title="gtk_item_factory_get_item_by_action ()">gtk_item_factory_get_item_by_action</a> (<em class="parameter"><code><a class="link" href="GtkItemFactory.html" title="GtkItemFactory"><span class="type">GtkItemFactory</span></a> *ifactory</code></em>,
81
 
                                                         <em class="parameter"><code><span class="type">guint</span> action</code></em>);
 
80
                                                         <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#guint"><span class="type">guint</span></a> action</code></em>);
 
81
<a class="link" href="GtkWidget.html" title="GtkWidget"><span class="returnvalue">GtkWidget</span></a> *                <a class="link" href="GtkItemFactory.html#gtk-item-factory-get-item-by-action" title="gtk_item_factory_get_item_by_action ()">gtk_item_factory_get_item_by_action</a> (<em class="parameter"><code><a class="link" href="GtkItemFactory.html" title="GtkItemFactory"><span class="type">GtkItemFactory</span></a> *ifactory</code></em>,
 
82
                                                         <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#guint"><span class="type">guint</span></a> action</code></em>);
82
83
<span class="returnvalue">void</span>                <a class="link" href="GtkItemFactory.html#gtk-item-factory-create-item" title="gtk_item_factory_create_item ()">gtk_item_factory_create_item</a>        (<em class="parameter"><code><a class="link" href="GtkItemFactory.html" title="GtkItemFactory"><span class="type">GtkItemFactory</span></a> *ifactory</code></em>,
83
84
                                                         <em class="parameter"><code><a class="link" href="GtkItemFactory.html#GtkItemFactoryEntry" title="struct GtkItemFactoryEntry"><span class="type">GtkItemFactoryEntry</span></a> *entry</code></em>,
84
 
                                                         <em class="parameter"><code><span class="type">gpointer</span> callback_data</code></em>,
85
 
                                                         <em class="parameter"><code><span class="type">guint</span> callback_type</code></em>);
 
85
                                                         <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> callback_data</code></em>,
 
86
                                                         <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#guint"><span class="type">guint</span></a> callback_type</code></em>);
86
87
<span class="returnvalue">void</span>                <a class="link" href="GtkItemFactory.html#gtk-item-factory-create-items" title="gtk_item_factory_create_items ()">gtk_item_factory_create_items</a>       (<em class="parameter"><code><a class="link" href="GtkItemFactory.html" title="GtkItemFactory"><span class="type">GtkItemFactory</span></a> *ifactory</code></em>,
87
 
                                                         <em class="parameter"><code><span class="type">guint</span> n_entries</code></em>,
 
88
                                                         <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#guint"><span class="type">guint</span></a> n_entries</code></em>,
88
89
                                                         <em class="parameter"><code><a class="link" href="GtkItemFactory.html#GtkItemFactoryEntry" title="struct GtkItemFactoryEntry"><span class="type">GtkItemFactoryEntry</span></a> *entries</code></em>,
89
 
                                                         <em class="parameter"><code><span class="type">gpointer</span> callback_data</code></em>);
 
90
                                                         <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> callback_data</code></em>);
90
91
<span class="returnvalue">void</span>                <a class="link" href="GtkItemFactory.html#gtk-item-factory-create-items-ac" title="gtk_item_factory_create_items_ac ()">gtk_item_factory_create_items_ac</a>    (<em class="parameter"><code><a class="link" href="GtkItemFactory.html" title="GtkItemFactory"><span class="type">GtkItemFactory</span></a> *ifactory</code></em>,
91
 
                                                         <em class="parameter"><code><span class="type">guint</span> n_entries</code></em>,
 
92
                                                         <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#guint"><span class="type">guint</span></a> n_entries</code></em>,
92
93
                                                         <em class="parameter"><code><a class="link" href="GtkItemFactory.html#GtkItemFactoryEntry" title="struct GtkItemFactoryEntry"><span class="type">GtkItemFactoryEntry</span></a> *entries</code></em>,
93
 
                                                         <em class="parameter"><code><span class="type">gpointer</span> callback_data</code></em>,
94
 
                                                         <em class="parameter"><code><span class="type">guint</span> callback_type</code></em>);
 
94
                                                         <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> callback_data</code></em>,
 
95
                                                         <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#guint"><span class="type">guint</span></a> callback_type</code></em>);
95
96
<span class="returnvalue">void</span>                <a class="link" href="GtkItemFactory.html#gtk-item-factory-delete-item" title="gtk_item_factory_delete_item ()">gtk_item_factory_delete_item</a>        (<em class="parameter"><code><a class="link" href="GtkItemFactory.html" title="GtkItemFactory"><span class="type">GtkItemFactory</span></a> *ifactory</code></em>,
96
 
                                                         <em class="parameter"><code>const <span class="type">gchar</span> *path</code></em>);
 
97
                                                         <em class="parameter"><code>const <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *path</code></em>);
97
98
<span class="returnvalue">void</span>                <a class="link" href="GtkItemFactory.html#gtk-item-factory-delete-entry" title="gtk_item_factory_delete_entry ()">gtk_item_factory_delete_entry</a>       (<em class="parameter"><code><a class="link" href="GtkItemFactory.html" title="GtkItemFactory"><span class="type">GtkItemFactory</span></a> *ifactory</code></em>,
98
99
                                                         <em class="parameter"><code><a class="link" href="GtkItemFactory.html#GtkItemFactoryEntry" title="struct GtkItemFactoryEntry"><span class="type">GtkItemFactoryEntry</span></a> *entry</code></em>);
99
100
<span class="returnvalue">void</span>                <a class="link" href="GtkItemFactory.html#gtk-item-factory-delete-entries" title="gtk_item_factory_delete_entries ()">gtk_item_factory_delete_entries</a>     (<em class="parameter"><code><a class="link" href="GtkItemFactory.html" title="GtkItemFactory"><span class="type">GtkItemFactory</span></a> *ifactory</code></em>,
100
 
                                                         <em class="parameter"><code><span class="type">guint</span> n_entries</code></em>,
 
101
                                                         <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#guint"><span class="type">guint</span></a> n_entries</code></em>,
101
102
                                                         <em class="parameter"><code><a class="link" href="GtkItemFactory.html#GtkItemFactoryEntry" title="struct GtkItemFactoryEntry"><span class="type">GtkItemFactoryEntry</span></a> *entries</code></em>);
102
103
<span class="returnvalue">void</span>                <a class="link" href="GtkItemFactory.html#gtk-item-factory-popup" title="gtk_item_factory_popup ()">gtk_item_factory_popup</a>              (<em class="parameter"><code><a class="link" href="GtkItemFactory.html" title="GtkItemFactory"><span class="type">GtkItemFactory</span></a> *ifactory</code></em>,
103
 
                                                         <em class="parameter"><code><span class="type">guint</span> x</code></em>,
104
 
                                                         <em class="parameter"><code><span class="type">guint</span> y</code></em>,
105
 
                                                         <em class="parameter"><code><span class="type">guint</span> mouse_button</code></em>,
106
 
                                                         <em class="parameter"><code><span class="type">guint32</span> time_</code></em>);
 
104
                                                         <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#guint"><span class="type">guint</span></a> x</code></em>,
 
105
                                                         <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#guint"><span class="type">guint</span></a> y</code></em>,
 
106
                                                         <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#guint"><span class="type">guint</span></a> mouse_button</code></em>,
 
107
                                                         <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#guint32"><span class="type">guint32</span></a> time_</code></em>);
107
108
<span class="returnvalue">void</span>                <a class="link" href="GtkItemFactory.html#gtk-item-factory-popup-with-data" title="gtk_item_factory_popup_with_data ()">gtk_item_factory_popup_with_data</a>    (<em class="parameter"><code><a class="link" href="GtkItemFactory.html" title="GtkItemFactory"><span class="type">GtkItemFactory</span></a> *ifactory</code></em>,
108
 
                                                         <em class="parameter"><code><span class="type">gpointer</span> popup_data</code></em>,
109
 
                                                         <em class="parameter"><code><span class="type">GDestroyNotify</span> destroy</code></em>,
110
 
                                                         <em class="parameter"><code><span class="type">guint</span> x</code></em>,
111
 
                                                         <em class="parameter"><code><span class="type">guint</span> y</code></em>,
112
 
                                                         <em class="parameter"><code><span class="type">guint</span> mouse_button</code></em>,
113
 
                                                         <em class="parameter"><code><span class="type">guint32</span> time_</code></em>);
114
 
<span class="returnvalue">gpointer</span>            <a class="link" href="GtkItemFactory.html#gtk-item-factory-popup-data" title="gtk_item_factory_popup_data ()">gtk_item_factory_popup_data</a>         (<em class="parameter"><code><a class="link" href="GtkItemFactory.html" title="GtkItemFactory"><span class="type">GtkItemFactory</span></a> *ifactory</code></em>);
115
 
<span class="returnvalue">gpointer</span>            <a class="link" href="GtkItemFactory.html#gtk-item-factory-popup-data-from-widget" title="gtk_item_factory_popup_data_from_widget ()">gtk_item_factory_popup_data_from_widget</a>
 
109
                                                         <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> popup_data</code></em>,
 
110
                                                         <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Datasets.html#GDestroyNotify"><span class="type">GDestroyNotify</span></a> destroy</code></em>,
 
111
                                                         <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#guint"><span class="type">guint</span></a> x</code></em>,
 
112
                                                         <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#guint"><span class="type">guint</span></a> y</code></em>,
 
113
                                                         <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#guint"><span class="type">guint</span></a> mouse_button</code></em>,
 
114
                                                         <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#guint32"><span class="type">guint32</span></a> time_</code></em>);
 
115
<a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gpointer"><span class="returnvalue">gpointer</span></a>            <a class="link" href="GtkItemFactory.html#gtk-item-factory-popup-data" title="gtk_item_factory_popup_data ()">gtk_item_factory_popup_data</a>         (<em class="parameter"><code><a class="link" href="GtkItemFactory.html" title="GtkItemFactory"><span class="type">GtkItemFactory</span></a> *ifactory</code></em>);
 
116
<a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gpointer"><span class="returnvalue">gpointer</span></a>            <a class="link" href="GtkItemFactory.html#gtk-item-factory-popup-data-from-widget" title="gtk_item_factory_popup_data_from_widget ()">gtk_item_factory_popup_data_from_widget</a>
116
117
                                                        (<em class="parameter"><code><a class="link" href="GtkWidget.html" title="GtkWidget"><span class="type">GtkWidget</span></a> *widget</code></em>);
117
 
<a class="link" href="GtkItemFactory.html" title="GtkItemFactory"><span class="returnvalue">GtkItemFactory</span></a> *    <a class="link" href="GtkItemFactory.html#gtk-item-factory-from-path" title="gtk_item_factory_from_path ()">gtk_item_factory_from_path</a>          (<em class="parameter"><code>const <span class="type">gchar</span> *path</code></em>);
 
118
<a class="link" href="GtkItemFactory.html" title="GtkItemFactory"><span class="returnvalue">GtkItemFactory</span></a> *    <a class="link" href="GtkItemFactory.html#gtk-item-factory-from-path" title="gtk_item_factory_from_path ()">gtk_item_factory_from_path</a>          (<em class="parameter"><code>const <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *path</code></em>);
118
119
<span class="returnvalue">void</span>                <a class="link" href="GtkItemFactory.html#gtk-item-factory-create-menu-entries" title="gtk_item_factory_create_menu_entries ()">gtk_item_factory_create_menu_entries</a>
119
 
                                                        (<em class="parameter"><code><span class="type">guint</span> n_entries</code></em>,
 
120
                                                        (<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#guint"><span class="type">guint</span></a> n_entries</code></em>,
120
121
                                                         <em class="parameter"><code><span class="type">GtkMenuEntry</span> *entries</code></em>);
121
 
<span class="returnvalue">void</span>                <a class="link" href="GtkItemFactory.html#gtk-item-factories-path-delete" title="gtk_item_factories_path_delete ()">gtk_item_factories_path_delete</a>      (<em class="parameter"><code>const <span class="type">gchar</span> *ifactory_path</code></em>,
122
 
                                                         <em class="parameter"><code>const <span class="type">gchar</span> *path</code></em>);
 
122
<span class="returnvalue">void</span>                <a class="link" href="GtkItemFactory.html#gtk-item-factories-path-delete" title="gtk_item_factories_path_delete ()">gtk_item_factories_path_delete</a>      (<em class="parameter"><code>const <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *ifactory_path</code></em>,
 
123
                                                         <em class="parameter"><code>const <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *path</code></em>);
123
124
<span class="returnvalue">void</span>                <a class="link" href="GtkItemFactory.html#gtk-item-factory-set-translate-func" title="gtk_item_factory_set_translate_func ()">gtk_item_factory_set_translate_func</a> (<em class="parameter"><code><a class="link" href="GtkItemFactory.html" title="GtkItemFactory"><span class="type">GtkItemFactory</span></a> *ifactory</code></em>,
124
125
                                                         <em class="parameter"><code><a class="link" href="GtkItemFactory.html#GtkTranslateFunc" title="GtkTranslateFunc ()"><span class="type">GtkTranslateFunc</span></a> func</code></em>,
125
 
                                                         <em class="parameter"><code><span class="type">gpointer</span> data</code></em>,
126
 
                                                         <em class="parameter"><code><span class="type">GDestroyNotify</span> notify</code></em>);
 
126
                                                         <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> data</code></em>,
 
127
                                                         <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Datasets.html#GDestroyNotify"><span class="type">GDestroyNotify</span></a> notify</code></em>);
127
128
</pre>
128
129
</div>
129
130
<div class="refsect1">
130
131
<a name="GtkItemFactory.object-hierarchy"></a><h2>Object Hierarchy</h2>
131
132
<pre class="synopsis">
132
 
  GObject
133
 
   +----GInitiallyUnowned
 
133
  <a href="http://library.gnome.org/devel/gobject/unstable/gobject-The-Base-Object-Type.html#GObject">GObject</a>
 
134
   +----<a href="http://library.gnome.org/devel/gobject/unstable/gobject-The-Base-Object-Type.html#GInitiallyUnowned">GInitiallyUnowned</a>
134
135
         +----<a class="link" href="GtkObject.html" title="GtkObject">GtkObject</a>
135
136
               +----GtkItemFactory
136
137
</pre>
156
157
<hr>
157
158
<div class="refsect2">
158
159
<a name="GtkPrintFunc"></a><h3>GtkPrintFunc ()</h3>
159
 
<pre class="programlisting"><span class="returnvalue">void</span>                (*GtkPrintFunc)                     (<em class="parameter"><code><span class="type">gpointer</span> func_data</code></em>,
160
 
                                                         <em class="parameter"><code>const <span class="type">gchar</span> *str</code></em>);</pre>
 
160
<pre class="programlisting"><span class="returnvalue">void</span>                (*GtkPrintFunc)                     (<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> func_data</code></em>,
 
161
                                                         <em class="parameter"><code>const <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *str</code></em>);</pre>
161
162
<div class="warning" style="margin-left: 0.5in; margin-right: 0.5in;">
162
163
<h3 class="title">Warning</h3>
163
164
<p><code class="literal">GtkPrintFunc</code> is deprecated and should not be used in newly-written code.</p>
168
169
<hr>
169
170
<div class="refsect2">
170
171
<a name="GtkTranslateFunc"></a><h3>GtkTranslateFunc ()</h3>
171
 
<pre class="programlisting"><span class="returnvalue">gchar</span> *             (*GtkTranslateFunc)                 (<em class="parameter"><code>const <span class="type">gchar</span> *path</code></em>,
172
 
                                                         <em class="parameter"><code><span class="type">gpointer</span> func_data</code></em>);</pre>
 
172
<pre class="programlisting"><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="returnvalue">gchar</span></a> *             (*GtkTranslateFunc)                 (<em class="parameter"><code>const <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *path</code></em>,
 
173
                                                         <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> func_data</code></em>);</pre>
173
174
<p>
174
175
The function used to translate messages in e.g. <a class="link" href="gtk-Themeable-Stock-Images.html#GtkIconFactory"><span class="type">GtkIconFactory</span></a>
175
176
and <a class="link" href="GtkActionGroup.html" title="GtkActionGroup"><span class="type">GtkActionGroup</span></a>.
208
209
<hr>
209
210
<div class="refsect2">
210
211
<a name="GtkItemFactoryCallback1"></a><h3>GtkItemFactoryCallback1 ()</h3>
211
 
<pre class="programlisting"><span class="returnvalue">void</span>                (*GtkItemFactoryCallback1)          (<em class="parameter"><code><span class="type">gpointer</span> callback_data</code></em>,
212
 
                                                         <em class="parameter"><code><span class="type">guint</span> callback_action</code></em>,
 
212
<pre class="programlisting"><span class="returnvalue">void</span>                (*GtkItemFactoryCallback1)          (<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> callback_data</code></em>,
 
213
                                                         <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#guint"><span class="type">guint</span></a> callback_action</code></em>,
213
214
                                                         <em class="parameter"><code><a class="link" href="GtkWidget.html" title="GtkWidget"><span class="type">GtkWidget</span></a> *widget</code></em>);</pre>
214
215
<div class="warning" style="margin-left: 0.5in; margin-right: 0.5in;">
215
216
<h3 class="title">Warning</h3>
222
223
<div class="refsect2">
223
224
<a name="GtkItemFactoryCallback2"></a><h3>GtkItemFactoryCallback2 ()</h3>
224
225
<pre class="programlisting"><span class="returnvalue">void</span>                (*GtkItemFactoryCallback2)          (<em class="parameter"><code><a class="link" href="GtkWidget.html" title="GtkWidget"><span class="type">GtkWidget</span></a> *widget</code></em>,
225
 
                                                         <em class="parameter"><code><span class="type">gpointer</span> callback_data</code></em>,
226
 
                                                         <em class="parameter"><code><span class="type">guint</span> callback_action</code></em>);</pre>
 
226
                                                         <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> callback_data</code></em>,
 
227
                                                         <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#guint"><span class="type">guint</span></a> callback_action</code></em>);</pre>
227
228
<div class="warning" style="margin-left: 0.5in; margin-right: 0.5in;">
228
229
<h3 class="title">Warning</h3>
229
230
<p><code class="literal">GtkItemFactoryCallback2</code> is deprecated and should not be used in newly-written code.</p>
291
292
<hr>
292
293
<div class="refsect2">
293
294
<a name="gtk-item-factory-new"></a><h3>gtk_item_factory_new ()</h3>
294
 
<pre class="programlisting"><a class="link" href="GtkItemFactory.html" title="GtkItemFactory"><span class="returnvalue">GtkItemFactory</span></a> *    gtk_item_factory_new                (<em class="parameter"><code><span class="type">GType</span> container_type</code></em>,
295
 
                                                         <em class="parameter"><code>const <span class="type">gchar</span> *path</code></em>,
 
295
<pre class="programlisting"><a class="link" href="GtkItemFactory.html" title="GtkItemFactory"><span class="returnvalue">GtkItemFactory</span></a> *        gtk_item_factory_new                (<em class="parameter"><code><a href="http://library.gnome.org/devel/gobject/unstable/gobject-Type-Information.html#GType"><span class="type">GType</span></a> container_type</code></em>,
 
296
                                                         <em class="parameter"><code>const <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *path</code></em>,
296
297
                                                         <em class="parameter"><code><a class="link" href="gtk-Keyboard-Accelerators.html#GtkAccelGroup"><span class="type">GtkAccelGroup</span></a> *accel_group</code></em>);</pre>
297
298
<div class="warning" style="margin-left: 0.5in; margin-right: 0.5in;">
298
299
<h3 class="title">Warning</h3>
322
323
<tr>
323
324
<td><p><span class="term"><em class="parameter"><code>accel_group</code></em> :</span></p></td>
324
325
<td>a <a class="link" href="gtk-Keyboard-Accelerators.html#GtkAccelGroup"><span class="type">GtkAccelGroup</span></a> to which the accelerators for the
325
 
menu items will be added, or <a href="/home/mclasen/gnome/share/gtk-doc/html/liboil/liboil-liboiljunk.html#NULL--CAPS"><code class="literal">NULL</code></a> to create a new one. <span class="annotation">[<acronym title="NULL is ok, both for passing and for returning."><span class="acronym">allow-none</span></acronym>]</span>
 
326
menu items will be added, or <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a> to create a new one. <span class="annotation">[<acronym title="NULL is ok, both for passing and for returning."><span class="acronym">allow-none</span></acronym>]</span>
326
327
</td>
327
328
</tr>
328
329
<tr>
337
338
<div class="refsect2">
338
339
<a name="gtk-item-factory-construct"></a><h3>gtk_item_factory_construct ()</h3>
339
340
<pre class="programlisting"><span class="returnvalue">void</span>                gtk_item_factory_construct          (<em class="parameter"><code><a class="link" href="GtkItemFactory.html" title="GtkItemFactory"><span class="type">GtkItemFactory</span></a> *ifactory</code></em>,
340
 
                                                         <em class="parameter"><code><span class="type">GType</span> container_type</code></em>,
341
 
                                                         <em class="parameter"><code>const <span class="type">gchar</span> *path</code></em>,
 
341
                                                         <em class="parameter"><code><a href="http://library.gnome.org/devel/gobject/unstable/gobject-Type-Information.html#GType"><span class="type">GType</span></a> container_type</code></em>,
 
342
                                                         <em class="parameter"><code>const <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *path</code></em>,
342
343
                                                         <em class="parameter"><code><a class="link" href="gtk-Keyboard-Accelerators.html#GtkAccelGroup"><span class="type">GtkAccelGroup</span></a> *accel_group</code></em>);</pre>
343
344
<div class="warning" style="margin-left: 0.5in; margin-right: 0.5in;">
344
345
<h3 class="title">Warning</h3>
370
371
<tr>
371
372
<td><p><span class="term"><em class="parameter"><code>accel_group</code></em> :</span></p></td>
372
373
<td>a <a class="link" href="gtk-Keyboard-Accelerators.html#GtkAccelGroup"><span class="type">GtkAccelGroup</span></a> to which the accelerators for the
373
 
menu items will be added, or <a href="/home/mclasen/gnome/share/gtk-doc/html/liboil/liboil-liboiljunk.html#NULL--CAPS"><code class="literal">NULL</code></a> to create a new one</td>
 
374
menu items will be added, or <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a> to create a new one</td>
374
375
</tr>
375
376
</tbody>
376
377
</table></div>
379
380
<div class="refsect2">
380
381
<a name="gtk-item-factory-add-foreign"></a><h3>gtk_item_factory_add_foreign ()</h3>
381
382
<pre class="programlisting"><span class="returnvalue">void</span>                gtk_item_factory_add_foreign        (<em class="parameter"><code><a class="link" href="GtkWidget.html" title="GtkWidget"><span class="type">GtkWidget</span></a> *accel_widget</code></em>,
382
 
                                                         <em class="parameter"><code>const <span class="type">gchar</span> *full_path</code></em>,
 
383
                                                         <em class="parameter"><code>const <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *full_path</code></em>,
383
384
                                                         <em class="parameter"><code><a class="link" href="gtk-Keyboard-Accelerators.html#GtkAccelGroup"><span class="type">GtkAccelGroup</span></a> *accel_group</code></em>,
384
 
                                                         <em class="parameter"><code><span class="type">guint</span> keyval</code></em>,
385
 
                                                         <em class="parameter"><code><a href="../gdk/gdk-Windows.html#GdkModifierType"><span class="type">GdkModifierType</span></a> modifiers</code></em>);</pre>
 
385
                                                         <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#guint"><span class="type">guint</span></a> keyval</code></em>,
 
386
                                                         <em class="parameter"><code><a href="http://library.gnome.org/devel/gdk3/gdk-Windows.html#GdkModifierType"><span class="type">GdkModifierType</span></a> modifiers</code></em>);</pre>
386
387
<div class="warning" style="margin-left: 0.5in; margin-right: 0.5in;">
387
388
<h3 class="title">Warning</h3>
388
389
<p><code class="literal">gtk_item_factory_add_foreign</code> has been deprecated since version 2.4 and should not be used in newly-written code. The recommended API for this purpose are the functions 
430
431
<hr>
431
432
<div class="refsect2">
432
433
<a name="gtk-item-factory-from-widget"></a><h3>gtk_item_factory_from_widget ()</h3>
433
 
<pre class="programlisting"><a class="link" href="GtkItemFactory.html" title="GtkItemFactory"><span class="returnvalue">GtkItemFactory</span></a> *    gtk_item_factory_from_widget        (<em class="parameter"><code><a class="link" href="GtkWidget.html" title="GtkWidget"><span class="type">GtkWidget</span></a> *widget</code></em>);</pre>
 
434
<pre class="programlisting"><a class="link" href="GtkItemFactory.html" title="GtkItemFactory"><span class="returnvalue">GtkItemFactory</span></a> *        gtk_item_factory_from_widget    (<em class="parameter"><code><a class="link" href="GtkWidget.html" title="GtkWidget"><span class="type">GtkWidget</span></a> *widget</code></em>);</pre>
434
435
<div class="warning" style="margin-left: 0.5in; margin-right: 0.5in;">
435
436
<h3 class="title">Warning</h3>
436
437
<p><code class="literal">gtk_item_factory_from_widget</code> has been deprecated since version 2.4 and should not be used in newly-written code. Use <a class="link" href="GtkUIManager.html" title="GtkUIManager"><span class="type">GtkUIManager</span></a> instead.</p>
447
448
</tr>
448
449
<tr>
449
450
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
450
 
<td>the item factory from which <em class="parameter"><code>widget</code></em> was created, or <a href="/home/mclasen/gnome/share/gtk-doc/html/liboil/liboil-liboiljunk.html#NULL--CAPS"><code class="literal">NULL</code></a>. <span class="annotation">[<acronym title="NULL is ok, both for passing and for returning."><span class="acronym">allow-none</span></acronym>]</span>
 
451
<td>the item factory from which <em class="parameter"><code>widget</code></em> was created, or <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>. <span class="annotation">[<acronym title="NULL is ok, both for passing and for returning."><span class="acronym">allow-none</span></acronym>]</span>
451
452
</td>
452
453
</tr>
453
454
</tbody>
456
457
<hr>
457
458
<div class="refsect2">
458
459
<a name="gtk-item-factory-path-from-widget"></a><h3>gtk_item_factory_path_from_widget ()</h3>
459
 
<pre class="programlisting">const <span class="returnvalue">gchar</span> *       gtk_item_factory_path_from_widget   (<em class="parameter"><code><a class="link" href="GtkWidget.html" title="GtkWidget"><span class="type">GtkWidget</span></a> *widget</code></em>);</pre>
 
460
<pre class="programlisting">const <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="returnvalue">gchar</span></a> *          gtk_item_factory_path_from_widget
 
461
                                                        (<em class="parameter"><code><a class="link" href="GtkWidget.html" title="GtkWidget"><span class="type">GtkWidget</span></a> *widget</code></em>);</pre>
460
462
<div class="warning" style="margin-left: 0.5in; margin-right: 0.5in;">
461
463
<h3 class="title">Warning</h3>
462
464
<p><code class="literal">gtk_item_factory_path_from_widget</code> has been deprecated since version 2.4 and should not be used in newly-written code. Use <a class="link" href="GtkUIManager.html" title="GtkUIManager"><span class="type">GtkUIManager</span></a> instead.</p>
477
479
<tr>
478
480
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
479
481
<td>the full path to <em class="parameter"><code>widget</code></em> if it has been created by an item
480
 
factory, <a href="/home/mclasen/gnome/share/gtk-doc/html/liboil/liboil-liboiljunk.html#NULL--CAPS"><code class="literal">NULL</code></a> otherwise. This value is owned by GTK+ and must not be
 
482
factory, <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a> otherwise. This value is owned by GTK+ and must not be
481
483
modified or freed.</td>
482
484
</tr>
483
485
</tbody>
486
488
<hr>
487
489
<div class="refsect2">
488
490
<a name="gtk-item-factory-get-item"></a><h3>gtk_item_factory_get_item ()</h3>
489
 
<pre class="programlisting"><a class="link" href="GtkWidget.html" title="GtkWidget"><span class="returnvalue">GtkWidget</span></a> *         gtk_item_factory_get_item           (<em class="parameter"><code><a class="link" href="GtkItemFactory.html" title="GtkItemFactory"><span class="type">GtkItemFactory</span></a> *ifactory</code></em>,
490
 
                                                         <em class="parameter"><code>const <span class="type">gchar</span> *path</code></em>);</pre>
 
491
<pre class="programlisting"><a class="link" href="GtkWidget.html" title="GtkWidget"><span class="returnvalue">GtkWidget</span></a> *            gtk_item_factory_get_item           (<em class="parameter"><code><a class="link" href="GtkItemFactory.html" title="GtkItemFactory"><span class="type">GtkItemFactory</span></a> *ifactory</code></em>,
 
492
                                                         <em class="parameter"><code>const <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *path</code></em>);</pre>
491
493
<div class="warning" style="margin-left: 0.5in; margin-right: 0.5in;">
492
494
<h3 class="title">Warning</h3>
493
495
<p><code class="literal">gtk_item_factory_get_item</code> has been deprecated since version 2.4 and should not be used in newly-written code. Use <a class="link" href="GtkUIManager.html" title="GtkUIManager"><span class="type">GtkUIManager</span></a> instead.</p>
514
516
</tr>
515
517
<tr>
516
518
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
517
 
<td>the menu item for the given path, or <a href="/home/mclasen/gnome/share/gtk-doc/html/liboil/liboil-liboiljunk.html#NULL--CAPS"><code class="literal">NULL</code></a> if <em class="parameter"><code>path</code></em> doesn't
 
519
<td>the menu item for the given path, or <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a> if <em class="parameter"><code>path</code></em> doesn't
518
520
lead to a menu item. <span class="annotation">[<acronym title="NULL is ok, both for passing and for returning."><span class="acronym">allow-none</span></acronym>]</span>
519
521
</td>
520
522
</tr>
524
526
<hr>
525
527
<div class="refsect2">
526
528
<a name="gtk-item-factory-get-widget"></a><h3>gtk_item_factory_get_widget ()</h3>
527
 
<pre class="programlisting"><a class="link" href="GtkWidget.html" title="GtkWidget"><span class="returnvalue">GtkWidget</span></a> *         gtk_item_factory_get_widget         (<em class="parameter"><code><a class="link" href="GtkItemFactory.html" title="GtkItemFactory"><span class="type">GtkItemFactory</span></a> *ifactory</code></em>,
528
 
                                                         <em class="parameter"><code>const <span class="type">gchar</span> *path</code></em>);</pre>
 
529
<pre class="programlisting"><a class="link" href="GtkWidget.html" title="GtkWidget"><span class="returnvalue">GtkWidget</span></a> *            gtk_item_factory_get_widget         (<em class="parameter"><code><a class="link" href="GtkItemFactory.html" title="GtkItemFactory"><span class="type">GtkItemFactory</span></a> *ifactory</code></em>,
 
530
                                                         <em class="parameter"><code>const <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *path</code></em>);</pre>
529
531
<div class="warning" style="margin-left: 0.5in; margin-right: 0.5in;">
530
532
<h3 class="title">Warning</h3>
531
533
<p><code class="literal">gtk_item_factory_get_widget</code> has been deprecated since version 2.4 and should not be used in newly-written code. Use <a class="link" href="GtkUIManager.html" title="GtkUIManager"><span class="type">GtkUIManager</span></a> instead.</p>
552
554
</tr>
553
555
<tr>
554
556
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
555
 
<td>the widget for the given path, or <a href="/home/mclasen/gnome/share/gtk-doc/html/liboil/liboil-liboiljunk.html#NULL--CAPS"><code class="literal">NULL</code></a> if <em class="parameter"><code>path</code></em> doesn't lead
 
557
<td>the widget for the given path, or <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a> if <em class="parameter"><code>path</code></em> doesn't lead
556
558
to a widget. <span class="annotation">[<acronym title="NULL is ok, both for passing and for returning."><span class="acronym">allow-none</span></acronym>]</span>
557
559
</td>
558
560
</tr>
562
564
<hr>
563
565
<div class="refsect2">
564
566
<a name="gtk-item-factory-get-widget-by-action"></a><h3>gtk_item_factory_get_widget_by_action ()</h3>
565
 
<pre class="programlisting"><a class="link" href="GtkWidget.html" title="GtkWidget"><span class="returnvalue">GtkWidget</span></a> *         gtk_item_factory_get_widget_by_action
 
567
<pre class="programlisting"><a class="link" href="GtkWidget.html" title="GtkWidget"><span class="returnvalue">GtkWidget</span></a> *            gtk_item_factory_get_widget_by_action
566
568
                                                        (<em class="parameter"><code><a class="link" href="GtkItemFactory.html" title="GtkItemFactory"><span class="type">GtkItemFactory</span></a> *ifactory</code></em>,
567
 
                                                         <em class="parameter"><code><span class="type">guint</span> action</code></em>);</pre>
 
569
                                                         <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#guint"><span class="type">guint</span></a> action</code></em>);</pre>
568
570
<div class="warning" style="margin-left: 0.5in; margin-right: 0.5in;">
569
571
<h3 class="title">Warning</h3>
570
572
<p><code class="literal">gtk_item_factory_get_widget_by_action</code> has been deprecated since version 2.4 and should not be used in newly-written code. Use <a class="link" href="GtkUIManager.html" title="GtkUIManager"><span class="type">GtkUIManager</span></a> instead.</p>
593
595
</tr>
594
596
<tr>
595
597
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
596
 
<td>the widget which corresponds to the given action, or <a href="/home/mclasen/gnome/share/gtk-doc/html/liboil/liboil-liboiljunk.html#NULL--CAPS"><code class="literal">NULL</code></a>
 
598
<td>the widget which corresponds to the given action, or <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>
597
599
if no widget was found. <span class="annotation">[<acronym title="NULL is ok, both for passing and for returning."><span class="acronym">allow-none</span></acronym>]</span>
598
600
</td>
599
601
</tr>
603
605
<hr>
604
606
<div class="refsect2">
605
607
<a name="gtk-item-factory-get-item-by-action"></a><h3>gtk_item_factory_get_item_by_action ()</h3>
606
 
<pre class="programlisting"><a class="link" href="GtkWidget.html" title="GtkWidget"><span class="returnvalue">GtkWidget</span></a> *         gtk_item_factory_get_item_by_action (<em class="parameter"><code><a class="link" href="GtkItemFactory.html" title="GtkItemFactory"><span class="type">GtkItemFactory</span></a> *ifactory</code></em>,
607
 
                                                         <em class="parameter"><code><span class="type">guint</span> action</code></em>);</pre>
 
608
<pre class="programlisting"><a class="link" href="GtkWidget.html" title="GtkWidget"><span class="returnvalue">GtkWidget</span></a> *            gtk_item_factory_get_item_by_action (<em class="parameter"><code><a class="link" href="GtkItemFactory.html" title="GtkItemFactory"><span class="type">GtkItemFactory</span></a> *ifactory</code></em>,
 
609
                                                         <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#guint"><span class="type">guint</span></a> action</code></em>);</pre>
608
610
<div class="warning" style="margin-left: 0.5in; margin-right: 0.5in;">
609
611
<h3 class="title">Warning</h3>
610
612
<p><code class="literal">gtk_item_factory_get_item_by_action</code> has been deprecated since version 2.4 and should not be used in newly-written code. Use <a class="link" href="GtkUIManager.html" title="GtkUIManager"><span class="type">GtkUIManager</span></a> instead.</p>
629
631
</tr>
630
632
<tr>
631
633
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
632
 
<td>the menu item which corresponds to the given action, or <a href="/home/mclasen/gnome/share/gtk-doc/html/liboil/liboil-liboiljunk.html#NULL--CAPS"><code class="literal">NULL</code></a>
 
634
<td>the menu item which corresponds to the given action, or <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>
633
635
if no menu item was found. <span class="annotation">[<acronym title="NULL is ok, both for passing and for returning."><span class="acronym">allow-none</span></acronym>]</span>
634
636
</td>
635
637
</tr>
641
643
<a name="gtk-item-factory-create-item"></a><h3>gtk_item_factory_create_item ()</h3>
642
644
<pre class="programlisting"><span class="returnvalue">void</span>                gtk_item_factory_create_item        (<em class="parameter"><code><a class="link" href="GtkItemFactory.html" title="GtkItemFactory"><span class="type">GtkItemFactory</span></a> *ifactory</code></em>,
643
645
                                                         <em class="parameter"><code><a class="link" href="GtkItemFactory.html#GtkItemFactoryEntry" title="struct GtkItemFactoryEntry"><span class="type">GtkItemFactoryEntry</span></a> *entry</code></em>,
644
 
                                                         <em class="parameter"><code><span class="type">gpointer</span> callback_data</code></em>,
645
 
                                                         <em class="parameter"><code><span class="type">guint</span> callback_type</code></em>);</pre>
 
646
                                                         <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> callback_data</code></em>,
 
647
                                                         <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#guint"><span class="type">guint</span></a> callback_type</code></em>);</pre>
646
648
<div class="warning" style="margin-left: 0.5in; margin-right: 0.5in;">
647
649
<h3 class="title">Warning</h3>
648
650
<p><code class="literal">gtk_item_factory_create_item</code> has been deprecated since version 2.4 and should not be used in newly-written code. Use <a class="link" href="GtkUIManager.html" title="GtkUIManager"><span class="type">GtkUIManager</span></a> instead.</p>
680
682
<div class="refsect2">
681
683
<a name="gtk-item-factory-create-items"></a><h3>gtk_item_factory_create_items ()</h3>
682
684
<pre class="programlisting"><span class="returnvalue">void</span>                gtk_item_factory_create_items       (<em class="parameter"><code><a class="link" href="GtkItemFactory.html" title="GtkItemFactory"><span class="type">GtkItemFactory</span></a> *ifactory</code></em>,
683
 
                                                         <em class="parameter"><code><span class="type">guint</span> n_entries</code></em>,
 
685
                                                         <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#guint"><span class="type">guint</span></a> n_entries</code></em>,
684
686
                                                         <em class="parameter"><code><a class="link" href="GtkItemFactory.html#GtkItemFactoryEntry" title="struct GtkItemFactoryEntry"><span class="type">GtkItemFactoryEntry</span></a> *entries</code></em>,
685
 
                                                         <em class="parameter"><code><span class="type">gpointer</span> callback_data</code></em>);</pre>
 
687
                                                         <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> callback_data</code></em>);</pre>
686
688
<div class="warning" style="margin-left: 0.5in; margin-right: 0.5in;">
687
689
<h3 class="title">Warning</h3>
688
690
<p><code class="literal">gtk_item_factory_create_items</code> has been deprecated since version 2.4 and should not be used in newly-written code. Use <a class="link" href="GtkUIManager.html" title="GtkUIManager"><span class="type">GtkUIManager</span></a> instead.</p>
720
722
<div class="refsect2">
721
723
<a name="gtk-item-factory-create-items-ac"></a><h3>gtk_item_factory_create_items_ac ()</h3>
722
724
<pre class="programlisting"><span class="returnvalue">void</span>                gtk_item_factory_create_items_ac    (<em class="parameter"><code><a class="link" href="GtkItemFactory.html" title="GtkItemFactory"><span class="type">GtkItemFactory</span></a> *ifactory</code></em>,
723
 
                                                         <em class="parameter"><code><span class="type">guint</span> n_entries</code></em>,
 
725
                                                         <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#guint"><span class="type">guint</span></a> n_entries</code></em>,
724
726
                                                         <em class="parameter"><code><a class="link" href="GtkItemFactory.html#GtkItemFactoryEntry" title="struct GtkItemFactoryEntry"><span class="type">GtkItemFactoryEntry</span></a> *entries</code></em>,
725
 
                                                         <em class="parameter"><code><span class="type">gpointer</span> callback_data</code></em>,
726
 
                                                         <em class="parameter"><code><span class="type">guint</span> callback_type</code></em>);</pre>
 
727
                                                         <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> callback_data</code></em>,
 
728
                                                         <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#guint"><span class="type">guint</span></a> callback_type</code></em>);</pre>
727
729
<div class="warning" style="margin-left: 0.5in; margin-right: 0.5in;">
728
730
<h3 class="title">Warning</h3>
729
731
<p><code class="literal">gtk_item_factory_create_items_ac</code> has been deprecated since version 2.4 and should not be used in newly-written code. Use <a class="link" href="GtkUIManager.html" title="GtkUIManager"><span class="type">GtkUIManager</span></a> instead.</p>
765
767
<div class="refsect2">
766
768
<a name="gtk-item-factory-delete-item"></a><h3>gtk_item_factory_delete_item ()</h3>
767
769
<pre class="programlisting"><span class="returnvalue">void</span>                gtk_item_factory_delete_item        (<em class="parameter"><code><a class="link" href="GtkItemFactory.html" title="GtkItemFactory"><span class="type">GtkItemFactory</span></a> *ifactory</code></em>,
768
 
                                                         <em class="parameter"><code>const <span class="type">gchar</span> *path</code></em>);</pre>
 
770
                                                         <em class="parameter"><code>const <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *path</code></em>);</pre>
769
771
<div class="warning" style="margin-left: 0.5in; margin-right: 0.5in;">
770
772
<h3 class="title">Warning</h3>
771
773
<p><code class="literal">gtk_item_factory_delete_item</code> has been deprecated since version 2.4 and should not be used in newly-written code. Use <a class="link" href="GtkUIManager.html" title="GtkUIManager"><span class="type">GtkUIManager</span></a> instead.</p>
822
824
<div class="refsect2">
823
825
<a name="gtk-item-factory-delete-entries"></a><h3>gtk_item_factory_delete_entries ()</h3>
824
826
<pre class="programlisting"><span class="returnvalue">void</span>                gtk_item_factory_delete_entries     (<em class="parameter"><code><a class="link" href="GtkItemFactory.html" title="GtkItemFactory"><span class="type">GtkItemFactory</span></a> *ifactory</code></em>,
825
 
                                                         <em class="parameter"><code><span class="type">guint</span> n_entries</code></em>,
 
827
                                                         <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#guint"><span class="type">guint</span></a> n_entries</code></em>,
826
828
                                                         <em class="parameter"><code><a class="link" href="GtkItemFactory.html#GtkItemFactoryEntry" title="struct GtkItemFactoryEntry"><span class="type">GtkItemFactoryEntry</span></a> *entries</code></em>);</pre>
827
829
<div class="warning" style="margin-left: 0.5in; margin-right: 0.5in;">
828
830
<h3 class="title">Warning</h3>
856
858
<div class="refsect2">
857
859
<a name="gtk-item-factory-popup"></a><h3>gtk_item_factory_popup ()</h3>
858
860
<pre class="programlisting"><span class="returnvalue">void</span>                gtk_item_factory_popup              (<em class="parameter"><code><a class="link" href="GtkItemFactory.html" title="GtkItemFactory"><span class="type">GtkItemFactory</span></a> *ifactory</code></em>,
859
 
                                                         <em class="parameter"><code><span class="type">guint</span> x</code></em>,
860
 
                                                         <em class="parameter"><code><span class="type">guint</span> y</code></em>,
861
 
                                                         <em class="parameter"><code><span class="type">guint</span> mouse_button</code></em>,
862
 
                                                         <em class="parameter"><code><span class="type">guint32</span> time_</code></em>);</pre>
 
861
                                                         <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#guint"><span class="type">guint</span></a> x</code></em>,
 
862
                                                         <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#guint"><span class="type">guint</span></a> y</code></em>,
 
863
                                                         <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#guint"><span class="type">guint</span></a> mouse_button</code></em>,
 
864
                                                         <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#guint32"><span class="type">guint32</span></a> time_</code></em>);</pre>
863
865
<div class="warning" style="margin-left: 0.5in; margin-right: 0.5in;">
864
866
<h3 class="title">Warning</h3>
865
867
<p><code class="literal">gtk_item_factory_popup</code> has been deprecated since version 2.4 and should not be used in newly-written code. Use <a class="link" href="GtkUIManager.html" title="GtkUIManager"><span class="type">GtkUIManager</span></a> instead.</p>
912
914
<div class="refsect2">
913
915
<a name="gtk-item-factory-popup-with-data"></a><h3>gtk_item_factory_popup_with_data ()</h3>
914
916
<pre class="programlisting"><span class="returnvalue">void</span>                gtk_item_factory_popup_with_data    (<em class="parameter"><code><a class="link" href="GtkItemFactory.html" title="GtkItemFactory"><span class="type">GtkItemFactory</span></a> *ifactory</code></em>,
915
 
                                                         <em class="parameter"><code><span class="type">gpointer</span> popup_data</code></em>,
916
 
                                                         <em class="parameter"><code><span class="type">GDestroyNotify</span> destroy</code></em>,
917
 
                                                         <em class="parameter"><code><span class="type">guint</span> x</code></em>,
918
 
                                                         <em class="parameter"><code><span class="type">guint</span> y</code></em>,
919
 
                                                         <em class="parameter"><code><span class="type">guint</span> mouse_button</code></em>,
920
 
                                                         <em class="parameter"><code><span class="type">guint32</span> time_</code></em>);</pre>
 
917
                                                         <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> popup_data</code></em>,
 
918
                                                         <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Datasets.html#GDestroyNotify"><span class="type">GDestroyNotify</span></a> destroy</code></em>,
 
919
                                                         <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#guint"><span class="type">guint</span></a> x</code></em>,
 
920
                                                         <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#guint"><span class="type">guint</span></a> y</code></em>,
 
921
                                                         <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#guint"><span class="type">guint</span></a> mouse_button</code></em>,
 
922
                                                         <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#guint32"><span class="type">guint32</span></a> time_</code></em>);</pre>
921
923
<div class="warning" style="margin-left: 0.5in; margin-right: 0.5in;">
922
924
<h3 class="title">Warning</h3>
923
925
<p><code class="literal">gtk_item_factory_popup_with_data</code> has been deprecated since version 2.4 and should not be used in newly-written code. Use <a class="link" href="GtkUIManager.html" title="GtkUIManager"><span class="type">GtkUIManager</span></a> instead.</p>
955
957
</tr>
956
958
<tr>
957
959
<td><p><span class="term"><em class="parameter"><code>destroy</code></em> :</span></p></td>
958
 
<td>a <span class="type">GDestroyNotify</span> function to be called on <em class="parameter"><code>popup_data</code></em> when
 
960
<td>a <a href="http://library.gnome.org/devel/glib/unstable/glib-Datasets.html#GDestroyNotify"><span class="type">GDestroyNotify</span></a> function to be called on <em class="parameter"><code>popup_data</code></em> when
959
961
the menu is unposted</td>
960
962
</tr>
961
963
<tr>
980
982
<hr>
981
983
<div class="refsect2">
982
984
<a name="gtk-item-factory-popup-data"></a><h3>gtk_item_factory_popup_data ()</h3>
983
 
<pre class="programlisting"><span class="returnvalue">gpointer</span>            gtk_item_factory_popup_data         (<em class="parameter"><code><a class="link" href="GtkItemFactory.html" title="GtkItemFactory"><span class="type">GtkItemFactory</span></a> *ifactory</code></em>);</pre>
 
985
<pre class="programlisting"><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gpointer"><span class="returnvalue">gpointer</span></a>            gtk_item_factory_popup_data         (<em class="parameter"><code><a class="link" href="GtkItemFactory.html" title="GtkItemFactory"><span class="type">GtkItemFactory</span></a> *ifactory</code></em>);</pre>
984
986
<div class="warning" style="margin-left: 0.5in; margin-right: 0.5in;">
985
987
<h3 class="title">Warning</h3>
986
988
<p><code class="literal">gtk_item_factory_popup_data</code> has been deprecated since version 2.4 and should not be used in newly-written code. Use <a class="link" href="GtkUIManager.html" title="GtkUIManager"><span class="type">GtkUIManager</span></a> instead.</p>
1010
1012
<hr>
1011
1013
<div class="refsect2">
1012
1014
<a name="gtk-item-factory-popup-data-from-widget"></a><h3>gtk_item_factory_popup_data_from_widget ()</h3>
1013
 
<pre class="programlisting"><span class="returnvalue">gpointer</span>            gtk_item_factory_popup_data_from_widget
 
1015
<pre class="programlisting"><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gpointer"><span class="returnvalue">gpointer</span></a>            gtk_item_factory_popup_data_from_widget
1014
1016
                                                        (<em class="parameter"><code><a class="link" href="GtkWidget.html" title="GtkWidget"><span class="type">GtkWidget</span></a> *widget</code></em>);</pre>
1015
1017
<div class="warning" style="margin-left: 0.5in; margin-right: 0.5in;">
1016
1018
<h3 class="title">Warning</h3>
1032
1034
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
1033
1035
<td>
1034
1036
<em class="parameter"><code>popup_data</code></em> associated with the item factory from
1035
 
which <em class="parameter"><code>widget</code></em> was created, or <a href="/home/mclasen/gnome/share/gtk-doc/html/liboil/liboil-liboiljunk.html#NULL--CAPS"><code class="literal">NULL</code></a> if <em class="parameter"><code>widget</code></em> wasn't created
 
1037
which <em class="parameter"><code>widget</code></em> was created, or <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a> if <em class="parameter"><code>widget</code></em> wasn't created
1036
1038
by an item factory</td>
1037
1039
</tr>
1038
1040
</tbody>
1041
1043
<hr>
1042
1044
<div class="refsect2">
1043
1045
<a name="gtk-item-factory-from-path"></a><h3>gtk_item_factory_from_path ()</h3>
1044
 
<pre class="programlisting"><a class="link" href="GtkItemFactory.html" title="GtkItemFactory"><span class="returnvalue">GtkItemFactory</span></a> *    gtk_item_factory_from_path          (<em class="parameter"><code>const <span class="type">gchar</span> *path</code></em>);</pre>
 
1046
<pre class="programlisting"><a class="link" href="GtkItemFactory.html" title="GtkItemFactory"><span class="returnvalue">GtkItemFactory</span></a> *        gtk_item_factory_from_path          (<em class="parameter"><code>const <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *path</code></em>);</pre>
1045
1047
<div class="warning" style="margin-left: 0.5in; margin-right: 0.5in;">
1046
1048
<h3 class="title">Warning</h3>
1047
1049
<p><code class="literal">gtk_item_factory_from_path</code> has been deprecated since version 2.4 and should not be used in newly-written code. Use <a class="link" href="GtkUIManager.html" title="GtkUIManager"><span class="type">GtkUIManager</span></a> instead.</p>
1062
1064
</tr>
1063
1065
<tr>
1064
1066
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
1065
 
<td>the <a class="link" href="GtkItemFactory.html" title="GtkItemFactory"><span class="type">GtkItemFactory</span></a> created for the given factory path, or <a href="/home/mclasen/gnome/share/gtk-doc/html/liboil/liboil-liboiljunk.html#NULL--CAPS"><code class="literal">NULL</code></a>. <span class="annotation">[<acronym title="NULL is ok, both for passing and for returning."><span class="acronym">allow-none</span></acronym>]</span>
 
1067
<td>the <a class="link" href="GtkItemFactory.html" title="GtkItemFactory"><span class="type">GtkItemFactory</span></a> created for the given factory path, or <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>. <span class="annotation">[<acronym title="NULL is ok, both for passing and for returning."><span class="acronym">allow-none</span></acronym>]</span>
1066
1068
</td>
1067
1069
</tr>
1068
1070
</tbody>
1072
1074
<div class="refsect2">
1073
1075
<a name="gtk-item-factory-create-menu-entries"></a><h3>gtk_item_factory_create_menu_entries ()</h3>
1074
1076
<pre class="programlisting"><span class="returnvalue">void</span>                gtk_item_factory_create_menu_entries
1075
 
                                                        (<em class="parameter"><code><span class="type">guint</span> n_entries</code></em>,
 
1077
                                                        (<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#guint"><span class="type">guint</span></a> n_entries</code></em>,
1076
1078
                                                         <em class="parameter"><code><span class="type">GtkMenuEntry</span> *entries</code></em>);</pre>
1077
1079
<div class="warning" style="margin-left: 0.5in; margin-right: 0.5in;">
1078
1080
<h3 class="title">Warning</h3>
1099
1101
<hr>
1100
1102
<div class="refsect2">
1101
1103
<a name="gtk-item-factories-path-delete"></a><h3>gtk_item_factories_path_delete ()</h3>
1102
 
<pre class="programlisting"><span class="returnvalue">void</span>                gtk_item_factories_path_delete      (<em class="parameter"><code>const <span class="type">gchar</span> *ifactory_path</code></em>,
1103
 
                                                         <em class="parameter"><code>const <span class="type">gchar</span> *path</code></em>);</pre>
 
1104
<pre class="programlisting"><span class="returnvalue">void</span>                gtk_item_factories_path_delete      (<em class="parameter"><code>const <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *ifactory_path</code></em>,
 
1105
                                                         <em class="parameter"><code>const <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *path</code></em>);</pre>
1104
1106
<div class="warning" style="margin-left: 0.5in; margin-right: 0.5in;">
1105
1107
<h3 class="title">Warning</h3>
1106
1108
<p><code class="literal">gtk_item_factories_path_delete</code> has been deprecated since version 2.4 and should not be used in newly-written code. Use <a class="link" href="GtkUIManager.html" title="GtkUIManager"><span class="type">GtkUIManager</span></a> instead.</p>
1113
1115
<tbody>
1114
1116
<tr>
1115
1117
<td><p><span class="term"><em class="parameter"><code>ifactory_path</code></em> :</span></p></td>
1116
 
<td>a factory path to prepend to <em class="parameter"><code>path</code></em>. May be <a href="/home/mclasen/gnome/share/gtk-doc/html/liboil/liboil-liboiljunk.html#NULL--CAPS"><code class="literal">NULL</code></a> if <em class="parameter"><code>path</code></em>
 
1118
<td>a factory path to prepend to <em class="parameter"><code>path</code></em>. May be <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a> if <em class="parameter"><code>path</code></em>
1117
1119
starts with a factory path</td>
1118
1120
</tr>
1119
1121
<tr>
1128
1130
<a name="gtk-item-factory-set-translate-func"></a><h3>gtk_item_factory_set_translate_func ()</h3>
1129
1131
<pre class="programlisting"><span class="returnvalue">void</span>                gtk_item_factory_set_translate_func (<em class="parameter"><code><a class="link" href="GtkItemFactory.html" title="GtkItemFactory"><span class="type">GtkItemFactory</span></a> *ifactory</code></em>,
1130
1132
                                                         <em class="parameter"><code><a class="link" href="GtkItemFactory.html#GtkTranslateFunc" title="GtkTranslateFunc ()"><span class="type">GtkTranslateFunc</span></a> func</code></em>,
1131
 
                                                         <em class="parameter"><code><span class="type">gpointer</span> data</code></em>,
1132
 
                                                         <em class="parameter"><code><span class="type">GDestroyNotify</span> notify</code></em>);</pre>
 
1133
                                                         <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> data</code></em>,
 
1134
                                                         <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Datasets.html#GDestroyNotify"><span class="type">GDestroyNotify</span></a> notify</code></em>);</pre>
1133
1135
<div class="warning" style="margin-left: 0.5in; margin-right: 0.5in;">
1134
1136
<h3 class="title">Warning</h3>
1135
1137
<p><code class="literal">gtk_item_factory_set_translate_func</code> has been deprecated since version 2.4 and should not be used in newly-written code. Use <a class="link" href="GtkUIManager.html" title="GtkUIManager"><span class="type">GtkUIManager</span></a> instead.</p>
1157
1159
</tr>
1158
1160
<tr>
1159
1161
<td><p><span class="term"><em class="parameter"><code>notify</code></em> :</span></p></td>
1160
 
<td>a <span class="type">GDestroyNotify</span> function to be called when <em class="parameter"><code>ifactory</code></em> is
 
1162
<td>a <a href="http://library.gnome.org/devel/glib/unstable/glib-Datasets.html#GDestroyNotify"><span class="type">GDestroyNotify</span></a> function to be called when <em class="parameter"><code>ifactory</code></em> is
1161
1163
destroyed and when the translation function is changed again</td>
1162
1164
</tr>
1163
1165
</tbody>
1167
1169
</div>
1168
1170
<div class="footer">
1169
1171
<hr>
1170
 
          Generated by GTK-Doc V1.17.1</div>
 
1172
          Generated by GTK-Doc V1.17</div>
1171
1173
</body>
1172
1174
</html>
 
 
b'\\ No newline at end of file'