Then let me tell you that programming X Windows is even worse, from the point of view of someone that knows Windows since Windows 3.0, and learned it via Turbo Pascal for Windows and Turbo C++ manuals.
Although, you're going to have to be fairly proficient to get your head around that stuff too.
Agree that X11 has a dreadful API.
And that O'reilly X Windows book series, The Definitive Guides to the X Window System, a "tiny" set of 8 books, only for the UI stack.
X Windows with the X Athena Widgets, or Motif, you better have all those books.