Gtk2::ItemFactory3pm
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)
•
|
|
|---|---|
•
|
|
•
|
|
$ifactory->create_item ($entry_ref, $callback_data=undef)
•
|
|
|---|---|
•
|
|
$ifactory->create_items ($callback_data, ...)
•
|
|
|---|---|
•
|
... (list) GtkItemFactoryEntry's |
$ifactory->delete_entries (...)
- •
-
... (list) GtkItemFactoryEntry's
$ifactory->delete_entry ($entry_ref)
- •
-
$entry_ref(scalar) GtkItemFactoryEntry
$ifactory->delete_item ($path)
- •
-
$path(string)
itemfactory or undef = Gtk2::ItemFactory->from_widget ($widget)
- •
-
$widget(Gtk2::Widget)
widget or undef = $ifactory->get_item_by_action ($action)
- •
-
$action(integer)
widget or undef = $ifactory->get_item ($path)
- •
-
$path(string)
string = Gtk2::ItemFactory->path_from_widget ($widget)
- •
-
$widget(Gtk2::Widget)
$ifactory->popup ($x, $y, $mouse_button, $time_, $popup_data=undef)
•
|
|
|---|---|
•
|
|
•
|
|
•
|
|
•
|
|
scalar = $ifactory->popup_data
scalar = Gtk2::ItemFactory->popup_data_from_widget ($widget)
- •
-
$widget(Gtk2::Widget)
$ifactory->set_translate_func ($func, $data=undef)
•
|
|
|---|---|
•
|
|
widget or undef = $ifactory->get_widget_by_action ($action)
- •
-
$action(integer)
widget or undef = $ifactory->get_widget ($path)
- •
-
$path(string)
Releases
7 releases since Debian 3.1 (Sarge); the text changed 6 times.