[Geany-devel] make keybinded functions available to plugins

Nick Treleaven nick.treleaven at xxxxx
Tue May 6 14:41:17 UTC 2008


On Mon, 5 May 2008 13:59:02 +0300
Yura Siamashka <yurand2 at gmail.com> wrote:

> Provide all functions from "Keyboard shortcuts" to plugin interface
> using something like:
> 
> <function ptr> keybinding_get_function(const char section, const char
> name);

Well, these functions are available already:

p_keybindings->send_command(GEANY_KEY_GROUP_EDITOR,
GEANY_KEYS_EDITOR_DUPLICATELINE);

Or do you need the address of each function?

Regards,
Nick



More information about the Devel mailing list