Skip to content

Commit

Permalink
Set default radio button to Mode #1.
Browse files Browse the repository at this point in the history
  • Loading branch information
bhamodi committed Feb 6, 2015
1 parent 9890e9d commit 26b09fe
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions pyAutoClicker.py
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,7 @@ def main():
root.tk.call('wm', 'iconphoto', root._w, img)

mode_var = IntVar()
mode_var.set(1)
radio_button_1 = Radiobutton(root, text = "Mode 1: Click for a number of clicks", variable = mode_var, value = 1)
radio_button_2 = Radiobutton(root, text = "Mode 2: Click for a number of minutes", variable = mode_var, value = 0)
label1 = Label(root, text = "Number of clicks (OR number of minutes if in mode 2): ")
Expand Down

0 comments on commit 26b09fe

Please sign in to comment.