Re: Documentation

From: Date: Tue, 26 Nov 2002 11:19:13 +0000
Subject: Re: Documentation
References: 1 2 3  Groups: php.gtk.general 
Request: Send a blank email to php-gtk-general+get-2736@lists.php.net to get a copy of this message
Thanks for the help John and Steph. I managed to get the Tree working mainly by following the example in the gtk.php that comes with the installation. What took me a little while to figure out is that you can pass an ID to the node in the 4th variable of insert_node. In the example it had every node with an ID of 5. Once I figured that out that "5" was actually changeable, it took me a little while longer to read that variable with get_node_info. The reason I brought up the Tree example was to highlight the fact that I am guessing my way through this learning stage. I will try using the source code as reference. Now development is humming along nicely. The next major issue I have is to get SQLite working on a windows platform. SQLite looks great, but I have only come across install files for the .so PHP extensions. I need to get my hands on a windows dll. On a different note, since I started using wGlade to generate my interfaces I get this nasty sounding error when I run my program: Gtk-CRITICAL **: file gtkaccelgroup.c: line 188 (gtk_accel_group_attach): assert ion `g_slist_find (accel_group->attach_objects, object) == NULL' failed It repeats about 10 times, and that number increases as my program grows. I have searched for this error on Google and seen that other people have the same problem, but no solutions as yet. It's not too serious because it doesn't seem to cause any harm, but it's obviously better solved. Any thoughts? -------------------------------------- Andrew Smith The Blue Box Cape Town andrew@bluebox.co.za 021 683 6017 / 082 785 1313 ----- Original Message ----- From: "John Starkey" <jstarkey@advancecreations.com> To: "Andrew Smith" <andrew@bluebox.co.za> Cc: <php-gtk-general@lists.php.net> Sent: Tuesday, November 26, 2002 11:49 AM Subject: Re: [PHP-GTK] Documentation > I figured out the GtkCTree originally, after reading monkey's comments > on http://gtk.php.net/manual/en/gtk.gtkctree.php > > It's actually pretty simple once you get the first layer working. Can > you post the code that you're having trouble with? > > John > > On Tue, 2002-11-26 at 01:39, Andrew Smith wrote: > > Hi All > > > > I recently started a fairly major project with PHP-GTK, using the "deep-end" > > approach. This list has proven very valuable so far, but other than this I > > haven't come across any decent resources to help me out. The manual seems > > quite limited at this stage, and I find myself guessing which variables to > > pass for functions etc. For example: > > GtkCTree::insert_node > > XXX insert_node(XXX); > > > > Is there anywhere else I could be looking? How is everyone else managing to > > get by? > > > > -------------------------------------- > > Andrew Smith > > The Blue Box Cape Town > > andrew@bluebox.co.za > > 021 683 6017 / 082 785 1313 > > > > > > -- > PHP-GTK General Mailing List (http://gtk.php.net/) > To unsubscribe, visit: http://www.php.net/unsub.php > >

« previous php.gtk.general (#2736) next »