get_icon_surface


Description:

[ Version ( since = "3.30" ) ]
public virtual Surface? get_icon_surface (Widget widget)

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.

Parameters:

this

a Suggestion

widget

a widget that may contain the surface

Returns:

a XlibSurface or null




2022 vala-language.org