Re: Event Question




> I would like to send some text in a entry widget to a server when you hit
> the return key.  Would have I have to wait for key_down events and then
> test for the return key for each keypress?  Can someone help me out?

just attach a callback to the "activate" signal, which is emitted whenever
the user pressed return.

IAin



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