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
15
Nonvisual Objects
This chapter addresses nonvisual objects—objects that are not elements of the user interface.
Nonvisual objects include the screen, the display, the X11 server, and server images. The
FULLSCREEN package is used to grab the X server, and an instance of it is considered a non-
visual object. Nonvisual objects are not viewed on the screen, but they have a place in the
XView object hierarchy. Like all XView objects, they share many of the generic and com-
mon properties and can be manipulated using xv_create(), xv_set(), xv_get(), or
xv_find().
Nonvisual objects are typically used internally by XView and are seldom used directly in an
application. Therefore, this chapter contains advanced material that may not be essential to
all programmers. Figure 15-1 shows the class hierarchy for nonvisual objects.
Generic
Object
Server Screen (Drawable) Fullscreen
Server Image
Figure 15-1. Nonvisual objects class hierarchy
Nonvisual Objects
Nonvisual Objects 349
15.1 The Display
There is no XView Display object. If you need the Display data structure as defined by X,
you can get the value of the attribute XV_DISPLAY. This can be used on virtually any visible
XView object except for panel items. For example, to get the display associated with the
Frame, use:
Display *dpy;
dpy = (Display *)xv_get(frame, XV_DISPLAY);
The object does not have to be displayed or visible—just created. To do this, the
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