Lines Matching refs:hbar
63 def make_scrollbars(parent, hbar, vbar, pack=1, class_=None, name=None, argument
89 if not hbar:
104 if hbar:
105 hbar = Scrollbar(frame, orient=HORIZONTAL, name="hbar",
107 hbar.pack(fill=X, side=BOTTOM)
109 hbar = None
111 return hbar, vbar, frame
114 def set_scroll_commands(widget, hbar, vbar): argument
126 if hbar:
127 widget['xscrollcommand'] = (hbar, 'set')
128 hbar['command'] = (widget, 'xview')
131 widget.hbar = hbar
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)