Re: Using GtkScintilla
| From: | Steph | Date: | Fri, 28 Mar 2003 03:21:27 +0000 |
| Subject: | Re: Using GtkScintilla | ||
| References: | 1 | Groups: | php.gtk.general |
| Request: | Send a blank email to php-gtk-general+get-3163@lists.php.net to get a copy of this message | ||
> I'd like to know how can I use GtkScintilla under PHP-GTK. I found
php_gtk_scintilla.dll, but know I don't know how to make my scripts able
to use GtkScintilla class.
> Have you got a simple example about how to use GtkScintilla?Can you
send it to me??
It's the same as any other widget.
<?
dl('php_gtk.' . (strstr(PHP_OS, 'WIN') ? 'dll' : 'so'));
$window = &new GtkWindow();
$window->connect_object('destroy', array('gtk', 'main_quit'));
$scintilla = &new GtkScintilla();
$window->add($scintilla);
$window->show_all();
gtk::main();
?>
Experimentation is good for the soul ;-)