Re: Canvas widget and drag and drop support
| From: | Markus Fischer | Date: | Mon, 19 Nov 2001 06:20:18 +0000 |
| Subject: | Re: Canvas widget and drag and drop support | ||
| References: | 1 2 3 | Groups: | php.gtk.dev |
| Request: | Send a blank email to php-gtk-dev+get-173@lists.php.net to get a copy of this message | ||
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.
> 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.
- Markus