Skip to main content

All Questions

Tagged with or
Filter by
Sorted by
Tagged with
0 votes
1 answer
71 views

Please I need help n solving this problem. I want to compile a wxpython app in mac OS Tahoe 26.0.1 with pyinstaller But I keep getting this error. No module named 'wx._msw' It is shown in the ...
Oluwatosin Durodola's user avatar
1 vote
1 answer
59 views

My main purpose is to draw a line on ShapeCanvas when when clicking the Add Edge button. The code I wrote is below: import wx import wx.lib.ogl as ogl class MyPen: def __init__(self, color, width, ...
Ahmed's user avatar
  • 11
0 votes
1 answer
56 views

Trying to upgrade my python 2.7 scripts to the latest python 3.x for my PC running Windows 7-x64. To do so, I installed python 3.8.9. I get a nasty error when I press ENTER after typing "import ...
papin's user avatar
  • 81
1 vote
0 answers
53 views

Recently I upgraded matplotlib from version 3.7.2 to 3.10.5, and I have this error following a blit method in a wxpython embedded canvas: Traceback (most recent call last): File "C:\Users\vjo\...
roural's user avatar
  • 71
0 votes
1 answer
80 views

I’m using matplotlib in wxpython, and here is what I’m trying to do… I’d like to define my figure to be a specific (user chosen) size…say 8 inches wide by 6 inches high. Then, I’d like the user to be ...
David Hope's user avatar
  • 2,268
0 votes
1 answer
263 views

Please, how can I install wxpython on Fedora os? I have tried installing it but I got the following error. Thank you in advance for your answer. I have the C++ compiler installed on my computer but I ...
Oluwatosin Durodola's user avatar
0 votes
0 answers
75 views

I am designing a GUI for instrumentation control using wxPython. I am first setting up all the fields and controls I need. Among those controls are SpinCtrlDouble I use to define frequencies and ...
Aldehyde's user avatar
  • 113
-1 votes
1 answer
143 views

I am trying to build wxPython (version 4.2. 4a1) from source for python 3.12.3 using wxWidgets (version 3.2. 7. 1) and SIP (version 6.11. 0) in a Docker container based on Ubuntu 24.04. The build ...
user2943111's user avatar
1 vote
2 answers
87 views

I'm trying to use the wx.FileDialog class to select the name of a file. I don't want to open it. This is a minimal example of what I'm trying to do: import wx if __name__ == '__main__': app = wx....
Anton Lahti's user avatar
0 votes
0 answers
225 views

I have tried to install wxPython on Python versions 3.10, 3.12, and 3.13, and they all fail with much the same error. I've installed as many of the required packages as are necessary. Does anyone have ...
cnobile's user avatar
  • 435
0 votes
1 answer
70 views

In the course of buying a new laptop, I've upgraded wxPython to version 4.2.2, and in an otherwise-fine GUI application (including tree, forms, perspectives, ... all provided with wxPython), the ...
virtualnobi's user avatar
  • 1,190
0 votes
1 answer
121 views

WxFormBuilder, version 4.2.1 and WxPython 4.2.2 After upgrading from earlier versions of WxPython and WxFormBuilder, I loaded in a previously building and working project. When I click on 'Generate ...
Traveler_3994's user avatar
0 votes
0 answers
18 views

The purpose: For the specific OCR post-processing application, I am displaying part of the text that should be copy/pasted to another application. It should be as much minimalistic and user friendy as ...
pepr's user avatar
  • 21.1k
0 votes
0 answers
212 views

I want to use wxPython under free threaded Python 3.13. Currently, there is no wheel file available. Problem 1: Pip will build from source but fail due to missing packages. Solution 1: I installed ...
BeschBesch's user avatar
1 vote
1 answer
95 views

The wxpython application does not work as it is supposed to work after compiling it with pyinstaller. When I run the python code with the python interpreter, it works properly. But when it is bundled ...
Oluwatosin Durodola's user avatar
0 votes
1 answer
44 views

I want to print text on a window such that the text is justified (like in MS-Word). when I input a string to wx.StaticText(panel, label=txt), it completely ignores duplicate spaces and replaces them ...
topcat's user avatar
  • 189
0 votes
1 answer
57 views

I'm getting the weirdest error while converting an application from Python 2 to Python 3. Briefly this application uses wxPython to create an interface where the user can draw different objects on a ...
SickNebo's user avatar
2 votes
2 answers
62 views

I'm currently in the process of coding an application with wxPython, in Python 3.12. The app contains two multiline text boxes, side by side: the box on the left takes user input, and the box on the ...
Robert Goddard-Wright's user avatar
0 votes
2 answers
53 views

I don't know whether wxpython is the problem or my code, but the label always catches focus if I want to start my code. Even clicking somewhere else won't let go, and it is still focused. here is my ...
Coder's user avatar
  • 1
0 votes
1 answer
117 views

Currently using WXpython creating a chess puzzle game and I'm trying to display 2 images, one on top of the other. The issue is, despite the original image of the white pawn in my files having a ...
user27984094's user avatar
0 votes
1 answer
54 views

I am trying to use a method present in an ocx file. The definition of this method is (resolution from VS - c#) VS Screen [DispId(17)] [MethodImpl(MethodImplOptions.PreserveSig | MethodImplOptions....
Antonino Bonanno's user avatar
1 vote
1 answer
61 views

If I resize the window and I make it full screen again I get the result I desire: Before After resize window and full screen The panel is the one on the far right with a more black grey color. I have ...
MeMedesimo's user avatar
0 votes
0 answers
75 views

Eclipse Platform: Version: 2024-06 (4.32) Build id: I20240601-0610 PyDev for Eclipse 12.2.0.202409031913 wxPython 4.2.2 wxFormBuilder Version 4.2.1-0-g80c4cb6 ####### When I open a file in ...
Den's user avatar
  • 199
0 votes
2 answers
95 views

My existing wxPython app is based on a wxFormBuilder skeleton. It will accept new image files to work with via a file selector dialog. Now, I would like to make drag-n-drop available, but am stuck on ...
user999713's user avatar
0 votes
2 answers
168 views

I'm on wxPython version 4.0.7.post2, and Python version 3.8.2. I've enabled warnings to catch the things I need to change in preparation for upgrading both Python and wxPython. One of the warnings I ...
Primordial_Hamster's user avatar
1 vote
0 answers
46 views

I'm trying to make a program that reads in cycle the data from RS232 interface and shows it on wx.ListCtrl. The problem I have is that the data updates each 1 second and it's seems to be to high to ...
dim_dim's user avatar
  • 11
1 vote
3 answers
171 views

I'm trying to apply gaussian blur to a PIL.Image which has transparency, but blurring doesn't seem to be applied to the alpha channel. Here's my code: import wx from PIL import Image, ImageFilter ...
Benco's user avatar
  • 67
0 votes
1 answer
118 views

I want to display in a wxPython frame an SVG image that uses a feGaussianBlur. The following example shows the image but the gaussian blur is not applied. I checked the SVG code, and it seeems fine. ...
Benco's user avatar
  • 67
-1 votes
1 answer
53 views

I am using python 2.7 and wxPython 2.8. I created a simple desktop application from which the user can start an HTTPServer created from the one builtin in python itself. Server is created in this way: ...
semantic-dev's user avatar
  • 1,123
0 votes
0 answers
124 views

I am trying to center the text inside a TextCtrl. Many solutions to other similar questions rely on using ALIGN_CENTER_VERTICAL however I cannot do this as I want my text box to be larger than the ...
nyxaria's user avatar
  • 490
1 vote
0 answers
77 views

In my setup_base.py script, when I import wx and run: Python312\\python -OO setup.py build_exe I am getting an exit code of 3221225477. When I remove the import wx, it succeeds with an exit code of 0....
yash's user avatar
  • 41
0 votes
1 answer
99 views

I have two wxwidgets hosts: Windows 11 VirtualBox 7.0.14 161095 Fedora 39 (guest) wxWidgets 3.2.4 Fedora 39 (native) wxWidgets 3.2.4 The vbox host will play to an MobaXterm Personal Edition v24.0 ...
Nufosmatic's user avatar
0 votes
1 answer
163 views

I have a wxPython application that remembers its windows positions and sizes by writing them down into a configuration file upon closing, and restoring them from the config file upon launch. Worked ...
Headcrab's user avatar
  • 7,243
0 votes
1 answer
78 views

I'm struggling to debug an issue users are reporting with the kicad JLCPCB tools plugin. I feel like this is due to a misusage of queues or objects but I'm stuck without any next step ideas. The queue ...
Chris Morgan's user avatar
  • 1,389
0 votes
1 answer
91 views

For example, like google drive. Google drive is developed using wxPython, which means there is such a possibility Screenshot from Google Drive Ideas using Bitmap and DC come to mind, but I would like ...
macdoor5's user avatar
0 votes
1 answer
57 views

I am building an app using wxPython but I am having trouble with the text wrapping on the StaticText elements. The wrapping is working for other elements without using Wrap(). With this test, you ...
BaccaRuler MC's user avatar
1 vote
0 answers
55 views

I have written a Python module to produce plots of data. The plots are generated on a dialog because I can use a modal dialog to produce a data plot, then close it to go on with the parent program. It ...
DirtFarmer's user avatar
0 votes
0 answers
82 views

I want to programmatically set the value of a slider after the control has been created displayed, and the EVT_SLIDER handler has been bound. Is there a way to avoid triggering the handler when ...
Sequestered1776Vexer's user avatar
0 votes
0 answers
62 views

I want to populate a wx.ComboBox with a large number of items but rather than having to scroll through them all, I'd like to type a string into the ComboBox and narrow the items in the ComboBox using ...
wef's user avatar
  • 371
0 votes
1 answer
47 views

Creating a slider in a wxPython sized panel incorrectly displays the labels as shown here: The following is the smallest program I could write to demonstrate the problem. from typing import cast ...
Sequestered1776Vexer's user avatar
0 votes
1 answer
53 views

This dist is generated by Vue enter image description here import os import wx import wx.html2 class MyBrowser(wx.Frame): def __init__(self, *args, **kwds): wx.Frame.__init__(self, *args, *...
Blue My's user avatar
0 votes
1 answer
41 views

I am trying to create a dynamic "predictive" listbox below a SearchCtrl widget in wxPython. The code shown below is what I would like it to look like, but the binding event of the ...
scriptOmate's user avatar
0 votes
1 answer
70 views

Basic outline of situation In wxPython, I have a wx.lib.sized_controls.SizedFrame() as a class object which holds a wx.lib.sized_controls.SizedScrolledPanel() with SetSizerProps(expand=True, ...
Montmons's user avatar
  • 1,436
0 votes
1 answer
56 views

This is a part of the code which successfully displays the values in the dict art in a wxListBox. However, nothing I try returns other than -1 from the last line below. Can anyone see why it doesn't ...
Paul953's user avatar
1 vote
2 answers
134 views

I have the below sample application which has a couple of simple sizers which, for some reason, are centered vertically, which I dont want (see attachment). I want the wxchoice sizer to be position at ...
speedyrazor's user avatar
  • 3,265
0 votes
0 answers
90 views

I create a new bitmap on each frame so that everything draws on a new canvas but apparently something else is going on, each frame seems to be drawing on top of the previous, is there something I have ...
shuji's user avatar
  • 7,566
0 votes
0 answers
61 views

Environment: wxPython v.4.2.2, Python 3.10 There’s editor-like GUI app: Frame->Panel->MultiSplitterWindow->Panel->STC. I’m implementing Search function as LongRunning, simplified excerpt: ...
Michael G's user avatar
0 votes
2 answers
135 views

I want to execute a long task in a wxpython UI, without the UI losing responsiveness. I thought using concurrent futures with a ThreadPoolExecutor would allow me to do just that, but the UI still ...
Matthis's user avatar
  • 55
0 votes
1 answer
59 views

I have logical problem in my script. This script is supposed to create two buttons namely, add_button and subtract_button. When the add button is clicked it will increment a variable by one and if it ...
Z.Edibo's user avatar
  • 27
0 votes
1 answer
87 views

I've got an Ultimate List Control with two columns. If I select an item and the use the arrow keys, focus changes appropriately. If I use an arrow key to select an item that is above or below the area ...
Joseph_the_Levi's user avatar

1
2 3 4 5
145