File: ch02s03s04.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 (591 lines) | stat: -rw-r--r-- 21,129 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
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
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
<?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>3.4. Dialogs and Docking</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="ch02s03.html" title="3. Basic Gimp Usage" />
    <link rel="prev" href="ch02s03s03.html" title="3.3. Image Window" />
    <link rel="next" href="ch02s03s05.html" title="3.5. Basic Gimp Concepts" />
  </head>
  <body>
    <div xmlns="" class="navheader">
      <table width="100%" summary="Navigation header">
        <tr>
          <th colspan="3" align="center" id="chaptername">3.4. Dialogs and Docking</th>
        </tr>
        <tr>
          <td width="20%" align="left"><a accesskey="p" href="ch02s03s03.html">Prev</a> </td>
          <th width="60%" align="center" id="sectionname">3.4. Dialogs and Docking</th>
          <td width="20%" align="right"> <a accesskey="n" href="ch02s03s05.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-docks"></a>3.4. Dialogs and Docking</h3>
          </div>
        </div>
      </div>
      <div class="simplesect" lang="en" xml:lang="en">
        <div class="titlepage">
          <div>
            <div>
              <h4 class="title"><a id="gimp-dock-separator"></a>Docking Bars</h4>
            </div>
          </div>
        </div>
        <div class="informalfigure">
          <div class="mediaobject">
            <img src="../images/using/dialog-highlight-dockbar.png" />
            <div class="caption">
              <p>
          A dock, with docking bars highlighted
        </p>
            </div>
          </div>
        </div>
        <p>
    In Gimp 2.0 and 2.2, you have a lot of flexibility about the
    arrangement of dialog windows on your screen.  Instead of placing
    each dialog in its own window, you can group them together using
    docks.  A "dock" is a container window that can hold a collection
    of persistent dialogs, such as the Tool Options dialog, Brushes
    dialog, Palette dialog, etc.  Docks cannot, however, hold image
    windows:  each image always has its own separate window.  They
    also can't hold non-persistent dialogs, such as the Preferences
    dialog or the New Image dialog.
  </p>
        <p>
    Each dock has a set of <span class="emphasis"><em>docking bars</em></span>, as
    highlighted in the adjoining figure.  These are thin gray bars,
    very unobtrusive and easy not to notice:  most people don't
    realize that they exist until they are specifically pointed out.  
  </p>
      </div>
      <div class="simplesect" lang="en" xml:lang="en">
        <div class="titlepage">
          <div>
            <div>
              <h4 class="title"><a id="gimp-dockable-drag-area"></a>Docking Drag Handles</h4>
            </div>
          </div>
        </div>
        <div class="informalfigure">
          <div class="mediaobject">
            <img src="../images/using/dialog-highlight-handle.png" />
            <div class="caption">
              <p>
          A dialog in a dock, with the drag handle area highlighted
        </p>
            </div>
          </div>
        </div>
        <p>
    Each dockable dialog has a <span class="emphasis"><em>drag handle area</em></span>,
    as highlighted in the figure on the right.  You can recognize this
    by the fact that the cursor changes to a hand shape when the
    pointer is over the drag handle area.  To dock a dialog, you
    simply click on its drag handle area, and drag it onto one of the
    docking bars in a dock.
  </p>
        <p>
    You can drag more than one dialog onto the same docking bar.  If
    you do, they will turn into tabs, represented by iconic symbols at
    the top.  Clicking on the tab handle will bring a tab to the
    front, so that you can interact with it.
  </p>
      </div>
      <div class="simplesect" lang="en" xml:lang="en">
        <div class="titlepage">
          <div>
            <div>
              <h4 class="title"><a id="gimp-dock-image-menu"></a>Image Menu</h4>
            </div>
          </div>
        </div>
        <a id="gimp-dock-auto-button"></a>
        <div class="informalfigure">
          <div class="mediaobject">
            <img src="../images/using/dialog-highlight-imagemenu.png" />
            <div class="caption">
              <p>
          A dock with an Image Menu highlighted
        </p>
            </div>
          </div>
        </div>
        <p>
    Some docks contain an <span class="emphasis"><em>Image Menu</em></span>:  a menu
    listing all of the images open in GIMP, and displaying the name of
    the image whose information is shown in the dock.  You can use the
    Image Menu to select a different image.  If the
    <span class="guilabel">Auto</span> button is depressed, then the menu always
    shows the name of GIMP's currently active image, that is, the image
    you are currently working on.
  </p>
        <p>
    By default, a "Layers, Channels, and Paths" dock shows an Image
    Menu at the top, and other types of docks do not.  You can always
    add or remove an Image Menu, however, using the "Show Image Menu"
    toggle in the Tab menu, as described below.  (Exception:  you
    cannot add an Image Menu to the dock that contains the Toolbox.)
  </p>
      </div>
      <div class="simplesect" lang="en" xml:lang="en">
        <div class="titlepage">
          <div>
            <div>
              <h4 class="title"><a id="id3307408"></a>Tab Menu</h4>
            </div>
          </div>
        </div>
        <div class="informalfigure">
          <div class="mediaobject">
            <img src="../images/using/dialog-highlight-tabmenu.png" />
            <div class="caption">
              <p>
          A dialog in a dock, with the Tab menu button highlighted
        </p>
            </div>
          </div>
        </div>
        <p>
    In each dialog, you can access a special menu of tab-related
    operations by pressing the Tab Menu button, as highlighted in the
    figure on the right.  Exactly which commands are shown in the menu
    varies a bit from dialog to dialog, but they always include
    operations for creating new tabs, or closing or detaching tabs.
  </p>
        <div class="informalfigure">
          <div class="mediaobject">
            <img src="../images/using/tab-menu.png" />
            <div class="caption">
              <p>
	  Tab menu from the Layers dialog
	</p>
            </div>
          </div>
        </div>
        <p>
    A Tab menu gives you acces to the following commands:
  </p>
        <div class="variablelist">
          <dl>
            <dt>
              <span class="term">Context Menu</span>
            </dt>
            <dd>
              <p>
          At the top of each Tab menu is an entry that opens into the
          dialog's context menu, which contains operations specific to
          that particular type of dialog.  For example, the context menu
          for the Patterns dialog contains a set of operations for
          manipulating patterns.
        </p>
            </dd>
            <dt>
              <span class="term">Add Tab</span>
            </dt>
            <dd>
              <a id="gimp-dock-tab-add"></a>
              <p>
          This entry opens into a submenu allowing you to add a large
          variety of dockable dialogs as new tabs.
        </p>
            </dd>
            <dt>
              <span class="term">Close Tab</span>
            </dt>
            <dd>
              <a id="gimp-dock-tab-close"></a>
              <p>
          This entry closes the dialog.  Closing the last dialog in a
          dock causes the dock itself to close.  Choosing this menu
          entry has the same effect as pressing the "Close Tab" button. 
        </p>
            </dd>
            <dt>
              <span class="term">Detach Tab</span>
            </dt>
            <dd>
              <a id="gimp-dock-tab-detach"></a>
              <p>
          This entry detaches the dialog from the dock, creating a new
          dock with the detached dialog as its only member.  It has the
          same effect as dragging the tab out of the dock and releasing
          it at a random location.
        </p>
            </dd>
            <dt>
              <span class="term">Preview Size</span>
            </dt>
            <dd>
              <a id="gimp-dock-preview-size"></a>
              <p>
          </p>
              <div class="informalfigure">
                <div class="mediaobject">
                  <img src="../images/using/tab-menu-preview-size.png" />
                  <div class="caption">
                    <p>
		  Preview Size submenu of a Tab menu
		</p>
                  </div>
                </div>
              </div>
              <p>
        </p>
              <p>
          Many, but not all, dialogs have Tab menus containing a
          <span class="guilabel">Preview Size</span> option, which opens into a
          submenu giving a list of sizes for the items in the dialog.
          For example, the Brushes dialog shows pictures of all
          available brushes:  the Preview Size determines how large the
          pictures are.  The default is <span class="guilabel">Medium</span>.
        </p>
            </dd>
            <dt>
              <span class="term">Tab Style</span>
            </dt>
            <dd>
              <a id="gimp-dock-tab-style"></a>
              <p>
          </p>
              <div class="informalfigure">
                <div class="mediaobject">
                  <img src="../images/using/tab-menu-tab-style.png" />
                  <div class="caption">
                    <p>
                    Tab Style submenu of a Tab menu
                  </p>
                  </div>
                </div>
              </div>
              <p>
        </p>
              <p>
          This entry is available when multiple dialogs are in the same
          dock:  it opens into a submenu allowing you to choose how the
          tabs at the top will appear.  There are five choices, not all
          of which will be available for all types of dialogs:
        </p>
              <p>
          </p>
              <div class="variablelist">
                <dl>
                  <dt>
                    <span class="term">Icon</span>
                  </dt>
                  <dd>
                    <p>
                  This choice gives you an icon representing the dialog
                  type. 
                </p>
                  </dd>
                  <dt>
                    <span class="term">Current Status</span>
                  </dt>
                  <dd>
                    <p>
                  This choice is only available for dialogs that allow you
                  to select something, such as a brush, a pattern, a
                  gradient, etc.  It gives you a tab showing a
                  representation of the item currently selected.
                </p>
                  </dd>
                  <dt>
                    <span class="term">Text</span>
                  </dt>
                  <dd>
                    <p>
                  This choice gives you a tab showing the dialog type in
                  text.
                </p>
                  </dd>
                  <dt>
                    <span class="term">Icon and Text</span>
                  </dt>
                  <dd>
                    <p>
                  This choice gives you wider tabs, containing both an
                  icon and the type of dialog in text.
                </p>
                  </dd>
                  <dt>
                    <span class="term">Status and Text</span>
                  </dt>
                  <dd>
                    <p>
                  This choice, where available, shows the item currently
                  selected, as well as the type of dialog.
                </p>
                  </dd>
                </dl>
              </div>
              <p>
        </p>
            </dd>
            <dt>
              <span class="term">View as List; View as Grid</span>
            </dt>
            <dd>
              <a id="gimp-dock-view-as-list"></a>
              <a id="gimp-dock-view-as-grid"></a>
              <p>
          These entries are shown in dialogs that allow you to select an
          item from a set: brushes, patterns, fonts, etc.  You can
          choose whether to view the items as a vertical list, with the
          name of each beside it, or as a grid, with representations of
          the items but no names.  Each has its advantages:  viewing as
          a list gives you more information, but viewing as a grid
          allows you to see many more possibilities at once.  The
          default for this varies across dialogs:  for brushes and
          patterns, the default is a grid; for most other things, the
          default is a list.
        </p>
            </dd>
            <dt>
              <span class="term">Show Image Menu</span>
            </dt>
            <dd>
              <p>
          This is a toggle.  If it is checked, then an Image Menu is
          shown at the top of the dock.  It is not available for dialogs
          docked below the Toolbox.
        </p>
            </dd>
            <dt>
              <span class="term">Auto Follow Active Image</span>
            </dt>
            <dd>
              <p>
          This is a toggle, and it is meaningless unless an Image Menu
          is being shown.  It causes the Image Menu, and hence the
          contents of the dialog if they are image-related, to change to
          follow whatever image you are working on at the moment.
        </p>
            </dd>
          </dl>
        </div>
      </div>
      <div class="simplesect" lang="en" xml:lang="en">
        <div class="titlepage">
          <div>
            <div>
              <h4 class="title"><a id="gimp-dockable-tab-close"></a>Removing Tabs</h4>
            </div>
          </div>
        </div>
        <div class="informalfigure">
          <div class="mediaobject">
            <img src="../images/using/dialog-highlight-closetab.png" />
            <div class="caption">
              <p>
          A dialog in a dock, with the "Close Tab" button highlighted
        </p>
              <p>
          Le bouton de fermeture d'un onglet
        </p>
            </div>
          </div>
        </div>
        <p>
    If you want to remove a dialog from a dock, there are two ways you
    can do it.  First, if you click on the drag handle area and drag
    the dialog away, releasing it someplace other than a docking bar,
    it will form a new dock in its own right.  Second, clicking on the
    "Close Tab" button (highlighted in the figure to the right) will
    close the frontmost dialog.
  </p>
      </div>
      <div class="simplesect" lang="en" xml:lang="en">
        <div class="titlepage">
          <div>
            <div>
              <h4 class="title"><a id="id3307390"></a>Creating Dialogs</h4>
            </div>
          </div>
        </div>
        <p>
    Most dockable dialogs can be created in more than one way, but all
    of them can be created using the 
    <span class="guimenu">File</span>-&gt;<span class="guisubmenu">Dialogs</span>
    menu from the Main Toolbox, or by using the <span class="guimenu">Add</span>
    command in the Tab menu from any dialog.  As a convenience, there
    are also three pre-built docks you can create using the  
    <span class="guimenu">File</span>-&gt;<span class="guisubmenu">Dialogs</span>-&gt;<span class="guisubmenu">Create New Dock</span>
    menu path from the Main Toolbox:
  </p>
        <div class="variablelist">
          <dl>
            <dt>
              <span class="term">Layers, Channels and Paths</span>
            </dt>
            <dd>
              <p>
          This gives you a dock containing:
        </p>
              <div class="itemizedlist">
                <ul type="disc">
                  <li>
                    <p>
              The Channels dialog
            </p>
                  </li>
                  <li>
                    <p>
              The Layers dialog
            </p>
                  </li>
                  <li>
                    <p>
              The Paths dialog
            </p>
                  </li>
                  <li>
                    <p>
              The Undo dialog
            </p>
                  </li>
                </ul>
              </div>
            </dd>
            <dt>
              <span class="term">Brushes, Patterns and Gradients</span>
            </dt>
            <dd>
              <p>
          This gives you a dock containing:
        </p>
              <div class="itemizedlist">
                <ul type="disc">
                  <li>
                    <p>
              The Brushes dialog
            </p>
                  </li>
                  <li>
                    <p>
              The Patterns dialog
            </p>
                  </li>
                  <li>
                    <p>
              The Gradients dialog
            </p>
                  </li>
                  <li>
                    <p>
              The Palettes dialog
            </p>
                  </li>
                  <li>
                    <p>
              The Fonts dialog
            </p>
                  </li>
                </ul>
              </div>
            </dd>
            <dt>
              <span class="term">Misc. Stuff</span>
            </dt>
            <dd>
              <p>
          This gives you a dock containing:
        </p>
              <div class="itemizedlist">
                <ul type="disc">
                  <li>
                    <p>
              The Buffers dialog
            </p>
                  </li>
                  <li>
                    <p>
              The Images dialog
            </p>
                  </li>
                  <li>
                    <p>
              The Document History dialog
            </p>
                  </li>
                  <li>
                    <p>
              The  Image Templates dialog
            </p>
                  </li>
                </ul>
              </div>
            </dd>
          </dl>
        </div>
        <div class="tip" style="margin-left: 0.5in; margin-right: 0.5in;">
          <table border="0" summary="Tip">
            <tr>
              <td rowspan="2" align="center" valign="top" width="25">
                <img alt="[Tip]" src="../images/tip.png" />
              </td>
              <th align="left">Tip</th>
            </tr>
            <tr>
              <td colspan="2" align="left" valign="top">
                <p>
      Just because you have a lot of flexibility does not mean that all
      choices are equally good.  There are at least two things we
      recommend:
    </p>
                <div class="orderedlist">
                  <ol type="1">
                    <li>
                      <p>
          Keep the Tool Options dialog docked directly beneath the
          Main Toolbox at all times.
        </p>
                    </li>
                    <li>
                      <p>
          Keep the Layers dialog around at all times, in a separate
          dock from the Main Toolbox, with an Image Menu above it.
          (Use "Show Image Menu" in the dialog Tab menu to display the
          Image menu if you have somehow lost it.)
        </p>
                    </li>
                  </ol>
                </div>
              </td>
            </tr>
          </table>
        </div>
      </div>
    </div>
    <div class="navfooter">
      <hr />
      <table width="100%" summary="Navigation footer">
        <tr>
          <td width="40%" align="left"><a accesskey="p" href="ch02s03s03.html">Prev</a> </td>
          <td width="20%" align="center">
            <a accesskey="u" href="ch02s03.html">Up</a>
          </td>
          <td width="40%" align="right"> <a accesskey="n" href="ch02s03s05.html">Next</a></td>
        </tr>
        <tr>
          <td width="40%" align="left" valign="top">3.3. Image Window </td>
          <td width="20%" align="center">
            <a accesskey="h" href="index.html">Home</a>
          </td>
          <td width="40%" align="right" valign="top"> 3.5. Basic Gimp Concepts</td>
        </tr>
      </table>
    </div>
  </body>
</html>