Skip to content
Discussion options

You must be logged in to vote

OK, but then widgets that use a Source like Tree say:

A Source will be used as-is. It must either be a TreeSource, or a custom class that provides the same methods.

That seems to be in conflict with each other if you're encouraged to leave off methods you don't need but which the widgets say are needed consistently across the widgets based on using the built-in data source classes as protocols.

The widget using a source only views the information that the source contains. If a row is added to the source, the widget is notified that a row has been added so that it can be displayed (if necessary); but the widget won't ever call insert() on a source directly, because the Tree widget does…

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@brettcannon
Comment options

Answer selected by brettcannon
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants