1. 13 Oct, 2014 1 commit
  2. 30 Sep, 2014 1 commit
  3. 06 Sep, 2014 2 commits
  4. 27 Aug, 2014 1 commit
  5. 20 Aug, 2014 1 commit
  6. 18 Aug, 2014 2 commits
  7. 17 Aug, 2014 1 commit
  8. 16 Aug, 2014 2 commits
  9. 12 Aug, 2014 1 commit
  10. 09 Aug, 2014 1 commit
  11. 19 Jul, 2014 1 commit
  12. 10 Jul, 2014 1 commit
  13. 03 Jul, 2014 1 commit
  14. 26 Jun, 2014 1 commit
    • Emmanuele Bassi's avatar
      docs: Show examples of how to use templates API · 5b571ff4
      Emmanuele Bassi authored
      The template documentation is lacking inlined examples on how to use the
      templates API, like binding children and callbacks. This makes looking
      for best practices a bit harder than it ought to be, for a feature this
  15. 23 Jun, 2014 2 commits
  16. 22 Jun, 2014 1 commit
  17. 21 Jun, 2014 2 commits
  18. 10 Jun, 2014 1 commit
  19. 09 Jun, 2014 1 commit
    • Matthias Clasen's avatar
      GtkWidget: Use G_PARAM_EXPLICIT_NOTIFY · acad03f7
      Matthias Clasen authored
      A few properties here are special, and can't benefit from it:
      those which are just shorthands, like ::margin and ::expand,
      and those that have explicit -set properties, like::hexpand
      and ::vexpand.
  20. 05 Jun, 2014 1 commit
  21. 04 Jun, 2014 1 commit
  22. 03 Jun, 2014 2 commits
    • Carlos Garnacho's avatar
      widget: Ensure all gestures outside a grab scope are cancelled · 25f5da50
      Carlos Garnacho authored
      This code is a product of early stages in the gestures branch, where
      capturing would have an effect outside grab boundaries. But this isn't
      really the case, so every gesture outside the grab scope must be reset
      to avoid keeping stale data.
    • Carlos Garnacho's avatar
      widget: Only deny a sequence if it was previously claimed · 26ced6ab
      Carlos Garnacho authored
      Before this change, a sequence being claimed deep in the event propagation
      chain would make the sequence go denied on every ancestor, regardless of
      previous state.
      To make things more consistent, only deny the sequence if it was previously
      claimed, so the behavior is the same for gesture groups within the widget
      than for those outside the widget.
      The gestures testsuite has been updated to reflect this new behavior.
  23. 31 May, 2014 1 commit
  24. 30 May, 2014 1 commit
  25. 28 May, 2014 2 commits
  26. 27 May, 2014 2 commits
    • Carlos Garnacho's avatar
      widget: Change GtkCapturePhase behavior in event controllers' handling · 505efbb3
      Carlos Garnacho authored
      Previously, there would be globally just a capture and a bubble phase,
      with the event just going down the hierarchy once, and the up once.
      GTK_PHASE_TARGET actually meaning "run within event handlers", so in
      a hierarchy of 3 widgets, emission would be:
        Target(A) (if event handlers allow)
        Target(B) (if event handlers allow)
        Target(C) (if event handlers allow)
      This commit changes this behavior and uses GTK_PHASE_TARGET in a less
      misleading way, running only on the widget that was meant to receive
      the event. And GTK_PHASE_BUBBLE has taken over the execution place of
      GTK_PHASE_TARGET, so the emission remains:
        Bubble(A) (if event handlers allow)
        Bubble(B) (...)
        Bubble(C) (...)
      As it was, GTK_PHASE_BUBBLE was useful for running event controllers
      paralelly to event handlers, without modifying a single line in those.
      For those mixed scenarios, Any of the other phases will have to be
      used at discretion, or the event handlers eventually changed to chain
      up and let the default event handlers in GtkWidget to be run.
    • Carlos Garnacho's avatar
      gesture: Replace gtk_gesture_attach/detach with event controller API · d05a9f9a
      Carlos Garnacho authored
      Event controllers now auto-attach, and the GtkCapturePhase only determines
      when are events dispatched, but all controllers are managed by the widget wrt
      All callers have been updated.
  27. 24 May, 2014 4 commits
  28. 23 May, 2014 2 commits
    • Carlos Garnacho's avatar
      widget: Flip execution order of GTK_PHASE_TARGET/BUBBLE · 01d74f86
      Carlos Garnacho authored
      the "bubble" phase used to run before event handlers before GTK_PHASE_TARGET
      was added, in order to keep phases in the expected order, move GTK_PHASE_BUBBLE
      to be run (still invariably) after event handlers.
      The only behavioral change should be wrt widgets wanting mixed event handler/
      gesture handling, they could previously attach the gesture to the bubble phase
      and check for gtk_gesture_is_active() in the event handler to bail out, they'll
      have to use GTK_PHASE_CAPTURE for that purpose from now on.
    • Matthias Clasen's avatar
      Add back a private api to list controllers · a727c41e
      Matthias Clasen authored
      This will let us show them in the inspector.