widget position
| From: | Iuri Fiedoruk | Date: | Fri, 30 Mar 2001 18:12:06 +0000 |
| Subject: | widget position | ||
| Groups: | php.gtk | ||
| Request: | Send a blank email to php-gtk+get-1220@lists.php.net to get a copy of this message | ||
GTK.org FAQ says to get a position of a widget you have to use
$widget->allocation.x; or $widget->allocation.y;
How this works on php-gtk?
Plus, is there a way to control with key I want active a key_press event?
I'm trying to simply move a image on screen with keyboards keys.
Maybe I can create a little game in the future once I learn some things :)
--
Iuri Fiedoruk
Santa Maria, RS, Brazil