Google

logo top
Main Page   Widgets   Namespaces   Book  

Gtk::ImageMenuItem Class Reference
[Menu classesWidgets]

Inheritance diagram for Gtk::ImageMenuItem:

Inheritance graph
[legend]
List of all members.

Public Methods

virtual ~ImageMenuItem ()
GtkImageMenuItem* gobj ()
const GtkImageMenuItem* gobj () const
 ImageMenuItem ()
 ImageMenuItem (Widget& image, const Glib::ustring& label, bool mnemonic=false)
 ImageMenuItem (const Glib::ustring& label, bool mnemonic=false)
 ImageMenuItem (const StockID& id)
void set_image (Widget& image)
 Sets the image of image_menu_item to the given widget.

Widgetget_image ()
 Gets the widget that is currently set as the image of image_menu_item .

const Widgetget_image () const
 Gets the widget that is currently set as the image of image_menu_item .


Related Functions

(Note that these are not member functions.)

Gtk::ImageMenuItem* wrap (GtkImageMenuItem* object, bool take_copy=false)

Constructor & Destructor Documentation

virtual Gtk::ImageMenuItem::~ImageMenuItem (   [virtual]
 

Gtk::ImageMenuItem::ImageMenuItem (  
 

Gtk::ImageMenuItem::ImageMenuItem ( Widget   image,
const Glib::ustring   label,
bool    mnemonic = false
[explicit]
 

Gtk::ImageMenuItem::ImageMenuItem ( const Glib::ustring   label,
bool    mnemonic = false
[explicit]
 

Gtk::ImageMenuItem::ImageMenuItem ( const StockID   id [explicit]
 


Member Function Documentation

const Widget* Gtk::ImageMenuItem::get_image (   const
 

Gets the widget that is currently set as the image of image_menu_item .

See set_image().

Returns:
The widget set as image of image_menu_item .

Widget* Gtk::ImageMenuItem::get_image (  
 

Gets the widget that is currently set as the image of image_menu_item .

See set_image().

Returns:
The widget set as image of image_menu_item .

const GtkImageMenuItem* Gtk::ImageMenuItem::gobj (   const [inline]
 

Reimplemented from Gtk::MenuItem.

GtkImageMenuItem* Gtk::ImageMenuItem::gobj (   [inline]
 

Reimplemented from Gtk::MenuItem.

void Gtk::ImageMenuItem::set_image ( Widget   image
 

Sets the image of image_menu_item to the given widget.

Parameters:
image A widget to set as the image for the menu item.


Friends And Related Function Documentation

Gtk::ImageMenuItem* wrap ( GtkImageMenuItem*    object,
bool    take_copy = false
[related]
 


The documentation for this class was generated from the following file:
Generated for gtkmm by Doxygen 1.3-rc1 © 1997-2001