Method

GtkIconSourceset_state

deprecated: 3.10 

Declaration [src]

void
gtk_icon_source_set_state (
  GtkIconSource* source,
  GtkStateType state
)

Description [src]

Sets the widget state this icon source is intended to be used with.

Setting the widget state on an icon source makes no difference if the state is wildcarded. Therefore, you should usually call gtk_icon_source_set_state_wildcarded() to un-wildcard it in addition to calling this function.

Deprecated since: 3.10

Use GtkIconTheme instead.

Parameters

state

Type: GtkStateType

Widget state this source applies to.