Layout.contextChanged

void contextChanged()

Forces recomputation of any state in the [pango.layout.Layout] that might depend on the layout's context.

This function should be called if you make changes to the context subsequent to creating the layout.