Skip to Content
Volume 7A: XView Programming Manual
book

Volume 7A: XView Programming Manual

by Dan Heller
October 1994
Intermediate to advanced
770 pages
22h 58m
English
O'Reilly Media, Inc.
Content preview from Volume 7A: XView Programming Manual
7.16 Numeric Text Items 193
7.17 Multiline Text Items 193
7.18 Drop Target Items 194
7.18.1 Programming a Panel Drop Target Item 196
7.18.1.1 Create the drop target item 196
7.18.1.2 Specify the glyphs 196
7.18.1.3 Create the drag and drop object 197
7.18.1.4 Define the drop target item’s requestor 197
7.18.1.5 Controlling the glyphs 198
7.18.1.6 Dropping on the drop target 198
7.18.1.7 Dragging from the drop target item 198
7.18.2 Drop Target Notification 198
7.19 Advanced Panel Usage 199
7.19.1 Attaching Data to Panel Items 199
7.19.2 Using PANEL_REPAINT_PROC 202
7.19.3 Painting Panel Items 205
7.19.4 Panel Event Handling 205
7.19.5 Using an Interpose Function 207
7.19.6 Using PANEL_BACKGROUND_PROC 207
7.19.7 Using PANEL_EVENT_PROC 207
7.19.8 Event Handling Example 208
7.20 Panel Package Summary 209
Chapter 8 Text Subwindows 215
8.1 Creating Text Subwindows 216
8.2 Setting Text Subwindow Attributes 216
8.3 Text Subwindow Contents 216
8.4 Editing a Text Subwindow 217
8.4.1 Loading a File 217
8.4.2 Checking the Status of the Text Subwindow 218
8.4.3 Writing to a Text Subwindow 219
8.4.3.1 Setting the insertion point 219
8.4.4 Reading from a Text Subwindow 219
8.4.5 Deleting Text 220
8.4.6 Emulating an Editing Character 221
8.4.7 Replacing Characters 221
8.4.8 The Editing Log 222
8.4.9 Which File is Being Edited? 222
8.4.9.1 Interactions with the file system 223
8.5 Saving Edits in a Subwindow 223
8.5.1 Storing Edits 223
8.5.2 Discarding Edits 224
8.6 Setting the Contents of a Text Subwindow ...
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.

Read now

Unlock full access

More than 5,000 organizations count on O’Reilly

AirBnbBlueOriginElectronic ArtsHomeDepotNasdaqRakutenTata Consultancy Services

QuotationMarkO’Reilly covers everything we've got, with content to help us build a world-class technology community, upgrade the capabilities and competencies of our teams, and improve overall team performance as well as their engagement.
Julian F.
Head of Cybersecurity
QuotationMarkI wanted to learn C and C++, but it didn't click for me until I picked up an O'Reilly book. When I went on the O’Reilly platform, I was astonished to find all the books there, plus live events and sandboxes so you could play around with the technology.
Addison B.
Field Engineer
QuotationMarkI’ve been on the O’Reilly platform for more than eight years. I use a couple of learning platforms, but I'm on O'Reilly more than anybody else. When you're there, you start learning. I'm never disappointed.
Amir M.
Data Platform Tech Lead
QuotationMarkI'm always learning. So when I got on to O'Reilly, I was like a kid in a candy store. There are playlists. There are answers. There's on-demand training. It's worth its weight in gold, in terms of what it allows me to do.
Mark W.
Embedded Software Engineer

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