Bug 562998 – GtkFontButton documentation improvements

2008-12-03  Sven Herzberg  <sven@imendio.com>

	Bug 562998 – GtkFontButton documentation improvements

	* gtk/gtkfontbutton.c: mention the way the font string should be used.
	Patch by Sven Herzberg and Nelson Benitez


svn path=/trunk/; revision=21842
This commit is contained in:
Sven Herzberg 2008-12-03 13:15:39 +00:00 committed by Sven Herzberg
parent d18e98388c
commit b07127231e
2 changed files with 13 additions and 1 deletions

View File

@ -1,3 +1,10 @@
2008-12-03 Sven Herzberg <sven@imendio.com>
Bug 562998 GtkFontButton documentation improvements
* gtk/gtkfontbutton.c: mention the way the font string should be used.
Patch by Sven Herzberg and Nelson Benitez
2008-12-03 Marek Kasik <mkasik@redhat.com>
Bug 559914 eog doesn't apply paper setup.

View File

@ -628,7 +628,12 @@ gtk_font_button_set_show_size (GtkFontButton *font_button,
* gtk_font_button_get_font_name:
* @font_button: a #GtkFontButton
*
* Retrieves the name of the currently selected font.
* Retrieves the name of the currently selected font. This name includes
* style and size information as well. If you want to render something
* with the font, use this string with pango_font_description_from_string() .
* If you're interested in peeking certain values (family name,
* style, size, weight) just query these properties from the
* #PangoFontDescription object.
*
* Returns: an internal copy of the font name which must not be freed.
*