Frage

I'm porting a old app (GTK+ 2) to GTK+ 3, that application uses gmodule to support 'plugins' functionality, it makes use of functions like g_module_build_path and etc..

My question is, what's the right way to do this using GTK+ 3 libs, since gmodule is GTK+ 2 only.

A documentation, a example, anything is very welcome :)

War es hilfreich?

Lösung

The solution, I've found browsing on gedit's code, that is use libpeas, it's the correct way to implement 'plugins' functionality.

A very simple example can be found on libpeas source code

Lizenziert unter: CC-BY-SA mit Zuschreibung
Nicht verbunden mit StackOverflow
scroll top