Re: GtkEntry Mystery

From: Date: Mon, 06 Nov 2006 07:06:39 +0000
Subject: Re: GtkEntry Mystery
References: 1  Groups: php.gtk.dev 
Request: Send a blank email to php-gtk-dev+get-3520@lists.php.net to get a copy of this message
Hey Ron,
Problem: No character shows up on first call to GtkEntry::get_chars()
This is expected behaviour:
$entry->connect("key-press-event", "preProcess");
You're using the key-press-event signal which means that preProcess is actually called before the character is even inserted into the entry. Change the signal to "changed" and all is well. - Anant

« previous php.gtk.dev (#3520) next »