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.

Python API

method libtmux stable

Window.run_hook

Run a hook immediately. Useful for testing.

Source and package
Qualified name
libtmux.Window.run_hook
Module
libtmux
Declared in
Window
Package
libtmux
Source
src/libtmux/hooks.py
Other languages
PowerShell Julia Ruby Lua TypeScript Rust Go Java C# C++ Swift Kotlin Scala F#
run_hook ( self, hook: str, global_: bool | None = None, scope: OptionScope | _DefaultOptionScope | None = DEFAULT_OPTION_SCOPE, ) → Self

Inherited from libtmux.hooks.HooksMixin

tmux catalog Hooks

In other ports Run a window hook's commands now
  • PowerShell
    No source-verified PowerShell equivalent is recorded for this operation.
  • Julia
    No source-verified Julia equivalent is recorded for this operation.
  • Ruby
    No source-verified Ruby equivalent is recorded for this operation.
  • Lua
    No source-verified Lua equivalent is recorded for this operation.
  • TypeScript
    no equivalent on Window
  • Rust
    no equivalent on Window
  • Go
  • Java
    no equivalent on Window
  • C#
    no equivalent on Window
  • C++
    no equivalent on Window
  • Swift
  • Kotlin
    No source-verified Kotlin equivalent is recorded for this operation.
  • Scala
    No source-verified Scala equivalent is recorded for this operation.
  • F#
    No source-verified F# equivalent is recorded for this operation.
Esc

Type to search.

Reference preview Open reference