gimp_gimprc_query - Queries the gimprc file parser for information on a specified token.
SYNOPSIS
value = gimp_gimprc_query (token)
DESCRIPTION
This procedure is used to locate additional information contained in the gimprc file considered extraneous to the operation of the GIMP. Plug-ins that need configuration information can expect it will be stored in the user gimprc file and can use this procedure to retrieve it. This query procedure will return the value associated with the specified token. This corresponds _only_ to entries with the format: (<token> ). The value must be a string. Entries not corresponding to this format will cause warnings to be issued on gimprc parsing a nd will not be queryable.
INPUT ARGUMENTS
TYPE
NAME
DESCRIPTION
STRING
token
The token to query for
RETURN VALUES
TYPE
NAME
DESCRIPTION
STRING
value
The value associated with the queried token
SOME SYNTAX ALTERNATIVES
value = Gimp->gimprc_query (token) value = gimprc_query Layer (token) value = gimprc_query Image (token) value = gimprc_query Channel (token) value = gimprc_query Display (token) value = gimprc_query Drawable (token)
AUTHOR
Spencer Kimball & Peter Mattis (c)1997 Spencer Kimball & Peter Mattis