Re: on signals in an entry widget



On Thu, 2005-11-24 at 23:19 +0800, Chris Clarin wrote:
hi all,

i am a beginner in using gtk and i would just like to ask which signal i
should use if i want to "activate" my entry widget on pressing "tab" or when
i leave my entry widget (i.e., i want changes to take place when i hit tab,
return key or when my cursor leaves the entry widget). I tried using
"activate" but it only signals on the return key while "changed" signals
everytime change something. So what could i use to ensure that the text in
my entry widget only takes effect when tab is pressed, or the return key or
when i leave that specific widget?

Did you try the "focus-out-event"? You'd still need to check if the
widget contains something new, but that should be doable.

Axel.




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