Extracted from Pike v7.8 release 866 at 2015-06-14.
pike.ida.liu.se
[Top]
GTKSupport
GTKSupport.MenuFactory

Method GTKSupport.MenuFactory.set_menubar_modify_callback()


Method set_menubar_modify_callback

void set_menubar_modify_callback(function to)

Description

The function passed as the argument to this function will be called each time the accelerator key mapping is changed by the user with the new mapping as the argument.

Note

This function is only used when the menubar is created, once you are done with the menubar creation, the callbacks for that menubar will be fixed.