6.2 AdwSidebarSectionCreateItemFunc

Callback: AdwSidebarSectionCreateItemFunc

A procedure given for it is called as (procedure item) ⇒ %return.

Called for sidebars that are bound to a <GListModel> with SidebarSection.bind_model for each item that gets added to the model.

item

Passed: a <GObject>.

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

%return

Returned: a <AdwSidebarItem>.

an <AdwSidebarItem> that represents item

user-data

Not passed: it is the user data that guile-gi supplied.

user data