Extracted from Pike v8.0 release 240 as of 2016-05-30.
   

Method GTKSupport.MenuFactory.set_menubar_modify_callback()


Method set_menubar_modify_callback

void set_menubar_modify_callback(function(:void) 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.