set_unit


Description:

[ CCode ( cname = "gimp_ruler_set_unit" ) ]
[ Version ( since = "2.8" ) ]
public void set_unit (Unit unit)

This sets the unit of the ruler.

Parameters:

this

a Ruler

unit

the Unit to set the ruler to