How to call a Widget function in C++

And then go to you widget blueprint, go to “File->Reparent Blueprint” and pick your C++ class. Now you can place C++ event on blueprint and it will be called when you call C++ function you declered ;] if you dont see it among events hover over function categoty bar and click Override your event will be there

You must Reparent your widget blueprint not your C++ class

I think you are very confuse using UMG and C++ code. Take a look at the programming tutorial series. There show how to call C++ functions.