Method
GtkWidgetmodify_text
Declaration [src]
void
gtk_widget_modify_text (
GtkWidget* widget,
GtkStateType state,
const GdkColor* color
)
Description [src]
Sets the text color for a widget in a particular state.
All other style values are left untouched.
The text color is the foreground color used along with the
base color (see gtk_widget_modify_base()) for widgets such
as GtkEntry
and GtkTextView
.
See also gtk_widget_modify_style().
Deprecated since: | 3.0 |
Use |
Parameters
state |
GtkStateType |
The state for which to set the text color. |
|
color |
GdkColor |
The color to assign (does not need to
be allocated), or |
|
The argument can be NULL . | |
The data is owned by the caller of the function. |