Hi,
I've just started using the bindings for PyClutter 0.8, and it seems very
nice.
However, due to lack of documentation, I'll raise my questions here and
hopefully someone will have answers:
1. Why do I need to prefix my overriding methods with 'do_' - e.g. do_paint,
do_get_preferred_width, etc..  ? When I define a method using the ordinary
name (e.g. - 'paint' for example) it's not being called.
2. I relied on the clutter 0.8 C documentation for the size allocation
mechanism of a custom actor, and tried to do the same in PyClutter. E.g. -
I've overridden 'get_preferred_size' with my custom actor. However, it's
just not being called, and I have no idea why. It leaves me with no choice
but to use the old 'set_size' and 'set_position'. Am I missing something
here ?

And yes - I've used gobject.type_register (type) on my new actor.

Thanks,
  Nati

Reply via email to