filter


Description:

[ Version ( since = "1.2" ) ]
public AttrList? filter (AttrFilterFunc func)

Given a `PangoAttrList` and callback function, removes any elements of this for which func returns true and inserts them into a new list.

Parameters:

this

a `PangoAttrList`

func

callback function; returns true if an attribute should be filtered out

data

Data to be passed to func

Returns:

the new `PangoAttrList` or null if no attributes of the given types were found