NAME¶
Gtk2::ImageMenuItem - wrapper for GtkImageMenuItem
HIERARCHY¶
Glib::Object
+----Glib::InitiallyUnowned
+----Gtk2::Object
+----Gtk2::Widget
+----Gtk2::Container
+----Gtk2::Bin
+----Gtk2::Item
+----Gtk2::MenuItem
+----Gtk2::ImageMenuItem
INTERFACES¶
Glib::Object::_Unregistered::AtkImplementorIface
Gtk2::Buildable
Gtk2::Activatable
METHODS¶
- •
- $label (string)
- •
- $stock_id (string)
- •
- $accel_group (Gtk2::AccelGroup or undef)
- •
- $label (string)
- •
- $label (string)
- •
- $accel_group (Gtk2::AccelGroup)
Since: gtk+ 2.16
Since: gtk+ 2.16
- •
- $always_show (boolean)
Since: gtk+ 2.16
- •
- $image (Gtk2::Widget)
Since: gtk+ 2.16
- •
- $use_stock (boolean)
Since: gtk+ 2.16
PROPERTIES¶
- 'accel-group' (Gtk2::AccelGroup : default undef : writable
/ private)
- The Accel Group to use for stock accelerator keys
- 'always-show-image' (boolean : default false : readable /
writable / construct / private)
- Whether the image will always be shown
- 'image' (Gtk2::Widget : default undef : readable / writable
/ private)
- Child widget to appear next to the menu text
- 'use-stock' (boolean : default false : readable / writable
/ construct / private)
- Whether to use the label text to create a stock menu
item
SEE ALSO¶
Gtk2, Glib::Object, Glib::InitiallyUnowned, Gtk2::Object, Gtk2::Widget,
Gtk2::Container, Gtk2::Bin, Gtk2::Item, Gtk2::MenuItem
COPYRIGHT¶
Copyright (C) 2003-2011 by the gtk2-perl team.
This software is licensed under the LGPL. See Gtk2 for a full notice.