[gtkmm] How to determine the background color of the Gtk::Entry



Hi all,

I am trying to set the backgroung color of an Entry, i.e. the editable area.
I first try setting the Style of the entry itself, than read that it can't
be done to windowless widgets.
So I added the Entry to EventBox and changed the EventBox's Style and this
again didn't work.

In TextView it is possible working on it's TextBuffer.
What is the way to do it for Entry ?

BTW: I am tring to create an Entry with a background color of it's window,
so it will looks like
a Label, is there a better/simple way to it.

Thanks in advance,
Eli




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