diff options
author | Matthias Clasen <mclasen@redhat.com> | 2006-05-31 04:06:12 +0000 |
---|---|---|
committer | Matthias Clasen <matthiasc@src.gnome.org> | 2006-05-31 04:06:12 +0000 |
commit | 8443b9c787ed2a087850b403db1d4cd3959897b2 (patch) | |
tree | 8a6c4a09470f6ec25beb250c30dcb1678cbcdf70 /gtk/gtkfontbutton.c | |
parent | 93b7abaf48b5c0b355adc1647ca039b6f4b02bac (diff) | |
download | gtk+-8443b9c787ed2a087850b403db1d4cd3959897b2.tar.gz |
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)
Diffstat (limited to 'gtk/gtkfontbutton.c')
-rw-r--r-- | gtk/gtkfontbutton.c | 10 |
1 files changed, 7 insertions, 3 deletions
diff --git a/gtk/gtkfontbutton.c b/gtk/gtkfontbutton.c index 2f1814434f..f6b6de3c77 100644 --- a/gtk/gtkfontbutton.c +++ b/gtk/gtkfontbutton.c @@ -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 */ |