Part II. API Reference

Table of Contents

File Operations
GFile — File and Directory Handling
GFileAttribute — Key-Value Paired File Attributes
GFileInfo — File Information and Attributes
GFileEnumerator — Enumerated Files Routines
GIOError — Error helper functions
GMountOperation — Object used for authentication and user interaction
File System Monitoring
GFileMonitor — File Monitor
Asynchronous I/O
GCancellable — Thread-safe Operation Cancellation Stack
GAsyncResult — Asynchronous Function Results
GIOScheduler — I/O Scheduler
GSimpleAsyncResult — Simple asynchronous results implementation
Streaming I/O
GSeekable — Stream seeking interface
GInputStream — Base class for implementing streaming input
GOutputStream — Base class for implementing streaming output
GIOStream — Base class for implementing read/write streams
GFileInputStream — File input streaming operations
GFileOutputStream — File output streaming operations
GFileIOStream — File read and write streaming operations
GFilterInputStream — Filter Input Stream
GFilterOutputStream — Filter Output Stream
GMemoryInputStream — Streaming input operations on memory chunks
GMemoryOutputStream — Streaming output operations on memory chunks
GBufferedInputStream — Buffered Input Stream
GBufferedOutputStream — Buffered Output Stream
GDataInputStream — Data Input Stream
GDataOutputStream — Data Output Stream
GUnixInputStream — Streaming input operations for UNIX file descriptors
GUnixOutputStream — Streaming output operations for Unix file descriptors
File types and applications
GContentType — Platform-specific content typing
GAppInfo — Application information and launch contexts
Desktop file based GAppInfo — Application information from desktop files
Volumes and Drives
GVolumeMonitor — Volume Monitor
GVolume — Volume management
GMount — Mount management
GDrive — Drive management
Unix Mounts — Unix Mounts
Icons
GIcon — Interface for icons
GFileIcon — Icons pointing to an image file
GLoadableIcon — Loadable Icons
GThemedIcon — Icon theming support
GEmblemedIcon — Icon with emblems
GEmblem — An object for emblems
Failable Initialization
GInitable — Failable object initialization interface
GAsyncInitable — Asynchronously failable object initialization interface
Lowlevel platform-independent network support
GSocket — Low-level socket object
GInetAddress — An IPv4/IPv6 address
GSocketAddress — Abstract base class representing endpoints for socket communication
GInetSocketAddress — Internet GSocketAddress
GUnixSocketAddress — UNIX GSocketAddress
GSocketControlMessage — A GSocket control message
GUnixFDMessage — A GSocketControlMessage containing a list of file descriptors
DNS resolution
GResolver — Asynchronous and cancellable DNS resolver
GSocketConnectable — Interface for potential socket endpoints
GNetworkAddress — A GSocketConnectable for resolving hostnames
GNetworkService — A GSocketConnectable for resolving SRV records
GSrvTarget — DNS SRV record target
Highlevel network functionallity
GSocketClient — Helper for connecting to a network service
GSocketConnection — A socket connection
GSocketListener — Helper for accepting network client connections
GSocketService — Make it easy to implement a network service
GThreadedSocketService — A threaded GSocketService
Utilities
GFilenameCompleter — Filename Completer
Extending GIO
GVfs — Virtual File System
GIOModule — Loadable GIO Modules
Extension Points — Extension Points