They invoke operating system APIs or APIs in other frameworks to create GUI components.
Eg. on Windows, they call the Windows CreateWindow API to create the window.
If the environment runs on multiple platforms, it contains different GUI codes for each of these platforms, calling CreateWindow on Windows or, for example, the Mac equivalent on Mac.
Richiehindle
source share