EntryCompletionSignalName

public enum EntryCompletionSignalName : String, SignalNameProtocol

Undocumented

  • Emitted when a match from the cursor is on a match of the list.

    The default behaviour is to replace the contents of the entry with the contents of the text column in the row pointed to by iter.

    Note that model is the model that was passed to [methodGtk.EntryCompletion.set_model].

    Declaration

    Swift

    case cursorOnMatch = "cursor-on-match"
  • Emitted when the inline autocompletion is triggered.

    The default behaviour is to make the entry display the whole prefix and select the newly inserted part.

    Applications may connect to this signal in order to insert only a smaller part of the prefix into the entry - e.g. the entry used in the GtkFileChooser inserts only the part of the prefix up to the next ‘/’.

    Declaration

    Swift

    case insertPrefix = "insert-prefix"
  • Emitted when a match from the list is selected.

    The default behaviour is to replace the contents of the entry with the contents of the text column in the row pointed to by iter.

    Note that model is the model that was passed to [methodGtk.EntryCompletion.set_model].

    Declaration

    Swift

    case matchSelected = "match-selected"
  • Emitted when the filter model has zero number of rows in completion_complete method.

    In other words when GtkEntryCompletion is out of suggestions.

    Declaration

    Swift

    case noMatches = "no-matches"
  • 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 GtkCellArea used to layout cell renderers in the treeview column.

    If no area is specified when creating the entry completion with [ctorGtk.EntryCompletion.new_with_area], a horizontally oriented [classGtk.CellAreaBox] will be used.

    Declaration

    Swift

    case notifyCellArea = "notify::cell-area"
  • Determines whether the common prefix of the possible completions should be inserted automatically in the entry.

    Note that this requires text-column to be set, even if you are using a custom match function.

    Declaration

    Swift

    case notifyInlineCompletion = "notify::inline-completion"
  • Determines whether the possible completions on the popup will appear in the entry as you navigate through them.

    Declaration

    Swift

    case notifyInlineSelection = "notify::inline-selection"
  • Undocumented

    Declaration

    Swift

    case notifyMinimumKeyLength = "notify::minimum-key-length"
  • Undocumented

    Declaration

    Swift

    case notifyModel = "notify::model"
  • Determines whether the possible completions should be shown in a popup window.

    Declaration

    Swift

    case notifyPopupCompletion = "notify::popup-completion"
  • Determines whether the completions popup window will be resized to the width of the entry.

    Declaration

    Swift

    case notifyPopupSetWidth = "notify::popup-set-width"
  • Determines whether the completions popup window will shown for a single possible completion.

    You probably want to set this to false if you are using [propertyGtk.EntryCompletion:inline-completion].

    Declaration

    Swift

    case notifyPopupSingleMatch = "notify::popup-single-match"
  • The column of the model containing the strings.

    Note that the strings must be UTF-8.

    Declaration

    Swift

    case notifyTextColumn = "notify::text-column"