Was GtkHTML - now dealing with POINTER callbacks?

From: Date: Sun, 14 Oct 2001 17:28:24 +0000
Subject: Was GtkHTML - now dealing with POINTER callbacks?
Groups: php.gtk.dev 
Request: Send a blank email to php-gtk-dev+get-128@lists.php.net to get a copy of this message
Well, I solved the 'non-occuring signals', the php file in the tar ball sets the signals after the $gtkhtml->begin/write calls doh - as homer simpson would have said.. I now have the callback url_requested working - eg. It calls back!.. however. url_requested sends a signal of POINTER_POINTER, and currently the gtk code does not handle pointer callbacks.. so the question now goes should all callbacks of pointers be defined as references.. - at least giving the recievers of these pointers a chance to use them..... >> from /php-gtk/main/php_gtk_object.c line 517.. case GTK_TYPE_POINTER: php_error(E_NOTICE, "%s(): internal error: GTK_TYPE_POINTER unsupported", get_active_function_name(TSRMLS_C)); ZEND_REGISTER_RESOURCE(value, arg, le_gtkhtmlstream); /* MAKE_STD_ZVAL(value); ZVAL_NULL(value); */ break; Initially the idea is just to use the gtkhtmlstream that I have already created.. - this may be better renamed to le_gtkpointer_wrapper ???? however, I dont think the ZEND_REGISTER_RESOURCE is not creating the correct type value in 'value' as I get N: rather than i:0; - (the serialized return from gtk_html_beginw) anyway anybody got Ideas to keep the ball rolling...... regards alan >----- Original Message ----- > From: Alan Knowles <alan_k@hklc.com> > To: php-gtk-dev@lists.php.net > Sent: Wed, 10 Oct 2001 09:55:40 +0800 > Subject: Re: [PHP-GTK-DEV] Re: GtkHTML next set of questions... > > the tar ball is at > gtkhtml.1.2.tgz <http://midgard.hklc.com/gtkhtml.1.2.tgz> > > there is a php file gtkhtml.php > > Markus Fischer wrote: > > >Enlight Us! > > > >Ie, post some compilable code. > > > >- Markus > > > > > > -- > PHP-GTK Development Mailing List (http://gtk.php.net/) > To unsubscribe, e-mail: php-gtk-dev-unsubscribe@lists.php.net > For additional commands, e-mail: php-gtk-dev-help@lists.php.net > To contact the list administrators, e-mail: php-list-admin@lists.php.net > > >

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