GNOME Bugzilla – Bug 590778
Add ShellGenericContainer, which makes it possible to write containers in JS
Last modified: 2009-08-05 15:40:31 UTC
Subclass ClutterGroup (to avoid having to implement all of dispose, raise, lower, add, etc.), and have it proxy the allocation requests out into signals. We have to group up the two out parameters into a struct unfortunately. Included example code in the C file source for now.
Created attachment 139899 [details] [review] Add ShellGenericContainer, which makes it possible to write containers in JS
*** Bug 590779 has been marked as a duplicate of this bug. ***
>+ ShellGenericContainerAllocation *alloc = g_new0 (ShellGenericContainerAllocation, 1); gslice! Looks good. Presumably it can be extended with more signals in the future for additional functionality?
Yep, should be straightforward to add more. Thanks for review!