Function
Gtktest_init
since: 2.14
Declaration [src]
void
gtk_test_init (
int* argcp,
char*** argvp,
...
)
Description [src]
This function is used to initialize a GTK+ test program.
It will in turn call g_test_init()
and gtk_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 gtk_init()
and g_test_init(), any known arguments will be
processed and stripped from argc
and argv
.
Available since: 2.14
This function is not directly available to language bindings.
Parameters
argcp
-
Type:
int*
Address of the
argc
parameter of themain()
function. Changed if any arguments were handled.The argument will be modified by the function. argvp
-
Type: An array of
char**
Address of the
argv
parameter of main(). Any parameters understood byg_test_init()
orgtk_init()
are stripped before return.The argument will be modified by the function. The length of the array is specified in the argcp
argument.The caller of the function takes ownership of the returned data, and is responsible for freeing it. Each element is a NUL terminated UTF-8 string. ...
-
Type:
Currently unused.