1. 05 Nov, 2016 1 commit
  2. 10 Jun, 2016 1 commit
  3. 11 Nov, 2015 1 commit
  4. 10 Nov, 2015 1 commit
    • Emmanuele Bassi's avatar
      Start recursively moving autocleanups macros to their headers · 93369788
      Emmanuele Bassi authored
      * Cover letter
      Having a single header file for all autocleanups definitions was a
      reasonable stop-gap measure, but now GTK+ is starting to use G_DECLARE_*
      macros. This means that every class using a G_DECLARE_* macro will need
      to include "gtk.h" to avoid compiler warnings, which is not acceptable.
      By moving the G_DEFINE_AUTO* use to the header that defines the type we
      allow using the G_DECLARE_* macros without sacrificing the ability to
      include only the needed files when deriving from a class.
      * Commit
      This commit changes all includes relative to GtkWindow to define their
      own autocleanup macros.
  5. 03 Nov, 2015 1 commit
  6. 28 Oct, 2015 2 commits
  7. 22 Oct, 2015 2 commits
  8. 12 Sep, 2015 1 commit
  9. 23 Jul, 2015 1 commit
  10. 19 Jul, 2015 1 commit
  11. 01 Jul, 2015 1 commit
  12. 11 Dec, 2014 1 commit
  13. 30 Sep, 2014 1 commit
  14. 23 Jun, 2014 1 commit
  15. 27 May, 2014 1 commit
  16. 24 May, 2014 2 commits
    • Benjamin Otte's avatar
      API: widget: Add gtk_widget_set_clip() API · 4f89eb05
      Benjamin Otte authored
      And handle the fact that drawing bounds are now handled by this API and
      the corresponding gtk_widget_get_clip().
      Also add _gtk_widget_supports_clip() function to check if a widget has
      been ported to the new world.
    • Matthias Clasen's avatar
      Drop an unneeded include · 4928d5e4
      Matthias Clasen authored
      There's no GtkGesture in gtkwidget.h anymore. We do need an include
      in gtkwidgetprivate.h though.
  17. 23 May, 2014 6 commits
    • Carlos Garnacho's avatar
      gesture: Simplify gesture/widget interaction public API · 5369c770
      Carlos Garnacho authored
      The propagation phase property/methods in GtkEventController are gone,
      This is now set directly on the GtkWidget add/remove controller API,
      which has been made private.
      The only public bit now are the new functions gtk_gesture_attach() and
      gtk_gesture_detach() that will use the private API underneath.
      All callers have been updated.
    • Carlos Garnacho's avatar
      widget: refactor gesture integration · 7a71c163
      Carlos Garnacho authored
      Listen for notify::sequence-state-changed on the controller, so the
      only way to manipulate a sequence state are gtk_gesture_set_sequence_state()
      and gtk_gesture_set_state().
      Also, make use of gesture groups, so the sequence state is set at once
      on all gestures pertaining to a single group. Within a widget, if a sequence
      is claimed on one group, it is made to be denied on every other group.
    • Carlos Garnacho's avatar
      widget: Add gtk_widget_set_gesture_state() · 38e40a55
      Carlos Garnacho authored
      This helper function ensures the state is propagated for
      all the active sequences in the given gesture.
    • Carlos Garnacho's avatar
      widget: Make helper gesture API take GtkGestures · 997f05d9
      Carlos Garnacho authored
      GtkEventController may be certainly useful to keep event
      handling self-contained in other places than gestures, but
      the current widget API is highly related to gestures, so
      just using GtkGesture as the argument there will be quite
      more convenient. The other places where GtkEventController
      make sense as a base object will better provide their own
    • Carlos Garnacho's avatar
      widget: Add widget-level handling of touch sequence state. · 76213ab2
      Carlos Garnacho authored
      These functions ATM do nothing but proxying the controller(s) state
      with the given sequence.
    • Carlos Garnacho's avatar
      widget: Hook GtkEventController to widget event processing. · f1bb0283
      Carlos Garnacho authored
      A controller can be optionally hooked on the capture or the bubble
      phase, so the controller will automatically receive and handle events
      as they arrive without further interaction.
  18. 18 May, 2014 1 commit
  19. 17 May, 2014 1 commit
  20. 13 Mar, 2014 1 commit
  21. 09 Feb, 2014 1 commit
  22. 07 Feb, 2014 4 commits
  23. 05 Feb, 2014 1 commit
  24. 28 Jan, 2014 1 commit
  25. 25 Jan, 2014 1 commit
    • Matthias Clasen's avatar
      Deprecate gtk_widget_get_root_window · 5034920f
      Matthias Clasen authored
      The root window is a fairly X-centric concept, and it
      really has no place in the GtkWidget API. Plus, this
      is a rarely-used one-line convenience function with
      poor documentation.
  26. 21 Jan, 2014 4 commits