@gtkx/react / GtkSourceMapProps
Interface: GtkSourceMapProps
Defined in: packages/react/src/generated/jsx.ts:5089
Props for the GtkSourceMap widget.
Extends
Properties
acceptsTab?
optionalacceptsTab?:boolean
Defined in: packages/react/src/generated/jsx.ts:8186
Whether Tab will result in a tab character being entered.
Inherited from
accessibleActiveDescendant?
optionalaccessibleActiveDescendant?:Widget
Defined in: packages/react/src/jsx.ts:834
Inherited from
GtkSourceViewProps.accessibleActiveDescendant
accessibleAutocomplete?
optionalaccessibleAutocomplete?:AccessibleAutocomplete
Defined in: packages/react/src/jsx.ts:803
Inherited from
GtkSourceViewProps.accessibleAutocomplete
accessibleBusy?
optionalaccessibleBusy?:boolean
Defined in: packages/react/src/jsx.ts:824
Inherited from
GtkSourceViewProps.accessibleBusy
accessibleChecked?
optionalaccessibleChecked?:AccessibleTristate
Defined in: packages/react/src/jsx.ts:825
Inherited from
GtkSourceViewProps.accessibleChecked
accessibleColCount?
optionalaccessibleColCount?:number
Defined in: packages/react/src/jsx.ts:835
Inherited from
GtkSourceViewProps.accessibleColCount
accessibleColIndex?
optionalaccessibleColIndex?:number
Defined in: packages/react/src/jsx.ts:836
Inherited from
GtkSourceViewProps.accessibleColIndex
accessibleColIndexText?
optionalaccessibleColIndexText?:string
Defined in: packages/react/src/jsx.ts:837
Inherited from
GtkSourceViewProps.accessibleColIndexText
accessibleColSpan?
optionalaccessibleColSpan?:number
Defined in: packages/react/src/jsx.ts:838
Inherited from
GtkSourceViewProps.accessibleColSpan
accessibleControls?
optionalaccessibleControls?:Widget[]
Defined in: packages/react/src/jsx.ts:839
Inherited from
GtkSourceViewProps.accessibleControls
accessibleDescribedBy?
optionalaccessibleDescribedBy?:Widget[]
Defined in: packages/react/src/jsx.ts:840
Inherited from
GtkSourceViewProps.accessibleDescribedBy
accessibleDescription?
optionalaccessibleDescription?:string
Defined in: packages/react/src/jsx.ts:804
Inherited from
GtkSourceViewProps.accessibleDescription
accessibleDetails?
optionalaccessibleDetails?:Widget[]
Defined in: packages/react/src/jsx.ts:841
Inherited from
GtkSourceViewProps.accessibleDetails
accessibleDisabled?
optionalaccessibleDisabled?:boolean
Defined in: packages/react/src/jsx.ts:826
Inherited from
GtkSourceViewProps.accessibleDisabled
accessibleErrorMessage?
optionalaccessibleErrorMessage?:Widget[]
Defined in: packages/react/src/jsx.ts:842
Inherited from
GtkSourceViewProps.accessibleErrorMessage
accessibleExpanded?
optionalaccessibleExpanded?:boolean
Defined in: packages/react/src/jsx.ts:827
Inherited from
GtkSourceViewProps.accessibleExpanded
accessibleFlowTo?
optionalaccessibleFlowTo?:Widget[]
Defined in: packages/react/src/jsx.ts:843
Inherited from
GtkSourceViewProps.accessibleFlowTo
accessibleHasPopup?
optionalaccessibleHasPopup?:boolean
Defined in: packages/react/src/jsx.ts:805
Inherited from
GtkSourceViewProps.accessibleHasPopup
accessibleHelpText?
optionalaccessibleHelpText?:string
Defined in: packages/react/src/jsx.ts:822
Inherited from
GtkSourceViewProps.accessibleHelpText
accessibleHidden?
optionalaccessibleHidden?:boolean
Defined in: packages/react/src/jsx.ts:828
Inherited from
GtkSourceViewProps.accessibleHidden
accessibleInvalid?
optionalaccessibleInvalid?:AccessibleInvalidState
Defined in: packages/react/src/jsx.ts:829
Inherited from
GtkSourceViewProps.accessibleInvalid
accessibleKeyShortcuts?
optionalaccessibleKeyShortcuts?:string
Defined in: packages/react/src/jsx.ts:806
Inherited from
GtkSourceViewProps.accessibleKeyShortcuts
accessibleLabel?
optionalaccessibleLabel?:string
Defined in: packages/react/src/jsx.ts:807
Inherited from
GtkSourceViewProps.accessibleLabel
accessibleLabelledBy?
optionalaccessibleLabelledBy?:Widget[]
Defined in: packages/react/src/jsx.ts:844
Inherited from
GtkSourceViewProps.accessibleLabelledBy
accessibleLevel?
optionalaccessibleLevel?:number
Defined in: packages/react/src/jsx.ts:808
Inherited from
GtkSourceViewProps.accessibleLevel
accessibleModal?
optionalaccessibleModal?:boolean
Defined in: packages/react/src/jsx.ts:809
Inherited from
GtkSourceViewProps.accessibleModal
accessibleMultiLine?
optionalaccessibleMultiLine?:boolean
Defined in: packages/react/src/jsx.ts:810
Inherited from
GtkSourceViewProps.accessibleMultiLine
accessibleMultiSelectable?
optionalaccessibleMultiSelectable?:boolean
Defined in: packages/react/src/jsx.ts:811
Inherited from
GtkSourceViewProps.accessibleMultiSelectable
accessibleOrientation?
optionalaccessibleOrientation?:Orientation
Defined in: packages/react/src/jsx.ts:812
Inherited from
GtkSourceViewProps.accessibleOrientation
accessibleOwns?
optionalaccessibleOwns?:Widget[]
Defined in: packages/react/src/jsx.ts:845
Inherited from
GtkSourceViewProps.accessibleOwns
accessiblePlaceholder?
optionalaccessiblePlaceholder?:string
Defined in: packages/react/src/jsx.ts:813
Inherited from
GtkSourceViewProps.accessiblePlaceholder
accessiblePosInSet?
optionalaccessiblePosInSet?:number
Defined in: packages/react/src/jsx.ts:846
Inherited from
GtkSourceViewProps.accessiblePosInSet
accessiblePressed?
optionalaccessiblePressed?:AccessibleTristate
Defined in: packages/react/src/jsx.ts:830
Inherited from
GtkSourceViewProps.accessiblePressed
accessibleReadOnly?
optionalaccessibleReadOnly?:boolean
Defined in: packages/react/src/jsx.ts:814
Inherited from
GtkSourceViewProps.accessibleReadOnly
accessibleRequired?
optionalaccessibleRequired?:boolean
Defined in: packages/react/src/jsx.ts:815
Inherited from
GtkSourceViewProps.accessibleRequired
accessibleRole?
optionalaccessibleRole?:AccessibleRole
Defined in: packages/react/src/generated/jsx.ts:187
The accessible role of the given GtkAccessible implementation.
The accessible role cannot be changed once set.
Inherited from
GtkSourceViewProps.accessibleRole
accessibleRoleDescription?
optionalaccessibleRoleDescription?:string
Defined in: packages/react/src/jsx.ts:816
Inherited from
GtkSourceViewProps.accessibleRoleDescription
accessibleRowCount?
optionalaccessibleRowCount?:number
Defined in: packages/react/src/jsx.ts:847
Inherited from
GtkSourceViewProps.accessibleRowCount
accessibleRowIndex?
optionalaccessibleRowIndex?:number
Defined in: packages/react/src/jsx.ts:848
Inherited from
GtkSourceViewProps.accessibleRowIndex
accessibleRowIndexText?
optionalaccessibleRowIndexText?:string
Defined in: packages/react/src/jsx.ts:849
Inherited from
GtkSourceViewProps.accessibleRowIndexText
accessibleRowSpan?
optionalaccessibleRowSpan?:number
Defined in: packages/react/src/jsx.ts:850
Inherited from
GtkSourceViewProps.accessibleRowSpan
accessibleSelected?
optionalaccessibleSelected?:boolean
Defined in: packages/react/src/jsx.ts:831
Inherited from
GtkSourceViewProps.accessibleSelected
accessibleSetSize?
optionalaccessibleSetSize?:number
Defined in: packages/react/src/jsx.ts:851
Inherited from
GtkSourceViewProps.accessibleSetSize
accessibleSort?
optionalaccessibleSort?:AccessibleSort
Defined in: packages/react/src/jsx.ts:817
Inherited from
GtkSourceViewProps.accessibleSort
accessibleValueMax?
optionalaccessibleValueMax?:number
Defined in: packages/react/src/jsx.ts:818
Inherited from
GtkSourceViewProps.accessibleValueMax
accessibleValueMin?
optionalaccessibleValueMin?:number
Defined in: packages/react/src/jsx.ts:819
Inherited from
GtkSourceViewProps.accessibleValueMin
accessibleValueNow?
optionalaccessibleValueNow?:number
Defined in: packages/react/src/jsx.ts:820
Inherited from
GtkSourceViewProps.accessibleValueNow
accessibleValueText?
optionalaccessibleValueText?:string
Defined in: packages/react/src/jsx.ts:821
Inherited from
GtkSourceViewProps.accessibleValueText
accessibleVisited?
optionalaccessibleVisited?:boolean
Defined in: packages/react/src/jsx.ts:832
Inherited from
GtkSourceViewProps.accessibleVisited
autoIndent?
optionalautoIndent?:boolean
Defined in: packages/react/src/generated/jsx.ts:8784
Inherited from
backgroundPattern?
optionalbackgroundPattern?:BackgroundPatternType
Defined in: packages/react/src/generated/jsx.ts:8786
Draw a specific background pattern on the view.
Inherited from
GtkSourceViewProps.backgroundPattern
bottomMargin?
optionalbottomMargin?:number
Defined in: packages/react/src/generated/jsx.ts:8196
The bottom margin for text in the text view.
Note that this property is confusingly named. In CSS terms, the value set here is padding, and it is applied in addition to the padding from the theme.
Don't confuse this property with Widget.margin-bottom.
Inherited from
GtkSourceViewProps.bottomMargin
canFocus?
optionalcanFocus?:boolean
Defined in: packages/react/src/generated/jsx.ts:24
Whether the widget or any of its descendents can accept the input focus.
This property is meant to be set by widget implementations, typically in their instance init function.
Inherited from
canTarget?
optionalcanTarget?:boolean
Defined in: packages/react/src/generated/jsx.ts:26
Whether the widget can receive pointer events.
Inherited from
children?
optionalchildren?:ReactNode
Defined in: packages/react/src/generated/jsx.ts:312
Children elements (child widgets or event controllers).
Inherited from
cssClasses?
optionalcssClasses?:string[]
Defined in: packages/react/src/generated/jsx.ts:28
A list of css classes applied to this widget.
Inherited from
cssName?
optionalcssName?:string
Defined in: packages/react/src/generated/jsx.ts:35
The name of this widget in the CSS tree.
This property is meant to be set by widget implementations, typically in their instance init function.
Inherited from
cursor?
optionalcursor?:Cursor|null
Defined in: packages/react/src/generated/jsx.ts:37
The cursor used by widget.
Inherited from
cursorVisible?
optionalcursorVisible?:boolean
Defined in: packages/react/src/generated/jsx.ts:8198
If the insertion cursor is shown.
Inherited from
GtkSourceViewProps.cursorVisible
editable?
optionaleditable?:boolean
Defined in: packages/react/src/generated/jsx.ts:8200
Whether the text can be modified by the user.
Inherited from
enableSnippets?
optionalenableSnippets?:boolean
Defined in: packages/react/src/generated/jsx.ts:8796
The property denotes if snippets should be expanded when the user presses Tab after having typed a word matching the snippets found in GtkSourceSnippetManager.
The user may tab through focus-positions of the snippet if any are available by pressing Tab repeatedly until the desired focus position is selected.
Inherited from
GtkSourceViewProps.enableSnippets
enableUndo?
optionalenableUndo?:boolean
Defined in: packages/react/src/jsx.ts:653
Whether undo/redo is enabled on the text buffer
Inherited from
extraMenu?
optionalextraMenu?:MenuModel|null
Defined in: packages/react/src/generated/jsx.ts:8202
A menu model whose contents will be appended to the context menu.
Inherited from
focusable?
optionalfocusable?:boolean
Defined in: packages/react/src/generated/jsx.ts:45
Whether this widget itself will accept the input focus.
Inherited from
focusOnClick?
optionalfocusOnClick?:boolean
Defined in: packages/react/src/generated/jsx.ts:43
Whether the widget should grab focus when it is clicked with the mouse.
This property is only relevant for widgets that can take focus.
Inherited from
GtkSourceViewProps.focusOnClick
fontDesc?
optionalfontDesc?:FontDescription
Defined in: packages/react/src/generated/jsx.ts:5090
hadjustment?
optionalhadjustment?:Adjustment
Defined in: packages/react/src/generated/jsx.ts:8288
Horizontal GtkAdjustment of the scrollable widget.
This adjustment is shared between the scrollable widget and its parent.
Inherited from
GtkSourceViewProps.hadjustment
halign?
optionalhalign?:Align
Defined in: packages/react/src/generated/jsx.ts:47
How to distribute horizontal space if widget gets extra space.
Inherited from
hasTooltip?
optionalhasTooltip?:boolean
Defined in: packages/react/src/generated/jsx.ts:56
Enables or disables the emission of the Widget.:query-tooltip signal on widget.
A true value indicates that widget can have a tooltip, in this case the widget will be queried using Widget.:query-tooltip to determine whether it will provide a tooltip or not.
Inherited from
heightRequest?
optionalheightRequest?:number
Defined in: packages/react/src/generated/jsx.ts:62
Overrides for height request of the widget.
If this is -1, the natural request will be used.
Inherited from
GtkSourceViewProps.heightRequest
hexpand?
optionalhexpand?:boolean
Defined in: packages/react/src/generated/jsx.ts:64
Whether to expand horizontally.
Inherited from
hexpandSet?
optionalhexpandSet?:boolean
Defined in: packages/react/src/generated/jsx.ts:66
Whether to use the hexpand property.
Inherited from
highlightCurrentLine?
optionalhighlightCurrentLine?:boolean
Defined in: packages/react/src/generated/jsx.ts:8797
Inherited from
GtkSourceViewProps.highlightCurrentLine
highlightMatchingBrackets?
optionalhighlightMatchingBrackets?:boolean
Defined in: packages/react/src/jsx.ts:907
Whether matching brackets are highlighted
Inherited from
GtkSourceViewProps.highlightMatchingBrackets
highlightSyntax?
optionalhighlightSyntax?:boolean
Defined in: packages/react/src/jsx.ts:905
Whether syntax highlighting is enabled
Inherited from
GtkSourceViewProps.highlightSyntax
hscrollPolicy?
optionalhscrollPolicy?:ScrollablePolicy
Defined in: packages/react/src/generated/jsx.ts:8290
Determines when horizontal scrolling should start.
Inherited from
GtkSourceViewProps.hscrollPolicy
imModule?
optionalimModule?:string
Defined in: packages/react/src/generated/jsx.ts:8211
Which IM (input method) module should be used for this text_view.
See IMMulticontext.
Setting this to a non-%NULL value overrides the system-wide IM module setting. See the GtkSettings Settings.gtk-im-module property.
Inherited from
implicitTrailingNewline?
optionalimplicitTrailingNewline?:boolean
Defined in: packages/react/src/jsx.ts:909
Whether the buffer has an implicit trailing newline
Inherited from
GtkSourceViewProps.implicitTrailingNewline
indent?
optionalindent?:number
Defined in: packages/react/src/generated/jsx.ts:8219
Amount to indent the paragraph, in pixels.
A negative value of indent will produce a hanging indentation. That is, the first line will have the full width, and subsequent lines will be indented by the absolute value of indent.
Inherited from
indenter?
optionalindenter?:Indenter|null
Defined in: packages/react/src/generated/jsx.ts:8805
The property is a GtkSourceIndenter to use to indent as the user types into the GtkSourceView.
Inherited from
indentOnTab?
optionalindentOnTab?:boolean
Defined in: packages/react/src/generated/jsx.ts:8798
Inherited from
GtkSourceViewProps.indentOnTab
indentWidth?
optionalindentWidth?:number
Defined in: packages/react/src/generated/jsx.ts:8800
Width of an indentation step expressed in number of spaces.
Inherited from
GtkSourceViewProps.indentWidth
inputHints?
optionalinputHints?:InputHints
Defined in: packages/react/src/generated/jsx.ts:8224
Additional hints (beyond TextView.input-purpose) that allow input methods to fine-tune their behaviour.
Inherited from
inputPurpose?
optionalinputPurpose?:InputPurpose
Defined in: packages/react/src/generated/jsx.ts:8231
The purpose of this text field.
This property can be used by on-screen keyboards and other input methods to adjust their behaviour.
Inherited from
GtkSourceViewProps.inputPurpose
insertSpacesInsteadOfTabs?
optionalinsertSpacesInsteadOfTabs?:boolean
Defined in: packages/react/src/generated/jsx.ts:8806
Inherited from
GtkSourceViewProps.insertSpacesInsteadOfTabs
justification?
optionaljustification?:Justification
Defined in: packages/react/src/generated/jsx.ts:8233
Left, right, or center justification.
Inherited from
GtkSourceViewProps.justification
language?
optionallanguage?:string|Language
Defined in: packages/react/src/jsx.ts:901
Language for syntax highlighting (ID string or Language object)
Inherited from
layoutManager?
optionallayoutManager?:LayoutManager|null
Defined in: packages/react/src/generated/jsx.ts:74
The LayoutManager instance to use to compute the preferred size of the widget, and allocate its children.
This property is meant to be set by widget implementations, typically in their instance init function.
Inherited from
GtkSourceViewProps.layoutManager
leftMargin?
optionalleftMargin?:number
Defined in: packages/react/src/generated/jsx.ts:8243
The default left margin for text in the text view.
Tags in the buffer may override the default.
Note that this property is confusingly named. In CSS terms, the value set here is padding, and it is applied in addition to the padding from the theme.
Inherited from
limitEvents?
optionallimitEvents?:boolean
Defined in: packages/react/src/generated/jsx.ts:83
Makes this widget act like a modal dialog, with respect to event delivery.
Global event controllers will not handle events with targets inside the widget, unless they are set up to ignore propagation limits. See EventController.set_propagation_limit.
Inherited from
GtkSourceViewProps.limitEvents
marginBottom?
optionalmarginBottom?:number
Defined in: packages/react/src/generated/jsx.ts:91
Margin on bottom side of widget.
This property adds margin outside of the widget's normal size request, the margin will be added in addition to the size from Widget.set_size_request for example.
Inherited from
GtkSourceViewProps.marginBottom
marginEnd?
optionalmarginEnd?:number
Defined in: packages/react/src/generated/jsx.ts:102
Margin on end of widget, horizontally.
This property supports left-to-right and right-to-left text directions.
This property adds margin outside of the widget's normal size request, the margin will be added in addition to the size from Widget.set_size_request for example.
Inherited from
marginStart?
optionalmarginStart?:number
Defined in: packages/react/src/generated/jsx.ts:113
Margin on start of widget, horizontally.
This property supports left-to-right and right-to-left text directions.
This property adds margin outside of the widget's normal size request, the margin will be added in addition to the size from Widget.set_size_request for example.
Inherited from
GtkSourceViewProps.marginStart
marginTop?
optionalmarginTop?:number
Defined in: packages/react/src/generated/jsx.ts:121
Margin on top side of widget.
This property adds margin outside of the widget's normal size request, the margin will be added in addition to the size from Widget.set_size_request for example.
Inherited from
monospace?
optionalmonospace?:boolean
Defined in: packages/react/src/generated/jsx.ts:8250
Whether text should be displayed in a monospace font.
If %TRUE, set the .monospace style class on the text view to indicate that a monospace font is desired.
Inherited from
name?
optionalname?:string
Defined in: packages/react/src/generated/jsx.ts:123
The name of the widget.
Inherited from
onBackspace?
optionalonBackspace?: ((self) =>void) |null
Defined in: packages/react/src/generated/jsx.ts:8307
Gets emitted when the user asks for it.
The ::backspace signal is a keybinding signal.
The default bindings for this signal are Backspace and Shift+Backspace.
Inherited from
GtkSourceViewProps.onBackspace
onBufferChanged?
optionalonBufferChanged?: ((buffer) =>void) |null
Defined in: packages/react/src/jsx.ts:655
Callback fired when the buffer content changes
Inherited from
GtkSourceViewProps.onBufferChanged
onCanRedoChanged?
optionalonCanRedoChanged?: ((canRedo) =>void) |null
Defined in: packages/react/src/jsx.ts:663
Callback fired when the redo availability changes
Inherited from
GtkSourceViewProps.onCanRedoChanged
onCanUndoChanged?
optionalonCanUndoChanged?: ((canUndo) =>void) |null
Defined in: packages/react/src/jsx.ts:661
Callback fired when the undo availability changes
Inherited from
GtkSourceViewProps.onCanUndoChanged
onChangeCase?
optionalonChangeCase?: ((caseType,self) =>void) |null
Defined in: packages/react/src/generated/jsx.ts:8822
Keybinding signal to change case of the text at the current cursor position.
Inherited from
GtkSourceViewProps.onChangeCase
onChangeNumber?
optionalonChangeNumber?: ((count,self) =>void) |null
Defined in: packages/react/src/generated/jsx.ts:8824
Keybinding signal to edit a number at the current cursor position.
Inherited from
GtkSourceViewProps.onChangeNumber
onCopyClipboard?
optionalonCopyClipboard?: ((self) =>void) |null
Defined in: packages/react/src/generated/jsx.ts:8317
Gets emitted to copy the selection to the clipboard.
The ::copy-clipboard signal is a keybinding signal.
The default bindings for this signal are Ctrl+c and Ctrl+Insert.
Inherited from
GtkSourceViewProps.onCopyClipboard
onCursorMoved?
optionalonCursorMoved?: (() =>void) |null
Defined in: packages/react/src/jsx.ts:911
Callback fired when the cursor position changes
Inherited from
GtkSourceViewProps.onCursorMoved
onCutClipboard?
optionalonCutClipboard?: ((self) =>void) |null
Defined in: packages/react/src/generated/jsx.ts:8327
Gets emitted to cut the selection to the clipboard.
The ::cut-clipboard signal is a keybinding signal.
The default bindings for this signal are Ctrl+x and Shift+Delete.
Inherited from
GtkSourceViewProps.onCutClipboard
onDeleteFromCursor?
optionalonDeleteFromCursor?: ((type,count,self) =>void) |null
Defined in: packages/react/src/generated/jsx.ts:8342
Gets emitted when the user initiates a text deletion.
The ::delete-from-cursor signal is a keybinding signal.
If the type is %GTK_DELETE_CHARS, GTK deletes the selection if there is one, otherwise it deletes the requested number of characters.
The default bindings for this signal are Delete for deleting a character, Ctrl+Delete for deleting a word and Ctrl+Backspace for deleting a word backwards.
Inherited from
GtkSourceViewProps.onDeleteFromCursor
onDestroy?
optionalonDestroy?: ((self) =>void) |null
Defined in: packages/react/src/generated/jsx.ts:196
Signals that all holders of a reference to the widget should release the reference that they hold.
May result in finalization of the widget if all references are released.
This signal is not suitable for saving widget state.
Inherited from
onDirectionChanged?
optionalonDirectionChanged?: ((previousDirection,self) =>void) |null
Defined in: packages/react/src/generated/jsx.ts:198
Emitted when the text direction of a widget changes.
Inherited from
GtkSourceViewProps.onDirectionChanged
onExtendSelection?
optionalonExtendSelection?: ((granularity,location,start,end,self) =>boolean) |null
Defined in: packages/react/src/generated/jsx.ts:8344
Emitted when the selection needs to be extended at location.
Inherited from
GtkSourceViewProps.onExtendSelection
onHide?
optionalonHide?: ((self) =>void) |null
Defined in: packages/react/src/generated/jsx.ts:200
Emitted when widget is hidden.
Inherited from
onHighlightUpdated?
optionalonHighlightUpdated?: ((start,end) =>void) |null
Defined in: packages/react/src/jsx.ts:913
Callback fired when the highlighted region is updated
Inherited from
GtkSourceViewProps.onHighlightUpdated
onInsertAtCursor?
optionalonInsertAtCursor?: ((string,self) =>void) |null
Defined in: packages/react/src/generated/jsx.ts:8353
Gets emitted when the user initiates the insertion of a fixed string at the cursor.
The ::insert-at-cursor signal is a keybinding signal.
This signal has no default bindings.
Inherited from
GtkSourceViewProps.onInsertAtCursor
onInsertEmoji?
optionalonInsertEmoji?: ((self) =>void) |null
Defined in: packages/react/src/generated/jsx.ts:8363
Gets emitted to present the Emoji chooser for the text_view.
The ::insert-emoji signal is a keybinding signal.
The default bindings for this signal are Ctrl+. and Ctrl+;
Inherited from
GtkSourceViewProps.onInsertEmoji
onJoinLines?
optionalonJoinLines?: ((self) =>void) |null
Defined in: packages/react/src/generated/jsx.ts:8826
Keybinding signal to join the lines currently selected.
Inherited from
GtkSourceViewProps.onJoinLines
onKeynavFailed?
optionalonKeynavFailed?: ((direction,self) =>boolean) |null
Defined in: packages/react/src/generated/jsx.ts:206
Emitted if keyboard navigation fails.
See Widget.keynav_failed for details.
Inherited from
GtkSourceViewProps.onKeynavFailed
onLineMarkActivated?
optionalonLineMarkActivated?: ((iter,button,state,nPresses,self) =>void) |null
Defined in: packages/react/src/generated/jsx.ts:8833
Emitted when a line mark has been activated (for instance when there was a button press in the line marks gutter).
You can use iter to determine on which line the activation took place.
Inherited from
GtkSourceViewProps.onLineMarkActivated
onMap?
optionalonMap?: ((self) =>void) |null
Defined in: packages/react/src/generated/jsx.ts:218
Emitted when widget is going to be mapped.
A widget is mapped when the widget is visible (which is controlled with Widget.visible) and all its parents up to the toplevel widget are also visible.
The ::map signal can be used to determine whether a widget will be drawn, for instance it can resume an animation that was stopped during the emission of Widget.:unmap.
Inherited from
onMnemonicActivate?
optionalonMnemonicActivate?: ((groupCycling,self) =>boolean) |null
Defined in: packages/react/src/generated/jsx.ts:225
Emitted when a widget is activated via a mnemonic.
The default handler for this signal activates widget if group_cycling is false, or just makes widget grab focus if group_cycling is true.
Inherited from
GtkSourceViewProps.onMnemonicActivate
onMoveCursor?
optionalonMoveCursor?: ((step,count,extendSelection,self) =>void) |null
Defined in: packages/react/src/generated/jsx.ts:8388
Gets emitted when the user initiates a cursor movement.
The ::move-cursor signal is a keybinding signal. If the cursor is not visible in text_view, this signal causes the viewport to be moved instead.
Applications should not connect to it, but may emit it with g_signal_emit_by_name() if they need to control the cursor programmatically.
The default bindings for this signal come in two variants, the variant with the Shift modifier extends the selection, the variant without it does not. There are too many key combinations to list them all here.
←,→,↑,↓move by individual characters/linesCtrl+←, etc. move by words/paragraphsHomeandEndmove to the ends of the bufferPgUpandPgDnmove vertically by pagesCtrl+PgUpandCtrl+PgDnmove horizontally by pages
Inherited from
GtkSourceViewProps.onMoveCursor
onMoveFocus?
optionalonMoveFocus?: ((direction,self) =>void) |null
Defined in: packages/react/src/generated/jsx.ts:234
Emitted when the focus is moved.
The ::move-focus signal is a keybinding signal.
The default bindings for this signal are Tab to move forward, and Shift+Tab to move backward.
Inherited from
GtkSourceViewProps.onMoveFocus
onMoveLines?
optionalonMoveLines?: ((down,self) =>void) |null
Defined in: packages/react/src/generated/jsx.ts:8840
The signal is a keybinding which gets emitted when the user initiates moving a line.
The default binding key is Alt+Up/Down arrow. And moves the currently selected lines, or the current line up or down by one line.
Inherited from
GtkSourceViewProps.onMoveLines
onMoveToMatchingBracket?
optionalonMoveToMatchingBracket?: ((extendSelection,self) =>void) |null
Defined in: packages/react/src/generated/jsx.ts:8842
Keybinding signal to move the cursor to the matching bracket.
Inherited from
GtkSourceViewProps.onMoveToMatchingBracket
onMoveViewport?
optionalonMoveViewport?: ((step,count,self) =>void) |null
Defined in: packages/react/src/generated/jsx.ts:8399
Gets emitted to move the viewport.
The ::move-viewport signal is a keybinding signal, which can be bound to key combinations to allow the user to move the viewport, i.e. change what part of the text view is visible in a containing scrolled window.
There are no default bindings for this signal.
Inherited from
GtkSourceViewProps.onMoveViewport
onMoveWords?
optionalonMoveWords?: ((count,self) =>void) |null
Defined in: packages/react/src/generated/jsx.ts:8849
The signal is a keybinding which gets emitted when the user initiates moving a word.
The default binding key is Alt+Left/Right Arrow and moves the current selection, or the current word by one word.
Inherited from
GtkSourceViewProps.onMoveWords
onNotify?
optionalonNotify?: ((pspec,self) =>void) |null
Defined in: packages/react/src/generated/jsx.ts:310
The notify signal is emitted on an object when one of its properties has its value set through g_object_set_property(), g_object_set(), et al.
Note that getting this signal doesn’t itself guarantee that the value of the property has actually changed. When it is emitted is determined by the derived GObject class. If the implementor did not create the property with %G_PARAM_EXPLICIT_NOTIFY, then any call to g_object_set_property() results in ::notify being emitted, even if the new value is the same as the old. If they did pass %G_PARAM_EXPLICIT_NOTIFY, then this signal is emitted only when they explicitly call g_object_notify() or g_object_notify_by_pspec(), and common practice is to do that only when the value has actually changed.
This signal is typically used to obtain change notification for a single property, by specifying the property name as a detail in the g_signal_connect() call, like this:
|[ g_signal_connect (text_view->buffer, "notify::paste-target-list", G_CALLBACK (gtk_text_view_target_list_notify), text_view) ]|
It is important to note that you must use [canonical parameter names]GObjectParamSpec#parameter-names as detail strings for the notify signal.
Inherited from
onPasteClipboard?
optionalonPasteClipboard?: ((self) =>void) |null
Defined in: packages/react/src/generated/jsx.ts:8410
Gets emitted to paste the contents of the clipboard into the text view.
The ::paste-clipboard signal is a keybinding signal.
The default bindings for this signal are Ctrl+v and Shift+Insert.
Inherited from
GtkSourceViewProps.onPasteClipboard
onPreeditChanged?
optionalonPreeditChanged?: ((preedit,self) =>void) |null
Defined in: packages/react/src/generated/jsx.ts:8421
Emitted when preedit text of the active IM changes.
If an input method is used, the typed text will not immediately be committed to the buffer. So if you are interested in the text, connect to this signal.
This signal is only emitted if the text at the given position is actually editable.
Inherited from
GtkSourceViewProps.onPreeditChanged
onPushSnippet?
optionalonPushSnippet?: ((snippet,location,self) =>void) |null
Defined in: packages/react/src/generated/jsx.ts:8857
The signal is emitted to insert a new snippet into the view.
If another snippet was active, it will be paused until all focus positions of snippet have been exhausted.
location will be updated to point at the end of the snippet.
Inherited from
GtkSourceViewProps.onPushSnippet
onQueryTooltip?
optionalonQueryTooltip?: ((x,y,keyboardMode,tooltip,self) =>boolean) |null
Defined in: packages/react/src/generated/jsx.ts:250
Emitted when the widget’s tooltip is about to be shown.
This happens when the Widget.has-tooltip property is true and the hover timeout has expired with the cursor hovering above widget; or emitted when widget got focus in keyboard mode.
Using the given coordinates, the signal handler should determine whether a tooltip should be shown for widget. If this is the case true should be returned, false otherwise. Note that if keyboard_mode is true, the values of x and y are undefined and should not be used.
The signal handler is free to manipulate tooltip with the therefore destined function calls.
Inherited from
GtkSourceViewProps.onQueryTooltip
onRealize?
optionalonRealize?: ((self) =>void) |null
Defined in: packages/react/src/generated/jsx.ts:257
Emitted when widget is associated with a GdkSurface.
This means that Widget.realize has been called or the widget has been mapped (that is, it is going to be drawn).
Inherited from
onSelectAll?
optionalonSelectAll?: ((select,self) =>void) |null
Defined in: packages/react/src/generated/jsx.ts:8433
Gets emitted to select or unselect the complete contents of the text view.
The ::select-all signal is a keybinding signal.
The default bindings for this signal are Ctrl+a and Ctrl+/ for selecting and Shift+Ctrl+a and Ctrl+`` for unselecting.
Inherited from
GtkSourceViewProps.onSelectAll
onSetAnchor?
optionalonSetAnchor?: ((self) =>void) |null
Defined in: packages/react/src/generated/jsx.ts:8444
Gets emitted when the user initiates settings the "anchor" mark.
The ::set-anchor signal is a keybinding signal which gets emitted when the user initiates setting the "anchor" mark. The "anchor" mark gets placed at the same position as the "insert" mark.
This signal has no default bindings.
Inherited from
GtkSourceViewProps.onSetAnchor
onShow?
optionalonShow?: ((self) =>void) |null
Defined in: packages/react/src/generated/jsx.ts:259
Emitted when widget is shown.
Inherited from
onShowCompletion?
optionalonShowCompletion?: ((self) =>void) |null
Defined in: packages/react/src/generated/jsx.ts:8870
The signal is a key binding signal which gets emitted when the user requests a completion, by pressing
.This will create a GtkSourceCompletionContext with the activation type as %GTK_SOURCE_COMPLETION_ACTIVATION_USER_REQUESTED.
Applications should not connect to it, but may emit it with GObjectsignal_emit_by_name if they need to activate the completion by another means, for example with another key binding or a menu entry.
Inherited from
GtkSourceViewProps.onShowCompletion
onSmartHomeEnd?
optionalonSmartHomeEnd?: ((iter,count,self) =>void) |null
Defined in: packages/react/src/generated/jsx.ts:8879
Emitted when a the cursor was moved according to the smart home end setting.
The signal is emitted after the cursor is moved, but during the TextView.:move-cursor action. This can be used to find out whether the cursor was moved by a normal home/end or by a smart home/end.
Inherited from
GtkSourceViewProps.onSmartHomeEnd
onStateFlagsChanged?
optionalonStateFlagsChanged?: ((flags,self) =>void) |null
Defined in: packages/react/src/generated/jsx.ts:265
Emitted when the widget state changes.
Inherited from
GtkSourceViewProps.onStateFlagsChanged
onTextDeleted?
optionalonTextDeleted?: ((buffer,startOffset,endOffset) =>void) |null
Defined in: packages/react/src/jsx.ts:659
Callback fired when text is deleted from the buffer
Inherited from
GtkSourceViewProps.onTextDeleted
onTextInserted?
optionalonTextInserted?: ((buffer,offset,text) =>void) |null
Defined in: packages/react/src/jsx.ts:657
Callback fired when text is inserted into the buffer
Inherited from
GtkSourceViewProps.onTextInserted
onToggleCursorVisible?
optionalonToggleCursorVisible?: ((self) =>void) |null
Defined in: packages/react/src/generated/jsx.ts:8453
Gets emitted to toggle the cursor-visible property.
The ::toggle-cursor-visible signal is a keybinding signal.
The default binding for this signal is F7.
Inherited from
GtkSourceViewProps.onToggleCursorVisible
onToggleOverwrite?
optionalonToggleOverwrite?: ((self) =>void) |null
Defined in: packages/react/src/generated/jsx.ts:8461
Gets emitted to toggle the overwrite mode of the text view.
The ::toggle-overwrite signal is a keybinding signal.
The default binding for this signal is Insert.
Inherited from
GtkSourceViewProps.onToggleOverwrite
onUnmap?
optionalonUnmap?: ((self) =>void) |null
Defined in: packages/react/src/generated/jsx.ts:275
Emitted when widget is going to be unmapped.
A widget is unmapped when either it or any of its parents up to the toplevel widget have been set as hidden.
As ::unmap indicates that a widget will not be shown any longer, it can be used to, for example, stop an animation on the widget.
Inherited from
onUnrealize?
optionalonUnrealize?: ((self) =>void) |null
Defined in: packages/react/src/generated/jsx.ts:282
Emitted when the GdkSurface associated with widget is destroyed.
This means that Widget.unrealize has been called or the widget has been unmapped (that is, it is going to be hidden).
Inherited from
GtkSourceViewProps.onUnrealize
opacity?
optionalopacity?:number
Defined in: packages/react/src/generated/jsx.ts:125
The requested opacity of the widget.
Inherited from
overflow?
optionaloverflow?:Overflow
Defined in: packages/react/src/generated/jsx.ts:132
How content outside the widget's content area is treated.
This property is meant to be set by widget implementations, typically in their instance init function.
Inherited from
overwrite?
optionaloverwrite?:boolean
Defined in: packages/react/src/generated/jsx.ts:8252
Whether entered text overwrites existing contents.
Inherited from
pixelsAboveLines?
optionalpixelsAboveLines?:number
Defined in: packages/react/src/generated/jsx.ts:8254
Pixels of blank space above paragraphs.
Inherited from
GtkSourceViewProps.pixelsAboveLines
pixelsBelowLines?
optionalpixelsBelowLines?:number
Defined in: packages/react/src/generated/jsx.ts:8256
Pixels of blank space below paragraphs.
Inherited from
GtkSourceViewProps.pixelsBelowLines
pixelsInsideWrap?
optionalpixelsInsideWrap?:number
Defined in: packages/react/src/generated/jsx.ts:8258
Pixels of blank space between wrapped lines in a paragraph.
Inherited from
GtkSourceViewProps.pixelsInsideWrap
receivesDefault?
optionalreceivesDefault?:boolean
Defined in: packages/react/src/generated/jsx.ts:134
Whether the widget will receive the default action when it is focused.
Inherited from
GtkSourceViewProps.receivesDefault
ref?
optionalref?:Ref<Map>
Defined in: packages/react/src/generated/jsx.ts:5092
Overrides
rightMargin?
optionalrightMargin?:number
Defined in: packages/react/src/generated/jsx.ts:8268
The default right margin for text in the text view.
Tags in the buffer may override the default.
Note that this property is confusingly named. In CSS terms, the value set here is padding, and it is applied in addition to the padding from the theme.
Inherited from
GtkSourceViewProps.rightMargin
rightMarginPosition?
optionalrightMarginPosition?:number
Defined in: packages/react/src/generated/jsx.ts:8808
Position of the right margin.
Inherited from
GtkSourceViewProps.rightMarginPosition
sensitive?
optionalsensitive?:boolean
Defined in: packages/react/src/generated/jsx.ts:136
Whether the widget responds to input.
Inherited from
showLineMarks?
optionalshowLineMarks?:boolean
Defined in: packages/react/src/generated/jsx.ts:8810
Whether to display line mark pixbufs
Inherited from
GtkSourceViewProps.showLineMarks
showLineNumbers?
optionalshowLineNumbers?:boolean
Defined in: packages/react/src/generated/jsx.ts:8812
Whether to display line numbers
Inherited from
GtkSourceViewProps.showLineNumbers
showRightMargin?
optionalshowRightMargin?:boolean
Defined in: packages/react/src/generated/jsx.ts:8814
Whether to display the right margin.
Inherited from
GtkSourceViewProps.showRightMargin
smartBackspace?
optionalsmartBackspace?:boolean
Defined in: packages/react/src/generated/jsx.ts:8816
Whether smart Backspace should be used.
Inherited from
GtkSourceViewProps.smartBackspace
smartHomeEnd?
optionalsmartHomeEnd?:SmartHomeEndType
Defined in: packages/react/src/generated/jsx.ts:8818
Set the behavior of the HOME and END keys.
Inherited from
GtkSourceViewProps.smartHomeEnd
styleScheme?
optionalstyleScheme?:string|StyleScheme
Defined in: packages/react/src/jsx.ts:903
Color scheme for syntax highlighting (ID string or StyleScheme object)
Inherited from
GtkSourceViewProps.styleScheme
tabs?
optionaltabs?:TabArray
Defined in: packages/react/src/generated/jsx.ts:8270
Custom tabs for this text.
Inherited from
tabWidth?
optionaltabWidth?:number
Defined in: packages/react/src/generated/jsx.ts:8820
Width of a tab character expressed in number of spaces.
Inherited from
tooltipMarkup?
optionaltooltipMarkup?:string|null
Defined in: packages/react/src/generated/jsx.ts:152
Sets the text of tooltip to be the given string, which is marked up with Pango markup.
Also see Tooltip.set_markup.
This is a convenience property which will take care of getting the tooltip shown if the given string is not NULL: Widget.has-tooltip will automatically be set to true and there will be taken care of Widget.:query-tooltip in the default signal handler.
Note that if both Widget.tooltip-text and Widget.tooltip-markup are set, the last one wins.
Inherited from
GtkSourceViewProps.tooltipMarkup
tooltipText?
optionaltooltipText?:string|null
Defined in: packages/react/src/generated/jsx.ts:167
Sets the text of tooltip to be the given string.
Also see Tooltip.set_text.
This is a convenience property which will take care of getting the tooltip shown if the given string is not NULL: Widget.has-tooltip will automatically be set to true and there will be taken care of Widget.:query-tooltip in the default signal handler.
Note that if both Widget.tooltip-text and Widget.tooltip-markup are set, the last one wins.
Inherited from
GtkSourceViewProps.tooltipText
topMargin?
optionaltopMargin?:number
Defined in: packages/react/src/generated/jsx.ts:8280
The top margin for text in the text view.
Note that this property is confusingly named. In CSS terms, the value set here is padding, and it is applied in addition to the padding from the theme.
Don't confuse this property with Widget.margin-top.
Inherited from
vadjustment?
optionalvadjustment?:Adjustment
Defined in: packages/react/src/generated/jsx.ts:8296
Vertical GtkAdjustment of the scrollable widget.
This adjustment is shared between the scrollable widget and its parent.
Inherited from
GtkSourceViewProps.vadjustment
valign?
optionalvalign?:Align
Defined in: packages/react/src/generated/jsx.ts:169
How to distribute vertical space if widget gets extra space.
Inherited from
vexpand?
optionalvexpand?:boolean
Defined in: packages/react/src/generated/jsx.ts:171
Whether to expand vertically.
Inherited from
vexpandSet?
optionalvexpandSet?:boolean
Defined in: packages/react/src/generated/jsx.ts:173
Whether to use the vexpand property.
Inherited from
view?
optionalview?:View
Defined in: packages/react/src/generated/jsx.ts:5091
visible?
optionalvisible?:boolean
Defined in: packages/react/src/generated/jsx.ts:175
Whether the widget is visible.
Inherited from
vscrollPolicy?
optionalvscrollPolicy?:ScrollablePolicy
Defined in: packages/react/src/generated/jsx.ts:8298
Determines when vertical scrolling should start.
Inherited from
GtkSourceViewProps.vscrollPolicy
widthRequest?
optionalwidthRequest?:number
Defined in: packages/react/src/generated/jsx.ts:181
Overrides for width request of the widget.
If this is -1, the natural request will be used.
Inherited from
GtkSourceViewProps.widthRequest
wrapMode?
optionalwrapMode?:WrapMode
Defined in: packages/react/src/generated/jsx.ts:8282
Whether to wrap lines never, at word boundaries, or at character boundaries.