From: dontspam365@gmail.com
Subject: Re: Mouse Clicks in a Drawing Area
Date: Tue, 4 Feb 2014 02:43:08 -0800 (PST)
Date: 2014-02-04T02:43:08-08:00 [thread overview]
Message-ID: <aa2a90c2-55c5-43b0-baaf-b731764c4c55@googlegroups.com> (raw)
In-Reply-To: <52f0bc8a$0$31367$703f8584@news.kpn.nl>
>function On_Button_Press (Object : access Gtk_Drawing_Area_Record'Class;
>event : Gdk_Event) return boolean is
I have some code that does this and seems to work. I am using:
Add_Events
(Window1.The_Area,
Button_Press_Mask or Button_Release_Mask or Button_Motion_Mask or Key_Press_Mask);
and
function On_The_Button_Press_Event
(Object : access Gtk_Widget_Record'Class;
Params : Gtk.Arguments.Gtk_Args)
I see a difference between your attempt and mine, and this last line.
Frank
next prev parent reply other threads:[~2014-02-04 10:43 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-02-04 6:46 Mouse Clicks in a Drawing Area ldries46
2014-02-04 8:52 ` Dmitry A. Kazakov
2014-02-04 10:08 ` ldries46
2014-02-04 10:43 ` dontspam365 [this message]
2014-02-04 10:44 ` Dmitry A. Kazakov
2014-02-04 14:01 ` ldries46
replies disabled
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox