From: user@domain.invalid
Subject: Re: gtkada
Date: Fri, 20 Sep 2002 14:59:01 +0200
Date: 2002-09-20T12:55:46+00:00 [thread overview]
Message-ID: <3D8B1B95.8020707@domain.invalid> (raw)
In-Reply-To: uofasq2dw.fsf@gsfc.nasa.gov
Stephen Leake wrote:
> 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.
>
>
thanks for your help
gtk.drawing_area spec says :
---------------------------------------------------------
-- * Connect it to "button_press" and "button_release" events, when you want
-- it to react to user input. Note that you need to set up the event mask
-- with a call to Gtk.Widget.Set_Events.
---------------------------------------------------------
so i dont understand why my call to connect doesn't work
next prev parent reply other threads:[~2002-09-20 12:59 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 ` gtkada Stephen Leake
2002-09-20 12:59 ` user [this message]
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 rajagopalasrinivasan
1999-04-29 0:00 ` GtkAda David Botton
1999-04-29 0:00 ` GtkAda David C. Hoos, Sr.
1999-05-12 0:00 ` GtkAda charlet
replies disabled
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox