[pygtk] disable F10 menu activation

markus espenhain me at mocisoft.com
Mon Feb 18 00:30:41 WST 2008


On Sun, 2008-02-17 at 12:31 +0100, Gian Mario Tagliaretti wrote:
> On Feb 14, 2008 7:10 PM, markus espenhain <me at mocisoft.com> wrote:
> 
> Hi Markus
> 
> > hm ... i've connected key-press-event on menubar, main window etc but no
> > callback if F10 is pressed ... any idea?
> 
> settings = gtk.settings_get_default()
> settings.props.gtk_menu_bar_accel = None
> 
> should do the trick
> 
> cheers

thanks a lot!!! - this does the trick :)

markus



More information about the pygtk mailing list