[gedit-list] How to listen to Drag & Drop events with a python plugin?




Dear gedit developers,

i'd like to write a plugin that inserts the url of an object into the code of the current document.

As an example if you drag an image in a html document the plugin should insert:
<img src="#Url/Of/The/Dragged/Image.ext" />

Is that possible? How to do that?
Any code sample?

Best regards
Eckhard.




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