1. 07 Feb, 2013 1 commit
    • Alexander Larsson's avatar
      Add gtk_widget_(un)register_window · 3d4cd4db
      Alexander Larsson authored
      This replaces the previously hardcoded calls to gdk_window_set_user_data,
      and also lets us track which windows are a part of a widget. Old code
      should continue working as is, but new features that require the
      windows may not work perfectly.
      
      We need this for the transparent widget support to work, as we need
      to specially mark the windows of child widgets.
      
      https://bugzilla.gnome.org/show_bug.cgi?id=687842
      3d4cd4db
  2. 17 Apr, 2012 1 commit
  3. 27 Feb, 2012 1 commit
  4. 06 Jun, 2011 1 commit
  5. 24 Jan, 2011 1 commit
  6. 04 Jan, 2011 1 commit
  7. 30 Oct, 2010 1 commit
  8. 27 Oct, 2010 1 commit
  9. 20 Oct, 2010 1 commit
  10. 02 Oct, 2010 1 commit
    • Benjamin Otte's avatar
      gdk: Make gdk_pixbuf_get_from_*() bindable · 872ef111
      Benjamin Otte authored
      The ownership of the return value for gdk_pixbuf_get_from_window() and
      gdk_pixbuf_get_from_surface() was determined by the first argument.
      
      Because that is an ugly design and the functions are new to GTK3, we
      decided to adapt them.
      And that adaptation was quite easy since almost no one passses anything
      but NULL as the first argument.
      872ef111
  11. 28 Sep, 2010 1 commit
  12. 27 Sep, 2010 1 commit
  13. 26 Sep, 2010 5 commits
    • 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
    • Benjamin Otte's avatar
    • Benjamin Otte's avatar
      gtk: Don't set colormap anymore when creating GDK windows · e8a6bad0
      Benjamin Otte authored
      Colormaps are about to be removed, so not using them sounds like an
      awesome idea.
      e8a6bad0
    • Benjamin Otte's avatar
      API: Change offscreen windows to use a cairo_surface_t · 332652f7
      Benjamin Otte authored
      This requires changes to all the offscreen surface getters that used to
      return a GdkPixmap before.
      332652f7
    • Benjamin Otte's avatar
      API: Remove gtk_widget_get_snapshot() · ca8a8358
      Benjamin Otte authored
      It will be replaced with gtk_widget_draw().
      ca8a8358
  14. 25 Sep, 2010 1 commit
  15. 21 Sep, 2010 1 commit
  16. 15 Sep, 2010 1 commit
  17. 22 Aug, 2010 1 commit
  18. 22 Jul, 2010 1 commit
  19. 13 Jul, 2010 3 commits
  20. 10 Jul, 2010 1 commit
  21. 04 Apr, 2010 12 commits
  22. 06 Mar, 2010 1 commit
  23. 03 Mar, 2010 1 commit