Python‎ > ‎tkinter‎ > ‎

tkinter.RADIOBUTTON


Definition
The syntax create the Radionbutton.

Syntax
tkinter.RADIOBUTTON

Options
activebackground, activeforeground, anchor, background, bd, bg, bitmap, borderwidth, command, cursor, disabledforeground, fg, font, foreground, height, highlightbackground, highlightcolor, highlightthickness, image, indicatoron, justify, padx, pady, relief, selectcolor, selectimage, state, takefocus, text, textvariable, underline, value, variable, width, wraplength.

deselect(self)
Put the button in off-state.

flash(self)
Flash the button.

invoke(self)
Toggle the button and invoke a command if given as resource.

select(self)
Put the button in on-state.

Examples
The method returns with:
 from tkinter import*
import tkinter

master=tkinter.Tk()

radiobutton=tkinter.Radiobutton(master, text="Radiobutton").pack()

master.mainloop()








tkinter


Comments