問題:
Both Windows (Win32 API) and OS X (Cocoa) have their own APIs to handle windows, events and other OS stuff. Windows (Win32 API) 和 OS X (Cocoa) 都有自己的 API 來處理窗口、事件和其他操作系統的東西。 I have never really got a clear answer as to what Linux's equivalent is?對於 Linux 的等價物是什麼,我從來沒有真正得到明確的答案?
I have heard some people say GTK+, but GTK+ being cross platform.我聽說有人說 GTK+,但 GTK+ 是跨平臺的。 How can it be native?怎麼可能是國產的?
解決方案:
參考一: https://stackoom.com/question/rMJ8參考二: What is Linux’s native GUI API?