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

XmTextSetString — A Text function that sets the string value "XmTextSetString" "Text functions"

Description

XmTextSetString  sets  the  string  value  of  the  Text  widget.   This  routine  calls   the   widget's
       XmNvalueChangedCallback     and     verification    callbacks,    either    XmNmodifyVerifyCallback    or
       XmNmodifyVerifyCallbackWcs, or both. If both verification callback lists are registered,  the  procedures
       of  the  XmNmodifyVerifyCallback  list  are  executed  first  and  the  resulting  data  is passed to the
       XmNmodifyVerifyCallbackWcs callbacks.  This function also sets  the  insertion  cursor  position  to  the
       beginning of the string and calls the widget's XmNmotionVerifyCallback callbacks.

       widget    Specifies the Text widget ID

       value     Specifies  the  character  pointer to the string value and places the string into the text edit
                 window

       For a complete definition of Text and its associated resources, see XmText(3).

Name

XmTextSetString  —  A  Text  function  that  sets  the  string  value  "XmTextSetString" "Text functions"
       "XmTextSetString"

Synopsis

       #include <Xm/Text.h>
       voidXmTextSetString(
       Widgetwidget,
       char*value);

See Also