win8_search_add_suggestions

Set the search terms from a list of keywords.

Syntax:

GML Code Example

win8_search_add_suggestions(list);


Argument Description
list a ds_list that holds all the search terms


Returns: N/A


Description

This function uses a ds_list to set a series of keyword search terms that the "search charm" will find if used.


Example:

GML Code Example

win8_search_enable(scr_SearchWords);
 var list;
 list = ds_list_create();
 ds_list_add(list, "smelly fish");
 ds_list_add(list, "Haggis");
 ds_list_add(list, "MacSweeney");
 ds_list_add(list, "the quick brown fox");
 ds_list_add(list, "99 red ballons");
 win8_search_add_suggestions(list);
 ds_list_destroy(list);
 

The above code will enable the search functions for your app and tell Windows to run the callback script should it find a corresponding search term. Some keywords are then added into a ds_list which is used to create the search terms that the "search charm" will find when used.





No Examples Submitted

Does this page need better examples? Be the first to Submit

No Edits Suggested

Is this page unclear or not descriptive enough? Suggest an edit to the page and with enough upvotes your changes will be made.

No Questions Have Been Ask

Do you have a question about this page? Ask it Here