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 787852 - listbox: Remove get_selected_row and row-selected from gtk4
listbox: Remove get_selected_row and row-selected from gtk4
Status: RESOLVED OBSOLETE
Product: gtk+
Classification: Platform
Component: Widget: Other
unspecified
Other All
: Normal normal
: ---
Assigned To: gtk-bugs
gtk-bugs
Depends on:
Blocks:
 
 
Reported: 2017-09-18 17:26 UTC by Debarshi Ray
Modified: 2018-05-02 19:07 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
Remove GtkListBox::row-selected (14.03 KB, patch)
2017-09-18 17:28 UTC, Debarshi Ray
none Details | Review

Description Debarshi Ray 2017-09-18 17:26:17 UTC
The gtk_list_box_get_selected_row method and row-selected signal look like API bugs in gtk+ 3.x. They don't work with multiple selection, and don't have equivalent counterparts in the newer GtkFlowBox widget. In fact, GtkFlowBox directly went with multiple-selection friendly APIs which were later added to GtkListBox.

One could argue that those should be added to GtkFlowBox too for the sake of convenience when using single selection boxes.

However, the convenience argument doesn't sound too compelling to me. I think it's less confusing to have a one true way of getting the selected widgets and listening to selection changes.
Comment 1 Debarshi Ray 2017-09-18 17:28:06 UTC
Created attachment 360004 [details] [review]
Remove GtkListBox::row-selected
Comment 2 GNOME Infrastructure Team 2018-05-02 19:07:47 UTC
-- GitLab Migration Automatic Message --

This bug has been migrated to GNOME's GitLab instance and has been closed from further activity.

You can subscribe and participate further through the new bug through this link to our GitLab instance: https://gitlab.gnome.org/GNOME/gtk/issues/915.