logo
Free, unlimited AI code reviews that run on commit
git-lrc git-lrc GitHub Install Now We'd appreciate a star git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt

XmContainerReorder — Container widget function to reorder children "XmContainerReorder" "XmContainer"

Description

XmContainerReorder obtains the XmNpositionIndex constraint resources of each widget specified in widgets,
       sorts  them  in  ascending  order, and inserts the XmNpositionIndex constraint resources in the new order
       into  each  widget.   If  the  XmNlayoutType  resource   of   Container   is   XmOUTLINE   or   XmDETAIL,
       XmContainerReorder will force a layout of all items.

       container Specifies the Container widget ID.

       widgets   Specifies an array of widget children of container.

       num_widgets
                 Specifies the number of items in the widgets array.

       For a complete definition of Container and its associated resources, see XmContainer(3).

Name

XmContainerReorder — Container widget function to reorder children "XmContainerReorder" "XmContainer"

Synopsis

       #include <Xm/Container.h>
       voidXmContainerReorder(
       Widgetcontainer,
       WidgetListwidgets,
       intnum_widgets);

See Also