wxpython

wxPython: how to make two toolbars use one statusbar for tooltips?

I have an interface that has two toolbars, one attached to the frame and one embedded in a notebook tab. The one in the frame dutifully shows longHelp strings in the statusbar, the one in the notebook tab does not. How do I tell the one on the notebook tab where to display its help, or do I have to manage enter and leave bindings myself?...

wxPython execution

How and where should the wxPython program be executed? ...

wxpython compilation

I'm trying wxpython for the first time,so i need a sample program with the details of how to run it ...

wxPython sample projects

Can anyone tell where I would find free sample projects for wxPython? ...

FileMakerPro equivalent for Linux?

I've got a possible client who has mocked up an application in FileMakerPro, shown it to me, and said "can you do this, but I want it to run on both Linux and Windows XP?" He wants this application to sell with hardware that he currently sells. The main page of the app basically has a normal form at the top with the result of one query...

wxPython: Good way to overlay a wx.Panel on an existing wx.Panel

I have a wx.Frame, in which there is a main wx.Panel with several widgets inside of it. I want one button in there to cause a "help panel" to come up. This help panel would probably be a wx.Panel, and I want it to overlay the entire main wx.Panel (not including the menu bar of the wx.Frame). There should be some sort of close button on t...

wxPython: how to search for text in a TextCtrl?

I feel like I must be missing something completely obvious, but I don't see how to search for text in a multi line textctrl. Is there an API for searching forwards and backwards through a text control? I do not want suggestions involving the FindReplaceDialog, that's not an option I wish to explore. I will be creating an entry widget an...

wxPython: Making something expand

How do I make any wxPython widget (like wx.Panel or wx.Button) automatically expand to fill its parent window? ...

HTML conversion

How to convert HTML CSS file to wxPython files? That is, how to create slidsheet in wxPython like HTML CSS files? ...

wx.Panel scales to fit entire parent Frame despite giving it a size

Hi I am newbie to wxpython I am trying to have a Frame and within that a small panel area which I am coloring blue. However no matter what I do the wx.Panel using the size attribute , the single panel snaps to the size of its parent frame. If I add another panel (pane2 in code below) both panes are drawn in the correct size. I know I c...

wxpython: How can I redraw something when a window is retored?

In my wx.Frame based wxpython application, I draw some lines on a panel when some events occur by creating wx.ClientDC instances when needed. The only problem is, if the window is minimized and then restored, the lines disappear! Is there some kind of method that I should override or event to bind to that will allow me to call the drawin...

Password Encryption

I am developing an student attendance application in wxpython and I need to know how to convert a display text into encrypted password format. Forexample :if I give the name as moni means then it should be displayed as in format of **** ...

Problem deploying Python program (packaged with py2exe)

I have a problem: I used py2exe for my program, and it worked on my computer. I packaged it with Inno Setup (still worked on my computer), but when I sent it to a different computer, I got the following error when trying to run the application: "CreateProcess failed; code 14001." The app won't run. (Note: I am using wxPython and the mult...

How do I link a combo box and a command button?

This is my combo box code: self.lblname = wx.StaticText(self, -1,"Timeslot" ,wx.Point(20,150)) self.sampleList = ['09.00-10.00','10.00-11.00','11.00-12.00'] self.edithear=wx.ComboBox(self, 30, "", wx.Point(150,150 ), wx.Size(95, -1), self.sampleList, wx.CB_DROPDOWN) and this is my command button code: def OnClick(self,event): s...

attributes of commandevent

what are the get()attributes of command event in wxpython just like getid(). ...

wxPython SplitterWindow does not expand within a Panel

Hi, I'm trying a simple layout and the panel divided by a SplitterWindow doesn't expand to fill the whole area, what I want is this: [button] <= (fixed size) --------- TEXT AREA } ~~~~~~~~~ <= (this is the splitter) } this is a panel TEXT AREA } The a...

how to disable window close button in OSX using wxpython?

i am working on an application for osx using wxpython. I want to minimize window to dockbar when user clicks on the window close button so that it can be restored from the dockbar. How can i do that? Currently i am having problem restoring window because it gets destroyed when user clicks on the close button. how can i prevent that? Tha...

wxPython RichTextCtrl much slower than tkInter Text?

I've made a small tool that parses a chunk of text, does some simple processing (retrieves values from a dictionary, a few regex, etc.) and then spits the results. In order to make easier to read the results, I made two graphic ports, one with tkInter and other with wxPython, so the output is nicely displayed in a Text Area with some wo...

Windows Application Programming & wxPython

Developing a project of mine I realize I have a need for some level of persistence across sessions, for example when a user executes the application, changes some preferences and then closes the app. The next time the user executes the app, be it after a reboot or 15 minutes, I would like to be able to retain the preferences that had be...

wxPython menu doesn't display image

I am creating a menu and assigning images to menu items, sometime first item in menu doesn't display any image, I am not able to find the reason. I have tried to make a simple stand alone example and below is the code which does demonstrates the problem on my machine. I am using windows XP, wx 2.8.7.1 (msw-unicode)' import wx def getBm...