Questions tagged [wxwidgets]

wxWidgets is a cross-platform GUI framework. It is written in C++ and has bindings for Python, Perl, Ruby, PHP, Erlang and even .Net. It also supports several mobile platforms including Windows Mobile, iPhone SDK and embedded GTK+.

Information:

Current stable version: 3.0.5
Current development version: 3.1.5
Old stable version: 2.8.12

Homepage:

http://www.wxwidgets.org/

Documentation:

Books:

4153 questions
76
votes
14 answers

Is there any 'out-of-the-box' 2D/3D plotting library for C++?

I looked at the different options for plotting functions (or other types of graphs) in an interactive window. I mostly use wxWidgets but I'd be open to any other "interfaces". Looking at what is available, here is what I've found: wxPlot: Not…
user38290
  • 761
  • 1
  • 6
  • 3
56
votes
16 answers

Python ImportError: No module named wx

Im sorry to ask this question again. I have searched and found endles repeats of it both on stackoverflow and also on general google search. Unfortunatly I just cant get my system sorted. I have the…
Luke Bream
  • 855
  • 2
  • 10
  • 15
55
votes
2 answers

QT vs wxWidgets

The question has been asked before, but the most recent one seems to be from two years ago, so there must be new developments that must have occurred in the two toolkits. So which toolkit should I use for developing a GUI with C++? What are the…
rasen58
  • 4,672
  • 8
  • 39
  • 74
39
votes
1 answer

How to refresh wxAuiManager panes when updating their properties in wxPHP?

I've set up a simple wxAuiManager system containing eight text controls, each set up as a pane, with all arranged around a central static control. I have two each snapped to the top, left, right and bottom pane directions. This part works fine. I'd…
halfer
  • 19,824
  • 17
  • 99
  • 186
36
votes
4 answers

Which, if any, achieves Windows native look: GTK+, wxWidgets, Qt, FLTK?

I need to write an application that will be visually indistinguishable from something written natively for Windows XP/Vista/7 using whatever comes by default with the most modern Visual Studio. But I'm developing using MinGW and Vim (in C++). In…
Evgeni Sergeev
  • 22,495
  • 17
  • 107
  • 124
32
votes
9 answers

expand file names that have environment variables in their path

What's the best way to expand ${MyPath}/filename.txt to /home/user/filename.txt or %MyPath%/filename.txt to c:\Documents and settings\user\filename.txt with out traversing the path string looking for environement variables directly? I see that…
Dan
  • 1,339
  • 3
  • 13
  • 19
29
votes
3 answers

Is WxWidgets still relevant in 2015?

Is WxWidgets relevant in 2015? Last release was on October 06, 2014, is this project dead? Is there any reason to pick it over Qt?
graywolf
  • 7,092
  • 7
  • 53
  • 77
28
votes
6 answers

wxWidgets: How to initialize wxApp without using macros and without entering the main application loop?

We need to write unit tests for a wxWidgets application using Google Test Framework. The problem is that wxWidgets uses the macro IMPLEMENT_APP(MyApp) to initialize and enter the application main loop. This macro creates several functions including…
m_pGladiator
  • 8,462
  • 7
  • 43
  • 61
27
votes
7 answers

Qt being now released under LGPL, would you recommend it over wxWidgets?

I am quite a heavy user of wxWidgets, partly because of licensing reasons. How do you see the future of wxWidgets in prospect of the recent announcement of Qt now being released under LGPL? Do you think wxwidget is still a good technical choice for…
Mapad
  • 8,407
  • 5
  • 41
  • 40
23
votes
1 answer

Dynamically change the choices in a wx.ComboBox()

I didn't find a better way to change the different choices in a wx.ComboBox() than swap the old ComboBox with a new one. Is there a better way? Oerjan Pettersen #!/usr/bin/python #20_combobox.py import wx import wx.lib.inspection class…
Orjanp
  • 10,641
  • 12
  • 36
  • 39
21
votes
1 answer

What's the difference between X-Windows, wxWidgets, GTK/Qt and OpenGL?

I've been doing console programming for a few years, and now it's about time that I learned a little about the fascinating world of GUIs. I've dabbled a little in wxWidgets; compiled a Hello World program, played around with it a little, etc. Now…
MGA
  • 1,658
  • 15
  • 28
20
votes
8 answers

Gui toolkits, which should I use?

I am writing a fairly large and complex data analysis program and I have reached the point where I think it is about time to build a GUI for the program. So my question is: Which GUI toolkit should I use? I am completely new to coding and building…
James Matta
  • 1,562
  • 16
  • 37
19
votes
7 answers

wxPython: This program needs access to the screen

I'm trying to use the Python GUI wx (installable via pip install wxPython) in the following minimal app: import wx app = wx.App() Running this snippet returns the following: This program needs access to the screen. Please run with a Framework build…
duhaime
  • 25,611
  • 17
  • 169
  • 224
18
votes
5 answers

Detected memory leaks

In my wxWidgets application, while running in debug mode i got this message in Output of Visual Studio 2010. The application ran fine, and i only saw this after closing it. Detected memory leaks! Dumping objects -> {9554} normal block at…
Vinayak Garg
  • 6,518
  • 10
  • 53
  • 80
18
votes
1 answer

Mac OS X: is it possible to imbue a non-main thread to become "The Main Thread" of a process?

I'm having a GUI/threading-related problem under Mac OS X (10.6.7). I'm using the wxWidgets framework (ver. 2.9.1), and it rests upon Cocoa in my case. The application design is like this: thread #1 (a.k.a. "The Main Thread"): enters main(), parses…
anrieff
  • 619
  • 1
  • 6
  • 15
1
2 3
99 100