SidebarSectionCreateItemFunc


Description:

[ CCode ( instance_pos = 1.9 ) ]
[ Version ( since = "1.9" ) ]
public delegate SidebarItem SidebarSectionCreateItemFunc (Object item)

Called for sidebars that are bound to a [iface@Gio.

ListModel] with [method@SidebarSection.bind_model] for each item that gets added to the model.

Parameters:

item

the item from the model for which to create an item for

user_data

user data

Returns:

an `AdwSidebarItem` that represents item


Namespace: Adw
Package: libadwaita-1