libgnomeuimm 2.28.0
|
Represents menu items and toolbar items. More...
#include <ui-items-derived.h>
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 () | |
![]() | |
void * | operator new (size_t s, void *v) |
Info () | |
Info (const Info &src) | |
~Info () | |
Info & | operator= (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 () | |
![]() | |
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) |
InfoData * | init_common (Type type_, const Icon &icon_, const Glib::ustring &label_, const Glib::ustring &hint_) |
InfoData * | get_data_ () |
const InfoData * | get_data_ () const |
void | set_data_ (InfoData *infodata) |
Additional Inherited Members | |
![]() | |
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 |
Represents menu items and toolbar items.
|
protected |
Gnome::UI::Items::Item::Item | ( | const Icon & | icon, |
const Glib::ustring & | label, | ||
const Callback & | cb = Callback() , |
||
const Glib::ustring & | tip = Glib::ustring() |
||
) |
Gnome::UI::Items::Item::Item | ( | const Glib::ustring & | label, |
const Callback & | cb = Callback() , |
||
const Glib::ustring & | tip = Glib::ustring() |
||
) |
Gnome::UI::Items::Item::~Item | ( | ) |