XmTextGetString(3)

XmTextGetString3

A text function that accesses the string value

Usage

#include <Xm/Text.h>
char * XmTextGetString(
Widget widget);

Overview

XmTextGetString accesses the string value of the Text widget. The application is responsible for freeing the storage associated with the string by calling XtFree.

widget

Specifies the Text widget ID

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

Return

Returns a character pointer to the string value of the text widget. This returned value is a copy of the value of the XmNvalue resource. Returns an empty string if the length of the Text widget's string is 0 (zero).

Releases

7 releases since Debian 8 (Jessie); the text changed 1 time.

  1. 8–13
  2. Arch

From openmotif 2.3.8-4 in Arch Linux 2026-11-01. Parsed by carta from the page's man source.