Sophie

Sophie

distrib > Mandriva > 2010.1 > x86_64 > media > main-release > by-pkgid > 22e237efd6851989a23adf3360bb53d0 > files > 154

gtkmm2.4-doc-2.20.3-1mdv2010.1.x86_64.rpm

<!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"/>
<title>gtkmm: Gtk::AccelGroup Class Reference</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<link href="doxygen.css" rel="stylesheet" type="text/css"/>
</head>
<body>
<!-- Generated by Doxygen 1.6.1 -->
<div class="navigation" id="top">
  <div class="tabs">
    <ul>
      <li><a href="index.html"><span>Main&#160;Page</span></a></li>
      <li><a href="pages.html"><span>Related&#160;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 class="tabs">
    <ul>
      <li><a href="annotated.html"><span>Class&#160;List</span></a></li>
      <li><a href="classes.html"><span>Class&#160;Index</span></a></li>
      <li><a href="hierarchy.html"><span>Class&#160;Hierarchy</span></a></li>
      <li><a href="functions.html"><span>Class&#160;Members</span></a></li>
    </ul>
  </div>
  <div class="navpath"><a class="el" href="namespaceGtk.html">Gtk</a>::<a class="el" href="classGtk_1_1AccelGroup.html">AccelGroup</a>
  </div>
</div>
<div class="contents">
<h1>Gtk::AccelGroup Class Reference</h1><!-- doxytag: class="Gtk::AccelGroup" --><!-- doxytag: inherits="Glib::Object" -->
<p>A <a class="el" href="classGtk_1_1AccelGroup.html" title="A Gtk::AccelGroup represents a group of keyboard accelerators, typically attached...">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...">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()...">Gtk::Window::add_accel_group()</a>). <a href="#_details">More...</a></p>

<p>Inherits <a class="elRef" href="../../../glibmm-2.4/reference/html/classGlib_1_1Object.html">Glib::Object</a>.</p>
<div class="dynheader">
Collaboration diagram for Gtk::AccelGroup:</div>
<div class="dynsection">
<div class="center"><img src="classGtk_1_1AccelGroup__coll__graph.png" border="0" usemap="#Gtk_1_1AccelGroup_coll__map" alt="Collaboration graph"/></div>
<map name="Gtk_1_1AccelGroup_coll__map" id="Gtk_1_1AccelGroup_coll__map">
<area shape="rect" href="../../../glibmm-2.4/reference/html/classGlib_1_1Object.html" title="Glib::Object" alt="" coords="20,160,111,189"/><area shape="rect" href="../../../glibmm-2.4/reference/html/classGlib_1_1ObjectBase.html" title="Glib::ObjectBase" alt="" coords="5,83,125,112"/><area shape="rect" href="../../../libsigc++-2.0/reference/html/structsigc_1_1trackable.html" title="sigc::trackable" alt="" coords="12,5,119,35"/></map>
<center><span class="legend">[<a href="graph_legend.html">legend</a>]</span></center></div>

<p><a href="classGtk_1_1AccelGroup-members.html">List of all members.</a></p>
<table border="0" cellpadding="0" cellspacing="0">
<tr><td colspan="2"><h2>Public Member Functions</h2></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">virtual&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGtk_1_1AccelGroup.html#a921454aa4102ac809898b1faf180bffe">~AccelGroup</a> ()</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">GtkAccelGroup*&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGtk_1_1AccelGroup.html#ae8ca2f2497370a596bdf0449b0e098ab">gobj</a> ()</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Provides access to the underlying C GObject. <a href="#ae8ca2f2497370a596bdf0449b0e098ab"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">const GtkAccelGroup*&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGtk_1_1AccelGroup.html#a99694998d55ecd7fabc812d631a77fea">gobj</a> () const </td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Provides access to the underlying C GObject. <a href="#a99694998d55ecd7fabc812d631a77fea"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">GtkAccelGroup*&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGtk_1_1AccelGroup.html#a41105a95dd1df662b3e7f24c5b554864">gobj_copy</a> ()</td></tr>
<tr><td class="mdescLeft">&#160;</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"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGtk_1_1AccelGroup.html#acf8fe4511f6a53f163b7f2d8ca72e7ba">get_is_locked</a> () const </td></tr>
<tr><td class="mdescLeft">&#160;</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"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="el" href="group__gdkmmEnums.html#ga734c2979005c87dbe51223a0128cdd97">Gdk::ModifierType</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGtk_1_1AccelGroup.html#afcae77f222e1537309e1721619f68dde">get_modifier_mask</a> () const </td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Gets a <a class="el" href="group__gdkmmEnums.html#ga734c2979005c87dbe51223a0128cdd97">Gdk::ModifierType</a> representing the mask for this <em>accel_group</em>. <a href="#afcae77f222e1537309e1721619f68dde"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGtk_1_1AccelGroup.html#ae126cbabe5dd6262e341ee9b8be0e709">lock</a> ()</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Locks the given accelerator group. <a href="#ae126cbabe5dd6262e341ee9b8be0e709"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGtk_1_1AccelGroup.html#af164d66f76728aa1606f9eddde5a7ef0">unlock</a> ()</td></tr>
<tr><td class="mdescLeft">&#160;</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"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">bool&#160;</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><td class="mdescLeft">&#160;</td><td class="mdescRight">Removes an accelerator previously installed through connect(). <a href="#a5fa48d11aeeac0bd1e680e523dad727b"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">bool&#160;</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="../../../glibmm-2.4/reference/html/classGlib_1_1RefPtr.html">Glib::RefPtr</a>&lt; <a class="elRef" href="../../../glibmm-2.4/reference/html/classGlib_1_1Object.html">Glib::Object</a> &gt;&amp; acceleratable, guint accel_key, <a class="el" href="group__gdkmmEnums.html#ga734c2979005c87dbe51223a0128cdd97">Gdk::ModifierType</a> accel_mods)</td></tr>
<tr><td class="mdescLeft">&#160;</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"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="elRef" href="../../../glibmm-2.4/reference/html/classGlib_1_1SignalProxy3.html">Glib::SignalProxy3</a>&lt; bool, <br class="typebreak"/>
const <a class="elRef" href="../../../glibmm-2.4/reference/html/classGlib_1_1RefPtr.html">Glib::RefPtr</a><br class="typebreak"/>
&lt; <a class="elRef" href="../../../glibmm-2.4/reference/html/classGlib_1_1Object.html">Glib::Object</a> &gt; &amp;, guint, <br class="typebreak"/>
<a class="el" href="group__gdkmmEnums.html#ga734c2979005c87dbe51223a0128cdd97">Gdk::ModifierType</a> &gt;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGtk_1_1AccelGroup.html#aa39bbb7e95ee8c7a66af6399cef4495a">signal_accel_activate</a> ()</td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="elRef" href="../../../glibmm-2.4/reference/html/classGlib_1_1SignalProxy3.html">Glib::SignalProxy3</a>&lt; void, <br class="typebreak"/>
guint, <a class="el" href="group__gdkmmEnums.html#ga734c2979005c87dbe51223a0128cdd97">Gdk::ModifierType</a>, <br class="typebreak"/>
GClosure* &gt;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGtk_1_1AccelGroup.html#a8d1191d47fc96c2f02aacb0e0423f5c4">signal_accel_changed</a> ()</td></tr>
<tr><td colspan="2"><h2>Static Public Member Functions</h2></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">static <a class="elRef" href="../../../glibmm-2.4/reference/html/classGlib_1_1RefPtr.html">Glib::RefPtr</a>&lt; <a class="el" href="classGtk_1_1AccelGroup.html">AccelGroup</a> &gt;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGtk_1_1AccelGroup.html#a935480b98985d9a8c2905e68eafae839">create</a> ()</td></tr>
<tr><td class="mdescLeft">&#160;</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...">Gtk::AccelGroup</a> object. <a href="#a935480b98985d9a8c2905e68eafae839"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">static bool&#160;</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><td class="mdescLeft">&#160;</td><td class="mdescRight">Determines whether a given keyval and modifier mask constitute a valid keyboard accelerator. <a href="#a4c5da10b8e3b51dcd4fe403959e2d4a3"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">static void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGtk_1_1AccelGroup.html#a0035b04d82a93f3fb4ed26812da9144a">parse</a> (const <a class="elRef" href="../../../glibmm-2.4/reference/html/classGlib_1_1ustring.html">Glib::ustring</a>&amp; accelerator, guint&amp; accelerator_key, <a class="el" href="group__gdkmmEnums.html#ga734c2979005c87dbe51223a0128cdd97">Gdk::ModifierType</a>&amp; accelerator_mods)</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Parse the accelerator string. <a href="#a0035b04d82a93f3fb4ed26812da9144a"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">static <a class="elRef" href="../../../glibmm-2.4/reference/html/classGlib_1_1ustring.html">Glib::ustring</a>&#160;</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><td class="mdescLeft">&#160;</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"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">static <a class="elRef" href="../../../glibmm-2.4/reference/html/classGlib_1_1ustring.html">Glib::ustring</a>&#160;</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><td class="mdescLeft">&#160;</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"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">static void&#160;</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><td class="mdescLeft">&#160;</td><td class="mdescRight">Sets the modifiers that will be considered significant for keyboard accelerators. <a href="#a42258983a28aa7f0c4ba65b1abf9806c"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">static <a class="el" href="group__gdkmmEnums.html#ga734c2979005c87dbe51223a0128cdd97">Gdk::ModifierType</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGtk_1_1AccelGroup.html#a1e2f9b75e06dc4d3e915261e351525d1">get_default_mod_mask</a> ()</td></tr>
<tr><td class="mdescLeft">&#160;</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"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">static bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGtk_1_1AccelGroup.html#a33d82a03079c9205623e967157adef9e">activate</a> (<a class="el" href="classGtk_1_1Object.html">Gtk::Object</a>&amp; object, guint accel_key, <a class="el" href="group__gdkmmEnums.html#ga734c2979005c87dbe51223a0128cdd97">Gdk::ModifierType</a> accel_mods)</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Finds the first accelerator in any <a class="el" href="classGtk_1_1AccelGroup.html" title="A Gtk::AccelGroup represents a group of keyboard accelerators, typically attached...">Gtk::AccelGroup</a> attached to <em>object</em> that matches <em>accel_key</em> and <em>accel_mods</em>, and activates that accelerator. <a href="#a33d82a03079c9205623e967157adef9e"></a><br/></td></tr>
<tr><td colspan="2"><h2>Protected Member Functions</h2></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGtk_1_1AccelGroup.html#aea3002ff86e240ca8e95eba9bb8ffc2d">AccelGroup</a> ()</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">virtual void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGtk_1_1AccelGroup.html#a24149f08990137078258480b658932e7">on_accel_changed</a> (guint keyval, <a class="el" href="group__gdkmmEnums.html#ga734c2979005c87dbe51223a0128cdd97">Gdk::ModifierType</a> modifier, GClosure* accel_closure)</td></tr>
<tr><td colspan="2"><h2>Related Functions</h2></td></tr>
<tr><td colspan="2"><p>(Note that these are not member functions.) </p>
<br/><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="elRef" href="../../../glibmm-2.4/reference/html/classGlib_1_1RefPtr.html">Glib::RefPtr</a>&lt; <a class="el" href="classGtk_1_1AccelGroup.html">Gtk::AccelGroup</a> &gt;&#160;</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><td class="mdescLeft">&#160;</td><td class="mdescRight">A <a class="elRef" href="../../../glibmm-2.4/reference/html/namespaceGlib.html#a671306f4a3a0cae5ab4d7a9d54886592">Glib::wrap()</a> method for this object. <a href="#a6dd6cb005299768bbfc173eb56319fc7"></a><br/></td></tr>
</table>
<hr/><a name="_details"></a><h2>Detailed Description</h2>
<p>A <a class="el" href="classGtk_1_1AccelGroup.html" title="A Gtk::AccelGroup represents a group of keyboard accelerators, typically attached...">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...">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()...">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...">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...">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>
<hr/><h2>Constructor &amp; Destructor Documentation</h2>
<a class="anchor" id="a921454aa4102ac809898b1faf180bffe"></a><!-- doxytag: member="Gtk::AccelGroup::~AccelGroup" ref="a921454aa4102ac809898b1faf180bffe" args="()" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">virtual Gtk::AccelGroup::~AccelGroup </td>
          <td>(</td>
          <td class="paramname"></td>
          <td>&#160;)&#160;</td>
          <td><code> [virtual]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

</div>
</div>
<a class="anchor" id="aea3002ff86e240ca8e95eba9bb8ffc2d"></a><!-- doxytag: member="Gtk::AccelGroup::AccelGroup" ref="aea3002ff86e240ca8e95eba9bb8ffc2d" args="()" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">Gtk::AccelGroup::AccelGroup </td>
          <td>(</td>
          <td class="paramname"></td>
          <td>&#160;)&#160;</td>
          <td><code> [protected]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

</div>
</div>
<hr/><h2>Member Function Documentation</h2>
<a class="anchor" id="a33d82a03079c9205623e967157adef9e"></a><!-- doxytag: member="Gtk::AccelGroup::activate" ref="a33d82a03079c9205623e967157adef9e" args="(Gtk::Object &amp;object, guint accel_key, Gdk::ModifierType accel_mods)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">static bool Gtk::AccelGroup::activate </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="classGtk_1_1Object.html">Gtk::Object</a>&amp;&#160;</td>
          <td class="paramname"> <em>object</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">guint&#160;</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>&#160;</td>
          <td class="paramname"> <em>accel_mods</em></td><td>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td><td><code> [static]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Finds the first accelerator in any <a class="el" href="classGtk_1_1AccelGroup.html" title="A Gtk::AccelGroup represents a group of keyboard accelerators, typically attached...">Gtk::AccelGroup</a> attached to <em>object</em> that matches <em>accel_key</em> and <em>accel_mods</em>, and activates that accelerator. </p>
<dl><dt><b>Parameters:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign="top"></td><td valign="top"><em>object</em>&#160;</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...">Object</a>, usually a <a class="el" href="classGtk_1_1Window.html" title="Toplevel Window This represents all widgets which are physical windows controlled...">Gtk::Window</a>, on which to activate the accelerator. </td></tr>
    <tr><td valign="top"></td><td valign="top"><em>accel_key</em>&#160;</td><td>Accelerator keyval from a key event. </td></tr>
    <tr><td valign="top"></td><td valign="top"><em>accel_mods</em>&#160;</td><td>Keyboard state mask from a key event. </td></tr>
  </table>
  </dd>
</dl>
<dl class="return"><dt><b>Returns:</b></dt><dd><code>true</code> if an accelerator was activated and handled this keypress. </dd></dl>

</div>
</div>
<a class="anchor" id="a2e355f6b213074e91efc9f05204e5002"></a><!-- doxytag: member="Gtk::AccelGroup::activate" ref="a2e355f6b213074e91efc9f05204e5002" args="(GQuark accel_quark, const Glib::RefPtr&lt; Glib::Object &gt; &amp;acceleratable, guint accel_key, Gdk::ModifierType accel_mods)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">bool Gtk::AccelGroup::activate </td>
          <td>(</td>
          <td class="paramtype">GQuark&#160;</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="../../../glibmm-2.4/reference/html/classGlib_1_1RefPtr.html">Glib::RefPtr</a>&lt; <a class="elRef" href="../../../glibmm-2.4/reference/html/classGlib_1_1Object.html">Glib::Object</a> &gt; &amp;&#160;</td>
          <td class="paramname"> <em>acceleratable</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">guint&#160;</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>&#160;</td>
          <td class="paramname"> <em>accel_mods</em></td><td>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <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><dt><b>Parameters:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign="top"></td><td valign="top"><em>accel_quark</em>&#160;</td><td>The quark for the accelerator name. </td></tr>
    <tr><td valign="top"></td><td valign="top"><em>acceleratable</em>&#160;</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...">Object</a>, usually a <a class="el" href="classGtk_1_1Window.html" title="Toplevel Window This represents all widgets which are physical windows controlled...">Gtk::Window</a>, on which to activate the accelerator. </td></tr>
    <tr><td valign="top"></td><td valign="top"><em>accel_key</em>&#160;</td><td>Accelerator keyval from a key event. </td></tr>
    <tr><td valign="top"></td><td valign="top"><em>accel_mods</em>&#160;</td><td>Keyboard state mask from a key event. </td></tr>
  </table>
  </dd>
</dl>
<dl class="return"><dt><b>Returns:</b></dt><dd><code>true</code> if an accelerator was activated and handled this keypress. </dd></dl>

</div>
</div>
<a class="anchor" id="a935480b98985d9a8c2905e68eafae839"></a><!-- doxytag: member="Gtk::AccelGroup::create" ref="a935480b98985d9a8c2905e68eafae839" args="()" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">static <a class="elRef" href="../../../glibmm-2.4/reference/html/classGlib_1_1RefPtr.html">Glib::RefPtr</a>&lt;<a class="el" href="classGtk_1_1AccelGroup.html">AccelGroup</a>&gt; Gtk::AccelGroup::create </td>
          <td>(</td>
          <td class="paramname"></td>
          <td>&#160;)&#160;</td>
          <td><code> [static]</code></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...">Gtk::AccelGroup</a> object. </p>
<dl class="return"><dt><b>Returns:</b></dt><dd>A Glib::RefPtr&lt;&gt; to a newly created <a class="el" href="classGtk_1_1AccelGroup.html" title="A Gtk::AccelGroup represents a group of keyboard accelerators, typically attached...">Gtk::AccelGroup</a> object. </dd></dl>

</div>
</div>
<a class="anchor" id="a5fa48d11aeeac0bd1e680e523dad727b"></a><!-- doxytag: member="Gtk::AccelGroup::disconnect_key" ref="a5fa48d11aeeac0bd1e680e523dad727b" args="(guint accel_key, Gdk::ModifierType accel_mods)" -->
<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&#160;</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>&#160;</td>
          <td class="paramname"> <em>accel_mods</em></td><td>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td><td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Removes an accelerator previously installed through connect(). </p>
<dl><dt><b>Parameters:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign="top"></td><td valign="top"><em>accel_key</em>&#160;</td><td>Key value of the accelerator. </td></tr>
    <tr><td valign="top"></td><td valign="top"><em>accel_mods</em>&#160;</td><td>Modifier combination of the accelerator. </td></tr>
  </table>
  </dd>
</dl>
<dl class="return"><dt><b>Returns:</b></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><!-- doxytag: member="Gtk::AccelGroup::get_default_mod_mask" ref="a1e2f9b75e06dc4d3e915261e351525d1" args="()" -->
<div class="memitem">
<div class="memproto">
      <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>&#160;)&#160;</td>
          <td><code> [static]</code></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><!-- doxytag: member="Gtk::AccelGroup::get_is_locked" ref="acf8fe4511f6a53f163b7f2d8ca72e7ba" args="() const " -->
<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>&#160;)&#160;</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_14000014">Since gtkmm 2.14:</a></b></dt><dd></dd></dl>
<dl class="return"><dt><b>Returns:</b></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><!-- doxytag: member="Gtk::AccelGroup::get_label" ref="af182fea262e6d23952ebc49d8e1a6fba" args="(guint accelerator_key, Gdk::ModifierType accelerator_mods)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">static <a class="elRef" href="../../../glibmm-2.4/reference/html/classGlib_1_1ustring.html">Glib::ustring</a> Gtk::AccelGroup::get_label </td>
          <td>(</td>
          <td class="paramtype">guint&#160;</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>&#160;</td>
          <td class="paramname"> <em>accelerator_mods</em></td><td>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td><td><code> [static]</code></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_6000035">Since gtkmm 2.6:</a></b></dt><dd></dd></dl>
<dl><dt><b>Parameters:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign="top"></td><td valign="top"><em>accelerator_key</em>&#160;</td><td>Accelerator keyval. </td></tr>
    <tr><td valign="top"></td><td valign="top"><em>accelerator_mods</em>&#160;</td><td>Accelerator modifier mask. </td></tr>
  </table>
  </dd>
</dl>
<dl class="return"><dt><b>Returns:</b></dt><dd>A newly-allocated string representing the accelerator. </dd></dl>

</div>
</div>
<a class="anchor" id="afcae77f222e1537309e1721619f68dde"></a><!-- doxytag: member="Gtk::AccelGroup::get_modifier_mask" ref="afcae77f222e1537309e1721619f68dde" args="() const " -->
<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>&#160;)&#160;</td>
          <td> const</td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Gets a <a class="el" href="group__gdkmmEnums.html#ga734c2979005c87dbe51223a0128cdd97">Gdk::ModifierType</a> representing the mask for this <em>accel_group</em>. </p>
<p>For example, <a class="el" href="group__gdkmmEnums.html#gga734c2979005c87dbe51223a0128cdd97a7d3b1b90efa2836b335bec7eb321b50b">Gdk::CONTROL_MASK</a>, <a class="el" href="group__gdkmmEnums.html#gga734c2979005c87dbe51223a0128cdd97a2a80cbf95ae263d1cc7c93a379c8fb8e">Gdk::SHIFT_MASK</a>, etc.</p>
<dl class="since_2_14"><dt><b><a class="el" href="since_2_14.html#_since_2_14000015">Since gtkmm 2.14:</a></b></dt><dd></dd></dl>
<dl class="return"><dt><b>Returns:</b></dt><dd>The modifier mask for this accel group. </dd></dl>

</div>
</div>
<a class="anchor" id="a99694998d55ecd7fabc812d631a77fea"></a><!-- doxytag: member="Gtk::AccelGroup::gobj" ref="a99694998d55ecd7fabc812d631a77fea" args="() const " -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">const GtkAccelGroup* Gtk::AccelGroup::gobj </td>
          <td>(</td>
          <td class="paramname"></td>
          <td>&#160;)&#160;</td>
          <td> const<code> [inline]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Provides access to the underlying C GObject. </p>

<p>Reimplemented from <a class="elRef" href="../../../glibmm-2.4/reference/html/classGlib_1_1ObjectBase.html#a778a94181132976bbfb0519793f3b32e">Glib::ObjectBase</a>.</p>

</div>
</div>
<a class="anchor" id="ae8ca2f2497370a596bdf0449b0e098ab"></a><!-- doxytag: member="Gtk::AccelGroup::gobj" ref="ae8ca2f2497370a596bdf0449b0e098ab" args="()" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">GtkAccelGroup* Gtk::AccelGroup::gobj </td>
          <td>(</td>
          <td class="paramname"></td>
          <td>&#160;)&#160;</td>
          <td><code> [inline]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Provides access to the underlying C GObject. </p>

<p>Reimplemented from <a class="elRef" href="../../../glibmm-2.4/reference/html/classGlib_1_1ObjectBase.html#a4c6efc18be8cb9c56e58fc0bd20fafbe">Glib::ObjectBase</a>.</p>

</div>
</div>
<a class="anchor" id="a41105a95dd1df662b3e7f24c5b554864"></a><!-- doxytag: member="Gtk::AccelGroup::gobj_copy" ref="a41105a95dd1df662b3e7f24c5b554864" args="()" -->
<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>&#160;)&#160;</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><!-- doxytag: member="Gtk::AccelGroup::lock" ref="ae126cbabe5dd6262e341ee9b8be0e709" args="()" -->
<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>&#160;)&#160;</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><!-- doxytag: member="Gtk::AccelGroup::name" ref="a173b659482b4abc35862ae3c8d0645d3" args="(guint accelerator_key, Gdk::ModifierType accelerator_mods)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">static <a class="elRef" href="../../../glibmm-2.4/reference/html/classGlib_1_1ustring.html">Glib::ustring</a> Gtk::AccelGroup::name </td>
          <td>(</td>
          <td class="paramtype">guint&#160;</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>&#160;</td>
          <td class="paramname"> <em>accelerator_mods</em></td><td>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td><td><code> [static]</code></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="group__gdkmmEnums.html#gga734c2979005c87dbe51223a0128cdd97a7d3b1b90efa2836b335bec7eb321b50b">Gdk::CONTROL_MASK</a>, it returns "&amp; lt;Control&amp; gt;q". </p>

</div>
</div>
<a class="anchor" id="a24149f08990137078258480b658932e7"></a><!-- doxytag: member="Gtk::AccelGroup::on_accel_changed" ref="a24149f08990137078258480b658932e7" args="(guint keyval, Gdk::ModifierType modifier, GClosure *accel_closure)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">virtual void Gtk::AccelGroup::on_accel_changed </td>
          <td>(</td>
          <td class="paramtype">guint&#160;</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>&#160;</td>
          <td class="paramname"> <em>modifier</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">GClosure *&#160;</td>
          <td class="paramname"> <em>accel_closure</em></td><td>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td><td><code> [protected, virtual]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

</div>
</div>
<a class="anchor" id="a0035b04d82a93f3fb4ed26812da9144a"></a><!-- doxytag: member="Gtk::AccelGroup::parse" ref="a0035b04d82a93f3fb4ed26812da9144a" args="(const Glib::ustring &amp;accelerator, guint &amp;accelerator_key, Gdk::ModifierType &amp;accelerator_mods)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">static void Gtk::AccelGroup::parse </td>
          <td>(</td>
          <td class="paramtype">const <a class="elRef" href="../../../glibmm-2.4/reference/html/classGlib_1_1ustring.html">Glib::ustring</a> &amp;&#160;</td>
          <td class="paramname"> <em>accelerator</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">guint &amp;&#160;</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>&amp;&#160;</td>
          <td class="paramname"> <em>accelerator_mods</em></td><td>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td><td><code> [static]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Parse the accelerator string. </p>
<dl><dt><b>Parameters:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign="top"></td><td valign="top"><em>accelerator</em>&#160;</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 valign="top"></td><td valign="top"><em>accelerator_key</em>&#160;</td><td>Output argument </td></tr>
    <tr><td valign="top"></td><td valign="top"><em>accelerator_mods</em>&#160;</td><td>Output argument </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a class="anchor" id="a42258983a28aa7f0c4ba65b1abf9806c"></a><!-- doxytag: member="Gtk::AccelGroup::set_default_mod_mask" ref="a42258983a28aa7f0c4ba65b1abf9806c" args="(Gdk::ModifierType default_mod_mask)" -->
<div class="memitem">
<div class="memproto">
      <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>&#160;</td>
          <td class="paramname"> <em>default_mod_mask</em></td>
          <td>&#160;)&#160;</td>
          <td><code> [static]</code></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="group__gdkmmEnums.html#gga734c2979005c87dbe51223a0128cdd97a7d3b1b90efa2836b335bec7eb321b50b">Gdk::CONTROL_MASK</a> | <a class="el" href="group__gdkmmEnums.html#gga734c2979005c87dbe51223a0128cdd97a2a80cbf95ae263d1cc7c93a379c8fb8e">Gdk::SHIFT_MASK</a> | <a class="el" href="group__gdkmmEnums.html#gga734c2979005c87dbe51223a0128cdd97a5f256dc0926cacc91f18a7e4d198fb91">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><!-- doxytag: member="Gtk::AccelGroup::signal_accel_activate" ref="aa39bbb7e95ee8c7a66af6399cef4495a" args="()" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="elRef" href="../../../glibmm-2.4/reference/html/classGlib_1_1SignalProxy3.html">Glib::SignalProxy3</a>&lt; bool,const <a class="elRef" href="../../../glibmm-2.4/reference/html/classGlib_1_1RefPtr.html">Glib::RefPtr</a>&lt;<a class="elRef" href="../../../glibmm-2.4/reference/html/classGlib_1_1Object.html">Glib::Object</a>&gt;&amp;,guint,<a class="el" href="group__gdkmmEnums.html#ga734c2979005c87dbe51223a0128cdd97">Gdk::ModifierType</a> &gt; Gtk::AccelGroup::signal_accel_activate </td>
          <td>(</td>
          <td class="paramname"></td>
          <td>&#160;)&#160;</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<dl class="user"><dt><b>Prototype:</b></dt><dd><code>bool on_my_accel_activate(const Glib::RefPtr&lt;Glib::Object&gt;&amp; acceleratable, guint keyval, <a class="el" href="group__gdkmmEnums.html#ga734c2979005c87dbe51223a0128cdd97">Gdk::ModifierType</a> modifier)</code> </dd></dl>

</div>
</div>
<a class="anchor" id="a8d1191d47fc96c2f02aacb0e0423f5c4"></a><!-- doxytag: member="Gtk::AccelGroup::signal_accel_changed" ref="a8d1191d47fc96c2f02aacb0e0423f5c4" args="()" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="elRef" href="../../../glibmm-2.4/reference/html/classGlib_1_1SignalProxy3.html">Glib::SignalProxy3</a>&lt; void,guint,<a class="el" href="group__gdkmmEnums.html#ga734c2979005c87dbe51223a0128cdd97">Gdk::ModifierType</a>,GClosure* &gt; Gtk::AccelGroup::signal_accel_changed </td>
          <td>(</td>
          <td class="paramname"></td>
          <td>&#160;)&#160;</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<dl class="user"><dt><b>Prototype:</b></dt><dd><code>void on_my_accel_changed(guint keyval, <a class="el" href="group__gdkmmEnums.html#ga734c2979005c87dbe51223a0128cdd97">Gdk::ModifierType</a> modifier, GClosure* accel_closure)</code> </dd></dl>

</div>
</div>
<a class="anchor" id="af164d66f76728aa1606f9eddde5a7ef0"></a><!-- doxytag: member="Gtk::AccelGroup::unlock" ref="af164d66f76728aa1606f9eddde5a7ef0" args="()" -->
<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>&#160;)&#160;</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><!-- doxytag: member="Gtk::AccelGroup::valid" ref="a4c5da10b8e3b51dcd4fe403959e2d4a3" args="(guint keyval, Gdk::ModifierType modifiers)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">static bool Gtk::AccelGroup::valid </td>
          <td>(</td>
          <td class="paramtype">guint&#160;</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>&#160;</td>
          <td class="paramname"> <em>modifiers</em></td><td>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td><td><code> [static]</code></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="group__gdkmmEnums.html#gga734c2979005c87dbe51223a0128cdd97a7d3b1b90efa2836b335bec7eb321b50b">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>
<hr/><h2>Friends And Related Function Documentation</h2>
<a class="anchor" id="a6dd6cb005299768bbfc173eb56319fc7"></a><!-- doxytag: member="Gtk::AccelGroup::wrap" ref="a6dd6cb005299768bbfc173eb56319fc7" args="(GtkAccelGroup *object, bool take_copy=false)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="elRef" href="../../../glibmm-2.4/reference/html/classGlib_1_1RefPtr.html">Glib::RefPtr</a>&lt; <a class="el" href="classGtk_1_1AccelGroup.html">Gtk::AccelGroup</a> &gt; wrap </td>
          <td>(</td>
          <td class="paramtype">GtkAccelGroup *&#160;</td>
          <td class="paramname"> <em>object</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">bool&#160;</td>
          <td class="paramname"> <em>take_copy</em> = <code>false</code></td><td>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td><td><code> [related]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>A <a class="elRef" href="../../../glibmm-2.4/reference/html/namespaceGlib.html#a671306f4a3a0cae5ab4d7a9d54886592">Glib::wrap()</a> method for this object. </p>
<dl><dt><b>Parameters:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign="top"></td><td valign="top"><em>object</em>&#160;</td><td>The C instance. </td></tr>
    <tr><td valign="top"></td><td valign="top"><em>take_copy</em>&#160;</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="return"><dt><b>Returns:</b></dt><dd>A C++ instance that wraps this C instance. </dd></dl>

</div>
</div>
<hr/>The documentation for this class was generated from the following file:<ul>
<li>gtkmm/accelgroup.h</li>
</ul>
</div>
<hr size="1"/><address style="text-align: right;"><small>Generated on Tue May 4 13:21:45 2010 for gtkmm by&#160;
<a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.6.1 </small></address>
</body>
</html>