<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/> <meta http-equiv="X-UA-Compatible" content="IE=9"/> <meta name="generator" content="Doxygen 1.8.7"/> <title>gtkmm: Gtk::AccelGroup Class Reference</title> <link href="tabs.css" rel="stylesheet" type="text/css"/> <script type="text/javascript" src="jquery.js"></script> <script type="text/javascript" src="dynsections.js"></script> <link href="doxygen.css" rel="stylesheet" type="text/css" /> </head> <body> <div id="top"><!-- do not remove this div, it is closed by doxygen! --> <div id="titlearea"> <table cellspacing="0" cellpadding="0"> <tbody> <tr style="height: 56px;"> <td style="padding-left: 0.5em;"> <div id="projectname">gtkmm  <span id="projectnumber">3.14.0</span> </div> </td> </tr> </tbody> </table> </div> <!-- end header part --> <!-- Generated by Doxygen 1.8.7 --> <div id="navrow1" class="tabs"> <ul class="tablist"> <li><a href="index.html"><span>Main Page</span></a></li> <li><a href="pages.html"><span>Related Pages</span></a></li> <li><a href="modules.html"><span>Modules</span></a></li> <li><a href="namespaces.html"><span>Namespaces</span></a></li> <li class="current"><a href="annotated.html"><span>Classes</span></a></li> </ul> </div> <div id="navrow2" class="tabs2"> <ul class="tablist"> <li><a href="annotated.html"><span>Class List</span></a></li> <li><a href="classes.html"><span>Class Index</span></a></li> <li><a href="inherits.html"><span>Class Hierarchy</span></a></li> <li><a href="functions.html"><span>Class Members</span></a></li> </ul> </div> <div id="nav-path" class="navpath"> <ul> <li class="navelem"><a class="el" href="namespaceGtk.html">Gtk</a></li><li class="navelem"><a class="el" href="classGtk_1_1AccelGroup.html">AccelGroup</a></li> </ul> </div> </div><!-- top --> <div class="header"> <div class="summary"> <a href="#pub-methods">Public Member Functions</a> | <a href="#pub-static-methods">Static Public Member Functions</a> | <a href="#pro-methods">Protected Member Functions</a> | <a href="#related">Related Functions</a> | <a href="classGtk_1_1AccelGroup-members.html">List of all members</a> </div> <div class="headertitle"> <div class="title">Gtk::AccelGroup Class Reference</div> </div> </div><!--header--> <div class="contents"> <p>A <a class="el" href="classGtk_1_1AccelGroup.html" title="A Gtk::AccelGroup represents a group of keyboard accelerators, typically attached to a toplevel Gtk::...">Gtk::AccelGroup</a> represents a group of keyboard accelerators, typically attached to a toplevel <a class="el" href="classGtk_1_1Window.html" title="Toplevel Window This represents all widgets which are physical windows controlled by the window manag...">Gtk::Window</a> (with <a class="el" href="classGtk_1_1Window.html#ad15a4530150d8464ee06bb2218e582e9" title="Associate accel_group with window, such that calling gtk_accel_groups_activate() on window will activ...">Gtk::Window::add_accel_group()</a>). <a href="classGtk_1_1AccelGroup.html#details">More...</a></p> <p><code>#include <gtkmm/accelgroup.h></code></p> <div class="dynheader"> Inheritance diagram for Gtk::AccelGroup:</div> <div class="dyncontent"> <div class="center"><img src="classGtk_1_1AccelGroup__inherit__graph.png" border="0" usemap="#Gtk_1_1AccelGroup_inherit__map" alt="Inheritance graph"/></div> <map name="Gtk_1_1AccelGroup_inherit__map" id="Gtk_1_1AccelGroup_inherit__map"> <area shape="rect" id="node2" href="http://library.gnome.org/devel/glibmm/unstable/classGlib_1_1Object.html" title="Glib::Object" alt="" coords="21,155,115,181"/><area shape="rect" id="node3" href="http://library.gnome.org/devel/glibmm/unstable/classGlib_1_1ObjectBase.html" title="Glib::ObjectBase" alt="" coords="5,80,131,107"/><area shape="rect" id="node4" href="http://library.gnome.org/devel/libsigc++/unstable/structsigc_1_1trackable.html" title="sigc::trackable" alt="" coords="11,5,125,32"/></map> <center><span class="legend">[<a href="graph_legend.html">legend</a>]</span></center></div> <table class="memberdecls"> <tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-methods"></a> Public Member Functions</h2></td></tr> <tr class="memitem:a921454aa4102ac809898b1faf180bffe"><td class="memItemLeft" align="right" valign="top">virtual </td><td class="memItemRight" valign="bottom"><a class="el" href="classGtk_1_1AccelGroup.html#a921454aa4102ac809898b1faf180bffe">~AccelGroup</a> ()</td></tr> <tr class="separator:a921454aa4102ac809898b1faf180bffe"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:ae8ca2f2497370a596bdf0449b0e098ab"><td class="memItemLeft" align="right" valign="top">GtkAccelGroup* </td><td class="memItemRight" valign="bottom"><a class="el" href="classGtk_1_1AccelGroup.html#ae8ca2f2497370a596bdf0449b0e098ab">gobj</a> ()</td></tr> <tr class="memdesc:ae8ca2f2497370a596bdf0449b0e098ab"><td class="mdescLeft"> </td><td class="mdescRight">Provides access to the underlying C GObject. <a href="#ae8ca2f2497370a596bdf0449b0e098ab">More...</a><br /></td></tr> <tr class="separator:ae8ca2f2497370a596bdf0449b0e098ab"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:a99694998d55ecd7fabc812d631a77fea"><td class="memItemLeft" align="right" valign="top">const GtkAccelGroup* </td><td class="memItemRight" valign="bottom"><a class="el" href="classGtk_1_1AccelGroup.html#a99694998d55ecd7fabc812d631a77fea">gobj</a> () const </td></tr> <tr class="memdesc:a99694998d55ecd7fabc812d631a77fea"><td class="mdescLeft"> </td><td class="mdescRight">Provides access to the underlying C GObject. <a href="#a99694998d55ecd7fabc812d631a77fea">More...</a><br /></td></tr> <tr class="separator:a99694998d55ecd7fabc812d631a77fea"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:a41105a95dd1df662b3e7f24c5b554864"><td class="memItemLeft" align="right" valign="top">GtkAccelGroup* </td><td class="memItemRight" valign="bottom"><a class="el" href="classGtk_1_1AccelGroup.html#a41105a95dd1df662b3e7f24c5b554864">gobj_copy</a> ()</td></tr> <tr class="memdesc:a41105a95dd1df662b3e7f24c5b554864"><td class="mdescLeft"> </td><td class="mdescRight">Provides access to the underlying C instance. The caller is responsible for unrefing it. Use when directly setting fields in structs. <a href="#a41105a95dd1df662b3e7f24c5b554864">More...</a><br /></td></tr> <tr class="separator:a41105a95dd1df662b3e7f24c5b554864"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:acf8fe4511f6a53f163b7f2d8ca72e7ba"><td class="memItemLeft" align="right" valign="top">bool </td><td class="memItemRight" valign="bottom"><a class="el" href="classGtk_1_1AccelGroup.html#acf8fe4511f6a53f163b7f2d8ca72e7ba">get_is_locked</a> () const </td></tr> <tr class="memdesc:acf8fe4511f6a53f163b7f2d8ca72e7ba"><td class="mdescLeft"> </td><td class="mdescRight">Locks are added and removed using <a class="el" href="classGtk_1_1AccelGroup.html#ae126cbabe5dd6262e341ee9b8be0e709" title="Locks the given accelerator group. ">lock()</a> and <a class="el" href="classGtk_1_1AccelGroup.html#af164d66f76728aa1606f9eddde5a7ef0" title="Undoes the last call to lock() on this accel_group. ">unlock()</a>. <a href="#acf8fe4511f6a53f163b7f2d8ca72e7ba">More...</a><br /></td></tr> <tr class="separator:acf8fe4511f6a53f163b7f2d8ca72e7ba"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:afcae77f222e1537309e1721619f68dde"><td class="memItemLeft" align="right" valign="top"><a class="el" href="group__gdkmmEnums.html#ga734c2979005c87dbe51223a0128cdd97">Gdk::ModifierType</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="classGtk_1_1AccelGroup.html#afcae77f222e1537309e1721619f68dde">get_modifier_mask</a> () const </td></tr> <tr class="memdesc:afcae77f222e1537309e1721619f68dde"><td class="mdescLeft"> </td><td class="mdescRight">Gets a <a class="el" href="group__gdkmmEnums.html#ga734c2979005c87dbe51223a0128cdd97" title="A set of bit-flags to indicate the state of modifier keys and mouse buttons in various event types...">Gdk::ModifierType</a> representing the mask for this <em>accel_group</em>. <a href="#afcae77f222e1537309e1721619f68dde">More...</a><br /></td></tr> <tr class="separator:afcae77f222e1537309e1721619f68dde"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:ae126cbabe5dd6262e341ee9b8be0e709"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classGtk_1_1AccelGroup.html#ae126cbabe5dd6262e341ee9b8be0e709">lock</a> ()</td></tr> <tr class="memdesc:ae126cbabe5dd6262e341ee9b8be0e709"><td class="mdescLeft"> </td><td class="mdescRight">Locks the given accelerator group. <a href="#ae126cbabe5dd6262e341ee9b8be0e709">More...</a><br /></td></tr> <tr class="separator:ae126cbabe5dd6262e341ee9b8be0e709"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:af164d66f76728aa1606f9eddde5a7ef0"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classGtk_1_1AccelGroup.html#af164d66f76728aa1606f9eddde5a7ef0">unlock</a> ()</td></tr> <tr class="memdesc:af164d66f76728aa1606f9eddde5a7ef0"><td class="mdescLeft"> </td><td class="mdescRight">Undoes the last call to <a class="el" href="classGtk_1_1AccelGroup.html#ae126cbabe5dd6262e341ee9b8be0e709" title="Locks the given accelerator group. ">lock()</a> on this <em>accel_group</em>. <a href="#af164d66f76728aa1606f9eddde5a7ef0">More...</a><br /></td></tr> <tr class="separator:af164d66f76728aa1606f9eddde5a7ef0"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:a5fa48d11aeeac0bd1e680e523dad727b"><td class="memItemLeft" align="right" valign="top">bool </td><td class="memItemRight" valign="bottom"><a class="el" href="classGtk_1_1AccelGroup.html#a5fa48d11aeeac0bd1e680e523dad727b">disconnect_key</a> (guint accel_key, <a class="el" href="group__gdkmmEnums.html#ga734c2979005c87dbe51223a0128cdd97">Gdk::ModifierType</a> accel_mods)</td></tr> <tr class="memdesc:a5fa48d11aeeac0bd1e680e523dad727b"><td class="mdescLeft"> </td><td class="mdescRight">Removes an accelerator previously installed through connect(). <a href="#a5fa48d11aeeac0bd1e680e523dad727b">More...</a><br /></td></tr> <tr class="separator:a5fa48d11aeeac0bd1e680e523dad727b"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:a2e355f6b213074e91efc9f05204e5002"><td class="memItemLeft" align="right" valign="top">bool </td><td class="memItemRight" valign="bottom"><a class="el" href="classGtk_1_1AccelGroup.html#a2e355f6b213074e91efc9f05204e5002">activate</a> (GQuark accel_quark, const <a class="elRef" href="http://library.gnome.org/devel/glibmm/unstable/classGlib_1_1RefPtr.html">Glib::RefPtr</a>< <a class="elRef" href="http://library.gnome.org/devel/glibmm/unstable/classGlib_1_1Object.html">Glib::Object</a> >& acceleratable, guint accel_key, <a class="el" href="group__gdkmmEnums.html#ga734c2979005c87dbe51223a0128cdd97">Gdk::ModifierType</a> accel_mods)</td></tr> <tr class="memdesc:a2e355f6b213074e91efc9f05204e5002"><td class="mdescLeft"> </td><td class="mdescRight">Finds the first accelerator in <em>accel_group</em> that matches <em>accel_key</em> and <em>accel_mods</em>, and activates it. <a href="#a2e355f6b213074e91efc9f05204e5002">More...</a><br /></td></tr> <tr class="separator:a2e355f6b213074e91efc9f05204e5002"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:aa39bbb7e95ee8c7a66af6399cef4495a"><td class="memItemLeft" align="right" valign="top"><a class="elRef" href="http://library.gnome.org/devel/glibmm/unstable/classGlib_1_1SignalProxy3.html">Glib::SignalProxy3</a>< bool, <br class="typebreak" /> const <a class="elRef" href="http://library.gnome.org/devel/glibmm/unstable/classGlib_1_1RefPtr.html">Glib::RefPtr</a><br class="typebreak" /> < <a class="elRef" href="http://library.gnome.org/devel/glibmm/unstable/classGlib_1_1Object.html">Glib::Object</a> > &, guint, <br class="typebreak" /> <a class="el" href="group__gdkmmEnums.html#ga734c2979005c87dbe51223a0128cdd97">Gdk::ModifierType</a> > </td><td class="memItemRight" valign="bottom"><a class="el" href="classGtk_1_1AccelGroup.html#aa39bbb7e95ee8c7a66af6399cef4495a">signal_accel_activate</a> ()</td></tr> <tr class="separator:aa39bbb7e95ee8c7a66af6399cef4495a"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:a8d1191d47fc96c2f02aacb0e0423f5c4"><td class="memItemLeft" align="right" valign="top"><a class="elRef" href="http://library.gnome.org/devel/glibmm/unstable/classGlib_1_1SignalProxy3.html">Glib::SignalProxy3</a>< void, <br class="typebreak" /> guint, <a class="el" href="group__gdkmmEnums.html#ga734c2979005c87dbe51223a0128cdd97">Gdk::ModifierType</a>, <br class="typebreak" /> GClosure* > </td><td class="memItemRight" valign="bottom"><a class="el" href="classGtk_1_1AccelGroup.html#a8d1191d47fc96c2f02aacb0e0423f5c4">signal_accel_changed</a> ()</td></tr> <tr class="separator:a8d1191d47fc96c2f02aacb0e0423f5c4"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:abfc005881335bd5b7df26b1a46c6e56a"><td class="memItemLeft" align="right" valign="top"><a class="elRef" href="http://library.gnome.org/devel/glibmm/unstable/classGlib_1_1PropertyProxy__ReadOnly.html">Glib::PropertyProxy_ReadOnly</a><br class="typebreak" /> < bool > </td><td class="memItemRight" valign="bottom"><a class="el" href="classGtk_1_1AccelGroup.html#abfc005881335bd5b7df26b1a46c6e56a">property_is_locked</a> () const </td></tr> <tr class="memdesc:abfc005881335bd5b7df26b1a46c6e56a"><td class="mdescLeft"> </td><td class="mdescRight">Is the accel group locked. <a href="#abfc005881335bd5b7df26b1a46c6e56a">More...</a><br /></td></tr> <tr class="separator:abfc005881335bd5b7df26b1a46c6e56a"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:a290dd055a9a6417cbbcde51fdc54af05"><td class="memItemLeft" align="right" valign="top"><a class="elRef" href="http://library.gnome.org/devel/glibmm/unstable/classGlib_1_1PropertyProxy__ReadOnly.html">Glib::PropertyProxy_ReadOnly</a><br class="typebreak" /> < <a class="el" href="group__gdkmmEnums.html#ga734c2979005c87dbe51223a0128cdd97">Gdk::ModifierType</a> > </td><td class="memItemRight" valign="bottom"><a class="el" href="classGtk_1_1AccelGroup.html#a290dd055a9a6417cbbcde51fdc54af05">property_modifier_mask</a> () const </td></tr> <tr class="memdesc:a290dd055a9a6417cbbcde51fdc54af05"><td class="mdescLeft"> </td><td class="mdescRight">Modifier Mask. <a href="#a290dd055a9a6417cbbcde51fdc54af05">More...</a><br /></td></tr> <tr class="separator:a290dd055a9a6417cbbcde51fdc54af05"><td class="memSeparator" colspan="2"> </td></tr> </table><table class="memberdecls"> <tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-static-methods"></a> Static Public Member Functions</h2></td></tr> <tr class="memitem:a418a69a8373b3473ffd867cfd60aeec9"><td class="memItemLeft" align="right" valign="top">static GType </td><td class="memItemRight" valign="bottom"><a class="el" href="classGtk_1_1AccelGroup.html#a418a69a8373b3473ffd867cfd60aeec9">get_type</a> ()</td></tr> <tr class="memdesc:a418a69a8373b3473ffd867cfd60aeec9"><td class="mdescLeft"> </td><td class="mdescRight">Get the GType for this class, for use with the underlying GObject type system. <a href="#a418a69a8373b3473ffd867cfd60aeec9">More...</a><br /></td></tr> <tr class="separator:a418a69a8373b3473ffd867cfd60aeec9"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:a935480b98985d9a8c2905e68eafae839"><td class="memItemLeft" align="right" valign="top">static <a class="elRef" href="http://library.gnome.org/devel/glibmm/unstable/classGlib_1_1RefPtr.html">Glib::RefPtr</a>< <a class="el" href="classGtk_1_1AccelGroup.html">AccelGroup</a> > </td><td class="memItemRight" valign="bottom"><a class="el" href="classGtk_1_1AccelGroup.html#a935480b98985d9a8c2905e68eafae839">create</a> ()</td></tr> <tr class="memdesc:a935480b98985d9a8c2905e68eafae839"><td class="mdescLeft"> </td><td class="mdescRight">Creates a new <a class="el" href="classGtk_1_1AccelGroup.html" title="A Gtk::AccelGroup represents a group of keyboard accelerators, typically attached to a toplevel Gtk::...">Gtk::AccelGroup</a> object. <a href="#a935480b98985d9a8c2905e68eafae839">More...</a><br /></td></tr> <tr class="separator:a935480b98985d9a8c2905e68eafae839"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:a4c5da10b8e3b51dcd4fe403959e2d4a3"><td class="memItemLeft" align="right" valign="top">static bool </td><td class="memItemRight" valign="bottom"><a class="el" href="classGtk_1_1AccelGroup.html#a4c5da10b8e3b51dcd4fe403959e2d4a3">valid</a> (guint keyval, <a class="el" href="group__gdkmmEnums.html#ga734c2979005c87dbe51223a0128cdd97">Gdk::ModifierType</a> modifiers)</td></tr> <tr class="memdesc:a4c5da10b8e3b51dcd4fe403959e2d4a3"><td class="mdescLeft"> </td><td class="mdescRight">Determines whether a given keyval and modifier mask constitute a valid keyboard accelerator. <a href="#a4c5da10b8e3b51dcd4fe403959e2d4a3">More...</a><br /></td></tr> <tr class="separator:a4c5da10b8e3b51dcd4fe403959e2d4a3"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:a0035b04d82a93f3fb4ed26812da9144a"><td class="memItemLeft" align="right" valign="top">static void </td><td class="memItemRight" valign="bottom"><a class="el" href="classGtk_1_1AccelGroup.html#a0035b04d82a93f3fb4ed26812da9144a">parse</a> (const <a class="elRef" href="http://library.gnome.org/devel/glibmm/unstable/classGlib_1_1ustring.html">Glib::ustring</a>& accelerator, guint& accelerator_key, <a class="el" href="group__gdkmmEnums.html#ga734c2979005c87dbe51223a0128cdd97">Gdk::ModifierType</a>& accelerator_mods)</td></tr> <tr class="memdesc:a0035b04d82a93f3fb4ed26812da9144a"><td class="mdescLeft"> </td><td class="mdescRight">Parse the accelerator string. <a href="#a0035b04d82a93f3fb4ed26812da9144a">More...</a><br /></td></tr> <tr class="separator:a0035b04d82a93f3fb4ed26812da9144a"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:a173b659482b4abc35862ae3c8d0645d3"><td class="memItemLeft" align="right" valign="top">static <a class="elRef" href="http://library.gnome.org/devel/glibmm/unstable/classGlib_1_1ustring.html">Glib::ustring</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="classGtk_1_1AccelGroup.html#a173b659482b4abc35862ae3c8d0645d3">name</a> (guint accelerator_key, <a class="el" href="group__gdkmmEnums.html#ga734c2979005c87dbe51223a0128cdd97">Gdk::ModifierType</a> accelerator_mods)</td></tr> <tr class="memdesc:a173b659482b4abc35862ae3c8d0645d3"><td class="mdescLeft"> </td><td class="mdescRight">Converts an accelerator keyval and modifier mask into a string parseable by <a class="el" href="classGtk_1_1AccelGroup.html#a0035b04d82a93f3fb4ed26812da9144a" title="Parse the accelerator string. ">parse()</a>. <a href="#a173b659482b4abc35862ae3c8d0645d3">More...</a><br /></td></tr> <tr class="separator:a173b659482b4abc35862ae3c8d0645d3"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:af182fea262e6d23952ebc49d8e1a6fba"><td class="memItemLeft" align="right" valign="top">static <a class="elRef" href="http://library.gnome.org/devel/glibmm/unstable/classGlib_1_1ustring.html">Glib::ustring</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="classGtk_1_1AccelGroup.html#af182fea262e6d23952ebc49d8e1a6fba">get_label</a> (guint accelerator_key, <a class="el" href="group__gdkmmEnums.html#ga734c2979005c87dbe51223a0128cdd97">Gdk::ModifierType</a> accelerator_mods)</td></tr> <tr class="memdesc:af182fea262e6d23952ebc49d8e1a6fba"><td class="mdescLeft"> </td><td class="mdescRight">Converts an accelerator keyval and modifier mask into a string which can be used to represent the accelerator to the user. <a href="#af182fea262e6d23952ebc49d8e1a6fba">More...</a><br /></td></tr> <tr class="separator:af182fea262e6d23952ebc49d8e1a6fba"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:a42258983a28aa7f0c4ba65b1abf9806c"><td class="memItemLeft" align="right" valign="top">static void </td><td class="memItemRight" valign="bottom"><a class="el" href="classGtk_1_1AccelGroup.html#a42258983a28aa7f0c4ba65b1abf9806c">set_default_mod_mask</a> (<a class="el" href="group__gdkmmEnums.html#ga734c2979005c87dbe51223a0128cdd97">Gdk::ModifierType</a> default_mod_mask)</td></tr> <tr class="memdesc:a42258983a28aa7f0c4ba65b1abf9806c"><td class="mdescLeft"> </td><td class="mdescRight">Sets the modifiers that will be considered significant for keyboard accelerators. <a href="#a42258983a28aa7f0c4ba65b1abf9806c">More...</a><br /></td></tr> <tr class="separator:a42258983a28aa7f0c4ba65b1abf9806c"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:a1e2f9b75e06dc4d3e915261e351525d1"><td class="memItemLeft" align="right" valign="top">static <a class="el" href="group__gdkmmEnums.html#ga734c2979005c87dbe51223a0128cdd97">Gdk::ModifierType</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="classGtk_1_1AccelGroup.html#a1e2f9b75e06dc4d3e915261e351525d1">get_default_mod_mask</a> ()</td></tr> <tr class="memdesc:a1e2f9b75e06dc4d3e915261e351525d1"><td class="mdescLeft"> </td><td class="mdescRight">See <a class="el" href="classGtk_1_1AccelGroup.html#a42258983a28aa7f0c4ba65b1abf9806c" title="Sets the modifiers that will be considered significant for keyboard accelerators. ...">set_default_mod_mask()</a>. <a href="#a1e2f9b75e06dc4d3e915261e351525d1">More...</a><br /></td></tr> <tr class="separator:a1e2f9b75e06dc4d3e915261e351525d1"><td class="memSeparator" colspan="2"> </td></tr> </table><table class="memberdecls"> <tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pro-methods"></a> Protected Member Functions</h2></td></tr> <tr class="memitem:aea3002ff86e240ca8e95eba9bb8ffc2d"><td class="memItemLeft" align="right" valign="top"> </td><td class="memItemRight" valign="bottom"><a class="el" href="classGtk_1_1AccelGroup.html#aea3002ff86e240ca8e95eba9bb8ffc2d">AccelGroup</a> ()</td></tr> <tr class="separator:aea3002ff86e240ca8e95eba9bb8ffc2d"><td class="memSeparator" colspan="2"> </td></tr> </table><table class="memberdecls"> <tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="related"></a> Related Functions</h2></td></tr> <tr><td class="ititle" colspan="2"><p>(Note that these are not member functions.) </p> </td></tr> <tr class="memitem:a6dd6cb005299768bbfc173eb56319fc7"><td class="memItemLeft" align="right" valign="top"><a class="elRef" href="http://library.gnome.org/devel/glibmm/unstable/classGlib_1_1RefPtr.html">Glib::RefPtr</a>< <a class="el" href="classGtk_1_1AccelGroup.html">Gtk::AccelGroup</a> > </td><td class="memItemRight" valign="bottom"><a class="el" href="classGtk_1_1AccelGroup.html#a6dd6cb005299768bbfc173eb56319fc7">wrap</a> (GtkAccelGroup* object, bool take_copy=false)</td></tr> <tr class="memdesc:a6dd6cb005299768bbfc173eb56319fc7"><td class="mdescLeft"> </td><td class="mdescRight">A <a class="elRef" href="http://library.gnome.org/devel/glibmm/unstable/namespaceGlib.html#a671306f4a3a0cae5ab4d7a9d54886592">Glib::wrap()</a> method for this object. <a href="#a6dd6cb005299768bbfc173eb56319fc7">More...</a><br /></td></tr> <tr class="separator:a6dd6cb005299768bbfc173eb56319fc7"><td class="memSeparator" colspan="2"> </td></tr> </table> <a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2> <div class="textblock"><p>A <a class="el" href="classGtk_1_1AccelGroup.html" title="A Gtk::AccelGroup represents a group of keyboard accelerators, typically attached to a toplevel Gtk::...">Gtk::AccelGroup</a> represents a group of keyboard accelerators, typically attached to a toplevel <a class="el" href="classGtk_1_1Window.html" title="Toplevel Window This represents all widgets which are physical windows controlled by the window manag...">Gtk::Window</a> (with <a class="el" href="classGtk_1_1Window.html#ad15a4530150d8464ee06bb2218e582e9" title="Associate accel_group with window, such that calling gtk_accel_groups_activate() on window will activ...">Gtk::Window::add_accel_group()</a>). </p> <p>Usually you won't need to create a <a class="el" href="classGtk_1_1AccelGroup.html" title="A Gtk::AccelGroup represents a group of keyboard accelerators, typically attached to a toplevel Gtk::...">Gtk::AccelGroup</a> directly; instead, gtkmm automatically sets up the accelerators for your menus. Note that accelerators are different from mnemonics. Accelerators are shortcuts for activating a menu item; they appear alongside the menu item for which they're a shortcut. For example "Ctrl+Q" might appear alongside the "Quit" menu item. Mnemonics are shortcuts for GUI elements such as text entries or buttons; they appear as underlined characters. See the <a class="el" href="classGtk_1_1Label.html" title="A widget that displays a small to medium amount of text. ">Gtk::Label</a> constructor. <a class="el" href="classGtk_1_1Menu.html" title="A drop-down menu consisting of Gtk::MenuItem objects which can be navigated and activated by the user...">Menu</a> items can have both accelerators and mnemonics, of course.</p> <p>You can use <a class="el" href="classGtk_1_1Window.html#a30de41223b51216f573305b03c6e20ba" title="Returns a default accel group for this window This is a gtkmm-specific function. ">Gtk::Window::get_accel_group()</a> to get an accel group for that window, then use it with other widgets too. </p> </div><h2 class="groupheader">Constructor & Destructor Documentation</h2> <a class="anchor" id="a921454aa4102ac809898b1faf180bffe"></a> <div class="memitem"> <div class="memproto"> <table class="mlabels"> <tr> <td class="mlabels-left"> <table class="memname"> <tr> <td class="memname">virtual Gtk::AccelGroup::~AccelGroup </td> <td>(</td> <td class="paramname"></td><td>)</td> <td></td> </tr> </table> </td> <td class="mlabels-right"> <span class="mlabels"><span class="mlabel">virtual</span></span> </td> </tr> </table> </div><div class="memdoc"> </div> </div> <a class="anchor" id="aea3002ff86e240ca8e95eba9bb8ffc2d"></a> <div class="memitem"> <div class="memproto"> <table class="mlabels"> <tr> <td class="mlabels-left"> <table class="memname"> <tr> <td class="memname">Gtk::AccelGroup::AccelGroup </td> <td>(</td> <td class="paramname"></td><td>)</td> <td></td> </tr> </table> </td> <td class="mlabels-right"> <span class="mlabels"><span class="mlabel">protected</span></span> </td> </tr> </table> </div><div class="memdoc"> </div> </div> <h2 class="groupheader">Member Function Documentation</h2> <a class="anchor" id="a2e355f6b213074e91efc9f05204e5002"></a> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">bool Gtk::AccelGroup::activate </td> <td>(</td> <td class="paramtype">GQuark </td> <td class="paramname"><em>accel_quark</em>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype">const <a class="elRef" href="http://library.gnome.org/devel/glibmm/unstable/classGlib_1_1RefPtr.html">Glib::RefPtr</a>< <a class="elRef" href="http://library.gnome.org/devel/glibmm/unstable/classGlib_1_1Object.html">Glib::Object</a> > & </td> <td class="paramname"><em>acceleratable</em>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype">guint </td> <td class="paramname"><em>accel_key</em>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype"><a class="el" href="group__gdkmmEnums.html#ga734c2979005c87dbe51223a0128cdd97">Gdk::ModifierType</a> </td> <td class="paramname"><em>accel_mods</em> </td> </tr> <tr> <td></td> <td>)</td> <td></td><td></td> </tr> </table> </div><div class="memdoc"> <p>Finds the first accelerator in <em>accel_group</em> that matches <em>accel_key</em> and <em>accel_mods</em>, and activates it. </p> <dl class="params"><dt>Parameters</dt><dd> <table class="params"> <tr><td class="paramname">accel_quark</td><td>The quark for the accelerator name. </td></tr> <tr><td class="paramname">acceleratable</td><td>The <a class="el" href="classGtk_1_1Object.html" title="Gtk::Object is the base class for all widgets, and for a few non-widget objects such as Gtk::Adjustme...">Object</a>, usually a <a class="el" href="classGtk_1_1Window.html" title="Toplevel Window This represents all widgets which are physical windows controlled by the window manag...">Gtk::Window</a>, on which to activate the accelerator. </td></tr> <tr><td class="paramname">accel_key</td><td>Accelerator keyval from a key event. </td></tr> <tr><td class="paramname">accel_mods</td><td>Keyboard state mask from a key event. </td></tr> </table> </dd> </dl> <dl class="section return"><dt>Returns</dt><dd><code>true</code> if an accelerator was activated and handled this keypress. </dd></dl> </div> </div> <a class="anchor" id="a935480b98985d9a8c2905e68eafae839"></a> <div class="memitem"> <div class="memproto"> <table class="mlabels"> <tr> <td class="mlabels-left"> <table class="memname"> <tr> <td class="memname">static <a class="elRef" href="http://library.gnome.org/devel/glibmm/unstable/classGlib_1_1RefPtr.html">Glib::RefPtr</a><<a class="el" href="classGtk_1_1AccelGroup.html">AccelGroup</a>> Gtk::AccelGroup::create </td> <td>(</td> <td class="paramname"></td><td>)</td> <td></td> </tr> </table> </td> <td class="mlabels-right"> <span class="mlabels"><span class="mlabel">static</span></span> </td> </tr> </table> </div><div class="memdoc"> <p>Creates a new <a class="el" href="classGtk_1_1AccelGroup.html" title="A Gtk::AccelGroup represents a group of keyboard accelerators, typically attached to a toplevel Gtk::...">Gtk::AccelGroup</a> object. </p> <dl class="section return"><dt>Returns</dt><dd>A Glib::RefPtr<> to a newly created <a class="el" href="classGtk_1_1AccelGroup.html" title="A Gtk::AccelGroup represents a group of keyboard accelerators, typically attached to a toplevel Gtk::...">Gtk::AccelGroup</a> object. </dd></dl> </div> </div> <a class="anchor" id="a5fa48d11aeeac0bd1e680e523dad727b"></a> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">bool Gtk::AccelGroup::disconnect_key </td> <td>(</td> <td class="paramtype">guint </td> <td class="paramname"><em>accel_key</em>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype"><a class="el" href="group__gdkmmEnums.html#ga734c2979005c87dbe51223a0128cdd97">Gdk::ModifierType</a> </td> <td class="paramname"><em>accel_mods</em> </td> </tr> <tr> <td></td> <td>)</td> <td></td><td></td> </tr> </table> </div><div class="memdoc"> <p>Removes an accelerator previously installed through connect(). </p> <dl class="params"><dt>Parameters</dt><dd> <table class="params"> <tr><td class="paramname">accel_key</td><td>Key value of the accelerator. </td></tr> <tr><td class="paramname">accel_mods</td><td>Modifier combination of the accelerator. </td></tr> </table> </dd> </dl> <dl class="section return"><dt>Returns</dt><dd><code>true</code> if there was an accelerator which could be removed, <code>false</code> otherwise. </dd></dl> </div> </div> <a class="anchor" id="a1e2f9b75e06dc4d3e915261e351525d1"></a> <div class="memitem"> <div class="memproto"> <table class="mlabels"> <tr> <td class="mlabels-left"> <table class="memname"> <tr> <td class="memname">static <a class="el" href="group__gdkmmEnums.html#ga734c2979005c87dbe51223a0128cdd97">Gdk::ModifierType</a> Gtk::AccelGroup::get_default_mod_mask </td> <td>(</td> <td class="paramname"></td><td>)</td> <td></td> </tr> </table> </td> <td class="mlabels-right"> <span class="mlabels"><span class="mlabel">static</span></span> </td> </tr> </table> </div><div class="memdoc"> <p>See <a class="el" href="classGtk_1_1AccelGroup.html#a42258983a28aa7f0c4ba65b1abf9806c" title="Sets the modifiers that will be considered significant for keyboard accelerators. ...">set_default_mod_mask()</a>. </p> </div> </div> <a class="anchor" id="acf8fe4511f6a53f163b7f2d8ca72e7ba"></a> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">bool Gtk::AccelGroup::get_is_locked </td> <td>(</td> <td class="paramname"></td><td>)</td> <td> const</td> </tr> </table> </div><div class="memdoc"> <p>Locks are added and removed using <a class="el" href="classGtk_1_1AccelGroup.html#ae126cbabe5dd6262e341ee9b8be0e709" title="Locks the given accelerator group. ">lock()</a> and <a class="el" href="classGtk_1_1AccelGroup.html#af164d66f76728aa1606f9eddde5a7ef0" title="Undoes the last call to lock() on this accel_group. ">unlock()</a>. </p> <dl class="since_2_14"><dt><b><a class="el" href="since_2_14.html#_since_2_14000019">Since gtkmm 2.14:</a></b></dt><dd></dd></dl> <dl class="section return"><dt>Returns</dt><dd><code>true</code> if there are 1 or more locks on the <em>accel_group</em>, <code>false</code> otherwise. </dd></dl> </div> </div> <a class="anchor" id="af182fea262e6d23952ebc49d8e1a6fba"></a> <div class="memitem"> <div class="memproto"> <table class="mlabels"> <tr> <td class="mlabels-left"> <table class="memname"> <tr> <td class="memname">static <a class="elRef" href="http://library.gnome.org/devel/glibmm/unstable/classGlib_1_1ustring.html">Glib::ustring</a> Gtk::AccelGroup::get_label </td> <td>(</td> <td class="paramtype">guint </td> <td class="paramname"><em>accelerator_key</em>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype"><a class="el" href="group__gdkmmEnums.html#ga734c2979005c87dbe51223a0128cdd97">Gdk::ModifierType</a> </td> <td class="paramname"><em>accelerator_mods</em> </td> </tr> <tr> <td></td> <td>)</td> <td></td><td></td> </tr> </table> </td> <td class="mlabels-right"> <span class="mlabels"><span class="mlabel">static</span></span> </td> </tr> </table> </div><div class="memdoc"> <p>Converts an accelerator keyval and modifier mask into a string which can be used to represent the accelerator to the user. </p> <dl class="since_2_6"><dt><b><a class="el" href="since_2_6.html#_since_2_6000039">Since gtkmm 2.6:</a></b></dt><dd></dd></dl> <dl class="params"><dt>Parameters</dt><dd> <table class="params"> <tr><td class="paramname">accelerator_key</td><td>Accelerator keyval. </td></tr> <tr><td class="paramname">accelerator_mods</td><td>Accelerator modifier mask. </td></tr> </table> </dd> </dl> <dl class="section return"><dt>Returns</dt><dd>A newly-allocated string representing the accelerator. </dd></dl> </div> </div> <a class="anchor" id="afcae77f222e1537309e1721619f68dde"></a> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname"><a class="el" href="group__gdkmmEnums.html#ga734c2979005c87dbe51223a0128cdd97">Gdk::ModifierType</a> Gtk::AccelGroup::get_modifier_mask </td> <td>(</td> <td class="paramname"></td><td>)</td> <td> const</td> </tr> </table> </div><div class="memdoc"> <p>Gets a <a class="el" href="group__gdkmmEnums.html#ga734c2979005c87dbe51223a0128cdd97" title="A set of bit-flags to indicate the state of modifier keys and mouse buttons in various event types...">Gdk::ModifierType</a> representing the mask for this <em>accel_group</em>. </p> <p>For example, <a class="el" href="namespaceGdk.html#ga734c2979005c87dbe51223a0128cdd97ac5a0ad798032e8b909e97b332fa403db" title="The Control key. ">Gdk::CONTROL_MASK</a>, <a class="el" href="namespaceGdk.html#ga734c2979005c87dbe51223a0128cdd97ab830940004787adb1286da4d9beb39dc" title="The Shift key. ">Gdk::SHIFT_MASK</a>, etc.</p> <dl class="since_2_14"><dt><b><a class="el" href="since_2_14.html#_since_2_14000020">Since gtkmm 2.14:</a></b></dt><dd></dd></dl> <dl class="section return"><dt>Returns</dt><dd>The modifier mask for this accel group. </dd></dl> </div> </div> <a class="anchor" id="a418a69a8373b3473ffd867cfd60aeec9"></a> <div class="memitem"> <div class="memproto"> <table class="mlabels"> <tr> <td class="mlabels-left"> <table class="memname"> <tr> <td class="memname">static GType Gtk::AccelGroup::get_type </td> <td>(</td> <td class="paramname"></td><td>)</td> <td></td> </tr> </table> </td> <td class="mlabels-right"> <span class="mlabels"><span class="mlabel">static</span></span> </td> </tr> </table> </div><div class="memdoc"> <p>Get the GType for this class, for use with the underlying GObject type system. </p> </div> </div> <a class="anchor" id="ae8ca2f2497370a596bdf0449b0e098ab"></a> <div class="memitem"> <div class="memproto"> <table class="mlabels"> <tr> <td class="mlabels-left"> <table class="memname"> <tr> <td class="memname">GtkAccelGroup* Gtk::AccelGroup::gobj </td> <td>(</td> <td class="paramname"></td><td>)</td> <td></td> </tr> </table> </td> <td class="mlabels-right"> <span class="mlabels"><span class="mlabel">inline</span></span> </td> </tr> </table> </div><div class="memdoc"> <p>Provides access to the underlying C GObject. </p> </div> </div> <a class="anchor" id="a99694998d55ecd7fabc812d631a77fea"></a> <div class="memitem"> <div class="memproto"> <table class="mlabels"> <tr> <td class="mlabels-left"> <table class="memname"> <tr> <td class="memname">const GtkAccelGroup* Gtk::AccelGroup::gobj </td> <td>(</td> <td class="paramname"></td><td>)</td> <td> const</td> </tr> </table> </td> <td class="mlabels-right"> <span class="mlabels"><span class="mlabel">inline</span></span> </td> </tr> </table> </div><div class="memdoc"> <p>Provides access to the underlying C GObject. </p> </div> </div> <a class="anchor" id="a41105a95dd1df662b3e7f24c5b554864"></a> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">GtkAccelGroup* Gtk::AccelGroup::gobj_copy </td> <td>(</td> <td class="paramname"></td><td>)</td> <td></td> </tr> </table> </div><div class="memdoc"> <p>Provides access to the underlying C instance. The caller is responsible for unrefing it. Use when directly setting fields in structs. </p> </div> </div> <a class="anchor" id="ae126cbabe5dd6262e341ee9b8be0e709"></a> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">void Gtk::AccelGroup::lock </td> <td>(</td> <td class="paramname"></td><td>)</td> <td></td> </tr> </table> </div><div class="memdoc"> <p>Locks the given accelerator group. </p> <p>Locking an acelerator group prevents the accelerators contained within it to be changed during runtime. Refer to <a class="el" href="namespaceGtk_1_1AccelMap.html#a95ea03719ffcda0d038252d3886f935b" title="Changes the accel_key and accel_mods currently associated with accel_path. ">Gtk::AccelMap::change_entry()</a> about runtime accelerator changes.</p> <p>If called more than once, <em>accel_group</em> remains locked until <a class="el" href="classGtk_1_1AccelGroup.html#af164d66f76728aa1606f9eddde5a7ef0" title="Undoes the last call to lock() on this accel_group. ">unlock()</a> has been called an equivalent number of times. </p> </div> </div> <a class="anchor" id="a173b659482b4abc35862ae3c8d0645d3"></a> <div class="memitem"> <div class="memproto"> <table class="mlabels"> <tr> <td class="mlabels-left"> <table class="memname"> <tr> <td class="memname">static <a class="elRef" href="http://library.gnome.org/devel/glibmm/unstable/classGlib_1_1ustring.html">Glib::ustring</a> Gtk::AccelGroup::name </td> <td>(</td> <td class="paramtype">guint </td> <td class="paramname"><em>accelerator_key</em>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype"><a class="el" href="group__gdkmmEnums.html#ga734c2979005c87dbe51223a0128cdd97">Gdk::ModifierType</a> </td> <td class="paramname"><em>accelerator_mods</em> </td> </tr> <tr> <td></td> <td>)</td> <td></td><td></td> </tr> </table> </td> <td class="mlabels-right"> <span class="mlabels"><span class="mlabel">static</span></span> </td> </tr> </table> </div><div class="memdoc"> <p>Converts an accelerator keyval and modifier mask into a string parseable by <a class="el" href="classGtk_1_1AccelGroup.html#a0035b04d82a93f3fb4ed26812da9144a" title="Parse the accelerator string. ">parse()</a>. </p> <p>For example, if you pass in 'q' and <a class="el" href="namespaceGdk.html#ga734c2979005c87dbe51223a0128cdd97ac5a0ad798032e8b909e97b332fa403db" title="The Control key. ">Gdk::CONTROL_MASK</a>, it returns "& lt;Control& gt;q". </p> </div> </div> <a class="anchor" id="a0035b04d82a93f3fb4ed26812da9144a"></a> <div class="memitem"> <div class="memproto"> <table class="mlabels"> <tr> <td class="mlabels-left"> <table class="memname"> <tr> <td class="memname">static void Gtk::AccelGroup::parse </td> <td>(</td> <td class="paramtype">const <a class="elRef" href="http://library.gnome.org/devel/glibmm/unstable/classGlib_1_1ustring.html">Glib::ustring</a> & </td> <td class="paramname"><em>accelerator</em>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype">guint & </td> <td class="paramname"><em>accelerator_key</em>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype"><a class="el" href="group__gdkmmEnums.html#ga734c2979005c87dbe51223a0128cdd97">Gdk::ModifierType</a>& </td> <td class="paramname"><em>accelerator_mods</em> </td> </tr> <tr> <td></td> <td>)</td> <td></td><td></td> </tr> </table> </td> <td class="mlabels-right"> <span class="mlabels"><span class="mlabel">static</span></span> </td> </tr> </table> </div><div class="memdoc"> <p>Parse the accelerator string. </p> <dl class="params"><dt>Parameters</dt><dd> <table class="params"> <tr><td class="paramname">accelerator</td><td>See the <a class="el" href="classGtk_1_1AccelKey.html" title="Defines accelerator key combinations. ">Gtk::AccelKey</a> constructor for the format. </td></tr> <tr><td class="paramname">accelerator_key</td><td>Output argument </td></tr> <tr><td class="paramname">accelerator_mods</td><td>Output argument </td></tr> </table> </dd> </dl> </div> </div> <a class="anchor" id="abfc005881335bd5b7df26b1a46c6e56a"></a> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname"><a class="elRef" href="http://library.gnome.org/devel/glibmm/unstable/classGlib_1_1PropertyProxy__ReadOnly.html">Glib::PropertyProxy_ReadOnly</a>< bool > Gtk::AccelGroup::property_is_locked </td> <td>(</td> <td class="paramname"></td><td>)</td> <td> const</td> </tr> </table> </div><div class="memdoc"> <p>Is the accel group locked. </p> <p>You rarely need to use properties because there are get_ and set_ methods for almost all of them. </p><dl class="section return"><dt>Returns</dt><dd>A PropertyProxy_ReadOnly that allows you to get the value of the property, or receive notification when the value of the property changes. </dd></dl> </div> </div> <a class="anchor" id="a290dd055a9a6417cbbcde51fdc54af05"></a> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname"><a class="elRef" href="http://library.gnome.org/devel/glibmm/unstable/classGlib_1_1PropertyProxy__ReadOnly.html">Glib::PropertyProxy_ReadOnly</a>< <a class="el" href="group__gdkmmEnums.html#ga734c2979005c87dbe51223a0128cdd97">Gdk::ModifierType</a> > Gtk::AccelGroup::property_modifier_mask </td> <td>(</td> <td class="paramname"></td><td>)</td> <td> const</td> </tr> </table> </div><div class="memdoc"> <p>Modifier Mask. </p> <p>You rarely need to use properties because there are get_ and set_ methods for almost all of them. </p><dl class="section return"><dt>Returns</dt><dd>A PropertyProxy_ReadOnly that allows you to get the value of the property, or receive notification when the value of the property changes. </dd></dl> </div> </div> <a class="anchor" id="a42258983a28aa7f0c4ba65b1abf9806c"></a> <div class="memitem"> <div class="memproto"> <table class="mlabels"> <tr> <td class="mlabels-left"> <table class="memname"> <tr> <td class="memname">static void Gtk::AccelGroup::set_default_mod_mask </td> <td>(</td> <td class="paramtype"><a class="el" href="group__gdkmmEnums.html#ga734c2979005c87dbe51223a0128cdd97">Gdk::ModifierType</a> </td> <td class="paramname"><em>default_mod_mask</em></td><td>)</td> <td></td> </tr> </table> </td> <td class="mlabels-right"> <span class="mlabels"><span class="mlabel">static</span></span> </td> </tr> </table> </div><div class="memdoc"> <p>Sets the modifiers that will be considered significant for keyboard accelerators. </p> <p>The default mod mask is <a class="el" href="namespaceGdk.html#ga734c2979005c87dbe51223a0128cdd97ac5a0ad798032e8b909e97b332fa403db" title="The Control key. ">Gdk::CONTROL_MASK</a> | <a class="el" href="namespaceGdk.html#ga734c2979005c87dbe51223a0128cdd97ab830940004787adb1286da4d9beb39dc" title="The Shift key. ">Gdk::SHIFT_MASK</a> | <a class="el" href="namespaceGdk.html#ga734c2979005c87dbe51223a0128cdd97aa5826c8c840c570ba9b4828095cfe769" title="The fourth modifier key (it depends on the modifier mapping of the X server which key is interpreted ...">Gdk::MOD1_MASK</a>, that is, Control, Shift, and Alt. Other modifiers will ignored by default. You must include at least the three default modifiers in any value you pass to this function.</p> <p>The default mod mask should be changed on application startup, before using any accelerator groups. </p> </div> </div> <a class="anchor" id="aa39bbb7e95ee8c7a66af6399cef4495a"></a> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname"><a class="elRef" href="http://library.gnome.org/devel/glibmm/unstable/classGlib_1_1SignalProxy3.html">Glib::SignalProxy3</a>< bool,const <a class="elRef" href="http://library.gnome.org/devel/glibmm/unstable/classGlib_1_1RefPtr.html">Glib::RefPtr</a><<a class="elRef" href="http://library.gnome.org/devel/glibmm/unstable/classGlib_1_1Object.html">Glib::Object</a>>&,guint,<a class="el" href="group__gdkmmEnums.html#ga734c2979005c87dbe51223a0128cdd97">Gdk::ModifierType</a> > Gtk::AccelGroup::signal_accel_activate </td> <td>(</td> <td class="paramname"></td><td>)</td> <td></td> </tr> </table> </div><div class="memdoc"> <dl class="section user"><dt>Slot Prototype:</dt><dd><code>bool on_my_accel_activate(const Glib::RefPtr<Glib::Object>& acceleratable, guint keyval, <a class="el" href="group__gdkmmEnums.html#ga734c2979005c87dbe51223a0128cdd97" title="A set of bit-flags to indicate the state of modifier keys and mouse buttons in various event types...">Gdk::ModifierType</a> modifier)</code></dd></dl> <p>The accel-activate signal is an implementation detail of <a class="el" href="classGtk_1_1AccelGroup.html" title="A Gtk::AccelGroup represents a group of keyboard accelerators, typically attached to a toplevel Gtk::...">Gtk::AccelGroup</a> and not meant to be used by applications.</p> <dl class="params"><dt>Parameters</dt><dd> <table class="params"> <tr><td class="paramname">acceleratable</td><td>The object on which the accelerator was activated. </td></tr> <tr><td class="paramname">keyval</td><td>The accelerator keyval. </td></tr> <tr><td class="paramname">modifier</td><td>The modifier combination of the accelerator. </td></tr> </table> </dd> </dl> <dl class="section return"><dt>Returns</dt><dd><code>true</code> if the accelerator was activated. </dd></dl> </div> </div> <a class="anchor" id="a8d1191d47fc96c2f02aacb0e0423f5c4"></a> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname"><a class="elRef" href="http://library.gnome.org/devel/glibmm/unstable/classGlib_1_1SignalProxy3.html">Glib::SignalProxy3</a>< void,guint,<a class="el" href="group__gdkmmEnums.html#ga734c2979005c87dbe51223a0128cdd97">Gdk::ModifierType</a>,GClosure* > Gtk::AccelGroup::signal_accel_changed </td> <td>(</td> <td class="paramname"></td><td>)</td> <td></td> </tr> </table> </div><div class="memdoc"> <dl class="section user"><dt>Slot Prototype:</dt><dd><code>void on_my_accel_changed(guint keyval, <a class="el" href="group__gdkmmEnums.html#ga734c2979005c87dbe51223a0128cdd97" title="A set of bit-flags to indicate the state of modifier keys and mouse buttons in various event types...">Gdk::ModifierType</a> modifier, GClosure* accel_closure)</code></dd></dl> <p>The accel-changed signal is emitted when an entry is added to or removed from the accel group.</p> <p>Widgets like <a class="el" href="classGtk_1_1AccelLabel.html" title="A label which displays an accelerator key on the right of the text. ">Gtk::AccelLabel</a> which display an associated accelerator should connect to this signal, and rebuild their visual representation if the <em>accel_closure</em> is theirs.</p> <dl class="params"><dt>Parameters</dt><dd> <table class="params"> <tr><td class="paramname">keyval</td><td>The accelerator keyval. </td></tr> <tr><td class="paramname">modifier</td><td>The modifier combination of the accelerator. </td></tr> <tr><td class="paramname">accel_closure</td><td>The Closure of the accelerator. </td></tr> </table> </dd> </dl> </div> </div> <a class="anchor" id="af164d66f76728aa1606f9eddde5a7ef0"></a> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">void Gtk::AccelGroup::unlock </td> <td>(</td> <td class="paramname"></td><td>)</td> <td></td> </tr> </table> </div><div class="memdoc"> <p>Undoes the last call to <a class="el" href="classGtk_1_1AccelGroup.html#ae126cbabe5dd6262e341ee9b8be0e709" title="Locks the given accelerator group. ">lock()</a> on this <em>accel_group</em>. </p> </div> </div> <a class="anchor" id="a4c5da10b8e3b51dcd4fe403959e2d4a3"></a> <div class="memitem"> <div class="memproto"> <table class="mlabels"> <tr> <td class="mlabels-left"> <table class="memname"> <tr> <td class="memname">static bool Gtk::AccelGroup::valid </td> <td>(</td> <td class="paramtype">guint </td> <td class="paramname"><em>keyval</em>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype"><a class="el" href="group__gdkmmEnums.html#ga734c2979005c87dbe51223a0128cdd97">Gdk::ModifierType</a> </td> <td class="paramname"><em>modifiers</em> </td> </tr> <tr> <td></td> <td>)</td> <td></td><td></td> </tr> </table> </td> <td class="mlabels-right"> <span class="mlabels"><span class="mlabel">static</span></span> </td> </tr> </table> </div><div class="memdoc"> <p>Determines whether a given keyval and modifier mask constitute a valid keyboard accelerator. </p> <p>For example, the 'a' keyval plus <a class="el" href="namespaceGdk.html#ga734c2979005c87dbe51223a0128cdd97ac5a0ad798032e8b909e97b332fa403db" title="The Control key. ">Gdk::CONTROL_MASK</a> is valid - this is a "Ctrl+a" accelerator. But you can't, for instance, use the GDK_Control_L keyval as an accelerator. </p> </div> </div> <h2 class="groupheader">Friends And Related Function Documentation</h2> <a class="anchor" id="a6dd6cb005299768bbfc173eb56319fc7"></a> <div class="memitem"> <div class="memproto"> <table class="mlabels"> <tr> <td class="mlabels-left"> <table class="memname"> <tr> <td class="memname"><a class="elRef" href="http://library.gnome.org/devel/glibmm/unstable/classGlib_1_1RefPtr.html">Glib::RefPtr</a>< <a class="el" href="classGtk_1_1AccelGroup.html">Gtk::AccelGroup</a> > wrap </td> <td>(</td> <td class="paramtype">GtkAccelGroup * </td> <td class="paramname"><em>object</em>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype">bool </td> <td class="paramname"><em>take_copy</em> = <code>false</code> </td> </tr> <tr> <td></td> <td>)</td> <td></td><td></td> </tr> </table> </td> <td class="mlabels-right"> <span class="mlabels"><span class="mlabel">related</span></span> </td> </tr> </table> </div><div class="memdoc"> <p>A <a class="elRef" href="http://library.gnome.org/devel/glibmm/unstable/namespaceGlib.html#a671306f4a3a0cae5ab4d7a9d54886592">Glib::wrap()</a> method for this object. </p> <dl class="params"><dt>Parameters</dt><dd> <table class="params"> <tr><td class="paramname">object</td><td>The C instance. </td></tr> <tr><td class="paramname">take_copy</td><td>False if the result should take ownership of the C instance. True if it should take a new copy or ref. </td></tr> </table> </dd> </dl> <dl class="section return"><dt>Returns</dt><dd>A C++ instance that wraps this C instance. </dd></dl> </div> </div> </div><!-- contents --> <!-- start footer part --> <hr class="footer"/><address class="footer"><small> Generated on Tue Sep 23 2014 12:59:12 for gtkmm by  <a href="http://www.doxygen.org/index.html"> <img class="footer" src="doxygen.png" alt="doxygen"/> </a> 1.8.7 </small></address> </body> </html>