1. 26 Mar, 2019 1 commit
  2. 04 Dec, 2018 1 commit
    • Daniel Boles's avatar
      Box, Grid: Improve various bits of documentation · b0fdaf3b
      Daniel Boles authored
      Issue #1495 showed that the docs of GtkGrid retain outdated implications
      that (as was once, but is no longer, the case) it is intended to replace
      GtkBox, by discussing HfW and widget properties in a way that suggests
      GtkBox can't handle them. But of course it does, and it's preferable for
      simple single-row/column cases. Worse, we said GtkGrid “provides exactly
      the same functionality” for the latter case, but the original point of
      that Issues was that it doesn’t, at least for CSS positional selectors!
      
      Box:
      • Use an actually meaningful @Short_description.
      • Remove unhelpful @See_also references to unrelated containers.
      • Remove references to “rectangular area”: it might be another shape
        via CSS, or “rectangular” might falsely imply 2 dimensions of children.
      • Mention Orientable:orientation.
      • Emphasise usefulness of :[hv]align for allocating in the other axis.
      • Don’t say that Grid “provides exactly the same functionality” for a
        single row or column, since (A) it is overkill for that case and (B)
        said Issue proved that it *doesn’t* for CSS child order, for example.
      • Note in the child properties that are remove in master that we have
        better, preferred alternatives available now in GtkWidget/CSS props.
        There’s no nice way to deprecate these, though they’re gone in GTK+ 4.
      • Correct a copy-paste-o from the blurb of :expand to :fill.
      
      Grid:
      • Remove references to deprecated widgets: GtkTable and Gtk[HV]Box.
      • Don’t dwell on widget properties and height-for-width in a way that
        wrongly implies that Box can’t handle those (or Grid can better). In
        fact, just get rid of that bit altogether: Box handles them fine, and
        Table is so old as to be not worth mentioning (in anything except the
        2 => 3 migration guide) and points to Grid in its deprecation notice.
      • Point to GtkBox as being preferred for the simple row/column use case.
      b0fdaf3b
  3. 22 May, 2017 1 commit
  4. 15 Jan, 2017 1 commit
  5. 16 Dec, 2015 1 commit
  6. 15 Dec, 2015 1 commit
  7. 01 Dec, 2015 1 commit
  8. 13 Nov, 2015 1 commit
  9. 08 Sep, 2015 1 commit
  10. 07 Sep, 2015 1 commit
  11. 18 Jul, 2015 1 commit
  12. 17 Jul, 2015 1 commit
  13. 03 Oct, 2014 1 commit
  14. 20 Aug, 2014 1 commit
  15. 18 Jul, 2014 1 commit
  16. 09 Jun, 2014 1 commit
  17. 24 May, 2014 1 commit
  18. 01 May, 2014 2 commits
  19. 07 Feb, 2014 3 commits
  20. 25 Jan, 2014 2 commits
  21. 03 Nov, 2013 1 commit
  22. 09 Jul, 2013 1 commit
  23. 28 Apr, 2013 1 commit
  24. 24 Apr, 2013 1 commit
  25. 23 Apr, 2013 2 commits
  26. 23 Mar, 2013 1 commit
  27. 16 Mar, 2013 1 commit
    • Matthias Clasen's avatar
      GtkGrid: Tweak size allocation · 5e1a06d1
      Matthias Clasen authored
      If there are rows that contain only spanning children,
      our algorithm was unnecessarily distributing extra space
      to the other rows, even if they contain only non-expanding
      children.
      
      We improve the behaviour by treating rows containing only
      spanning children as expanding.
      5e1a06d1
  28. 02 Jun, 2012 2 commits
  29. 16 May, 2012 1 commit
  30. 28 Apr, 2012 1 commit
  31. 24 Mar, 2012 1 commit
  32. 04 Mar, 2012 1 commit
  33. 27 Feb, 2012 1 commit
  34. 26 Oct, 2011 1 commit
    • Matthias Clasen's avatar
      Fix gtk_grid_attach_next_to · 362ff7be
      Matthias Clasen authored
      The function did not behave as intended when @sibling is NULL.
      Also add an example to the docs to clarify the intended behaviour.
      362ff7be