tkinter Questions
2
I am trying to make displayed message fonts bigger for certain messages when it get displayed so that its easier for eyes to read than standard size. I checked on past post regarding this issue and...
Budding asked 9/12, 2018 at 16:30
8
Solved
from Tkinter import *
root = Tk()
cv = Canvas(root)
cv.create_rectangle(10,10,50,50)
cv.pack()
root.mainloop()
I want to convert canvas content to a bitmap or other image, and then do other opera...
6
Solved
My tkinter application has several controls, and I'd like to know when any changes occur to them so that I can update other parts of the application.
Is there anything that I can do short of writi...
3
Have a button to open a new window in my code, and have been trying to make the button open a new window called newest_release_window with two things in mind:
If newest_release_window is not open,...
Melo asked 14/5, 2018 at 12:29
7
Below is my UI. I am trying to add a border for the frame.
But I am not getting any information on how to add a border. How can I do it?
Philistine asked 5/6, 2018 at 2:44
3
I am trying to extend the ttk combobox class to allow autosuggestion. the code I have far works well, but I would like to get it to show the dropdown once some text has been entered without removin...
Confidence asked 31/8, 2014 at 1:29
10
Solved
I want to initialize a window as maximized, but I can't find out how to do it. I'm using python 3.3 and Tkinter 8.6 on windows 7. I guess the answer is just here: http://www.tcl.tk/man/tcl/TkCmd/wm...
Jowers asked 12/4, 2013 at 21:17
4
Solved
I have a label with an image, and a button which should update the label / delete the image in the label, so I can put a new image into the same label via label.config.
I tryed to use something li...
3
Solved
this seemed easy...
I wrote a dialog widget where I put some entries, buttons etc - among which a button I'd like to activate by mouse click, but also by pressing return.
I read time ago that it w...
7
Solved
I am trying to change the icon that appears on my tk application for Mac OS. The last time I checked this code worked for windows. The goal is for this solution to work across all platforms.
root ...
Fania asked 16/10, 2018 at 1:23
3
Solved
I am writing a small timing module in Python using tkinter. In that regard, I would like to globally monitor when the escape key is pressed for stopping the timing.
Unfortunately, tkinters ".bind"...
5
Solved
I have a small GUI test with a "Start" button and a Progress bar. The desired behavior is:
Click Start
Progressbar oscillates for 5 seconds
Progressbar stops
The observed behavior is the "Start...
Contributory asked 25/5, 2013 at 1:16
3
Solved
When you create an application with a GUI using Tkinter in Python, the name of your application appears as "Python" in the menu bar on OS X. How can you get it to appear as something else?
11
Solved
Tooltips are those little bits of text that popup when the mouse hovers over a widget for a certain duration of time.
How can I add a tooltip message to my tkinter Python application?
7
Solved
Trying to learn tkinter and python. I want to display line number for the Text widget in an adjacent frame
from Tkinter import *
root = Tk()
txt = Text(root)
txt.pack(expand=YES, fill=BOTH)
frame=...
11
How would I specify the dimensions of a Tkinter text box using pixels? I am not trying to change the font size, I am using this to help me scale it to the size of the window.
7
Solved
I know there are lot of similar questions, but there aren't any simple enough that I am able to understand. I have the following code:
import Tkinter as tk
from PIL import Image, ImageTk
class Ma...
Skantze asked 17/6, 2014 at 22:6
3
Solved
I'm trying to make a canvas scrollable. However, once I try to set up scrollbars to work with the canvas, tkinter seems to completely ignore the dimensions I initially set for my canvas. I've tried...
Zo asked 11/10, 2011 at 14:38
3
Solved
I know you can get frame widgets to expand and fill all of the area available to them in their container via these commands: frameName.pack(fill = 'both', expand = True)
What would do the same for...
Theresita asked 26/6, 2014 at 21:27
2
Solved
I'm trying to make Tkinter show a busy cursor. Unfortunately, I must be missing something terribly obvious. Following is a very simple program that reproduces my problem:
from Tkinter import *
i...
2
Solved
I would like to make a browse folder button using tkinter and to store the path into a variable. So far i am able to print the path but i am not able to store it in a variable. Can you please advis...
Vincevincelette asked 20/4, 2017 at 9:49
3
I have been searching for a way to set the tab order in a tkinter application, that I have been working on. Currently the default order seems to be working from top-down, but it requires using CTRL...
Mancunian asked 13/7, 2011 at 23:59
2
I was reading the response in the link below and ran into 'screen units' but I couldn't find what exactly was referred to by 'screen units' in Jim Denney's response. I know they are not pixels.
How...
Lodie asked 20/1, 2017 at 23:24
5
I have a Button with a button image but when it is in my window the background of the button clashes with the background of the window. It is a .png image but tkinter seems to want to keep the imag...
Privileged asked 24/4, 2015 at 21:24
1
I'm working in Ubuntu with python 3.x, I'm trying to display some emojis in tkinter. In windows I solved this problem by displaying the equivalent surrogate pair Python: Find equivalent surrogate p...
© 2022 - 2024 — McMap. All rights reserved.