文件名称:Writing GNOME Applications
文件大小:517KB
文件格式:RAR
更新时间:2012-03-14 05:11:13
GNOME
Table of Contents Preface Preface Prerequisites Conventions Resources Acknowledgments 2. The GTK+/GNOME System GLib Simple Data Types Namespaces Logging Containers Other Toys GDK The GTK+ Connection The Thin Wrapper GDK Events Drawing Primitives Reference Counting GTK+ Widgets The GTK+ Type System Object Classes Object Properties Signals GNOME Core Libraries Graphics Libraries Components Gnome-xml 3. The GNOME Build Environment The Configuration Script Running configure Inside the configure Script Makefile Variable Substitution Creating Your Own Configuration Autoconf The Configuration Header Checking for Tools Checking for Header Files Custom Checks Helper Tools Generating Makefiles GNU Makefile Standards Using automake Automake Variables Conditional Compiling Cutting a Distribution Dealing with Libraries Libtool Support libtoolize A Grumpy Example Exploring the Results A Note about Version Numbers Adding GNOME GNOME Macros gnome-config GNOME Makefile Variables autogen.sh Some Grumpy GNOME Examples 10. Graphics Graphics in the X Window System Frame Buffers Color Maps Visuals Drawables Images The GDK Wrapper Simpler API Using Color in GDK GdkRGB The RGB Buffer Drawing Functions Color Management Libart Vector Paths Bezier Paths Sorted Vector Paths Microtile Arrays Affine Transformations Pixel Buffers Gdk-pixbuf Creating Rendering Scaling Progressive Loading Autoconf Support Gdk-pixbuf Application Example 11. The GNOME Canvas The Canvas Double-Buffered Drawing Surface The Canvas Abstraction Canvas Groups Events Coordinate Systems World Coordinates Item Coordinates Canvas Coordinates Window Coordinates Using the Canvas GDK versus AA The Scrolling Region Adding Canvas Items Moving Canvas Items Around Transformations Canvas Items Vector-Based Drawing Items Line Styles The Shape of the Item Widgets in the Canvas Text Canvas Items Graphical Canvas Items Canvas Events The Event Callback Clicks and Double Clicks Mouse Motion Rollovers Keyboard Events Grabbing Items Dragging and Dropping Canvas Items A. GNU Free Documentation License 0. PREAMBLE 1. APPLICABILITY AND DEFINITIONS 2. VERBATIM COPYING 3. COPYING IN QUANTITY 4. MODIFICATIONS 5. COMBINING DOCUMENTS 6. COLLECTIONS OF DOCUMENTS 7. AGGREGATION WITH INDEPENDENT WORKS 8. TRANSLATION 9. TERMINATION 10. FUTURE REVISIONS OF THIS LICENSE Addendum List of Figures 2-1. Singly and Doubly Linked Lists 2-2. Structure of a Hash Table 2-3. Structure of an N-ary Tree 2-4. The GNOME Dependency Tree 2-5. GDK Event Flow 2-6. Widget Appearances 3-1. Running the configure Script 3-2. Running aclocal 3-3. Four Grumpy Library Cases 10-1. Color Map Example 10-2. Relationships among X Visuals 10-3. Double Buffering with a Pixmap 10-4. RGB Row Strides 10-5. Array of ArtVpath Elements 10-6. Vector Paths of the Letters V and R 10-7. Microtile Arrays 10-8. Rendering an Alpha Channel to a Bitmap 10-9. Scaling Parameters 10-10. Image Composition with testpixbuf-scale 10-11. Screen Shot of Sample Gdk-pixbuf Application 11-1. The test-gnome Application 11-2. Maximizing the Viewing Space 11-3. Bitmaps for Stipple Masks 11-4. Stipple Mask Example 11-5. Arrow Shapes for GnomeCanvasLine Item 11-6. Rectangle and Ellipse Canvas Items with the Same Bounding Box
【文件预览】:
Writing GNOME Applications
----fdl.html(4KB)
----graphics-libart.html(25KB)
----fdl-section5.html(3KB)
----graphics-gdk.html(11KB)
----fdl-section8.html(2KB)
----fdl-section9.html(2KB)
----fdl-section1.html(6KB)
----gtk.html(33KB)
----fdl-section7.html(3KB)
----resources.html(4KB)
----graphics-gdkrgb.html(18KB)
----dealing-with-libraries.html(21KB)
----gnome-canvas-events.html(35KB)
----adding-gnome.html(43KB)
----fdl-section4.html(10KB)
----gdk.html(15KB)
----fdl-using.html(3KB)
----creating-configuration.html(31KB)
----fdl-section6.html(2KB)
----graphics-gdk-pixbuf.html(57KB)
----gnome-canvas-items.html(40KB)
----figures()
--------blank.gif(148B)
--------11f5.png(4KB)
--------10f6.png(6KB)
--------2f1.png(8KB)
--------3f1.png(4KB)
--------3f2.png(4KB)
--------10f10.png(42KB)
--------image2.gif(309B)
--------11f2.png(5KB)
--------2f4.png(4KB)
--------10f11.png(39KB)
--------11f1.png(68KB)
--------10f7.png(10KB)
--------11f6.png(2KB)
--------10f9.png(8KB)
--------3f3.png(7KB)
--------10f1.png(10KB)
--------2f6.png(51KB)
--------back.gif(216B)
--------10f5.png(5KB)
--------11f3.png(3KB)
--------2f5.png(5KB)
--------2f2.png(7KB)
--------10f3.png(5KB)
--------2f3.png(12KB)
--------10f8.png(6KB)
--------10f4.png(6KB)
--------11f4.png(20KB)
--------10f2.png(6KB)
----fdl-section10.html(3KB)
----conventions.html(3KB)
----gnome-build.html(17KB)
----fdl-section3.html(4KB)
----gnome-canvas-using.html(27KB)
----acknowledgements.html(5KB)
----gtk-gnome-intro.html(35KB)
----gnome-canvas-coordinates.html(12KB)
----gnome-canvas.html(12KB)
----index.html(13KB)
----fdl-section2.html(3KB)
----generating-makefiles.html(43KB)
----graphics.html(17KB)
----preface.html(4KB)
----gnome-intro.html(12KB)
----prerequisites.html(4KB)