Tagged Questions
4
votes
2answers
23 views
TypeError: Argument given by name “id” and position(2) — wxPython
I'm attempting to make tabs in wxPython using the Notebook class. Using the tutorial linked above, I came up with the following code:
#!/usr/bin/env python
import wx
class DeployTab(wx.Panel):
...
1
vote
1answer
35 views
Threading wxPython and XMLRPC
I am doing an app whit wxPython and XMLRPC i need that the window does an action every time the XMLRPC server has a request
How could i do it without blocking the main Window?
I tried with threads ...
1
vote
1answer
17 views
wxPython: how to correcly select ListCtrl item?
I have python 2.7 with wxWidgets 2.8.11.0 installed on my Windows 8. If i execute the following code:
import wx
app = wx.App( redirect = False )
wnd = wx.Frame( parent = None )
widget = wx.ListCtrl( ...
1
vote
1answer
26 views
wxpython - converting PIL.ImageFont to wx.Font or wx.Bitmap
Background:
I am writing a module to create custom splash screens with multiple progress bars (0-5). The splash screen can display in multiple modes (full screen frame-less, % of screen w/wo frames, ...
0
votes
1answer
20 views
wxPython and matplotlib.widgets
I'm working on a Python app that uses wxPython for a GUI with an embedded matplotlib figure. It was going really well until I tried to use a matplotlib GUI-neutral widget called a SpanSelector. ...
1
vote
1answer
48 views
wxpython creataStatusBar strange behavior
I have some wxpython code that behave strangely.. this is OKAY code:
class MainWindow(wx.Frame):
def __init__(self, parent, title):
wx.Frame.__init__(self, parent, title=title,size=(500, ...
1
vote
2answers
37 views
wxPython Nested Panel and Sizers
Started learning wxPython so I could make an application. I'm having issues with nested sizers in particular.
class browser_mainPanel(wx.Panel):
def __init__(self, parent):
...
1
vote
1answer
101 views
wxpython Gridsizer not fitting to panel
I am working on a wxpython GUI. I have three panels (two on the left split horizontally and one on the right split vertically from the other two -- think two squares on left half and tall rectangle ...
1
vote
2answers
36 views
Custom headers organization in ListCtrl or another widget in wxPython
I've written code for ListCtrl in wxPython:
...
self.list_ctrl = wx.ListCtrl(panel, size=(-1,150), style=wx.LC_REPORT|wx.BORDER_SUNKEN)
self.list_ctrl.InsertColumn(0, 'Name')
...
0
votes
0answers
12 views
In wxPython, is there a way to center-align the header of a column in a ListCtrl without making the items also aligned in center?
I think this is a little bug on the wxPython ListCtrl. You may correct me if I am wrong.
The following wxPython code aligns the every header on a ListCtrl widget:
myListCtrl.InsertColumn(i, ...
1
vote
3answers
64 views
Drag and drop application-created file to explorer window
I have a ListCtrl containing some items representing (huge and remote) files. I'd like the user to be able to drag an item to an open directory window and thereby create a file (really initiating a ...
1
vote
1answer
31 views
wxpython flag=wx.EXPAND vs propotion=number
I can't get to understand this: in sizer.Add, proportion is set to identify the scaling ratio of the children widget, and wx.EXPAND tells the children to expand to occupy the available width. but ...
-6
votes
0answers
47 views
Back end programming [closed]
I am new to python, I want to make a GUI from which we do automatic installation instead of a manual install.My question is: do we need to write a back end script for wxpython ? I thought of using ...
0
votes
1answer
24 views
Add Notebook Page in wxpython
I am running a wxpython application. Within the application i have a panel that contains a notebook with some number of notebook pages/tabs. On a button press (wx.button), i would like to be able to ...
0
votes
0answers
13 views
py2exe matplotlib-when exe ran can't find backend_tkagg
So I've searched around stack overflow and found some good info. There is a post with two answers about this exact problem, but from my understanding I've satisfied both of them.
Here is the link to ...