tkinter
How do I make radiobuttons assign either a 0,1,2 or 3 to my variables?
Here is a rough example of a multiple choice test that I made. It runs in terminal and I\'m hoping to make a Graphical User Interface for it using Tkinter.[详细]
2023-04-13 05:24 分类:问答Python/Tkinter: Getting the full Event name?
How do I get th开发者_开发问答e full name of an event? For example, Event.keysym only shows \"c\" for an event triggered by \"<Control-c>\". How can I get the \"Control\" too?Event.state holds t[详细]
2023-04-13 01:35 分类:问答tkinter: using scrollbars on a canvas
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[详细]
2023-04-12 19:07 分类:问答Python: load a UI from a separate file
G\'day All, I\'m using tkinter for my GUI.Currently when I write an app most of the code is the interface widgets.I know how to import a file of def开发者_JS百科ined functions and use them and I want[详细]
2023-04-12 11:38 分类:问答unremovable text in tkinter
here is some code: from Tkinter import * class Main(object): def __init__(self): self.console = Text(root, relief=\'groove\', cursor=\'arrow\', spacing1=3)[详细]
2023-04-12 09:41 分类:问答Tkinter - Why is my background/frame not re-painting?
I am not sure if I am on the right track here-- but I started GUI programming with Python. I have all of my buttons and entries worked out. The main problem I am having is with the method that rolls[详细]
2023-04-12 04:25 分类:问答tkinter woes when porting 2.x code to 3.x, 'tkinter' module attribute doesn't exist
UPDATED: SEE BELOW I\'ve been porting the code for this assignment: htt开发者_StackOverflow社区p://www.stanford.edu/class/cs221/progAssignments/PA1/search.html (the entire source code is available as[详细]
2023-04-12 04:11 分类:问答Python 2.6 font/colour change + error window
I just have two hopefully quick questions. I\'m using Python 2.6 How should I 开发者_Go百科go about changing the font and colour of a string with the tkfont class? I seem to find tonnes of documenta[详细]
2023-04-12 03:46 分类:问答NULL tstate Error when using matplotlib together with Tkinter
I draw some matplotlib.pyplot figures onto a Tkinter GUI. When I destroy the window the \"Fatal Python Error\" is raised. I seem to not be the only one with the problem but I cannot read a solution to[详细]
2023-04-12 01:00 分类:问答I am having trouble getting the navigation toolbar to come up on matplotlib plot embedded in tkinter
I wrote this program that uses a tkinter gui to plot orbits using matplotlib.Everything works but the toolbar on the graph. I have it in there but is not active.The program just does nothing when I ha[详细]
2023-04-11 21:45 分类:问答