Re: Creating composite PopupMenuItems



On 30 May 2012 12:42, Jasper St. Pierre <jstpierre mecheye net> wrote:
>> It all works up until I try to add the PopupSwitchMenuItem to the
>> St.BoxLayout, complaining about "Object 0x... proto 0x... doesn't have
>> a dynamically registered class, it has Object".
>
> Right, PopupSwitchMenuItem is a JS object, not a ClutterActor. You can
> try this.toggle.actor. If you just want a switch widget, there's
> PopupMenu.Switch.
>
Thanks, doing this.box.add(this.toggle.actor) did the trick.


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