get_feature


Description:

[ Version ( since = "2.26" ) ]
public unowned SessionFeature? get_feature (Type feature_type)

Gets the first feature in this of type feature_type.

For features where there may be more than one feature of a given type, use get_features.

Parameters:

this

a Session

feature_type

the Type of the feature to get

Returns:

a SessionFeature, or null. The feature is owned by this.