tidy up store interface and fix selected #123
Merged
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This pull request does two things: it adds a few methods for manipulating GtkListStore and GtkTreeStore objects and it fixes the
selected
method and addsselected_rows
to mirrorgtk_tree_selection_get_selected
andgtk_tree_selection_get_selected_rows
(which don't work with G_.select or G_.selected_rows, as far as I could tell).The changes to the store methods are summarized below with - meaning dropped, + meaning added:
store interface
indexing
what of setindex! ??
no symmetry here, should this be addressed?
get store from a view
set store for view, setproperty! fails
Tree store
Selection