Function

Gtkrc_find_pixmap_in_path

deprecated: 3.0 

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

Type: GtkSettings

A GtkSettings.

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

Type: 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

Type: const gchar*

Name of the pixmap file to locate.

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

Return value

Type: gchar*

The filename.

The caller of the function takes ownership of the data, and is responsible for freeing it.
The value is a platform-native string, using the preferred OS encoding on Unix and UTF-8 on Windows.