Tree Widget

19 views
Skip to first unread message

Gabriel Csapo

unread,
Mar 27, 2015, 6:31:49 PM3/27/15
to beeware-d...@googlegroups.com
Does anyone know what the tree widget is supposed to do? I understand it is subclassing NSOutlineView, but unsure of what the current implementation was supposed to accomplish.

Russell Keith-Magee

unread,
Mar 27, 2015, 7:53:06 PM3/27/15
to beeware-d...@googlegroups.com

It *should* be doing exactly what you'd expect a tree widget to do - expand and contract nodes on a tree, with each leaf on the tree potentially having multiple columns of data. 

However, it's a pretty bare bones implementation at the moment. I knocked it together so that I could demo a mocked up interface to Cricket; it's a long way from being a useful API. 

Yours,
Russ Magee %-)

On Sat, Mar 28, 2015 at 6:31 AM, Gabriel Csapo <gabe...@gmail.com> wrote:
Does anyone know what the tree widget is supposed to do? I understand it is subclassing NSOutlineView, but unsure of what the current implementation was supposed to accomplish.

--
You received this message because you are subscribed to the Google Groups "Beeware Developers" group.
To unsubscribe from this group and stop receiving emails from it, send an email to beeware-develop...@googlegroups.com.
To post to this group, send email to beeware-d...@googlegroups.com.
Visit this group at http://groups.google.com/group/beeware-developers.
To view this discussion on the web visit https://groups.google.com/d/msgid/beeware-developers/80a7774d-d4bd-4e28-84c5-a59935317ba7%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Gabriel Csapo

unread,
Mar 27, 2015, 8:52:24 PM3/27/15
to beeware-d...@googlegroups.com
Okay, do you have code that you used to show how the tree widget works?

On Friday, March 27, 2015 at 7:53:06 PM UTC-4, Russell Keith-Magee wrote:

It *should* be doing exactly what you'd expect a tree widget to do - expand and contract nodes on a tree, with each leaf on the tree potentially having multiple columns of data. 

However, it's a pretty bare bones implementation at the moment. I knocked it together so that I could demo a mocked up interface to Cricket; it's a long way from being a useful API. 

Yours,
Russ Magee %-)

On Sat, Mar 28, 2015 at 6:31 AM, Gabriel Csapo <gabe...@gmail.com> wrote:
Does anyone know what the tree widget is supposed to do? I understand it is subclassing NSOutlineView, but unsure of what the current implementation was supposed to accomplish.

--
You received this message because you are subscribed to the Google Groups "Beeware Developers" group.
To unsubscribe from this group and stop receiving emails from it, send an email to beeware-developers+unsub...@googlegroups.com.

Russell Keith-Magee

unread,
Mar 27, 2015, 9:02:18 PM3/27/15
to beeware-d...@googlegroups.com

Here's a Gist with the code for my Cricket mockup.


Russ %-)


To unsubscribe from this group and stop receiving emails from it, send an email to beeware-develop...@googlegroups.com.

To post to this group, send email to beeware-d...@googlegroups.com.
Visit this group at http://groups.google.com/group/beeware-developers.

Gabriel Csapo

unread,
Mar 27, 2015, 10:09:19 PM3/27/15
to beeware-d...@googlegroups.com

So after like 3 hours of debugging, I was like, hmm I wonder if it handles reloadData internally.... so I tried self._tree.reloadData()... -_- 

Houston we are one step closer to a fully working library.

Reply all
Reply to author
Forward
0 new messages