I’m working with GTK4 and using a GtkDropDown widget to show a list of items. I regularly needed to update the list. I want to disable the dropdown and close pop up menu (if opened by the user). Thus, I need to programmatically close the dropdown’s pop-up list before updating the list.
Is there a function or method in GTK4 that allows me to close the pop-up list of a GtkDropDown programmatically?