Re: [pygtk] How I can quit main loop by pressing key(Esc).

2005-06-20 Thread Baiju M
If self.topMain is your main window: accelgroup = gtk.AccelGroup() key, modifier = gtk.accelerator_parse('Escape') accelgroup.connect_group(key, modifier, gtk.ACCEL_VISIBLE,

[pygtk] How I can quit main loop by pressing key(Esc).

2005-06-20 Thread Mahmad Sadique Hannure
Hi to all, I am using a window which is fullscreen and I want to quit when user press a key Esc.How can I achive this. Help me. Thank You. regards, Mohmad Sadique __ Discover Yahoo! Use Yahoo! to plan a weekend, have fun online and more. Check