For custom nodes, check this thread here: https://developers.maxon.net/forum/topic/7651
For using GeListNodes, etc. I currently don't have a minimal example. But let me try to bump you in the right direction.
The TreeViewCustomGui
uses a root object. This root is so to say a "container" that holds your list structure. This can be anything - you are then responsible to handle all the actions within the TreeViewFunctions
, like GetNext()
, GetDown()
and so on. It is entirely up to you what you deliver to these functions. This level of abstraction comes with great flexibility.
If you want to go for GeListNode
, the following may work for you:
Create a GeListHead - this is your root.
Fill this root with GeListNodes as you desire.
Then, hand the root over to your TreeViewCustomGui via SetRoot()
And now, in the TreeViewFunctions, all you have to do is handle the nodes.
So, if you can go a bit into detail, we should be able to pinpoint a solution.
If you have any questions, I'll be happy to help.
edit: By the way, you may want to start with BaseList2D instead of GeListNode since it already has SetName() / GetName() implemented and also supports selection bits. This is a bit easier to start off if you want to experiment.