Re: [Anjuta-list] callback !



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]