Toolbox: Using Treeview and Tabs gadgets from C
WPB (1391) 352 posts |
I know that !ResEd has had support for the Treeview and Tabs gadgets for a while now, but I couldn’t see that any C veneers were included with the DDE. Is that correct, or am I just looking in the wrong places? Where’s the recommended place to obtain C veneers to make use of these gadgets now? It’s part of a project that doesn’t use OSLib or DeskLib. |
Chris Johnson (125) 825 posts |
The downloads for the Tabs/Treeview gadgets contains C veneers, which do not depend on any other libs. They only make SWI calls I think (without looking at sources). I modified the Tabs gadget veneer to use OsLib. |
WPB (1391) 352 posts |
Thanks for that, Chris. I’ve dug them out from my old downloads so I’ll try to work them into my build. |
Dave Higton (1515) 3526 posts |
What is the status of Treeview? Am I correct in thinking that it still is not part of RISC OS 5? |
Jean-Michel BRUCK (3009) 359 posts |
Tabs and Treeview are not in the ROM, I hope they will be after the ToolBox revision. |
Rik Griffin (98) 264 posts |
Hi all, it’s been a long time! I’ve been away from the RISC OS scene for a while, due to time pressures. But I still use it every day for work, even though everything I write these days is targeted at Linux. For a while now I’ve been thinking I should do something with those gadgets I wrote, namely TreeView and Tabs. Occasionally people email me about them, it’s great to see they are being used for real applications. But sadly I don’t have time to maintain them these days. Would there be an interest in incorporating the modules into the main RISC OS source? This seems like a better solution to me than just uploading the source onto something like github, where it’d probably be forgotten (again!). I’m happy to donate the entire source code to the RISC OS project, under a suitable licence (currently it’s BSD), which would hopefully allow people to improve these modules further, something I can’t afford the time to do myself. Thoughts? |
Chris Mahoney (1684) 2165 posts |
Personally I think that’s a great idea. Having it all in one place certainly simplifies things, and it’s possible that it may increase the number of code contributions too. |
Martin Avison (27) 1494 posts |
Donating the source to ROOL is an excellent idea – it is a great shame that they have not been part of a standard RISC OS release for years.It should mean your work can be appreciated by more users and developers. |
Chris Johnson (125) 825 posts |
I agree with Chris M. and Martin. I have used the Tabs gadget in a number of my apps, but haven’t made much use of the Treeview gadget yet. I may have mailed you in the distant past about a couple of niggles, but generally Tabs is excellent. |
Julie Stamp (8365) 474 posts |
I think it’s a brilliant idea! |
Tank (53) 375 posts |
Just to butt in here and say that I have reworked my Date module (adds a date picker object to the toolbox) to use a toolbox window for it’s template. |
Matthew Phillips (473) 721 posts |
I’d always fancied a date picker, but I guess this is Toolbox-only, unlike the ColourPicker module which offers the facility to non-Toolbox applications? |