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