Function

Gtkrc_find_pixmap_in_path

Declaration [src]

gchar*
gtk_rc_find_pixmap_in_path (
  GtkSettings* settings,
  GScanner* scanner,
  const gchar* pixmap_file
)

Description [src]

Looks up a file in pixmap path for the specified GtkSettings. If the file is not found, it outputs a warning message using g_warning() and returns NULL.

Deprecated since:3.0

Use GtkCssProvider instead.

Parameters

settings GtkSettings
 

A GtkSettings.

 The data is owned by the caller of the function.
scanner GScanner
 

Scanner used to get line number information for the warning message, or NULL.

 The data is owned by the caller of the function.
pixmap_file const gchar*
 

Name of the pixmap file to locate.

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

Return value

Returns: gchar*
 

The filename.

 The caller of the function takes ownership of the data, and is responsible for freeing it.
 The string is a file system path, using the OS encoding.