StatusBar-class: StatusBar widget

StatusBarR Documentation

StatusBar widget

Description

See status_bar().

Super class

Widget -> StatusBar

Public fields

paint_states

Names of state fields whose changes only need a repaint (see invalidate_paint()); used by set_state().

Active bindings

left

Text in the left region.

center

Text in the center region.

right

Text in the right region.

Methods

Public methods

Inherited methods

StatusBar$new()

State fields are reactive and can be updated directly.

Create a status bar. See status_bar().

Usage
StatusBar$new(
  left = "",
  center = "",
  right = "",
  id = NULL,
  classes = NULL,
  style = NULL,
  disabled = FALSE
)
Arguments
left, center, right

Region text.

id, classes, style

See Widget.

disabled

Is the widget disabled?


StatusBar$default_style()

The built-in one-row style.

Usage
StatusBar$default_style()

StatusBar$paint()

Paint the three text regions.

Usage
StatusBar$paint(buffer, area, st)
Arguments
buffer

A ScreenBuffer.

area

Visible rectangle.

st

Computed style.


StatusBar$clone()

The objects of this class are cloneable with this method.

Usage
StatusBar$clone(deep = FALSE)
Arguments
deep

Whether to make a deep clone.


termr documentation built on Oct. 21, 2026, 5:13 p.m.