re button popup menus with athena widgets ok i m being driven batty trying to create popup menus ie button press and a menu appears i would really like to use the standard athena classes to achieve this goal but for my best attempts i cannot get the menus to come up without using a menubutton as the parent of the widget tree i know this should be possible to to with an xtpopupspringloaded and a little twiddling but something is escaping me read the documentation for the simplemenu positioning the simplemenu the reference is to the r documentation i had not done this before but in less than mins i knocked up the following wcl application that does what you want using a command widget even if you are not familiar with wcl the example is so simple it should be pretty obvious what is going on the crucial thing is the use of the xawpositionsimplemenu and menupopup actions ari wcchildren app app wccreate command app wcpopups menu app translations override n btn down xawpositionsimplemenu menu menupopup menu menu wccreate simplemenu menu wcchildren one two three one wccreate smebsb two wccreate smebsb three wccreate smebsb jim j k wight newcastle ac uk department of computing science university of newcastle tel newcastle upon tyne ne ru united kingdom fax
