RE: [gtk-list] <enter> signal




On 23-Jan-98 ALT2376@ritvax.isc.rit.edu wrote:
> Hello,
>       What is the signal name or int for <enter>?(tried "enter").
I'd
> like to
> call the callback function after i enter the text in the Entry box
> and hit the
> <enter> key. 

It's the activate signal. Here's an example:

 gtk_signal_connect(GTK_OBJECT(entry), "activate",
                     GTK_SIGNAL_FUNC(entry_callback),
                     "Entry event");


--
E-Mail: Tony Gale <gale@minotaur.dra.hmg.gb>
A platitude is simply a truth repeated till people get tired of
hearing it.
                -- Stanley Baldwin

The views expressed above are entirely those of the writer
and do not represent the views, policy or understanding of
any other person or official body.



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