Re: Canvas widget and drag and drop support
| From: | Steph | Date: | Mon, 19 Nov 2001 05:23:08 +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-174@lists.php.net to get a copy of this message | ||
I shall say this once more and then go firmly to sleep ...
The GTK development team are phasing out the use of imlib. GtkCanvas is being re-written to work
with GdkPixbuf, which is integrated into GTK+2. There is therefore absolutely no point in porting
GtkCanvas into PHP-GTK at this moment in time, even if we could, which we can't because as
Markus so clearly stated, we don't have imlib.
Schlaf gut!
ps Markus, I did my homework this time ;)
----- Original Message -----
From: "Markus Fischer" <mfischer@guru.josefine.at>
To: "Manuel Lemos" <mlemos@acm.org>
Cc: <php-gtk-dev@lists.php.net>; "Steph" <Steph.Fox@btinternet.com>
Sent: Monday, November 19, 2001 6:20 AM
Subject: Re: [PHP-GTK-DEV] Canvas widget and drag and drop support
> 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