This open source fractal program Fraqtive, which uses Qt, has a really cool little gradient editor for coloring your fractals:
http://fraqtive.mimec.org/node/34
Does anyone know of any nice gradient editing interfaces that use wxWidget/wxPython?
...
Hi,
I'm looking for a way to programatically generate keypress events in a C++ wxWidgets app, for testing a control that I had written.
Are there ways to do this?
Thanks a lot for the help!
Sahas
...
I want to make an application, but the application will be using icons (bitmaps) for some of the menu buttons and other stuff. I want to keep my application as one simple, single standalone exe file which means I will somehow have to embed all of the icons into the application (EXE on windows) so I can load the bitmaps without having any...
After a long evaluation period of mainstream toolkits Qt, WxWidget, GTK i came to the conclusion that it does not make sense to religiously equalize the different platform. Now more then ever before.
In the days before Java portability meant, that platform dependent code was located in known places and should be small but not none. No w...
Hello, is there a similar function PyOnDemandOutputWindow in Pyqt?
This function redirect the console output to a separate window.
Sorry for my english.
...
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:
…
This results in a dialog box that is too small for my needs, and that is not resizable:
...
I am new to wxWidgets and trying to find out how to force the painting of a window.
...
I need to incorporate some scientific plot function into a program written in Ruby with wxWidgets. What's my best solution? I know that
1) PLPlot has a widget for wxWigets, but I'm not aware of any ruby bindings.
2) Python works well PLPlot and wxWigets, but I rather not rewrite the whole thing in python again.
Any suggestion would be...
My Python code:
self.images = wx.StaticBitmap(self, id=-1, pos=wx.DefaultPosition,
size=(200,150),
style= wx.SUNKEN_BORDER)
self.hbox = wx.BoxSizer(wx.HORIZONTAL)
self.sizer.Add(self.hbox) # my main sizer
#in function dinamically captured images
bmp = wx.Bitmap...
Hello SO,
I have an application that receives a pointer to JPEG data from a camera API wrapped with ctypes, converts it to a wx.Image, and displays the images as a movie.
One of required features is to set two of the components of a pixel equal to the third. E.g, my pixel in RGB format is (100,200,255), I want to set the the R and B va...
I'm attempting to create a window with a transparent PNG background with no success, how would I go about it? Setting wx.Frame.SetShape allows for non-box shapes, but transparency effects like shadows still have a background behind them.
For example, the Photoshop splash screen.
...
I want to send synchronous event from a worker thread to the UI Main thread. How do I do it in wxWidgets? A link to a sample would be really helpful
...
I install wxWidgets with macports then ran the command: sudo cabal install wx which output included:
/bin/sh: wxdirect: command not found
/bin/sh: wxdirect: command not found
/bin/sh: wxdirect: command not found
/bin/sh: wxdirect: command not found
Configuring wxcore-0.12.1.6...
setup: Missing dependency on a foreign library:
* Missing ...
I'm using wxWidgets 2.8.11 on Windows 7 64 Bit. I created a wxTreeCtrl control, which as the name suggests, is a tree control. You can add Root nodes by calling AddRoot(), however it seems to only work the first time of calling it.
Here is the code where I create the Tree:
newHandler-> sendPacketTree = new wxTreeCtrl(newHandler->sendGr...
I have a little app which reads registry key string values. It works well but for some reason it fails on this key:
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\ProductId
Despite working on other values of HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\
It also fails on `HKEY_LOCAL_MACHINE\SOFTWARE\Mi...
In wxWidgets, how can I detect when the cursor position changed in a wxTextCtrl? I looked at the manual and couldn't find any event relating to it, but maybe there is another way I've missed.
...
Hello SO,
I have a video player written in wxpython and am overlaying the current FPS onto the video.
My text is black, so if the video is sufficiently dark the FPS counter is not visible.
I am looking for a way to draw text with an outline so it will stand out no matter what the video is displaying. E.g. I want black text with a whit...
I have a function generating an array that I need to draw to the screen. The array is in the form of an 8 bit grayscale image. How can I draw the array to the screen properly? I have a working version of this app in with win32 code which uses StretchDIBits to draw the image. My question is, can I/how can I do something similar in wxWidge...
This is a copy of a question I asked on their forums and got no replies:
Having trouble finding information on making dialogs appear on the correct monitor when the parent is not on the main display. Currently I used wxDefaultPosition to initialize the dialog but this doesn't seem to play well with dual monitors (or more).
Is there so...
I have the following code :
myList =['a','b']
rb=wx.RadioBox(self.panel, -1, "Options :", (0, 0), wx.DefaultSize,myList, 2, wx.RA_SPECIFY_COLS)
When it renders first time I see that a choice has been made how can I change the code that when this radibox rendered first time there are no option has been chosen.
...