Museum

Home

Lab Overview

Retrotechnology Articles

⇒ Online Manual

Media Vault

Software Library

Restoration Projects

Artifacts Sought

Related Articles

buffer(3W)

regularexpression(3W)

textbuffer(3W)

textedit(3W)

textselection(3W)

TextEdit(3W)

TextField(3W)

textfield(3W)

NAMES

OlTextFieldCopyString, OlTextFieldGetString

SYNOPSIS

#include <Xol/buffutil.h>
#include <Xol/textbuff.h>
#include <Xol/TextField.h>
 . . .
extern intOlTextFieldCopyString(

TextFieldWidget tfw,
char ∗string);

#include <Xol/buffutil.h>
#include <Xol/textbuff.h>
#include <Xol/TextField.h>
 . . .
extern char ∗OlTextFieldGetString(

TextFieldWidget tfw,
int ∗size);

DESCRIPTION

OlTextFieldCopyString

The OlTextFieldCopyString function is used to copy the string associated with the widget tfw into the user supplied area pointed to by string. The function returns the length of this string.

OlTextFieldGetString

The OlTextFieldGetString function is used to retrieve a new copy of the string associated with the widget tfw. The function returns a pointer to the newly allocated string copy. Optionally, if size is not NULL, the function returns in size the length of the string.

SEE ALSO

buffer(3W), regularexpression(3W), textbuffer(3W), textedit(3W), textselection(3W), TextEdit(3W), TextField(3W)

Version 3.0.1  —  Last change: June 92

Typewritten Software • bear@typewritten.org • Edmonds, WA 98026