Author Topic: wxTreeListCtrl  (Read 11714 times)

Offline rcoll

  • Almost regular
  • **
  • Posts: 150
wxTreeListCtrl
« on: February 13, 2010, 09:56:50 am »
Another component I've found very useful is the wxTreeListCtrl; this is a tree control that allows multiple columns of data to be displayed.  I've used it enough that I wrote a plug-in for Code::Blocks and wxSmith.  The plug-in if fairly complete and implements the latest version of wxTreeListCtrl; it allows you to define the number of columns, and to pre-load column titles and node data at design-time.  There are 2 packages available: the source-only package, and the source compiled for Windows XP.  They can be downloaded from Rapidshare at


http://rapidshare.com/files/349960888/TreeListCtrl_Source_Only.zip

http://rapidshare.com/files/349960345/TreeListCtrl_Compiled_MSW.zip

or Berlios at

http://prdownload.berlios.de/ringowidgets/TreeListCtrl_Compiled_MSW.zip

http://prdownload.berlios.de/ringowidgets/TreeListCtrl_Source_Only.zip


Ringo





Offline MortenMacFly

  • Administrator
  • Lives here!
  • *****
  • Posts: 9694
Re: wxTreeListCtrl
« Reply #1 on: February 13, 2010, 04:18:35 pm »
I wrote a plug-in for Code::Blocks and wxSmith.
Good one, too.
BTW: Did you try the plugins/widgets under Linux, too? Can they safely be used there?
Compiler logging: Settings->Compiler & Debugger->tab "Other"->Compiler logging="Full command line"
C::B Manual: https://www.codeblocks.org/docs/main_codeblocks_en.html
C::B FAQ: https://wiki.codeblocks.org/index.php?title=FAQ

Offline Jenna

  • Administrator
  • Lives here!
  • *****
  • Posts: 7255
Re: wxTreeListCtrl
« Reply #2 on: February 13, 2010, 04:27:01 pm »
I wrote a plug-in for Code::Blocks and wxSmith.
Good one, too.
BTW: Did you try the plugins/widgets under Linux, too? Can they safely be used there?

I downloaded them and will try to integrate them into wxSmith-Contrib items.

Offline MortenMacFly

  • Administrator
  • Lives here!
  • *****
  • Posts: 9694
Re: wxTreeListCtrl
« Reply #3 on: February 13, 2010, 04:48:58 pm »
I downloaded them and will try to integrate them into wxSmith-Contrib items.
You mean the other one (SpeedButton), too? I did that for Windows already but it wasn't a hard thing to do. ;-)
If it works under Linux reliable, too I would love to see them in SVN. It's a nice contribution in the end.
Compiler logging: Settings->Compiler & Debugger->tab "Other"->Compiler logging="Full command line"
C::B Manual: https://www.codeblocks.org/docs/main_codeblocks_en.html
C::B FAQ: https://wiki.codeblocks.org/index.php?title=FAQ

Offline rcoll

  • Almost regular
  • **
  • Posts: 150
Re: wxTreeListCtrl
« Reply #4 on: February 13, 2010, 04:49:33 pm »
Good one, too.
BTW: Did you try the plugins/widgets under Linux, too? Can they safely be used there?

No, I don't have a Linux installation available at the moment, but the wxTreeListCtrl is advertised as compatible with all architectures, and i believe the wxSmith plugin is also.

Ringo

Offline Jenna

  • Administrator
  • Lives here!
  • *****
  • Posts: 7255
Re: wxTreeListCtrl
« Reply #5 on: February 13, 2010, 05:03:24 pm »
I downloaded them and will try to integrate them into wxSmith-Contrib items.
You mean the other one (SpeedButton), too? I did that for Windows already but it wasn't a hard thing to do. ;-)
If it works under Linux reliable, too I would love to see them in SVN. It's a nice contribution in the end.
No I did not (yet) look into speed-button.
Could you create a patch of wxSmithContribItems with speed-button integrated and send it to me ?
I can do the changes for linux (project-file and automake) and test it here.

Offline MortenMacFly

  • Administrator
  • Lives here!
  • *****
  • Posts: 9694
Re: wxTreeListCtrl
« Reply #6 on: February 13, 2010, 05:52:38 pm »
Could you create a patch of wxSmithContribItems with speed-button integrated and send it to me ?
Patch is not possible, so I attach the ZIP file here.

I have modified it in a way that you can just place it in the contrib plugin folder, same level as wxSmith(Aui) etc. It should work nicely. I've also removed some compiler warnings and cleaned-up the project settings. In addition I also re-organized the folder structure and put everything into one project file (wxsSmithButton.cbp) which will contain the library and the wxSmith plugin. The test I left "unmodified" (well... some polishing here and there and make it unicode compatible) in the sub-folder "test" with another project file "SpeedTest.cbp" because it doesn't really belong to the plugin.

[attachment deleted by admin]
Compiler logging: Settings->Compiler & Debugger->tab "Other"->Compiler logging="Full command line"
C::B Manual: https://www.codeblocks.org/docs/main_codeblocks_en.html
C::B FAQ: https://wiki.codeblocks.org/index.php?title=FAQ

Offline Jenna

  • Administrator
  • Lives here!
  • *****
  • Posts: 7255
Re: wxTreeListCtrl
« Reply #7 on: February 13, 2010, 05:58:33 pm »
I think it should be integrated in the wxSmithContrib-Items.

Offline MortenMacFly

  • Administrator
  • Lives here!
  • *****
  • Posts: 9694
Re: wxTreeListCtrl
« Reply #8 on: February 13, 2010, 06:13:49 pm »
I think it should be integrated in the wxSmithContrib-Items.
I wouldn't do that. It's a different developer and it would it make easier to allow SVN access to him just for this folder.

Attached it the same project update for TreeListCtrl btw...

[attachment deleted by admin]
Compiler logging: Settings->Compiler & Debugger->tab "Other"->Compiler logging="Full command line"
C::B Manual: https://www.codeblocks.org/docs/main_codeblocks_en.html
C::B FAQ: https://wiki.codeblocks.org/index.php?title=FAQ

Offline MortenMacFly

  • Administrator
  • Lives here!
  • *****
  • Posts: 9694
Re: wxTreeListCtrl
« Reply #9 on: February 13, 2010, 08:51:32 pm »
...ooops some tiny mistakes (wrong output path) in the project files. Find the update attached.

BTW: If you are not using the debugger branch, you'll need to change the propgrid related settings in the project file.

[attachment deleted by admin]
Compiler logging: Settings->Compiler & Debugger->tab "Other"->Compiler logging="Full command line"
C::B Manual: https://www.codeblocks.org/docs/main_codeblocks_en.html
C::B FAQ: https://wiki.codeblocks.org/index.php?title=FAQ