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
2 answers

How can I unmaximize programmatically a maximized frame in wxPython?

Let's say I have a simple application such as the following: import wx app = wx.App() frame = wx.Frame(None, -1, 'This is the frame title') frame.Show() frame.Maximize() app.MainLoop() Is there a method I can call on the frame to un-maximize…
Asotos
  • 995
  • 11
  • 14
1
vote
1 answer

wxWidgets 3.0 - new features and functions, additions and replacing deprecated ones

I have a question for developers who use wxWidgets. I have just started learning wxWidgets 3.0, without any prior experience with GUI programming . After just a little searching and asking, I have found out that the latest version includes many new…
James C
  • 901
  • 1
  • 18
  • 38
1
vote
2 answers

Can't get wx.BufferedDC to draw anything

I've got a problem with DCs. I'm trying to make an application that will draw many lines on the screens and needs to update really fast, and since I don't want flickering, I decided to give buffered dcs a shot. But when I run this code, it doesn't…
kettlepot
  • 10,574
  • 28
  • 71
  • 100
1
vote
1 answer

How to be able to drag panels to reorder them in wxribbon for wxpython

I am buiding a GUI where I have a wxribbon with few pages and on each page, I have few panels with buttons on them. What I want is to allow users to be able to drag panels on a page to reorder them according to their need. I am a newbie to wxpython…
Samyak
  • 109
  • 2
  • 8
1
vote
2 answers

How to get wxCurl to automatically follow redirects?

I have a project that uses wxCurl to retrieve a file over HTTP. However, if the server sends a 301 or 302, all I get back is an empty string. I heard there was a way to get cURL to follow the location: headers sent by the server. How is this…
Nathan Osman
  • 71,149
  • 71
  • 256
  • 361
1
vote
1 answer

wxWidgets UI application giving segmentation fault with 4 or more wxBoxSizer objects in C++

I have a trouble with adding 4 or more wxBoxSizer (or any other type of Sizer objects) in C++ GUI application. This is my first time creating a GUI application using wxWidgets and I am using Code::Blocks as the IDE. Please help me If anybody had…
Nishantha
  • 21
  • 4
1
vote
2 answers

Can't get wxWidgets example from tutorial to work

I have just started to learn wxWidgets and have zero experience. I was recommended to check this tutorial. So I created a 'console application' in Code Blocks 13.12 ( Win 7 ) , selected wxWidgets 3.0 , and tried to insert the code from tutorial into…
James C
  • 901
  • 1
  • 18
  • 38
1
vote
1 answer

wxWidgets and UI Automation

I have a small application using wxWidgets, running on MS Windows. I'm using UI Automation to do automated testing. For the most part, this is going quite well. However, I've hit a snag. For most widgets, it seems that the UIA "Name" property…
MathematicalOrchid
  • 61,854
  • 19
  • 123
  • 220
1
vote
1 answer

New to wxWidgets and GUI in general - learning materials ? ( wxWidgets 3.0, C++, Win 7, CodeBlocks )

I would like to know about learning resources for the new major wxWidgets 3.0 release. I see there are many resources online for older versions, as well as a book from 2005. But I am not sure they would be a good fit. Web tutorials would be best,…
James C
  • 901
  • 1
  • 18
  • 38
1
vote
1 answer

How to have only one tab open in wxribbon bar in wxpython?

I am building a GUI and I am using wxribbon for wxpython. I want to have only one tab(ribbon page) in when user starts my app, from where user can dynamically add more pages or can add panels and buttons to a page. I am able to achieve all the…
Samyak
  • 109
  • 2
  • 8
1
vote
3 answers

WrapSize and Scrollbar : widgets not drawn at startup won't draw later

By using the accepted solution from ScrolledPanel with vertical scrollbar only and WrapSizer, here is a way of putting some custom MyControl into WrapSizer with a vertical scrollbar : Unfortunately, the items that are not drawn at startup won't draw…
Basj
  • 41,386
  • 99
  • 383
  • 673
1
vote
1 answer

How to customize the file selection dialogs in wxWidgets?

Is it possible to add additional controls to a file selection dialog? If not, what other ways are there to present load/save options to the user?
Nathan Osman
  • 71,149
  • 71
  • 256
  • 361
1
vote
1 answer

wxFrame::IsActive() in wxGTK

Active window isn't returning true from IsActive() under wxGTK. My software has a main window and a set of tool windows, all derived from wxFrame. When the main window is moved it captures the move event and calls a position method in all the tool…
1
vote
1 answer

Rescale image when parent is resized in wxPython

I need to be able to rescale an image (in realtime) in a wx.Panel when parent wx.Frame is resized (for example for wxPython for image and buttons (resizable)). This code now works, the behaviour is like in a standard Photo Viewer : the image fits…
Basj
  • 41,386
  • 99
  • 383
  • 673
1
vote
1 answer

Force window to resize in Wx after resizing a child panel

I have a Frame containing a BoxSizer with a ListBox and Panel. I want to programmatically resize the panel and then force the Frame to resize. I can resize the Panel as below, but how do I force the BoxSizer or Frame to resize? The sample code…
Andrew Miller
  • 143
  • 1
  • 9
1 2 3
99
100