GDK Reference Manual
Table of Contents
I.
API Reference
General
- library initialization and miscellaneous functions.
Multi-head Support Overview
- Overview of GdkDisplay and GdkScreen
GdkDisplay
- controls the keyboard/mouse pointer grabs and a set of GdkScreens
GdkScreen
- object representing a physical screen
Points, Rectangles and Regions
- simple graphical data types.
Graphics Contexts
- objects to encapsulate drawing properties.
Drawing Primitives
- functions for drawing points, lines, arcs, and text.
Bitmaps and Pixmaps
- Offscreen drawables.
GdkRGB
- renders RGB, grayscale, or indexed image data to a GdkDrawable
Images
- an area for bit-mapped graphics stored on the X Windows client.
Pixbufs
-
Colormaps and Colors
- manipulation of colors and colormaps.
Visuals
- Low-level display hardware information
Fonts
- loading and manipulating fonts
Cursors
- standard and pixmap cursors.
Windows
- onscreen display areas in the target window system
Events
- functions for handling events from the window system.
Event Structures
- data structures specific to each type of event.
Key Values
- functions for manipulating keyboard codes.
Selections
- functions for transfering data via the X selection mechanism.
Drag and Drop
- functions for controlling drag and drop handling.
Properties and Atoms
- functions to manipulate properties on windows.
Threads
- functions for using GDK in multi-threaded programs
Input
- Callbacks on file descriptors.
Input Devices
- Functions for handling extended input devices.
Pango Interaction
-
X Window System Interaction
-
List of Examples
1.
Trapping an X error.
2.
Testing the number of screen on the current display
3.
Opening a second display
4.
A simple example program using GdkRGB.
5.
Constructing a pixel value from components
6.
Creating a custom cursor.
Next >>>
API Reference