TreeModelSignalName

public enum TreeModelSignalName : String, SignalNameProtocol

Undocumented

  • This signal is emitted when a row in the model has changed.

    Declaration

    Swift

    case rowChanged = "row-changed"
  • This signal is emitted when a row has been deleted.

    Note that no iterator is passed to the signal handler, since the row is already deleted.

    This should be called by models after a row has been removed. The location pointed to by path should be the location that the row previously was at. It may not be a valid location anymore.

    Declaration

    Swift

    case rowDeleted = "row-deleted"
  • This signal is emitted when a row has gotten the first child row or lost its last child row.

    Declaration

    Swift

    case rowHasChildToggled = "row-has-child-toggled"
  • This signal is emitted when a new row has been inserted in the model.

    Note that the row may still be empty at this point, since it is a common pattern to first insert an empty row, and then fill it with the desired values.

    Declaration

    Swift

    case rowInserted = "row-inserted"
  • This signal is emitted when the children of a node in the GtkTreeModel have been reordered.

    Note that this signal is not emitted when rows are reordered by DND, since this is implemented by removing and then reinserting the row.

    Declaration

    Swift

    case rowsReordered = "rows-reordered"