21#ifndef LIBGNOMEUIMM_UI_ITEMS_STOCK_H
22#define LIBGNOMEUIMM_UI_ITEMS_STOCK_H
43 void init(
const Callback &cv, GnomeUIInfoConfigurableTypes ct,
const Glib::ustring& strLabel,
const Glib::ustring& strHint);
58#define STOCK_MENU_ITEM(X, Y) \
59 struct X : public Items::ConfigureItem \
61 X(const Callback& cb = Callback()) \
69#define STOCK_MENU_ITEM_EXTRA(X, Y) \
70 struct X : public Items::ConfigureItem \
72 X(const Glib::ustring& strLabel, const Glib::ustring& strHint, const Callback& cb = Callback()) \
74 init(cb, Y, strLabel, strHint); \
123#undef STOCK_MENU_ITEM
143#define STOCK_MENU(X,Y) \
144struct X : public Items::Menu \
146 X(const Items::Array<Info>& tree = Items::Array<Info>()) \
147 : Items::Menu(Y,tree) \
Small window for displaying brief info about the application.
Definition: about.h:67
Definition: app-helper.h:190
sigc::slot< void > Callback
Definition: app-helper.h:94
Represents menu items and toolbar items.
Definition: ui-items-derived.h:46
Definition: app-helper.h:120