Hi All
When i tried to run the following code. I am getting error.
import wx
from wx.lib.agw.hypertreelist import HyperTreeList
class test(wx.Frame):
def __init__(self):
wx.Frame.__init__(self, None, -1, title='htl', size=(955,550))
self.CenterOnScreen()
self.tree = HyperTreeList(self, style =
...
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 be able to access that icon from my wxPy...
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.MINIMIZE_BOX|wx.SYSTEM_MENU
...
Is there a way to create a 'kiosk mode' in wxpython under Windows (98 - 7) where the application disables you from breaking out of the app using Windows keys, alt-tab, alt-f4, and ctrl+alt+delete?
...
I am experimenting with matplotlib at the moment. Some time ago I used Excel VBA code to produce images such as the one attached.
You will notice it is not presented in a scientific/research style but rather as if produced by a school-student on graph paper - with three different grid-line styles.
Is there a fairly straightforward way ...
Hello,
I want to remove a pane from the wx.aui.AuiManager.
Is it possible?
...
can any one please expain me the functionality of this function
wx.grid.Grid.create()
i created a frame and inside that i create a grid using this function
every thing is fine but while closing that frame my whole application is closing
while closing i just need to distroy the frame only not the whole application
thankz in advance...
I'm working with a wxPython grid, but I cannot set the background color of it (the grid part that isn't filled with cells). I tried with grid.SetBackgroundColour, but without luck; the backcolor shown is always the default system color for windows.
wx.version() -> 2.8.10.1 (msw-unicode)
sys.version -> 2.5 (r25:51908, Sep 19 2006, 09:5...
Hi:
Is there any reason why the position, pos, flag doesn't seem to work in the following example?
dlg = wx.MessageDialog(
parent=self,
message='You must enter a URL',
caption='Error',
style=wx.OK | wx.ICON_ERROR | wx.STAY_ON_TOP,
pos=(200,200)
)
dlg.ShowModal()
dlg.Destroy()
The documentation is here: http://www...
Hi All
How to adjust the wxPython Frame Size automatically when screen resolution change?
Actually, i have just written a wxPython application, currently Frame size is fixed. Due to this application/frame size is very large on some screen resolutions. So, how to resize/adjust automatically depending on the screen resolution size?
Rega...
I'd like to write a wxPython application that would run in different languages, updating itself automatically (with no need to close it and open it back) whenever I change the language.
Is it possible to make a system that recognises and edits every widget that needs to be updated?
...
I make a program in wxpython which displays questions to the user and a radiobox with answers. Questions and answers should be in a database and is formatted text using some mathematics (paranthesis, root squares etc). Could you propose me what widget I should use for such a text and what could be the database?
Thanks.
...
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?
Regars,
...
Hello,
I have 3 panels and I want to make drags on them.
The problem is that when I do a drag on one this happens:
How can I refresh the frame to happear its color when the panel is no longer there?
This is the code that I have to make the drag:
def onMouseMove(self, event):
(self.pointWidth, self.pointHeight) = event.GetPositio...
I need to convert a compiled python code (.pyo) to its source . I look in depython.net, but there is a problem. A warning;
"File version older than 2.4."
What should I do?
Thanks.
...
Hi,
I want to know if it's possible to put a frame or a panel over a menubar using wxpython?
Thanks in advance!
...
Hello,
I want to change the wxpython menubar colours.
How can I do it?
Thanks in advance :)
...
Hello,
I can't understand how to refresh FigureCanvasWxAgg instance. Here is the example:
import wx
import matplotlib
from matplotlib.backends.backend_wxagg import FigureCanvasWxAgg as FigureCanvas
from matplotlib.figure import Figure
class MainFrame(wx.Frame):
def __init__(self):
wx.Frame.__init__(self, None, wx.NewId(...
I have found only two methods (SaveFile, LoadFile) which save in a file.
How in wxRichTextCtrl to save XML the data directly in a variable?
...
How to make a fixed width column in HyperTreeList? So, that user can't resize it.
...