Skip to main content

Type Alias: ScaleMark

ScaleMark = object

Defined in: jsx.ts:38

Configuration for a mark on a GtkScale widget.

Marks are visual indicators placed along the scale at specific values, optionally with text labels.

See

GtkScale.add_mark

Properties

label?

optional label: string | null

Defined in: jsx.ts:44

Optional text label to display at the mark


position?

optional position: Gtk.PositionType

Defined in: jsx.ts:42

Position of the mark relative to the scale (default: BOTTOM)


value

value: number

Defined in: jsx.ts:40

The value at which to place the mark