GNOME Bugzilla – Bug 787852
listbox: Remove get_selected_row and row-selected from gtk4
Last modified: 2018-05-02 19:07:47 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.
Created attachment 360004 [details] [review] Remove GtkListBox::row-selected
-- 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.