1. 19 Nov, 2010 1 commit
  2. 16 Nov, 2010 1 commit
  3. 05 Nov, 2010 1 commit
  4. 29 Oct, 2010 1 commit
  5. 23 Oct, 2010 4 commits
  6. 22 Oct, 2010 8 commits
  7. 21 Oct, 2010 2 commits
  8. 20 Oct, 2010 2 commits
  9. 19 Oct, 2010 1 commit
  10. 18 Oct, 2010 1 commit
  11. 16 Oct, 2010 1 commit
  12. 15 Oct, 2010 3 commits
  13. 14 Oct, 2010 1 commit
    • Tristan Van Berkom's avatar
      Deprecate GtkComboBoxEntry in favor of added properties to GtkComboBox · 9612c648
      Tristan Van Berkom authored
      GtkComboBox now sports a construct-only "has-entry" property which
      decides if it uses a GtkEntry to allow additional user input. Also
      it has a new "entry-text-column" to fetch strings for the entry
      from the model.
      
      This patch deprecates the GtkComboBoxEntry and updates the rest of GTK+
      to use the new semantics on GtkComboBox instead.
      
      GtkComboBoxEntry will be removed altogether before GTK+ 3, in a
      later commit.
      9612c648
  14. 13 Oct, 2010 2 commits
  15. 12 Oct, 2010 2 commits
  16. 08 Oct, 2010 2 commits
    • Matthias Clasen's avatar
      Remove resize grip handling from GtkStatusbar · b04bceb4
      Matthias Clasen authored
      We remove the resize grip from GtkStatusbar, but keep the code
      that makes the content avoid the grip, and adapt it to GtkWindow
      grips.
      
      The gtk_status_bar_set/get_has_resize_grip() functions and related
      properties are removed.
      b04bceb4
    • Matthias Clasen's avatar
      Add resize grips to GtkWindow · f6347baf
      Matthias Clasen authored
      Allow any window to display a resize grip, in the south-east or
      south-west corner, depending on text direction. This is implemented
      as a shaped window that gets overlayed on top of whatever content
      is there. We add api that allows widgets to avoid the resize grip,
      if desired.
      
      The ::has-resize-grip property controls if a window may display
      a resize grip. It will only be displayed if the window is resizable
      and not maximized.
      
      The size and visual appearance of the resize grip is under theme
      control, using the resize-grip-width/height style properties and
      the paint_resize_grip style function.
      f6347baf
  17. 01 Oct, 2010 2 commits
  18. 28 Sep, 2010 2 commits
    • Benjamin Otte's avatar
      API: remove gtk_window_set_visual() · 948768c7
      Benjamin Otte authored
      gtk_widget_set_visual() exists now and can be used instead.
      
      This reverts commit 59b227e1.
      948768c7
    • Benjamin Otte's avatar
      API: gtk: Add gtk_widget_set_visual() · 5ac62348
      Benjamin Otte authored
      It turns out that the previous handling of just providing a way to set
      visuals just on toplevels was not sufficient. In particular it
      complicated the various implementations of the tray icon specification.
      This patch reintroduces gtk_widget_set_visual() which behaves very
      similar to GTK2's gtk_widget_set_colormap().
      
      A future commit will remove the gtk_window_set_visual() function.
      5ac62348
  19. 27 Sep, 2010 1 commit
  20. 26 Sep, 2010 2 commits
    • Benjamin Otte's avatar
      API: Add gtk_cairo_transform_to_window() · 0795f1e0
      Benjamin Otte authored
      The function reverses the transform that GTK does before emitting a draw
      event. So we can use it in "old" widgets to revert the coordinate system
      properly.
      0795f1e0
    • Benjamin Otte's avatar
      Move GtkSizeRequest into GtkWidget · d9c92598
      Benjamin Otte authored
      It doesn't make sense to keep them separate as GtkSizeRequest requires a
      GtkWidget and GtkWidget implements GtkSizeRequest, so you can never have
      one without the other.
      It also makes the code a lot easier because no casts are required when
      calling functions.
      
      Also, the names would translate to gtk_widget_get_width() and people
      agreed that this would be a too generic name, so a "preferred" was added
      to the names.
      
      So this patch moves the functions:
      gtk_size_request_get_request_mode() => gtk_widget_get_request_mode()
      gtk_size_request_get_width() => gtk_widget_get_preferred_width()
      gtk_size_request_get_height() => gtk_widget_get_preferred_height()
      gtk_size_request_get_size() => gtk_widget_get_preferred_size()
      gtk_size_request_get_width_for_height() =>
        gtk_widget_get_preferred_width_for_height()
      gtk_size_request_get_height_for_width() =>
        gtk_widget_get_preferred_height_for_width()
      ... and moves the corresponding vfuncs to the GtkWidgetClass.
      
      The patch also renames the implementations of the vfuncs in widgets to
      include the word "preferrred".
      d9c92598