gtk2/docs/reference/gtk/tmpl/gtkitemfactory.sgml

328 lines
4.0 KiB
Plaintext
Raw Normal View History

1999-08-16 18:51:52 +00:00
<!-- ##### SECTION Title ##### -->
GtkItemFactory
<!-- ##### SECTION Short_Description ##### -->
A factory for menus
1999-08-16 18:51:52 +00:00
<!-- ##### SECTION Long_Description ##### -->
<para>
As of GTK+ 2.4, #GtkItemFactory has been deprecated in favour of #GtkUIManager.
1999-08-16 18:51:52 +00:00
</para>
<!-- ##### SECTION See_Also ##### -->
<para>
</para>
<!-- ##### STRUCT GtkItemFactory ##### -->
<para>
</para>
<!-- ##### USER_FUNCTION GtkPrintFunc ##### -->
<para>
</para>
@func_data:
@str:
<!-- ##### USER_FUNCTION GtkTranslateFunc ##### -->
<para>
The function used to translate messages in e.g. #GtkIconFactory
and #GtkActionGroup.
1999-08-16 18:51:52 +00:00
</para>
@path: The id of the message. In #GtkItemFactory this will be a path
from a #GtkItemFactoryEntry, in #GtkActionGroup, it will be a label
or tooltip from a #GtkActionEntry.
@func_data: user data passed in when registering the function
@Returns: the translated message
1999-08-16 18:51:52 +00:00
<!-- ##### USER_FUNCTION GtkItemFactoryCallback ##### -->
<para>
</para>
<!-- ##### USER_FUNCTION GtkItemFactoryCallback1 ##### -->
<para>
</para>
@callback_data:
@callback_action:
@widget:
<!-- ##### USER_FUNCTION GtkItemFactoryCallback2 ##### -->
<para>
</para>
@widget:
@callback_data:
@callback_action:
<!-- ##### STRUCT GtkItemFactoryEntry ##### -->
<para>
</para>
@path:
@accelerator:
@callback:
@callback_action:
@item_type:
@extra_data:
1999-08-16 18:51:52 +00:00
<!-- ##### STRUCT GtkItemFactoryItem ##### -->
<para>
</para>
@path:
@widgets:
<!-- ##### FUNCTION gtk_item_factory_new ##### -->
<para>
</para>
@container_type:
@path:
@accel_group:
@Returns:
<!-- ##### FUNCTION gtk_item_factory_construct ##### -->
<para>
</para>
@ifactory:
@container_type:
@path:
@accel_group:
<!-- ##### FUNCTION gtk_item_factory_add_foreign ##### -->
<para>
</para>
@accel_widget:
@full_path:
@accel_group:
@keyval:
@modifiers:
1999-08-16 18:51:52 +00:00
<!-- ##### FUNCTION gtk_item_factory_from_widget ##### -->
<para>
</para>
@widget:
@Returns:
<!-- ##### FUNCTION gtk_item_factory_path_from_widget ##### -->
<para>
</para>
@widget:
@Returns:
<!-- ##### FUNCTION gtk_item_factory_get_item ##### -->
<para>
</para>
@ifactory:
@path:
@Returns:
1999-08-16 18:51:52 +00:00
<!-- ##### FUNCTION gtk_item_factory_get_widget ##### -->
<para>
</para>
@ifactory:
@path:
@Returns:
<!-- ##### FUNCTION gtk_item_factory_get_widget_by_action ##### -->
<para>
</para>
@ifactory:
@action:
@Returns:
<!-- ##### FUNCTION gtk_item_factory_get_item_by_action ##### -->
<para>
1999-08-16 18:51:52 +00:00
</para>
@ifactory:
@action:
@Returns:
<!-- ##### FUNCTION gtk_item_factory_create_item ##### -->
<para>
</para>
@ifactory:
@entry:
@callback_data:
@callback_type:
<!-- ##### FUNCTION gtk_item_factory_create_items ##### -->
<para>
</para>
@ifactory:
@n_entries:
@entries:
@callback_data:
<!-- ##### FUNCTION gtk_item_factory_create_items_ac ##### -->
<para>
</para>
@ifactory:
@n_entries:
@entries:
@callback_data:
@callback_type:
<!-- ##### FUNCTION gtk_item_factory_delete_item ##### -->
<para>
</para>
@ifactory:
@path:
<!-- ##### FUNCTION gtk_item_factory_delete_entry ##### -->
<para>
</para>
@ifactory:
@entry:
<!-- ##### FUNCTION gtk_item_factory_delete_entries ##### -->
<para>
</para>
@ifactory:
@n_entries:
@entries:
<!-- ##### FUNCTION gtk_item_factory_popup ##### -->
<para>
</para>
@ifactory:
@x:
@y:
@mouse_button:
docs/reference/gdk/tmpl/dnd.sgml docs/reference/gdk/tmpl/drawing.sgml Fri Nov 8 20:14:52 2002 Soeren Sandmann <sandmann@daimi.au.dk> * docs/reference/gdk/tmpl/dnd.sgml docs/reference/gdk/tmpl/drawing.sgml docs/reference/gdk/tmpl/gdk-unused.sgml docs/reference/gdk/tmpl/gdkdisplay.sgml docs/reference/gdk/tmpl/general.sgml docs/reference/gdk/tmpl/input_devices.sgml docs/reference/gdk/tmpl/selections.sgml docs/reference/gtk/tmpl/gtkcellrenderer.sgml docs/reference/gtk/tmpl/gtkcurve.sgml docs/reference/gtk/tmpl/gtkdnd.sgml docs/reference/gtk/tmpl/gtkitemfactory.sgml docs/reference/gtk/tmpl/gtkmenu.sgml docs/reference/gtk/tmpl/gtkoldeditable.sgml docs/reference/gtk/tmpl/gtkoptionmenu.sgml docs/reference/gtk/tmpl/gtkpreview.sgml docs/reference/gtk/tmpl/gtkselection.sgml docs/reference/gtk/tmpl/gtksocket.sgml docs/reference/gtk/tmpl/gtkstyle.sgml docs/reference/gtk/tmpl/gtktextbuffer.sgml docs/reference/gtk/tmpl/gtktreemodel.sgml docs/reference/gtk/tmpl/gtkwidget.sgml gdk/gdk.h gdk/gdkdisplay.c gdk/gdkdisplay.h gdk/gdkdnd.h gdk/gdkdraw.c gdk/gdkdrawable.h gdk/gdkinput.h gdk/gdkselection.h gdk/x11/gdkdisplay-x11.c gdk/x11/gdkdnd-x11.c gdk/x11/gdkselection-x11.c gtk/gtkcurve.h gtk/gtkdnd.h gtk/gtkitemfactory.c gtk/gtkitemfactory.h gtk/gtkmenu.h gtk/gtkoldeditable.c gtk/gtkoldeditable.h gtk/gtkoptionmenu.h gtk/gtkplug.c gtk/gtkplug.h gtk/gtkpreview.h gtk/gtkrange.h gtk/gtkselection.c gtk/gtkselection.h gtk/gtksocket.c gtk/gtksocket.h gtk/gtkstyle.c gtk/gtkstyle.h gtk/gtktextlayout.c gtk/gtktextlayout.h gtk/gtktreemodel.c gtk/gtktreemodel.h gtk/gtkwidget.h Trivial s/foo/foo_/ fixes to make gtk.h includable with -Wshadow without warnings. (#91680)
2002-11-08 19:41:50 +00:00
@time_:
1999-08-16 18:51:52 +00:00
<!-- ##### FUNCTION gtk_item_factory_popup_with_data ##### -->
<para>
</para>
@ifactory:
@popup_data:
@destroy:
@x:
@y:
@mouse_button:
docs/reference/gdk/tmpl/dnd.sgml docs/reference/gdk/tmpl/drawing.sgml Fri Nov 8 20:14:52 2002 Soeren Sandmann <sandmann@daimi.au.dk> * docs/reference/gdk/tmpl/dnd.sgml docs/reference/gdk/tmpl/drawing.sgml docs/reference/gdk/tmpl/gdk-unused.sgml docs/reference/gdk/tmpl/gdkdisplay.sgml docs/reference/gdk/tmpl/general.sgml docs/reference/gdk/tmpl/input_devices.sgml docs/reference/gdk/tmpl/selections.sgml docs/reference/gtk/tmpl/gtkcellrenderer.sgml docs/reference/gtk/tmpl/gtkcurve.sgml docs/reference/gtk/tmpl/gtkdnd.sgml docs/reference/gtk/tmpl/gtkitemfactory.sgml docs/reference/gtk/tmpl/gtkmenu.sgml docs/reference/gtk/tmpl/gtkoldeditable.sgml docs/reference/gtk/tmpl/gtkoptionmenu.sgml docs/reference/gtk/tmpl/gtkpreview.sgml docs/reference/gtk/tmpl/gtkselection.sgml docs/reference/gtk/tmpl/gtksocket.sgml docs/reference/gtk/tmpl/gtkstyle.sgml docs/reference/gtk/tmpl/gtktextbuffer.sgml docs/reference/gtk/tmpl/gtktreemodel.sgml docs/reference/gtk/tmpl/gtkwidget.sgml gdk/gdk.h gdk/gdkdisplay.c gdk/gdkdisplay.h gdk/gdkdnd.h gdk/gdkdraw.c gdk/gdkdrawable.h gdk/gdkinput.h gdk/gdkselection.h gdk/x11/gdkdisplay-x11.c gdk/x11/gdkdnd-x11.c gdk/x11/gdkselection-x11.c gtk/gtkcurve.h gtk/gtkdnd.h gtk/gtkitemfactory.c gtk/gtkitemfactory.h gtk/gtkmenu.h gtk/gtkoldeditable.c gtk/gtkoldeditable.h gtk/gtkoptionmenu.h gtk/gtkplug.c gtk/gtkplug.h gtk/gtkpreview.h gtk/gtkrange.h gtk/gtkselection.c gtk/gtkselection.h gtk/gtksocket.c gtk/gtksocket.h gtk/gtkstyle.c gtk/gtkstyle.h gtk/gtktextlayout.c gtk/gtktextlayout.h gtk/gtktreemodel.c gtk/gtktreemodel.h gtk/gtkwidget.h Trivial s/foo/foo_/ fixes to make gtk.h includable with -Wshadow without warnings. (#91680)
2002-11-08 19:41:50 +00:00
@time_:
1999-08-16 18:51:52 +00:00
<!-- ##### FUNCTION gtk_item_factory_popup_data ##### -->
<para>
</para>
@ifactory:
@Returns:
<!-- ##### FUNCTION gtk_item_factory_popup_data_from_widget ##### -->
<para>
</para>
@widget:
@Returns:
<!-- ##### FUNCTION gtk_item_factory_from_path ##### -->
<para>
</para>
@path:
@Returns:
<!-- ##### FUNCTION gtk_item_factory_create_menu_entries ##### -->
<para>
</para>
@n_entries:
@entries:
<!-- ##### FUNCTION gtk_item_factories_path_delete ##### -->
<para>
</para>
@ifactory_path:
@path:
<!-- ##### FUNCTION gtk_item_factory_set_translate_func ##### -->
<para>
</para>
@ifactory:
@func:
@data:
@notify: