RE: gtk-list Digest, Vol 93, Issue 10

I answered my own question in the end but, in case anyone else has the same problem:

Gtk+ provides quite a lot of flexibility for custom theming engines to choose how they render widgets. Thus, if you don't explicitly specify which theming engine you want Gtk to use to draw your widget with (e.g. with the css "engine: none" tag to tell Gtk to use the inbuilt engine) then you can't guarantee that it will look a certain way.  

This comes with the usual caveat that it's generally more important for an application to fit in with the rest of a desktop theme than for it to look exactly a certain way.

From: gtk-list-bounces gnome org [gtk-list-bounces gnome org] on behalf of gtk-list-request gnome org [gtk-list-request gnome org]
Sent: 08 January 2012 12:00
To: gtk-list gnome org
Subject: gtk-list Digest, Vol 93, Issue 10

Send gtk-list mailing list submissions to
        gtk-list gnome org

To subscribe or unsubscribe via the World Wide Web, visit
or, via email, send a message with subject or body 'help' to
        gtk-list-request gnome org

You can reach the person managing the list at
        gtk-list-owner gnome org

When replying, please edit your Subject line so it is more specific
than "Re: Contents of gtk-list digest..."

Today's Topics:

   1. gtk3 set titlebar color (john beritz)
   2. Styling progress bars (Thomas Harty)


Message: 1
Date: Sat, 7 Jan 2012 12:47:33 -0800
From: john beritz <jberitz gmail com>
To: gtk-list gnome org
Subject: gtk3 set titlebar color
        <CAKpA-AN=nRqksZF4VhGNSj9o7XS-JmDy_kArRFVKWPcyq-mnsw mail gmail com>
Content-Type: text/plain; charset="iso-8859-1"

How can I use gtk3 to override the window title bar background color? I
assume I need to use GtkStyleContext but I'm not sure how. Could someone
show me a minimal working example please.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <>


Message: 2
Date: Sat, 7 Jan 2012 21:17:22 +0000
From: Thomas Harty <t harty1 physics ox ac uk>
To: "gtk-list gnome org" <gtk-list gnome org>
Subject: Styling progress bars
        <69464CD235B9A04DACEAA1DB7151ACAB13AB15CE EXCHNG14 physics ox ac uk>
Content-Type: text/plain; charset="iso-8859-1"

Dear all,

I'm trying to change the way my progress bars look using a css provider. I can change the way the slider (the active area in the progress bar's trough) looks by altering the ".progressbar" "background-image" property. However, even when I do this, there is a red border around the slider which I can't get rid of. I've tried changing the "border-width" property and every other property I could think of but I can't seem to get rid of it.

Does anyone know why it's there and how I alter it? I'm using Gtk-3 and Ubuntu,


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <>


gtk-list mailing list
gtk-list gnome org

End of gtk-list Digest, Vol 93, Issue 10

[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]