Re: Canvas widget and drag and drop support

From: Date: Thu, 22 Nov 2001 00:41:35 +0000
Subject: Re: Canvas widget and drag and drop support
References: 1 2 3 4 5 6  Groups: php.gtk.dev 
Request: Send a blank email to php-gtk-dev+get-199@lists.php.net to get a copy of this message
Hello, Markus Fischer wrote: > > On Mon, Nov 19, 2001 at 03:29:11AM -0200, Manuel Lemos wrote : > > So, unless anybody more experience would > > like to have a go at this one, where I would start? > > You start by looking at ./ext_skel in php-gtk/ext. Its a > helper shell script which creates an apropriate subdirectory > with a skeleton based on the widget name you pass. This will > work for small things and most likely not for bigger things > but its a start. > > Make yourself familiar with generate/h2defs.py. This is > basically where the automation starts. This takes your gtk > widgets include files and produces *.defs file which are used > by the PHP-GTK code generator to produce C-code. > > Again, for small things all you probably need to add is the > proper definition of the constructor function of the class > and there you go. > > However, if you methods of a widget have an unknown argument > type like **char for example, you will have to write your own > 'override' function which goes into widget.overrides which is > also parsed by the code generator. > > I probably left out some more important things but feel free > to ask :) Thank you. I don't have much free time right now. Maybe I will wait for GNOME 2 Canvas support then. Regards, Manuel Lemos

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