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 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.
Window borders can contain any of the following gadgets:
The title bar is a gadget that identifies each window or screen in the system. The title bar of a disk window also contains:
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.
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.
The Sizing gadget allows you to change the size of a window. To size a window:
The sizing operation can be cancelled by pressing the menu button before releasing the selection button.
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:
Another method to move the scroll bar is:
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.
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 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:
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 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 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.