GNOME Bugzilla – Bug 566945
gtk_widget_override_color() documentation should mention non-recursiveness
Last modified: 2014-01-28 15:39:51 UTC
Many people seem to expect gtk_widget_modify_text() to have an effect on widgets such as GtkComboBox or GtkButton, but they actually have to get the child widget and call gtk_widget_modify_text() on that. If this function can't be made to act on child widgets too then that should at least be documented. Note that I don't use this function or the style stuff much, so I guess I could be misunderstanding their use.
The documentation: http://library.gnome.org/devel/gtk/unstable/GtkWidget.html#gtk-widget-modify-text
Updated the description for the slightly-renamed API in GTK+ 3: http://developer.gnome.org/gtk3/unstable/GtkWidget.html#gtk-widget-override-color The documentation still seems to need this improvement.
Created attachment 256623 [details] [review] patch: Improve doc of gtk_widget_override_color() Proposed addition to the documentation of gtk_widget_override_color().
I pushed this to GTK+ master because it's seems simple and harmless and they are usually OK with me making such docs changes.
'they' are, indeed :-) Thanks, Murray !