Shows how to add a fancy python widget to the right side bar.
from ost import gui
from PyQt4 import QtCore, QtGui
from board import Board
panels=gui.GostyApp.Instance().perspective.panels
tetris=Board(panels.qobject)
wid=gui.Widget(tetris)
panels.AddWidgetToPool("Break Widget",wid)
panels.AddWidget(gui.PanelPosition.RIGHT_PANEL,wid,False)
tetris.start()