Re: [pygtk] Custom Widgets (Movable Containers)

2008-01-27 Thread Wildemar Wildenburger
Gustavo J. A. M. Carneiro wrote: A) Some people believe Gtk+ already has most things needed to draw complex GUIs, and you don't really need a "canvas". Your little program is an excellent proof-of-concept of this idea; Damn! ;) I'd sure like to see goocanvas integrated with (py)GTK.

Re: [pygtk] Custom Widgets (Movable Containers)

2008-01-27 Thread Gustavo J. A. M. Carneiro
On Thu, 2008-01-24 at 18:14 +0100, Wildemar Wildenburger wrote: > Hello :) > > I'm trying to create a note-taking application, very much "inspired" by > the KDE-app Basket (BasKet, I don't know). I've made a gritty little > video of Basket in use, if you don't know it: > > (it's DivX, about

Re: [pygtk] Custom Widgets (Movable Containers)

2008-01-25 Thread Wildemar Wildenburger
John Stowers wrote: I estimate that you will spend more time creating a canvas like implementation built atop DrawingArea then it will take to create the windows binaries. The bonus is that by starting with goocanvas you can create something functional immediately. Hehe, that might be more co

Re: [pygtk] Custom Widgets (Movable Containers)

2008-01-25 Thread Alessandro Dentella
On Fri, Jan 25, 2008 at 12:24:45AM +0100, Gian Mario Tagliaretti wrote: > On Jan 24, 2008 11:39 PM, Wildemar Wildenburger <[EMAIL PROTECTED]> wrote: > > Hi Wildemar, > > > Thank you for that suggestion, John. From (briefly) looking around, > > pygoocanvas doesn't seem to be terribly well document

Re: [pygtk] Custom Widgets (Movable Containers)

2008-01-25 Thread John Stowers
On Jan 25, 2008 10:00 PM, Wildemar Wildenburger <[EMAIL PROTECTED]> wrote: > Gian Mario Tagliaretti wrote: > > The reference manual covers 100% of the API, the xml files are shipped > > with the source, I've put a copy here: > > http://www.gnome.org/~gianmt/pygoocanvas/

Re: [pygtk] Custom Widgets (Movable Containers)

2008-01-25 Thread Wildemar Wildenburger
Gian Mario Tagliaretti wrote: The reference manual covers 100% of the API, the xml files are shipped with the source, I've put a copy here: http://www.gnome.org/~gianmt/pygoocanvas/ I and Gustavo wrote plenty of examples, they come with the source tarball as well, you have simple examples, custo

Re: [pygtk] Custom Widgets (Movable Containers)

2008-01-24 Thread Gian Mario Tagliaretti
On Jan 24, 2008 11:39 PM, Wildemar Wildenburger <[EMAIL PROTECTED]> wrote: Hi Wildemar, > Thank you for that suggestion, John. From (briefly) looking around, > pygoocanvas doesn't seem to be terribly well documented. The reference manual covers 100% of the API, the xml files are shipped with the

Re: [pygtk] Custom Widgets (Movable Containers)

2008-01-24 Thread Wildemar Wildenburger
John Stowers wrote: How would I draw the boxes efficiently? When moving the Boxes around, the different borders will unhinge a little (so you can see cracks between them) and I don't want that. I have considered drawing the border as a whole and then overlaying the left and right sides with eve

Re: [pygtk] Custom Widgets (Movable Containers)

2008-01-24 Thread John Stowers
> > How would I draw the boxes efficiently? When moving the Boxes around, > the different borders will unhinge a little (so you can see cracks > between them) and I don't want that. > I have considered drawing the border as a whole and then overlaying the > left and right sides with eventboxes

[pygtk] Custom Widgets (Movable Containers)

2008-01-24 Thread Wildemar Wildenburger
Hello :) I'm trying to create a note-taking application, very much "inspired" by the KDE-app Basket (BasKet, I don't know). I've made a gritty little video of Basket in use, if you don't know it: (it's DivX, about 40 seconds and roughly 1MB). I have also attached a screenshot and the code o