package brr

  1. Overview
  2. Docs
Legend:
Library
Module
Module type
Parameter
Class
Class type

Window clients.

type t

The type for WindowClient objects.

val as_client : t -> client

as_client w is w as a client.

val visibility_state : t -> Visibility_state.t

visibility_state w is the visibility state of w.

val focused : t -> bool

focused w indicates if w is focused.

val ancestor_origins : t -> Jstr.t list

ancestor_origins w are the ancestor origins of w.

val focus : t -> t Fut.or_error

focus w focuses w.

val navigate : t -> Jstr.t -> t Fut.or_error

navigate w uri loads uri in w.