Well, worry no more. Glimmer's got the solution.
Check out this syntax:
text "Tab 1"
text "Hello World!"
text "Tab 2"
text "Bonjour Univers!"
The new tab_item in Glimmer acts as a special widget that feels like a composite by allowing you to lay widgets inside it, but still behaves like a tab item by allowing you to set the tab title text. Give it a spin, and let me know what you think.
Here is the interface produced:
By the way, this feature was implemented in response to a suggestion by Tom Robinson. So, if there are any other features that you would like to see in Glimmer, please share in a comment, an email (andy