Question

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 :)

Was it helpful?

Solution

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

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top