Method

ClutterScriptlookup_filename

Declaration [src]

gchar*
clutter_script_lookup_filename (
  ClutterScript* script,
  const gchar* filename
)

Description [src]

Looks up filename inside the search paths of script. If filename is found, its full path will be returned .

Available since:0.8

Parameters

filename const gchar*
 

The name of the file to lookup.

 The data is owned by the caller of the function.
 The value is a NUL terminated UTF-8 string.

Return value

Returns: gchar*
 

The full path of filename or NULL if no path was found.

 The caller of the method takes ownership of the data, and is responsible for freeing it.
 The value is a NUL terminated UTF-8 string.