Debian Codegraph @

text_cursor_position.go

raw symbols SCIP
1 package wl
2
3 const (
4 _TEXT_CURSOR_POSITION_NOTIFY = 0
5 )
6
7 type TextCursorPosition struct {
8 BaseProxy
9 }
10
11 func NewTextCursorPosition(conn *Context) *TextCursorPosition {
12 ret := new(TextCursorPosition)
13 conn.Register(ret)
14 return ret
15 }
16
17 func (p *TextCursorPosition) Notify(surface *Surface, x float32, y float32) error {
18 return p.Context().SendRequest(p, _TEXT_CURSOR_POSITION_NOTIFY, surface, x, y)
19 }