- Data Structure
- Networking
- RDBMS
- Operating System
- Java
- MS Excel
- iOS
- HTML
- CSS
- Android
- Python
- C Programming
- C++
- C#
- MongoDB
- MySQL
- Javascript
- PHP
- Physics
- Chemistry
- Biology
- Mathematics
- English
- Economics
- Psychology
- Social Studies
- Fashion Studies
- Legal Studies
- Selected Reading
- UPSC IAS Exams Notes
- Developer's Best Practices
- Questions and Answers
- Effective Resume Writing
- HR Interview Questions
- Computer Glossary
- Who is Who
Dev Prakash Sharma has Published 556 Articles
Dev Prakash Sharma
18K+ Views
The PIL or Pillow library in Python is used for processing images in a Tkinter application. We can use Pillow to open the images, resize them and display in the window. To resize the image, we can use image_resize((width, height) **options) method. The resized image can later be processed and ... Read More
Dev Prakash Sharma
15K+ Views
The Entry widget in Tkinter is generally used to accept one-line input in the text field. We can get the output from the Entry widget using .get() method. However, the .get() method returns the output in string format. For example, if the user types an integer number in the Entry ... Read More
Dev Prakash Sharma
396 Views
The Text widget in Tkinter is used to add a text editor-like functionality in the application. The Text widget supports multiline user input from the user. We can configure the text widget properties such as its font properties, text color, background, etc., by using the configure() method.The Text widget also ... Read More
Dev Prakash Sharma
480 Views
Tkinter is a standard Python library for developing GUI-based applications. We can create games, tools, and other applications using the Tkinter library. To develop GUI-based applications, Tkinter provides widgets.Sometimes, there might be a requirement to hide a widget for some time. This can be achieved by using the pack_forget() method. ... Read More
Dev Prakash Sharma
422 Views
Canvas widget is one of the most widely used widgets for graphical representation in a Tkinter application. To display a line in the Canvas widget, we can use the built-in library method create_line(x1, y1, x2, y2, **options).We can also specify the type of line using the dash property. To change ... Read More
Dev Prakash Sharma
2K+ Views
The Text widget in Tkinter supports multiline user input from the user. We can configure the Text widget properties such as its font properties, text color, background, etc., by using the configure() method.To create an application that will count the currently written characters in a Text widget, we can follow ... Read More
Dev Prakash Sharma
1K+ Views
Tkinter is a standard Python library for developing GUI-based applications. We can change the properties of its widgets by using the built-in functions and methods. In some applications, the properties affect the mouse pointer as well.Tkinter provides us a way to change the mouse pointer color in the window. To ... Read More
Dev Prakash Sharma
2K+ Views
In Tkinter, events are generally called by buttons or keys. Whenever the user presses an assigned key or clicks an assigned button, the events get executed. To execute the events, we can bind a button or a key with the callback function.Consider an application where we need to trigger an ... Read More
Dev Prakash Sharma
1K+ Views
We can use the Tkinter text widget to accept multiline user input. We can insert text, display information, and get the output from the text widget.To highlight the currently selected text in a text widget, we can use the tag_add() method that adds a tag in the current text only.Example# ... Read More
Dev Prakash Sharma
8K+ Views
We can use the Tkinter text widget to insert text, display information, and get the output from the text widget. To get the user input in a text widget, we've to use the get() method. Let's take an example to see how it works.Example# Import the required library from tkinter ... Read More
To Continue Learning Please Login
Login with Google