3 #ifndef _GTKMM_UIMANAGER_H
4 #define _GTKMM_UIMANAGER_H
7 #include <glibmm/ustring.h>
8 #include <sigc++/sigc++.h>
35 #ifndef DOXYGEN_SHOULD_SKIP_THIS
41 #ifndef DOXYGEN_SHOULD_SKIP_THIS
43 {
class UIManager_Class; }
80 {
return static_cast<UIManagerItemType>(
static_cast<unsigned>(lhs) |
static_cast<unsigned>(rhs)); }
84 {
return static_cast<UIManagerItemType>(
static_cast<unsigned>(lhs) &
static_cast<unsigned>(rhs)); }
88 {
return static_cast<UIManagerItemType>(
static_cast<unsigned>(lhs) ^
static_cast<unsigned>(rhs)); }
96 {
return (lhs =
static_cast<UIManagerItemType>(
static_cast<unsigned>(lhs) |
static_cast<unsigned>(rhs))); }
100 {
return (lhs =
static_cast<UIManagerItemType>(
static_cast<unsigned>(lhs) &
static_cast<unsigned>(rhs))); }
104 {
return (lhs =
static_cast<UIManagerItemType>(
static_cast<unsigned>(lhs) ^
static_cast<unsigned>(rhs))); }
109 #ifndef DOXYGEN_SHOULD_SKIP_THIS
117 static GType value_type() G_GNUC_CONST;
272 #ifndef DOXYGEN_SHOULD_SKIP_THIS
281 static CppClassType uimanager_class_;
289 explicit UIManager(
const Glib::ConstructParams& construct_params);
301 #ifndef DOXYGEN_SHOULD_SKIP_THIS
304 static GType get_base_type() G_GNUC_CONST;
467 Glib::RefPtr<const Action>
get_action(
const Glib::ustring& path)
const;
672 Glib::PropertyProxy_ReadOnly< Glib::ustring >
property_ui()
const;
Glib::SignalProxy1< void, const Glib::RefPtr< Action > & > signal_post_activate()
void remove_ui(ui_merge_id merge_id)
void add_ui(ui_merge_id merge_id, const Glib::ustring &path, const Glib::ustring &name, const Glib::ustring &action, UIManagerItemType type=Gtk::UI_MANAGER_AUTO, bool top=true)
Glib::SignalProxy2< void, const Glib::RefPtr< Action > &, Widget * > signal_connect_proxy()
void remove_action_group(const Glib::RefPtr< ActionGroup > &action_group)
Glib::SignalProxy1< void, const Glib::RefPtr< Action > & > signal_pre_activate()
Glib::RefPtr< const AccelGroup > get_accel_group() const
void add_ui_separator(ui_merge_id merge_id, const Glib::ustring &path, const Glib::ustring &name="", UIManagerItemType type=Gtk::UI_MANAGER_AUTO, bool top=true)
Glib::SListHandle< const Widget * > get_toplevels(UIManagerItemType types) const
bool get_add_tearoffs() const
ui_merge_id add_ui_from_string(const Glib::ustring &buffer)
GtkUIManager * gobj_copy()
Provides access to the underlying C instance. The caller is responsible for unrefing it....
Glib::RefPtr< const Action > get_action(const Glib::ustring &path) const
void insert_action_group(const Glib::RefPtr< ActionGroup > &action_group, int pos=0)
Glib::PropertyProxy_ReadOnly< Glib::ustring > property_ui() const
virtual void on_add_widget(Widget *widget)
This is a default handler for the signal signal_add_widget().
Glib::RefPtr< Action > get_action(const Glib::ustring &path)
Glib::RefPtr< AccelGroup > get_accel_group()
Glib::ListHandle< Glib::RefPtr< const ActionGroup > > get_action_groups() const
virtual void on_actions_changed()
This is a default handler for the signal signal_actions_changed().
Glib::ustring get_ui() const
static GType get_type() G_GNUC_CONST
const Widget * get_widget(const Glib::ustring &path) const
Glib::SignalProxy1< void, Widget * > signal_add_widget()
Widget * get_widget(const Glib::ustring &path)
Glib::SignalProxy2< void, const Glib::RefPtr< Action > &, Widget * > signal_disconnect_proxy()
void set_add_tearoffs(bool add_tearoffs=true)
Glib::SListHandle< Widget * > get_toplevels(UIManagerItemType types)
Glib::ListHandle< Glib::RefPtr< ActionGroup > > get_action_groups()
Glib::SignalProxy0< void > signal_actions_changed()
ui_merge_id new_merge_id()
ui_merge_id add_ui_from_file(const Glib::ustring &filename)
Glib::RefPtr< Gtk::UIManager > wrap(GtkUIManager *object, bool take_copy=false)
Glib::PropertyProxy< bool > property_add_tearoffs()
GtkUIManager * gobj()
Provides access to the underlying C GObject.
const GtkUIManager * gobj() const
Provides access to the underlying C GObject.
static Glib::RefPtr< UIManager > create()
Glib::PropertyProxy_ReadOnly< bool > property_add_tearoffs() const
GtkImageIconNameData name