Re: About user component

"Werner F. Bruhin" <[email protected]>
Newsgroups gmane.comp.ide.boa-constructor.user
Message-ID <[email protected]>
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


-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >> http://get.splunk.com/
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.