Skip to content
Advertisement

Tag: user-interface

Is there a way to toggle/hide/show tkinter buttons

I am making blackjack in tkinter and instead of placing buttons over the existing buttons i want to toggle them when, say a new game. Answer There are many ways of doing this. One option (I think he simplest one) is to get your buttons in a frame that you can pack and unpack using pack and packing_forget. In this

How to draw lines between widgets in Tkinter?

I have written a script that takes in a file of the format Where each line in the list represents a ‘parent’ node and its list of ‘child’ nodes. So far I have written a script such that these nodes are printed out like a tree, and now I want to try to draw lines/arrows between these nodes. My current

How could I use and manipulate float numbers in PyPanel using textbox widgets instead of sliders?

The Problem: I’m trying to get a float number user input indicator box like this which I designed on LabView in Python using PyPanel to eventually make a dashboard with multiple similar boxes (etc.). Background: I’m trying to make a user friendly dashboard using PyPanel. I am new to dashboards but have some experience in running calculations and modelling in

KivyMD Hot Reload

KivyMD Hot Reload May anybody explain every single thing to do a (hot reload) method in KivyMD? I have been watching a lot of videos, but nothing working for me. There’s no specific error to solve it. Answer I had trouble getting it started too at first… I figured it out by watching kivymd’s youtube videos at .25 speed lol…

How do i resize this labelframe in tkinter?

So I tried to make this labelframe wider by using the basic width and width option. Here’s my given minimal code. minimalized preview: used in application: i want to get this labelframe little bit bigger and make the inside centered, But i had no knowledge to do so, Any help will apreciated! Answer It seems like you just want to

PySide6 TypeError when trying to open window for second time

I have two classes in PySide6. One is the main window and the second one is a widgetWindow. The main window is opening the widgetWindow with this function: The ConnectModbusWindow Class looks like this: I have no problem opening the ConnectModbusWindow for the first time. But when I try it for the second time i get the following error: TypeError:

Advertisement