SizeEntry


Object Hierarchy:

Object hierarchy for SizeEntry

Description:

[ CCode ( type_id = "gimp_size_entry_get_type ()" ) ]
public class SizeEntry : Grid, Implementor, Buildable, Orientable

This widget is used to enter pixel distances/sizes and resolutions.

You can specify the number of fields the widget should provide. For each field automatic mappings are performed between the field's "reference value" and its "value".

There is a UnitComboBox right of the entry fields which lets you specify the Unit of the displayed values.

For each field, there can be one or two SpinButton's to enter "value" and "reference value". If you specify show_refval as false in SizeEntry there will be only one SpinButton and the UnitComboBox will contain an item for selecting GIMP_UNIT_PIXEL.

The "reference value" is either of GIMP_UNIT_PIXEL or dpi, depending on which SizeEntryUpdatePolicy you specify in SizeEntry. The "value" is either the size in pixels mapped to the size in a real-world-unit (see Unit) or the dpi value mapped to pixels per real-world-unit.


Namespace: GimpUi
Package: gimp-ui-3.0

Content:

Creation methods:

Methods:

Signals:

Inherited Members:

All known members inherited from class Gtk.Widget
All known members inherited from interface Atk.Implementor
All known members inherited from interface Gtk.Orientable