Glossary

accelerator

A key or sequence of keys (typically a modifier key and some other key) that provides a shortcut, immediately accessing a program function.

action

A procedure associated with a widget and invoked by the Xt event dispatcher when the widget receives an event of a given type. The widget's translation table associates event descriptions with actions.

activation

Invocation of a component's primary action. For example, the user activates a PushButton by pressing BSelect on the PushButton.

anchor

A position in a collection of selectable objects that marks one endpoint of an extended selection range.

atom

An identifier that is unique to the display and is associated with a given name. Common uses are to identify properties, types, and selections.

bitmap

A pixmap with a depth of one bit.

callback

An application-defined procedure that a widget invokes at some specified time. Often the widget invokes a callback from an action routine when the widget receives an event of a given type. Widgets that invoke callbacks have resources whose value is a list of callback procedures.

character set

A set of characters that, either individually or in combination, represents meaningful words in a language.

class

A group of elements all of the same type. A resource class represents a group of resources with different names. A widget class represents the procedures and data structures shared by all widgets of that class.

client

A program written specifically for use with the X Window System. Clients create their own windows and know how to resize themselves.

clipboard selection

A selection often used to cut or copy data from one client and paste it into another client or another window of the same client.

clipping

The restriction of output to a particular area ofthe screen by a given boundary. For example, windows are clipped by their parents.

code set

The set of binary values needed to represent all the characters in a language.

colormap

An association between pixel values and colors. Each color is represented by a triple of red, green, and blue values that result in a particular color on a particular screen. Each window has an associated colormap that determines what color is used to display each pixel.

composite

One of a group of widgets that can have child widgets and can manage their children's geometry.

compound string

A byte stream consisting of tag-length-value segments and representing zero or more pieces of text. A compound string has components that contain the text to be displayed, a tag (called a font list element tag) to be matched with an element of a font list, and an indicator denotingthe direction in which the text is to be displayed.

cursor

A graphical image, usually a pipe (|) or block, that shows the location where text will appear on the screen when keys on the keyboard are pressed or where a selection can be made.

destination

The location at which transfer actions place data.

dialog

A widget that provides a means of communicating between the user and the application. A dialog is a popup that usually asks a question or presents some information to the user. A dialog can be modal, suspending the application until the user provides a response, or modeless, allowing the user to interact with the application during the dialog.

display

An abstraction that represents the input and output devices controlled by a single server. Usually a display consists of a keyboard, a pointing device, and one or more screens.

drag and drop

A transfer mechanism where data is dragged from a source to a drop site using mouse motion.

drag icon

A graphic that is generated using pixmaps and is moved during a drag operation. The drag icon is composed of a source pixmap, a state cursor, and an operation cursor.

drag initiator

The client within whose window the user starts a drag transaction. See also drag source.

drag source

The object whose graphical representation is being dragged and whose data the user wishes to transfer.

drawable

An entity that can be the source or destination for a graphics operation. Both windows and pixmaps are drawables.

drop site

An area of the screen on which the user can drop a drag icon.

event

A means by which the server notifies clients of changes of state. An event may be a side effect of a client request, or it may have a completely asynchronous cause, such as the user's pressing a key or moving the pointer. In addition, a client may send an event, via the server, to another client.

event handler

A procedure called by the Xt event dispatcher when a widget receives an event of a given type. Event handlers provide input processing at a lower level than callbacks or action routines.

event loop

A program loop in which the application receives an event, handles the event, and then waits for the next event. An event loop usually does not end until the user terminates the application. Xt provides an event-dispatching loop suitable for most applications.

export target

A type of object that a drag source can process.

focus

See keyboard focus.

font

A collection of glyphs and associated metrics usually used to display text.

font list

A list of entries, each of which consists of a font list element tag and either a font or a font set. When Motif displays text, it associates the text with a font list element tag in a font list and uses the corresponding font or font set to render the text.

font list element tag

A string associated with a text segment of a compound string or with a font or font set in a font list. When Motif displays text, it associates the text with a font list element tag in a font list and uses the corresponding font or font set to render the text.

font set

A group of fonts often representing the fonts needed to display text in the encoding of a particular locale.

gadget

An object that is like a primitive widget in most respects except that it has no associated window or translations. A gadget depends on a manager parent for its colors and for input dispatching.

GC

See graphics context.

geometry

The elements of a widget's layout, including its size, location, and stacking order.

geometry management

The process by which the user, parent widgets, and child widgets negotiate the actual sizes and locations of the widgets in an application. In general, a child widget can ask its parent to change its geometry but cannot make any changes on its own. A parent can grant or reject a request from its child and can force changes on the child at other times.

grab

A client's assertion of exclusive use of a keyboard key, the keyboard, a pointer button, the pointer, or the server. Applications usually do not use explicit grabs, but toolkits and window managers often use them to implement such features as menus and accelerators.

graphics context (GC)

A collection of attributes that determine how any given graphics operation affects a drawable. Each graphics operation on a drawable is executed using a given graphics context specified by the client. Some attributes of a graphics context are the foreground pixel, background pixel, line width, and clipping region.

hotspot

The location in a cursor that corresponds to the coordinates of the pointer position.

I18N

See internationalization.

import target

A type of object that a drop site can process.

input context

The mechanism used to provide the state information flow between an application and the input method.

input focus

See keyboard focus.

input method

A layer of mapping between the keyboard keys (or combination of keys) that the user types and the text data that is passed to the application.

insertion cursor

The graphical symbol that provides the visual cue to the location of the insertion point in a Text component.

internationalization (I18N)

The process of generalizing programs or systems so that they can handle a variety of languages, character sets, and national customs.

keyboard focus

A state of the system that indicates which component receives keyboard events. A component is said to have the focus if keyboard events are sent to that component.

keyboard traversal

The set of actions, usually invoked from the keyboard, that cause focus to move from one component to another within an application or between applications.

localization

The process of providing language-specific or country-specific information and support for programs.

manage

To place the geometry of a child widget under the control of its parent. In general widgets are eligible to appear on the screen only after they are managed.

manager

One of a group of widgets that can have children and can manage their geometry. Managers provide colors and input dispatching for gadget children.

map

To mark a window as eligible to be visible on the screen. A window actually becomes visible when all of its ancestors are mapped and when it is not obscured by an ancestor or by another window.

menu

A popup widget usually allowing the user to make a single selection from a constrained set of choices. A menu is usually modal, suspending the application until the user makes a selection or dismisses the menu. When torn off, a menu becomes modeless, allowing the user to interact with the application while the menu remains visible.

mnemonic

A single character (frequently the initial character) of a Menu selection. When the Menu is displayed and the user presses the key that corresponds to that character, the Menu selection is chosen.

modal

A state of a dialog that requires the user to interact with the dialog before interacting with other parts of the application or with other applications. Three modal styles exist: primary application modal, full application modal, and system modal. See also modeless.

modeless

A state of a dialog that does not require the user to interact with the dialog before interacting with other parts of the application or with other applications. See also modal.

off-the-spot

A location for the pre-edit area in an input method. The input data is displayed in a window within the application window but not at the point of insertion.

over-the-spot

A location for the pre-edit area in an input method. The input data is displayed in a window immediately above the point of insertion.

pane

A widget that is a child of a PanedWindow. The user adjusts the size of a pane by means of a sash.

pending delete

A state of a Text component in which some user actions cause the current selection to be deleted.

pixel

A unit of height and width for a window or pixmap. Each pixel has a number of bits or planes equal to the depth of the window or pixmap. Thus, each pixel has an integral value whose range depends on the depth of the drawable. The pixel value is used as an index into a colormap to determine the color to display for that pixel.

pixmap

A two-dimensional array of pixels, all of the same depth. Like a window, a pixmap is a drawable, an entity that can be the source or destination for a graphics operation.

popup

A widget that is outside the normal widget hierarchy. Any widget can have popup children, and the widget does not manage these children. A popup's window is a descendant of the root window, and the popup is not clipped by the parent widget. A popup usually appears on the screen temporarily in behalf of its parent. Dialogs and menus are the most common popups.

pre-edit area

An area that displays the intermediate text characters for languages whose characters may require more than one keystroke to complete.

pre-editing

Creating characters in a particular language by using individual keystrokes or combinations of keystrokes.

primary selection

The principal selection, used to transfer data from one client to another or to another window of the same client.

primitive

One of a group of widgets that usually do not have children.

property

An entity associated with a window and consisting of a name, a type, a data format, and data. Properties are often used for communicating between clients and between a client and the window manager.

realize

To create windows for a widget and its managed children.

receiver

The client containing the destination of a drag and drop transaction.

resource

An element of a database representing options or values for attributes of an application. A resource is a triple consisting of a name, a class, and a value. A name and class may consist of components, each identifying the name or class of a particular level of a hierarchy. A widget can also have resources, whose values are derived from the resource database or set directly by the application.

root window

A window that covers the entire viewable extent of the screen and is the ancestor of all other windows on the screen.

root-window

A pre-edit area (or window) that is a child of the root window and not a part of the application window.

sash

A control with which the user changes the sizes of panes in a PanedWindow.

screen

An abstraction that represents a single bitmapped output device on a display.

secondary selection

A selection, usually transitory, used to transfer data from one client to another or to another window of the same client without disturbing the primary selection.

selection

A mechanism for transferring data from one client to another or to another window of the same client. The principal types of selection are primary, secondary, and clipboard. The display contains only one selection of each type. It is owned by a client or by no one and, if owned, is attached to a window of the owning client.

sensitive

Eligible to receive input events. Xt does not dispatch most input events to insensitive widgets.

server

The component of the X Window System that manages input and the visual display.

shell

One of a group of widgets that envelop the top-level widgets, including dialogs and menus, in an application. A shell usually has only one managed child, and its window is often coincident with the managed child's window. A shell usually handles communication with the window manager.

status area

An input method output-only window thaqt identifies the input style (phonetic, numeric, stroke and radial, etc.) and the current status of an input method interaction.

tab group

A widget or set of widgets to which the user traverses by means of the <Tab> key. Within a tab group, the user traverses to non-tab-group descendants by means of the arrow keys.

translation

A mapping from an event description to one or more actions. When a widget receives an event, Xt searches the widget's translation table for a matching event description. If it finds such a description, it invokes the associated action or actions.

traversal

See keyboard traversal.

virtual binding

An assocation between an abstract key or pointer button, known as a virtual key or virtual button, and a physical key or button on the display.

virtual button

An abstract representation of a pointer button that is independent of any physical button. A virtual button is associated with a physical button by means of a virtual binding.

virtual key

An abstract representation of a key that is independent of any physical key. A virtual key is associated with a physical key by means of a virtual binding.

widget

An object used to hold data and present an interface to the user. A widget is a combination of state and procedure. Each widget is a member of a class, which holds the procedures and data structures common to all widgets of that class. A widget instance holds the procedures and data structures particular to that single widget. Each widget class typically provides the general behavior associated with a particular kind of interaction with the user.

window

A data structure that represents all or part of the display screen. Visually, a window is represented as a subarea of the display screen.

window manager

A program that controls the size, placement, and operation of windows on the workspace. The window manager includes the functional window frames that surround each window object and may include a separate Menu for the workspace.