3 #ifndef _GTKMM_ACCELGROUP_H
4 #define _GTKMM_ACCELGROUP_H
7 #include <glibmm/ustring.h>
8 #include <sigc++/sigc++.h>
34 #ifndef DOXYGEN_SHOULD_SKIP_THIS
40 #ifndef DOXYGEN_SHOULD_SKIP_THIS
42 {
class AccelGroup_Class; }
66 #ifndef DOXYGEN_SHOULD_SKIP_THIS
75 static CppClassType accelgroup_class_;
83 explicit AccelGroup(
const Glib::ConstructParams& construct_params);
95 #ifndef DOXYGEN_SHOULD_SKIP_THIS
98 static GType get_base_type() G_GNUC_CONST;
122 static Glib::RefPtr<AccelGroup>
create();
static void parse(const Glib::ustring &accelerator, guint &accelerator_key, Gdk::ModifierType &accelerator_mods)
static Glib::ustring name(guint accelerator_key, Gdk::ModifierType accelerator_mods)
static Gdk::ModifierType get_default_mod_mask()
See set_default_mod_mask().
const GtkAccelGroup * gobj() const
Provides access to the underlying C GObject.
virtual void on_accel_changed(guint keyval, Gdk::ModifierType modifier, GClosure *accel_closure)
This is a default handler for the signal signal_accel_changed().
bool activate(GQuark accel_quark, const Glib::RefPtr< Glib::Object > &acceleratable, guint accel_key, Gdk::ModifierType accel_mods)
static bool activate(Gtk::Object &object, guint accel_key, Gdk::ModifierType accel_mods)
Gdk::ModifierType get_modifier_mask() const
Glib::PropertyProxy_ReadOnly< Gdk::ModifierType > property_modifier_mask() const
GtkAccelGroup * gobj_copy()
Provides access to the underlying C instance. The caller is responsible for unrefing it....
static void set_default_mod_mask(Gdk::ModifierType default_mod_mask)
static bool valid(guint keyval, Gdk::ModifierType modifiers)
bool disconnect_key(guint accel_key, Gdk::ModifierType accel_mods)
Glib::RefPtr< Gtk::AccelGroup > wrap(GtkAccelGroup *object, bool take_copy=false)
Glib::PropertyProxy_ReadOnly< bool > property_is_locked() const
Glib::SignalProxy3< void, guint, Gdk::ModifierType, GClosure * > signal_accel_changed()
static Glib::RefPtr< AccelGroup > create()
bool get_is_locked() const
Glib::SignalProxy3< bool, const Glib::RefPtr< Glib::Object > &, guint, Gdk::ModifierType > signal_accel_activate()
GtkAccelGroup * gobj()
Provides access to the underlying C GObject.
static Glib::ustring get_label(guint accelerator_key, Gdk::ModifierType accelerator_mods)
static GType get_type() G_GNUC_CONST