View Single Post
Posts: 1,147 | Thanked: 2,776 times | Joined on Dec 2010
So, today I've been taking a look at extending the experimental code. Apparently it looks a lot better on my PC than it does on the laptop as it uses the symbolic icons from close and the button looks identical. On the laptop the close icon is a red cross like on server-side decorations.

I'm considering refactoring it. I'm thinking a HildonStackedContent class. It could have members like a title, content widget and menu. On changing the visible item on the stack, the windows subtitle could be set (if present) and a menu displayed (again, if present). If a non HildonStackedContent is added on changing visible page a type check would avoid any errors.

The big question at the moment is whether to leave the GtkStack part of HildonWindow or separate it like that Fremantle version into a HildonWindowStack. As it is at the moment it makes signals a lot easier, separated it might make it cleaner, might make it possible to use stacks in other elements etc. Time to play around a bit more ��

The Following 4 Users Say Thank You to Android_808 For This Useful Post: