Blast-Radius Aware AI Code Review for Business-Critical Systems
LiveReview LiveReview Explore LiveReview

XmGetTabGroup — Returns the widget ID of a tab group "XmGetTabGroup" "traversal functions"

Description

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

       widget    Specifies a widget ID within a tab group

Name

XmGetTabGroup   —   Returns   the  widget  ID  of  a  tab  group  "XmGetTabGroup"  "traversal  functions"
       "XmGetTabGroup"

Return

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

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

          •  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

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

Synopsis

       #include <Xm/Xm.h>
       WidgetXmGetTabGroup(
       Widgetwidget);

See Also