1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158
|
# Stubs for tkinter.ttk (Python 3.5)
#
# NOTE: This dynamically typed stub was automatically generated by stubgen.
from typing import Any
import tkinter
def tclobjs_to_py(adict): ...
def setup_master(master=None): ...
class Style:
master = ... # type: Any
tk = ... # type: Any
def __init__(self, master=None): ...
def configure(self, style, query_opt=None, **kw): ...
def map(self, style, query_opt=None, **kw): ...
def lookup(self, style, option, state=None, default=None): ...
def layout(self, style, layoutspec=None): ...
def element_create(self, elementname, etype, *args, **kw): ...
def element_names(self): ...
def element_options(self, elementname): ...
def theme_create(self, themename, parent=None, settings=None): ...
def theme_settings(self, themename, settings): ...
def theme_names(self): ...
def theme_use(self, themename=None): ...
class Widget(tkinter.Widget):
def __init__(self, master, widgetname, kw=None): ...
def identify(self, x, y): ...
def instate(self, statespec, callback=None, *args, **kw): ...
def state(self, statespec=None): ...
class Button(Widget):
def __init__(self, master=None, **kw): ...
def invoke(self): ...
class Checkbutton(Widget):
def __init__(self, master=None, **kw): ...
def invoke(self): ...
class Entry(Widget, tkinter.Entry):
def __init__(self, master=None, widget=None, **kw): ...
def bbox(self, index): ...
def identify(self, x, y): ...
def validate(self): ...
class Combobox(Entry):
def __init__(self, master=None, **kw): ...
def current(self, newindex=None): ...
def set(self, value): ...
class Frame(Widget):
def __init__(self, master=None, **kw): ...
class Label(Widget):
def __init__(self, master=None, **kw): ...
class Labelframe(Widget):
def __init__(self, master=None, **kw): ...
LabelFrame = ... # type: Any
class Menubutton(Widget):
def __init__(self, master=None, **kw): ...
class Notebook(Widget):
def __init__(self, master=None, **kw): ...
def add(self, child, **kw): ...
def forget(self, tab_id): ...
def hide(self, tab_id): ...
def identify(self, x, y): ...
def index(self, tab_id): ...
def insert(self, pos, child, **kw): ...
def select(self, tab_id=None): ...
def tab(self, tab_id, option=None, **kw): ...
def tabs(self): ...
def enable_traversal(self): ...
class Panedwindow(Widget, tkinter.PanedWindow):
def __init__(self, master=None, **kw): ...
forget = ... # type: Any
def insert(self, pos, child, **kw): ...
def pane(self, pane, option=None, **kw): ...
def sashpos(self, index, newpos=None): ...
PanedWindow = ... # type: Any
class Progressbar(Widget):
def __init__(self, master=None, **kw): ...
def start(self, interval=None): ...
def step(self, amount=None): ...
def stop(self): ...
class Radiobutton(Widget):
def __init__(self, master=None, **kw): ...
def invoke(self): ...
class Scale(Widget, tkinter.Scale):
def __init__(self, master=None, **kw): ...
def configure(self, cnf=None, **kw): ...
def get(self, x=None, y=None): ...
class Scrollbar(Widget, tkinter.Scrollbar):
def __init__(self, master=None, **kw): ...
class Separator(Widget):
def __init__(self, master=None, **kw): ...
class Sizegrip(Widget):
def __init__(self, master=None, **kw): ...
class Treeview(Widget, tkinter.XView, tkinter.YView):
def __init__(self, master=None, **kw): ...
def bbox(self, item, column=None): ...
def get_children(self, item=None): ...
def set_children(self, item, *newchildren): ...
def column(self, column, option=None, **kw): ...
def delete(self, *items): ...
def detach(self, *items): ...
def exists(self, item): ...
def focus(self, item=None): ...
def heading(self, column, option=None, **kw): ...
def identify(self, component, x, y): ...
def identify_row(self, y): ...
def identify_column(self, x): ...
def identify_region(self, x, y): ...
def identify_element(self, x, y): ...
def index(self, item): ...
def insert(self, parent, index, iid=None, **kw): ...
def item(self, item, option=None, **kw): ...
def move(self, item, parent, index): ...
reattach = ... # type: Any
def next(self, item): ...
def parent(self, item): ...
def prev(self, item): ...
def see(self, item): ...
def selection(self, selop=None, items=None): ...
def selection_set(self, items): ...
def selection_add(self, items): ...
def selection_remove(self, items): ...
def selection_toggle(self, items): ...
def set(self, item, column=None, value=None): ...
def tag_bind(self, tagname, sequence=None, callback=None): ...
def tag_configure(self, tagname, option=None, **kw): ...
def tag_has(self, tagname, item=None): ...
class LabeledScale(Frame):
label = ... # type: Any
scale = ... # type: Any
def __init__(self, master=None, variable=None, from_=0, to=10, **kw): ...
def destroy(self): ...
value = ... # type: Any
class OptionMenu(Menubutton):
def __init__(self, master, variable, default=None, *values, **kwargs): ...
def __getitem__(self, item): ...
def set_menu(self, default=None, *values): ...
def destroy(self): ...
|