summaryrefslogtreecommitdiff
path: root/gtk/gtkcolumnviewrowwidget.c
Commit message (Collapse)AuthorAgeFilesLines
* columnview: Implement inertnessBenjamin Otte2023-04-011-1/+3
| | | | | | | | This properly implements the same behavior as 62e9d1e470b0819bdcb4d2a3ba05e083306fc0da and avoids randomly losing factories. Oops.
* columnviewrowwidget: Don't discard items in unroot()Benjamin Otte2023-04-011-46/+8
| | | | | Follows 3411b0306ee3b88038abdc736adf60bd004c7b7a and 3fb10ff2d8cdffdc5e026f9b57c4d5580a36d308.
* columnview: Rename to GtkColumnViewCellWidgetBenjamin Otte2023-04-011-4/+4
| | | | Just like with Row/RowWidget, I want to use Cell/CellWidget.
* columnview: Add GtkColumnViewRowBenjamin Otte2023-04-011-73/+136
| | | | | | | There is no way to set it yet, this is just to prove that it works. It also changes the focus behavior of rows. They are now always focusable - unless turned off by the factory once that is possible.
* columnview: Add GtkColumnView::tab-behaviorBenjamin Otte2023-03-261-0/+7
| | | | | Also make sure that GTK_LIST_TAB_CELL works by implementing support for it in the row widget.
* columnview: Don't infloop when a cell is grab_focus()edBenjamin Otte2023-03-241-1/+1
| | | | | | Whoopsie. Broken since 30d4629043f.
* columnview: Handle focus movement properlyBenjamin Otte2023-03-231-3/+71
| | | | | | | | | | | - grab_focus() on a row (happens with scroll_to()) keeps the focus column intact if possible. - <Tab> and <Shift-Tab> move through the cells in order, and move to the next row when at the end. - <Up> an <Down> move to the next/prev row, keeping the same column focused. - <Left> and <Right> move to the prev/next cell, if one is available. If not, they stay where they are.
* columnview: add a (private) focus-columnBenjamin Otte2023-03-231-4/+28
| | | | Make setting the focus column scroll to it, too.
* columnviewrowwidget: Handle left/right arrow keysBenjamin Otte2023-03-231-0/+29
| | | | | | | Make it move focus just like GtkWindow would. Otherwise the listview will (try to) handle it and move focus between cells - which doesn't do anything for lists and only works with grids.
* columnviewrow: Handle focus movement properlyBenjamin Otte2023-03-231-3/+46
| | | | Handle backwards tab properly and deal with left right arrows.
* columnviewrowwidget: Drop unneeded stuffBenjamin Otte2023-03-231-11/+234
| | | | | Also remove the GtkColumnListItemFactory and GtkColumnViewLayout objects by folding them into GtkColumnViewRowWidget.
* columnview: Add GtkColumnViewRowWidgetBenjamin Otte2023-03-231-0/+167
This is a copy/paste of GtkListItemWidget for now. Modifications will happen in future commits.