Save the world – waste less pixels
31. March 2009
Yesterday, I started to implement Murray‘s/Mathias‘ idea to add the ability in GTK+ to add a widget beside the tabs of a notebook. This makes of course only sense in application where only a few notebook pages are used usually and there is a lot of space left in the tab area. But of course it will also allow to add little combo boxes in this area like Mozilla Firefox, to give the user some additional features for the notebook navigation.
The basic code is now in place and it is less complicated then I expected. Anyway, there is still some stuff to do:
- Position of the widget (like GTK_PACK_START/END)
- whether the widget should take the whole space available (GTK_EXPAND)
The API is pretty simple up to now and only consists of gtk_notebook_set_tab_widget (). Patch coming soon to your nearby bugzilla.
31. March 2009 at 18:15
See bug #116650 😛
31. March 2009 at 19:09
Well, not as drastic as I would have liked, but whatever.
http://i44.tinypic.com/s2sh7r.png