Skip to main content

Crate rotulus

Crate rotulus 

Source
Expand description

Rotulus — a GTK4 scrollback view for text-stream chat.

The GTK skin over rotulus_layout. All the layout logic lives in that crate and is tested headless; this one owns the widget, the Pango font backend, and the C ABI declared in include/rotulus.h.

What it promises, and what it doesn’t, is in docs/design.md.

§Translations

The widget’s few strings (its context menus) are looked up in the rotulus gettext domain. An application that ships the catalog binds it the usual way, bindtextdomain("rotulus", localedir); one that doesn’t gets English.

Re-exports§

pub use measure::PangoMeasure;
pub use view::AvatarFunc;
pub use view::LoadDirection;
pub use view::RotulusView;

Modules§

ffi
The C ABI declared in include/rotulus.h.
links
Autolinking message bodies.
measure
Pango-backed TextMeasure.
message_ffi
RotulusMessage: the row API for language bindings.
mirc_ffi
The C side of rotulus-mirc: IRC formatting codes as run arrays.
view
RotulusView — the GTK4 chat output widget.

Constants§

GETTEXT_DOMAIN
The gettext domain the widget’s own strings live in.