MCPcopy Index your code
hub / github.com/python/cpython / MultiStatusBar

Class MultiStatusBar

Lib/idlelib/statusbar.py:4–19  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

2
3
4class MultiStatusBar(Frame):
5
6 def __init__(self, master, **kw):
7 Frame.__init__(self, master, **kw)
8 self.labels = {}
9
10 def set_label(self, name, text='', side='left', width=0):
11 if name not in self.labels:
12 label = Label(self, borderwidth=0, anchor='w')
13 label.pack(side=side, pady=0, padx=4)
14 self.labels[name] = label
15 else:
16 label = self.labels[name]
17 if width != 0:
18 label.config(width=width)
19 label.config(text=text)
20
21
22def _multistatus_bar(parent): # htest #

Callers 1

_multistatus_barFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…