Detecting focus-in / focus-out on AdwEntryRow

I’m building an app with gtk-rs (GTK 4) and libadwaita.

I want to detect focus-in / focus-out events on the embedded text field of AdwEntryRow so that I can apply validation styling (adding ‘.error’ to touched fields that are invalid once you tab out of them).

Is this currently possible? Or is this not a recommended pratice?

This topic was automatically closed 45 days after the last reply. New replies are no longer allowed.