1. 11 Mar, 2021 1 commit
  2. 21 Oct, 2020 1 commit
  3. 15 Oct, 2020 1 commit
    • Matthias Clasen's avatar
      listview: Set accessible roles · 6d562b61
      Matthias Clasen authored
      Use the LIST and LIST_ITEM roles for GtkListView
      and its children. Use the GRID and GRID_CELL roles
      for GtkGridView and its children.
  4. 06 Sep, 2020 1 commit
    • Andreas Persson's avatar
      docs: Update list widgets docs · e0134aaf
      Andreas Persson authored
      Removed sentence that claimed the view will wrap the model in a
      GtkSingleSelection, as it's no longer true. Fixed the code example in
      GtkListView for the same reason. Fixed a small typo in GtkDropDown docs.
  5. 03 Sep, 2020 1 commit
  6. 01 Sep, 2020 1 commit
    • Matthias Clasen's avatar
      list widgets: Simplify the constructors · b628338d
      Matthias Clasen authored
      Now that both arguments to the _new_with_factory() constructors
      are nullable, there's no good reason to keep a separate _new()
      around. Just make gtk_list_view_new() and gtk_grid_view_new()
      take both a model and a factory.
  7. 31 Aug, 2020 1 commit
  8. 21 Aug, 2020 1 commit
  9. 06 Aug, 2020 1 commit
    • Matthias Clasen's avatar
      gridview: Work around unexpected focus changes · c13d7047
      Matthias Clasen authored
      As things currently stand, we get events for focus changes
      before the widget is allocated, and try to scroll in response.
      Therefore, leaving n_columns at 0 until size-allocate leads
      to plenty of division-by-zero. Just set it to 1 initially
      to avoid that. This is a workaround for #3025.
  10. 26 Jul, 2020 1 commit
    • Matthias Clasen's avatar
      gridview: Revise constructors · eb5c7621
      Matthias Clasen authored
      Make both gtk_grid_view_new and gtk_grid_view_new_with_factory
      take a model as first argument, and make all arguments
      allow-none and transfer full.
      Update all callers.
  11. 25 Jul, 2020 1 commit
  12. 17 Jul, 2020 1 commit
  13. 27 Jun, 2020 1 commit
  14. 26 Jun, 2020 3 commits
  15. 20 Jun, 2020 2 commits
    • Matthias Clasen's avatar
      gridview: Don't assert on a condition that can happen · 2842030e
      Matthias Clasen authored
      We are currently not robust against model changes or
      widget invalidations, so we can actually end up in
      situations where we run out of items here. Handle
      the failure a bit more gracefully, by returning NULL.
      This is good enough to make scrolling work okish most
      of the time. We still need a proper fix to handle
      other situations.
    • Benjamin Otte's avatar
      gridview: Compute right amount of items to skip · 7c2d2189
      Benjamin Otte authored
      We only want to skip the remaining items in the current row, not since
      the start of the widget.
  16. 04 Jun, 2020 3 commits
  17. 03 Jun, 2020 2 commits
  18. 30 May, 2020 17 commits