Re: Still having problems with Mx.Widget subclassing
- From: Nox Deleo <noxdeleo googlemail com>
- To: "clutter-list gnome org" <clutter-list gnome org>
- Subject: Re: Still having problems with Mx.Widget subclassing
- Date: Sun, 10 Feb 2013 12:03:02 +0000
That did the trick. I had about half of MxStack's (sizeable) paint implementation redone in Python, but allocate_preferred_size is a lot shorter :). Mx.Widget.do_paint(self) and Mx.Widget.do_allocate(self, box, flags) worked for the chaining up. The 'super' method I usually use for some reason wasn't passing self properly. Maybe a mistake on my end, but everything is finally working as it should. Massive thanks to you both.
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]