1Gtk2::ImageMenuItem(3)User Contributed Perl DocumentationGtk2::ImageMenuItem(3)
2
3
4
6 Gtk2::ImageMenuItem
7
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
20 Glib::Object::_Unregistered::AtkImplementorIface
21 Gtk2::Buildable
22 Glib::Object::_Unregistered::GtkActivatable
23
25 widget = Gtk2::ImageMenuItem->new ($label=undef)
26 · $label (string)
27
28 widget = Gtk2::ImageMenuItem->new_from_stock ($stock_id,
29 $accel_group=undef)
30 · $stock_id (string)
31
32 · $accel_group (Gtk2::AccelGroup or undef)
33
34 widget = Gtk2::ImageMenuItem->new_with_label ($label=undef)
35 · $label (string)
36
37 widget = Gtk2::ImageMenuItem->new_with_mnemonic ($label=undef)
38 · $label (string)
39
40 widget = $image_menu_item->get_image
41 $image_menu_item->set_image ($image)
42 · $image (Gtk2::Widget)
43
45 'accel-group' (Gtk2::AccelGroup : writable / private)
46 The Accel Group to use for stock accelerator keys
47
48 'always-show-image' (boolean : readable / writable / construct /
49 private)
50 Whether the image will always be shown
51
52 'image' (Gtk2::Widget : readable / writable / private)
53 Child widget to appear next to the menu text
54
55 'use-stock' (boolean : readable / writable / construct / private)
56 Whether to use the label text to create a stock menu item
57
59 Gtk2, Glib::Object, Glib::InitiallyUnowned, Gtk2::Object, Gtk2::Widget,
60 Gtk2::Container, Gtk2::Bin, Gtk2::Item, Gtk2::MenuItem
61
63 Copyright (C) 2003-2008 by the gtk2-perl team.
64
65 This software is licensed under the LGPL. See Gtk2 for a full notice.
66
67
68
69perl v5.12.0 2010-05-02 Gtk2::ImageMenuItem(3)