test_init


Description:

[ Version ( since = "2.14" ) ]
public void test_init (ref string[] argvp, ...)

This function is used to initialize a GTK+ test program.

It will in turn call init and init to properly initialize the testing framework and graphical toolkit. It’ll also set the program’s locale to “C” and prevent loading of rc files and Gtk+ modules. This is done to make tets program environments as deterministic as possible.

Like init and init, any known arguments will be processed and stripped from argc and argv.

Parameters:

argvp

Address of the `argv` parameter of main. Any parameters understood by init or init are stripped before return.

...

currently unused

argcp

Address of the `argc` parameter of the main function. Changed if any arguments were handled.


Namespace: Gtk
Package: gtk+-3.0