# LibTmux.SetHooksRequest

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

Describes setting several entries of one hook at once.

A tmux hook is an array, and the indices decide the order its commands run
in. Writing them together is the only way to land a whole ordering without
the hook firing part-written in between.

## Members

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