How can I manually select points/verteces of my geometry in a gui?

Hi everyone!

I am working on a project where I need to be able to pick points or verteces from my geometry manually in my gui.
Is it possible to use draw_geometries_with_vertex_selection() or the VisualizerWithVertexSelection() in a the o3d gui application? If so, how do I integrate this function or class respectively in my gui?