IdeSearchResult
IdeSearchResult
|
|
Functions
IDE_TYPE_SEARCH_RESULT
#define IDE_TYPE_SEARCH_RESULT (ide_search_result_get_type())
ide_search_result_new ()
IdeSearchResult *
ide_search_result_new (IdeContext *context
,
const gchar *title
,
const gchar *subtitle
,
gfloat score
);
ide_search_result_get_score ()
gfloat
ide_search_result_get_score (IdeSearchResult *result
);
ide_search_result_get_title ()
const gchar *
ide_search_result_get_title (IdeSearchResult *result
);
ide_search_result_get_subtitle ()
const gchar *
ide_search_result_get_subtitle (IdeSearchResult *result
);
ide_search_result_activate ()
void
ide_search_result_activate (IdeSearchResult *result
);
Types and Values
struct IdeSearchResultClass
struct IdeSearchResultClass {
IdeObjectClass parent;
void (*activate) (IdeSearchResult *result);
};
IdeSearchResult
typedef struct _IdeSearchResult IdeSearchResult;
Property Details
The “score”
property
“score” gfloat
The score of the search result.
Flags: Read / Write / Construct Only
Allowed values: [0,1]
Default value: 0
The “subtitle”
property
“subtitle” gchar *
The subtitle of the search result.
Flags: Read / Write / Construct Only
Default value: NULL
The “title”
property
“title” gchar *
The title of the search result.
Flags: Read / Write / Construct Only
Default value: NULL