Re: GtkSourceView now works!
| From: | Steph Fox | Date: | Mon, 06 Mar 2006 22:14:22 +0000 |
| Subject: | Re: GtkSourceView now works! | ||
| References: | 1 | Groups: | php.gtk.dev |
| Request: | Send a blank email to php-gtk-dev+get-2504@lists.php.net to get a copy of this message | ||
Yep, will look into it - along with everything else I keep promising - when I'm clear of this stuff in front of me (should be 2 days away).
Please can someone get rid of all those PHP-GTK 1 extensions that _don't_ compile at all under PHP-GTK 2 and shouldn't be in current CVS?
- Steph
----- Original Message ----- From: "Anant Narayanan" <anant@kix.in>
To: "[PHP-GTK-DEV]" <php-gtk-dev@lists.php.net>
Sent: Tuesday, March 07, 2006 12:09 AM
Subject: [PHP-GTK-DEV] GtkSourceView now works!
Hi all, The GtkSourceView extension finally works! You can test it out by adding --enable-sourceview while running ./configure. I just committed the changes to CVS. The .defs file is pretty limited, but I checked that the set_show_line_numbers and a couple of other basic method works fine with the GtkSourceView widget:<?phpI will now focus on filling in the defs one by one, and overriding methods wherever necessary, while I wait for a reply from Tom on the Scintilla extension. And, the extension will work only on *nix for now, unless Steph or someone else finds time to port the extension to windows too. Thanks to all! Cheers, -- Anant Find Freedom, Go Open Source! http://www.kix.in/ -- PHP-GTK Development Mailing List (http://gtk.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php __________ NOD32 1.1380 (20060125) Information __________ This message was checked by NOD32 antivirus system. http://www.eset.com$win = new GtkWindow(); $source = new GtkSourceView(); $source->set_show_line_numbers(true); $source->set_show_line_markers(true);$win->add($source); $win->maximize(); $win->show_all(); $win->set_title("GtkSourceView Demo"); $win->connect_simple("destroy", array("Gtk", "main_quit"));Gtk::main();?>