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

Class Radiobutton

tools/python-3.11.9-amd64/Lib/tkinter/ttk.py:1006–1031  ·  view source on GitHub ↗

Ttk Radiobutton widgets are used in groups to show or change a set of mutually-exclusive options.

Source from the content-addressed store, hash-verified

1004
1005
1006class Radiobutton(Widget):
1007 """Ttk Radiobutton widgets are used in groups to show or change a
1008 set of mutually-exclusive options."""
1009
1010 def __init__(self, master=None, **kw):
1011 """Construct a Ttk Radiobutton with parent master.
1012
1013 STANDARD OPTIONS
1014
1015 class, compound, cursor, image, state, style, takefocus,
1016 text, textvariable, underline, width
1017
1018 WIDGET-SPECIFIC OPTIONS
1019
1020 command, value, variable
1021 """
1022 Widget.__init__(self, master, "ttk::radiobutton", kw)
1023
1024
1025 def invoke(self):
1026 """Sets the option variable to the option value, selects the
1027 widget, and invokes the associated command.
1028
1029 Returns the result of the command, or an empty string if
1030 no command is specified."""
1031 return self.tk.call(self._w, "invoke")
1032
1033
1034class Scale(Widget, tkinter.Scale):

Callers 6

create_page_highlightMethod · 0.90
create_page_keysMethod · 0.90
create_page_windowsMethod · 0.90
create_page_shedMethod · 0.90
create_other_buttonsMethod · 0.90
__init__Method · 0.50

Calls

no outgoing calls

Tested by

no test coverage detected