get_unit


Description:

[ CCode ( cname = "gimp_ruler_get_unit" ) ]
[ Version ( since = "2.8" ) ]
public unowned Unit get_unit ()

Parameters:

this

a Ruler

Returns:

the unit currently used in the this widget.