0
votes
0answers
16 views

How to handle wxPython TextCtrls that influence each other's content

I am trying to build a GUI in wxPython. I have two TextCtrls. Let's say they are first_index_input and last_index_input, and they control model.f_i and model.l_i, respectively. There's a condition: ...
0
votes
0answers
37 views

Drawing a Cartesian plane in wxPython

I am looking to include a Cartesian plane in my python apps GUI. Im am building the GUI using wxPython. I am wondering as to the best approach to take? The plane should be populated with images at ...
0
votes
1answer
20 views

wxPython unexpected indent [duplicate]

Starting on wxPython and getting an unexpected indent error. File "gui_texteditor_men.py", line 18 helpMenu= wx.Menu() ^ IndentationError: unexpected indent I've checked my code, (im using ...
1
vote
1answer
22 views

wxPython - wx.Button class

Just started playing around with wxPython and came across the wx.Button class, can someone tell me what the '&' does in the sample labels, why it's there and why its in a different place for some, ...
1
vote
2answers
42 views

TextCtrl scrollbar unusable until window is resized

Solved: Thanks to Aya's answer below I now know that the issue was caused by self.panel = wx.Panel(self, -1) on line 18. I created a panel and didn't attach anything to it. The original issue ...
1
vote
1answer
26 views

wxpython + matplotlib: autoresizing a matplotlib figure

This python program plots a figure in a wxpython window. How can I change the program so that: the figure resizes when I resize the window the main window cannot be resized smaller than a ...
0
votes
1answer
18 views

wxpython + matplotlib: closing figure hangs python

This python program plots a figure in a wxpython window. It runs fine in Enthought Python Distribution 7.3-2, but when I close the figure, python keeps running and doesn't exit. What am I missing? ...
0
votes
1answer
31 views

Trouble Adding The Save Menu Item To My GUI

I used PythonCard to make my GUI and the only menu items I have currently are Save and Exit. Exit is fully functional and closes the program; but when I click on Save nothing happens. I can only ...
-1
votes
1answer
15 views

message box for spin ctrl event in wxpython

Hi all i am learning python and wxpython ,now i am stuck while doing spin-ctrl button event, problem: I have a spin ctrl and few text_ctrl ,spin_ctrl max value is 7 and and it should not set it ...
0
votes
1answer
26 views

change shape of array so it plots colour matplotlib matrix

hl = [(1,109),(12,212),(21,23)] highlightc = np.zeros([N, N]) c = len(highlightc) colour = [0.21]*c test = len(number_list) -c this = [0.21]*test colour.extend(this) colour = np.array(colour) colour ...
0
votes
1answer
22 views

Can I get imshow() like behaviour in a wx.lib.plot.PlotCanvas?

I'm new to wxpython but have been a matplotlib user for some time now. I am developing a wxpython app in which I would like to have a simple frame with a single panel (actually, a ...
0
votes
1answer
18 views

wxpython: issue with layout in example

I am trying to learn wxPython and I get a problem when I run the example code from the wiki: The main frame isn't resizing properly. What's missing? I am running under Enthought Python ...
2
votes
2answers
59 views

Changing GUI library : QT, wxPython… anything else?

Actually working on a project in python with PyQT, we choose to create widgets that were "unpleasant" or that didn't have a good enough behaviour. So, we finally found that QToolbox, QDate and some ...
0
votes
2answers
16 views

Fill wx.Choice at runtime

I was wondering how I fill a wxChoice with content at runtime. When creating the GUI I do not have the information of the content since it depends on the users what directory to choose. What am I ...
-1
votes
0answers
33 views

OO Design: I have a graphical object (windows, panels, buttons) which i need to map into an xml and a .py file. Design patterns recommendations? [closed]

I have this app. It's mostly about creating small panels (like the 5 : "N2: square, N3:sumsquares" etc) I have created the classes for my custom controlls, which extend some wxPython classes - no ...

1 2 3 4 5 133
15 30 50 per page