Dev Prakash Sharma has Published 585 Articles

How to display a tkinter application in fullscreen on macOS?

Dev Prakash Sharma

Dev Prakash Sharma

Updated on 28-Dec-2021 07:24:57

Tkinter is a Python GUI toolkit, which is widely known for developing full-fledged functional desktop applications. Tkinter provides many built-in libraries, widgets, and modules to develop any kind of application. You can use the factory and class library functions to implement additional functionality of the application.Since Tkinter is a cross-platform ... Read More

Changing the background color of a tkinter window using colorchooser module

Dev Prakash Sharma

Dev Prakash Sharma

Updated on 28-Dec-2021 07:23:21

Tkinter offers a wide variety of modules and class libraries using which we can create fully functional applications. Tkinter also provides widgets to build the components and skeletons of an application. The colorchooser module in tkinter is one of them which provides a huge set of colors so that users ... Read More

How do I paste the copied text from the keyboard in Python?

Dev Prakash Sharma

Dev Prakash Sharma

Updated on 22-Dec-2021 12:56:37

Python offers many built-in libraries and modules which provides a way to implement the additional features in developing various python applications. pyperclip is one of the cross-platform python modules to implement the copyandpaste operation in any Python application. To use it in Python application, you've to install it using the ... Read More

How to highlight a tkinter button in macOS?

Dev Prakash Sharma

Dev Prakash Sharma

Updated on 22-Dec-2021 11:19:35

Tkinter is a Python based GUI toolkit that is used to develop desktopbased applications. You can build the different components of an application using tkinter widgets. Tkinter programs are reliable and support crossplatform mechanisms through which a particular application can run on multiple platforms and operating systems. However, there are ... Read More

Python Tkinter – How to display a table editor in a text widget?

Dev Prakash Sharma

Dev Prakash Sharma

Updated on 22-Dec-2021 11:12:08

Tkinter is a Python-based GUI toolkit that is used to create fullfledged desktop applications. Tkinter has a variety of modules and class libraries to help developers create userfriendly applications quickly and easily.The Text widget in tkinter provides users a way to create a text editor that accepts multiline user-input. You ... Read More

How to disable an Entry widget in Tkinter?

Dev Prakash Sharma

Dev Prakash Sharma

Updated on 22-Dec-2021 11:10:31

Tkinter Entry widget accepts single line user-input in an entry field. You can customize the width, background color and size of the entry widget based on the need of your application.Let us assume that in a particular application, we want to disable an Entry widget. To disable the Entry widget, ... Read More

How to resize an Entry Box by height in Tkinter?

Dev Prakash Sharma

Dev Prakash Sharma

Updated on 22-Dec-2021 11:08:24

An Entry widget in a Tkinter application supports singleline user inputs. You can configure the size of an Entry widget such as its width using the width property. However, tkinter has no height property to set the height of an Entry widget. To set the height, you can use the ... Read More

How to add a column to a Tkinter TreeView widget?

Dev Prakash Sharma

Dev Prakash Sharma

Updated on 22-Dec-2021 11:06:19

Tkinter TreeView widget is used to present data in a hierarchical manner in the form of rows and columns. To create a Treeview widget, you have to first create a constructor of Treeview(master, column, show='headings') widget. Here, you can specify the list of columns and pass the value to the ... Read More

How to temporarily remove a Tkinter widget without using just .place?

Dev Prakash Sharma

Dev Prakash Sharma

Updated on 22-Dec-2021 11:04:39

To place Tkinter widgets inside a Frame or a Canvas, you can use various geometry managers. The geometry manager allows you to set the layout of the widget and how they will appear in the tkinter window. The place() method is one of the simplest geometry managers which is used ... Read More

How to center a label in a frame of fixed size in Tkinter?

Dev Prakash Sharma

Dev Prakash Sharma

Updated on 22-Dec-2021 11:02:47

Tkinter is a GUI toolkit in Python used to build desktopbased applications. Tkinter provides several widget functionalities and class libraries to develop various components of an application. The Frame widget is one of the widgets that works similar to the standard tkinter default window. You can place as many widgets ... Read More

1 2 3 4 5 ... 59 Next
Advertisements