TreeViews in tkd

TheGag96 via Digitalmars-d-learn digitalmars-d-learn at puremagic.com
Thu Dec 17 01:47:42 PST 2015


I've been trying to get into tkd to make some GUI apps, since it 
looked like the simplest/intuitive library out there so far. I've 
been attempting to use their TreeViews to make interactable lists 
of things, but it almost looks like there's some missing 
functionality.

For example, I'm not sure there are any ways to delete individual 
rows from one. You can clear them all entries, but there doesn't 
look to be a method for just getting rid of one row - if there 
is, I can't find it. Calling destroy() on an individual row does 
not remove it either (yet apparently destroy() effects the GUI in 
tkd, not just finalizing the object). It also doesn't look like 
there's a way to get a row by an index or ID, either. You can get 
columns... But the only way you can a row object is through 
getSelectedRows(). Am I missing something here?

I made an issue on GitHub but I'm not sure I'll get anything 
back, it's been 9 months since the last commit.

Has anyone worked with this before and could give me some tips? 
Thanks!


More information about the Digitalmars-d-learn mailing list