]>
git.saurik.com Git - wxWidgets.git/blob - wxPython/samples/frogedit/StatusBar.py
4 class CustomStatusBar(wx
.StatusBar
):
5 def __init__(self
, parent
):
6 wx
.StatusBar
.__init
__(self
, parent
, -1)
9 def setFileName(self
, fn
):
10 path
, fileName
= os
.path
.split(fn
)
11 self
.SetStatusText(fileName
, 0)
13 def setRowCol(self
, row
, col
):
14 self
.SetStatusText("%d,%d" % (row
,col
), 1)
16 def setDirty(self
, dirty
):
18 self
.SetStatusText("...", 2)
20 self
.SetStatusText(" ", 2)