Method

GtkStyleContextsave

Declaration [src]

void
gtk_style_context_save (
  GtkStyleContext* context
)

Description [src]

Saves the context state, so temporary modifications done through gtk_style_context_add_class(), gtk_style_context_remove_class(), gtk_style_context_set_state(), etc. can quickly be reverted in one go through gtk_style_context_restore().

The matching call to gtk_style_context_restore() must be done before GTK returns to the main loop.

Available since:3.0