Author Topic: Adding extra items to wxSmith - tutorial  (Read 14341 times)

Offline byo

  • Plugin developer
  • Lives here!
  • ****
  • Posts: 837
Adding extra items to wxSmith - tutorial
« on: April 13, 2007, 04:10:35 am »
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]

Offline Biplab

  • Developer
  • Lives here!
  • *****
  • Posts: 1874
    • Biplab's Blog
Re: Adding extra items to wxSmith - tutorial
« Reply #1 on: April 13, 2007, 05:04:31 am »
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.

Offline mandrav

  • Project Leader
  • Administrator
  • Lives here!
  • *****
  • Posts: 4315
    • Code::Blocks IDE
Re: Adding extra items to wxSmith - tutorial
« Reply #2 on: April 13, 2007, 09:24:57 am »
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...

Offline byo

  • Plugin developer
  • Lives here!
  • ****
  • Posts: 837
Re: Adding extra items to wxSmith - tutorial
« Reply #3 on: April 14, 2007, 11:28:29 am »
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

Offline mandrav

  • Project Leader
  • Administrator
  • Lives here!
  • *****
  • Posts: 4315
    • Code::Blocks IDE
Re: Adding extra items to wxSmith - tutorial
« Reply #4 on: April 14, 2007, 12:10:06 pm »
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...

Offline mike__t

  • Multiple posting newcomer
  • *
  • Posts: 11
Re: Adding extra items to wxSmith - tutorial
« Reply #5 on: April 16, 2007, 03:23:52 am »
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.


Offline byo

  • Plugin developer
  • Lives here!
  • ****
  • Posts: 837
Re: Adding extra items to wxSmith - tutorial
« Reply #6 on: April 21, 2007, 02:51:45 pm »
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

Offline dmoore

  • Developer
  • Lives here!
  • *****
  • Posts: 1576
Re: Adding extra items to wxSmith - tutorial
« Reply #7 on: April 23, 2007, 12:19:18 am »
no trouble at all byo. keep the good tutorials coming.