DragContextProtocol

public extension DragContextProtocol
  • Set the given surface as the icon for the drag context

    Declaration

    Swift

    @inlinable
    func set<S>(icon surface: S) where S : SurfaceProtocol

    Parameters

    surface

    Cairo surface to act as the icon