Re: [Boa Constr] About user component
Status: Beta
Brought to you by:
riaan
From: Werner F. B. <wer...@fr...> - 2007-10-28 09:15:54
|
Serge, Serge Gauthier wrote: > I would like create my own components from existing ones. > > Is there a small documentation to explain how to add them in Boa palette ? If the widget/component is based on e.g. a TreeCtrl (or any other widget which is already on the palette) you can use "_custom_classes" approach. Check out the folder: C:\Python25\Lib\site-packages\boa\Examples\advanced\CustomClasses If it is not based on a widget on the palette you could look into the plug-in approach. See for example the one for the FlatNotebook in the plug-ins folder: C:\Python25\Lib\site-packages\boa\Plug-ins\FlatNotebook.plug-in.py Hope this helps Werner |