Skip to Main Content
Volume 7B: XView Reference Manual
book

Volume 7B: XView Reference Manual

by Dan Heller
September 1991
Intermediate to advanced content levelIntermediate to advanced
311 pages
7h 17m
English
O'Reilly Media, Inc.
Content preview from Volume 7B: XView Reference Manual
sel_post_req( )
This procedure is used to send a non-blocking request to the selection owner. The
application’s reply procedure is called by the SELECTION package when the selection
owner has sent its reply.
int
sel_post_req( sel )
Selection_requestor sel;
sel is the selection requestor. Returns XV_OK if it successfully sends the request,
otherwise it returns XV_ERROR. When no reply procedure is defined, XV_ERROR is re-
turned (see the description for the attribute SEL_REPLY_PROC).
textsw_add_mark()
Adds a new mark at position. flags can be either TEXTSW_MARK_DEFAULTS or
TEXTSW_MARK_MOVE_AT_INSERT.
Textsw_mark
textsw_add_mark(textsw, position, flags)
Textsw textsw;
Textsw_index position;
unsigned flags;
textsw_append_file_name()
Returns 0 if textsw is editing a file and, if so, appends the name of the file at the end
of name.
int
textsw_append_file_name(textsw, name)
Textsw textsw;
char *name;
textsw_delete()
Returns 0 if the operation fails. Removes the span of characters beginning with
first and ending one before last_plus_one.
Textsw_index
textsw_delete(textsw, first, last_plus_one)
Textsw textsw;
Textsw_index first, last_plus_one;
textsw_edit()
Returns 0 if the operation fails. Erases a character, a word or a line, depending on
whether unit is SELN_LEVEL_FIRST or SELN_LEVEL_LINE. If direction is 0,
characters after the insertion point are affected; otherwise, characters before the inser-
tion point are affected. ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Start your free trial

You might also like

Gestion des couleurs pas à pas

Gestion des couleurs pas à pas

Jean Delmas
1,000 Garment Graphics

1,000 Garment Graphics

Jeffrey Everett

Publisher Resources

ISBN: 9780937175880