wxPython is a Python wrapper for the cross-platform C++ GUI API wxWidgets.
0
votes
0answers
2 views
import wx not working in uncompiled scripts
I have installed Python 2.7.5 and wxPython 2.8.12.1 on my new Windows 7 machine, and the 'import wx' statement doesn't work when I try to run the containing .py script directly from the Windows ...
3
votes
0answers
7 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
1answer
13 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
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 ...
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 ...
0
votes
1answer
11 views
wxpython return type of masked combo
I have a frustrating problem with wxpython. I've been trying to use the masked ComboBox from wx.lib.masked, but whenever I try to compare its return value with a string, the result is always False, ...
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
26 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:
...
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
14 views
EnableAlternateRowColours Example would help a lot
I have a wx.ListCtrl interface, as found on:
http://wiki.wxpython.org/AnotherTutorial#wx.ListCtrl
but I cant get the Alternate Row Colours to work, as seen here:
...
0
votes
1answer
7 views
Interactive Tree Visualization using wxPython
I need to display a tree like this:
http://upload.wikimedia.org/wikipedia/commons/f/f7/Binary_tree.svg
with the following things to consider:
1) The model is not necessarily a binary tree, it could ...
0
votes
0answers
9 views
wxPython StyledTextCtrl get keywords
I am writing a simple program in wxPython and I use StyledTextCtrl. I wonder: is there a way to get current KeyWords, used by the StyledTextCtrl?
0
votes
1answer
9 views
wxpython adding grid and menubar
Im trying to create a grid with 10 rows and 10 columns. I dont have problems displaying the grid separately, but when I add my menubar, its not being displayed correctly..Im basically trying to add a ...
-1
votes
1answer
16 views
Getting started with a phton video player which allows the video to be processed and played whilst it is downloading [on hold]
I am writing a wxPython application which connects to a large (2Gb+) video file and downloads the file in chunks. I have been using wx.media.MediaCtrl to play the file once it is downloaded and ...
1
vote
1answer
19 views
wxpython , passing boolean flag for background checking
How can i get a value from button click from my frame?
btnYes = wx.Button(panel, -1, "OK")
self.Bind(wx.EVT_BUTTON, self.clickYes, btnYes)
def clickYes(self, evt):
print "clicked Yes"
...