ParamSpecFraction.this

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 g_object_class_install_property() in a GObjects's instance_init function.

  1. this(GstParamSpecFraction* gstParamSpecFraction, bool ownedRef)
  2. this(string name, string nick, string blurb, int minNum, int minDenom, int maxNum, int maxDenom, int defaultNum, int defaultDenom, GParamFlags flags)
    class ParamSpecFraction
    this
    (
    string name
    ,
    string nick
    ,
    string blurb
    ,
    int minNum
    ,,
    int maxNum
    ,,,,)

Parameters

name string

canonical name of the property specified

nick string

nick name for the property specified

blurb string

description of the property specified

minNum int

minimum value (fraction numerator)

minDenom int

minimum value (fraction denominator)

maxNum int

maximum value (fraction numerator)

maxDenom int

maximum value (fraction denominator)

defaultNum int

default value (fraction numerator)

defaultDenom int

default value (fraction denominator)

flags GParamFlags

flags for the property specified

Return Value

a newly created parameter specification. [transfer full]

Meta