Re: mouse button event and gtkmm-4.0

Andrew Potter via gtkmm-list <[email protected]> Mon, 26 Sep 2022 10:29:33 -0700
Newsgroups gmane.comp.gnome.gtkmm
Message-ID <CABgWb1K97wpxSStBgzAynqhssaMQnxqMRshg5AqqvnAZo=cBww@mail.gmail.com>
--===============7150212087384228688==
Content-Type: multipart/alternative; boundary="0000000000009f7c9705e997dfae"

--0000000000009f7c9705e997dfae
Content-Type: text/plain; charset="UTF-8"

On Mon, Sep 26, 2022 at 10:17 AM Duncan Duncan via gtkmm-list <
[email protected]> wrote:

> Could someone explain how to get  event key mouse ?
>
>
Hi,
A question on the list a couple months ago prompted me to make this github
gist:

https://gist.github.com/talisein/f4f80167fa21f329f3db06a2730746f5

In short, you need a Gtk::GestureClick event controller. The current gtkmm
documentation is at
https://gnome.pages.gitlab.gnome.org/gtkmm/classGtk_1_1GestureClick.html

Unfortunately google doesn't like returning the gitlab pages links yet.

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

<div dir=3D"ltr"><br><div class=3D"gmail_quote"><div dir=3D"ltr" class=3D"g=
mail_attr">On Mon, Sep 26, 2022 at 10:17 AM Duncan Duncan via gtkmm-list &l=
t;<a href=3D"mailto:[email protected]">[email protected]</a>&gt; wrot=
e:<br></div><blockquote class=3D"gmail_quote" style=3D"margin:0px 0px 0px 0=
.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir=3D"l=
tr">Could someone explain how to get=C2=A0 event key mouse ?<br>
</div><br></blockquote><div><br></div><div>Hi,</div><div>A question on the =
list a couple months ago prompted me to make this github gist:</div><div><b=
r></div><div><a href=3D"https://gist.github.com/talisein/f4f80167fa21f329f3=
db06a2730746f5">https://gist.github.com/talisein/f4f80167fa21f329f3db06a273=
0746f5</a></div><div><br></div><div>In short, you need a Gtk::GestureClick =
event controller. The current gtkmm documentation is at <a href=3D"https://=
gnome.pages.gitlab.gnome.org/gtkmm/classGtk_1_1GestureClick.html">https://g=
nome.pages.gitlab.gnome.org/gtkmm/classGtk_1_1GestureClick.html</a></div><d=
iv><br></div><div>Unfortunately google doesn&#39;t like returning the gitla=
b pages links yet.<br></div></div></div>

--0000000000009f7c9705e997dfae--

--===============7150212087384228688==
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

--===============7150212087384228688==--