Clarify the docs of the color-set and font-set signals. (#343438, Olexiy

2006-05-31  Matthias Clasen  <mclasen@redhat.com>

	* gtk/gtkfontbutton.c:
	* gtk/gtkcolorbutton.c: Clarify the docs of the color-set and
	font-set signals.  (#343438, Olexiy Avramchenko)
This commit is contained in:
Matthias Clasen 2006-05-31 04:06:12 +00:00 committed by Matthias Clasen
parent 93b7abaf48
commit 8443b9c787
4 changed files with 27 additions and 7 deletions

View File

@ -1,3 +1,9 @@
2006-05-31 Matthias Clasen <mclasen@redhat.com>
* gtk/gtkfontbutton.c:
* gtk/gtkcolorbutton.c: Clarify the docs of the color-set and
font-set signals. (#343438, Olexiy Avramchenko)
2006-05-30 Matthias Clasen <mclasen@redhat.com>
* gtk/gtkmain.c (gtk_grab_notify_foreach): Don't skip internal

View File

@ -1,3 +1,9 @@
2006-05-31 Matthias Clasen <mclasen@redhat.com>
* gtk/gtkfontbutton.c:
* gtk/gtkcolorbutton.c: Clarify the docs of the color-set and
font-set signals. (#343438, Olexiy Avramchenko)
2006-05-30 Matthias Clasen <mclasen@redhat.com>
* gtk/gtkmain.c (gtk_grab_notify_foreach): Don't skip internal

View File

@ -223,9 +223,13 @@ gtk_color_button_class_init (GtkColorButtonClass *klass)
* GtkColorButton::color-set:
* @widget: the object which received the signal.
*
* The ::color-set signal is emitted when the user selects a color. When handling this signal,
* use gtk_color_button_get_color() and gtk_color_button_get_alpha() to find out which color
* was just selected.
* The ::color-set signal is emitted when the user selects a color.
* When handling this signal, use gtk_color_button_get_color() and
* gtk_color_button_get_alpha() to find out which color was just selected.
*
* Note that this signal is only emitted when the <emphasis>user</emphasis>
* changes the color. If you need to react to programmatic color changes
* as well, use the notify::color signal.
*
* Since: 2.4
*/
@ -237,7 +241,7 @@ gtk_color_button_class_init (GtkColorButtonClass *klass)
_gtk_marshal_VOID__VOID,
G_TYPE_NONE, 0);
g_type_class_add_private (gobject_class, sizeof (GtkColorButtonPrivate));
g_type_class_add_private (gobject_class, sizeof (GtkColorButtonPrivat;
}
static void

View File

@ -231,9 +231,13 @@ gtk_font_button_class_init (GtkFontButtonClass *klass)
* GtkFontButton::font-set:
* @widget: the object which received the signal.
*
* The ::font-set signal is emitted when the user selects a font. When
* handling this signal, use gtk_font_button_get_font_name() to find out
* which font was just selected.
* The ::font-set signal is emitted when the user selects a font.
* When handling this signal, use gtk_font_button_get_font_name()
* to find out which font was just selected.
*
* Note that this signal is only emitted when the <emphasis>user</emphasis>
* changes the font. If you need to react to programmatic font changes
* as well, use the notify::font-name signal.
*
* Since: 2.4
*/