Re: GtkEntry signals



On Sunday 26 October 2003 13:49, Matthias Mann wrote:

I need to have a dialog box for creating a new folder. Like
that what is used in GtkFileSelection. Now the dialog box is
ready for use. But i need a callback handler that does
something if a user inserts/deletes any text on the GtkEntry
and can't find a signal for doing this.

I've tried "insert-at-cursor" but nothing happens. In which
case this signal will be emitted? Is there any other signal
that i can use for this?

Have you tried the "changed" signal (of the parent class GtkEditable)?

Note that if you plan to change the content from within that callback, you'll 
have to block your handler while you do that, otherwise you'll end up in a 
recursive loop with your callback being called by the changes your callback 
does ...

Cheers
-Tim




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