Core LibrarystableAPI Reference

Choose documentation 3

stable

Current version

stable
English

Prerelease This site documents an alpha of libtmux. Its structure, URLs and APIs are subject to change.

class libtmux stable

HooksMixin

Mixin for manager scoped hooks in tmux.

Base types CmdMixin
Source and package
Qualified name
libtmux.hooks.HooksMixin
Module
libtmux.hooks
Package
libtmux
Source
src/libtmux/hooks.py
class libtmux.hooks.HooksMixin

Description#

Requires tmux 3.1+. For older versions, use raw commands.

tmux catalog Hooks

Members11#

Common operations3#

  • set_hooks method Set multiple indexed hooks at once.
  • show_hook method Return value for a hook.
  • show_hooks method Return a dict of hooks for the target.

Other members8#

Inherited members1 member#

Reached through libtmux.common.CmdMixin.

Esc

Type to search.

Reference preview Open reference