On Fri, Feb 25, 2011 at 2:50 PM, Murray Cumming <[email protected]> wrote:
>>
>> Being that the JSON objects are using C-types it's not clear to me yet
>> how to script a custom actor using cluttermm. I'll look at this more
>> deeply tomorrow.
>
> You can define a custom GType when deriving in C++. You must call the
> virtual base constructor (weirdness ahoy) in your initializer list:
> http://git.gnome.org/browse/gtkmm-documentation/tree/examples/book/custom/custom_widget/mywidget.cc#n26
>
> Then you can presumably just mention that GType name in your JSON
> script.
>
> If it helps, you can add regular GObject properties by just using
> Glib:property_proxy<> as a member variable.

Thanks Murray. I'll take a look at this and see what I come up with.

Chris
_______________________________________________
gtkmm-list mailing list
[email protected]
http://mail.gnome.org/mailman/listinfo/gtkmm-list

Reply via email to