MCPcopy Index your code
hub / github.com/python/cpython / __init__

Method __init__

Lib/tkinter/ttk.py:787–816  ·  view source on GitHub ↗

Construct a Ttk Notebook with parent master. STANDARD OPTIONS class, cursor, style, takefocus WIDGET-SPECIFIC OPTIONS height, padding, width TAB OPTIONS state, sticky, padding, text, image, compound, underline TAB IDENTIFIERS

(self, master=None, **kw)

Source from the content-addressed store, hash-verified

785 which the user may select to change the currently-displayed window."""
786
787 def __init__(self, master=None, **kw):
788 """Construct a Ttk Notebook with parent master.
789
790 STANDARD OPTIONS
791
792 class, cursor, style, takefocus
793
794 WIDGET-SPECIFIC OPTIONS
795
796 height, padding, width
797
798 TAB OPTIONS
799
800 state, sticky, padding, text, image, compound, underline
801
802 TAB IDENTIFIERS (tab_id)
803
804 The tab_id argument found in several methods may take any of
805 the following forms:
806
807 * An integer between zero and the number of tabs
808 * The name of a child window
809 * A positional specification of the form "@x,y", which
810 defines the tab
811 * The string "current", which identifies the
812 currently-selected tab
813 * The string "end", which returns the number of tabs (only
814 valid for method index)
815 """
816 Widget.__init__(self, master, "ttk::notebook", kw)
817
818
819 def add(self, child, **kw):

Callers

nothing calls this directly

Calls 1

__init__Method · 0.45

Tested by

no test coverage detected