SelectionModelInterfaceRef

public struct SelectionModelInterfaceRef : SelectionModelInterfaceProtocol

The list of virtual functions for the GtkSelectionModel interface. No function must be implemented, but unless GtkSelectionModelis_selected() is implemented, it will not be possible to select items in the set.

The model does not need to implement any functions to support either selecting or unselecting items. Of course, if the model does not do that, it means that users cannot select or unselect items in a list widget using the model.

All selection functions fall back to GtkSelectionModelset_selection() so it is sufficient to implement just that function for full selection support.

The SelectionModelInterfaceRef type acts as a lightweight Swift reference to an underlying GtkSelectionModelInterface instance. It exposes methods that can operate on this data type through SelectionModelInterfaceProtocol conformance. Use SelectionModelInterfaceRef only as an unowned reference to an existing GtkSelectionModelInterface instance.

  • ptr
    Untyped pointer to the underlying `GtkSelectionModelInterface` instance.
    

    For type-safe access, use the generated, typed pointer _ptr property instead.

    Declaration

    Swift

    public let ptr: UnsafeMutableRawPointer!

SelectionFilterModelClass Record: SelectionFilterModelClassProtocol extension (methods and fields)

SelectionModelInterface Record