Function
GtkIconThemeget_for_display
Declaration [src]
GtkIconTheme*
gtk_icon_theme_get_for_display (
GdkDisplay* display
)
Description [src]
Gets the icon theme object associated with display
.
If this function has not previously been called for the given
display, a new icon theme object will be created and associated
with the display. Icon theme objects are fairly expensive to create,
so using this function is usually a better choice than calling
gtk_icon_theme_new()
and setting the display yourself; by using
this function a single icon theme object will be shared between users.
Parameters
display |
GdkDisplay |
A |
|
The data is owned by the caller of the function. |
Return value
Returns: | GtkIconTheme |
A unique |
|
The data is owned by the called function. |