Matthias Langer writes:
> Is it possible to create popups with menuitems that use colred text in
> gtkmm ? At least
> p_UIManager->get_widget("some/path")->modify_text(Gtk::STATE_NORMAL,
> Gdk::Color("red"));
> doesn't work for me (with gtkmm-2.6.4) .
the menu item is probably holding another widget (my guess would
be label) which displays the text. Try:
p_UIManager->get_widget("some/path")->get_child()->modify_text()
^^^^^^^^^^^
The item doesn't necessarly hold a label ... you can get an idea
of what's in there with:
p_UIManager->get_widget("some/path")->get_child()->get_name().
Hope this gets you started.
_______________________________________________
gtkmm-list mailing list
[email protected]
http://mail.gnome.org/mailman/listinfo/gtkmm-list