Skip to Main Content
Volume 7A: XView Programming Manual
book

Volume 7A: XView Programming Manual

by Dan Heller
October 1994
Intermediate to advanced content levelIntermediate to advanced
770 pages
22h 58m
English
O'Reilly Media, Inc.
Content preview from Volume 7A: XView Programming Manual
Table 8-2. Textsw_action Attributes (continued)
Attribute
(TEXTSW_ACTION_ . . . )
Type Description
EDITED_MEMORY (no value) Monitors whether an empty text subwindow has
been edited.
FILE_IS_READONLY char * The file named by the provided string value does
not have write permission.
LOADED_FILE char * The text subwindow is being used to view the
file named by the provided string value.
TOOL_CLOSE
(no value) The frame containing the text subwindow should
become iconic.
TOOL_DESTROY
Event * The tool containing the text subwindow should
exit, without checking for a veto from other
subwindows. The value is the user action that
caused the destroy.
TOOL_QUIT Event * The tool containing the text subwindow should
exit normally. The value is the user action that
caused the exit.
TOOL_MGR Event * The tool containing the text subwindow should
do the window manager operation associated
with the provided event value.
USING_MEMORY (no value) The text subwindow is being used to edit a string
stored in primary memory, not a file.
The attribute TEXTSW_ACTION_EDITED_FILE is a slight misnomer, as it is given to the notify
procedure after the first edit to any text, whether or not it came from a file. This notification
happens only once per session of edits, whereas, on the other hand, notification of
TEXTSW_ACTION_LOADED_FILE is considered to terminate the old session and start a new
one.
NOTE
The attribute TEXTSW_ACTION_LOADED_FILE
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

Volume 6A: Motif Programming Manual

Volume 6A: Motif Programming Manual

David Brennan, Dan Heller, Paula Ferguson
Java™ Media APIs: Cross-Platform Imaging, Media, and Visualization

Java™ Media APIs: Cross-Platform Imaging, Media, and Visualization

Alejandro Terrazas, John Ostuni, Michael Barlow

Publisher Resources

ISBN: 9780937175873