Museum

Home

Lab Overview

Retrotechnology Articles

Online Manuals

⇒ SetTextProp(3X) — DeltaWindows 1.3.3 Release 4 Version 4.3

Media Vault

Software Library

Restoration Projects

Artifacts Sought

 

NAME

XSetTextProperty — set one of a window’s text properties. 

SYNOPSIS

void XSetTextProperty(display, w, text_prop, \ property)
   Display ∗display;
   Window w;
   XTextProperty ∗text_prop;
   Atom property;

ARGUMENTS

displaySpecifies a connection to an X server; returned from XOpenDisplay(). 

wSpecifies the window. 

text_propSpecifies the XTextProperty structure to be used. 

propertySpecifies the property name. 

AVAILABILITY

Release 4 and later. 

DESCRIPTION

XSetTextProperty() sets the specified property for the named window with the data, type, format, and number of items determined by the value field, the encoding field, the format field, and the nitems field, respectively, of the specified XTextProperty structure. 

STRUCTURES

typedef struct {
    unsigned char ∗value;          /∗ same as Property routines ∗/
    Atom encoding;                 /∗ prop type ∗/
    int format;                    /∗ prop data format: 8, 16, or 32 ∗/
    unsigned long nitems;          /∗ number of data items in value ∗/ } XTextProperty;

ERRORS

BadAlloc
BadAtom
BadValue
BadWindow

SEE ALSO

XFreeStringList(), XGetTextProperty(), XStringListToTextProperty(), XTextPropertytoStringList(). 

Xlib Reference Manual

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