tkinter tag

66 questions


1 answers
118 views
0
How do I change the size of the radio button in Tkinter?

I'm creating a Windows app UI in Python.The module used is Tkinter.By default, the radio button display is very small, so I want to make it bigger, but I don't know what to do.If anyone knows, could y...

2 years ago

1 answers
99 views
0
I want tkinter to display the graph I created with matplotlib, and I want to be able to change the range of the x-axis and y-axis with buttons.

I was able to draw the graph using the code below, but I couldn't find a way to change the range of the x and y axes after that, so please let me know.import numpy as npimport matplotlib.pyplot aspltf...

2 years ago

1 answers
97 views
0
Member references to tkinter fail

You can run it on a terminal, but when you run it on a VScode, you get an error when you browse members.Confirmationpython-mtkinter displays a window (version was 8.6)Be able to execute correctly on t...


1 answers
80 views
0
How to Leave the Python Tkinter Button Input Function

What can I do if I want to remove the function that I am updating canvas by entering it from the button?def update(): canvas.after(10, update)to a function similar to the one shown in if (button press...

2 years ago

1 answers
80 views
0
I want to run the command when I erase the window in Tkinter.

I want to run the command when I erase the Toplevel window.In the tk.Tk() window, you can overwrite _del__, but if you do so in Toplevel, it will run when the main window is turned off.I think it's ok...

2 years ago

1 answers
92 views
0
I want to get the value of the combo box placed in the Tkinter sub-window, but I get an error.

I just started programming.You can display windows and combo boxes, but when you select items in the combo box, you get an error.Below is the bit device type acquisition part.I've tried many things, b...

2 years ago

1 answers
114 views
0
I want to expand the scope of the scrollbar in tkinter.

PrerequisitesTkinter uses Canvas and Scrollbar to create a list box with Checkbutton.What do you want to doI'd like to expand the scrollbar range.Currently, scrolling works only if there is a cursor o...

2 years ago

1 answers
132 views
0
Couldn't connect to display":10.0" Error on tkinter

When I connected vnc from win10 to ubuntu18.04 LTS, I received the following error:root@kawasakih2sx-desktop:/home/takumii/ss #python test2.pyNo protocol specifiedNo protocol specifiedTraceback (most ...

2 years ago

2 answers
114 views
0
CREATION OF VARIABLE USING COUNT VARIABLE

In tkinter, when creating 18 figures, I would like to create variables that accompany objects for management purposes, objects 0 to 17.Therefore, we thought about using the count variable i to assign ...

2 years ago

1 answers
109 views
0
Python tkinter button question.

class WidgetsDemo: def __init__(self): window=Tk() window.title (Widget Demo) self.button = [[0 for col in range(5)] for row in range(8)] for self.i in range(0,8): for self.j in range(0,5): sel...

2 years ago
« - 4 - »

© 2024 OneMinuteCode. All rights reserved.