wxWidgets Get Window
How do I get the window (wxDC or window id) on a certain point (like get window at point(10,20)) using wxWidgets or XCB? ~ Thanks ...
How do I get the window (wxDC or window id) on a certain point (like get window at point(10,20)) using wxWidgets or XCB? ~ Thanks ...
Hi. I am having some trouble with using hit test for htmllistbox in wxRuby. It seems to return some odd results, even when this is not over the control. The context is in a context menu event. I am able to use hit_test with ListCtrl, but I can't seem to get it to work. case when (ht = @htmllist.hit_test(@htmllist.screen_to_client ev...
I'm trying to write out a zip file using the wxZipOutputStream. The code is from this forum and works with the xml file (when I used wxTextOutputStream). Now, I'm trying to include an image file but the SaveFile function in the wxImage class expects a class wxOutputStream but wxTextOutputStream/wxDataOutputStream have no base class so I ...
I have a C++ app that I'm developing with wxGTK 2.9.0 on Ubuntu 9.10. The app also uses the Python 3.1 api. The source files compile just fine but when it comes to linking, I get errors saying that xxx has already been defined, where xxx is a member function in the classes. There are many of these errors. The only libraries I'm linking w...
Is it possible to port an application built in X/Motif GUI on Solaris platform to Windows using wxWidgets? If so, is it easier to port to wxWidgets than other GUI builders like QT or Visual Studio? ...
Hello I'm currently learning to program Ruby with GUI. And has chosen wxruby. But has never used wxwidgets before. So my question is, which widgets do I use for the users list, the message list (scrolling) and the input area ? Want to be able to choose font, color and use icons etc in the input area and the message list. And hoping to ...
Here's the general layout of my GUI: ||Title||||||||||||||||||x| | |words| | |blah | | . . . . | | | | | | . | | | |bttn | ||||||||||||||||||||||||||| Basically, there are two large panes, the left which resizes according to h...
I make a wxClientDC but nothing happens until I Show() the frame. However, when I call Show(), the blank wxClientDC is flashed on the screen. In Vista, it looks grey. Then my drawing code runs and the grey is replaced with my drawing. Shouldn't I be able to draw to the ClientDC before calling show() so I don't get a grey flicker? Even if...
hi, I am trying to use wxExecute this way: wxExecute("taskkill /F /IM ASServer.exe"); and I don't intend to see the terminal window that pops up(windows). Is there a way to do that? except this http://wiki.wxwidgets.org/WxExecute thanks, ...
It seems that wxToolBar is not behaving like native OSX apps does. In most native OSX apps, you can drag the window around by dragging the toolbar, where the space is not occupied by buttons. In wxWidgets apps I can only move the window by dragging the title bar. Is there some way to fix that in wx(python)? ...
Hi I have created different shapes like circle/rect etc in my program using BufferedPaintDC on event. Now i want to save the file as I click the saveas button in the menu option. For that I am using memoryDC and save the contents as bmp file. def Saveas(self,event): dlg = wx.FileDialog(self, "Choose a file", self.dirname, "", "*.*...
I'm looking for a simple example how to create a DLL library on Windows with WxWidgets. I need use some wxWidgets API on DLL and it'll called from Delphi. ...
What's the best way to expand ${MyPath}/filename.txt to /home/user/filename.txt or %MyPath%/filename.txt to c:\Documents and settings\user\filename.txt with out traversing the path string looking for environement variables directly? I see that wxWidgets has a wxExpandEnvVars function. I can't use wxWidgets in this case, so I was...
//if I use BoxSizer instead of StaticBoxSizer, the button is clickable. //if there is a radio button under StaticBoxSizer, it is clickable, //but the button is not row1 = wx.StaticBoxSizer(wx.StaticBox(panel, -1, 'this is row one'), orient=wx.HORIZONTAL) row1.Add(label1,0,wx.TOP | wx.RIGHT,7) row1.Add(self.fileCtrl) row2 = wx.BoxSizer(wx...
Hello, I have an wxWindow. Inside there I've got a wxBoxSize (Vertical). The sizer has 3 child controls. I want to be able to hide one of the three child controls, and have the sizer and its parent automaticly resize. For example when I hide one child control of the sizer, the window decreases by 200 pixels. Right now my method of sho...
Hi all! Is there a way to set the "sticky" bit for a frame/window, with wxPython? (wxPython 2.8.9.1 under Ubuntu Jaunty) ...
Hopefully someone can help me out here. I'm using Visual Studio 2005 and creating a static library that links in wxWidgets statically. I have: compiled wxWidgets statically according to their guide included the lib directory in my "Additional Library Directories" property added all of the wxWidget libs in my "Additional Dependencies" p...
I need to be able to draw SVG images (with the ability to scale, and rotate the images by 90,180 and 270 degrees). I also want the ability of instead of rendering the images to a bitmap (e.g. for displaying), to be able to draw them into a new SVG image (exporting the "document" to SVG). wxWidgets does not seem to have any built in SVG...
Is there any function in wxWidgets framework, say, click(), whose function is to emulate a left-click mouse? ...
I have had quite the experience trying to compile wxWidgets on Windows for x64. After a nightmare setting up Visual C++ 2008 express to compile x64 apps, I opened the wx.sln file. (I'm using wxWidgets 2.9.0, by the way.) I picked the Release configuration and set x64 as the platform. When I hit build, I get a slew of errors saying that w...