PATH:
opt
/
alt
/
python33
/
lib64
/
python3.3
/
idlelib
from tkinter import * class MultiStatusBar(Frame): def __init__(self, master=None, **kw): if master is None: master = Tk() Frame.__init__(self, master, **kw) self.labels = {} def set_label(self, name, text='', side=LEFT): if name not in self.labels: label = Label(self, bd=1, relief=SUNKEN, anchor=W) label.pack(side=side) self.labels[name] = label else: label = self.labels[name] label.config(text=text) def _test(): b = Frame() c = Text(b) c.pack(side=TOP) a = MultiStatusBar(b) a.set_label("one", "hello") a.set_label("two", "world") a.pack(side=BOTTOM, fill=X) b.pack() b.mainloop() if __name__ == '__main__': _test()
[-] PathBrowser.py
[edit]
[-] MultiStatusBar.py
[edit]
[-] AutoExpand.py
[edit]
[-] CodeContext.py
[edit]
[-] GrepDialog.py
[edit]
[-] configSectionNameDialog.py
[edit]
[-] RemoteObjectBrowser.py
[edit]
[-] CREDITS.txt
[edit]
[-] FileList.py
[edit]
[-] AutoComplete.py
[edit]
[-] EditorWindow.py
[edit]
[+]
idle_test
[-] IdleHistory.py
[edit]
[+]
..
[-] Bindings.py
[edit]
[+]
Icons
[+]
__pycache__
[-] NEWS.txt
[edit]
[-] idle.py
[edit]
[-] tabbedpages.py
[edit]
[-] IOBinding.py
[edit]
[-] ParenMatch.py
[edit]
[-] config-main.def
[edit]
[-] Percolator.py
[edit]
[-] textView.py
[edit]
[-] UndoDelegator.py
[edit]
[-] CallTipWindow.py
[edit]
[-] CallTips.py
[edit]
[-] extend.txt
[edit]
[-] WindowList.py
[edit]
[-] __main__.py
[edit]
[-] config-extensions.def
[edit]
[-] PyShell.py
[edit]
[-] ToolTip.py
[edit]
[-] Debugger.py
[edit]
[-] idlever.py
[edit]
[-] MultiCall.py
[edit]
[-] StackViewer.py
[edit]
[-] ObjectBrowser.py
[edit]
[-] TreeWidget.py
[edit]
[-] idle.pyw
[edit]
[-] run.py
[edit]
[-] dynOptionMenuWidget.py
[edit]
[-] macosxSupport.py
[edit]
[-] configHelpSourceEdit.py
[edit]
[-] PyParse.py
[edit]
[-] WidgetRedirector.py
[edit]
[-] config-keys.def
[edit]
[-] keybindingDialog.py
[edit]
[-] aboutDialog.py
[edit]
[-] OutputWindow.py
[edit]
[-] README.txt
[edit]
[-] configDialog.py
[edit]
[-] RstripExtension.py
[edit]
[-] ScriptBinding.py
[edit]
[-] SearchDialogBase.py
[edit]
[-] ColorDelegator.py
[edit]
[-] FormatParagraph.py
[edit]
[-] HyperParser.py
[edit]
[-] rpc.py
[edit]
[-] ClassBrowser.py
[edit]
[-] help.txt
[edit]
[-] __init__.py
[edit]
[-] HISTORY.txt
[edit]
[-] Delegator.py
[edit]
[-] TODO.txt
[edit]
[-] RemoteDebugger.py
[edit]
[-] ScrolledList.py
[edit]
[-] ReplaceDialog.py
[edit]
[-] ZoomHeight.py
[edit]
[-] config-highlight.def
[edit]
[-] ChangeLog
[edit]
[-] SearchDialog.py
[edit]
[-] AutoCompleteWindow.py
[edit]
[-] configHandler.py
[edit]
[-] SearchEngine.py
[edit]