Tagged Questions
2
votes
1answer
25 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
26 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
14 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
12 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
27 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 ...
0
votes
0answers
8 views
NSUserNotification not working with wx.app.MainLoop() method
Here is simple code that uses PyObjC interface to show the desktop notification. When I call notify method without wx.app.MainLoop() it works fine but with wx.app.MainLoop() it not.
import ...
-1
votes
3answers
29 views
Iterating over controls in wxPython in order to save session data
I have a GUI written in wxPython (with boa constructor).
I would like to save a user's session to a file, to be loaded the next time the application starts.
I would like to avoid saving each value ...
0
votes
1answer
27 views
How to converter Pyw to executable in Ubuntu?
i have a wxPython(with Python 2.7 64x) script, and this script was been created on Ubuntu 12.
Well, i wanna execute this wxPython as executable on Windows(doubleclick), but on Ubuntu.
I tried change ...
0
votes
1answer
18 views
cp copy in wxPython spaces
In a small wxPython programme I'm making I have a for loop that takes items in a list of files and copies them using cp copy. Everything is fine and works on sources without spaces in their paths. ...
0
votes
1answer
28 views
Dont reset fields when message box show up.
Hi all i am learning python language, and for gui i use wxpython. I have 2 spin ctrl, 1 text ctrl, 1 password ctrl in my GUI. whenever user enter wrong password it will pop-up message that "password ...
1
vote
1answer
20 views
In wxpython, how to make frame fully transparent, while line is visible?
import wx
class DrawPanel(wx.Frame):
def __init__(self):
wx.Frame.__init__(self,None,title="Draw",size=(150,150))
self.SetTransparent(0)
self.Bind(wx.EVT_PAINT, self.OnPaint)
def ...
0
votes
1answer
26 views
How to clear drawing on screen in wxpython?
import wx
app=wx.App()
dc=wx.ScreenDC()
dc.DrawLine(100,100,500,500)
dc.Clear()
I just draw on screen, not to create frame and draw on frame.
The line appear, but dc.Clear() no effect. And I can't ...
-1
votes
2answers
64 views
How to integrate simpleGUI with python 2.7 and 3.0 shell
I am learning Python from coursera. In this course they use simpleGUI module on Codeskulpture. Can anyone tell me how to integrate simpleGUI with python 2.7 and 3.0 shell...
Thanks
0
votes
1answer
19 views
closing a program in wxpython via a menu item
class MainPanel(wx.Panel):##main frame
""""""
#----------------------------------------------------------------------
def __init__(self, parent, size = (5000,5000)):
...
-1
votes
1answer
32 views
How can I display image as color managed with wxPython?
I want to show images with embedded ICC profile with wxPython. To show them correctly, they need to be converted to the current display profile.
Is there a way to get wxPython automatically do the ...