PgAttributeList.filter

Given a PangoAttrList and callback function, removes any elements of list for which func returns TRUE and inserts them into a new list. Since 1.2

class PgAttributeList
filter

Parameters

func PangoAttrFilterFunc

callback function; returns TRUE if an attribute should be filtered out. [scope call][closure data]

data void*

Data to be passed to func. closure

Return Value

the new PangoAttrList or NULL if no attributes of the given types were found. [transfer full]

Meta