Re: [gtkmm] changing text color of gtkmm label
- From: Bill Dewey <wdewey1 comcast net>
- To: gtkmm list <gtkmm-list gnome org>
- Subject: Re: [gtkmm] changing text color of gtkmm label
- Date: Thu, 11 Dec 2003 03:15:15 -0800
I just want to make sure I understand this right. One way to implement
this is to:
myLabel::modify_text( myLabel::get_state(), Gdk::get_red());
This should make the text red for the current state of my label. Does
that look right? (I am currently at home and don't have access to my
work computer)
Bill
try this:
void Gtk::Widget::modify_text( Gtk::StateType state, const Gdk::Color&
color )
On Mon, 2003-12-08 at 14:47, wdewey1 comcast net wrote:
I am trying to change the color of a label. The gtkmm documentation directed me to the pango::attrlist, but I could not find any info on how to format the markup text. It just kept referencing the markup format which I could not find. Does anyone know of an example or where the documentation to the markup format is? Thanks in advance!
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]