Re: Signal handler methods
| From: | Andrei Zmievski | Date: | Mon, 11 Jul 2005 23:14:58 +0000 |
| Subject: | Re: Signal handler methods | ||
| References: | 1 2 3 4 | Groups: | php.gtk.dev |
| Request: | Send a blank email to php-gtk-dev+get-1437@lists.php.net to get a copy of this message | ||
Yes.
-Andrei
On Jul 11, 2005, at 1:23 PM, Scott Mattocks wrote:
Andrei Zmievski wrote:We're not going to wrap gtk_signal_* funcs automatically. Besides, they are deprecated. But I've been adding relevant methods to GObject actually.I found this in the phpg_gobject.c file. Is this one of the relevant methods? If so, can I just call it with $widget->block($signalHandlerId)? static PHP_METHOD(GObject, block) {guint handler_id;NOT_STATIC_METHOD();if (!php_gtk_parse_args(ZEND_NUM_ARGS(), "i", &handler_id)) { return; }g_signal_handler_block(PHPG_GOBJECT(this_ptr), handler_id);} Thanks, Scott -- PHP-GTK Development Mailing List (http://gtk.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php