title: GUI architecture design resources?
body: <p>I'm interested in the inner workings of Graphical User Interface libraries, such as <strong>Qt</strong> or <strong>wxWidgets</strong>. I sort of understand how a GUI system could be structured, but I have many unanswered doubts (regarding focus, priority, positioning, special widgets, etc) that would be easily resolved by reading interesting resources about GUI architecture design.</p>
  
  <p>Unfortunately, Google was not really helpful. I couldn't find a good website/article/tutorial that explained how modern GUI architecture is designed and structured.</p>
  
  <p>Is there any good book/resource you recommend on the subject? I would prefer if the resource was for C++ developers, but I'm perfectly fine with language-independent resources (or C/Java ones).</p>
  
  <p><strong>To clarify:</strong> I'm not particularly interested in event/messaging architecture, but mostly on handling mouse/keyboard input, hovering detection, dealing with widgets that stack one on top of the other, dealing with widgets that open up temporary menus, form re-sizing with widget alignment, dragging and dropping, and so on. </p>