← Back to team overview

elementary-dev-community team mailing list archive

Re: Dynamic Notebook

 

On 12/14/2011 09:08 AM, Daniel Foré wrote:
You can already do this with gtk.css the problem is in having a consistent solution that works for all apps, not having different visual styles per app.

Best Regards,
Daniel Foré

www.elementaryos.org <http://www.elementaryos.org>

On Dec 13, 2011, at 11:43 PM, ?????? ???????<shnatsel@xxxxxxxxx <mailto:shnatsel@xxxxxxxxx>> wrote:

There is quite interesting code in pantheon-terminal and Scratch, but those implementations are not animated.

Does using a custom widget mean that we'll be able to use custom color for active tab to make it blend with the content under that tab without hardcoding the color? Maybe not automatically, but at least defined by the app, so e.g. Marlin's tabs are white or have a grey-to-white gradient?

--
Mailing list: https://launchpad.net/~elementary-dev-community <https://launchpad.net/%7Eelementary-dev-community> Post to : elementary-dev-community@xxxxxxxxxxxxxxxxxxx <mailto:elementary-dev-community@xxxxxxxxxxxxxxxxxxx> Unsubscribe : https://launchpad.net/~elementary-dev-community <https://launchpad.net/%7Eelementary-dev-community>
More help   : https://help.launchpad.net/ListHelp



I just wrote a quick DynamicTab implemetation using cairo, it still needs a lot of tweaking for the gradients and so on. It is inspired by this one: http://screensnapr.com/e/0eNwvK.png It doesn't use the default Gtk.Notebook, but it could easily offer all required functionality and even more since it's more dynamic like that.
Here it is: http://imagebin.org/188522

Tom Beckmann (__tom)

Follow ups

References