After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 101661 - Multiple row set APIs for TreeModels not easy to wrap in GTKMM
Multiple row set APIs for TreeModels not easy to wrap in GTKMM
Status: RESOLVED WONTFIX
Product: gtk+
Classification: Platform
Component: Widget: GtkTreeView
2.1.x
Other Linux
: Normal enhancement
: Small API
Assigned To: gtktreeview-bugs
gtktreeview-bugs
: 108816 (view as bug list)
Depends on:
Blocks:
 
 
Reported: 2002-12-20 04:52 UTC by Matthew Tuck
Modified: 2014-03-27 02:42 UTC
See Also:
GNOME target: ---
GNOME version: Unversioned Enhancement



Description Matthew Tuck 2002-12-20 04:52:15 UTC
The gtk_tree_store_set and gtk_list_store_set methods that can set multiple
columns in a row at once are better to use for the setting of multiple columns.

They are faster than the single row set methods, presumably due to less
signals, ui updates, and tree sorting.

They are more coherent, for example if you wish to place assertions against
inconsistent row states in the tree sort row comparison function, multiple
set will ensure it will never see the transitional states of a row, that
are potentially inconsistent.

However, this interface requires varargs, which apparently are very
difficult, if not impossible, to wrap in GTKMM.

Hence it would be nice if a more convenient interface to this functionality
was available, like an array.
Comment 1 Kristian Rietveld 2003-01-14 16:21:50 UTC
Might be nice in 2.4.
Comment 2 Kristian Rietveld 2003-05-22 22:34:27 UTC
*** Bug 108816 has been marked as a duplicate of this bug. ***
Comment 3 Murray Cumming 2003-08-08 14:43:33 UTC
That duplicate bug #108816 has a patch that I guess is meant to be a
solution, so I'm adding the patch keyword here.
Comment 4 Matthias Clasen 2014-03-27 02:42:58 UTC
closing out ancient bugs