If I use XmIconButton in a menu, I get the following warning Name fileM Shouldn't XmIconButton be a subclass of XmPushButton and be allowed as a child of RowColumn? |
|||
|
User login |
|
|
All trademarks and copyrights on this page are properties of their respective owners. The rest is copyright © Integrated Computer Solutions Inc., 2003 - 2012 |
Andriy Konoval
Not reproduce .
It is fixed in newest openmotif versions.
fredk
Re: XmIconButton in a menu, why not?
You can quiet this message by setting XmNisHomogeneous=False for the menu (RowColumn)
--
Fred K
dpeterc
Re: XmIconButton in a menu, why not?
Thank you very much for the tip regarding the warning.
Actually, now that XmPushButton can have XmNlabelType XmPIXMAP_AND_STRING, and it works correctly, XmIconButton becomes almost unnecessary.
So I prefer to use XmPushButton in my applications.