scoop:scoop.surface:0.1.0
scoop.surface
API
-
class
Animatable
Persistent value state. Active runs are owned and sampled by one timeline.
- interface AnimationConverter
- object AnimationConverters
-
class
AnimationGroup
Owns a set of values on the same timeline with an independent frame gate.
-
interface
AnimationReadObserver
Optional synchronous read tracking; the timeline remains the only animation scheduler.
-
interface
AnimationSource
The revision of one existing timeline value, without exposing its generic payload.
- enum AnimationSpec
- enum AnimationState
-
class
AnimationTimeline
Shared owner-thread animation clock, driven by Surface frames or explicit offline sampling.
-
struct
AnimationVector
Four scalar lanes cover the built-in scalar, geometry and RGBA animation values.
-
class
Easing
A unit-time cubic Bézier curve. X controls are monotonic; Y controls may overshoot.
- enum FocusOrigin
- enum FocusVisibility
-
struct
FrameCompletion
Submission and geometry publication have finished; this does not wait for the GPU.
-
class
FrameContext
One owner-thread frame; its Canvas is valid only while the painter runs.
- enum FrameSubmission
-
class
HostShortcutScope
Shared fallback after an attached window's ordinary and local shortcut defaults.
-
struct
InputActivity
Ownership that keeps a logical subtree involved in an input session.
-
class
InputArea
Stable input identity; geometry is supplied by each successfully submitted frame.
-
class
InputBoundary
Explicit input barrier; a retired scope stays blocking until this registration closes.
- enum InputBoundaryMode
- enum InputCancelReason
- enum InputContactEvent
-
enum
InputEvent
Text transactions and focus/hover transitions are delivered directly to their owner.
-
enum
InputGestureEvent
Native recognition and route cancellation share the ordinary input path.
-
struct
InputHit
An owned route entry with coordinates from the same accepted scene.
-
struct
InputPointer
Native state is retained; time can describe a later geometry-driven hover transition.
- enum InputPointerEvent
-
struct
InputPress
Snapshot before the current input domain starts delivering a press.
- enum InputPressSource
-
class
InputScope
A logical route node, with optional area geometry and independently replaceable handlers.
-
enum
InputScrollDelta
Pixel distances are logical; line distances retain their native unit.
-
enum
PointerObservation
Observation of this window, independent of hit testing and event consumption.
- class Repeat
- enum RepeatMode
-
class
RoutedEventContext
A synchronous delivery borrow; propagation and default cancellation are independent.
- enum RoutedPhase
- class ShortcutBinding
- class ShortcutBindingBuilder
-
class
ShortcutScope
Window-local shortcuts, executed after the current node's ordinary default behavior.
- class ShortcutsBuilder
-
interface
SurfaceContent
A root owned by one SurfaceWindow, closed before its renderer and native lease.
-
class
SurfaceHost
ApplicationHandler wrapper shared by Application.run and runWithAsyncio.
-
class
SurfaceWindow
Shared owner of painting, frame demand and the renderer's explicit window lease.
- enum SurfaceWindowState
-
class
WindowRegionHandle
Geometry comes from Accepted frames; eligibility can change independently.
- enum WindowRegionKind
-
function
addDefaultAction
Adds ordinary node behavior before the node's shortcut bindings.
-
function
addEventFinished
Registers uncancellable release cleanup alongside the owner's existing callback.
-
function
addEventHandler
Adds a Target, Bubble and Notification handler without replacing the area handler.
-
function
cancelContactClaim
Cancels only this scope's ownership of the specified contact.
-
function
cancelPointerClaim
Cancels a sequence only when this scope is its confirmed owner.
-
function
claimContacts
Atomically claims active contacts whose original paths contain this scope.
-
function
claimPointer
Claims the active button sequence without acquiring an OS pointer lock.
-
function
configureFpsReportingFromEnvironment
Reads SCOOP_SURFACE_FPS for future macOS Surface attachments. The exact value "1" enables stderr reporting. Existing attachments keep their settings.
- function createWindowRegion
-
function
observePointer
Does not capture input or provide a context that could consume the routed event.
- function place
- function shortcutBinding
- function shortcuts