Re: [Anjuta-list] callback !
- From: Naba Kumar <kh_naba gmx net>
- To: Benoît HOFFERER <benoit hofferer free fr>
- Cc: Anjuta Users List <anjuta-list lists sourceforge net>
- Subject: Re: [Anjuta-list] callback !
- Date: Thu Aug 15 23:50:05 2002
On Fri, 2002-08-16 at 11:44, Benoît HOFFERER wrote:
> Hi,
>
> I have designed with Anjuta/Glade a window containing a push button and
> an edit field. I've set a callback function on the button on the click
> event. I'd like to modify the edit field's text when the user clicks on
> the button.
>
> Sounds simple !
>
> my problem is that in the callback looking like :
>
> void on_pbReseau_clicked(GtkButton *button, gpointer user_data){ ... }
>
> I don't see how to get here the references of the edit field.
>
Use the user_data argument to pass the widget reference (of the edit
field) to the callback.
> Thanks !
>
> Benoit
--
Regards,
-Naba
BE ALERT!!!! (The world needs more lerts...)
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]