Hoogle Search
Within LTS Haskell 24.32 (ghc-9.10.3)
Note that Stackage only displays results for the latest LTS and Nightly snapshot. Learn more.
type
MapListModelMapFunc = Object -> IO Objectgi-gtk4 GI.Gtk.Callbacks User function that is called to map an item of the original model to an item expected by the map model. The returned items must conform to the item type of the model they are used with.
type
MapListModelMapFunc_WithClosures = Object -> Ptr () -> IO Objectgi-gtk4 GI.Gtk.Callbacks User function that is called to map an item of the original model to an item expected by the map model. The returned items must conform to the item type of the model they are used with.
module GI.Gtk.Objects.
MapListModel A GtkMapListModel maps the items in a list model to different items. GtkMapListModel uses a [callbackgtk.MapListModelMapFunc]. Example: Create a list of GtkEventControllers
c code
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);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.-
gi-gtk4 GI.Gtk.Objects.MapListModel Memory-managed wrapper type.
MapListModel :: ManagedPtr MapListModel -> MapListModelgi-gtk4 GI.Gtk.Objects.MapListModel No documentation available.
module GI.HarfBuzz.Structs.
MapT Data type for holding integer-to-integer hash maps.
-
gi-harfbuzz GI.HarfBuzz.Structs.MapT Memory-managed wrapper type.
MapT :: ManagedPtr MapT -> MapTgi-harfbuzz GI.HarfBuzz.Structs.MapT No documentation available.
class
Map0_10 (ss :: [(k0, k1, k2, k3, k4, k5, k6, k7, k8, k9)])hetero-parameter-list-with-typelevel-tools Data.HeteroParList.Tuple No documentation available.
class
Map0_2 (ss :: [(k0, k1)])hetero-parameter-list-with-typelevel-tools Data.HeteroParList.Tuple No documentation available.