File: gimpsizeentry.sgml

package info (click to toggle)
gimp 2.2.13-1etch4
  • links: PTS
  • area: main
  • in suites: etch
  • size: 94,832 kB
  • ctags: 47,113
  • sloc: ansic: 524,858; xml: 36,798; lisp: 9,870; sh: 9,409; makefile: 7,923; python: 2,674; perl: 2,589; yacc: 520; lex: 334
file content (267 lines) | stat: -rw-r--r-- 3,977 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
<!-- ##### SECTION Title ##### -->
GimpSizeEntry

<!-- ##### SECTION Short_Description ##### -->
Widget for entering pixel values and resolutions.

<!-- ##### SECTION Long_Description ##### -->
<para>
This widget is used to enter pixel distances/sizes and resolutions.
</para>
<para>
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 it's "value".
</para>
<para>
There is a #GimpUnitMenu right of the entry fields which lets you
specify the #GimpUnit of the displayed values.
</para>
<para>
For each field, there can be one or two #GtkSpinButton's to enter
"value" and "reference value". If you specify @show_refval as #FALSE
in gimp_size_entry_new() there will be only one #GtkSpinButton and the
#GimpUnitMenu will contain an item for selecting GIMP_UNIT_PIXEL.
</para>
<para>
The "reference value" is either of GIMP_UNIT_PIXEL or dpi, depending
on which #GimpSizeEntryUpdatePolicy you specify in gimp_size_entry_new().
The "value" is either the size in pixels mapped to the size in a
real-world-unit (see #GimpUnit) or the dpi value mapped to pixels per
real-world-unit.
</para>

<!-- ##### SECTION See_Also ##### -->
<para>
#GimpUnit
</para>
<para>
#GimpUnitMenu
</para>
<para>
gimp_coordinates_new()
</para>

<!-- ##### SECTION Stability_Level ##### -->


<!-- ##### STRUCT GimpSizeEntry ##### -->
<para>

</para>


<!-- ##### SIGNAL GimpSizeEntry::refval-changed ##### -->
<para>

</para>

@gimpsizeentry: the object which received the signal.

<!-- ##### SIGNAL GimpSizeEntry::unit-changed ##### -->
<para>

</para>

@gimpsizeentry: the object which received the signal.

<!-- ##### SIGNAL GimpSizeEntry::value-changed ##### -->
<para>

</para>

@gimpsizeentry: the object which received the signal.

<!-- ##### STRUCT GimpSizeEntryField ##### -->
<para>

</para>


<!-- ##### ENUM GimpSizeEntryUpdatePolicy ##### -->
<para>

</para>

@GIMP_SIZE_ENTRY_UPDATE_NONE: 
@GIMP_SIZE_ENTRY_UPDATE_SIZE: 
@GIMP_SIZE_ENTRY_UPDATE_RESOLUTION: 

<!-- ##### FUNCTION gimp_size_entry_new ##### -->
<para>

</para>

@number_of_fields: 
@unit: 
@unit_format: 
@menu_show_pixels: 
@menu_show_percent: 
@show_refval: 
@spinbutton_width: 
@update_policy: 
@Returns: 


<!-- ##### FUNCTION gimp_size_entry_add_field ##### -->
<para>

</para>

@gse: 
@value_spinbutton: 
@refval_spinbutton: 


<!-- ##### FUNCTION gimp_size_entry_attach_label ##### -->
<para>

</para>

@gse: 
@text: 
@row: 
@column: 
@alignment: 
@Returns: 


<!-- ##### FUNCTION gimp_size_entry_set_resolution ##### -->
<para>

</para>

@gse: 
@field: 
@resolution: 
@keep_size: 


<!-- ##### FUNCTION gimp_size_entry_set_size ##### -->
<para>

</para>

@gse: 
@field: 
@lower: 
@upper: 


<!-- ##### FUNCTION gimp_size_entry_set_value_boundaries ##### -->
<para>

</para>

@gse: 
@field: 
@lower: 
@upper: 


<!-- ##### FUNCTION gimp_size_entry_get_value ##### -->
<para>

</para>

@gse: 
@field: 
@Returns: 


<!-- ##### FUNCTION gimp_size_entry_set_value ##### -->
<para>

</para>

@gse: 
@field: 
@value: 


<!-- ##### FUNCTION gimp_size_entry_set_refval_boundaries ##### -->
<para>

</para>

@gse: 
@field: 
@lower: 
@upper: 


<!-- ##### FUNCTION gimp_size_entry_set_refval_digits ##### -->
<para>

</para>

@gse: 
@field: 
@digits: 


<!-- ##### FUNCTION gimp_size_entry_get_refval ##### -->
<para>

</para>

@gse: 
@field: 
@Returns: 


<!-- ##### FUNCTION gimp_size_entry_set_refval ##### -->
<para>

</para>

@gse: 
@field: 
@refval: 


<!-- ##### FUNCTION gimp_size_entry_get_unit ##### -->
<para>

</para>

@gse: 
@Returns: 


<!-- ##### FUNCTION gimp_size_entry_set_unit ##### -->
<para>

</para>

@gse: 
@unit: 


<!-- ##### FUNCTION gimp_size_entry_set_pixel_digits ##### -->
<para>

</para>

@gse: 
@digits: 


<!-- ##### FUNCTION gimp_size_entry_grab_focus ##### -->
<para>

</para>

@gse: 


<!-- ##### FUNCTION gimp_size_entry_get_help_widget ##### -->
<para>

</para>

@gse: 
@field: 
@Returns: