Note that this function is only suitable for creating a size entry holding a single value. Use
prop_coordinates_new to create a size entry holding two values.
| config |
Object to which property is attached.
|
| property_name |
Name of int or double property.
|
| property_is_pixel |
When true, the property value is in pixels, and in the selected unit otherwise.
|
| unit_property_name |
Name of unit property.
|
| unit_format |
A printf-like unit-format string as is used with gimp_unit_menu_new.
|
| update_policy |
How the automatic pixel <-> real-world-unit calculations should be done.
|
| resolution |
The resolution (in dpi) for the field.
|