• Home
  • Raw
  • Download

Lines Matching full:frame

66     """Subroutine to create a frame with scrollbars.
73 Return a tuple containing the hbar, the vbar, and the frame, where
78 if name: frame = Frame(parent, class_=class_, name=name)
79 else: frame = Frame(parent, class_=class_)
81 if name: frame = Frame(parent, name=name)
82 else: frame = Frame(parent)
85 frame.pack(fill=BOTH, expand=1)
90 vbar = Scrollbar(frame, takefocus=takefocus)
93 vbarframe = Frame(frame, borderwidth=0)
95 vbar = Scrollbar(frame, name="vbar", takefocus=takefocus)
98 corner = Frame(vbarframe, width=sbwidth, height=sbwidth)
105 hbar = Scrollbar(frame, orient=HORIZONTAL, name="hbar",
111 return hbar, vbar, frame
141 - a both-ways filling and expanding frame, containing:
146 Return the text widget and the frame widget.
149 hbar, vbar, frame = make_scrollbars(parent, hbar, vbar, pack,
153 widget = Text(frame, wrap=wrap, name="text")
160 return widget, frame
171 hbar, vbar, frame = make_scrollbars(parent, hbar, vbar, pack,
175 widget = Listbox(frame, name="listbox")
182 return widget, frame
195 hbar, vbar, frame = make_scrollbars(parent, hbar, vbar, pack,
199 widget = Canvas(frame, scrollregion=(0, 0, width, height), name="canvas")
206 return widget, frame
215 - a horizontally filling and expanding frame, containing:
219 Return the entry widget and the frame widget.
223 frame = Frame(parent)
224 frame.pack(fill=X)
226 label = Label(frame, text=label)
230 entry = Entry(frame, relief=SUNKEN)
232 entry = Entry(frame, relief=SUNKEN, borderwidth=borderwidth)
235 return entry, frame
250 - a horizontally filling and expanding frame, containing:
254 Return the entry widget and the frame widget.
258 frame = Frame(parent)
260 label = Label(frame, text=label, width=labelwidth, anchor=E)
264 entry = Entry(frame, relief=SUNKEN, width=entrywidth)
266 entry = Entry(frame, relief=SUNKEN, width=entrywidth,
269 frame.pack(fill=X)
271 entry = make_text_box(frame, entrywidth, entryheight, 1, 1,
273 frame.pack(fill=BOTH, expand=1)
275 return entry, frame, label
282 if class_: frame = Frame(master, class_=class_, name=name)
283 else: frame = Frame(master, name=name)
285 if class_: frame = Frame(master, class_=class_)
286 else: frame = Frame(master)
287 top = Frame(frame, name="topframe", relief=relief,
289 bottom = Frame(frame, name="bottomframe")
292 frame.pack(expand=1, fill=BOTH)
293 top = Frame(top)
296 return frame, top, bottom
303 The outer frame is only used to provide the decorative border, to
304 control packing, and to host the label. The inner frame is packed
305 to fill the outer frame and should be used as the parent of all
306 sub-widgets. Only the inner frame is returned.
310 outer = Frame(master, borderwidth=2, relief=GROOVE)
314 inner = Frame(master, borderwidth='1m', name=name)