Canvas widget or similar solution to let user build diagrams

View: New views
3 Messages — Rating Filter:   Alert me  

Canvas widget or similar solution to let user build diagrams

by FH.Spam@free.fr :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hi everybody,

I have been toying around with PHP-GTK for the past few days and have
been pleasantly surprised at the possibilities offered. Being able to
use (and re-use) PHP for GUI apps is for me a big breakthrough against
bulkier Java and C++.

I am looking for a specific widget or behaviour though, and have not
been able to find explicit documentation relating to it.
The widget in question is what seems to be called a 'canvas' : an area
on the graphic interface where objects (represented by images) can be
laid by the user, moved around, linked, accessed, deleted etc. so as to
allow drawing schemes, diagrams, flows etc.
Throughout my searches I have seen mentions of GnomeCanvas, but nothing
in PHP-GTK.
Does such a widget exist ? Or can this result be achieved using other
methods ? I have tried the DrawingArea widget but have found myself
facing a lack of documentation or tutorials to achieve my goals.

Thank you for your advice,

François





--
PHP-GTK General Mailing List (http://gtk.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


Re: Canvas widget or similar solution to let user build diagrams

by Elizabeth M Smith :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

FH.Spam@... wrote:

> Hi everybody,
>
> I have been toying around with PHP-GTK for the past few days and have
> been pleasantly surprised at the possibilities offered. Being able to
> use (and re-use) PHP for GUI apps is for me a big breakthrough against
> bulkier Java and C++.
>
> I am looking for a specific widget or behaviour though, and have not
> been able to find explicit documentation relating to it.
> The widget in question is what seems to be called a 'canvas' : an area
> on the graphic interface where objects (represented by images) can be
> laid by the user, moved around, linked, accessed, deleted etc. so as to
> allow drawing schemes, diagrams, flows etc.
> Throughout my searches I have seen mentions of GnomeCanvas, but nothing
> in PHP-GTK.
> Does such a widget exist ? Or can this result be achieved using other
> methods ? I have tried the DrawingArea widget but have found myself
> facing a lack of documentation or tutorials to achieve my goals.
>
> Thank you for your advice,
>
> François


Hmmm, you might want to wait until the google summer of code is over, we
have a bunch of new functionality coming for the drawingarea widget that
will let you draw on it with cairo, which makes it really quite
powerful.  In addition there are stand alone widgets like gnomecanvas
that could be wrapped into a php-gtk extension and used for your
program.  But right now there is no such functionality.  If you know a
little C the php-gtk devs could use some help ;)

Thanks,
Elizabeth

--
PHP-GTK General Mailing List (http://gtk.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


Re: Re: Canvas widget or similar solution to let user build diagrams

by FH.Spam@free.fr :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Elizabeth M Smith a écrit :

> FH.Spam@... wrote:
>  
>> Hi everybody,
>>
>> I have been toying around with PHP-GTK for the past few days and have
>> been pleasantly surprised at the possibilities offered. Being able to
>> use (and re-use) PHP for GUI apps is for me a big breakthrough against
>> bulkier Java and C++.
>>
>> I am looking for a specific widget or behaviour though, and have not
>> been able to find explicit documentation relating to it.
>> The widget in question is what seems to be called a 'canvas' : an area
>> on the graphic interface where objects (represented by images) can be
>> laid by the user, moved around, linked, accessed, deleted etc. so as to
>> allow drawing schemes, diagrams, flows etc.
>> Throughout my searches I have seen mentions of GnomeCanvas, but nothing
>> in PHP-GTK.
>> Does such a widget exist ? Or can this result be achieved using other
>> methods ? I have tried the DrawingArea widget but have found myself
>> facing a lack of documentation or tutorials to achieve my goals.
>>
>> Thank you for your advice,
>>
>> François
>>    
>
>
> Hmmm, you might want to wait until the google summer of code is over, we
> have a bunch of new functionality coming for the drawingarea widget that
> will let you draw on it with cairo, which makes it really quite
> powerful.  In addition there are stand alone widgets like gnomecanvas
> that could be wrapped into a php-gtk extension and used for your
> program.  But right now there is no such functionality.  If you know a
> little C the php-gtk devs could use some help ;)
>
> Thanks,
> Elizabeth
>
>  
Hi Elizabeth (and everybody)

Hope the summer was great ;o)
Any news on the 'canvas' front ?
Thanks in advance,

François



--
PHP-GTK General Mailing List (http://gtk.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

LightInTheBox - Buy quality products at wholesale price