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.

class PgAttributeList
filter

Parameters

func PangoAttrFilterFunc

callback function; returns %TRUE if an attribute should be filtered out.

data void*

Data to be passed to @func

Return Value

the new #PangoAttrList or %NULL if no attributes of the given types were found.

Meta