Reference Manual
Inti Logo
Main Page | Namespace List | Class Hierarchy | Alphabetical List | Compound List | File List | Namespace Members | Compound Members | File Members

Inti::Gtk::ImageMenuItem Class Reference

A GtkImageMenuItem C++ wrapper class. More...

#include <inti/gtk/imagemenuitem.h>

Inheritance diagram for Inti::Gtk::ImageMenuItem:

Inti::Gtk::MenuItem Inti::Gtk::Item Inti::Gtk::Bin Inti::Gtk::Container Inti::Gtk::Widget Inti::Gtk::Object Inti::Atk::Implementor Inti::G::Object Inti::G::TypeInterface Inti::G::TypeInstance Inti::MemoryHandler Inti::G::TypeInstance Inti::ReferencedBase Inti::ReferencedBase Inti::Gtk::StockMenuItem List of all members.

Public Member Functions

Constructors
Accessors
Methods
Property Proxies

Protected Member Functions

Constructors

Detailed Description

A GtkImageMenuItem C++ wrapper class.

ImageMenuItem is a MenuItem widget that displays an image at the left side of the menu item text.


Constructor & Destructor Documentation

Inti::Gtk::ImageMenuItem::ImageMenuItem GtkImageMenuItem *  menu_item,
bool  reference = false
[explicit, protected]
 

Construct a new ImageMenuItem from an existing GtkImageMenuItem.

Parameters:
menu_item A pointer to a GtkImageMenuItem.
reference Set false if the initial reference count is floating, set true if it's not.

The menu_item can be a newly created GtkImageMenuItem or an existing GtkImageMenuItem (see G::Object::Object).

Inti::Gtk::ImageMenuItem::ImageMenuItem const String label,
bool  use_underline = false
[explicit]
 

Constructs a new ImageMenuItem containing a label.

Parameters:
label The text of the menu item.
use_underline Set true if label contains a mnemonic character.

If characters in label are preceded by an underscore, they are underlined. If you need a literal underscore character in a label, use '__' (two underscores). The first underlined character represents a keyboard accelerator called a mnemonic. Pressing Alt and that key activates the menu item.

Inti::Gtk::ImageMenuItem::ImageMenuItem Widget image,
const String label,
bool  use_underline = false
 

Constructs a new ImageMenuItem containing an image and a label.

Parameters:
image A widget to set as the image for the menu item.
label The text of the menu item.
use_underline Set true if label contains a mnemonic character.

If characters in label are preceded by an underscore, they are underlined. If you need a literal underscore character in a label, use '__' (two underscores). The first underlined character represents a keyboard accelerator called a mnemonic. Pressing Alt and that key activates the menu item.

Inti::Gtk::ImageMenuItem::ImageMenuItem Widget image,
const String label,
Menu submenu,
bool  use_underline = false
 

Constructs a new ImageMenuItem that displays a submenu.

Parameters:
image A widget to set as the image for the menu item.
label The text of the menu item.
submenu The submenu under this menu item.
use_underline Set true if label contains a mnemonic character.

If characters in label are preceded by an underscore, they are underlined. If you need a literal underscore character in a label, use '__' (two underscores). The first underlined character represents a keyboard accelerator called a mnemonic. Pressing Alt and that key activates the menu item.


Member Function Documentation

void Inti::Gtk::ImageMenuItem::set_image Widget image  ) 
 

Sets the image of ImageMenuItem to the given widget.

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


The documentation for this class was generated from the following file: Main Page - Footer


Generated on Sun Sep 14 20:08:16 2003 for Inti by doxygen 1.3.2 written by Dimitri van Heesch, © 1997-2002