wxPython is a Python wrapper for the cross-platform C++ GUI API wxWidgets.
0
votes
0answers
10 views
How Do I Set the Class Name of a Python wxWidgets Application Window?
I need to set the class name of a Python wxWidgets application window on Linux (Ubuntu). By default it is set to "python."
I have tried calling the SetClassName method on the app and main window ...
0
votes
1answer
14 views
wx.pannel with a menubar
I'm wondering if someone could show me how to add a menubar to the code provided. My problem is I cant find any docs or anything on adding a menubar to wx.panel. Is this even possible? if you could ...
0
votes
0answers
14 views
Sort items using listctrl in Python and wxpython
I am trying to sort items in a 3 column list but it's not quite working. I have it set up to populate a "table". When I first run the program, it sorts the columns no problem. However, I have an ...
0
votes
1answer
9 views
wxpython custom text entry dialog
I am trying to do a text entry dialog, but I don´t want to use the built-in method. I´m doing pretty well , the only problem is that is the buttons are displaying perfectly, but the text entry is ...
0
votes
1answer
11 views
Updating treectrl in wxPython
How can I alter or add items in a treectrl once it has been displayed.
I've created a simple example, how would I add an extra item (E.g. Bananas) after init .
Changing it before init exits works but ...
1
vote
0answers
13 views
How can Eye of Gnome zoom in and navigate in large images so fast?
Recently, I have been trying to view a large image (size is ~7000x5000 pixels) with PyOpenGL and wxPython. My approach was to load the image and apply it as a texture to a quad which in theory should ...
0
votes
1answer
16 views
wxPython button on each frame of notepad that closes application
I have a wxpython class Neoprobe which has 3 classes/notebook pages
class Neoprobe(wx.Frame):
def __init__(self):
wx.Frame.__init__(self, None, title="Neoprobe QC ...
0
votes
0answers
10 views
Fail to choose multiple files in windows XP when using wxPython wxfiledialog
I am currently working on a tools which need to select thousands files as resource.
I used wxfiledialog to choose multiple files.
After packing the program with Py2exe(I also tried cxfreeze), it ...
0
votes
1answer
18 views
Date input field format
I have TextCtrl field in which user should enter the date in format dd.mm.yyyy
I wanna force him to do it in that format, so is it possible to have something like this
* * . * * . * * * * in text ...
1
vote
1answer
26 views
wxPython AttributeError: module has no attribute 'Frame'
I'm trying to learn wxPython and when I'm following the tutorial to learn it. I'm encountering some errors. I have done a bunch of research and can't find anything on this site that relates to my ...
0
votes
1answer
14 views
Set wx.Slider Limit
Is there any way limit a wxpython wx.Slider's control to a point in the middle of the slider? I know I can set the min and max values of the slider, but I want to set up an invisible max or min in the ...
1
vote
2answers
14 views
wxPython, how to get widget's size in millimeter?
Suppose I have a Paper (wx.Panel) and I want to draw a chart on it in millimeter scale, so I set the mapping mode of the PaintDc to millimeter: dc.SetMapMode(wx.MM_METRIC) and then I am going to draw ...
0
votes
1answer
12 views
Why can't I insert title in wx.panel plot?
I have built a GUI with two panels, one for one button and the other for plot some data. In the latter panel I used a Class wx.Panel and call it inside the Frame. Now I'm trying to change the title of ...
1
vote
2answers
45 views
How to stop a looping thread in Python?
What's the proper way to tell a looping thread to stop looping?
I have a fairly simple program that pings a specified host in a separate threading.Thread class. In this class it sleeps 60 seconds, ...
0
votes
1answer
7 views
wxnotebook scrolling off to area monitor
I want to make a program that can scroll to areas off page using wxnotebook, because the area I have to work with on the monitor is too small for the program. I tried one method, but cant get the ...