How to bind Adw.ComboRow with StringList to GSchema with type "s"

I have a GSchema key of type “string”

<key name="auto-file-format" type="s">
	<choices>
		<choice value=".lrc" />
		<choice value=".txt" />
	</choices>
	<default>".lrc"</default>
</key>

And I want to bind it to Adw.ComboRow with StringList model. “selected” property of Adw.ComboRow only returns int and incompatible with “s” type in GSchema. So then, how to bind that combo row to gschema?

g_settings_bind: property 'selected' on class 'AdwComboRow' has type 'guint' which is not compatible with type 's' of key 'auto-file-format' on schema 'io.github.dzheremi2.lrcmake-gtk'

You would use Gio.Settings.bind_with_mapping to transform the values from one to another (just like we do with GObject.Object.bind_property), but sadly to my knowledge it’s not yet available from PyGObject.

So for now you need to connect to the signals and update the values manually.

You’re right, it’s not yet implemented. Anyway, thank you for your help.