Re: ComboBox Menu background colour



Thanks Kjell. I will check out the other list.

On Mon, Mar 25, 2013 at 5:35 AM, Kjell Ahlstedt <kjell ahlstedt bredband net> wrote:
If you don't get a useful reply here on gtkmm-list, you can send your question to gtk-app-devel-list. I think that list is better suited for this kind of question.

Kjell

2013-03-22 04:27, Steve Holmes skrev:
Does anyone know how I can set the background colour of the menu in a ComboBox using CSS? I have  everything working to use the css file but I can't figure out how to reference the popup menu in the ComboBox. I was thinking it would be something like this:

GtkComboBox.popup-menu {
    color: red;
    background: black;
}

This does not work. I can set the style of the selected entry with:

GtkCombBox {
    color: blue;
    background: yellow;
}

Is there some documentation somewhere that would list all the objects we can reference using the css provider? The examples just show the basics.






--
Steve Holmes
M: 416-791-3868


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