Daniel M. answered 06/04/19
Award Winning Lead Software Engineer and College Instructor
There is no native Linux GUI API. Not in the way that MS Windows has a native GUI API. The GUI on top of Linux is 'normally' Xorg. There are other GUIs but they are specialized and not normally included with standard Linux distributions.
The Xorg API can be found in Xlib (or XCB). But you really are better off using a GUI wrapper library such as Qt.