# LibTmux.SetHooksRequest

- **Module:** LibTmux
- **Package:** LibTmux
- **Language:** C#
- **Kind:** struct
- **Source:** https://github.com/libtmux/libtmux-dotnet/blob/cf34b255c896d19a97e7d7fabea58609c916012d/src/LibTmux/Requests/SetHooksRequest.cs#L11
- **Page:** https://libtmux.org/en/csharp/latest/reference/libtmux-sethooksrequest/

Describes setting several entries of one hook.

A tmux hook is an array, and the indices decide the order its commands run
in. Entries are written sequentially in index order, without a transaction.
The hook may fire between writes, and failure leaves earlier writes applied.

## Members

### Other members

- `ClearExisting` (property): Gets whether entries already there are removed first.
- `Global` (property): Gets whether the global table is set instead of the local one.
- `Name` (property): Gets the hook name, without an index.
- `Scope` (property): Gets the scope to set in, or null for the owner's own.
- `SetHooksRequest` (method): Initializes a request to set several entries of one hook.
- `Values` (property): Gets the command to place at each index.
