GtkEntry "insert-at-cursor" not working
| From: | HalfBrian | Date: | Sun, 07 Sep 2008 02:13:01 +0000 |
| Subject: | GtkEntry "insert-at-cursor" not working | ||
| Groups: | php.gtk.general | ||
| Request: | Send a blank email to php-gtk-general+get-8292@lists.php.net to get a copy of this message | ||
I am trying to write an image resizer and I need to get two boxes to update
when one of them is updated (the width and height boxes, so that
fixed-aspect is possible) I figured out that I should use the
insert-at-cursor of a GtkEntry to make that feasible. I have the following
code:
$txtWidth = new GtkEntry();
$txtWidth->connect_simple("insert-at-cursor","test");
Theoretically, it should work, but test() never gets called. If I change
"insert-at-cursor" to "backspace", it works (test() is called).
Any ideas? Am I going about this the wrong way?
-HalfBrian
--
View this message in context: http://www.nabble.com/GtkEntry-%22insert-at-cursor%22-not-working-tp19353621p19353621.html
Sent from the Php - GTK - General mailing list archive at Nabble.com.