Method

MetaContextconfigure

Declaration [src]

gboolean
meta_context_configure (
  MetaContext* context,
  int* argc,
  char*** argv,
  GError** error
)

Description

No description available.

Parameters

argc int*
 

Address of the argc parameter of your main() function (or 0 if argv is NULL).

 The argument will be modified by the function.
argv An array of char**
 

Address of theargv parameter of main(), or NULL.

 The argument will be modified by the function.
 The argument can be set to NULL.
 The length of the array is specified in the argc argument.
 The instance takes ownership of the data, and is responsible for freeing it.
 Each element is a NUL terminated UTF-8 string.
error GError **
  The return location for a GError*, or NULL.

Return value

Returns: gboolean
 

TRUE if the commandline arguments (if any) were valid and if the configuration has been successfull, FALSE otherwise.