[gedit-list] how to code shortcuts in plugins?



Hello.  I just wrote my first (small) plugin for
gedit, and would like to know how to either add a
keyboard shortcut for the menu item or even better,
add a mouse right-click menu item for the plugin.  Can
anyone offer some (simple) example code or
suggestions?

I used the python plugin template when writing the
code.
John



      


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]