TextBufferSignalName

public enum TextBufferSignalName : String, SignalNameProtocol

Undocumented

  • The apply-tag signal is 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: gtk_text_buffer_apply_tag(), gtk_text_buffer_insert_with_tags(), gtk_text_buffer_insert_range().

    Declaration

    Swift

    case applyTag = "apply-tag"
  • The begin-user-action signal is emitted at the beginning of a single user-visible operation on a GtkTextBuffer.

    See also: gtk_text_buffer_begin_user_action(), gtk_text_buffer_insert_interactive(), gtk_text_buffer_insert_range_interactive(), gtk_text_buffer_delete_interactive(), gtk_text_buffer_backspace(), gtk_text_buffer_delete_selection().

    Declaration

    Swift

    case beginUserAction = "begin-user-action"
  • The changed signal is emitted when the content of a GtkTextBuffer has changed.

    Declaration

    Swift

    case changed = "changed"
  • The delete-range signal is 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: gtk_text_buffer_delete().

    Declaration

    Swift

    case deleteRange = "delete-range"
  • The end-user-action signal is emitted at the end of a single user-visible operation on the GtkTextBuffer.

    See also: gtk_text_buffer_end_user_action(), gtk_text_buffer_insert_interactive(), gtk_text_buffer_insert_range_interactive(), gtk_text_buffer_delete_interactive(), gtk_text_buffer_backspace(), gtk_text_buffer_delete_selection(), gtk_text_buffer_backspace().

    Declaration

    Swift

    case endUserAction = "end-user-action"
  • The insert-child-anchor signal is 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: gtk_text_buffer_insert_child_anchor().

    Declaration

    Swift

    case insertChildAnchor = "insert-child-anchor"
  • The insert-pixbuf signal is emitted to insert a GdkPixbuf 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 pixbuf.

    See also: gtk_text_buffer_insert_pixbuf().

    Declaration

    Swift

    case insertPixbuf = "insert-pixbuf"
  • The insert-text signal is 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: gtk_text_buffer_insert(), gtk_text_buffer_insert_range().

    Declaration

    Swift

    case insertText = "insert-text"
  • The mark-deleted signal is emitted as notification after a GtkTextMark is deleted.

    See also: gtk_text_buffer_delete_mark().

    Declaration

    Swift

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

    See also: gtk_text_buffer_create_mark(), gtk_text_buffer_move_mark().

    Declaration

    Swift

    case markSet = "mark-set"
  • The modified-changed signal is emitted when the modified bit of a GtkTextBuffer flips.

    See also: gtk_text_buffer_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"
  • The paste-done signal is emitted after paste operation has been completed. This is useful to properly scroll the view to the end of the pasted text. See gtk_text_buffer_paste_clipboard() for more details.

    Declaration

    Swift

    case pasteDone = "paste-done"
  • The remove-tag signal is 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: gtk_text_buffer_remove_tag().

    Declaration

    Swift

    case removeTag = "remove-tag"
  • The list of targets this buffer supports for clipboard copying and as DND source.

    Declaration

    Swift

    case notifyCopyTargetList = "notify::copy-target-list"
  • The position of the insert mark (as offset from the beginning of the buffer). It is useful for getting notified when the cursor moves.

    Declaration

    Swift

    case notifyCursorPosition = "notify::cursor-position"
  • Whether the buffer has some text currently selected.

    Declaration

    Swift

    case notifyHasSelection = "notify::has-selection"
  • The list of targets this buffer supports for clipboard pasting and as DND destination.

    Declaration

    Swift

    case notifyPasteTargetList = "notify::paste-target-list"
  • Undocumented

    Declaration

    Swift

    case notifyTagTable = "notify::tag-table"
  • The text content of the buffer. Without child widgets and images, see gtk_text_buffer_get_text() for more information.

    Declaration

    Swift

    case notifyText = "notify::text"