RE: [Xbae-discuss] how to prevent editing Widget ?
Brought to you by:
dannybackx
From: Williams, D. <dan...@lm...> - 2004-06-30 15:20:11
|
In your XmNenterCellCallback, set "doit" to false. For example: void enterCellCb(XbaeMatrixEnterCellCallbackStruct cd) { cd->doit = false; return; } This is assuming that you've attached enterCellCb() to the XmNenterCellCallback, and that you are using the default translations. You can read more about "doit", the XmNenterCellCallback or the default translations here: http://xbae.sourceforge.net/ |