wxpython

wxpython disable Context Menu in TextCtrl

Hey. I am trying to disable the Context Menu in a TextCtrl widget under wxpython (prevent the context menu from coming up when right clicked). If I create my on Menu and bind it to the right mouse click it will always show my menu but if I dont create menu under right mouse click event it automatically creates a standard conext menu, eve...

wxPython and StaticBox(Sizer) issue

Recently I've been having an issue with the code shown below and it's been bugging me for a while now. I don't know why it's happening, the only thing I know is that the python code brings up a segfault on the line noted and gdb brings up something about memory. Am I doing something wrong or is this a bug? I'd really like to get this wor...

how to implement GUI window or a frame for bash shell with wxwidget or wxpython

HI, guys. I want to develop a window or frame for the bash shell program. Even after trials with the code of the link given by Bryan (thank you so much!!), it still does not work. Basically, I use the code sample put by Anurag Uniyal. However, I have to deal with several processes (so one window for one subprocess call). I do not know ...

wx.ProgressDialog not updating bar or newmsg

The update method of wx.ProgressDialog has a newmsg argument that is supposed to give a textual update on what is happening in each step of the process, but my code is not doing this properly. Here is the link to the documentation for wx.ProgressDialog http://www.wxpython.org/docs/api/wx.ProgressDialog-class.html Also, when I run my co...

Auto-Completion In wxPython wxComboBox

I've been trying to make a ComboBox which would suggest options as you type, much like an IDE's code suggestions/code-sense, or googles suggestions when you type in a search. The suggestions would be the items from the ComboBox dropdown, which contained the substring typed in the text box of the ComboBox. I've tried to make a ComboBox ...

Full internal resize of control in wx.Panel

Hi at all friends :) I have a problem with a control inside a wx.Panel. With my code the wx.GenericDirCtrl inside a wx.Panel don't fit in all directions in the Panel (or fit only in a direction if I use wx.BoxSizer). I use an istance of MyPanel in a wx.Frame. How I can solve it? Thanks The code is: class MyPanel(wx.Panel): def __ini...

Is IronPython a 100% pure Python variant?

I just downloaded the original Python interpreter from Python's site. I just want to learn this language but to start with, I want to write Windows-based standalone applications that are powered by any RDBMS. I want to bundle it like any typical Windows setup. I searched old posts on SO and found guys suggesting wxPython and py2exe. Apa...

wx.GenericDirCtrl Event's handling

Hi, I'm using this control but I can't to handle control click (and others events). This is my code: class BoExplorerPanel(wx.Panel): def __init__(self, parent): wx.Panel.__init__(self, parent, wx.ID_ANY) self.initComponents() # initialize Window components def initComponents(self): print "Inizializzo i controlli" ...