Documentation
¶
Index ¶
- Variables
- type Window
- func (win *Window) Close() error
- func (win *Window) GetCPPaste(i event.CopyPasteIndex, fn func(string, error))
- func (win *Window) Image() draw.Image
- func (win *Window) NextEvent() interface{}
- func (win *Window) PutImage(rect image.Rectangle) error
- func (win *Window) QueryPointer() (image.Point, error)
- func (win *Window) ResizeImage(r image.Rectangle) error
- func (win *Window) SetCPCopy(i event.CopyPasteIndex, v string) error
- func (win *Window) SetCursor(c event.Cursor)
- func (win *Window) SetWindowName(str string)
- func (win *Window) WarpPointer(p image.Point)
Constants ¶
This section is empty.
Variables ¶
View Source
var Atoms struct { NetWMName xproto.Atom `loadAtoms:"_NET_WM_NAME"` Utf8String xproto.Atom `loadAtoms:"UTF8_STRING"` }
Functions ¶
This section is empty.
Types ¶
type Window ¶
type Window struct {
Conn *xgb.Conn
Window xproto.Window
Screen *xproto.ScreenInfo
GCtx xproto.Gcontext
Paste *copypaste.Paste
Copy *copypaste.Copy
Cursors *xcursors.Cursors
XInput *xinput.XInput
Wmp *wmprotocols.WMP
Dnd *dragndrop.Dnd
WImg wimage.WImage
// contains filtered or unexported fields
}
func (*Window) GetCPPaste ¶
func (win *Window) GetCPPaste(i event.CopyPasteIndex, fn func(string, error))
func (*Window) SetWindowName ¶
func (*Window) WarpPointer ¶
Click to show internal directories.
Click to hide internal directories.