1. 09 Sep, 2015 1 commit
  2. 07 Sep, 2015 1 commit
  3. 09 Feb, 2014 1 commit
  4. 07 Feb, 2014 1 commit
  5. 02 Feb, 2014 1 commit
  6. 21 Jan, 2014 1 commit
  7. 11 May, 2013 2 commits
  8. 01 May, 2013 1 commit
  9. 23 Apr, 2013 2 commits
    • Alexander Larsson's avatar
      Handle non-baseline supporting subclasses overriding baseline supporting classes · 316d4504
      Alexander Larsson authored
      If a subclass (say a child of GtkButton) overrides the non-baseline
      size request methods we need to call these, rather than the new
      get_height_and_baseline_for_width method.
      
      In order to handle this we make the default for this method to be
      NULL, and instead check at runtime which method to call. If any
      non-baseline vfunc has changed in a class but the baseline one
      hasn't, then we can't use the baseline one.
      316d4504
    • Alexander Larsson's avatar
      Initial support for baselines · 852cbb62
      Alexander Larsson authored
      This modifies the size machinery in order to allow baseline support.
      
      We add a new widget vfunc get_preferred_height_and_baseline_for_width
      which queries the normal height_for_width (or non-for-width if width
      is -1) and additionally returns optional (-1 means "no baseline")
      baselines for the minimal and natural heights.
      
      We also add a new gtk_widget_size_allocate_with_baseline() which
      baseline-aware containers can use to allocate children with a specific
      baseline, either one inherited from the parent, or one introduced due
      to requested baseline alignment in the container
      itself. size_allocate_with_baseline() works just like a normal size
      allocation, except the baseline gets recorded so that the child can
      access it via gtk_widget_get_allocated_baseline() when it aligns
      itself.
      
      There are also adjust_baseline_request/allocation similar to the
      allocation adjustment, and we extend the size request cache to also
      store the baselines.
      852cbb62
  10. 22 Apr, 2013 1 commit
  11. 02 Apr, 2013 1 commit
    • Benjamin Otte's avatar
      style: Add missing deprecation markers · e69e609b
      Benjamin Otte authored
      Some functions in gtkstyle.h were overlooked when we added the
      GDK_DEPRECATED macros.
      
      Also add IGNORE_DEPRECATIONS to the few remaining callers of those
      functions.
      e69e609b
  12. 24 Jan, 2013 1 commit
    • Benjamin Otte's avatar
      widget: Allow invisible toplevels to do sizing operations · 154204e8
      Benjamin Otte authored
      This is a quickfix to keep things working.
      
      It turns out GtkWindow assumes it can do sizing operations while not
      being visible, or while in the process of show()ing/hide()ing itself.
      And commit b495ce54 broke these operations.
      
      Figuring this properly requires some more thinking and restructuring on
      my part, so for now we relax the requirement of visiblility enough for
      these things to start working again.
      154204e8
  13. 08 Jan, 2013 1 commit
  14. 14 Nov, 2012 9 commits
  15. 04 Nov, 2012 7 commits
  16. 07 May, 2012 1 commit
  17. 27 Feb, 2012 1 commit
  18. 02 Nov, 2011 1 commit
  19. 14 Apr, 2011 1 commit
  20. 04 Apr, 2011 1 commit
  21. 26 Mar, 2011 1 commit
  22. 25 Mar, 2011 3 commits