[pygtk] disable F10 menu activation

Gian Mario Tagliaretti gianmt at gnome.org
Sun Feb 17 20:31:58 WST 2008


On Feb 14, 2008 7:10 PM, markus espenhain <me a 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
-- 
Gian Mario Tagliaretti


More information about the pygtk mailing list