[gtkmm4] Help on DrawingArea plus Mouse Activity

Mj Mendoza IV via gtkmm-list <[email protected]> Sat, 9 Jul 2022 11:02:08 -0700
Newsgroups gmane.comp.gnome.gtkmm
Message-ID <CAP0FjUSwL5JZm0oiYe3HPQ9PP3h7wsNi4amNJOC0PT6Fv3AwOA@mail.gmail.com>
--===============5147939660732428223==
Content-Type: multipart/alternative; boundary="00000000000097fadb05e3631ee8"

--00000000000097fadb05e3631ee8
Content-Type: text/plain; charset="UTF-8"

Hi,

I'm porting a 2D Animation Software from gtkmm3 to gtkmm4.

As a drawing tool, it heavily relies on Gtk::DrawingArea and mouse
activities (movements and presses).  I got the keyboard activity working
from a different code demo.

I've tried the Cairo-based Clock demo, and adjusted my code to reflect
needed changes to port to gtkmm4.  Now, I'm currently missing mouse
activities.

I've read the gtkmm4 changes section
<https://developer-old.gnome.org/gtkmm-tutorial/unstable/gtkmm-tutorial.html#changes-gtkmm4>
of the tutorial (
https://developer-old.gnome.org/gtkmm-tutorial/unstable/gtkmm-tutorial.html#changes-gtkmm4)
but content is more of a note than actual information for beginner porters
like me.  By any chance, does someone have a snippet of DrawingArea where
mouse activities are currently handled?  I believe I could work on that and
be on my merry way.

I've tried the IRC but there's no activity at all.  I tried the gtk channel
but could only be helpful to a certain extent.

~creek23

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

<div dir=3D"ltr"><div>Hi,</div><div><br></div><div>I&#39;m porting a 2D Ani=
mation Software from gtkmm3 to gtkmm4.</div><div><br></div><div>As a drawin=
g tool, it heavily relies on Gtk::DrawingArea and mouse activities (movemen=
ts and presses).=C2=A0 I got the keyboard activity working from a different=
 code demo.<br></div><div><br></div><div>I&#39;ve tried the Cairo-based Clo=
ck demo, and adjusted my code to reflect needed changes to port to gtkmm4.=
=C2=A0 Now, I&#39;m currently missing mouse activities.</div><div><br></div=
><div>I&#39;ve read the <a href=3D"https://developer-old.gnome.org/gtkmm-tu=
torial/unstable/gtkmm-tutorial.html#changes-gtkmm4">gtkmm4 changes section<=
/a> of the tutorial (<a href=3D"https://developer-old.gnome.org/gtkmm-tutor=
ial/unstable/gtkmm-tutorial.html#changes-gtkmm4">https://developer-old.gnom=
e.org/gtkmm-tutorial/unstable/gtkmm-tutorial.html#changes-gtkmm4</a>) but c=
ontent is more of a note than actual information for beginner porters like =
me.=C2=A0 By any chance, does someone have a snippet of DrawingArea where m=
ouse activities are currently handled?=C2=A0 I believe I could work on that=
 and be on my merry way.</div><div><br></div><div>I&#39;ve tried the IRC bu=
t there&#39;s no activity at all.=C2=A0 I tried the gtk channel but could o=
nly be helpful to a certain extent.<br></div><div><br></div><div>~creek23<b=
r></div></div>

--00000000000097fadb05e3631ee8--

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

--===============5147939660732428223==--