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
9
votes
3 answers

wxPython 2.9 on Mac Os X

I am using Enthought Python Distribution (7.2, 64-bit). It comes without wxPython (which is quite important). However, wxPython-2.9 seems to support 64-bit Cocoa interface, so I gave it a try. Actually, it all went good: the command python…
Ivan Oseledets
  • 2,270
  • 4
  • 23
  • 28
8
votes
3 answers

implement laplacian 3x3

Im reading DIP 2nd edition by Gonzalez and Woods and try to my hands dirty with Laplacian mask (page 129&130) using wxImage. float kernel [3][3]= {{1, 1, 1},{1,-8, 1},{1, 1, 1}}; here is the processing loops: unsigned char r,g,b; …
bili
  • 610
  • 2
  • 9
  • 20
8
votes
3 answers

Using external GUI libraries to make user interfaces in Autodesk Maya

I develop tools in Autodesk Maya. Many of the tools I build have simple windowed GUIs for the animators and modellers to use. These GUIs often contain what you'd normally expect to see in any basic window; labels, lists, menus, buttons,…
Soviut
  • 88,194
  • 49
  • 192
  • 260
8
votes
1 answer

Getting started with wxWidgets and CLion?

Can anyone suggest a tutorial or getting started guide to CLion and wxWdgets? I have searched around but am unable to find anything.
DonJoe
  • 355
  • 1
  • 4
  • 12
8
votes
1 answer

How to make wx.TextEntryDialog larger and resizable

I create a wx.TextEntryDialog as follows: import wx dlg = wx.TextEntryDialog(self, 'Rules:', 'Edit rules', style=wx.TE_MULTILINE|wx.OK|wx.CANCEL) dlg.SetValue(self.rules_text.Value) if dlg.ShowModal() == wx.ID_OK: …
Vebjorn Ljosa
  • 17,438
  • 13
  • 70
  • 88
8
votes
1 answer

Custom Slider widget with wxPython

I would need to make a slider = wx.Slider(self, 100, 25, 1, 100, (30, 60), (250, -1), wx.SL_HORIZONTAL) have a transparent background (because it appears on a panel which has a non-uniform background). More generally, how is it possible possible…
Basj
  • 41,386
  • 99
  • 383
  • 673
8
votes
1 answer

libcurl strange crashes after Idle time

I use libcurl for FTP works and it works fine but if left idle for some time it just crashes. Here is the backtrace which despite reading it for some time I cannot make sense of what is wrong. The trace does not show where in my functions crash…
Stefano Mtangoo
  • 6,017
  • 6
  • 47
  • 93
8
votes
1 answer

Getting X11 window handle from GtkWidget

The wxWindow::GetHandle() function returns HWND on Windows and GtkWidget on linux. I need to get X11 Window Handle, which isn't the widget itself. How can I get the handle from that widget? I need C++ code as it's the main language of wxWidgets.
user1873947
  • 1,781
  • 3
  • 27
  • 47
8
votes
5 answers

(C++) MessageBox for Linux like in MS Windows

I need to implement a simple graphical message box for a Linux (SDL) application similar to the Windows MessageBox in C++ (gcc/g++ 4.4.0). All it needs to do is to display a caption, a message and an ok or close button and to return to the calling…
Razzupaltuff
  • 2,250
  • 2
  • 21
  • 37
8
votes
1 answer

In erlang: How do I expand wxNotebook in a panel?

(I have tagged this question as Python as well since I understand Python code so examples in Python are also welcome!). I want to create a simple window in wxWidgets: I create a main panel which I add to a form I associate a boxsizer to the main…
Mazen Harake
  • 1,706
  • 1
  • 11
  • 17
8
votes
4 answers

what does mean by debug build and release build, difference and uses

Possible Duplicate: Debug/Release difference I want to know what do these two mean: Debug build and Release build and what is the difference between both. Which one should I use (I mean which are the suitable conditions for each one) and which…
Natwar Singh
  • 2,197
  • 4
  • 26
  • 42
7
votes
2 answers

wxpython capture keyboard events in a wx.Frame

I'm trying to capture keyboard events that happen inside a wx.Frame, and I would expect the following code to capture those events. However, the handler OnKeyDown is never called when I run the code: import logging as log import wx class…
Kevin
  • 1,080
  • 3
  • 15
  • 41
7
votes
1 answer

Resolving a macports installation 'conflict'

I'm trying to build a 64-bit version of wxpython, to work with my macports version of python2.7 (universal build). I've been pointed to the following port py27-wxpython-devel and done the usual install command. Unfortunately I immediately receive…
Paul Patterson
  • 6,840
  • 3
  • 42
  • 56
7
votes
2 answers

Unable to use wx.NotificationMessage properly with wxPython

I recently upgraded to the development release of wxPython (wxPython 2.9.2.4) since I needed the functionality of wx.NotificationMessage within my application. I have been trying unsuccessfully to create notification bubbles on certain user events…
Sunjay Varma
  • 5,007
  • 6
  • 34
  • 51
7
votes
1 answer

wxpython auinotebook close tab event

What event is used when I close a tab in an auinotebook? I tested with EVT_AUINOTEBOOK_PAGE_CLOSE(D). It didn't work. I would also like to fire a right click on the tab itself event. Where can I find all the events that can be used with the aui…
Orjanp
  • 10,641
  • 12
  • 36
  • 39