1Gtk2::ItemFactory(3)  User Contributed Perl Documentation Gtk2::ItemFactory(3)
2
3
4

NAME

6       Gtk2::ItemFactory
7

HIERARCHY

9         Glib::Object
10         +----Glib::InitiallyUnowned
11              +----Gtk2::Object
12                   +----Gtk2::ItemFactory
13

METHODS

15       itemfactory = Gtk2::ItemFactory->new ($container_type_package, $path,
16       $accel_group=undef)
17
18           * $container_type_package (string)
19           * $path (string)
20           * $accel_group (Gtk2::AccelGroup or undef)
21
22       $ifactory->create_item ($entry_ref, $callback_data=undef)
23
24           * $entry_ref (scalar) GtkItemFactoryEntry
25           * $callback_data (scalar)
26
27       $ifactory->create_items ($callback_data, ...)
28
29           * $callback_data (scalar)
30           * ... (list) GtkItemFactoryEntry's
31
32       $ifactory->delete_entries (...)
33
34           * ... (list) GtkItemFactoryEntry's
35
36       $ifactory->delete_entry ($entry_ref)
37
38           * $entry_ref (scalar) GtkItemFactoryEntry
39
40       $ifactory->delete_item ($path)
41
42           * $path (string)
43
44       itemfactory or undef = Gtk2::ItemFactory->from_widget ($widget)
45
46           * $widget (Gtk2::Widget)
47
48       widget or undef = $ifactory->get_item_by_action ($action)
49
50           * $action (integer)
51
52       widget or undef = $ifactory->get_item ($path)
53
54           * $path (string)
55
56       string = Gtk2::ItemFactory->path_from_widget ($widget)
57
58           * $widget (Gtk2::Widget)
59
60       $ifactory->popup ($x, $y, $mouse_button, $time_, $popup_data=undef)
61
62           * $x (integer)
63           * $y (integer)
64           * $mouse_button (integer)
65           * $time_ (unsigned)
66           * $popup_data (scalar)
67
68       scalar = $ifactory->popup_data
69
70       scalar = Gtk2::ItemFactory->popup_data_from_widget ($widget)
71
72           * $widget (Gtk2::Widget)
73
74       $ifactory->set_translate_func ($func, $data=undef)
75
76           * $func (scalar)
77           * $data (scalar)
78
79       widget or undef = $ifactory->get_widget_by_action ($action)
80
81           * $action (integer)
82
83       widget or undef = $ifactory->get_widget ($path)
84
85           * $path (string)
86

SEE ALSO

88       Gtk2, Glib::Object, Glib::InitiallyUnowned, Gtk2::Object
89
91       Copyright (C) 2003-2007 by the gtk2-perl team.
92
93       This software is licensed under the LGPL.  See Gtk2 for a full notice.
94
95
96
97perl v5.8.8                       2007-03-18              Gtk2::ItemFactory(3)
Impressum