param_spec_fraction


Description:


public ParamSpec? param_spec_fraction (string name, string nick, string blurb, int min_num, int min_denom, int max_num, int max_denom, int default_num, int default_denom, ParamFlags flags)

This function creates a fraction GParamSpec for use by objects/elements that want to expose properties of fraction type.

This function is typically used in connection with install_property in a GObjects's instance_init function.

Parameters:

name

canonical name of the property specified

nick

nick name for the property specified

blurb

description of the property specified

min_num

minimum value (fraction numerator)

min_denom

minimum value (fraction denominator)

max_num

maximum value (fraction numerator)

max_denom

maximum value (fraction denominator)

default_num

default value (fraction numerator)

default_denom

default value (fraction denominator)

flags

flags for the property specified

Returns:

a newly created parameter specification


Namespace: Gst
Package: gstreamer-1.0