blob: dd835b25570570444d6888a73a142afdf8a46051 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
|
from pychrysalide.features import *
from .panel import HelloPanel
class HelloPlugin(PluginModule):
"""Simple demo plugin to build a GUI panel."""
def __init__(self):
"""Initialize the plugin for Chrysalide."""
interface = {
'name' : 'HelloPanel',
'desc' : 'Say hello in the main GUI',
'version' : '0.1',
'actions' : ( )
}
super(HelloPlugin, self).__init__(**interface)
p = HelloPanel()
register_panel(p);
|