Install plugin files and Libpeas plugin objects
[projects/chimara/chimara.git] / tests / testpeas.py
1 from gi.repository import Gtk, Peas, PeasGtk, Chimara
2 c = Chimara.Glk()
3
4 e = Peas.Engine.get_default()
5 e.add_search_path('/Users/fliep/gtk/inst/lib/chimara', None)
6
7 for i in e.get_plugin_list():
8         print i.get_name()
9
10 w = Gtk.Window()
11 w.add(PeasGtk.PluginManager(e))
12 w.connect('destroy', Gtk.main_quit)
13 w.show_all()
14
15 Gtk.main()