libgnomeuimm  2.28.0
Public Member Functions | Protected Member Functions | List of all members
Gnome::UI::Items::Item Class Reference

Represents menu items and toolbar items. More...

#include <ui-items-derived.h>

Inheritance diagram for Gnome::UI::Items::Item:
Gnome::UI::Items::Info GnomeUIInfo Gnome::UI::Items::ConfigureItem

Public Member Functions

 Item (const Icon &icon, const Glib::ustring &label, const Callback &cb=Callback(), const Glib::ustring &tip=Glib::ustring())
 
 Item (const Glib::ustring &label, const Callback &cb=Callback(), const Glib::ustring &tip=Glib::ustring())
 
 ~Item ()
 
- Public Member Functions inherited from Gnome::UI::Items::Info
void * operator new (size_t s, void *v)
 
 Info ()
 
 Info (const Info &src)
 
 ~Info ()
 
Infooperator= (const Info &src)
 
Gtk::Widget * get_widget ()
 
const Gtk::Widget * get_widget () const
 
Type type () const
 
const gchar * debug_get_icon_info () const
 
void set_accel (const Gtk::AccelKey &ak=Gtk::AccelKey())
 

Protected Member Functions

 Item ()
 
- Protected Member Functions inherited from Gnome::UI::Items::Info
void init (Type type_)
 
void init_cb (Type type_, const Icon &icon, const Glib::ustring &label, const Callback &cb, const Glib::ustring &tooltip)
 
void init_sub (Type type_, const Icon &icon, const Glib::ustring &label, const Array< Info > &sub, const Glib::ustring &tooltip)
 
InfoDatainit_common (Type type_, const Icon &icon_, const Glib::ustring &label_, const Glib::ustring &hint_)
 
InfoDataget_data_ ()
 
const InfoDataget_data_ () const
 
void set_data_ (InfoData *infodata)
 

Additional Inherited Members

- Public Types inherited from Gnome::UI::Items::Info
enum  Type {
  END = GNOME_APP_UI_ENDOFINFO, ITEM = GNOME_APP_UI_ITEM, TOGGLEITEM = GNOME_APP_UI_TOGGLEITEM, RADIOITEMS = GNOME_APP_UI_RADIOITEMS,
  SUBTREE = GNOME_APP_UI_SUBTREE, SEPARATOR = GNOME_APP_UI_SEPARATOR, HELP = GNOME_APP_UI_HELP, BUILDER = GNOME_APP_UI_BUILDER_DATA,
  CONFIGURABLE = GNOME_APP_UI_ITEM_CONFIGURABLE, SUBTREE_STOCK = GNOME_APP_UI_SUBTREE_STOCK
}
 
typedef sigc::slot< void > Callback
 

Detailed Description

Represents menu items and toolbar items.

Constructor & Destructor Documentation

◆ Item() [1/3]

Gnome::UI::Items::Item::Item ( )
protected

◆ Item() [2/3]

Gnome::UI::Items::Item::Item ( const Icon icon,
const Glib::ustring &  label,
const Callback cb = Callback(),
const Glib::ustring &  tip = Glib::ustring() 
)

◆ Item() [3/3]

Gnome::UI::Items::Item::Item ( const Glib::ustring &  label,
const Callback cb = Callback(),
const Glib::ustring &  tip = Glib::ustring() 
)

◆ ~Item()

Gnome::UI::Items::Item::~Item ( )

The documentation for this class was generated from the following file: