# libtmux.hooks.HooksMixin.__init__

- **Module:** libtmux.hooks
- **Package:** libtmux
- **Language:** Python
- **Kind:** method
- **Source:** https://github.com/tmux-python/libtmux/blob/38e368c11117fb4aeb2f082d552cd4f210eae06a/src/libtmux/hooks.py#L68
- **Page:** https://libtmux.org/en/py/stable/reference/libtmux-hooks-hooksmixin-__init__/

tmux catalog: [Hooks](/en/tmux/latest/catalog/hooks/)

```
libtmux.hooks.HooksMixin.__init__(
    self, default_hook_scope: OptionScope | None
) -> None
```

When not a user (custom) hook, scope can be implied.

## Parameters

- `default_hook_scope` (`OptionScope | None`)
