0
votes
1answer
12 views

How do I bind wx.CLOSE_BOX to a function?

Fairly simple question, but I can't seem to find the answer. I have a GUI which has a cancel button that asks the user to abort all unsaved changes when they press it. The GUI also has a ...
0
votes
0answers
12 views

wx python reset frame mask

I am trying to change the image of a wx frame that has a mask on it. The mask works fine, and the frame works fine, until I change the image. The old mask outline is still applying to the new image. I ...
0
votes
1answer
23 views

Wx not importing

So I'm using python 3.3 and recently I have tried to install wxpython and wxwidgets. Synaptic package manager shows that wxversion, wxtools and wxgtk2.8 are all installed. When I use the python idle I ...
0
votes
0answers
11 views

wxPython: BitmapButton wx.NO_BORDER

I am creating a BitmapButton by the following code on Ubuntu 12.04 LTS box: contBtn=wx.BitmapButton(self, wx.ID_ANY, self.contbmp, pos=(150,300), style=wx.NO_BORDER) The button comes up fine but ...
1
vote
1answer
15 views

wxPython - TextCtrl different behaviour between Linux and Windows

using python 2.7 and wxpython as GUI API I'm getting two different behaviour on TextCtrl if I'm using Winsows or Linux: using Windows once I run the .py script the TetCtrl is immediately editable, ...
0
votes
0answers
5 views

wxpython PDFViewer.py ValueError when looking for font

I am trying to make use of PDFViewer in wxpython but I am getting these error: raceback (most recent call last): File "/usr/local/lib/python2.7/dist-packages/wx/_core.py", line 16772, in ...
0
votes
0answers
12 views

wxpython : event handler does not gets destroyed on call of class.Destroy method

I am developing a GUI application using wxPython. The application consists of may screens so I have created each class for each screen. In each class I construct wxFrame object for designing screen ...
0
votes
1answer
11 views

wxpython toggle toolbar buttons

I have wxpython toolbar with couple of icons, for example connect, play, save etc. I want to toggle the connect icon. When I am connected then connect bitmap should replace with disconnect and vice ...
0
votes
0answers
10 views

Wxpython visualize selected bitmap

I have couple of bitmaps aligned in panel, and I want when I click on specific bitmap.. The bitmap should be selected like a border around or putting the bitmap inn box. I am able to get the index ...
0
votes
0answers
6 views

How to build wxFormBuilder 3.x on Mac

I downloaded wxFormBuilder 3.4 beta mac to appropriate directory. and open a terminal i run to sh create_build_files4.sh but console show to me following error. MinSeok-ui-iMac-3:wxFormBuilder ...
0
votes
2answers
27 views

Python Image object to WxPython

I just want to display python image object in wxpython panel. What i am trying to accomplish is taking screenshot using python ImageGrab or autopy and showing it in wxpython panel. My screenshot ...
0
votes
0answers
8 views

Inheriting wx.grid.GridCellTextEditor

I am trying to intercept the text being put into the Cell Editor of a wx.grid object by creating a custom cell editor and setting it as the default cell editor of my grid. As a test I did the ...
1
vote
1answer
19 views

Button isnt greyed out when disabled

I have one button and when user clicks it I catch an event and in the handler function I call Disable() function on that button but it isnt greyed out... Only if I click on some other widget after ...
0
votes
0answers
13 views

Py2exe Unable to Set Icon

I'm trying to make a standalone with python and converting it to exe with py2exe, the problem is I can't set an icon to it, this icon (upload it on dropbox) which is 32x32 and 16x16; and this setup ...
0
votes
1answer
15 views

wx button click only displaying dialog for one when either is clicked

Ok, so I am playing around and trying to get an understanding of how to make GUI's with buttons, I figured i would start simple and make one with two buttons that displays a different message ...
0
votes
1answer
19 views

WxPython attribute error, *my class* object has no attribute *my function*

Python 2.7 Ubuntu 12.04 My code is available here. I'm trying to put together a base for myself to make creating wxPython apps easier, I'm using the set up of my last program as that base but it's ...
0
votes
1answer
16 views

Adding Icon or Image to wxpython GUI

I am trying to add icons to my menu options in wxpython. I have followed the code here but my image displays really large (not the nice icons size that Mike shows). Here is my code -- is there a way ...
0
votes
0answers
30 views

Building Invoice Generation System [on hold]

i am in initial phases of building an invoice generation system. Till now the flow of application is as follows: 1) Allow Client to create a template for invoice 2) Provision to load all created ...
0
votes
0answers
12 views

Python/wxpython app shows error while shutting down Windows

I have wxpython multi threaded app, bundled using py2exe, that keep running silently as a task-bar application under windows system tray. When I shutdown Windows, it shows following error message:
1
vote
2answers
12 views

wxPython - Get existing windowDC/handle using wx python module?

I've been looking into using the wx python package on Windows 7. Specifically, I would like to be able to get the image data of a existing window (i.e. not a window opened by the python program). It ...
0
votes
1answer
21 views

Create a strikethrough in wxpython listctrl

I am using a wx.listctrl inside a wxpython GUI. I have a list that updates when I click a button. Currently when I select an item and click the button, I do the following: item = ...
0
votes
1answer
34 views

Get Position of Button in wxpython

I am trying to figure out the position of two buttons in wxpython. I have a gui with a small vertical panel on the left and large panel on the right. wx.Frame.__init__(self, *args, **kwds) ...
0
votes
1answer
27 views

Are there Flat-UI libraries for wxpython or just python?

I've been searching for a library I can import and superimpose on my wxpython-based layout to give it a Flat-UI look. Does there exist libraries that can be used along with wxpython or just python?
0
votes
0answers
23 views

wxPython: rounded edges button does not display properly with Frame having background image

I need to display a button with rounded edges in a frame which has a background image. The button comes up with rounded edges but I still see a rectangle frame outside the button overlapping the ...
1
vote
1answer
21 views

wxPython: How the radio buttons can remember my choise when I close the frame

Hello I have one main frame and a button which when its pressed a second frame opens. The second frame have 6 radio buttons. My question is when I choose a radiobutton different from the allready ...
0
votes
0answers
24 views

Python running command line - get real time terminal output

I have a python script which runs a command line application, if I run this command line application manually in a terminal window then I get a nice realtime readout in the terminal window. I am ...
2
votes
1answer
25 views

Display a Pygame Webcam feed into wxpanel item

I've create a wxpython frame contains three buttons have a problem formatting a video onto the wxpanel This is how im streaming the webcam. #code for the stream of webcam to frame ...
0
votes
0answers
11 views

OnClick in MatPlotLib with WXPython

I tried 2 improvements from my previous question: 1st) To use event handler in Matplotlib (without the Wx I can already use without problem) 2nd) To have the Matplotlib Status Bar with the mouse ...
1
vote
1answer
45 views

What code should I read next to determine the cause of a wx._core.PyAssertionError

We have been having a problem with loading files using wxPython the use case is that we have these files/snips on a folder on the computer. The snips are a small section of an original html file - ...
0
votes
2answers
26 views

Wxpython Switching frames between two python files

i have two py files that each have its own frame made using wxPython, MainWindow and RecWindow. MainWindow has the RecWindow python file included using the keyword "recovery". MainWindow code: class ...
0
votes
1answer
20 views

wxpython's wxEvent.Skip() explained

I'm recently learning wxPython via wxPython in Action, but I got stuck in Chapter 3, especially to the explanation of Figure 3.3's Skip() diamond In Step 3 Locating the binder object, the book ...
0
votes
1answer
44 views

wxpython toolbar textctrl spacing

I have textctrl in wxPython toolbar, I couldn't figure out how to align it with icons(22x22) and have some spacing/padding between toolbar icons and text control and also to frame borders. import wx ...
0
votes
0answers
25 views

wxpython appendtext textctrl continuously

I am developing an intrusion detection system in real time.Thus , i would like those result to be appended to my textcontrol.However , i am unable to append it.It is because the function run in live ...
1
vote
1answer
42 views

WXPython with MatPlotLib

I am trying to use MatPlotLib with WXPython. I find a nice example from http://www.cs.colorado.edu/~kena/classes/5448/s11/presentations/pearse.pdf because it show how to use 2 panels and it is well ...
1
vote
1answer
15 views

wxPython - StyledTextCtrl get currently visible lines

I am still working on my text editor, and now I want to make it run faster. So I thought I may somehow get currently visible text, and parse it as I want. So is there a way to get currently visible ...
0
votes
1answer
32 views

how to combine wxPython, matplotlib and Pyopengl

Hi so I currently have an application whereby I have a window displaying a matplotlib graph. i.e. such as this: from numpy import arange, sin, pi import matplotlib matplotlib.use('WXAgg') from ...
1
vote
1answer
22 views

wxpython horizontal scrollbar not visible

I'm having trouble getting a horizontal scrollbar to show up in my wxPython application. I don't know much about how they work so I have been going through various tutorials and examples trying to ...
0
votes
1answer
17 views

wxPython for Python 2.4.3 on Windows 7

My company server uses Python 2.4.3. I need to use wxPython, but current version of wxPython requires either Python 2.6 or 2.7. How do I get wxPython to work with Python 2.4.3 on Windows 7? ...
1
vote
2answers
15 views

Sizing a wx.TextCtrl widget?

I'm in the process of learning to use wxWidgets and Python, but I'm having some trouble figuring out how to size widgets within a frame. I am under the impression that I can set the size of various ...
2
votes
2answers
25 views

wxPython update StaticText every x seconds/minutes using timer

I'm trying to update some static text using a timer and the output of a function. The code is here: code. I know very little about wxPython, it's one of the many things that I just don't get and ...
0
votes
1answer
35 views

wxPython : Free Style Graphics

I am fairly new to wxPython on Linux OS. I have been trying to create a GUI screen as below. But it seems wxPython it is difficult to do so as I am facing problems listed below: Cannot have buttons ...
0
votes
0answers
36 views

unbound method error in wxPython

I'm new to wxPython and I'm following this official "Getting Started" tutorial. I tested the code they provide in "First steps" section (ctrl+c/ctrl+v), sadly it's not workig and I can't figure out ...
-2
votes
1answer
16 views

wxpython : wrap button label

I am developing a wxPython GUI application where I need to create a Button label of big string - like "Change the Address" The issue is that the button label does not gets wrapped and button size ...
0
votes
0answers
26 views

wxPython : Ubuntu : change screen resolution

I am developing a GUI wxPython application for 800x480 screen resolution and below is the screen resolution that my desktop can support: # xrandr xrandr: Failed to get size of gamma for output ...
0
votes
1answer
39 views

wxpython : Add Background picture and buttons

I am fairly new to wxPython and is trying to place some button over an background image. I was unable to find a container in wxPython that can contain an image and, on top of it some buttons. I am ...
0
votes
0answers
42 views

wx.TaskBarIcon in Ubuntu 13.04 (GNOME or Unity)

I've used wx.TaskBarIcon to successfully implement a systray interface to my application on Windows and Mac but am having severe trouble with it on Ubuntu. There's already been two SO questions ...
0
votes
1answer
37 views

How to close wx.DirDialog programatically?

I have wxpython app that open wx.DirDialog on button click. dlg = wx.DirDialog(self, "Choose a directory:", style=wx.DD_DEFAULT_STYLE) if dlg.ShowModal() == wx.ID_OK: # Do some stuff ...
0
votes
0answers
18 views

wx.taskbaricon remain active even when modal window is open

I'm building wxpython (2.9.4) app that uses wx.taskbaricon. On OS X, when modal windows is open, taskbaricon become disabled, which is expected behaviour. Same program, on Win 7, task bar menu remain ...
0
votes
1answer
15 views

wxpython : button covers all in the frame

Below is my code: #!/usr/bin/python # -*- coding: utf-8 -*- import wx class Example(wx.Frame): def __init__(self): #super(Example, self).__init__(parent, title=title, size=(300, 200)) ...
-3
votes
1answer
35 views

wxpython / python support for touch screen application [closed]

Please let me know some info on how we can use wxpython / python to build a touch screen application? Which is the best package to make use and if there some tutorials / examples that one can refer? ...

15 30 50 per page