1. 26 Sep, 2010 1 commit
    • 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
  2. 21 Sep, 2010 1 commit
  3. 15 Sep, 2010 1 commit
  4. 22 Aug, 2010 1 commit
  5. 14 Jul, 2010 1 commit
  6. 13 Jul, 2010 2 commits
  7. 10 Jul, 2010 1 commit
  8. 12 May, 2010 1 commit
  9. 02 May, 2010 3 commits
  10. 04 Apr, 2010 8 commits
  11. 06 Mar, 2010 1 commit
  12. 03 Mar, 2010 2 commits
  13. 02 Mar, 2010 1 commit
  14. 01 Mar, 2010 2 commits
  15. 19 Dec, 2009 1 commit
  16. 16 Dec, 2009 1 commit
    • Colin Walters's avatar
      [introspection] Merge in Gtk-custom.c annotations · 6529c076
      Colin Walters authored
      The Gtk-custom.c file in gir-repository contained a number of
      introspection annotations.  Merge those into the GTK source files.
      
      Some documentation was moved from the tmpl/ files to accomodate
      the addition of annotations.
      6529c076
  17. 14 Dec, 2009 1 commit
  18. 29 Nov, 2009 1 commit
  19. 27 Nov, 2009 1 commit
  20. 28 Jul, 2009 1 commit
  21. 13 Jul, 2009 1 commit
    • Murray Cumming's avatar
      ToolShell: Add ellipsize, text-orientation, text-alignment and size-group. · dad6e734
      Murray Cumming authored
      	* gtk/gtktoolshell.c: Added vfuncs to get/set ellipsize, text-orientation,
      	text-alignment and size-group plus getter/setters to invoke these vfuncs.
      	* gtk/gtktoolitem.[h|c]: Added getters and setters to get/set these from the
      	parent GtkToolShell. This is in the style of the existing "properties".
      	* gtk/gtktoolbutton.c: Updated to use the extra properties.
      
      	* docs/reference/gtk/gtk-sections.txt
      	* gtk/gtk.symbols: Updated to mention the new functions.
      
      	These new "properties" are used by GtkToolPalette.
      dad6e734
  22. 22 Feb, 2009 1 commit
  23. 26 Jan, 2009 1 commit
  24. 23 Jan, 2009 1 commit
    • Matthias Clasen's avatar
      i Bug 560228 – Add "action-controller" property to GtkWidgetClass · bb72b647
      Matthias Clasen authored
              Rework the way actions and proxies interact, to make the
              interaction less ad hoc, more extensible, and better suited
              for support in GUI builders like glade.
      
              To be used as a proxy, a widget must now implement the
              GtkActivatable interface, and GtkActivatable implementations
              are responsible for syncing their appearance with the action
              and for activating the action.
      
              All the widgets that are commonly used as proxies implement
              GtkActivatable now.
      
              Patch by Tristan van Berkom.
      
              * gtk/gtkactivatable.[hc]: The GtkActivatable interface.
      
              * gtk/gtkbutton.c:
              * gtk/gtktogglebutton.c:
              * gtk/gtktoolitem.c:
              * gtk/gtktoolbutton.c:
              * gtk/gtktoggletoolbutton.c:
              * gtk/gtkmenuitem.c:
              * gtk/gtkcheckmenuitem.c:
              * gtk/gtkimagemenuitem.c:
              * gtk/gtkradiomenuitem.c:
              * gtk/gtkrecentchooserprivate.h:
              * gtk/gtkrecentchooser.c:
              * gtk/gtkrecentchooserdefault.c:
              * gtk/gtkrecentchoosermenu.c: Implement GtkActivatable.
              * gtk/gtkaction.[hc]: Move appearance synchronization to
              GtkActivatable implementations.
      
              * gtk/gtkradioaction.c:
              * gtk/gtkrecentaction.c:
              * gtk/gtktoggleaction.c:
              * gtk/gtkactiongroup.c: Adapt.
      
              * gtk/gtk.h: Include gtkactivatable.h
              * gtk/gtk.symbols: Add new functions
      
      
      svn path=/trunk/; revision=22195
      bb72b647
  25. 22 Nov, 2008 1 commit
  26. 27 Oct, 2008 1 commit
  27. 08 Aug, 2008 1 commit
    • Sven Neumann's avatar
      gtk/gtktext.c gtk/gtktextbuffer.c gtk/gtktextlayout.c · e3c01cf6
      Sven Neumann authored
      2008-08-08  Sven Neumann  <sven@gimp.org>
      
      	* gtk/gtktext.c
      	* gtk/gtktextbuffer.c
      	* gtk/gtktextlayout.c
      	* gtk/gtktexttagtable.c
      	* gtk/gtktextview.c
      	* gtk/gtktipsquery.c
      	* gtk/gtktoolbar.c
      	* gtk/gtktoolitem.c
      	* gtk/gtktreeitem.c
      	* gtk/gtktreemodelfilter.c
      	* gtk/gtktreemodelsort.c
      	* gtk/gtktreeviewcolumn.c: use canonical signal names.
      
      
      svn path=/trunk/; revision=21045
      e3c01cf6
  28. 07 Aug, 2008 1 commit