# tmuxp.plugin.TmuxpPlugin

- **Module:** tmuxp.plugin
- **Package:** tmuxp
- **Language:** Python
- **Kind:** class
- **Source:** https://github.com/tmux-python/tmuxp/blob/153acdf6ff1268b14d3d03ed488f545a7123c8f1/src/tmuxp/plugin.py#L174
- **Page:** https://libtmux.org/en/py/latest/workspace/reference/tmuxp-plugin-tmuxpplugin/

Base class for a tmuxp plugin.

## Members

- `__init__` (method): Initialize plugin.
- `before_workspace_builder` (method): Provide a session hook previous to creating the workspace.
- `on_window_create` (method): Provide a window hook previous to doing anything with a window.
- `after_window_finished` (method): Provide a window hook after creating the window.
- `before_script` (method): Provide a session hook after the workspace has been built.
- `reattach` (method): Provide a session hook before reattaching to the session.
