Class MultiSelection

All Implemented Interfaces:
PointerInterface

public class MultiSelection extends Object
`GtkMultiSelection` is a `GtkSelectionModel` that allows selecting multiple
elements.

https://docs.gtk.org/gtk4/class.MultiSelection.html

  • Constructor Details

    • MultiSelection

      public MultiSelection(PointerContainer pointer)
    • MultiSelection

      public MultiSelection(@Nullable ListModel model)
      Creates a new selection to handle @model.
      Parameters:
      model - the `GListModel` to manage
  • Method Details

    • getClassHandler

      public static ClassHandler getClassHandler()
    • getModel

      public ListModel getModel()
      Returns the underlying model of @self.
      Returns:
      the underlying model
    • setModel

      public void setModel(@Nullable ListModel model)
      Sets the model that @self should wrap.

      If @model is %NULL, @self will be empty.
      Parameters:
      model - A `GListModel` to wrap
    • asListModel

      public ListModel asListModel()
      Implements interface ListModel. Call this to get access to interface functions.
      Returns:
      ListModel
    • asSelectionModel

      public SelectionModel asSelectionModel()
      Implements interface SelectionModel. Call this to get access to interface functions.
      Returns:
      SelectionModel
    • getTypeID

      public static long getTypeID()
    • getParentTypeID

      public static long getParentTypeID()
    • getTypeSize

      public static TypeSystem.TypeSize getTypeSize()
    • getParentTypeSize

      public static TypeSystem.TypeSize getParentTypeSize()
    • getInstanceSize

      public static int getInstanceSize()