-
as seen on Stack Overflow
- Search for 'Stack Overflow'
As referenced in my previous question, I am trying to make something slightly wizard-like in function. I have settled on a single frame with a sizer added to it. I build panels for each of the screens I would like users to see, add them to the frame's sizer, then switch between panels by .Hide()ing…
>>> More
-
as seen on Stack Overflow
- Search for 'Stack Overflow'
I have been hitting a dead end with this program. I am trying to build a class that will let me control the BIP's of a button when it is in use. so far this is what i have (see following.) It keeps running this weird error TypeError: 'module' object is not callable - I, coming from C++ and C# (for…
>>> More
-
as seen on Stack Overflow
- Search for 'Stack Overflow'
After looking at questions like this it doesn't make sense that my __init__(self, parrent, id) would be throwing a unbound error? help?
main.py
import wx
from customButton import customButton
from wxPython.wx import *
class MyFrame(wx.Frame):
def __init__(self, parent, ID, title):
wxFrame…
>>> More
-
as seen on Stack Overflow
- Search for 'Stack Overflow'
I can't understand why I am loosing control of my GUI even though I am implementing a thread to play a .wav file. Can someone pin point what is incorrect?
#!/usr/bin/env python
import wx, pyaudio, wave, easygui, thread, time, os, sys, traceback, threading
import wx.lib.delayedresult as inbg
isPaused…
>>> More
-
as seen on Stack Overflow
- Search for 'Stack Overflow'
Hello,
I have three panes with the InfoPane center option.
I want to know how to set their size.
Using this code:
import wx
import wx.aui
class MyFrame(wx.Frame):
def __init__(self, parent, id=-1, title='wx.aui Test',
pos=wx.DefaultPosition, size=(800, 600),
…
>>> More
-
as seen on Stack Overflow
- Search for 'Stack Overflow'
I have an install of python 2.5 that fink placed in /sw/bin/. I use the easy install command
sudo /sw/bin/easy_install wxPython
to try to install wxpython and I get an error while trying to process wxPython-src-2.8.9.1.tab.bz2 that there is not setup script. Easy-install has worked for several…
>>> More
-
as seen on Stack Overflow
- Search for 'Stack Overflow'
I tried to run winpdb.py, but I got an error saying that it could not find wxPython. This is strange to me because I know I have wxPython installed and included in my PYTHONPATH. I can import wx in the Python interpreter.
Mac OS X 10.5.8
Python 2.6
PYTHONPATH=/sw/lib/python2.6/site-packages/:/usr/local/lib/wxPython-unicode-2…
>>> More
-
as seen on Stack Overflow
- Search for 'Stack Overflow'
I have a wxPython application I'm bundling into an exe using py2exe. I've defined an icon in the setup.py file using the following:
setup(
windows=[
{
'script': 'myapp.py',
'icon_resources': [(1, 'myicon.ico')]
},
],
)
This works, but I'd like to…
>>> More
-
as seen on Stack Overflow
- Search for 'Stack Overflow'
Hi All
The following key event is not working. Any idea?
class Frame(wx.Frame):
def __init__(self):
wx.Frame.__init__(self, None, -1, title='testing', size=(300,380), style= wx…
>>> More
-
as seen on Stack Overflow
- Search for 'Stack Overflow'
Hi All
I have created a wx.Frame(lets call it mainFrame). This frame contains a button on it, when the button is clicked, a new frame(lets call it childFrame) is created.
I want to know that how to disable the mainFrame when childFrame is created and enable the mainFrame again when childFrame distroyed/closed…
>>> More