Re: Write a new plugin



Am Dienstag, den 24.03.2015, 11:01 -0300 schrieb Camponez:
Hello,

Hi!

Is there a guide on how to write a plugin for eog?

If not, maybe a simpler plugin that could be used as a starting point.

The eog-plugins page on the wiki[1] gives a few pointers at the bottom
of the page. A few things are slightly outdated though (the "Quick
run-through" for example is written with GNOME 2.x in mind).

A few simple plugins that can serve as examples (in C) are the Reload
and Fullscreen plugins in the main eog distribution. The Reload plugin
also shows how to add menu entries in the UI. Just note that the API to
add UI entries has changed between 3.14 and 3.16.

If you are more into Python you can take a look at the "Maximize
Windows" plugin in eog-plugins, which is as simple as it could possibly
get.

You can find the reference for eog's plugin API in the GNOME Developer
Center[2]. It doesn't describe all the functions though. :(

Regards,

Felix

[1]: https://wiki.gnome.org/Apps/EyeOfGnome/Plugins
[2]: https://developer.gnome.org/eog/stable/




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