xhb-0.1.2009.2.8: X Haskell Bindings

Graphics.XHB.Connection.Extension

Synopsis

Documentation

extensionInfo :: Connection -> ExtensionId -> IO QueryExtensionReplySource

Lookup an extension. Will attempt to check the extension cache first. Will block until the info is retrieved from the server. Will cache the extension information when found.

serializeExtensionRequest :: ExtensionRequest a => Connection -> a -> IO PutSource

Convert an extension request to a put action. Handles grabbing the extension opcode and feeding it into the serializeRequest function.