Re: Creating composite PopupMenuItems
- From: Amy C <mathematical coffee gmail com>
- To: "Jasper St. Pierre" <jstpierre mecheye net>
- Cc: gnome-shell-list gnome org
- Subject: Re: Creating composite PopupMenuItems
- Date: Wed, 30 May 2012 14:24:52 +1000
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]