# Is there a way to make basic UI completely from C++?

**URL:** <https://forums.unrealengine.com/t/is-there-a-way-to-make-basic-ui-completely-from-c/138159>\
**Category:** C++\
**Tags:** unreal-engine\
**Created:** [February 14, 2020, 5:34am UTC](https://forums.unrealengine.com/t/is-there-a-way-to-make-basic-ui-completely-from-c/138159 "2020-02-14T05:34:14Z")\
**Posts on this page:** 1\
**Showing post:** 3

<div class="post-metadata">

**Author:** ![andrea.b](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@andrea.b](https://forums.unrealengine.com/u/andrea.b)\
**Post date:** [February 14, 2020, 8:20am UTC](https://forums.unrealengine.com/t/is-there-a-way-to-make-basic-ui-completely-from-c/138159/3 "2020-02-14T08:20:06Z")

</div>

If you want to program your UI completely in C++ I suggest you to use Slate. It’s the UI framework that powers Unreal Engine 4 editor and the UMG widgets are just UObjects that wrap Slate native widgets.

Slate has a declarative syntax which I think it makes it cool considering it’s C++.  
You should take a look at these links:  
[https://docs.unrealengine.com/en-US/…ate/index.html](https://docs.unrealengine.com/en-US/Programming/Slate/index.html)

> **[A new, community-hosted Unreal Engine Wiki](https://forums.unrealengine.com/t/a-new-community-hosted-unreal-engine-wiki/141494)**
>
> After over a year in maintenance mode, the official Unreal Engine Wiki is now permanently offline. These resources now live on a new community-run Unreal Engine Community Wiki — ue4community.wiki! You will be able to find content from the official...

If you use Slate of course you’ll have better performance, but I prefer UMG because there is an WYSIWYG designer and you don’t have to recompile your game module everytime you want to see changes in your UI, so keep in mind you’ll have slower iteration times if you go with Slate.

---

_[View the full topic](https://forums.unrealengine.com/t/is-there-a-way-to-make-basic-ui-completely-from-c/138159)._
