Gtk2::ItemFactory(3) User Contributed Perl Documentation Gtk2::ItemFactory(3) NAME Gtk2::ItemFactory - wrapper for GtkItemFactory HIERARCHY Glib::Object +----Glib::InitiallyUnowned +----Gtk2::Object +----Gtk2::ItemFactory DEPRECATION WARNING Gtk2::ItemFactory has been marked as deprecated, and should not be used in newly written code. You should use Gtk2::UIManager instead of Gtk2::ItemFactory. METHODS itemfactory = Gtk2::ItemFactory->new ($container_type_package, $path, $accel_group=undef) o $container_type_package (string) o $path (string) o $accel_group (Gtk2::AccelGroup or undef) $ifactory->create_item ($entry_ref, $callback_data=undef) o $entry_ref (scalar) GtkItemFactoryEntry o $callback_data (scalar) $ifactory->create_items ($callback_data, ...) o $callback_data (scalar) o ... (list) GtkItemFactoryEntry's $ifactory->delete_entries (...) o ... (list) GtkItemFactoryEntry's $ifactory->delete_entry ($entry_ref) o $entry_ref (scalar) GtkItemFactoryEntry $ifactory->delete_item ($path) o $path (string) itemfactory or undef = Gtk2::ItemFactory->from_widget ($widget) o $widget (Gtk2::Widget) widget or undef = $ifactory->get_item_by_action ($action) o $action (integer) widget or undef = $ifactory->get_item ($path) o $path (string) string = Gtk2::ItemFactory->path_from_widget ($widget) o $widget (Gtk2::Widget) $ifactory->popup ($x, $y, $mouse_button, $time_, $popup_data=undef) o $x (integer) o $y (integer) o $mouse_button (integer) o $time_ (unsigned) o $popup_data (scalar) scalar = $ifactory->popup_data scalar = Gtk2::ItemFactory->popup_data_from_widget ($widget) o $widget (Gtk2::Widget) $ifactory->set_translate_func ($func, $data=undef) o $func (scalar) o $data (scalar) widget or undef = $ifactory->get_widget_by_action ($action) o $action (integer) widget or undef = $ifactory->get_widget ($path) o $path (string) SEE ALSO Gtk2, Glib::Object, Glib::InitiallyUnowned, Gtk2::Object COPYRIGHT Copyright (C) 2003-2011 by the gtk2-perl team. This software is licensed under the LGPL. See Gtk2 for a full notice. perl v5.40.0 2024-09-01 Gtk2::ItemFactory(3)