[ Previous | Next | Contents | Glossary | Home | Search ]
Motif 2.1 Programmer's Reference


XmGetTabGroup

Returns the widget ID of a tab group

Format

#include <Xm/Xm.h>
Widget XmGetTabGroup
Widget
widget

DESCRIPTION

XmGetTabGroup returns the widget ID of the tab group that contains the specified widget.

widget
Specifies a widget ID within a tab group

RETURN

Returns the widget ID of a tab group or shell, determined as follows:

  1. If widget is a tab group or shell, returns widget

  2. If neither widget nor any ancestor up to the nearest shell is a tab group, returns the nearest ancestor of widget that is a shell

  3. Otherwise, returns the nearest ancestor of widget that is a tab group
  4. RELATED

    XmAddTabGroup (3), XmManager (3), and XmPrimitive (3).


    [ Previous | Next | Contents | Glossary | Home | Search ]