I noticed that gtk4-rs ListItem does not have a sensitive property, and neither does the C api. Curiously, when I open Gtk’s element inspector, go to GtkListItemWidget and toggle the sensitive property it does exactly what I need. It grays out the item, prevents selection, and disables activation events for that item.
What’s the rationale behind sensitive not being exposed in the API, and what’s the proper way to set it programmatically? I’ve tried setting selectable and activatable but that doesn’t replicate the grayed out styling.