How to display text in editor?

I was thinking about using that, but to open an Editor Utility Widget and display it, you have to do it manually. Do you know of a way I can open it with code? something like “Create Widget & Add to Viewport” but for Utility Widgets.