File: gimpunitmenu.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 (100 lines) | stat: -rw-r--r-- 1,626 bytes parent folder | download | duplicates (3)
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
<!-- ##### SECTION Title ##### -->
GimpUnitMenu

<!-- ##### SECTION Short_Description ##### -->
Widget for selecting a #GimpUnit.

<!-- ##### SECTION Long_Description ##### -->
<para>
This widget provides a #GtkOptionMenu which contains a list of #GimpUnit's.
</para>
<para>
You can specify the string that will be displayed for each unit by
passing a printf-like @format string to gimp_unit_menu_new().
</para>
<para>
The constructor also lets you choose if the menu should contain items
for GIMP_UNIT_PIXEL, GIMP_UNIT_PERCENT and a "More..." item which will
pop up a dialog for selecting user-defined units.
</para>
<para>
Whenever the user selects a unit from the menu or the dialog, the
"unit_changed" signal will be emitted.
</para>

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

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


<!-- ##### STRUCT GimpUnitMenu ##### -->
<para>

</para>


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

</para>

@gimpunitmenu: the object which received the signal.

<!-- ##### FUNCTION gimp_unit_menu_new ##### -->
<para>

</para>

@format: 
@unit: 
@show_pixels: 
@show_percent: 
@show_custom: 
@Returns: 


<!-- ##### FUNCTION gimp_unit_menu_set_unit ##### -->
<para>

</para>

@menu: 
@unit: 


<!-- ##### FUNCTION gimp_unit_menu_get_unit ##### -->
<para>

</para>

@menu: 
@Returns: 


<!-- ##### FUNCTION gimp_unit_menu_get_pixel_digits ##### -->
<para>

</para>

@menu: 
@Returns: 


<!-- ##### FUNCTION gimp_unit_menu_set_pixel_digits ##### -->
<para>

</para>

@menu: 
@digits: