Convenience function that creates a SizeEntry with two fields for x/y coordinates/sizes with a ChainButton attached to constrain either the two fields' values or the ratio between them.
| unit |
The initial unit of the |
| unit_format |
A printf-like unit-format string as is used with |
| menu_show_pixels |
true if the |
| menu_show_percent |
true if the |
| spinbutton_width |
The horizontal size of the SizeEntry's SpinButton's. |
| update_policy |
The update policy for the SizeEntry. |
| chainbutton_active |
true if the attached ChainButton should be active. |
| chain_constrains_ratio |
true if the chainbutton should constrain the fields' aspect ratio. If false, the values will be constrained. |
| xlabel |
The label for the X coordinate. |
| x |
The initial value of the X coordinate. |
| xres |
The horizontal resolution in DPI. |
| lower_boundary_x |
The lower boundary of the X coordinate. |
| upper_boundary_x |
The upper boundary of the X coordinate. |
| xsize_0 |
The X value which will be treated as 0%. |
| xsize_100 |
The X value which will be treated as 100%. |
| ylabel |
The label for the Y coordinate. |
| y |
The initial value of the Y coordinate. |
| yres |
The vertical resolution in DPI. |
| lower_boundary_y |
The lower boundary of the Y coordinate. |
| upper_boundary_y |
The upper boundary of the Y coordinate. |
| ysize_0 |
The Y value which will be treated as 0%. |
| ysize_100 |
The Y value which will be treated as 100%. |
|
The new SizeEntry. |