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
18
votes
1 answer

Focus-follows-mouse in wxPython?

I'm developing an application that contains a number of panes. See the screenshot: The left settings pane is a wx.ScrolledPanel that contains a number of wx.Panels. The top events pane is a wx.grid.Grid. The bottom data pane is a wx.Panel that…
Bas van Dijk
  • 833
  • 1
  • 8
  • 11
18
votes
3 answers

Creating wxSlider with range on Linux

I'm trying to create a slider with option for range selection using wxSlider in Python. It has an optional range parameter but the problem is: SL_SELRANGE: Allows the user to select a range on the slider. Windows only. And I'm using Linux. I thought…
poli_g
  • 629
  • 3
  • 15
18
votes
4 answers

wxwidgets setup.h "no such file"

A quick Google search of this issue shows it's common, I just can't for the life of me figure out the solution in my case. I have a straight forward install of wxWidgets 2.8.8 for Windows straight from the wxWidgets website. Whenever I try to…
Jeff Goodwin
17
votes
5 answers

OpenCV with other GUI (like Qt or WxWidgets) on Win32 VC++

I want to use OpenCV's image processing functions, but not the OpenCV GUI. I'm using OpenCV 2.0. I will use either Qt4 or WxWidgets for GUI functions. I compile with VC++ 2008 Express (VC++ 9.0). I guess it breaks down to two or three…
Jive Dadson
  • 16,680
  • 9
  • 52
  • 65
17
votes
7 answers

Developing Windows applications on Linux?

My primary OS is Linux, but now I'm forced to write some C++ applications for Windows. I was thinking about developing on the Linux box with cross platform libraries like WxWidgets (and some care about other platform dependencies) and then cross…
cube
  • 3,867
  • 7
  • 32
  • 52
15
votes
5 answers

What is the best real time plotting widget for wxPython?

I would like to show a real time graph with one or two curves an up to 50 samples per second using Python and wxPython. The widget should support both Win32 and Linux platforms. Any hints are welcome. Edited to add: I don't need to update the…
Ber
  • 40,356
  • 16
  • 72
  • 88
15
votes
1 answer

ld: symbol(s) not found when linking

I am trying to compile "Loch" without any success on my Mac OSX 10.6. I always get some "symbol(s) not found when compiling" error. Anyone an idea what could be the problem? Thanks a lot c++ -o loch -Wall getline.o lxTR.o lxOGLFT.o lxSetup.o…
Chris
  • 3,581
  • 8
  • 30
  • 51
14
votes
2 answers

Why does the executable binary file contain paths of included header files?

Why does the compiled and linked executable file contain paths of header files included in my source code? I am using the wxWidgets library and compile with Visual Studio 2013 and gcc. What are these header files used for? If it is a compiler…
Gokhan Bora
  • 146
  • 1
  • 6
14
votes
11 answers

What's the C++ GUI building option with the easiest learning curve - VS/Qt/wxWidgets/etc.?

I'm looking to be able to build GUI applications quickly and painlessly as possible. I'm competent (though not expert, and have no formal training) in C++, but have never used a GUI building toolkit or framework or anything. I am not a professional…
Tristan
  • 1,561
  • 3
  • 18
  • 22
13
votes
5 answers

c++ how to get "one digit exponent" with printf

Is there a way to print in scientific notation less than 3 places for exponent part of number? The 6.1 formatting doesn't affect exponent but only the number part: var=1.23e-9; printf ("%e\n", var); printf ("%6.1e\n",…
Kris_R
  • 2,738
  • 3
  • 20
  • 21
12
votes
6 answers

Writing a paint program à la MS Paint - how to interpolate between mouse move events?

I want to write a paint program in the style of MS Paint. For painting things on screen when the user moves the mouse, I have to wait for mouse move events and draw on the screen whenever I receive one. Apparently, mose move events are not sent very…
Heinrich Apfelmus
  • 11,034
  • 1
  • 39
  • 67
12
votes
2 answers

Why Does .Hide()ing and .Show()ing Panels in wxPython Result in the Sizer Changing the Layout?

As referenced in my previous question, I am trying to make something slightly wizard-like in function. I have settled on a single frame with a sizer added to it. I build panels for each of the screens I would like users to see, add them to the…
MetaHyperBolic
  • 1,017
  • 2
  • 11
  • 22
11
votes
4 answers

How do I set a minimum window size in wxWidgets?

This is the hierarchy of widgets I've got: Frame > wxBoxSizer > wxPanel > wxBoxSizer > wxFlexGridSizer (2 columns, 9 rows), with assorted form fields and buttons inside. The first BoxSizer is to place the panel in, and the second is to make a border…
MaxVT
  • 12,989
  • 6
  • 36
  • 50
11
votes
1 answer

wxWidgets - Event table vs Connect()?

I have just started learning wxWidgets, version 3.0, with C++. I have noted, that event handling in wxWidgets is done by Event tables. But one tutorial also mentioned Connect() - actually it just said : " this tutorial will be using event tables,…
James C
  • 901
  • 1
  • 18
  • 38
11
votes
1 answer

Creating a scrolling panel in wxPython

Level: Beginner I recently started to programme a GUI application with wxPython. I am facing a problem in creating a scrollable panel. I already have a wx.Frame which is working fine. There are 2 panels in my gui. (Please neglect the panel-3 for…
ρss
  • 5,115
  • 8
  • 43
  • 73