I'm just loving these wx designs more and more...
I have created this set of objects and such that are meant to represent tools that are accessable through the toolbar and through menus. These of course have to be managed independently and even if not, I need to be able to toggle things in response to events not associated with toolbar...
Hello,
I need to develop an app to work on Mac, Windows and *nix. The app will have to deal with pretty big amounts of data, and will have to display big graphs (so some 2d drawing is required). Should I go Java? wxWidgets? Develop a version for each platform?
Oh, and just out of curiosity, if I wanted to build this app for the Web, how...
Hi,
I am using wxwindgets 2.8.7 on C++.
There is a parent frame which is derived from wxMDIParentFrame and from that frame, there is a call to a message dialog with ShowModal.
...
dlg->showModal();
...
In other parent windows, showModal disables the parent window but in this mdi window, it is still enabled somehow.
I want th...
I would like to work on wxWidgets on centos 5.
It turns out that the needed packages such as libwx_baseu-2.8.so.0 and other is not part of the default repository.
I would like to find what I have to add to my yum.conf file in order to download those packages through yum and not using rpm files.
...
Hi, I can't seem to bind the EVT_IDLE to my OnIdle function. I created a form using the wxFormBuilder. It generates the python code in Form.py. I specfied for the TopFrame that the OnIdle event should be associated with TopFrameOnIdle (actually, it generates that name automatically when double clicking OnIdle in Events tab). When I tr...
Is there any way to change the page of a wxNotebook or wxChoicebook programmatically? Looking at the documentation I would have thought that wxChoicebook::ChangeSelection was the way to go, or wxChoicebook::SetSelection if I want the page changing/changed events to be sent. However, I don't know what these functions expect as input. T...
I'm using Visual Studio 2008 under Windows 7. I have a .lib and accompanying .h files (which make use of wxWidgets if that makes a difference) which compile without any issues.
I'm trying to import that library into a GUI project but when I do, the main class I'm interested in doesn't appear to be there?
I've added #include "MyLib.h" ...
After several attempts I finally managed to compile and install both wxWidgets 2.8.11 and Erlang R13B04 with wxErlang on my Mac OS X, Version 10.4.11. However, testing wxErlang fails immediately:
1> wx:new().
= ERROR REPORT==== 21-Jul-2010::18:37:23 === WX failed loading
"wxe_driver"@"/usr/local/lib/erlang/li/wx-0.98.5/priv/i386-appl...
What are the usable tools?
I am aware of wxformbuilder and wxGlade, but none of them seems to be complete yet.
...
Hello,
I'm trying to make a special splash screen that is displayed while the application is loading,
it outputs messages of the various components loading and features a progress bar.
The first job I am tackling is mapping a .png image to the frame that will host the splash screen.
import wx
class edSplash(wx.Frame):
def __...
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 often, so I have to interpolate the mouse movement by drawing a line between the current...
I am developing a GUI that has a canvas and a bunch of controls and crap surrounding it. I want to allow the canvas's event handler a chance to handle events like key presses and such when it doesn't have focus. I want the rest to continue working as normal.
Basically what I want to set up is to tell the frame, "Any event you get that...
Hello,
I am working on an application with a GUI using wxWidgets. I got an object used as a "model": its data has to be used to draw the ui and the ui should modify it. Let's call this class Model.
The structure of the applications looks like this:
A wxApp-derived object, that possesses:
a wxFrame-derived object, that possesses a
wx...
How would I vibrate a window in wxPython. I'd like some way of specifying how long to do it for and distance and stuff like that.
Is there a builtin function I'm not noticing or would I have to code it myself?
(I'm thinking of moving the window sideways a few times but I'd rather have a builtin function that might be faster.)
...
How to convert from wxString to UniChar?
...
Imagine a complex window layout with several windows which are expensive to redraw. Now say a scrollevent needs to update several of these windows simultaneously. The way I do this is to update the scroll position and call Refresh on the windows causing them to receive OnPaint events. However, some of the windows never receive their OnPa...
The wxWidgets project uses GTK in Linux, and my wxPython-based application with basic components makes a lot of warnings and errors for which I as a python coder/end user have not much to do about it.
The errors distract my standard streams and aren't fatal to my program. The usual ones in my case are:
(python2.6:9886): Gtk-WARNING **:...
How do I find out which widget in my wx.Frame has the focus?
...
I am currently designing the migration of my existing .NET / C# / WinForms project to a platform neutral solution and the most attractive alternative I have seen seems to be wxWidgets especially taking in consideration my familiarity with C++ and with MFC that appears to have a lot in common with it.
After going though the documentation...
I want to write a paint program in the style of MS Paint.
On a most basic level, I have to draw a dot on the screen whenever the user drags the mouse.
def onMouseMove():
if mouse.button.down:
draw circle at (mouse.position.x, mouse.position.y)
Unfortunately, I'm having trouble with my GUI framework (see previous question)...