Method

IdeSearchResultload_preview

Declaration

IdeSearchPreview*
ide_search_result_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 method.

Return value

Type: IdeSearchPreview

An IdeSearchPreview, or NULL.

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