Core LibraryAPI Reference

Choose documentation 3

latest

Current version

latest
English

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

C# API

method libtmux-dotnet latest

Pane.SetWidthAsync

Namespace LibTmux.Pane.SetWidthAsync LibTmux

Sets this pane's width.

View as Markdown

Source and package
Module
LibTmux
Declared in
Pane
Package
LibTmux
Source
src/LibTmux/Pane.Topology.cs
Other languages
Python Ruby Lua TypeScript Rust Go Java C++ Swift Kotlin Scala F#
SetWidthAsync ( width : int , cancellationToken : CancellationToken ) → Task<Pane>
method [source]
Parameters
  • width ( int ) – The width in cells.

  • cancellationToken ( CancellationToken ) – Cancels the tmux command.

Returns

A replacement handle carrying the new size.

In other ports Set a pane's width
  • Python libtmux.Pane.set_width
  • 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 Pane
  • Rust no equivalent on Pane
  • Go tmux.Pane.SetWidth
  • Java no equivalent on Pane
  • C++ libtmux::Pane::set_width
  • Swift no equivalent on Pane
  • 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.