1. 04 Dec, 2010 12 commits
    • Matthias Clasen's avatar
      Some header cleanups · e598f178
      Matthias Clasen authored
      Move GtkGradient to their own files, also move GtkBorder out of
      gtkstyle.h, so that header can be all deprecated.
      e598f178
    • Carlos Garnacho's avatar
      s/GtkStyleSet/GtkStyleProperties/ · 4acc20ab
      Carlos Garnacho authored
      The former name had oddities such as gtk_style_set_set() and such,
      so the new name is nicer in that regard and not much longer.
      4acc20ab
    • Carlos Garnacho's avatar
      Add Gtk9Slice · 089f375c
      Carlos Garnacho authored
      This is a private boxed object to contain information about a border image
      in order to render it in a size independent way.
      089f375c
    • Carlos Garnacho's avatar
      Add GtkAnimationDescription as a private boxed object. · ed840e73
      Carlos Garnacho authored
      This struct will be used to represent an animation in GtkStyleSet. It
      will only be used internally in GtkStyleContext in order to trigger
      animations, engines shouldn't need this.
      ed840e73
    • Carlos Garnacho's avatar
      Add GtkTimeline as a private object. · 2e2c07b6
      Carlos Garnacho authored
      This will only be used internally by GtkStyleContext in order
      to animate state changes. When a proper animation framework is
      introduced in GTK+, it may be ditched.
      2e2c07b6
    • Carlos Garnacho's avatar
      Add GtkSymbolicColor. · 7094213d
      Carlos Garnacho authored
      This is a small boxed struct used to store symbolic colors so they
      can be resolved at a later point.
      7094213d
    • Carlos Garnacho's avatar
      Added GtkCssProvider. · bccad0c6
      Carlos Garnacho authored
      GtkCssProvider is a GtkStyleProvider implementation which is able to read
      CSS-like input to style widgets.
      
      At the moment, only the basic parser features are available.
      bccad0c6
    • Carlos Garnacho's avatar
      Add GtkThemingEngine. · 57be029b
      Carlos Garnacho authored
      GtkThemingEngine will be the theming engines base class, with default
      implementations for all paint functions, and readonly access to the
      related GtkStyleContext data.
      57be029b
    • Carlos Garnacho's avatar
      Add GtkWidgetPath. · 61360dfd
      Carlos Garnacho authored
      GtkWidgetPath represents a widget path. It will mainly used by theming
      engines to know detail about the widget hierarchy without actually
      accessing the widget.
      61360dfd
    • Carlos Garnacho's avatar
      Add GtkStyleContext. · 2b425d89
      Carlos Garnacho authored
      GtkStyleContext will conglomerate the information of several
      GtkStyleProviders for widgets and theme engines to query it.
      2b425d89
    • Carlos Garnacho's avatar
      Add GtkStyleProvider, an interface to provide style details. · 019fa733
      Carlos Garnacho authored
      The get_style() function isn't final yet, further parameters
      should be added to query details based on the widget hierarchy,
      name, etc.
      019fa733
    • Carlos Garnacho's avatar
      Add GtkStyleSet, a store of style properties. · f601abd2
      Carlos Garnacho authored
      At the moment there's only basic API for adding,
      removing and clearing a property. There's also
      API to merge 2 GtkStyleSets.
      f601abd2
  2. 30 Nov, 2010 1 commit
  3. 29 Nov, 2010 3 commits
  4. 24 Nov, 2010 3 commits
  5. 23 Nov, 2010 4 commits
  6. 19 Nov, 2010 1 commit
  7. 10 Nov, 2010 1 commit
  8. 09 Nov, 2010 1 commit
  9. 22 Oct, 2010 2 commits
    • Matthias Clasen's avatar
      Add GtkGrid · 8f0ae8e8
      Matthias Clasen authored
      GtkGrid is a container similar to GtkTable, without legacy
      properties and unnecessary restrictions.
      It does height-for-width geometry management.
      8f0ae8e8
    • Tadej Borovšak's avatar
      Add GtkScrollable interface · 55196a70
      Tadej Borovšak authored
      The GtkScrollable interface provides "hadjustment" and "vadjustment"
      properties that are used by GtkScrolledWindow. It replaces
      the ::set_scroll_adjustment signal. The scrollable interface
      also has ::min-display-width/height properties that can be
      used to control the minimally visible part inside a scrolled window.
      55196a70
  10. 20 Oct, 2010 3 commits
  11. 18 Oct, 2010 1 commit
  12. 16 Oct, 2010 1 commit
  13. 15 Oct, 2010 1 commit
  14. 13 Oct, 2010 2 commits
  15. 11 Oct, 2010 1 commit
    • Owen W. Taylor's avatar
      Fix handling of the geometry widget · 88cf5470
      Owen W. Taylor authored
      The geometry widget feature of gtk_window_set_geometry_hints() has
      never really worked right because the calculation that GTK+ did to
      compute the base size of the window only worked when the geometry
      widget had a larger minimum size than anything else in the window.
      
      Setup:
      * Move the GtkSizeGroup private functions to a new private header
        gtksizegroup-private.h
      * Add the possibilty to pass flags to _gtk_size_group_queue_resize(),
        with the flag GTK_QUEUE_RESIZE_INVALIDATE_ONLY to suppress adding
        the widget's toplevel to the resize queue.
      * _gtk_container_resize_invalidate() is added to implement that feature
      * _gtk_widget_override_size_request()/_gtk_widget_restore_size_request()
        allow temporarily forcing a large minimum size on the geometry
        widget without creating resize loops.
      
      GtkWindow:
      * Compute the extra width/height around the geometry widget
        correctly; print a warning if the computation fails.
      * Always make the minimum size at least the natural minimum
        size of the toplevel; GTK+ now fails badly with underallocation.
      * Always set the base size hint; we were failing to set it
        properly when the specified minimum size was overriden, but
        it's harmless to always set it.
      
      Tests:
      * New test 'testgeometry' that replaces the 'gridded geometry' test
        from testgtk. The new test is roughly similar but creates a bunch
        of windows showing different possibilities.
      * The testgtk test is removed. No need to have both.
      
      https://bugzilla.gnome.org/show_bug.cgi?id=68668
      88cf5470
  16. 28 Sep, 2010 1 commit
  17. 27 Sep, 2010 1 commit
  18. 26 Sep, 2010 1 commit
    • Benjamin Otte's avatar
      cellrenderer: Merge GtkCellSizeRequest into GtkCellRenderer · e6612901
      Benjamin Otte authored
      This mostly goes to keep consistency with the changes to GtkSizeRequest
      in the last patch, as GtkCellSizeRequest requires GtkCellRenderer and
      GtkCellRenderer implements GtkCellSizeRequest there's no use in keeping
      them separate.
      
      This patch renames the functions:
      gtk_cell_size_request_get_request_mode()
        => gtk_cell_renderer_get_request_mode()
      gtk_cell_size_request_get_width()
        => gtk_cell_renderer_get_preferred_width()
      gtk_cell_size_request_get_height()
        => gtk_cell_renderer_get_preferred_height()
      gtk_cell_size_request_get_size()
        => gtk_cell_renderer_get_preferred_size()
      gtk_cell_size_request_get_width_for_height()
        => gtk_cell_renderer_get_preferred_width_for_height()
      gtk_cell_size_request_get_height_for_width()
        => gtk_cell_renderer_get_preferred_height_for_width()
      ... and moves the corresponding vfuncs to GtkCellRenderer.
      
      The patch also renames the implementations of these functions in cell
      renderers to include the word "preferrred".
      e6612901