Documentation ¶
Index ¶
Constants ¶
View Source
const ( Expose = int(C.Expose) KeyPress = int(C.KeyPress) KeyRelease = int(C.KeyRelease) )
View Source
const ( NoEventMask = int64(C.NoEventMask) KeyPressMask = int64(C.KeyPressMask) KeyReleaseMask = int64(C.KeyReleaseMask) ButtonPressMask = int64(C.ButtonPressMask) ButtonReleaseMask = int64(C.ButtonReleaseMask) EnterWindowMask = int64(C.EnterWindowMask) LeaveWindowMask = int64(C.LeaveWindowMask) PointerMotionMask = int64(C.PointerMotionMask) PointerMotionHintMask = int64(C.PointerMotionHintMask) Button1MotionMask = int64(C.Button1MotionMask) Button2MotionMask = int64(C.Button2MotionMask) Button3MotionMask = int64(C.Button3MotionMask) Button4MotionMask = int64(C.Button4MotionMask) Button5MotionMask = int64(C.Button5MotionMask) ButtonMotionMask = int64(C.ButtonMotionMask) KeymapStateMask = int64(C.KeymapStateMask) ExposureMask = int64(C.ExposureMask) VisibilityChangeMask = int64(C.VisibilityChangeMask) StructureNotifyMask = int64(C.StructureNotifyMask) ResizeRedirectMask = int64(C.ResizeRedirectMask) SubstructureNotifyMask = int64(C.SubstructureNotifyMask) SubstructureRedirectMask = int64(C.SubstructureRedirectMask) FocusChangeMask = int64(C.FocusChangeMask) PropertyChangeMask = int64(C.PropertyChangeMask) ColorMapChangeMask = int64(C.ColormapChangeMask) OwnerGrabButtonMask = int64(C.OwnerGrabButtonMask) )
Variables ¶
View Source
var OpenDisplayError = errors.New("cannot open display")
Functions ¶
This section is empty.
Types ¶
type Display ¶
type Display struct {
// contains filtered or unexported fields
}
func OpenDisplay ¶
func OpenDisplay() (display *Display)
func (*Display) CreateSimpleWindow ¶
func (*Display) GetDefaultScreen ¶
type Screen ¶
type Screen struct {
// contains filtered or unexported fields
}
func (*Screen) GetRootWindow ¶
Click to show internal directories.
Click to hide internal directories.