GtkSourceView now works!

From: Date: Mon, 06 Mar 2006 22:09:12 +0000
Subject: GtkSourceView now works!
Groups: php.gtk.dev 
Request: Send a blank email to php-gtk-dev+get-2503@lists.php.net to get a copy of this message
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: > <?php > > $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(); > > ?> I 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/

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