“Kotak dialog Tkinter” Kode Jawaban

Kotak dialog Tkinter

from tkinter import messagebox

messagebox.showinfo("Information","Informative message")
messagebox.showerror("Error", "Error message")
messagebox.showwarning("Warning","Warning message")
Better Baboon

Kotak dialog Tkinter

from tkinter import messagebox

answer = messagebox.askokcancel("Question","Do you want to open this file?")
answer = messagebox.askretrycancel("Question", "Do you want to try that again?")
answer = messagebox.askyesno("Question","Do you like Python?")
answer = messagebox.askyesnocancel("Question", "Continue playing?")
Better Baboon

Jawaban yang mirip dengan “Kotak dialog Tkinter”

Pertanyaan yang mirip dengan “Kotak dialog Tkinter”

Lebih banyak jawaban terkait untuk “Kotak dialog Tkinter” di Python

Jelajahi jawaban kode populer menurut bahasa

Jelajahi bahasa kode lainnya