Previous Next Chapter

Gadgets

Gadgets are programmed graphic images that appear in a window, requester, or screen. Like icons, gadgets often have a raised three-dimensional appearance and when selected appear to sink into the screen. Like icons, they are selected with the mouse. Cancel the selection of button-type gadgets by moving the pointer off the gadget button before releasing the selection button.

Window Gadgets

Window borders often contain several gadgets for moving windows, changing their size, scrolling (moving) their contents, and closing them. Figure 3-3 illustrates some typical window gadgets.

Figure 3-3. Window Gadgets

Window borders can contain any of the following gadgets:

Title Bar

The title bar is a gadget that identifies each window or screen in the system. The title bar of a disk window also contains:

Depth Gadget

The Depth gadget changes the depth position of a window or screen. Selecting the depth gadget on the front-most window on the screen moves it to the rear.

Selecting the depth gadget on any window other than the front moves it to the front. A window brought to the front with the depth gadget is automatically selected.

Holding down Shift while selecting the depth gadget on any window always sends it to the rear.

Zoom Gadget

The Zoom gadget provides a quick way to switch between two different window size/position settings. The zoom gadget toggles between two window sizes and positions. The first use of the gadget zooms the window to a preset size and position. Selecting the gadget again returns the window to its original size and position. The window may be moved or resized to change its zoomed or original position.

Sizing Gadget

The Sizing gadget allows you to change the size of a window. To size a window:

  1. Point to the sizing gadget.
  2. Hold down the selection button and move the pointer. An outline of the window appears with its lower right corner following the pointer.
  3. Release the selection button. The window is redrawn to the size indicated by the outline.

The sizing operation can be cancelled by pressing the menu button before releasing the selection button.

Scroll Gadgets

The Scroll gadgets move the area inside a window to show unexposed icons without changing the window's size. Use scroll gadgets after resizing a window or choosing Show All Files. Scroll boxes, scroll bars, and scroll arrows are all scroll gadgets.

Scroll bars are the highlighted rectangular areas inside the scroll boxes. They indicate how much of a window's contents is visible. When the scroll bar completely fills a scroll box, all of the window's icons are visible. When the scroll bar fills half of the scroll box, only half of the window's icons are visible.

To see the area of a window that is not visible:

  1. Point at the scroll bar.
  2. Hold down the selection button.
  3. Drag the scroll bar to an empty area of the scroll box. The viewing area is redrawn to show the new position when you release the scroll bar.

Another method to move the scroll bar is:

  1. Point to an empty area of the scroll box.
  2. Click the selection button.

The scroll bar moves towards the area where you pointed.

Scroll arrows are for scrolling continuously through the viewing area of a window. By pointing to a scroll arrow and holding down the selection button, you shift the viewing area in the direction of the arrow. Move the window contents one pixel at a time by holding down Shift while selecting a scroll arrow.

Close Gadget

Selecting the close gadget closes the window and removes it from the screen. If the last window of an application program is closed, the program is usually exited.

Action Gadgets

Action gadgets are found in requesters, Preferences editors, and other windows, usually at the bottom of the window. The most common action gadgets in Workbench windows include:

Save

Implements and saves any changes to program settings and closes the window.

Use

Implements changes to program settings without saving them and closes the window. Rebooting the Amiga returns to the default or previously saved changes.

Cancel

Cancels changes to program settings that you made in the window. The settings in effect prior to opening the window remain the same.

OK

Acknowledges and closes a requester.

Retry

Retries the current operation after you have attempted to correct what the requester indicates is wrong, such as a disk error or a write-protected disk.

Continue

Starts next step of operation.

Help

Displays help information.

Additional Gadgets

In addition to the gadgets described previously, there are several other types of standard gadgets used by Amiga programs. Always read your application documentation carefully for exact information about their use.

Check Box

Check boxes indicate if an option is turned on or off. When an option is on, the box contains a check mark. If the option is off, the box is empty. To change the check box setting, click on the box.

Cycle Gadget

Cycle gadgets contain lists of options. The displayed option is the selected option. Pointing to the cycle gadget and repeatedly clicking the selection button cycles through the list, showing the available options. Cycle backwards through the list by holding down Shift while selecting.

Top Previous Next Chapter