Skip to main content

Type Alias: ScaleMark

ScaleMark = object

Defined in: packages/react/src/jsx.ts:309

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: packages/react/src/jsx.ts:315

Optional text label to display at the mark


position?

optional position: Gtk.PositionType

Defined in: packages/react/src/jsx.ts:313

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


value

value: number

Defined in: packages/react/src/jsx.ts:311

The value at which to place the mark