[pygtk] Custom Widgets (Movable Containers)
Alessandro Dentella
sandro at e-den.it
Fri Jan 25 23:26:17 WST 2008
On Fri, Jan 25, 2008 at 12:24:45AM +0100, Gian Mario Tagliaretti wrote:
> On Jan 24, 2008 11:39 PM, Wildemar Wildenburger <wildemar a freakmail.de> 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 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, custom items and model/veiw
> examples.
> http://svn.berlios.de/viewcvs/pygoocanvas/trunk/demo/
I really appreciated the examples, both as very encouraging since the result
is very nice and very usefull starting point for the code.
Nevertheless I met problems... Point 1. and 2. below are not at all
specific of goocanvas and I can understand they are not explained *in*
goocanvas, but are slowing down the learning process anyhow.
1. the custom widgets uses do_* functions (eg: do_simple_create_path).
Using ipython I understand they are defined in GObjectMeta but i didn't
find documentation on how to use these functions in general
2. __gproperties__: the pygtk FAQ uses it in a couple of places but where
is it explained the exact syntax and use?
3. model/view (I only now realize what mv_demo was...)
I'd really need some more explanation of how a model/view pattern apply
to these concept.
> > With which I
> > could probably manage. The bigger problem to me seems that it
> > (appearantly) is not easily available for windows.
acc! I din't realize it. I was just about to start developing something (on
Linux) but the customer will also need it on windows...
> Yep, unfortunately I'm not aware of a windows build, but it's doable.
Has anybody tried? I really have no clues on how compiling work under
windows, but I'd be willing to pay for this in case.
sandro
*:-)
More information about the pygtk
mailing list