remapping return key in a dialog i am new to x programming so please bear with me i am trying to have a dialog box that returns it s value upon the user entering a new value and hitting the return key don t want to have a done button the piece of code below will work if i exclude the xtnvalue argument but will not work as is can someone shed some light on this or suggest a better way ultimately i will have several areas active at the same time to allow a user to modify parameters in the program thanks for your help karen rogers dupont rogerskm pluto es dupont com code starts here void doit printf entered the doit function n exit main argc argv int argc char argv widget toplevel widget outer xtappcontext app con widget samples arg args static xtactionsrec key actions doit doit toplevel xtvaappinitialize app con test null argc argv null null outer xtcreatemanagedwidget paned panedwidgetclass toplevel null zero xtappaddactions app con key actions xtnumber key actions xtsetarg args xtnlabel enter value xtsetarg args xtnvalue samples xtcreatemanagedwidget samples dialogwidgetclass outer args xtoverridetranslations samples xtparsetranslationtable key return doit xtrealizewidget toplevel xtappmainloop app con
