Virtual Method

IdeSearchResultload_preview

Declaration

IdeSearchPreview*
load_preview (
  IdeSearchResult* self,
  IdeContext* context
)

Description

Gets a preview widget for the search result, if any.

Parameters

context

Type: IdeContext

An IdeContext.

The data is owned by the caller of the function.

Return value

Type: IdeSearchPreview

An IdeSearchPreview, or NULL.

The caller of the function takes ownership of the data, and is responsible for freeing it.
The return value can be NULL.