News:

The new Release 25.03 is out! You can download binaries for Windows and many major Linux distros here .

Main Menu

Adding extra items to wxSmith - tutorial

Started by byo, April 13, 2007, 04:10:35 AM

Previous topic - Next topic

byo

Hi,

I've just added tutorial on wiki which show how to add extra widget for wxSmith from external plugin. Since I don't know how to add 7z files into wiki (I'm still wiki newbie ;) ), I post plugin's source here.

Please also note that this tutorial covers only basics of wxSmith extensions and it may be buggy (for example I haven't even tested what will happen when plugin with extensions is loaded and wxSmith is not), but I hope that this tutorial will help you play with wxSmith and find such things.

Any sugestions are welcome :)

Regards
  BYO

[attachment deleted by admin]

Biplab

Cool tutorial. Hopefully users will find this new features very useful.

Kudos, Byo. :D
Be a part of the solution, not a part of the problem.

mandrav

Byo, I have only one word to say:


E X C E L L E N T !!!
Be patient!
This bug will be fixed soon...

byo

I'll try to give some more tutorials in short time (in a week) so stay tuned ;)

Another question especially to Mandrav: can I add new plugin with contrib items into svn source? We could put items provided bu users there and build some bigger contrib items library, what do you think ?

BYO

mandrav

Quote from: byo on April 14, 2007, 11:28:29 AM
Another question especially to Mandrav: can I add new plugin with contrib items into svn source? We could put items provided bu users there and build some bigger contrib items library, what do you think ?

Of course we can. Actually I was thinking that maybe you should create a web page (in the wiki maybe) with a list of contrib widgets to create and whether they 're assigned to anyone (i.e. being worked on), so that efforts are not duplicated among developers.
Be patient!
This bug will be fixed soon...

mike__t

Works very nicely.   I moved over a control I had previously added to wxSmith; this method should be easier to maintain going forward. 

I did need to change Makefile.am to get the plugin to load correctly on Linux...looks like the filename for the zip file should be all lowercase to match the case of the shared library name.


byo

I have added few more tutorials, each one covering other aspect of wxSmith.
I've described there how I added wxChartCtrl control into wxSmith beginning from really easy steps and ending with some adanced features. As soon as berlios is up again, I'll commit sources into svn.

I thied to write gramatically correct text but since I'm not english expert (and my english knowledge is rather self-learning one), so if you find any mistakes, feel free to correct them. Thanks to Dmoore who did this with the first tutorial :)

Regards
  BYO

dmoore

no trouble at all byo. keep the good tutorials coming.
Python plugins: [url="https://github.com/spillz/codeblocks-python"]https://github.com/spillz/codeblocks-python[/url]
Code::Blocks Daily Builds -- Ubuntu PPA: [url="https://launchpad.net/~damien-moore/+archive/codeblocks"]https://launchpad.net/~damien-moore/+archive/codeblocks[/url]