Suggestion.getIconSurface

This function allows subclasses to dynamicly generate content for the suggestion such as may be required when integrating with favicons or similar.

@widget is provided so that the implementation may determine scale or any other style-specific settings from the style context.

class Suggestion
Surface
getIconSurface
(
Widget widget
)

Parameters

widget
Type: Widget

a widget that may contain the surface

Return Value

Type: Surface

a #cairo_surface_t or %NULL

Meta

Since

3.30