DOKK / manpages / debian 12 / libmotif-dev / XmStringPeekNextComponent.3.en
XmStringPeekNextComponent(3) Library Functions Manual XmStringPeekNextComponent(3)

XmStringPeekNextComponent — A compound string function that returns the component type of the next component to be fetched "XmStringPeekNextComponent" "compound string functions" "XmStringPeekNextComponent"

#include <Xm/Xm.h>
XmStringComponentType XmStringPeekNextComponent(
XmStringContext context);

This function is obsolete and exists for compatibility with previous releases. It is replaced by XmStringPeekNextTriple. XmStringPeekNextComponent examines the next component that would be fetched by XmStringGetNextComponent and returns the component type.

Specifies the string context structure that was allocated by the XmStringInitContext function

Returns the type of component found. Refer to the XmStringComponentType(3) reference page for a list of component types.

XmStringComponentType(3), XmStringCreate(3), XmStringGetNextComponent(3), and XmStringInitContext(3).