XmGetTabGroup(3X)

XmGetTabGroup - Returns the widget ID of a tab group

As shipped in IRIX 6.5.19. Unchanged since IRIX 6.5.

     NAME
          XmGetTabGroup - Returns the widget ID of a tab group

     SYNOPSIS
          #include <Xm/Xm.h>

          Widget XmGetTabGroup (widget)
               Widget    widget;


     VERSION
          This page documents version 1.2 of the Motif library.

     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 VALUE
          Returns the widget ID of a tab group or shell, determined as
          follows:


            o  If widget is a tab group or shell, returns widget

            o  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

            o  Otherwise, returns the nearest ancestor of widget that
               is a tab group


     RELATED INFORMATION
          XmAddTabGroup(3X), XmManager(3X), and XmPrimitive(3X).