Celeb Glow
updates | March 23, 2026

Is there any ubuntu API?

in Windows, a programmer can use Windows API to write a Windows application. Windows API can be used with C (not necessarily C++). In Windows API you have a message loop and you have to program responses to different messages (eg a right click on client area).

Is there any ubuntu API?

I don't mean Qt or GTK. I'm looking for a raw (C/C++) API so that everything must be (re)designed.

4

1 Answer

I came to Linux from a Win32 API background. Because Windows wraps up the equivalent of the Linux window manager and desktop environment into a single container, there just isn't a one-to-one match. Gtk and Qt really are more or less the equivalent to the Win API.

Keeping in mind that the Win API itself in most cases is a wrapper on lower levels, if you really want to get down into the low-levels of the windowing system, you can look at X11 programming. For example, X Window System and Brief Intro to X11 Programming. But Gtk and Qt are designed to be wrappers around these functions.

Your Answer

Sign up or log in

Sign up using Google Sign up using Facebook Sign up using Email and Password

Post as a guest

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy