tkinter.ttk.Style.element_names()

element_names() Returns the list of elements defined in the current theme.

tkinter.ttk.Style.configure()

configure(style, query_opt=None, **kw) Query or set the default value of the specified option(s) in style. Each key in kw is an option and each value is a string identifying the value for that option. For example, to change every default button to be a flat button with some padding and a different background color: from tkinter import ttk import tkinter root = tkinter.Tk() ttk.Style().configure("TButton", padding=6, relief="flat", background="#ccc") btn = ttk.Button(text="Sample") btn.

tkinter.ttk.Style

class tkinter.ttk.Style This class is used to manipulate the style database. configure(style, query_opt=None, **kw) Query or set the default value of the specified option(s) in style. Each key in kw is an option and each value is a string identifying the value for that option. For example, to change every default button to be a flat button with some padding and a different background color: from tkinter import ttk import tkinter root = tkinter.Tk() ttk.Style().configure("TButton", paddi

tkinter.ttk.Progressbar.step()

step(amount=None) Increments the progress bar’s value by amount. amount defaults to 1.0 if omitted.

tkinter.ttk.Notebook.tabs()

tabs() Returns a list of windows managed by the notebook.

tkinter.ttk.Notebook.tab()

tab(tab_id, option=None, **kw) Query or modify the options of the specific tab_id. If kw is not given, returns a dictionary of the tab option values. If option is specified, returns the value of that option. Otherwise, sets the options to the corresponding values.

tkinter.ttk.Progressbar.stop()

stop() Stop autoincrement mode: cancels any recurring timer event initiated by Progressbar.start() for this progress bar.

tkinter.ttk.Progressbar

class tkinter.ttk.Progressbar start(interval=None) Begin autoincrement mode: schedules a recurring timer event that calls Progressbar.step() every interval milliseconds. If omitted, interval defaults to 50 milliseconds. step(amount=None) Increments the progress bar’s value by amount. amount defaults to 1.0 if omitted. stop() Stop autoincrement mode: cancels any recurring timer event initiated by Progressbar.start() for this progress bar.

tkinter.ttk.Progressbar.start()

start(interval=None) Begin autoincrement mode: schedules a recurring timer event that calls Progressbar.step() every interval milliseconds. If omitted, interval defaults to 50 milliseconds.

tkinter.ttk.Notebook.insert()

insert(pos, child, **kw) Inserts a pane at the specified position. pos is either the string “end”, an integer index, or the name of a managed child. If child is already managed by the notebook, moves it to the specified position. See Tab Options for the list of available options.