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.
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 |
a newly created parameter specification |