Hello, I’m having trouble understanding the documentation for dropdowns in gtk4 and all the help online seems to be for combo boxes which are now deprecated. This is my code:
const char* options = { “1”, “5”, “7”, “9” };
//seg fault on this line
GtkWidget* dropdown0 = gtk_drop_down_new_from_strings (options);