Re: popup with colored menuitems



pks timing com wrote:

pks timing com writes:
>
> 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(). >

Thanks very much for your tipp ! With
// ...
Bin *p_bin = dynamic_cast<Bin*>(p_UIManager->get_widget("some/path"));
p_bin->get_child()->modify_fg(STATE_NORMAL, Color("red"));
//...
i was able to achieve exactly what i wanted to do.
Matthias Langer




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