Skip to main content

Type Alias: GtkScaleProps

GtkScaleProps = Omit<GtkRangeProps, "onNotify"> & object

Defined in: generated/jsx.ts:7816

Props for the GtkScale widget.

Type Declaration

NameTypeDescriptionDefined in
children?ReactNode-generated/jsx.ts:7825
digits?numberThe number of decimal places that are displayed in the value.generated/jsx.ts:7818
drawValue?booleanWhether the current value is displayed as a string next to the slider.generated/jsx.ts:7820
hasOrigin?booleanWhether the scale has an origin.generated/jsx.ts:7822
onNotify?(self, propName) => void | nullCalled when any property on this widget changes. Param The widget that emitted the notification Param The name of the property that changed (in kebab-case)generated/jsx.ts:7831
ref?Ref<Gtk.Scale>-generated/jsx.ts:7832
valuePos?Gtk.PositionTypeThe position in which the current value is displayed.generated/jsx.ts:7824