
Data Structure
Networking
RDBMS
Operating System
Java
MS Excel
iOS
HTML
CSS
Android
Python
C Programming
C++
C#
MongoDB
MySQL
Javascript
PHP
- 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 548 Articles

Dev Prakash Sharma
2K+ Views
A color gradient defines the range of position-dependent colors. To be more specific, if you want to create a rectangular scale in an application that contains some color ranges in it (gradient), then we can follow these steps −Create a rectangle with a canvas widget and define its width and ... Read More

Dev Prakash Sharma
11K+ Views
The radiobutton widget in Tkinter allows the user to make a selection for only one option from a set of given choices. The radiobutton has only two values, either True or False.If we want to get the output to check which option the user has selected, then we can use ... Read More

Dev Prakash Sharma
3K+ Views
Tkinter comes with a handy built-in functionality to handle common text and images related objects. A label widget annotates the user interface with text and images. We can provide any text or images to the label widget so that it displays in the application window.Let us suppose that for a ... Read More

Dev Prakash Sharma
11K+ Views
In tkinter, we can create text widgets using Text attributes using packages. However, while creating a GUI application, sometimes we need to capture the input from a text widget.We can get the input from the user in a text widget using the .get() method. We need to specify the input ... Read More

Dev Prakash Sharma
8K+ Views
Tkinter Label widgets are generally used to display text or images. In this example, we will see how to add a hyperlink on a Label widget in an application.In order to add a hyperlink, we can bind the label text with a button that makes it clickable. The open_new(url) method ... Read More

Dev Prakash Sharma
3K+ Views
The OptionMenu allows users to select an option from the given menu of items. To prepare an OptionMenu, we use the OptionMenu(arguments) constructor, which takes the parent widget, a variable to store the options, the default option, and selectable options. However, in some cases, we can find that the options width ... Read More

Dev Prakash Sharma
17K+ Views
Tkinter provides a way to bind the widget to perform certain operations. These operations are defined in a function that can be called by a particular widget. The bind(, function()) method is used to bind the keyboard key to handle such operations. We can also bind a particular key to ... Read More

Dev Prakash Sharma
23K+ Views
Tkinter label widgets are used to display text and images in the application. We can also configure the properties of Label widget that are created by default in a tkinter application.If we want to delete a label that is defined in a tkinter application, then we have to use the ... Read More

Dev Prakash Sharma
4K+ Views
The Canvas widget is one of the versatile widgets in Tkinter. It is used in many applications for designing the graphical user interface such as designing, adding images, creating graphics, etc. We can add widgets in the Canvas widget itself. The widgets that lie inside the canvas are sometimes called ... Read More

Dev Prakash Sharma
5K+ Views
We use the Tkinter Listbox widget to create a list of items. Each item in the listbox has some indexes that are assigned to them sequentially in vertical order.Let us suppose that we want to get the index of a clicked item in the listbox. Then, we have to first ... Read More