wxPython is a Python wrapper for the cross-platform C++ GUI API wxWidgets.

learn more… | top users | synonyms

0
votes
0answers
3 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" ...
1
vote
2answers
30 views

Saving wxPanel to Image

I'm looking for a way to essentially screen capture a whole wxPanel, and save it as a PNG. The kicker is, there is no screen. I need to be able to "draw" the panel and save the drawn panel with no ...
0
votes
1answer
38 views

python layout/functionality questions

I am about to start making a python (2.7) app - using wx, but im still having a few theoretical walls infront, making me sceptical about practical success. So below are a few questions: 1) My app ...
0
votes
1answer
9 views

WX StaticBoxSizer/Sizer border width

I have made a small example of what I want to achieve which is a StaticBoxSizer which has a fixed border width which can be set. The following example shows several staticbox objects but, how do you ...
0
votes
0answers
6 views

Simple Anaglyph-like Transparent Window that Modifies Pixel Color Behind the Window in Python

Would it be possible to use wxpython( or maybe PIL?) to be able to set up a transparent window that stays on top of all open windows and contains multiple squares (or any shape) that would cause an ...
0
votes
0answers
12 views

wx.aui (or wx.lib.agw.aui) issue

I'm starting with the wx.aui (and wx.lib.agw.aui, since I have not decided yet which one I will use) and I have the following problems : A first thing, not that important, is that the minimize ...
0
votes
1answer
11 views

Using a variable instead of constants for properties in wxFormBuilder

In widgets like the spinctrl or slider box, properties like the inital position, min and max values etc can be set to constants. Is there any way by which they can be specified as variables. so the ...
0
votes
1answer
11 views

How to return selected check boxes using wxPython?

I want to perform following tasks but not getting there: 1] Get checked options under 'OnApply' 2] Once I checked few options then 'Select' or 'UnSelectAll' will only not select/unselect those ...
0
votes
2answers
17 views

How to insert a table inside a frame?

I have a frame with buttons and plotting options and wanted to include a table as well in that frame. Is there any example or suggestion on how to do it? Thanks.
0
votes
1answer
19 views

Scroll bar problems

I have a scrollable wx.textcontrol widget that updates during the course of the program. Whenever the text is updated,the scrollbar resets to the top of the screen. I don't want that to happen, but I ...
0
votes
2answers
71 views
+100

Considerations for python gui toolkit for app that queries remote database?

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
0answers
25 views

Python traceback feature breaks under recursion with wxPython version 2.9

Edit 2: Ok found out why it is happening (will try to find the difference between it and 2.8 after) pdb trace (the gist of it is it sets the size of somethings, calls layout, layout tells some other ...
1
vote
2answers
19 views

How to schedule a task using python

I am working on python script which schedules a task. I have created a GUI from where user schedules his task.The GUI is as shown below Now my script has to receive the inputs from this GUI and ...
0
votes
1answer
24 views

Resize a wxPython Panel without EVT_SIZE being fired

Edit As I was updating this with the bellow edit I realized during my tests that it is something seemingly wrong with the traceback function of python. I will post a new question Edit: Updated to ...
0
votes
1answer
22 views

How to change font color of random individual text in wxPython?

I know, font can be formatted in different ways in wxPython using Rich Text. Like richtext = wx.TextCtrl(self, -1,"Dummy Text Here",size=(100, 100),style=wx.TE_MULTILINE|wx.TE_RICH2) richtext ...

1 2 3 4 5 194
15 30 50 per page