I am creating a WaitBox widget but I am unable to do a local grab on it. What I need is –
After creating a mainwindow, if user presses some button (say diff of two large directories), I will open a WaitBox. Now only this wait-box should have focus and no Mouse Events should pass on to mainwindow. But I am even able to close MainWindow if I click on close button, so in short I am not grabbing WaitBox window correctly. If I do grabGlobal it works, but it locks my WindowManager. Please let me know if you have some way for keeping WaitBox widget on top of MainWindow and disabling mainwindow for taking any mouse events.