Extracted from Pike v8.0 release 164 as of 2018-07-18.
   

Method GTK2.main()


Method main

void main()

Description

Start GTK in blocking mode. Doing this disables asynchronous I/O in pike. You can return -1 from main in pike to run GTK (and the rest of pike) in asynchronous mode.