File: ch04s18s11.html

package info (click to toggle)
gimp-help 2%2B0.7-5
  • links: PTS
  • area: main
  • in suites: sarge
  • size: 30,852 kB
  • ctags: 4
  • sloc: xml: 104,248; sh: 544; makefile: 262; perl: 42
file content (241 lines) | stat: -rw-r--r-- 8,587 bytes parent folder | download
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
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
  <head>
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
    <title>18.11. Image Window Title and Statusbar</title>
    <link rel="stylesheet" href="gimp-help-plain.css" type="text/css" />
    <link rel="stylesheet" href="gimp-help-screen.css" type="text/css" />
    <meta name="generator" content="DocBook XSL Stylesheets V1.66.1" />
    <link rel="start" href="index.html" title="&#10;      &#10;    " />
    <link rel="up" href="ch04s18.html" title="18. Preferences" />
    <link rel="prev" href="ch04s18s10.html" title="18.10. Image Window Appearance" />
    <link rel="next" href="ch04s18s12.html" title="18.12. Display" />
  </head>
  <body>
    <div xmlns="" class="navheader">
      <table width="100%" summary="Navigation header">
        <tr>
          <th colspan="3" align="center" id="chaptername">18.11. Image Window Title and Statusbar</th>
        </tr>
        <tr>
          <td width="20%" align="left"><a accesskey="p" href="ch04s18s10.html">Prev</a> </td>
          <th width="60%" align="center" id="sectionname">18.11. Image Window Title and Statusbar</th>
          <td width="20%" align="right"> <a accesskey="n" href="ch04s18s12.html">Next</a></td>
        </tr>
      </table>
      <hr />
    </div>
    <div class="sect2" lang="en" xml:lang="en">
      <div class="titlepage">
        <div>
          <div>
            <h3 class="title"><a id="gimp-prefs-image-window-title"></a>18.11. Image Window Title and Statusbar</h3>
          </div>
        </div>
      </div>
      <a id="id3344176" class="indexterm"></a>
      <div class="informalfigure">
        <div class="mediaobject">
          <img src="../images/preferences/prefs-image-window-title.png" />
          <div class="caption">
            <p>
          Image Window Title and Statusbar formats
        </p>
          </div>
        </div>
      </div>
      <p>
    This page lets you customize the text that appears in two places:
    the title bar of an image, and the status bar.  The title bar
    should appear above the image; however this depends on cooperation
    from the window manager, so it is not guaranteed to work in all
    cases.  The statusbar appears underneath the image, on the right
    side.  See the 
    Image
    Window  section for more information.
  </p>
      <div class="simplesect" lang="en" xml:lang="en">
        <div class="titlepage">
          <div>
            <div>
              <h4 class="title"><a id="id3344526"></a>Choosing a Format</h4>
            </div>
          </div>
        </div>
        <p>
      You can choose among several predesigned formats, or you can
      create one of your own, by writing a <span class="emphasis"><em>format
      string</em></span> in the entry area.  Here is how to understand
      a format string:  anything you type is shown exactly as you type
      it, with the exception of <span class="emphasis"><em>variables</em></span>, whose
      names all begin with "%".  Here is a list of the variables you
      can use:
    </p>
        <div class="segmentedlist">
          <table border="0">
            <thead>
              <tr class="segtitle">
                <th>Variable</th>
                <th>Meaning</th>
              </tr>
            </thead>
            <tbody>
              <tr class="seglistitem">
                <td class="seg">%f</td>
                <td class="seg">
            Bare filename of the image, or "Untitled"
        </td>
              </tr>
              <tr class="seglistitem">
                <td class="seg">%F</td>
                <td class="seg">
            Full path to file, or "Untitled"
        </td>
              </tr>
              <tr class="seglistitem">
                <td class="seg">%p</td>
                <td class="seg">
            Image id number (this is unique)
        </td>
              </tr>
              <tr class="seglistitem">
                <td class="seg">%i</td>
                <td class="seg">
            View number, if an image has more than one display
        </td>
              </tr>
              <tr class="seglistitem">
                <td class="seg">%t</td>
                <td class="seg">
            Image type (RGB, grayscale, indexed)
        </td>
              </tr>
              <tr class="seglistitem">
                <td class="seg">%z</td>
                <td class="seg">
            Zoom factor as a percentage
        </td>
              </tr>
              <tr class="seglistitem">
                <td class="seg">%s</td>
                <td class="seg">
            Source scale factor (zoom level = %d/%s)
        </td>
              </tr>
              <tr class="seglistitem">
                <td class="seg">%d</td>
                <td class="seg">
            Destination scale factor (zoom level = %d/%s)
        </td>
              </tr>
              <tr class="seglistitem">
                <td class="seg">%Dx</td>
                <td class="seg">
            Expands to x if the image is dirty, nothing otherwise
        </td>
              </tr>
              <tr class="seglistitem">
                <td class="seg">%Cx</td>
                <td class="seg">
            Expands to x if the image is clean, nothing otherwise
        </td>
              </tr>
              <tr class="seglistitem">
                <td class="seg">%l</td>
                <td class="seg">
            The number of layers
        </td>
              </tr>
              <tr class="seglistitem">
                <td class="seg">%L</td>
                <td class="seg">
            Number of layers (long form)
        </td>
              </tr>
              <tr class="seglistitem">
                <td class="seg">%m</td>
                <td class="seg">
            Memory used by the image
        </td>
              </tr>
              <tr class="seglistitem">
                <td class="seg">%n</td>
                <td class="seg">
            Name of the active layer/channel
        </td>
              </tr>
              <tr class="seglistitem">
                <td class="seg">%P</td>
                <td class="seg">
            id of the active layer/channel
        </td>
              </tr>
              <tr class="seglistitem">
                <td class="seg">%w</td>
                <td class="seg">
            Image width in pixels
        </td>
              </tr>
              <tr class="seglistitem">
                <td class="seg">%W</td>
                <td class="seg">
            Image width in real-world units
        </td>
              </tr>
              <tr class="seglistitem">
                <td class="seg">%h</td>
                <td class="seg">
            Image height in pixels
        </td>
              </tr>
              <tr class="seglistitem">
                <td class="seg">%H</td>
                <td class="seg">
            Image height in real-world units
        </td>
              </tr>
              <tr class="seglistitem">
                <td class="seg">%u</td>
                <td class="seg">
            Unit symbol (eg. px for Pixel)
        </td>
              </tr>
              <tr class="seglistitem">
                <td class="seg">%U</td>
                <td class="seg">
            Unit abbreviation
        </td>
              </tr>
              <tr class="seglistitem">
                <td class="seg">%%</td>
                <td class="seg">
            A literal "%" symbol
        </td>
              </tr>
            </tbody>
          </table>
        </div>
      </div>
    </div>
    <div class="navfooter">
      <hr />
      <table width="100%" summary="Navigation footer">
        <tr>
          <td width="40%" align="left"><a accesskey="p" href="ch04s18s10.html">Prev</a> </td>
          <td width="20%" align="center">
            <a accesskey="u" href="ch04s18.html">Up</a>
          </td>
          <td width="40%" align="right"> <a accesskey="n" href="ch04s18s12.html">Next</a></td>
        </tr>
        <tr>
          <td width="40%" align="left" valign="top">18.10. Image Window Appearance </td>
          <td width="20%" align="center">
            <a accesskey="h" href="index.html">Home</a>
          </td>
          <td width="40%" align="right" valign="top"> 18.12. Display</td>
        </tr>
      </table>
    </div>
  </body>
</html>