Exemple #1
0
class StatusBar(Panel):
    def __init__(self, parent, **kwargs):
        Panel.__init__(self, parent, top=parent.height-30, left=0, width=parent.width, height=30)
        self.border_style = BORDER_LOWERED
        self._grip = TkSizeGrip(self._ctrl)
        self._grip.pack(side=RIGHT, fill=Y)
        # TODO: fix bug when toggling packed objects visibility (need to know original setup to reposition)
        self.align = ALIGN_BOTTOM