Lines Matching refs:fred
275 button .fred -fg red -text "hi there"
283 perform some *action*. In C, you'd express this as someAction(fred,
284 someOptions), in C++, you would express this as fred.someAction(someOptions),
287 .fred someAction someOptions
289 Note that the object name, ``.fred``, starts with a dot.
292 class: ``.fred disable`` works if fred is a button (fred gets greyed out), but
293 does not work if fred is a label (disabling of labels is not supported in Tk).
307 button .fred =====> fred = Button()
312 button .panel.fred =====> fred = Button(panel)
320 button .fred -fg red =====> fred = Button(panel, fg="red")
321 .fred configure -fg red =====> fred["fg"] = red
322 OR ==> fred.config(fg="red")
330 .fred invoke =====> fred.invoke()
339 pack .fred -side left =====> fred.pack(side="left")
390 fred = Button(self, fg="red", bg="blue")
395 fred["fg"] = "red"
396 fred["bg"] = "blue"
401 fred.config(fg="red", bg="blue")
446 >>> print(fred.config())
483 fred.pack() # defaults to side = "top"
484 fred.pack(side="left")
485 fred.pack(expand=1)
627 fred["command"] = print_it
656 For example: ``fred["geometry"] = "200x100"``.