Documentation ¶
Overview ¶
Package xcb implements X11 ChangeHosts via libxcb.
Index ¶
Constants ¶
View Source
const ( HostModeInsert = C.XCB_HOST_MODE_INSERT HostModeDelete = C.XCB_HOST_MODE_DELETE FamilyInternet = C.XCB_FAMILY_INTERNET FamilyDecnet = C.XCB_FAMILY_DECNET FamilyChaos = C.XCB_FAMILY_CHAOS FamilyServerInterpreted = C.XCB_FAMILY_SERVER_INTERPRETED FamilyInternet6 = C.XCB_FAMILY_INTERNET_6 )
View Source
const ( ConnError = C.XCB_CONN_ERROR ConnClosedExtNotSupported = C.XCB_CONN_CLOSED_EXT_NOTSUPPORTED ConnClosedMemInsufficient = C.XCB_CONN_CLOSED_MEM_INSUFFICIENT ConnClosedReqLenExceed = C.XCB_CONN_CLOSED_REQ_LEN_EXCEED ConnClosedParseErr = C.XCB_CONN_CLOSED_PARSE_ERR ConnClosedInvalidScreen = C.XCB_CONN_CLOSED_INVALID_SCREEN )
Variables ¶
View Source
var ErrChangeHosts = errors.New("xcb_change_hosts() failed")
Functions ¶
Types ¶
type ConnectionError ¶
type ConnectionError struct {
// contains filtered or unexported fields
}
func (*ConnectionError) Error ¶
func (ce *ConnectionError) Error() string
type Family ¶ added in v0.2.3
type Family = C.xcb_family_t
type HostMode ¶ added in v0.2.3
type HostMode = C.xcb_host_mode_t
Click to show internal directories.
Click to hide internal directories.