Re: signal for gtk_entry



Hi Troy,

http://developer.gnome.org/doc/API/gtk/gtkeditable.html

in the signals section, near the bottom of the page.

John

Troy Heber wrote:

> Thank you activate is exactly what I was looking for. Can you point me to
> where the is documented, so I can avoid having to bother the list with
such
> trivial questions in the future?
> 
> Thanks, 
> 
> Troy
> 
> On 11/30/01, Steph wrote:
> 
>>activate
>>----- Original Message ----- 
>>From: "Troy Heber" <troyh fc hp com>
>>To: <gtk-list gnome org>
>>Sent: Friday, November 30, 2001 3:54 PM
>>Subject: signal for gtk_entry
>>
>>
>>
>>>Another newbie question, I want to do a gtk_signal_connect to capture a
>>>carriage return in a gtk_entry widget. I can't seem to find the names of
the
>>>signals for the gtk_entry widget. I would like to connect to the same
>>>function when you click on the button widget or on a carriage return in
the
>>>gtk_entry widget. 
>>>
>>>Something like this:
>>>
>>>entry = gtk_entry_new ( );
>>>gtk_box_pack_end ( GTK_BOX ( hBox ), entry, TRUE, TRUE, 2 );
>>>gtk_widget_show ( entry );
>>>
>>>gtk_signal_connect ( GTK_OBJECT ( responseButton ), "clicked", 
>>>GTK_SIGNAL_FUNC ( AddButtonClicked ), entry );
>>>
>>>// This is the one I'm not sure about
>>>gtk_signal_connect ( GTK_OBJECT ( entry ), "????????????", 
>>>GTK_SIGNAL_FUNC ( AddButtonClicked ), entry );
>>>
>>>I just can't seem to find it in the gtk documentation. 
>>>
>>>Thanks for the assistance, 
>>>
>>>Troy




========================================================== 
Renaissance Autumn at the National Gallery 
A season of exhibitions, displays and events with a Renaissance theme. 

Pisanello: Painter to the Renaissance Court (24 October - 13 January 2002) 

For information and tickets: 
http://www.nationalgallery.org.uk/what/news/ren_autumn.htm



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]