Tagged Questions
0
votes
1answer
22 views
trouble with matplotlib pubsub python
Traceback (most recent call last):
File "PSPsolver1.py", line 520, in getchain
Publisher().sendMessage(("show.mainframe"), msg)
File ...
0
votes
0answers
14 views
adding Object values in a wx.Listctrl Widget
Sorry for asking again so soon, but with the answer I was given earlier... along with some revisions based on what I did manage to study.
from wx import *
import Customer as c
class CustomerMain ( ...
0
votes
1answer
34 views
variable not being defined in a class despite being defined in it's init function
from wx import *
import Customer as c
class CustomerMain ( wx.Frame ):
def __init__( self, parent ):
wx.Frame.__init__ ( self, parent, id = wx.ID_ANY, title = u"Customers", pos = ...
0
votes
0answers
14 views
wx MediaCtrl Mac OS X backend does not mantain aspect ratio
On the Mac OS X backend I found that it doesn't keep the aspect ratio when the window is resized? Is there a way to do that?
Note: This code also doesn't seem to work with urls... strange but it ...
0
votes
1answer
41 views
I'm trying to get the correct minutes, and seconds when using integers
I'm attempting to create a stopwatch-like gui application (wxpython). I have the buttons: start, stop, reset, and a frame that displays 00:00.0 (mm:ss:tt, minutes, seconds, tenths of seconds). ...
0
votes
1answer
22 views
Non-flicker interactive Image sequence display with wxpython
I've created an interactive image sequence viewer. The viewer would work almost perfectly only if there is no flickering. I read a bit about double buffering and find it a bit confusing. I need ...
0
votes
1answer
11 views
wxPython set selected control upon application start
I have a simple wxPython application. It basically has a image and a text-entry field (a wx.TextCtrl).
I want to be able to immediately be able to start entering text as soon as the window opens. ...
0
votes
1answer
21 views
Why does the use of *args and **kwargs throw an error in wxpython?
Running this code results an in error
import wx
class MyFrame(wx.Frame):
def __init__(self, *args, **kwargs):
wx.Frame.__init__(self, args, kwargs)
self.Show()
app = wx.App()
...
-1
votes
1answer
22 views
updating text on canvas wxpython
canvas = FigureCanvas(self, -1, fig)
canvas.mpl_connect('pick_event',on_pick)
canvas.mpl_connect('motion_notify_event', motion_notify_callback)
SSkey1=wx.StaticText(canvas,-1,"SS",pos=(623,42))
...
0
votes
1answer
29 views
pass terminal output to GUI using wxpython
Hi all i am using python 2.7 and for GUI wxpython, in linux environment. I wants to redirect output from terminal to Message box, how it will happen?
My code is:
p = subprocess.call(" grep "Wanted" ...
2
votes
1answer
33 views
Setting up idle thread/signalling thread
I'm using Python with wxPython for writing an app.
The method I'm considering to accomplish this may not be the best - if that's the case, let me know because I'm open to refactoring.
Right now, I ...
0
votes
1answer
27 views
How to establish a connection from a wxpython desktop app to a remote msyql database?
I'm writing a desktop app in wxpython. For simplicity sake let's say it's a just a frame with a button in it. When someone clicks that button a record inserted into a remote mysql table with the ...
0
votes
0answers
16 views
wxpython, passing user datas to html2
i am trying to develop python GUI to access webpages. below example is working fine. but i need to pass user credentials(username/password) with in this code.
i dont want to click on that button. ...
1
vote
1answer
15 views
wxPython TextCtrl Not Focusing After using Remove() or Clear()
So I am making my Major Project for my HSC which consists of three banking calculators.
I gather the data from various TextCtrls before doing the calculations. For my Savings Calculator, I have two ...
2
votes
1answer
32 views
controlling UI elements in wxPython using threading
I'm writing a simple game using Python/wxWidgets.
I've written a class for the main window and a simple class for another frame that gets user input.
The architecture I have so far is that the app ...