Gtk2::ImageMenuItem man page on OpenSuSE
[printable version]
Gtk2::ImageMenuItem(3)User Contributed Perl DocumentatioGtk2::ImageMenuItem(3)
NAME
Gtk2::ImageMenuItem
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
widget = Gtk2::ImageMenuItem->new ($label=undef)
· $label (string)
widget = Gtk2::ImageMenuItem->new_from_stock ($stock_id,
$accel_group=undef)
· $stock_id (string)
· $accel_group (Gtk2::AccelGroup or undef)
widget = Gtk2::ImageMenuItem->new_with_label ($label=undef)
· $label (string)
widget = Gtk2::ImageMenuItem->new_with_mnemonic ($label=undef)
· $label (string)
$image_menu_item->set_accel_group ($accel_group)
· $accel_group (Gtk2::AccelGroup)
Since: gtk+ 2.16
boolean = $image_menu_item->get_always_show_image
Since: gtk+ 2.16
$image_menu_item->set_always_show_image ($always_show)
· $always_show (boolean)
Since: gtk+ 2.16
widget = $image_menu_item->get_image
$image_menu_item->set_image ($image)
· $image (Gtk2::Widget)
boolean = $image_menu_item->get_use_stock
Since: gtk+ 2.16
$image_menu_item->set_use_stock ($use_stock)
· $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.
perl v5.18.1 2013-09-28 Gtk2::ImageMenuItem(3)
[top]
List of man pages available for OpenSuSE
Copyright (c) for man pages and the logo by the respective OS vendor.
For those who want to learn more, the polarhome community provides shell access and support.
[legal]
[privacy]
[GNU]
[policy]
[cookies]
[netiquette]
[sponsors]
[FAQ]
Polarhome, production since 1999.
Member of Polarhome portal.
Based on Fawad Halim's script.
....................................................................
|
Vote for polarhome
|