StyleContext.save

Saves the context state, so temporary modifications done through gtk.style_context.StyleContext.addClass, gtk.style_context.StyleContext.removeClass, gtk.style_context.StyleContext.setState, etc. can quickly be reverted in one go through gtk.style_context.StyleContext.restore.

The matching call to gtk.style_context.StyleContext.restore must be done before GTK returns to the main loop.

class StyleContext
void
save
()