Core Library0.xAPI Reference

Choose documentation 1

latest

Current version

latest
English

Early release libtmux is released, and its APIs may still change between releases. This site's structure and URLs may change too.

class libtmux-raku latest

Client.MenuItem

A menu entry. Empty labels are separators; labels retain tmux display styles.

Source and package
Qualified name
LibTmux::Client::MenuItem
Module
LibTmux
Declared in
Client
Package
LibTmux
Source
lib/LibTmux/Client.rakumod
Anonymous class

Description#

A menu entry. Empty labels are separators; labels retain tmux display styles.

Members5#

  • clone method Revalidate a modified entry, including separator and command consistency.
  • command: Invocation property Command executed on selection; undefined only for a separator.
  • disabled: Bool:D property Render an unavailable item whose command cannot be selected.
  • key: Str:D property Native tmux key name; empty text leaves the item without a shortcut.
  • label: Str:D property Display text with tmux styles retained; an empty label creates a separator.
Esc

Type to search.

Reference previewOpen reference