Tagged Questions
1
vote
1answer
14 views
Difference between ACTIVE and NORMAL state
I have been using Tkinter from couple of weeks. One thing I have noticed is that the tkinter widgets (Button, etc.) have 3 states: NORMAL, ACTIVE and DISABLED. I understand the NORMAL and DISABLED ...
0
votes
1answer
14 views
Python action freezes the program
I have this little program I wrote, In it there is a class of methods, and a class that build the window (only one).
from Tkinter import *
from tkMessageBox import *
import socket
import platform ...
0
votes
1answer
14 views
Event during an annimation tkinter python3
I'm programming a little game with tkinter and I need get events during main animation. My annimation is a kind of infinite loop like that :
def animation(self):
while 1:
...
...
...
-1
votes
0answers
16 views
IOError: [Errno 22] invalid mode (“U”) or filename:
I'm trying to create an entry field that requires a file name to be entered so a regular expression can be run on it, but I keep on getting an error with the mode or filename. Can someone please point ...
1
vote
1answer
9 views
_tkinter.tclerror: bad option set tcl value number must be activate, get, configure
Using Tkinter, I have a button that starts an external thread. And a tkinter Textbox that is piped to the external threads stdout and stderr. I got this error only once while executing the external ...
0
votes
1answer
23 views
wxPython not responding
I'm new to python and now I want to try wxpython, but I can't continue even at the very beginning.
Following the toturial,
import wx
app = wx.App(False)
frame = wx.Frame(None, wx.ID_ANY, "Hello ...
0
votes
0answers
39 views
Python How do I write a user provided IP address to a file?
so here's the problem. I have started using python for a little while and I have come across a problem. Although it may seem basic at first, it has had me busy for hours on end.
I am making a ...
0
votes
2answers
9 views
tkinter GUI errors with class declaration and global name “parent” not defined?
I'm learning to write a GUI in python with tkinter and i keep getting 2 errors that i dont quite understand. The first of which is when i run it, there is an error on the line that reads:
class foo:
...
0
votes
1answer
28 views
Attribute Error: 'None Type' object has no attribute 'insert'. Inserting into a text box
So, I've got my basic function that prints some data to a text file. I want to put this data into a textbox in Tkinter. The problem I'm getting is that it's saving all the data to the file, then ...
1
vote
1answer
30 views
How is the following program running?
I am beginner some very basic GUI programming using Tkinter module.
I tried running the program, the source code of which I have copied from another webpage.
from Tkinter import *
def ...
0
votes
1answer
9 views
Python tkiner grid_forget()
I want to make a label appear and disappear, but I am having a problem with grid_forget(). This is part of the code:
def creabackuno():
showinfo( "Wait..","I am creating the backup, please ...
0
votes
2answers
23 views
Subclassing Tkinter to create a custom Widget
please see the following code: (I am basically trying to create a text widget with a vertical scrollbar while retaining all the methods / functions from Tkinter.Text in my class)
class ...
0
votes
2answers
15 views
Python tkinter Transparent background
Is there a way to create a "Loading Screen" in Python 3.x using Tkinter? I mean like the loading screen for Adobe Photoshop, with transparency and so on. I managed to get rid of the frame border ...
1
vote
1answer
15 views
Python Tkinter: AttributeError: Checkbutton instance has no attribute 'get'
I am new to Tkinter. I am trying to create a GUI that has two spinboxes and two checkboxes whose values will be printed when a user clicks a particular button ("Start"). Here is my code so far:
from ...
0
votes
1answer
14 views
Python Tkinter Spinbox with float
Is there a way to get a float value (like 1.91, 1.92 and so on) using the tkinter Spinbox Widget in Python 3.x?
Thanks in advance