1. 04 Dec, 2010 7 commits
    • 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
  19. 18 Sep, 2010 2 commits
  20. 09 Sep, 2010 1 commit
    • Matthias Clasen's avatar
      Remove GtkItem · 3bd93e5b
      Matthias Clasen authored
      With the demise of GtkList and GtkTree, it has GtkMenuItem as sole
      derived class, and is not really adding any value as a separate class.
      Its few useful features have been merged into GtkMenuItem.
      
      Bug 629104
      3bd93e5b
  21. 31 Aug, 2010 1 commit
  22. 29 Aug, 2010 1 commit
    • Matthias Clasen's avatar
      Move deprectated menu enumerations to a private header · af8539bf
      Matthias Clasen authored
      The GtkSubmenuDirection and GtkSubmenuPlacement enumerations
      have been deprecated as public API for a while, but are still used
      internally in the menu code. Move them to a private header. This
      also prevents to generation of GObject boilerplate for these enums.
      af8539bf