mouse button event and gtkmm-4.0

Duncan Duncan via gtkmm-list <[email protected]> Mon, 26 Sep 2022 19:17:41 +0200
Newsgroups gmane.comp.gnome.gtkmm
Message-ID <CAOT_XmyWDZQa9APuWOtrHFLY=WV=epFpO=nJrxkO_uF6GWdMyw@mail.gmail.com>
--===============1258367926703240604==
Content-Type: multipart/alternative; boundary="00000000000026931605e997b597"

--00000000000026931605e997b597
Content-Type: text/plain; charset="UTF-8"

Hello

I'm on Ubuntu 22.04 and use gtkmm-4.0
There is Gtk::EventControllerKey to capture keyboard event and a good
example here
https://developer-old.gnome.org/gtkmm-tutorial/stable/chapter-keyboardevents.html.en
But how to capture key mouse event ?
I don't find anything in the documentation's gtkmm-4.0

Could someone explain how to get  event key mouse ?

Thanks

--00000000000026931605e997b597
Content-Type: text/html; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable

<div dir=3D"ltr">Hello<div><br></div><div>I&#39;m on Ubuntu 22.04 and use g=
tkmm-4.0</div><div>There is=C2=A0<span style=3D"font-family:&quot;Droid San=
s Mono&quot;,&quot;monospace&quot;,monospace;font-size:14px;white-space:pre=
;color:rgb(38,127,153)">Gtk</span><span style=3D"color:rgb(0,0,0);font-fami=
ly:&quot;Droid Sans Mono&quot;,&quot;monospace&quot;,monospace;font-size:14=
px;white-space:pre">::</span><span style=3D"font-family:&quot;Droid Sans Mo=
no&quot;,&quot;monospace&quot;,monospace;font-size:14px;white-space:pre;col=
or:rgb(38,127,153)">EventControllerKey </span><span style=3D"font-family:&q=
uot;Droid Sans Mono&quot;,&quot;monospace&quot;,monospace;font-size:14px;wh=
ite-space:pre"><font color=3D"#000000">to capture keyboard event and a good=
 example here </font></span><a href=3D"https://developer-old.gnome.org/gtkm=
m-tutorial/stable/chapter-keyboardevents.html.en">https://developer-old.gno=
me.org/gtkmm-tutorial/stable/chapter-keyboardevents.html.en</a></div><div>B=
ut how to capture key mouse event ?</div><div>I don&#39;t find anything in =
the documentation&#39;s=C2=A0gtkmm-4.0</div><div><br></div><div>Could someo=
ne explain how to get=C2=A0 event key mouse ?</div><div><br></div><div>Than=
ks</div><div><br></div></div>

--00000000000026931605e997b597--

--===============1258367926703240604==
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

_______________________________________________
gtkmm-list mailing list
[email protected]
https://mail.gnome.org/mailman/listinfo/gtkmm-list

--===============1258367926703240604==--