xlib

package
v0.0.0-...-ddd30f8 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Feb 22, 2016 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func XMain

func XMain(callbacks Callbacks)

Types

type Callbacks

type Callbacks interface {
	Draw(*cairo.Context, *cairo.XlibSurface)
}

type Window

type Window struct {
	// contains filtered or unexported fields
}

type XEventType

type XEventType int
const (
	KeyPress         XEventType = 2
	KeyRelease       XEventType = 3
	ButtonPress      XEventType = 4
	ButtonRelease    XEventType = 5
	MotionNotify     XEventType = 6
	EnterNotify      XEventType = 7
	LeaveNotify      XEventType = 8
	FocusIn          XEventType = 9
	FocusOut         XEventType = 10
	KeymapNotify     XEventType = 11
	Expose           XEventType = 12
	GraphicsExpose   XEventType = 13
	NoExpose         XEventType = 14
	VisibilityNotify XEventType = 15
	CreateNotify     XEventType = 16
	DestroyNotify    XEventType = 17
	UnmapNotify      XEventType = 18
	MapNotify        XEventType = 19
	MapRequest       XEventType = 20
	ReparentNotify   XEventType = 21
	ConfigureNotify  XEventType = 22
	ConfigureRequest XEventType = 23
	GravityNotify    XEventType = 24
	ResizeRequest    XEventType = 25
	CirculateNotify  XEventType = 26
	CirculateRequest XEventType = 27
	PropertyNotify   XEventType = 28
	SelectionClear   XEventType = 29
	SelectionRequest XEventType = 30
	SelectionNotify  XEventType = 31
	ColormapNotify   XEventType = 32
	ClientMessage    XEventType = 33
	MappingNotify    XEventType = 34
	GenericEvent     XEventType = 35
)

func (XEventType) String

func (i XEventType) String() string

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL