From: Stephen Leake <stephen.a.leake.1@gsfc.nasa.gov>
Subject: Re: gtkada
Date: 20 Sep 2002 08:19:55 -0400
Date: 2002-09-20T12:30:16+00:00 [thread overview]
Message-ID: <uofasq2dw.fsf@gsfc.nasa.gov> (raw)
In-Reply-To: 3D8AF8D4.7090800@wanadoo.fr
Sami Evangelista <sami.evangelista@wanadoo.fr> writes:
> hello
> is it possible to connect a handler to a drawing_area when the user
> click on this drawing area.
You'll get better help on GtkAda from the GtkAda mailing list. See
http://libre.act-europe.fr/GtkAda/
(way down near the bottom) for instructions on subscribing.
> I have tried to connect my handler to the "button_press" signal of
> the Gtk_Drawing_Area like this :
>
> ---------------------------------------------------------
> Widget_Cb.Connect(Gtk_Widget(Current_Da), "button_press",
> Widget_Cb.To_Marshaller(On_Sub_Net_Button_Press'Access));
> ---------------------------------------------------------
>
> it compiles well but at the execution the follwing error occurs :
>
> ---------------------------------------------------------
> Gtk-WARNING **: gtk_signal_connect_full(): could not find signal
> "button_press" in the `GtkDrawingArea' class ancestry
> ---------------------------------------------------------
The list of signals valid for each widget is given in the Ada package
spec, as comments. So read the spec for Gtk_Drawing_Area. I don't have
GtkAda installed here, so I can't do that right now.
--
-- Stephe
next prev parent reply other threads:[~2002-09-20 12:19 UTC|newest]
Thread overview: 30+ messages / expand[flat|nested] mbox.gz Atom feed top
2002-09-20 10:30 gtkada Sami Evangelista
2002-09-20 12:19 ` Stephen Leake [this message]
2002-09-20 12:59 ` gtkada user
2002-09-20 14:23 ` gtkada Stephen Leake
-- strict thread matches above, loose matches on Subject: below --
2002-12-15 17:02 GTKAda R. Srinivasan
2002-12-15 17:35 ` GTKAda Adrian Knoth
2002-09-19 17:43 gtkada Sami Evangelista
2002-09-19 19:32 ` gtkada Adrian Knoth
2002-09-16 12:41 gtkada Sami Evangelista
2002-09-16 13:03 ` gtkada David C. Hoos
2002-09-16 13:05 ` gtkada SIMON Claude
2002-09-16 13:09 ` gtkada Adrian Knoth
2002-09-16 14:09 ` gtkada Preben Randhol
2002-09-16 15:09 ` gtkada Adrian Knoth
2002-09-16 15:41 ` gtkada Preben Randhol
2002-09-16 16:05 ` gtkada Adrian Knoth
2002-09-16 17:52 ` gtkada Preben Randhol
2002-09-16 18:12 ` gtkada Adrian Knoth
2002-09-16 19:08 ` gtkada Preben Randhol
2002-09-17 15:03 ` gtkada Stephen Leake
2002-09-17 17:31 ` gtkada Preben Randhol
2002-09-16 18:09 ` gtkada Stephen Leake
2002-09-16 20:14 ` gtkada Adrian Knoth
2001-01-11 0:52 Gtkada chris woodrow
2001-01-11 10:13 ` Gtkada Preben Randhol
1999-04-29 0:00 GtkAda Delambre
1999-04-29 0:00 ` GtkAda David C. Hoos, Sr.
1999-05-12 0:00 ` GtkAda charlet
1999-04-29 0:00 ` GtkAda rajagopalasrinivasan
1999-04-29 0:00 ` GtkAda David Botton
replies disabled
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox