TextBufferSignalName

public enum TextBufferSignalName : String, SignalNameProtocol

Undocumented

  • Emitted to apply a tag to a range of text in a GtkTextBuffer.

    Applying actually occurs in the default handler.

    Note that if your handler runs before the default handler it must not invalidate the start and end iters (or has to revalidate them).

    See also: [methodGtk.TextBuffer.apply_tag], [methodGtk.TextBuffer.insert_with_tags], [methodGtk.TextBuffer.insert_range].

    Declaration

    Swift

    case applyTag = "apply-tag"
  • Emitted at the beginning of a single user-visible operation on a GtkTextBuffer.

    See also: [methodGtk.TextBuffer.begin_user_action], [methodGtk.TextBuffer.insert_interactive], [methodGtk.TextBuffer.insert_range_interactive], [methodGtk.TextBuffer.delete_interactive], [methodGtk.TextBuffer.backspace], [methodGtk.TextBuffer.delete_selection].

    Declaration

    Swift

    case beginUserAction = "begin-user-action"
  • Emitted when the content of a GtkTextBuffer has changed.

    Declaration

    Swift

    case changed = "changed"
  • Emitted to delete a range from a GtkTextBuffer.

    Note that if your handler runs before the default handler it must not invalidate the start and end iters (or has to revalidate them). The default signal handler revalidates the start and end iters to both point to the location where text was deleted. Handlers which run after the default handler (see g_signal_connect_after()) do not have access to the deleted text.

    See also: [methodGtk.TextBuffer.delete].

    Declaration

    Swift

    case deleteRange = "delete-range"
  • Emitted at the end of a single user-visible operation on the GtkTextBuffer.

    See also: [methodGtk.TextBuffer.end_user_action], [methodGtk.TextBuffer.insert_interactive], [methodGtk.TextBuffer.insert_range_interactive], [methodGtk.TextBuffer.delete_interactive], [methodGtk.TextBuffer.backspace], [methodGtk.TextBuffer.delete_selection], [methodGtk.TextBuffer.backspace].

    Declaration

    Swift

    case endUserAction = "end-user-action"
  • Emitted to insert a GtkTextChildAnchor in a GtkTextBuffer.

    Insertion actually occurs in the default handler.

    Note that if your handler runs before the default handler it must not invalidate the location iter (or has to revalidate it). The default signal handler revalidates it to be placed after the inserted anchor.

    See also: [methodGtk.TextBuffer.insert_child_anchor].

    Declaration

    Swift

    case insertChildAnchor = "insert-child-anchor"
  • Emitted to insert a GdkPaintable in a GtkTextBuffer.

    Insertion actually occurs in the default handler.

    Note that if your handler runs before the default handler it must not invalidate the location iter (or has to revalidate it). The default signal handler revalidates it to be placed after the inserted paintable.

    See also: [methodGtk.TextBuffer.insert_paintable].

    Declaration

    Swift

    case insertPaintable = "insert-paintable"
  • Emitted to insert text in a GtkTextBuffer.

    Insertion actually occurs in the default handler.

    Note that if your handler runs before the default handler it must not invalidate the location iter (or has to revalidate it). The default signal handler revalidates it to point to the end of the inserted text.

    See also: [methodGtk.TextBuffer.insert], [methodGtk.TextBuffer.insert_range].

    Declaration

    Swift

    case insertText = "insert-text"
  • Emitted as notification after a GtkTextMark is deleted.

    See also: [methodGtk.TextBuffer.delete_mark].

    Declaration

    Swift

    case markDeleted = "mark-deleted"
  • Emitted as notification after a GtkTextMark is set.

    See also: [methodGtk.TextBuffer.create_mark], [methodGtk.TextBuffer.move_mark].

    Declaration

    Swift

    case markSet = "mark-set"
  • Emitted when the modified bit of a GtkTextBuffer flips.

    See also: [methodGtk.TextBuffer.set_modified].

    Declaration

    Swift

    case modifiedChanged = "modified-changed"
  • 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:

    (C Language Example):

    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 as detail strings for the notify signal.

    Declaration

    Swift

    case notify = "notify"
  • Emitted after paste operation has been completed.

    This is useful to properly scroll the view to the end of the pasted text. See [methodGtk.TextBuffer.paste_clipboard] for more details.

    Declaration

    Swift

    case pasteDone = "paste-done"
  • Emitted when a request has been made to redo the previously undone operation.

    Declaration

    Swift

    case redo = "redo"
  • Emitted to remove all occurrences of tag from a range of text in a GtkTextBuffer.

    Removal actually occurs in the default handler.

    Note that if your handler runs before the default handler it must not invalidate the start and end iters (or has to revalidate them).

    See also: [methodGtk.TextBuffer.remove_tag].

    Declaration

    Swift

    case removeTag = "remove-tag"
  • Emitted when a request has been made to undo the previous operation or set of operations that have been grouped together.

    Declaration

    Swift

    case undo = "undo"
  • Denotes that the buffer can reapply the last undone action.

    Declaration

    Swift

    case notifyCanRedo = "notify::can-redo"
  • Denotes that the buffer can undo the last applied action.

    Declaration

    Swift

    case notifyCanUndo = "notify::can-undo"
  • The position of the insert mark.

    This is an offset from the beginning of the buffer. It is useful for getting notified when the cursor moves.

    Declaration

    Swift

    case notifyCursorPosition = "notify::cursor-position"
  • Denotes if support for undoing and redoing changes to the buffer is allowed.

    Declaration

    Swift

    case notifyEnableUndo = "notify::enable-undo"
  • Whether the buffer has some text currently selected.

    Declaration

    Swift

    case notifyHasSelection = "notify::has-selection"
  • The GtkTextTagTable for the buffer.

    Declaration

    Swift

    case notifyTagTable = "notify::tag-table"
  • The text content of the buffer.

    Without child widgets and images, see [methodGtk.TextBuffer.get_text] for more information.

    Declaration

    Swift

    case notifyText = "notify::text"