Saturday, May 22, 2010

gnocl::fixed stack re-ordering -job done!

Solved the issue over reordering of widgets within the z-stack of the gnocl::fixed container. Needed less work than I thought. Basically a remove and add operation. Took a look at the gtkfixed.c sourcecode and found the code elements that I was looking for. Now the stacking order can be adjusted directly, with toTop, toBottom, lower and raise. Is it necessary to have an option to specify a position in the stack? Something like:

<widget-id> stackPos <widget-id> n

No comments: