Muutke küpsiste eelistusi

E-raamat: Low Level X Window Programming: An Introduction by Examples

  • Formaat: EPUB+DRM
  • Ilmumisaeg: 31-Mar-2018
  • Kirjastus: Springer International Publishing AG
  • Keel: eng
  • ISBN-13: 9783319742502
  • Formaat - EPUB+DRM
  • Hind: 67,91 €*
  • * hind on lõplik, st. muud allahindlused enam ei rakendu
  • Lisa ostukorvi
  • Lisa soovinimekirja
  • See e-raamat on mõeldud ainult isiklikuks kasutamiseks. E-raamatuid ei saa tagastada.
  • Formaat: EPUB+DRM
  • Ilmumisaeg: 31-Mar-2018
  • Kirjastus: Springer International Publishing AG
  • Keel: eng
  • ISBN-13: 9783319742502

DRM piirangud

  • Kopeerimine (copy/paste):

    ei ole lubatud

  • Printimine:

    ei ole lubatud

  • Kasutamine:

    Digitaalõiguste kaitse (DRM)
    Kirjastus on väljastanud selle e-raamatu krüpteeritud kujul, mis tähendab, et selle lugemiseks peate installeerima spetsiaalse tarkvara. Samuti peate looma endale  Adobe ID Rohkem infot siin. E-raamatut saab lugeda 1 kasutaja ning alla laadida kuni 6'de seadmesse (kõik autoriseeritud sama Adobe ID-ga).

    Vajalik tarkvara
    Mobiilsetes seadmetes (telefon või tahvelarvuti) lugemiseks peate installeerima selle tasuta rakenduse: PocketBook Reader (iOS / Android)

    PC või Mac seadmes lugemiseks peate installima Adobe Digital Editionsi (Seeon tasuta rakendus spetsiaalselt e-raamatute lugemiseks. Seda ei tohi segamini ajada Adober Reader'iga, mis tõenäoliselt on juba teie arvutisse installeeritud )

    Seda e-raamatut ei saa lugeda Amazon Kindle's. 

This is the missing X Window book. While others have shown what the X Window system has available, this book shows how to convert this potential into working tools to fulfil your visualisation needs. It is of the show-me class of books.

The majority of the book covers Xlib, although a short coverage of Xcb is also given.  Included are:

.  The relationship between Xlib and the X Window protocol;

.  All the basic Xlib topics are covered;

.  Complete working programs with their results;

.  Exercises to reinforce the material just covered.

A 9 part partition to building a complete X program is used throughout. This partitioning fosters the inclusion of all code necessary. All programs are written in C and are one to four pages in length.  Open source programs with the occasional Postscript script are shown to provide support as needed.  Throughout the examples consideration is given to using colour. The examples produce simple results with the aim of providing building blocks for application oriented codes.

The book is directed at graduate students and researchers who create computer code to visualise their data.

1 Preliminaries
1(6)
1.1 The Place of the X Protocol
2(2)
1.2 X Window Programming Gotchas
4(1)
1.3 Programming in X Window
5(2)
2 Getting Something to Show
7(28)
2.1 Basic Xlib Programming Code Blocks
7(1)
2.2 Creating a Single Window
8(5)
2.2.1 Open Connection to the Server
9(1)
2.2.2 Top-Level Window
10(3)
2.2.3 Exercises
13(1)
2.3 Smallest Xlib Program to Produce a Window
13(2)
2.3.1 Exercises
15(1)
2.4 A Simple but Useful Xlib Program
15(1)
2.4.1 Exercises
16(1)
2.5 A Moving Window
16(5)
2.5.1 Exercises
21(1)
2.6 Parts of Windows Can Disappear from View
21(9)
2.6.1 Testing Overlay Services Available from an X Server
22(2)
2.6.2 Consequences of No Server Overlay Services
24(5)
2.6.3 Exercises
29(1)
2.7 Changing a Window's Properties
30(2)
2.8 Summary
32(3)
3 Windows and Events Produce Menus
35(50)
3.1 Colour
36(3)
3.1.1 Exercises
39(1)
3.2 A Button to Click
39(5)
3.3 Events
44(5)
3.3.1 Exercises
49(1)
3.4 Menus
49(8)
3.4.1 Text Labelled Menu Buttons
50(7)
3.4.2 Exercises
57(1)
3.5 Further Consideration of Mouse Events
57(11)
3.5.1 Exercises
67(1)
3.6 A Mouse Behaviour Application
68(3)
3.6.1 Exercises
71(1)
3.7 Implementing Hierarchical Menus
71(11)
3.7.1 Exercises
81(1)
3.8 Which Window Gets the Event?
82(2)
3.8.1 Exercises
84(1)
3.9 Summary
84(1)
4 Pattern Maps and Labels
85(54)
4.1 The Pixmap Resource
86(1)
4.2 Pattern Patches
86(1)
4.3 Bitmap Patterns
87(5)
4.3.1 Exercises
92(1)
4.4 A Bitmap Cursor
92(5)
4.4.1 Exercises
97(1)
4.5 A Partially Transparent Pixmap
97(4)
4.6 Using Postscript to Create Labels
101(4)
4.7 Changing the Colour of a Pixmap
105(3)
4.8 Reducing Server-Client Interaction by Images
108(4)
4.8.1 Exercises
112(1)
4.9 Creating Menus by Using the Image Format
112(6)
4.9.1 Exercises
118(1)
4.10 Forming Text Messages from Bitmap Glyphs
118(13)
4.10.1 Accessing XI1 Standard Bitmap Fonts
119(4)
4.10.2 How to Use the Bitmap Fonts
123(8)
4.10.3 Exercises
131(1)
4.11 Using Pixmaps to Colour a Window's Background
131(7)
4.11.1 Exercises
137(1)
4.12 Summary
138(1)
5 Keyboard Entry and Displaying Text
139(48)
5.1 Elementary Keyboard Text X Entry
140(4)
5.1.1 Exercises
144(1)
5.2 What Fonts Are Available
144(2)
5.3 Keyboard Echoing on Windows
146(6)
5.3.1 Exercises
152(1)
5.4 Putting Lines of Text in a Window
152(4)
5.4.1 Exercises
156(1)
5.5 Insertion Cursor
156(7)
5.5.1 Exercises
162(1)
5.6 Moving Between Text Input Windows Using Keys
163(5)
5.6.1 Exercises
168(1)
5.7 A Slider Bar
168(5)
5.7.1 Exercises
173(1)
5.8 Scrolling Text
173(12)
5.8.1 Scrolling Horizontally
175(4)
5.8.2 Scrolling Vertically
179(5)
5.8.3 Exercises
184(1)
5.9 Summary
185(2)
6 Classic Drawing
187(22)
6.1 Limit on Multiple Objects in a Request
188(2)
6.2 Drawing Lines, Circles, and a Coloured-In Square
190(4)
6.2.1 Exercises
194(1)
6.3 A Symbol Composed from Circle Parts
194(4)
6.3.1 Exercises
198(1)
6.4 A Circle Bouncing off Plain Edges
198(5)
6.4.1 Exercises
203(1)
6.5 Displaying the Multi Colours of a Photograph
203(5)
6.5.1 Exercises
207(1)
6.6 Summary
208(1)
7 Extensions
209(16)
7.1 Multi-colour XPM Pixmaps
210(6)
7.1.1 Exercises
216(1)
7.2 Network Connecting Client to Server
216(3)
7.2.1 Exercises
219(1)
7.3 Scalable Fonts
219(4)
7.3.1 Exercises
223(1)
7.4 Summary
223(2)
8 The Xcb Alternative
225(20)
8.1 Starting and Finishing with Xcb
226(1)
8.2 Creating and Using a Window
227(3)
8.3 Communicating with the Window Manager
230(1)
8.4 Events
231(3)
8.5 A Consolidation Program
234(2)
8.5.1 Exercises
236(1)
8.6 Colour, Fonts, then Text
236(4)
8.6.1 Exercises
240(1)
8.7 A Classic Program Converted to Xcb
240(4)
8.7.1 Exercises
244(1)
8.8 Summary
244(1)
9 Closer to the X Protocol
245(16)
9.1 The X Window Environment
246(2)
9.1.1 Exercises
247(1)
9.2 Client/Server Interaction
248(4)
9.2.1 Exercises
252(1)
9.3 More than a Protocol is Required
252(6)
9.3.1 Exercises
257(1)
9.4 Summary
258(3)
References
259(2)
Index 261
Ross Maloney has been around computers for over 50 years. He has worked with log tables, slide rules, hand calculators, mainframes, mini computers, micro computers, to today's workstations. He holds bachelors and master degrees in engineering and mathematics from UWA and WAIT, and a PhD in computing science from Murdoch University. For over two decades he worked in government but is now in private practice. He has tutored and lectured undergraduates in computer science over a 10 year period. His current research interests are in application of visualisation and parallel processing to text documents and applied physical science.