Ttk Scale widget is typically used to control the numeric value ofĪ linked variable that varies uniformly over some range.Ĭonfiguration Options: command, variable, orient, from, to, value, length, state, takefocus, cursor, style, class tkinter.ttk. Ttk Radiobutton widgets are used in groups to show or change aĬonfiguration Options: variable, value, command, takefocus, text, textvariable, underline, width, image, compound, padding, state, cursor, style, class tkinter.ttk. Ttk Progressbar widget shows the status of a long-runningĬonfiguration Options: orient, length, mode, maximum, variable, value, phase, takefocus, cursor, style, class tkinter.ttk. aka paneconfigĬonfiguration Options: orient, width, height, takefocus, cursor, style, class tkinter.ttk. Ttk Panedwindow widget displays a number of subwindows, stacked ![]() Themed OptionMenu, based after tkinter's OptionMenu, which allowsĬonfiguration Options: tkinter.ttk. OptionMenu (master, variable, default=None, *values, **kwargs) Ttk Notebook widget manages a collection of windows and displaysĬonfiguration Options: width, height, padding, takefocus, cursor, style, class tkinter.ttk. ![]() Ttk Menubutton widget displays a textual label and/or image, andĬonfiguration Options: menu, direction, takefocus, text, textvariable, underline, width, image, compound, padding, state, cursor, style, class tkinter.ttk. It has an optional label, which may be a plain text stringĬonfiguration Options: labelanchor, text, underline, labelwidget, borderwidth, padding, relief, width, height, takefocus, cursor, style, class tkinter.ttk. Ttk Labelframe widget is a container used to group other widgets The Ttk Scale can be accessed through instance.scale, and Ttk LabelĬonfiguration Options: borderwidth, padding, relief, width, height, takefocus, cursor, style, class tkinter.ttk. LabeledScale (master=None, variable=None, from_=0, to=10, **kw)Ī Ttk Scale widget with a Ttk Label widget indicating its Ttk Label widget displays a textual label and/or image.Ĭonfiguration Options: background, foreground, font, borderwidth, relief, anchor, justify, wraplength, takefocus, text, textvariable, underline, width, image, compound, padding, state, cursor, style, class tkinter.ttk. ![]() Ttk Frame widget is a container, used to group other widgetsĬonfiguration Options: borderwidth, padding, relief, width, height, takefocus, cursor, style, class tkinter.ttk. Ttk Entry widget displays a one-line text string and allows thatĬonfiguration Options: exportselection, font, invalidcommand, justify, show, state, textvariable, validate, validatecommand, width, xscrollcommand, foreground, background, takefocus, cursor, style, class tkinter.ttk. aka select_rangeĬonfiguration Options: height, postcommand, values, exportselection, font, invalidcommand, justify, show, state, textvariable, validate, validatecommand, width, xscrollcommand, foreground, background, takefocus, cursor, style, class tkinter.ttk. Ttk Combobox widget combines a text field with a pop-down list of Ttk Checkbutton widget which is either in on- or off-state.Ĭonfiguration Options: variable, onvalue, offvalue, command, takefocus, text, textvariable, underline, width, image, compound, padding, state, cursor, style, class tkinter.ttk. Ttk Button widget, displays a textual label and/or image, andĬonfiguration Options: command, default, takefocus, text, textvariable, underline, width, image, compound, padding, state, cursor, style, class tkinter.ttk. Instate (statespec, callback=None, *args, **kw) Winfo_visualsavailable (includeids=False) Winfo_containing (rootX, rootY, displayof=0) Grid_columnconfigure (index, cnf=, **kw). ![]() Grid_bbox (column=None, row=None, col2=None, row2=None). aka configīind (sequence=None, func=None, add=None)īind_all (sequence=None, func=None, add=None)īind_class (className, sequence=None, func=None, add=None) Option_readfile (fileName, priority=None) Option_add (pattern, value, priority=None) By convention, they are usually invoked on the application root window. Note: The following methods are available on all widgets, but work globally rather than acting on an individual widget. Toplevel widget of Tk which represents mostly the main window Tk (screenName=None, baseName=None, className='Tk', useTk=True, sync=False, use=None) Tkinter Class API Reference Contents Tkinter Class API Reference Tk Application Root tkinter.
0 Comments
Leave a Reply. |