Date: prev next · Thread: first prev next last
2012 Archives by date, by thread · List index


Hello,

It seems it won't hurt if GTK themes could do some way of prelighting
of inactive tabs on mouse hover. Although GTK doesn't support tab
prelighting, we may be able to pass GTK_STATE_PRELIGHT instead of
usual GTK_STATE_ACTIVE for inactive tabs.
This has a side effect though: some themes which don't support
GTK_STATE_PRELIGHT, render the tabs as active, but smaller in size.
Though it isn't quite correct from POV of those themes, it still gives
the user feedback that the tab is "alive" and clickable. Other themes,
which will be aware of this behavior, will render nice prelit tabs (I
plan to implement this in oxygen-gtk).
So, I'm attaching a patch which will do what's described above.

Another approach would be setting GObject data which would tell the
theme that tab is prelit. In this case no theme will render inactive
tabs as active, but prelight will only work with those themes which
are aware of this GObject data.

Regards,
Ruslan

Attachment: 0002-GTK-theming-pass-tab-prelight-state-to-theme-on-CTRL.patch
Description: Binary data


Context


Privacy Policy | Impressum (Legal Info) | Copyright information: Unless otherwise specified, all text and images on this website are licensed under the Creative Commons Attribution-Share Alike 3.0 License. This does not include the source code of LibreOffice, which is licensed under the Mozilla Public License (MPLv2). "LibreOffice" and "The Document Foundation" are registered trademarks of their corresponding registered owners or are in actual use as trademarks in one or more countries. Their respective logos and icons are also subject to international copyright laws. Use thereof is explained in our trademark policy.