Skip to main content

Type Alias: GtkSourceGutterRendererProps

GtkSourceGutterRendererProps = WidgetProps & object

Defined in: generated/jsx.ts:4971

Props for the GtkSourceGutterRenderer widget.

Type Declaration

NameTypeDescriptionDefined in
alignmentMode?GtkSource.GutterRendererAlignmentModeThe alignment mode of the renderer. This can be used to indicate that in the case a cell spans multiple lines (due to text wrapping) the alignment should work on either the full cell, the first line or the last line.generated/jsx.ts:4978
onActivate()?(self, iter, area, button, state, nPresses) => void | nullThe signal is emitted when the renderer is activated.generated/jsx.ts:4998
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:5014
onQueryActivatable()?(self, iter, area) => boolean | nullThe signal is emitted when the renderer can possibly be activated.generated/jsx.ts:5007
onQueryData()?(self, object, p0) => void | null-generated/jsx.ts:5008
ref?Ref<GtkSource.GutterRenderer>-generated/jsx.ts:5017
xalign?numberThe horizontal alignment of the renderer. Set to 0 for a left alignment. 1 for a right alignment. And 0.5 for centering the cells. A value lower than 0 doesn't modify the alignment.generated/jsx.ts:4985
xpad?numberThe left and right padding of the renderer.generated/jsx.ts:4987
yalign?numberThe vertical alignment of the renderer. Set to 0 for a top alignment. 1 for a bottom alignment. And 0.5 for centering the cells. A value lower than 0 doesn't modify the alignment.generated/jsx.ts:4994
ypad?numberThe top and bottom padding of the renderer.generated/jsx.ts:4996