XmAddTabGroup(3Xm)

NAME
XmAddTabGroup — a function that adds a Manager or a Primitive widget to the list of tab groups.

SYNOPSIS
#include <Xm/Xm.h>

void XmAddTabGroup (tab_group)
    Widget    tab_group;

DESCRIPTION
AddTabGroup adds a Manager or Primitive widget to the list of tab groups associated with a particular widget hierarchy. Each instance of the List widget, each multiline Text edit widget, each OptionMenu widget, and each ScrollBar widget must be placed within their own tab group; do not place other widgets in these groups. This allows the arrow keys to function in their normal fashion within these widgets.

When using the keyboard to traverse through a widget hierarchy, Primitive or Manager widgets are grouped together into what are known as tab groups. Any Manager or Primitive widget can be a tab group. Within a tab group, move the focus to the next widget within the tab group by using the arrow keys. To move to another tab group, enter the Tab, or <Shift>Tab.

tab_group
    Specifies the Manager or Primitive widget ID.

RELATED INFORMATION
XmManager(3Xm), XmPrimitive(3Xm) and XmRemoveTabGroup(3Xm).