Documentation
¶
Index ¶
- Constants
- func ReadMsg(r io.Reader) ([]byte, error)
- type Conn
- func (c *Conn) BounceMouse(m *Mouse) error
- func (c *Conn) Close() error
- func (c *Conn) Cursor(cursor *Cursor) error
- func (c *Conn) Cursor2(cursor *Cursor, cursor2 *Cursor2) error
- func (c *Conn) Init(label, winsize string) error
- func (c *Conn) Label(label string) error
- func (c *Conn) MoveTo(p image.Point) error
- func (c *Conn) RPC(tx, rx *Msg) error
- func (c *Conn) ReadDraw(b []byte) (int, error)
- func (c *Conn) ReadKbd() (r rune, err error)
- func (c *Conn) ReadMouse() (m Mouse, resized bool, err error)
- func (c *Conn) ReadSnarf(b []byte) (int, int, error)
- func (c *Conn) Resize(r image.Rectangle) error
- func (c *Conn) Top() error
- func (c *Conn) WriteDraw(b []byte) (int, error)
- func (c *Conn) WriteSnarf(snarf []byte) error
- type Cursor
- type Cursor2
- type Mouse
- type Msg
Constants ¶
View Source
const ( Rerror Trdmouse Rrdmouse Tmoveto Rmoveto Tcursor Rcursor Tbouncemouse Rbouncemouse Trdkbd Rrdkbd Tlabel Rlabel Tinit Rinit Trdsnarf Rrdsnarf Twrsnarf Rwrsnarf Trddraw Rrddraw Twrdraw Rwrdraw Ttop Rtop Tresize Rresize Tcursor2 Rcursor2 Tctxt Rctxt Trdkbd4 Rrdkbd4 Tmax )
View Source
const MAXMSG = 4 << 20
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Conn ¶
type Conn struct {
// contains filtered or unexported fields
}
func (*Conn) BounceMouse ¶
func (*Conn) WriteSnarf ¶
Click to show internal directories.
Click to hide internal directories.