ocarina/src/extra/sgtk.py

37 lines
611 B
Python

# This is a simple test plugin, to make sure everything is working
__author__="bjschuma"
__date__ ="$Jan 13, 2010 12:02:58 AM$"
global name, app, type, path, opt
name = "sgtk"
app = "scion"
type = "extra"
path = ""
opt = []
from bt.message import write
from manager import manager
from guiGTK import *
import gtk
# Called every time the plugin is enabled
def open():
pass
# Called every time the plugin is stopped
def close():
gtk.main_quit()
pass
# Called when the plugin needs to perform some action
def run(args=None):
manager.run("disable", ["cli"])
win = window.Window("Scion")
gtk.main()