Re: How to change color of Gtk::RadioButton's label?



Hey Everyone,

It appears that setting the label foreground text color of the check
button widget suits Volosatov's purpose.  However, I was trying to
figure out how to set the *background* color in the check button widget
label; and in that, I was not successful.  It appeared to me that I
should have been able to do it using Pango, but I was not able to get a
valid attribute list from the Pango layout derived from the widget.  Can
anyone point me at some doc resource from which I might glean the answer
to this question?

Perhaps my question is best suited for the gtk+ list?


Remember that a label does not have a Gdk::Window so you will have to put it inside an eventbox and change the background of the eventbox.

hope this helps.

--
Marco



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