1Gtk2::ImageMenuItem(3)User Contributed Perl DocumentationGtk2::ImageMenuItem(3)
2
3
4

NAME

6       Gtk2::ImageMenuItem
7

HIERARCHY

9         Glib::Object
10         +----Glib::InitiallyUnowned
11              +----Gtk2::Object
12                   +----Gtk2::Widget
13                        +----Gtk2::Container
14                             +----Gtk2::Bin
15                                  +----Gtk2::Item
16                                       +----Gtk2::MenuItem
17                                            +----Gtk2::ImageMenuItem
18

INTERFACES

20         Glib::Object::_Unregistered::AtkImplementorIface
21

METHODS

23       widget = Gtk2::ImageMenuItem->new ($label=undef)
24
25           * $label (string)
26
27       widget = Gtk2::ImageMenuItem->new_from_stock ($stock_id,
28       $accel_group=undef)
29
30           * $stock_id (string)
31           * $accel_group (Gtk2::AccelGroup or undef)
32
33       widget = Gtk2::ImageMenuItem->new_with_label ($label=undef)
34
35           * $label (string)
36
37       widget = Gtk2::ImageMenuItem->new_with_mnemonic ($label=undef)
38
39           * $label (string)
40
41       widget = $image_menu_item->get_image
42
43       $image_menu_item->set_image ($image)
44
45           * $image (Gtk2::Widget)
46

PROPERTIES

48       'image' (Gtk2::Widget : readable / writable / private)
49           Child widget to appear next to the menu text
50

SEE ALSO

52       Gtk2, Glib::Object, Glib::InitiallyUnowned, Gtk2::Object, Gtk2::Widget,
53       Gtk2::Container, Gtk2::Bin, Gtk2::Item, Gtk2::MenuItem
54
56       Copyright (C) 2003-2007 by the gtk2-perl team.
57
58       This software is licensed under the LGPL.  See Gtk2 for a full notice.
59
60
61
62perl v5.8.8                       2007-03-18            Gtk2::ImageMenuItem(3)
Impressum