<!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::EventController 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_1EventController.html">EventController</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_1EventController-members.html">List of all members</a> </div> <div class="headertitle"> <div class="title">Gtk::EventController Class Reference<div class="ingroups"><a class="el" href="group__Gestures.html">Event Controllers and Gestures</a></div></div> </div> </div><!--header--> <div class="contents"> <p>Self-contained handler of series of events. <a href="classGtk_1_1EventController.html#details">More...</a></p> <p><code>#include <gtkmm/eventcontroller.h></code></p> <div class="dynheader"> Inheritance diagram for Gtk::EventController:</div> <div class="dyncontent"> <div class="center"><img src="classGtk_1_1EventController__inherit__graph.png" border="0" usemap="#Gtk_1_1EventController_inherit__map" alt="Inheritance graph"/></div> <map name="Gtk_1_1EventController_inherit__map" id="Gtk_1_1EventController_inherit__map"> <area shape="rect" id="node5" href="classGtk_1_1Gesture.html" title="Abstract base class for gestures. " alt="" coords="293,304,395,331"/><area shape="rect" id="node2" href="http://library.gnome.org/devel/glibmm/unstable/classGlib_1_1Object.html" title="Glib::Object" alt="" coords="297,155,391,181"/><area shape="rect" id="node3" href="http://library.gnome.org/devel/glibmm/unstable/classGlib_1_1ObjectBase.html" title="Glib::ObjectBase" alt="" coords="281,80,407,107"/><area shape="rect" id="node4" href="http://library.gnome.org/devel/libsigc++/unstable/structsigc_1_1trackable.html" title="sigc::trackable" alt="" coords="287,5,401,32"/><area shape="rect" id="node6" href="classGtk_1_1GestureRotate.html" title="Rotate gesture. " alt="" coords="104,379,248,405"/><area shape="rect" id="node7" href="classGtk_1_1GestureSingle.html" title="Abstract base class for mouse/single-touch gestures. " alt="" coords="273,379,415,405"/><area shape="rect" id="node13" href="classGtk_1_1GestureZoom.html" title="Zoom gesture. " alt="" coords="439,379,581,405"/><area shape="rect" id="node8" href="classGtk_1_1GestureDrag.html" title="Drag gesture. " alt="" coords="5,453,139,480"/><area shape="rect" id="node10" href="classGtk_1_1GestureLongPress.html" title=""Press and Hold" gesture. " alt="" coords="163,453,332,480"/><area shape="rect" id="node11" href="classGtk_1_1GestureMultiPress.html" title="Multipress gesture. " alt="" coords="357,453,525,480"/><area shape="rect" id="node12" href="classGtk_1_1GestureSwipe.html" title="Swipe gesture. " alt="" coords="550,453,689,480"/><area shape="rect" id="node9" href="classGtk_1_1GesturePan.html" title="Pan gesture. " alt="" coords="9,528,135,555"/></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:a410e3435a3ca362a547381a156c088cd"><td class="memItemLeft" align="right" valign="top">virtual </td><td class="memItemRight" valign="bottom"><a class="el" href="classGtk_1_1EventController.html#a410e3435a3ca362a547381a156c088cd">~EventController</a> ()</td></tr> <tr class="separator:a410e3435a3ca362a547381a156c088cd"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:a2155c53567308b153c108afd3c17f7aa"><td class="memItemLeft" align="right" valign="top">GtkEventController* </td><td class="memItemRight" valign="bottom"><a class="el" href="classGtk_1_1EventController.html#a2155c53567308b153c108afd3c17f7aa">gobj</a> ()</td></tr> <tr class="memdesc:a2155c53567308b153c108afd3c17f7aa"><td class="mdescLeft"> </td><td class="mdescRight">Provides access to the underlying C GObject. <a href="#a2155c53567308b153c108afd3c17f7aa">More...</a><br /></td></tr> <tr class="separator:a2155c53567308b153c108afd3c17f7aa"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:aeb78a35d7fc53b87b624a9427a14db8c"><td class="memItemLeft" align="right" valign="top">const GtkEventController* </td><td class="memItemRight" valign="bottom"><a class="el" href="classGtk_1_1EventController.html#aeb78a35d7fc53b87b624a9427a14db8c">gobj</a> () const </td></tr> <tr class="memdesc:aeb78a35d7fc53b87b624a9427a14db8c"><td class="mdescLeft"> </td><td class="mdescRight">Provides access to the underlying C GObject. <a href="#aeb78a35d7fc53b87b624a9427a14db8c">More...</a><br /></td></tr> <tr class="separator:aeb78a35d7fc53b87b624a9427a14db8c"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:ad1a8d8dd50247bb2cbca8ccee0c01917"><td class="memItemLeft" align="right" valign="top">GtkEventController* </td><td class="memItemRight" valign="bottom"><a class="el" href="classGtk_1_1EventController.html#ad1a8d8dd50247bb2cbca8ccee0c01917">gobj_copy</a> ()</td></tr> <tr class="memdesc:ad1a8d8dd50247bb2cbca8ccee0c01917"><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="#ad1a8d8dd50247bb2cbca8ccee0c01917">More...</a><br /></td></tr> <tr class="separator:ad1a8d8dd50247bb2cbca8ccee0c01917"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:ab0a3645d9d0e9c2bd4eefdffce054d3f"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classGtk_1_1Widget.html">Widget</a>* </td><td class="memItemRight" valign="bottom"><a class="el" href="classGtk_1_1EventController.html#ab0a3645d9d0e9c2bd4eefdffce054d3f">get_widget</a> ()</td></tr> <tr class="memdesc:ab0a3645d9d0e9c2bd4eefdffce054d3f"><td class="mdescLeft"> </td><td class="mdescRight">Returns the <a class="el" href="classGtk_1_1Widget.html" title="Abstract Widget (Base class for all widgets) ">Gtk::Widget</a> this controller relates to. <a href="#ab0a3645d9d0e9c2bd4eefdffce054d3f">More...</a><br /></td></tr> <tr class="separator:ab0a3645d9d0e9c2bd4eefdffce054d3f"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:a2cc698895bff3ef0673d26eead45e73d"><td class="memItemLeft" align="right" valign="top">const <a class="el" href="classGtk_1_1Widget.html">Widget</a>* </td><td class="memItemRight" valign="bottom"><a class="el" href="classGtk_1_1EventController.html#a2cc698895bff3ef0673d26eead45e73d">get_widget</a> () const </td></tr> <tr class="memdesc:a2cc698895bff3ef0673d26eead45e73d"><td class="mdescLeft"> </td><td class="mdescRight">Returns the <a class="el" href="classGtk_1_1Widget.html" title="Abstract Widget (Base class for all widgets) ">Gtk::Widget</a> this controller relates to. <a href="#a2cc698895bff3ef0673d26eead45e73d">More...</a><br /></td></tr> <tr class="separator:a2cc698895bff3ef0673d26eead45e73d"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:a5aad517685ae92311723ad900d24bb78"><td class="memItemLeft" align="right" valign="top">bool </td><td class="memItemRight" valign="bottom"><a class="el" href="classGtk_1_1EventController.html#a5aad517685ae92311723ad900d24bb78">handle_event</a> (const GdkEvent* event)</td></tr> <tr class="memdesc:a5aad517685ae92311723ad900d24bb78"><td class="mdescLeft"> </td><td class="mdescRight">Feeds an events into <em>controller</em>, so it can be interpreted and the controller actions triggered. <a href="#a5aad517685ae92311723ad900d24bb78">More...</a><br /></td></tr> <tr class="separator:a5aad517685ae92311723ad900d24bb78"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:ae1805dcccb6e3007f694819477e6ca6e"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classGtk_1_1EventController.html#ae1805dcccb6e3007f694819477e6ca6e">reset</a> ()</td></tr> <tr class="memdesc:ae1805dcccb6e3007f694819477e6ca6e"><td class="mdescLeft"> </td><td class="mdescRight">Resets the <em>controller</em> to a clean state. <a href="#ae1805dcccb6e3007f694819477e6ca6e">More...</a><br /></td></tr> <tr class="separator:ae1805dcccb6e3007f694819477e6ca6e"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:ac45c44cf6777a55ce291f703c0103369"><td class="memItemLeft" align="right" valign="top"><a class="el" href="group__gtkmmEnums.html#ga3f2ccdc42fe620ab04147029242efb57">PropagationPhase</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="classGtk_1_1EventController.html#ac45c44cf6777a55ce291f703c0103369">get_propagation_phase</a> () const </td></tr> <tr class="memdesc:ac45c44cf6777a55ce291f703c0103369"><td class="mdescLeft"> </td><td class="mdescRight">Gets the propagation phase at which <em>controller</em> handles events. <a href="#ac45c44cf6777a55ce291f703c0103369">More...</a><br /></td></tr> <tr class="separator:ac45c44cf6777a55ce291f703c0103369"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:aa463e8e855f1e23067780a68617aebc6"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classGtk_1_1EventController.html#aa463e8e855f1e23067780a68617aebc6">set_propagation_phase</a> (<a class="el" href="group__gtkmmEnums.html#ga3f2ccdc42fe620ab04147029242efb57">PropagationPhase</a> phase)</td></tr> <tr class="memdesc:aa463e8e855f1e23067780a68617aebc6"><td class="mdescLeft"> </td><td class="mdescRight">Sets the propagation phase at which a controller handles events. <a href="#aa463e8e855f1e23067780a68617aebc6">More...</a><br /></td></tr> <tr class="separator:aa463e8e855f1e23067780a68617aebc6"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:a49f2d46d193a28056488c8f21c6f6433"><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="classGtk_1_1Widget.html">Widget</a>* > </td><td class="memItemRight" valign="bottom"><a class="el" href="classGtk_1_1EventController.html#a49f2d46d193a28056488c8f21c6f6433">property_widget</a> () const </td></tr> <tr class="memdesc:a49f2d46d193a28056488c8f21c6f6433"><td class="mdescLeft"> </td><td class="mdescRight"><a class="el" href="classGtk_1_1Widget.html" title="Abstract Widget (Base class for all widgets) ">Widget</a> the gesture relates to. <a href="#a49f2d46d193a28056488c8f21c6f6433">More...</a><br /></td></tr> <tr class="separator:a49f2d46d193a28056488c8f21c6f6433"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:a53c05f43b6625eade3c0339ab0e6c698"><td class="memItemLeft" align="right" valign="top"><a class="elRef" href="http://library.gnome.org/devel/glibmm/unstable/classGlib_1_1PropertyProxy.html">Glib::PropertyProxy</a><br class="typebreak" /> < <a class="el" href="group__gtkmmEnums.html#ga3f2ccdc42fe620ab04147029242efb57">PropagationPhase</a> > </td><td class="memItemRight" valign="bottom"><a class="el" href="classGtk_1_1EventController.html#a53c05f43b6625eade3c0339ab0e6c698">property_propagation_phase</a> ()</td></tr> <tr class="memdesc:a53c05f43b6625eade3c0339ab0e6c698"><td class="mdescLeft"> </td><td class="mdescRight">Propagation phase at which this controller is run. <a href="#a53c05f43b6625eade3c0339ab0e6c698">More...</a><br /></td></tr> <tr class="separator:a53c05f43b6625eade3c0339ab0e6c698"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:ac8255f7e52395e05d6f240e398668365"><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__gtkmmEnums.html#ga3f2ccdc42fe620ab04147029242efb57">PropagationPhase</a> > </td><td class="memItemRight" valign="bottom"><a class="el" href="classGtk_1_1EventController.html#ac8255f7e52395e05d6f240e398668365">property_propagation_phase</a> () const </td></tr> <tr class="memdesc:ac8255f7e52395e05d6f240e398668365"><td class="mdescLeft"> </td><td class="mdescRight">Propagation phase at which this controller is run. <a href="#ac8255f7e52395e05d6f240e398668365">More...</a><br /></td></tr> <tr class="separator:ac8255f7e52395e05d6f240e398668365"><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:a9eac99ab3cfb2d7371ca12331a49598f"><td class="memItemLeft" align="right" valign="top">static GType </td><td class="memItemRight" valign="bottom"><a class="el" href="classGtk_1_1EventController.html#a9eac99ab3cfb2d7371ca12331a49598f">get_type</a> ()</td></tr> <tr class="memdesc:a9eac99ab3cfb2d7371ca12331a49598f"><td class="mdescLeft"> </td><td class="mdescRight">Get the GType for this class, for use with the underlying GObject type system. <a href="#a9eac99ab3cfb2d7371ca12331a49598f">More...</a><br /></td></tr> <tr class="separator:a9eac99ab3cfb2d7371ca12331a49598f"><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:a060416111aea37a75326436eb6d9c289"><td class="memItemLeft" align="right" valign="top"> </td><td class="memItemRight" valign="bottom"><a class="el" href="classGtk_1_1EventController.html#a060416111aea37a75326436eb6d9c289">EventController</a> ()</td></tr> <tr class="memdesc:a060416111aea37a75326436eb6d9c289"><td class="mdescLeft"> </td><td class="mdescRight">There is no create() method that corresponds to this constructor, because only derived classes shall be created. <a href="#a060416111aea37a75326436eb6d9c289">More...</a><br /></td></tr> <tr class="separator:a060416111aea37a75326436eb6d9c289"><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:a7954d6f01bb40a4b45e4fcebe901827e"><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><br class="typebreak" /> < <a class="el" href="classGtk_1_1EventController.html">Gtk::EventController</a> > </td><td class="memItemRight" valign="bottom"><a class="el" href="classGtk_1_1EventController.html#a7954d6f01bb40a4b45e4fcebe901827e">wrap</a> (GtkEventController* object, bool take_copy=false)</td></tr> <tr class="memdesc:a7954d6f01bb40a4b45e4fcebe901827e"><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="#a7954d6f01bb40a4b45e4fcebe901827e">More...</a><br /></td></tr> <tr class="separator:a7954d6f01bb40a4b45e4fcebe901827e"><td class="memSeparator" colspan="2"> </td></tr> </table> <a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2> <div class="textblock"><p>Self-contained handler of series of events. </p> <p>This is an abstract base class, low-level implementation for event controllers. Those react to a series of GdkEvents, and possibly trigger actions as a consequence of those.</p> <dl class="since_3_14"><dt><b><a class="el" href="since_3_14.html#_since_3_14000014">Since gtkmm 3.14:</a></b></dt><dd></dd></dl> </div><h2 class="groupheader">Constructor & Destructor Documentation</h2> <a class="anchor" id="a410e3435a3ca362a547381a156c088cd"></a> <div class="memitem"> <div class="memproto"> <table class="mlabels"> <tr> <td class="mlabels-left"> <table class="memname"> <tr> <td class="memname">virtual Gtk::EventController::~EventController </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="a060416111aea37a75326436eb6d9c289"></a> <div class="memitem"> <div class="memproto"> <table class="mlabels"> <tr> <td class="mlabels-left"> <table class="memname"> <tr> <td class="memname">Gtk::EventController::EventController </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"> <p>There is no create() method that corresponds to this constructor, because only derived classes shall be created. </p> </div> </div> <h2 class="groupheader">Member Function Documentation</h2> <a class="anchor" id="ac45c44cf6777a55ce291f703c0103369"></a> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname"><a class="el" href="group__gtkmmEnums.html#ga3f2ccdc42fe620ab04147029242efb57">PropagationPhase</a> Gtk::EventController::get_propagation_phase </td> <td>(</td> <td class="paramname"></td><td>)</td> <td> const</td> </tr> </table> </div><div class="memdoc"> <p>Gets the propagation phase at which <em>controller</em> handles events. </p> <dl class="since_3_14"><dt><b><a class="el" href="since_3_14.html#_since_3_14000019">Since gtkmm 3.14:</a></b></dt><dd></dd></dl> <dl class="section return"><dt>Returns</dt><dd>The propagation phase. </dd></dl> </div> </div> <a class="anchor" id="a9eac99ab3cfb2d7371ca12331a49598f"></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::EventController::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="ab0a3645d9d0e9c2bd4eefdffce054d3f"></a> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname"><a class="el" href="classGtk_1_1Widget.html">Widget</a>* Gtk::EventController::get_widget </td> <td>(</td> <td class="paramname"></td><td>)</td> <td></td> </tr> </table> </div><div class="memdoc"> <p>Returns the <a class="el" href="classGtk_1_1Widget.html" title="Abstract Widget (Base class for all widgets) ">Gtk::Widget</a> this controller relates to. </p> <dl class="since_3_14"><dt><b><a class="el" href="since_3_14.html#_since_3_14000015">Since gtkmm 3.14:</a></b></dt><dd></dd></dl> <dl class="section return"><dt>Returns</dt><dd>A <a class="el" href="classGtk_1_1Widget.html" title="Abstract Widget (Base class for all widgets) ">Gtk::Widget</a>. </dd></dl> </div> </div> <a class="anchor" id="a2cc698895bff3ef0673d26eead45e73d"></a> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">const <a class="el" href="classGtk_1_1Widget.html">Widget</a>* Gtk::EventController::get_widget </td> <td>(</td> <td class="paramname"></td><td>)</td> <td> const</td> </tr> </table> </div><div class="memdoc"> <p>Returns the <a class="el" href="classGtk_1_1Widget.html" title="Abstract Widget (Base class for all widgets) ">Gtk::Widget</a> this controller relates to. </p> <dl class="since_3_14"><dt><b><a class="el" href="since_3_14.html#_since_3_14000016">Since gtkmm 3.14:</a></b></dt><dd></dd></dl> <dl class="section return"><dt>Returns</dt><dd>A <a class="el" href="classGtk_1_1Widget.html" title="Abstract Widget (Base class for all widgets) ">Gtk::Widget</a>. </dd></dl> </div> </div> <a class="anchor" id="a2155c53567308b153c108afd3c17f7aa"></a> <div class="memitem"> <div class="memproto"> <table class="mlabels"> <tr> <td class="mlabels-left"> <table class="memname"> <tr> <td class="memname">GtkEventController* Gtk::EventController::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="aeb78a35d7fc53b87b624a9427a14db8c"></a> <div class="memitem"> <div class="memproto"> <table class="mlabels"> <tr> <td class="mlabels-left"> <table class="memname"> <tr> <td class="memname">const GtkEventController* Gtk::EventController::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="ad1a8d8dd50247bb2cbca8ccee0c01917"></a> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">GtkEventController* Gtk::EventController::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="a5aad517685ae92311723ad900d24bb78"></a> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">bool Gtk::EventController::handle_event </td> <td>(</td> <td class="paramtype">const GdkEvent * </td> <td class="paramname"><em>event</em></td><td>)</td> <td></td> </tr> </table> </div><div class="memdoc"> <p>Feeds an events into <em>controller</em>, so it can be interpreted and the controller actions triggered. </p> <dl class="since_3_14"><dt><b><a class="el" href="since_3_14.html#_since_3_14000017">Since gtkmm 3.14:</a></b></dt><dd></dd></dl> <dl class="params"><dt>Parameters</dt><dd> <table class="params"> <tr><td class="paramname">event</td><td>A <a class="el" href="classGdk_1_1Event.html">Gdk::Event</a>. </td></tr> </table> </dd> </dl> <dl class="section return"><dt>Returns</dt><dd><code>true</code> if the event was potentially useful to trigger the controller action. </dd></dl> </div> </div> <a class="anchor" id="a53c05f43b6625eade3c0339ab0e6c698"></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.html">Glib::PropertyProxy</a>< <a class="el" href="group__gtkmmEnums.html#ga3f2ccdc42fe620ab04147029242efb57">PropagationPhase</a> > Gtk::EventController::property_propagation_phase </td> <td>(</td> <td class="paramname"></td><td>)</td> <td></td> </tr> </table> </div><div class="memdoc"> <p>Propagation phase at which this controller is run. </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 that allows you to get or set the value of the property, or receive notification when the value of the property changes. </dd></dl> </div> </div> <a class="anchor" id="ac8255f7e52395e05d6f240e398668365"></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__gtkmmEnums.html#ga3f2ccdc42fe620ab04147029242efb57">PropagationPhase</a> > Gtk::EventController::property_propagation_phase </td> <td>(</td> <td class="paramname"></td><td>)</td> <td> const</td> </tr> </table> </div><div class="memdoc"> <p>Propagation phase at which this controller is run. </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="a49f2d46d193a28056488c8f21c6f6433"></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="classGtk_1_1Widget.html">Widget</a>* > Gtk::EventController::property_widget </td> <td>(</td> <td class="paramname"></td><td>)</td> <td> const</td> </tr> </table> </div><div class="memdoc"> <p><a class="el" href="classGtk_1_1Widget.html" title="Abstract Widget (Base class for all widgets) ">Widget</a> the gesture relates to. </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="ae1805dcccb6e3007f694819477e6ca6e"></a> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">void Gtk::EventController::reset </td> <td>(</td> <td class="paramname"></td><td>)</td> <td></td> </tr> </table> </div><div class="memdoc"> <p>Resets the <em>controller</em> to a clean state. </p> <p>Every interaction the controller did through Gtk::EventController::signal_handle_event() will be dropped at this point.</p> <dl class="since_3_14"><dt><b><a class="el" href="since_3_14.html#_since_3_14000018">Since gtkmm 3.14:</a></b></dt><dd></dd></dl> </div> </div> <a class="anchor" id="aa463e8e855f1e23067780a68617aebc6"></a> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">void Gtk::EventController::set_propagation_phase </td> <td>(</td> <td class="paramtype"><a class="el" href="group__gtkmmEnums.html#ga3f2ccdc42fe620ab04147029242efb57">PropagationPhase</a> </td> <td class="paramname"><em>phase</em></td><td>)</td> <td></td> </tr> </table> </div><div class="memdoc"> <p>Sets the propagation phase at which a controller handles events. </p> <p>If <em>phase</em> is <a class="el" href="namespaceGtk.html#ga3f2ccdc42fe620ab04147029242efb57a52efe0489bf33841355d3f99214369c6" title="Events are not delivered automatically. ">Gtk::PHASE_NONE</a>, no automatic event handling will be performed, but other additional gesture maintenance will. In that phase, the events can be managed by calling <a class="el" href="classGtk_1_1EventController.html#a5aad517685ae92311723ad900d24bb78" title="Feeds an events into controller, so it can be interpreted and the controller actions triggered...">handle_event()</a>.</p> <dl class="since_3_14"><dt><b><a class="el" href="since_3_14.html#_since_3_14000020">Since gtkmm 3.14:</a></b></dt><dd></dd></dl> <dl class="params"><dt>Parameters</dt><dd> <table class="params"> <tr><td class="paramname">phase</td><td>A propagation phase. </td></tr> </table> </dd> </dl> </div> </div> <h2 class="groupheader">Friends And Related Function Documentation</h2> <a class="anchor" id="a7954d6f01bb40a4b45e4fcebe901827e"></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_1EventController.html">Gtk::EventController</a> > wrap </td> <td>(</td> <td class="paramtype">GtkEventController * </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:19 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>