Answers for "how to use entry and a button in tkinter"

1

different states of a button tkinter

Tkinter Button has two states,
NORMAL - The button could be clicked by the user.
DISABLE - The button is not clickable.
Posted by: Guest on November-05-2021
3

button tkinter

import Tkinter
import tkMessageBox

top = Tkinter.Tk()

def helloCallBack():
   tkMessageBox.showinfo( "Hello Python", "Hello World")

B = Tkinter.Button(top, text ="Hello", command = helloCallBack)

B.pack()
top.mainloop()
Posted by: Guest on May-30-2020

Python Answers by Framework

Browse Popular Code Answers by Language