Re: GtkHTML3 for PHP-GTK

From: Date: Sat, 24 Feb 2007 15:17:16 +0000
Subject: Re: GtkHTML3 for PHP-GTK
References: 1  Groups: php.gtk.dev 
Request: Send a blank email to php-gtk-dev+get-3723@lists.php.net to get a copy of this message
On 2/23/07, Anant Narayanan <anant@kix.in> wrote:
Hi all, GtkHTML3 is now available for PHP-GTK. To use the extension, cd to your '/ext' directory in the PHP-GTK sources and then: $ svn co svn://svn.cweiske.de/php-gtk-edge/trunk/ext/html Run ./buildconf, ./configure, make, make install and you should be ready to go. (Assuming you already have GtkHTML installed, if you don't get it here: http://ftp.gnome.org/pub/GNOME/sources/gtkhtml/3.0/). There's a sample script: /ext/html/demos/gtkhtml.php GtkHTML3 offers some nice features and is a wonderful widget to use. If Elizabeth or Steph ever get around to compiling GtkHTML3 on Windows, this widget should be a great replacement for GtkMozembed which isn't available on that platform. But the main attraction of GtkHTML3 is the ability to _edit_ HTML, and so when coupled with GtkSourceView, is quite powerful.
- here follow in attachment with GtkHTML::export() method ; This method accept a mime type (text/plain or text/html) and return widget content as expected. - for interested users, there is an example of HTML editor at this location ; it implement nearly all neaded and simple features : http://quinton.free.fr/php/gtk/html/ thanks Anant.

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