Re: Canvas widget and drag and drop support
| From: | Manuel Lemos | Date: | Mon, 19 Nov 2001 05:29:11 +0000 |
| Subject: | Re: Canvas widget and drag and drop support | ||
| References: | 1 2 3 4 | Groups: | php.gtk.dev |
| Request: | Send a blank email to php-gtk-dev+get-175@lists.php.net to get a copy of this message | ||
Hello,
Markus Fischer wrote:
>
> On Mon, Nov 19, 2001 at 02:55:07AM -0200, Manuel Lemos wrote :
> > Steph wrote:
> > >
> > > no imlib support. Everyone's a-waiting on pixbuf. We're talking PHP-GTK2
> > > here.
> >
> > I am not sure what you mean. There are several nice Canvas widgets that
> > could be added to PHP-GTK for drawing vectorial graphics like this:
> >
> > http://freshmeat.net/projects/gtkcanvas/
>
> Yes, but this one for example needs imlib to support images
> within the canvas which isn't available to PHP-GTK yet.
Ok, later then.
>
> > or even this:
> >
> > http://diacanvas.sourceforge.net/
> >
> > I don't know if anybody is interested to add support to them in PHP-GTK,
> > so I am asking what does it take to do to add support to them?
>
> Well, methings everyone is interested :-)
>
> What it takes? Knowledge of C and how to write PHP-GTK
> extension; nothing more. It depends on the complexity of the
> widget. Easy widgets don't even a line of code because most
> of it can be autogenerated.
>
> However, If widget starts to pass all kind of pervert C
> structur pointers around with link list on their function
> cals you will get some problems porting them.
>
> Generally, if you start working on a porting widgets to
> PHP-GTK, thats the list to ask you concrete question.
Right, actually this interests me more than the other because it already
has UML diagramming elements. So, unless anybody more experience would
like to have a go at this one, where I would start? I even haven't
started looking at PHP-GTK because I have no idea what to look for.
Regards,
Manuel Lemos