1. 27 Feb, 2012 1 commit
  2. 22 Jan, 2012 1 commit
    • Paolo Borelli's avatar
      Factor out _gtk_misc_get_padding_and_border · e34589dd
      Paolo Borelli authored
      The new semi-private function will allow to implement support for css
      padding and border in widgets inheriting from GtkMisc.
      Use the new function for GtkLabel, GtkArrow and GtkImage.
      e34589dd
  3. 19 Dec, 2011 1 commit
  4. 05 Jul, 2011 1 commit
  5. 09 May, 2011 2 commits
  6. 08 May, 2011 1 commit
  7. 06 May, 2011 1 commit
    • Benjamin Otte's avatar
      Revert "arrow: Make minimum size 5px" · f6e11feb
      Benjamin Otte authored
      This reverts commit 1c46e04f.
      
      The change broke too many widgets that relied on the size being
      constant. A proper fix would require letting themes override the size.
      That would probably also require letting themes specify the size
      relative to font size.
      f6e11feb
  8. 28 Apr, 2011 1 commit
  9. 03 Mar, 2011 1 commit
  10. 04 Jan, 2011 1 commit
  11. 24 Dec, 2010 1 commit
  12. 27 Sep, 2010 1 commit
  13. 26 Sep, 2010 3 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
      API: Rename gtk_cairo_paint_*() to gtk_paint_*() · 1d3f6b30
      Benjamin Otte authored
      Large patch, but just renaming.
      Indentation should still mostly be correct because I took care of
      keeping the indentation for this function name.
      1d3f6b30
    • Benjamin Otte's avatar
      arrow: Port to draw vfunc · 1d5796c9
      Benjamin Otte authored
      1d5796c9
  14. 08 Sep, 2010 2 commits
    • Javier Jardón's avatar
    • Tristan Van Berkom's avatar
      Completely removed requisition cache from GtkWidget instance structure. · 99340074
      Tristan Van Berkom authored
      Since we have a new mechanism for requesting sizes: GtkSizeRequestIface;
      it makes no sense to maintain this cache on the GtkWidget structure...
      removing the requisition cache however does not break the old "size-request"
      signal which is there for backwards compatability reasons.
      
      In any case widget->requisition should not have been accessed,
      gtk_widget_get_child_requisition() would have been the correct way
      to consult the cache.
      
      This commit also deprecates the newly added gtk_widget_get_requisition()
      API and makes it fallback on gtk_size_request_get_size().
      99340074
  15. 27 Aug, 2010 1 commit
  16. 13 Jul, 2010 2 commits
  17. 10 Jul, 2010 1 commit
  18. 18 Apr, 2010 1 commit
  19. 04 Apr, 2010 2 commits
  20. 06 Mar, 2010 1 commit
  21. 01 Mar, 2010 1 commit
  22. 03 Sep, 2008 1 commit
  23. 01 Jul, 2008 1 commit
  24. 30 Jun, 2008 1 commit
    • Cody Russell's avatar
      Practically everything changed. · fce9c8b7
      Cody Russell authored
      2008-06-30  Cody Russell  <bratsche@gnome.org>
      
              * Practically everything changed.
      
              Change	all references	of GIMP	Toolkit	(and variations	of it)
              to GTK+	Toolkit, showing no mercy at all to our	beloved
      	ancestry. (#540529)
      
      
      svn path=/trunk/; revision=20709
      fce9c8b7
  25. 22 Jun, 2008 1 commit
    • Johan Dahlin's avatar
      Include "config.h" instead of <config.h> Command used: find -name · d97cdbdf
      Johan Dahlin authored
      2008-06-21  Johan Dahlin  <jdahlin@async.com.br>
      
          * *.[ch]: Include "config.h" instead of <config.h>
          Command used:
          find -name \*.[ch]|xargs perl -p -i -e 's/^#include <config.h>/#include "config.h"/g'
          Rubberstamped by Mitch and Tim
      
      
      svn path=/trunk/; revision=20669
      d97cdbdf
  26. 21 May, 2008 1 commit
  27. 28 Dec, 2006 1 commit
  28. 19 Sep, 2006 1 commit
    • Tim Janik's avatar
      added GtkArrow::arrow-scaling style property to control the arrow/border · fb12bbce
      Tim Janik authored
      Tue Sep 19 17:00:04 2006  Tim Janik  <timj@imendio.com>
      
              * gtk/gtkarrow.c: added GtkArrow::arrow-scaling style property to
              control the arrow/border ratio within the allocation.
      
              * tests/testgtk.c: added a GtkArrow to handle box test.
      
              * tests/testgtkrc: test ::arrow-scaling property.
      fb12bbce
  29. 14 May, 2006 1 commit
  30. 02 May, 2006 1 commit
  31. 01 Sep, 2005 1 commit
    • Matthias Clasen's avatar
      Intern some more strings. · 94eec042
      Matthias Clasen authored
      2005-09-01  Matthias Clasen  <mclasen@redhat.com>
      
              * gdk/*.c: Intern some more strings.
              * gtk/gtkintl.h:
              * gtk/*.c: Define an I_() macro and use it instead of the
              bulky g_intern_static_string().
      94eec042
  32. 31 Aug, 2005 1 commit
    • Matthias Clasen's avatar
      Intern type names in code generated by glib-mkenums, too. · c09cc893
      Matthias Clasen authored
      2005-08-31  Matthias Clasen  <mclasen@redhat.com>
      
      	* gdk/Makefile.am:
      	* gtk/Makefile.am: Intern type names in code generated by
      	glib-mkenums, too.
      
      	* gtk/*.c:
      	* gdk/x11/*.c:
      	* gdk/*.c: Intern type names before registering the type to avoid
      	unnecessary copies.
      c09cc893
  33. 21 Jun, 2005 1 commit
  34. 26 Mar, 2005 1 commit