note 177 added to gtk.signals.events.php
| From: | thomasgm at hotmail dot com | Date: | Sat, 21 Sep 2002 21:12:14 +0000 |
| Subject: | note 177 added to gtk.signals.events.php | ||
| Groups: | php.gtk.webmaster | ||
| Request: | Send a blank email to php-gtk-webmaster+get-597@lists.php.net to get a copy of this message | ||
It's originate from the function().
e.g. function ($event) {
$event_type = $event->type;
after this you can use switch (in this case) to get the event type specified at the function.
Like
switch ($event_type) {
case 2:
// bla bla bla...
}
}
Understood :)?
http://gtk.php.net/manual/pt_BR/gtk.signals.events.php