Sets the widget name for the widget found at position @pos in the widget hierarchy defined by @path.
If you want to update just a single state flag, you need to do this manually, as this function updates all state flags.
|[<!-- language="C" --> gtk_widget_path_iter_set_state (path, pos, gtk_widget_path_iter_get_state (path, pos) | flag); ]|
|[<!-- language="C" --> gtk_widget_path_iter_set_state (path, pos, gtk_widget_path_iter_get_state (path, pos) & ~flag); ]|
position to modify, -1 for the path head
state flags
3.14
See Implementation
Sets the widget name for the widget found at position @pos in the widget hierarchy defined by @path.
If you want to update just a single state flag, you need to do this manually, as this function updates all state flags.
Setting a flag
|[<!-- language="C" --> gtk_widget_path_iter_set_state (path, pos, gtk_widget_path_iter_get_state (path, pos) | flag); ]|
Unsetting a flag
|[<!-- language="C" --> gtk_widget_path_iter_set_state (path, pos, gtk_widget_path_iter_get_state (path, pos) & ~flag); ]|