Creates a SizeEntry to set and display two double or int properties, which will usually represent X and Y coordinates, and their associated unit property.
If unit_format is null, the unit will default to inch. Otherwise it must be the name of a
property of type gimpparamunit:
| config |
Object to which property is attached. |
| x_property_name |
Name of int or double property for X coordinate. |
| y_property_name |
Name of int or double property for Y coordinate. |
| unit_property_name |
Name of unit property. |
| unit_format |
A printf-like unit-format string as is used with |
| update_policy |
How the automatic pixel <-> real-world-unit calculations should be done. |
| xresolution |
The resolution (in dpi) for the X coordinate. |
| yresolution |
The resolution (in dpi) for the Y coordinate. |
| has_chainbutton |
Whether to add a chainbutton to the size entry. |
|
A new SizeEntry widget. |