* Creates a new #GtkItemFactory.
*
* Beware that the returned object does not have a floating reference.
+ *
+ * Deprecated: 2.4:
*/
GtkItemFactory*
gtk_item_factory_new (GType container_type,
* gtk_accel_map_load(), even if they haven't been created by an item
* factory.
*
- * Deprecated: The recommended API for this purpose are the functions
+ * Deprecated: 2.4: The recommended API for this purpose are the functions
* gtk_menu_item_set_accel_path() and gtk_widget_set_accel_path(); don't
* use gtk_item_factory_add_foreign() in new code, since it is likely to
* be removed in the future.
* menu items will be added, or %NULL to create a new one
*
* Initializes an item factory.
+ *
+ * Deprecated: 2.4:
*/
void
gtk_item_factory_construct (GtkItemFactory *ifactory,
* Finds an item factory which has been constructed using the
* <literal>"<name>"</literal> prefix of @path as the @path argument
* for gtk_item_factory_new().
+ *
+ * Deprecated: 2.4:
*/
GtkItemFactory*
gtk_item_factory_from_path (const gchar *path)
* @returns: the item factory from which @widget was created, or %NULL
*
* Obtains the item factory from which a widget was created.
+ *
+ * Deprecated: 2.4
*/
GtkItemFactory*
gtk_item_factory_from_widget (GtkWidget *widget)
* to it. (The full path of a widget is the concatenation of the factory
* path specified in gtk_item_factory_new() with the path specified in the
* #GtkItemFactoryEntry from which the widget was created.)
+ *
+ * Deprecated: 2.4:
*/
G_CONST_RETURN gchar*
gtk_item_factory_path_from_widget (GtkWidget *widget)
* @callback_data: data passed to the callback functions of all entries
*
* Creates the menu items from the @entries.
+ *
+ * Deprecated: 2.4:
*/
void
gtk_item_factory_create_items (GtkItemFactory *ifactory,
* #GtkItemFactoryCallback1, 2 if they are of type #GtkItemFactoryCallback2
*
* Creates the menu items from the @entries.
+ *
+ * Deprecated: 2.4:
*/
void
gtk_item_factory_create_items_ac (GtkItemFactory *ifactory,
* If the widget corresponding to @path is a menu item which opens a
* submenu, then the submenu is returned. If you are interested in the menu
* item, use gtk_item_factory_get_item() instead.
+ *
+ * Deprecated: 2.4:
*/
GtkWidget*
gtk_item_factory_get_widget (GtkItemFactory *ifactory,
*
* If there are multiple items with the same action, the result is
* undefined.
+ *
+ * Deprecated: 2.4:
*/
GtkWidget*
gtk_item_factory_get_widget_by_action (GtkItemFactory *ifactory,
* If the widget corresponding to @path is a menu item which opens a
* submenu, then the item is returned. If you are interested in the submenu,
* use gtk_item_factory_get_widget() instead.
+ *
+ * Deprecated: 2.4:
*/
GtkWidget*
gtk_item_factory_get_item (GtkItemFactory *ifactory,
*
* Obtains the menu item which was constructed from the first
* #GtkItemFactoryEntry with the given @action.
+ *
+ * Deprecated: 2.4:
*/
GtkWidget*
gtk_item_factory_get_item_by_action (GtkItemFactory *ifactory,
* #GtkItemFactoryCallback1, 2 if it is of type #GtkItemFactoryCallback2
*
* Creates an item for @entry.
+ *
+ * Deprecated: 2.4:
*/
void
gtk_item_factory_create_item (GtkItemFactory *ifactory,
* @entries: an array of #GtkMenuEntry<!-- -->s
*
* Creates the menu items from the @entries.
+ *
+ * Deprecated: 2.4:
*/
void
gtk_item_factory_create_menu_entries (guint n_entries,
* @path: a path
*
* Deletes all widgets constructed from the specified path.
+ *
+ * Deprecated: 2.4:
*/
void
gtk_item_factories_path_delete (const gchar *ifactory_path,
*
* Deletes the menu item which was created for @path by the given
* item factory.
+ *
+ * Deprecated: 2.4:
*/
void
gtk_item_factory_delete_item (GtkItemFactory *ifactory,
*
* Deletes the menu item which was created from @entry by the given
* item factory.
+ *
+ * Deprecated: 2.4:
*/
void
gtk_item_factory_delete_entry (GtkItemFactory *ifactory,
*
* Deletes the menu items which were created from the @entries by the given
* item factory.
+ *
+ * Deprecated: 2.4:
*/
void
gtk_item_factory_delete_entries (GtkItemFactory *ifactory,
* Obtains the @popup_data which was passed to
* gtk_item_factory_popup_with_data(). This data is available until the menu
* is popped down again.
+ *
+ * Deprecated: 2.4:
*/
gpointer
gtk_item_factory_popup_data_from_widget (GtkWidget *widget)
* Obtains the @popup_data which was passed to
* gtk_item_factory_popup_with_data(). This data is available until the menu
* is popped down again.
+ *
+ * Deprecated: 2.4:
*/
gpointer
gtk_item_factory_popup_data (GtkItemFactory *ifactory)
*
* The operation of the @mouse_button and the @time_ parameter is the same
* as the @button and @activation_time parameters for gtk_menu_popup().
+ *
+ * Deprecated: 2.4:
*/
void
gtk_item_factory_popup (GtkItemFactory *ifactory,
*
* The operation of the @mouse_button and the @time_ parameters is the same
* as the @button and @activation_time parameters for gtk_menu_popup().
+ *
+ * Deprecated: 2.4:
*/
void
gtk_item_factory_popup_with_data (GtkItemFactory *ifactory,
*
* Sets a function to be used for translating the path elements before they
* are displayed.
+ *
+ * Deprecated: 2.4:
*/
void
gtk_item_factory_set_translate_func (GtkItemFactory *ifactory,