Re: [Boa Constr] Colourpicker
Status: Beta
Brought to you by:
riaan
From: Werner F. B. <wer...@fr...> - 2006-11-16 15:44:41
|
Hi Riccardo, Riccardo Tonon wrote: > Hi, > > Could you help me with a problem. > > I'm writing an application in boa and I need to have a colour picker. > How do I add it to the "Palette"? > > I'm using boa from CVS and wxpython 2.7. > > If I add it directly in the code then the boa Designer gives me errors. > > I'd like to insert it without problem in the Designer window using the > palette. > > How can I do it? I assume you talk about wx.ColourPickerCtrl and not wx.ColourDialog? The wx.ColourPickerCtrl is not available in Boa, at least not until someone does the necessary work. You could provide a patch to the appropriate companion and/or write a plug-in (have a look at e.g. PyPlot-plugin.py). If you want to use the later then you can insert the necassary code after "def __init__(self, parent):" by pressing Alt-t and select the appropiate dialog. Werner > > Thank You, > Riccardo > > > ------------------------------------------------------------------------- > Take Surveys. Earn Cash. Influence the Future of IT > Join SourceForge.net's Techsay panel and you'll get the chance to share your > opinions on IT & business topics through brief surveys - and earn cash > http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV |