Re: More adventures with subclassing

Jeffrey Ratcliffe <jeffrey ratcliffe gmail com> writes:

It seems that in subclassed a widget, any properties assigned in
->new() are not available in INIT_INSTANCE.

They reach you in a SET_PROPERTY call, after the init.  But perhaps you
already knew that.  It's quite desirable to allow property changes later
on, not just a creation time, even if that means re-doing some
initialization for a new value.

[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]