MCPcopy Create free account
hub / github.com/gioui/gio / Pop

Method Pop

io/pointer/pointer.go:247–251  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

245}
246
247func (p PassStack) Pop() {
248 ops.PopOp(p.ops, ops.PassStack, p.id, p.macroID)
249 data := ops.Write(p.ops, ops.TypePopPassLen)
250 data[0] = byte(ops.TypePopPass)
251}
252
253func (op Cursor) Add(o *op.Ops) {
254 data := ops.Write(&o.Internal, ops.TypeCursorLen)

Callers 15

TestPointerMoveFunction · 0.45
TestPointerLeaveFunction · 0.45
TestPointerTypesFunction · 0.45
TestPointerSystemActionFunction · 0.45
TestPointerPriorityFunction · 0.45
TestMultipleAreasFunction · 0.45
TestCursorFunction · 0.45
TestPassOpFunction · 0.45
TestAreaPassthroughFunction · 0.45
TestEllipseFunction · 0.45
TestTransferFunction · 0.45

Calls 2

PopOpFunction · 0.92
WriteFunction · 0.92

Tested by 15

TestPointerMoveFunction · 0.36
TestPointerLeaveFunction · 0.36
TestPointerTypesFunction · 0.36
TestPointerSystemActionFunction · 0.36
TestPointerPriorityFunction · 0.36
TestMultipleAreasFunction · 0.36
TestCursorFunction · 0.36
TestPassOpFunction · 0.36
TestAreaPassthroughFunction · 0.36
TestEllipseFunction · 0.36
TestTransferFunction · 0.36