This function does the same work as gtk_init with only a single change: It does not terminate the program if the GUI can't be initialized. Instead it returns FALSE on failure.
This way the application can fall back to some other means of communication with the user - for example a curses or command line interface.
=== E Q ===
տƾûзϲ˼
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
class е㲻̫ðɣһ
class еĶȥˡܲ
ֳɼ class ?
ҴʵIJֿԼΪ
֣ûX,console һ
class, ҲͲðҴʵIJд
ˡ
оǣ X жϲ֣Ȼ
gtk+ ɷʹ gtk_init_check
жϣ
=== Q =====
gboolean gtk_init_check (int *argc, char ***argv);
This function does the same work as gtk_init with only a single change: It does not terminate the program if the GUI can't be initialized. Instead it returns FALSE on failure.
This way the application can fall back to some other means of communication with the user - for example a curses or command line interface.
=== E Q ===
տƾûзϲ˼