Lines Matching refs:vbar
63 def make_scrollbars(parent, hbar, vbar, pack=1, class_=None, name=None, argument
88 if vbar:
90 vbar = Scrollbar(frame, takefocus=takefocus)
91 vbar.pack(fill=Y, side=RIGHT)
95 vbar = Scrollbar(frame, name="vbar", takefocus=takefocus)
96 vbar.pack(in_=vbarframe, expand=1, fill=Y, side=TOP)
97 sbwidth = vbar.winfo_reqwidth()
102 vbar = None
111 return hbar, vbar, frame
114 def set_scroll_commands(widget, hbar, vbar): argument
122 if vbar:
123 widget['yscrollcommand'] = (vbar, 'set')
124 vbar['command'] = (widget, 'yview')
130 widget.vbar = vbar
134 def make_text_box(parent, width=0, height=0, hbar=0, vbar=1, argument
149 hbar, vbar, frame = make_scrollbars(parent, hbar, vbar, pack,
158 set_scroll_commands(widget, hbar, vbar)
163 def make_list_box(parent, width=0, height=0, hbar=0, vbar=1, argument
171 hbar, vbar, frame = make_scrollbars(parent, hbar, vbar, pack,
180 set_scroll_commands(widget, hbar, vbar)
185 def make_canvas(parent, width=0, height=0, hbar=1, vbar=1, argument
195 hbar, vbar, frame = make_scrollbars(parent, hbar, vbar, pack,
204 set_scroll_commands(widget, hbar, vbar)