Re: gtkhtml: yes - working!
| From: | Alan Knowles | Date: | Wed, 26 Sep 2001 01:01:42 +0000 |
| Subject: | Re: gtkhtml: yes - working! | ||
| Groups: | php.gtk.dev | ||
| Request: | Send a blank email to php-gtk-dev+get-76@lists.php.net to get a copy of this message | ||
this is the modification to the html.defs file.
Note the second parameter is the string length - I will probably remove that from the next version -
as the calc could be done in C - and the method would be clearer to end users...
Hopefully, I will get some time in the next few evenings to complete more of the port. (especially
the editor component)
regards
alan
(method load_from_string
(of-object HTML (Gtk))
(c-name gtk_html_load_from_string)
(parameter (type-and-name string str))
(parameter (type-and-name int len))
(return-type none)
)
>----- Original Message -----
> From: Rich Payne <rdp@talisman.alphalinux.org>
> To: php-gtk-dev@lists.php.net
> Sent: Tue, 25 Sep 2001 08:58:00 -0400 (EDT)
> Subject: [PHP-GTK-DEV] Re:Re: [PHP-GTK-DEV] gtkhtml: yes - working!
>
>
>
> Alan,
>
> Any change of you putting that up as a tar file for the rest of
> us to play with?. I have your original work but load_from_string() is
> undefined.
>
> thanks,
> --rdp
>
> >Thanks to Mark, the simple answer to why it was segfaulting was..
>
> >Code A will cause a segfault, code B wont - This is probably due to the
> >definition of \
> >the Object (object HTML
> > (in-module Gtk)
> > (parent Frame (Gtk))
> > (c-name GtkHTML)
> >A)
> >where it's parent must be a frame
> >
> >- There is now a HTML editor + viewer in PHP-GTK :)
> >
> >regards
> >
> >alan
>
>
>
> --
> Rich Payne
> rpayne@alphalinux.org www.alphalinux.org
>
>
> --
> 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
>
>
>