2 * You can put the plugin wherever you want under plugins/
9 from pgw.Plugin import SidebarPlugin;
11 class <Your Plugin Class>(SidebarPlugin):
14 SidebarPlugin.__init__(self)
15 self.my_box = gtk.HBox()
22 #called after setting self.app
23 def on_connection(self):
24 #called everytime a new connection is established
29 EXPORTS=[<Your Plugin Class>]
33 * SidebarPlugin is a subclass of gtk.VBox()
37 * See plugins/ResultViewPluginNull for a example
38 * pgworksheet reloads the plugins for every query-results,
39 that means you dont have to restart it to test your changes