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

Class Radiobutton

Lib/tkinter/ttk.py:1016–1041  ·  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

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

Callers 5

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

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…