1. 11 Nov, 2015 1 commit
  2. 10 Nov, 2015 1 commit
  3. 02 Mar, 2015 1 commit
  4. 30 Sep, 2014 1 commit
  5. 13 May, 2014 1 commit
  6. 04 Jan, 2014 1 commit
  7. 23 Aug, 2013 1 commit
    • Matthias Clasen's avatar
      Add api to ellipsize labels to multiple lines · eab0ff8e
      Matthias Clasen authored
      When setting the lines property, the label will be ellipsized
      to that many lines, with the ellipsis only appearing in the
      last line. This is different from how ellipsization of multi-line
      labels normally works in GTK+.
      eab0ff8e
  8. 05 May, 2013 1 commit
  9. 28 Dec, 2012 1 commit
  10. 27 Feb, 2012 1 commit
  11. 05 Jul, 2011 1 commit
    • Matthias Clasen's avatar
      GtkLabel: factor out two getters · 889b2714
      Matthias Clasen authored
      Make the get_property switch look a little nicer.
      We export these functions privately for use in the label
      accessible implementation later on.
      889b2714
  12. 10 Jun, 2011 1 commit
  13. 19 Oct, 2010 1 commit
  14. 27 Aug, 2010 1 commit
  15. 13 Jul, 2010 1 commit
  16. 02 May, 2010 2 commits
  17. 18 Apr, 2010 1 commit
    • Tristan Van Berkom's avatar
      Fixed GtkLabel reported minimum and natural sizes · 64e23c42
      Tristan Van Berkom authored
      This commit makes GtkLabel use "max-width-chars" to determine the
      desired natural width for wrapping labels as well as all around refactoring
      the initially reported values in get_desired_width/height. this also
      addresses some issues with rotating ellipsizing text.
      64e23c42
  18. 04 Apr, 2010 1 commit
    • Matthias Clasen's avatar
      Only show the mnemonic underline when pressing Alt · d68d78de
      Matthias Clasen authored
      ...and show them in menus when navigating the menu with the keyboard.
      This is similar to what other platforms do, and reduces visual clutter.
      There is a setting to control this. Most of the work on this patch was
      done by Thomas Wood. See bug 588554.
      d68d78de
  19. 20 Dec, 2009 1 commit
    • Matthias Clasen's avatar
      Only show the mnemonic underline when pressing Alt · c59f76fd
      Matthias Clasen authored
      ...and show them in menus when navigating the menu with the keyboard.
      This is similar to what other platforms do, and reduces visual clutter.
      There is a setting to control this. Most of the work on this patch was
      done by Thomas Wood. See bug 588554.
      c59f76fd
  20. 14 Dec, 2009 1 commit
  21. 09 Jul, 2009 1 commit
  22. 11 May, 2009 2 commits
  23. 30 Oct, 2008 1 commit
  24. 01 Jul, 2008 1 commit
  25. 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
  26. 20 Jun, 2008 3 commits
    • Tim Janik's avatar
      Switch to "guint GSEAL (foo) : width;" when packing fields in guints. · cd19149a
      Tim Janik authored
      * gtk/gtkbox.h:
      * gtk/gtkbutton.h:
      * gtk/gtkcellrenderer.h:
      * gtk/gtkcellrenderertext.h:
      * gtk/gtkcheckmenuitem.h:
      * gtk/gtkcontainer.h:
      * gtk/gtkentry.h:
      * gtk/gtkhandlebox.h:
      * gtk/gtkimcontextsimple.h:
      * gtk/gtklabel.h:
      * gtk/gtkliststore.h:
      * gtk/gtkmenu.h:
      * gtk/gtkmenuitem.h:
      * gtk/gtkmenushell.h:
      * gtk/gtknotebook.h:
      * gtk/gtkpaned.h:
      * gtk/gtkplug.h:
      * gtk/gtkprintjob.h:
      * gtk/gtkprogressbar.h:
      * gtk/gtkrange.h:
      * gtk/gtkscale.h:
      * gtk/gtkscrolledwindow.h:
      * gtk/gtksizegroup.h:
      * gtk/gtksocket.h:
      * gtk/gtkspinbutton.h:
      * gtk/gtkstatusbar.h:
      * gtk/gtktable.h:
      * gtk/gtktearoffmenuitem.h:
      * gtk/gtktextbuffer.h:
      * gtk/gtktextview.h:
      * gtk/gtktogglebutton.h:
      * gtk/gtktoolbar.h:
      * gtk/gtktreestore.h:
      * gtk/gtktreeviewcolumn.h:
      * gtk/gtkwindow.h: Do not specify width inside GSEAL() when packing fields in guints.
      
      svn path=/trunk/; revision=20621
      cd19149a
    • Tim Janik's avatar
      gtklabel.h: include bit-size of fields inside GSEAL parens. · 8697184d
      Tim Janik authored
      svn path=/trunk/; revision=20547
      8697184d
    • Tim Janik's avatar
      Seal GtkLabel · 9dcddb61
      Tim Janik authored
      svn path=/trunk/; revision=20541
      9dcddb61
  27. 28 May, 2008 2 commits
    • Michael Natterer's avatar
      whitespace cleanup: remove trailing whitespace and excess newlines and · 2c5f8a5c
      Michael Natterer authored
      2008-05-28  Michael Natterer  <mitch@imendio.com>
      
      	* gtk/gtk*.h: whitespace cleanup: remove trailing whitespace and
      	excess newlines and sprinkled some newlines where needed. Zero
      	code or formatting changes included.
      
      
      svn path=/trunk/; revision=20225
      2c5f8a5c
    • Michael Natterer's avatar
      define __GTK_H_INSIDE__ around including all other headers. · eff99c28
      Michael Natterer authored
      2008-05-28  Michael Natterer  <mitch@imendio.com>
      
      	* gtk/gtk.h: define __GTK_H_INSIDE__ around including all other
      	headers.
      
      	* gtk/gtktypebuiltins.h.template
      	* gtk/gtkversion.h.in
      	* gtk/gtk*.h: add single-include guards that #error out if
      	GTK_DISABLE_SINGLE_INCLUDES is defined and any of these files is
      	included individually.
      
      	* gtk/gtkprintbackend.h
      	* gtk/gtkprinter-private.h
      	* gtk/gtktextlayout.h
      	* gtk/gtktexttagprivate.h
      	* gtk/gtktexttypes.h
      	* gtk/gtktreedatalist.h: include <gtk/gtk.h> instead of individual
      	headers in these private or semi-private headers.
      
      	* gtk/gtkimmodule.h: also here because it's not in gtk.h.
      
      	* gtk/gtkpagesetupunixdialog.h
      	* gtk/gtkprinter.h
      	* gtk/gtkprintjob.h
      	* gtk/gtkprintunixdialog.h: likewise in the gtkunixprint headers.
      
      	* gtk/gtkclist.h
      	* gtk/gtkcombo.h
      	* gtk/gtkctree.h
      	* gtk/gtkfilesel.h
      	* gtk/gtkitemfactory.h
      	* gtk/gtklist.h
      	* gtk/gtklistitem.h
      	* gtk/gtkoldeditable.h
      	* gtk/gtkoptionmenu.h
      	* gtk/gtkpixmap.h
      	* gtk/gtkpreview.h
      	* gtk/gtksignal.h
      	* gtk/gtktipsquery.h: whenever possible, include only <gtk/gtk.h>
      	instead of individual headers in these deprecated headers. They
      	don't get included at all when GTK_DISABLE_DEPRECATED is defined,
      	so if an app needs them anyway, it must undef GTK_DISABLE_DEPRECATED
      	and include them individually, which should continue to work.
      
      	* gtk/gtkclist.c: include "gtkctree.h" because of the change
      	above.
      
      
      svn path=/trunk/; revision=20221
      eff99c28
  28. 09 Jul, 2007 1 commit
    • Matthias Clasen's avatar
      Use a bit of the GtkLabel structure to remember that a pattern has been · 4a5da8d0
      Matthias Clasen authored
      2007-07-09  Matthias Clasen  <mclasen@redhat.com>
      
              * gtklabel.[ch]: Use a bit of the GtkLabel structure to
              remember that a pattern has been set.
              (gtk_label_set_pattern_internal): Don't do anything if
              a specific pattern has been set.
              (gtk_label_set_pattern): set the new bit to TRUE when
              setting a pattern, and recalculate everything if the
              pattern is unset. Fix gtk_label_set_pattern() not working
              anymore.  (#452861, Vincent Untz)
      
      
      
      svn path=/trunk/; revision=18426
      4a5da8d0
  29. 19 Jun, 2006 1 commit
  30. 08 Jan, 2006 1 commit
  31. 21 Jun, 2005 1 commit
  32. 20 Mar, 2005 1 commit
    • Matthias Clasen's avatar
      Make PLT-reduction work with gcc4, and don't include everything in · cca8dd63
      Matthias Clasen authored
      2005-03-20  Matthias Clasen  <mclasen@redhat.com>
      
      	Make PLT-reduction work with gcc4, and don't include
      	everything in gdkalias.h:
      
      	* gtk/grk.symbols: Group symbols by header and source file.
      	* gtk/makegtkalias.pl: Protect definitions by the same
      	preprocessor symbols used to guard the headers. Move
      	the alias declarations to a separate file which is
      	produced when calling makegtkalias.pl -def
      	* gdk/Makefile.am (gtkaliasdef.c): Add a rule to generate
      	this file.
      	* gtk/*.c: Include gtkalias.h after the other headers,
      	include gtkaliasdef.c at the bottom.
      	* gtk/*.h: Small cleanups.
      cca8dd63
  33. 13 Dec, 2004 1 commit
    • Matthias Clasen's avatar
      Add a max-width-chars property, which can be used to specify the width of · 50cbd51d
      Matthias Clasen authored
      2004-12-13  Matthias Clasen  <mclasen@redhat.com>
      
      	* gtk/gtklabel.[hc]: Add a max-width-chars property, which can
      	be used to specify the width of the label in characters, while
      	still allowing it to fall short of this length if the text
      	is shorter.  (#155944, Christian Persch)
      
      	* gtk/gtk.symbols: Add new symbols.
      50cbd51d
  34. 21 Nov, 2004 1 commit
    • Owen Taylor's avatar
      Add GdkPangoRenderer, a subclass of PangoRenderer targeting GDK drawables. · 3d737ee8
      Owen Taylor authored
      Sat Nov 20 15:13:51 2004  Owen Taylor  <otaylor@redhat.com>
      
      	* gdk/gdkpango.[ch]: Add GdkPangoRenderer, a subclass of
      	PangoRenderer targeting GDK drawables. Use to implement the old
      	gdk_draw_layout() and friends.
      
      	* gdk/gdkdraw.c gdk/gdkdrawable.h gdk/gdkwindow.c gdk/gdkpixmap.c:
      	Add gdk_draw_glyphs_transformed() gdk_draw_trapezoids() and
      	the corresponding members of GdkDrawableClass. Add a fallback
      	implementation of gdk_draw_trapezoids() in terms of pixbufs.
      
      	* gdk/gdkwindowing.h gdk/x11/gdkg-x11.h: Add
      	_gdk_windowing_gc_get_foreground() to enable the fallback
      	trapezoid implementation.
      
      	* gdk/x11/gdkdrawable-x11.c gdk/x11/gdkdisplay-x11.h: Implement
      	draw_glyph_transformed,	draw_trapezoids.
      
      	* gdk/x11/gdkdrawable-x11.[ch]: Add
      	_gdk_x11_drawable_draw_xtrapezoids, _gdk_x11_drawable_draw_xft_glyphs
      	for use of GdkX11Renderer.
      
      	* gdk/x11/gdkgc-x11.c gdk/x11/gdkprivate-x11.h: Implement
      	GDK_TILED, GDK_STIPPLED, GDK_OPAQUE_STIPPLED in the RENDER codepath.
      
      	* gdk/gdkpango-x11.c: Add GdkX11Renderer... a subclass of
      	PangoXftRenderer that does tiles/stipples and fallback rendering
      	of trapezoids without the RENDER extension.
      
      	* gdk/gdkpango-x11.c gdk/x11/gdkscreen-x11.[ch] _gdk_x11_renderer_get:
      	Add _gdk_x11_renderer_get() to get a singleton GdkX11Renderer
      	for the screen.
      
      	* gdk/x11/gdkdrawable-x11.c (get_impl_drawable): Fix a None/NULL
      	confusion.
      
      	* gtk/gtklabel.[ch] gtk/gtk.symbols: Add gtk_label_set/get_angle(),
      	and an ::angle property.
      
      	* gtk/gtklabel.c: Remove #if 0'd dead code gtk_label_paint_word().
      
      	* gtk/gtktextdisplay.c: Switch to using a GtkTextRenderer subclass
      	of GdkPangoRenderer for drawing.
      
      	* gtk/gtktextlayout.[ch] gtk/gtktextdisplay.c: Switch to using
      	gtk_attr_shape_new_with_data() to store backreferences to
      	embedded pixmaps and widgets. Leave line_display->shaped_objects
      	around for backwords compatibility.
      
      	* gdk/gdkpango.[ch] (gdk_pango_context_set_colormap): Describe
      	as deprecated, remove implementation.
      
      	* gtk/gtkwidget.c (gtk_widget_create_pango_context): Remove
      	call to gdk_pango_context_set_colormap.
      
      	* demos/gtk-demo/Makefile.am demos/gtk-demo/rotated_text.c: Add
      	a demo showing drawing rotated text.
      
      	* tests/testgtk.c: Add a rotated-label test, and also a rotated
      	drawing test (differs from demos/gtk-demo/rotated_text by also
      	using a tile)
      3d737ee8
  35. 09 Nov, 2004 1 commit
    • Matthias Clasen's avatar
      Avoid resizing GtkStatusbar if the text of the label changes (#90955, He · b87307b9
      Matthias Clasen authored
      2004-11-09  Matthias Clasen  <mclasen@redhat.com>
      
      	Avoid resizing GtkStatusbar if the text of the label
      	changes  (#90955, He Qiangqiang, fix proposed by
      	Owen Taylor, patch by Christian Persch)
      
      	* gtk/gtklabel.[hc]: Add a boolean single-line-mode property
      	which causes the label height not to depend on the actual
      	text, but only on the font.
      
      	* gtk/gtkstatusbar.c (gtk_statusbar_init): Turn on
      	single-line-mode for the label.
      b87307b9