Hello, colleagues !

I have to change background color for some Gtk::Box'es and its child
widgets. I make

Gdk::Color myCol;
myCol.set_rgb_p (0.0, 0.5, 1.0);
Glib::RefPtr<RcStyle> prcStyle = hBox->get_modifier_style ();
prcStyle->set_bg (Gtk::STATE_NORMAL, myCol);
hBox->modifier_style (prcStyle);

but nothing changes, for another widgets, such as Gtk::ProgressBar this
works fine.

Thanks a lot,
Yuriy Rusinov.

Attachment: signature.asc
Description: OpenPGP digital signature

_______________________________________________
gtkmm-list mailing list
[email protected]
http://mail.gnome.org/mailman/listinfo/gtkmm-list

Reply via email to