Package: pango
Function pango-context-serial
Lambda Listpango-context-serial (context) ArgumentsReturn ValueAn unsigned integer with the current serial number of context. Details Returns the current serial number of context.
The serial number is initialized to a small number larger than zero when a
new context is created and is increased whenever the context is changed using any of the setter functions, or the pango-font-map object it uses to
find fonts has changed. The serial may wrap, but will never have the value 0.
Since it can wrap, never compare it with "less than", always use "not
equals". This can be used to automatically detect changes to a pango-context object, and is only useful when implementing objects that need update when their Pango context changes, like their Pango layout. | See also |
2021-1-3