Search

Tuesday 3 May 2016

I need your help with a pygtk project

my project

over the last few months, i've been working ona project that, at least in my oppinion, is quite hard to maintain as only one developer. That's not the point however. I recently restarted the project from scratch to clean up the really messy code and have also submitted the git repository to github.

my problem

I've sorted out the main sidebar code, but, as the github page states, I need an api for people to develop widgets with. In my original code, I would just add them in to the main file, however, this means that anybody who wants to add a widget will have to modify my code. I would rather a system such as the one used by your favourite desktop environment's panel uses, where each plugin is a separate file that get's loaded on startup. The question I have is, how do I go about doing this? I've considered using the imp module and have started work on implementing that solution, however, this seems like a verry messy way of doing things. Do any of you have a way I can fix this problem?

what you can do

if you click here, you'll be taken to the github project page. If you can help me in any way, not just implementing the api, then please feel free to branch my repository and submit a pull request. That would be much apriciated!.
thanks for reading this and please help if you can
mikey