Commit 8443b9c7 authored by Matthias Clasen's avatar Matthias Clasen Committed by Matthias Clasen

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)
parent 93b7abaf
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
......
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
......
......@@ -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
......
......@@ -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
*/
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment