Text and Foreground Color of Gtk::ComboBox and Gtk::CheckButton on INSENSITIVE STATE
- From: "Marcelo David" <davidskris gmail com>
- To: gtkmm-list <gtkmm-list gnome org>
- Subject: Text and Foreground Color of Gtk::ComboBox and Gtk::CheckButton on INSENSITIVE STATE
- Date: Wed, 6 Aug 2008 10:21:42 -0300
Hi,
How can I change de Text or/and Foreground Color of a Gtk::ComboBox and Gtk::CheckButton on a INSENSITIVE STATE?
I'm using like this:
==================start
Gtk::ComboBox *combo;
Gtk::CheckButton *button;
(...)
Gdk::Color color;
color.set_rgb( 0, 0, 0 );
combo->modify_text( Gtk::STATE_INSENSITIVE, color );
combo->modify_text( Gtk::STATE_INSENSITIVE, color );
button->modify_fg( Gtk::STATE_INSENSITIVE, color );
button->modify_fg( Gtk::STATE_INSENSITIVE, color );
==================end.
But on insensitive state it doesnt work.
Thanks.
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]