GSK Reference Manual | ||||
---|---|---|---|---|
int gsk_main_run (); void gsk_main_quit (); void gsk_main_exit (int exit_status);
These function can be used to run the main loop for a fixed duration, or to quit / exit the program.
int gsk_main_run ();
Run the main loop until it terminates, returning the value which
should be returned by main()
.
Returns : | the exit code for this process. |
void gsk_main_exit (int exit_status);
Exit the program by stopping gsk_main_run()
.
exit_status : |
desired exit-status code for this process. |