MCPcopy Create free account
hub / github.com/RT-Thread/env-windows / __init__

Method __init__

tools/python-3.11.9-amd64/Lib/tkinter/ttk.py:777–806  ·  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 T

(self, master=None, **kw)

Source from the content-addressed store, hash-verified

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

Callers

nothing calls this directly

Calls 1

__init__Method · 0.45

Tested by

no test coverage detected