On 6 August 2011 04:26, Dimitar Zhekov dimitar.zhekov@gmail.com wrote:
On Thu, 04 Aug 2011 20:01:23 -0700 Matthew Brush mbrush@codebrainz.ca wrote:
I'm seeking ideas/advice for how I can implement keybindings for Python plugins[1]. [...] I'm at the design state right now, so if anyone has any ideas for how I should implement this, using either Geany's plugin API, PyGTK directly, or something else [...]
I'm not sure what you're trying to do, but geanyextrasel attaches itself to main window's key-press and defines it's own keys. Their priority is less than the keybindings of Geany IIRC. Hope that helps.
The priority is a result of the fact that Geany binds to the signal first.
But plugins don't need to bind to the key event signal themselves, they can add themselves to Geany keybindings (see for eg addons) and its a nicer user experience if all the keybindings are defined in one place.
Cheers Lex
-- E-gards: Jimmy _______________________________________________ Geany-devel mailing list Geany-devel@uvena.de https://lists.uvena.de/cgi-bin/mailman/listinfo/geany-devel