Skip to content
Related Articles
Open in App
Not now

Related Articles

Tkinter – bell() method

Improve Article
Save Article
  • Last Updated : 11 Dec, 2020
Improve Article
Save Article

Prerequisite: Python GUI – tkinter

Python offers multiple options for developing GUI (Graphical User Interface). Out of all the GUI methods, tkinter is the most commonly used method. It is a standard Python interface to the Tk GUI toolkit shipped with Python. Python with tkinter is the fastest and easiest way to create the GUI applications. Creating a GUI using tkinter is an easy task.

In this article, We will learn about the bell() method in Tkinter.

This method rings the bell on the display for window and returns an empty string. The Tkinter bell() is the default sound of the operating system, to change the bell sound in the Tkinter application, one needs to got system sound settings and needs to change the default sound.





# Import module
from tkinter import *
# Create object
root = Tk()
# Adjust size
# Bell function
def bell():
    # call bell method
# Add button
# Execute tkinter


My Personal Notes arrow_drop_up
Related Articles

Start Your Coding Journey Now!