func Init(c *xgb.Conn) error
Init must be called before using the BIG-REQUESTS extension.
EnableCookie is a cookie used only for Enable requests.
type EnableCookie struct { *xgb.Cookie }
func Enable(c *xgb.Conn) EnableCookie
Enable sends a checked request. If an error occurs, it will be returned with the reply by calling EnableCookie.Reply()
func EnableUnchecked(c *xgb.Conn) EnableCookie
EnableUnchecked sends an unchecked request. If an error occurs, it can only be retrieved using xgb.WaitForEvent or xgb.PollForEvent.
func (cook EnableCookie) Reply() (*EnableReply, error)
Reply blocks and returns the reply data for a Enable request.
EnableReply represents the data returned from a Enable request.
type EnableReply struct { Sequence uint16 // sequence number of the request for this reply Length uint32 // number of bytes in this reply // padding: 1 bytes MaximumRequestLength uint32 }