This function either returns a GtkMenu or NULL. Still to do: detect if the app menu is externally handled.