Gtk::Widget::modify_text(...)



I'm using gtkmm-2.4.11 and would like to know why after

Gtk::Widget *p_widget;
p_widget = _rp_UIManager->get_widget("SomePath/SomeElement");
p_widget->set_sensitive(false);
p_widget->modify_text(Gtk:://STATE_INSENSITIVE, Gdk::Color("red"));

the text connected to this statements is still grey.

Thanks,
Antonio



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