Re: popup with colored menuitems



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().
 > 

I wrote a short program to stuff a plain old menu item into
a window.  Looks like the child is an AccelLabel.  modify_text()
doesn't cut it for labes - you'll want to use modify_fg() instead.



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