closing lbc dialog using custom event handler?

  • From: Alex Hall <mehgcap@xxxxxxxxx>
  • To: programmingblind <programmingblind@xxxxxxxxxxxxx>
  • Date: Fri, 9 Jul 2010 09:22:45 -0400

Hi all,
I am trying to adapt the fruit basket example in the pyLbc zip. I
understand how to make dialogs and all that, but I do not understand
how to close my dialog with a custom event handler. Basically, I want
the dialog to go away once the user hits escape or alt-f4, or clicks
the "Close" button. I know I can use Button_Close to see if the
clicked button was the Close button, and capture keyUp events to test
for alt-f4 and escape, but what is the actual command to kill the
dialog and end the process? TIA!

-- 
Have a great day,
Alex (msg sent from GMail website)
mehgcap@xxxxxxxxx; http://www.facebook.com/mehgcap
__________
View the list's information and change your settings at 
//www.freelists.org/list/programmingblind

Other related posts: