1. 03 May, 2016 1 commit
  2. 29 Apr, 2016 2 commits
    • Matthias Clasen's avatar
      box gadget: Redo expand flag handling · 21487089
      Matthias Clasen authored
      We only keep one align flag per child, so it seems odd to
      keep separate h/v expand flags. Just keep one expand flag
      and interpret it according to orientation. Allow setting
      the expand flag for child widgets too, though, so we can
      make widget expand without interfering with the recursive
      widget expand flag.
      
      Update all callers.
      
      Use the new possibility of expanding child widgets to make
      the label of check and radio buttons expand. This fixes
      unexpected behavior of these widgets in RTL in some places.
      
      https://bugzilla.gnome.org/show_bug.cgi?id=765742
      21487089
    • Matthias Clasen's avatar
      check button: Reverse alignments in RTL · 8bf148b0
      Matthias Clasen authored
      Flip alignments for the box gadget children.
      8bf148b0
  3. 04 Mar, 2016 1 commit
  4. 20 Feb, 2016 1 commit
  5. 18 Jan, 2016 2 commits
  6. 13 Jan, 2016 1 commit
  7. 12 Jan, 2016 1 commit
  8. 28 Dec, 2015 1 commit
  9. 20 Dec, 2015 2 commits
  10. 16 Dec, 2015 4 commits
  11. 15 Dec, 2015 3 commits
    • Matthias Clasen's avatar
      checkbutton: Remove dead code · d891bb81
      Matthias Clasen authored
      d891bb81
    • Matthias Clasen's avatar
      radiobutton: Port radio buttons to gadgets · a52c3a3d
      Matthias Clasen authored
      This was already mostly done by inheritance from GtkCheckButton.
      To complete it, stop using the draw_indicator vfunc for radio
      buttons, and instead make the indicator gadget draw either a
      check or radio.
      a52c3a3d
    • Matthias Clasen's avatar
      check button: Convert to gadgets · 233179d3
      Matthias Clasen authored
      Use a gadget for the button, and for the indicator.
      A complication here is that GtkCheckButton (and
      GtkRadioButton) have a totally different appearance
      depending on the ::draw-indicator property. If an
      indicator is not required, we just reuse the
      GtkButton gadget.
      This mostly works; some minor sizing issues left, e.g. cranking
      up the indicator-size causes the checkbutton grid in testgtk
      to overlap.
      233179d3
  12. 12 Dec, 2015 1 commit
    • Benjamin Otte's avatar
      cssnode: Change style-changed signal · 971a2774
      Benjamin Otte authored
      Instead of having old and new style, now have a GtkCssStyleChange opaque
      object that will compute the changes you are interested in for you.
      
      This simplifies change signal handlers quite a bit and avoids lots of
      repeated computation in every signal handler.
      971a2774
  13. 22 Nov, 2015 1 commit
  14. 03 Nov, 2015 2 commits
  15. 30 Oct, 2015 1 commit
    • Matthias Clasen's avatar
      toggle button: Convert to css nodes · c631656f
      Matthias Clasen authored
      Convert GtkToggleButton and its subclasses to CSS nodes.
      Keep the button element name for when we want to render
      these button-like (but with .toggle, .check and .radio
      style classes for differentiation).
      
      When we want to render them with an indicator, use distinct
      element names checkbutton and radiobutton, and add a subnode
      for the indicator with name check or radio.
      c631656f
  16. 03 Oct, 2014 1 commit
  17. 17 Aug, 2014 2 commits
    • Benjamin Otte's avatar
      checkbutton: Fix redraw issues · 442353fa
      Benjamin Otte authored
      This is a hack to get around the optimizations done by the CSS engine.
      
      The CSS engine will notice that no CSS properties changed on the
      widget itself when going from one state to another and not queue
      a redraw.
      And the reason for no properties changing will be that only the
      checkmark itself changes, but that is hidden behind a
      gtk_style_context_save()/_restore() pair, so it won't be caught.
      442353fa
    • Benjamin Otte's avatar
      checkbutton: Don't redundantly update states · d36bba29
      Benjamin Otte authored
      States are set properly by GtkButton, there is no need to set them
      manually.
      d36bba29
  18. 16 Aug, 2014 5 commits
  19. 14 May, 2014 1 commit
  20. 09 May, 2014 4 commits
  21. 07 May, 2013 2 commits
  22. 23 Apr, 2013 1 commit