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
1
vote
1 answer

Unable to destroy wx.Dialog in wxpython

After launching a process using subprocess.Popen() as shown, I would like to create a busy-window (wx.Dialog) with an "Abort"-button. This works as intended; however, in the case where the process is given the time needed to finish, the busy-window…
Hmmmmm
  • 37
  • 6
1
vote
1 answer

How to do drag & drop with wxWidgets module of Python?

I'm using Python and I want to do a drag & drop interface. For example, with a large picture whose size is bigger then the screen, I want to click on it and drag it to see other parts. Something like "google maps"! In google maps if we click two…
aF.
  • 64,980
  • 43
  • 135
  • 198
1
vote
4 answers

wx.MessageDialog without parent window

Is it possible to create a message box (with wx.MessageDialog or anything else) without parent window ? For example, I sometimes may want to display an error message before the GUI has really started. Then I would need to be able to display a…
Basj
  • 41,386
  • 99
  • 383
  • 673
1
vote
2 answers

Cannot get a proper Vista / 7 theme for toolbar with wxWidgets

I cannot get a proper theme for toolbars in Vista / 7 with wxWidgets (c++). For some unknown reason, I get gray bar now (as you can see here). I want it to get this look instead. I've linked against comctl32.lib (=> 5.82) and UXTHEME is on. Here's…
nhaa123
  • 9,570
  • 11
  • 42
  • 63
1
vote
1 answer

Libraries for Dockable GUI Development in C

What are some of the best known Dockable GUI developments, with a C API? I know about wxWidgets (wxAUI), but there doesn't seem to be a C API for that, and I also know about GTK+, which I've heard is a bit of a pain when talking about…
Jeroen
  • 15,257
  • 12
  • 59
  • 102
1
vote
3 answers

Implementing my own event loop in a wxPython application

I’m writing a wxPython application that will be doing quite a bit of data analysis and display. The way I’ve written it so far has led to problems when two threads try to change something in the GUI at the same time. What I want to do is to set up…
bdesham
  • 15,430
  • 13
  • 79
  • 123
1
vote
1 answer

wxWidgets 3.0 wxLog:: OnLog and DoLog missing?

From wxWidget 3.0 documentation for wxLog http://docs.wxwidgets.org/3.0/classwx_log.html, it seems that the wxLog class no longer has a OnLog() member, which was in wxWidgets 2.8 (http://docs.wxwidgets.org/2.8/wx_wxlog.html#wxlogonlog). The 3.0…
thor
  • 21,418
  • 31
  • 87
  • 173
1
vote
1 answer

How to get TRUE column position in wxStyledTextCtrl?

I have a wxStyledTextCtrl and I want to find the column number of a given position in the document. Basically I want a function like GetColumn but I don't want tabs to be expanded. Does such a function exist?
Nathan Osman
  • 71,149
  • 71
  • 256
  • 361
1
vote
1 answer

How to find wxWidgets?

I am new to wxWidgets. I have checked a couple of tutorials and can write simple code to generate simple GUI in C++. Sometimes I have problems when I try to find a specific widget, or just a kind of widget. Documentation has some images. For…
James C
  • 901
  • 1
  • 18
  • 38
1
vote
0 answers

"No rule to make target" error when adding an external library in Qt Creator

I am new in the world of Qt. I would like to add an external library of wxMSW-2.8.12 in Qt Creator. In order to do that, I right-clicked on my .pro file and clicked on "Add Library", then I select "External Library". I finally choose the Library…
Colet
  • 495
  • 2
  • 8
  • 22
1
vote
1 answer

How to implement an editable wxListCtrl (for all columns)?

When I am creating wxListCtrl in report view with wxLC_EDIT_LABELS flag, only the first column of the control is editable. Is there a way to make all columns editable?
Mher
  • 77
  • 1
  • 3
1
vote
1 answer

Convert HDC to wxClientDC?

Is there a way to convert a HDC to a wxDC object? I know wxDC is abstract. Is it possible to convert to wxClientDC?
teatope2
  • 253
  • 4
  • 10
1
vote
1 answer

suppress wxFileName::Normalize error messages

I have the following c++ code that used to normalize user supplied file path: wxString orig_path; wxFileName res_path(orig_path); res_path.Normalize(wxPATH_NORM_DOTS); Refs: wxFileName::Normalize wxFileName::Normalize flags When: orig_path =…
idanshmu
  • 5,061
  • 6
  • 46
  • 92
1
vote
1 answer

Which languages have tools which can build a Windows executable on a Linux box?

I've read that mingw can be used on Linux to build a windows executable from C/C++. Can other languages do this, and how about popular GUI libraries? In particular I'm interested in OCaml and Haskell as languages and libSDL, wxWdgets, and GTK as…
fadedbee
  • 42,671
  • 44
  • 178
  • 308
1
vote
1 answer

drag and drop image with wx.EVT_MOVE

I want write script with drag and drop image. I uploaded 2 images (.jpg ) and tryed to drag image on panel. When I drag firstImage on Panel - everything looks good. But when I drag secondImage on Panel (especially when secondImage contact with…
1 2 3
99
100