MapListModel  
    open class MapListModel(val gtkMapListModelPointer: <Error class: unknown class><<Error class: unknown class>>) : SectionModel(source)
A GtkMapListModel maps the items in a list model to different items.
GtkMapListModel uses a callback@Gtk.MapListModelMapFunc.
Example: Create a list of GtkEventControllers
static gpointer
map_to_controllers (gpointer widget,
                    gpointer data)
{
  gpointer result = gtk_widget_observe_controllers (widget);
  g_object_unref (widget);
  return result;
}
widgets = gtk_widget_observe_children (widget);
controllers = gtk_map_list_model_new (widgets,
                                      map_to_controllers,
                                      NULL, NULL);
model = gtk_flatten_list_model_new (GTK_TYPE_EVENT_CONTROLLER,
                                    controllers);Content copied to clipboard
GtkMapListModel will attempt to discard the mapped objects as soon as they are no longer needed and recreate them if necessary.
GtkMapListModel passes through sections from the underlying model.
Skipped during bindings generation
- method - has-map: Property has no getter nor setter
- method - item-type: Property has no getter nor setter
- method - n-items: Property has no getter nor setter
Constructors
Properties
Link copied to clipboard
                  Link copied to clipboard
                  Link copied to clipboard
                  open override val gtkSectionModelPointer: <Error class: unknown class><<Error class: unknown class>>
Functions
Link copied to clipboard
                  open fun onSectionsChanged(connectFlags: <Error class: unknown class> = ConnectFlags(0u), handler: (<Error class: unknown class>, <Error class: unknown class>) -> Unit): <Error class: unknown class>
Emitted when the start-of-section state of some of the items in @model changes.
Link copied to clipboard
                  open fun sectionsChanged(position: <Error class: unknown class>, nItems: <Error class: unknown class>)
Link copied to clipboard
                  Sets the function used to map items.