Tagged Questions
3
votes
2answers
45 views
Python GUI programming using drag and drop, also incorporating stdout redirect
Hi to everyone & thanks in advance for any help given!
I'm new to programming & new to python. I've just developed my first script, it prosesses file, but at the moment only from the ...
0
votes
1answer
18 views
Python thread runs even after closing WxPython application
the following code takes screenshots and logs keystrokes and mouse movements. It uses wxpython as GUI framework. I'm using python threads for screenshot and logging service. But whenever I close the ...
1
vote
1answer
18 views
wxgrid cell renderer set col size
I made a class whic extends PyGridCellRenderer and I can set size of columns with
self.colSize = SOME_SIZE, but that sets same size for all columns, how can I set size for specific column?
1
vote
1answer
10 views
wxPython slider: Some module attributes appear to be missing
When I run this wxPython code:
self.pwm_duty_cycle_slider = wx.Slider(self.panel, id=wx.ID_ANY,
value=60, minValue=5,
...
3
votes
1answer
16 views
wxPython scrolled panel scroll bar sizing issue
I'm having an issue with a GUI that I'm currently building. My app is currently structured with two notebooks side by side, with a terminal/log textCtrl below. The left notebook contains various ...
1
vote
5answers
220 views
Considerations for python gui toolkit for app that queries remote database? [on hold]
I know this question has been asked before but those questions typically lack specific details and result in answers that say something like "It depends what you are trying to do..." so the main gist ...
0
votes
1answer
22 views
wx.TextCtrl use drag and drop folder to get file path
I currently have a working app using wx.TextCtrl, where I open a select folder dialogue box. I would like to add drag and drop so I could just drag and drop a folder to get the folder path, so I could ...
1
vote
1answer
15 views
Can I run App.MainLoop from a Process using multiprocessing?
I'm developing an app which makes use of multiple processes.
Each process is created by the original python process (ie, there is one level of forking involved).
In order to gracefully terminate in ...
0
votes
3answers
18 views
How to display a leading zeros for number in wx.SpinCtrl?
What's the best way to dispay leading zeros for number in wx.SpinCtrl?
I've created SpinCtrl:
self.MySpin = wx.SpinCtrl(self, min=1, max=100)
and i want that displaying 002, 003... 012 etc
when ...
0
votes
1answer
11 views
Go to specifc row in wx.grid
I have wx.grid filled with data and I have search option so when user enters some text, I find it and select that row. The problem is that row only gets selected but doesnt become visible. It doesnt ...
3
votes
3answers
6k views
How do you force refresh of a wx.Panel?
I am trying to modify the controls of a Panel, have it update, then continue on with code execution. The problem seems to be that the Panel is waiting for Idle before it will refresh itself. I've ...
0
votes
0answers
18 views
show popup menu on hotkey to work same way as right click (wxPython)
I have a simple popup menu from an example posted here (last one): http://www.blog.pythonlibrary.org/2012/02/14/wxpython-all-about-menus/
I've added a hotkey to show it and while it's working mostly ...
1
vote
1answer
28 views
wxPython htmlWindow <textarea> not working correctly
I am writing a simple program using wx.html.htmlWindow, and I have problem: when I try to render <textarea></textarea>, it is not being showed! Maybe I am doing something wrong?
Code:
...
3
votes
5answers
882 views
python object AttributeError: type object 'Track' has no attribute 'title'
I apologize if this is a noob question, but I can't seem to figure this one out.
I have defined an object that defines a music track
(NOTE: originally had the just ATTRIBUTE vs self.ATTRIBUTE. I ...
9
votes
6answers
4k views
wxPython import error
I'm having trouble figuring out an error message in Python.
yesterday, I've installed python using the latest EPD package, and wxPython2.9 using the wxPython2.9-osx-cocoa-py2.7 package for Mac OS.
I ...