tkinter.Widget.tk.deletefilehandler()

Widget.tk.deletefilehandler(file) Unregisters a file handler.

tkinter.Widget.tk.createfilehandler()

Widget.tk.createfilehandler(file, mask, func) Registers the file handler callback function func. The file argument may either be an object with a fileno() method (such as a file or socket object), or an integer file descriptor. The mask argument is an ORed combination of any of the three constants below. The callback is called as follows: callback(file, mask)

tkinter.ttk.Widget.state()

state(statespec=None) Modify or inquire widget state. If statespec is specified, sets the widget state according to it and return a new statespec indicating which flags were changed. If statespec is not specified, returns the currently-enabled state flags.

tkinter.ttk.Widget.instate()

instate(statespec, callback=None, *args, **kw) Test the widget’s state. If a callback is not specified, returns True if the widget state matches statespec and False otherwise. If callback is specified then it is called with args if widget state matches statespec.

tkinter.ttk.Widget.identify()

identify(x, y) Returns the name of the element at position x y, or the empty string if the point does not lie within any element. x and y are pixel coordinates relative to the widget.

tkinter.ttk.Widget

class tkinter.ttk.Widget identify(x, y) Returns the name of the element at position x y, or the empty string if the point does not lie within any element. x and y are pixel coordinates relative to the widget. instate(statespec, callback=None, *args, **kw) Test the widget’s state. If a callback is not specified, returns True if the widget state matches statespec and False otherwise. If callback is specified then it is called with args if widget state matches statespec. state(stat

tkinter.ttk.Treeview.yview()

yview(*args) Query or modify vertical position of the treeview.

tkinter.ttk.Treeview.xview()

xview(*args) Query or modify horizontal position of the treeview.

tkinter.ttk.Treeview.tag_has()

tag_has(tagname, item=None) If item is specified, returns 1 or 0 depending on whether the specified item has the given tagname. Otherwise, returns a list of all items that have the specified tag. Availability: Tk 8.6

tkinter.ttk.Treeview.tag_configure()

tag_configure(tagname, option=None, **kw) Query or modify the options for the specified tagname. If kw is not given, returns a dict of the option settings for tagname. If option is specified, returns the value for that option for the specified tagname. Otherwise, sets the options to the corresponding values for the given tagname.