Messages

Members

Static functions

onErrorQuery
void onErrorQuery(string prgName)

Prompts the user with [E]xit, [H]alt, show [S]tack trace or [P]roceed. This function is intended to be used for debugging use only. The following example shows how it can be used together with the g_log() functions.

onErrorStackTrace
void onErrorStackTrace(string prgName)

Invokes gdb, which attaches to the current process and shows a stack trace. Called by g_on_error_query() when the "Stack trace" option is selected. You can get the current process's program name with g_get_prgname(), assuming that you have called gtk_init() or gdk_init().

setPrintHandler
GPrintFunc setPrintHandler(GPrintFunc func)

Sets the print handler.

setPrinterrHandler
GPrintFunc setPrinterrHandler(GPrintFunc func)

Sets the handler for printing error messages.