![]() |
![]() |
![]() |
Mex Reference Manual | ![]() |
---|---|---|---|---|
Top | Description | Object Hierarchy | Implemented Interfaces | Properties | Signals |
struct MexFeed; struct MexFeedClass; enum MexFeedSearchMode; MexProgram; guint mex_feed_get_default_nb_results (MexFeed *feed
); MexProgram * mex_feed_lookup (MexFeed *feed
,const char *id
); MexFeed * mex_feed_new (const char *title
,const char *source
); void mex_feed_search (MexFeed *feed
,const char **search
,MexFeedSearchMode mode
,MexModel *results_model
);
GObject +----MexGenericModel +----MexFeed +----MexGriloFeed
GEnum +----MexFeedSearchMode
GObject +----GInitiallyUnowned +----MexGenericContent +----MexProgram +----MexGriloProgram
"default-nb-results" guint : Read / Write / Construct "refresh-timeout" guint : Read / Write / Construct "source" gchar* : Read / Write "feed" MexFeed* : Read / Write / Construct Only
struct MexFeedClass { MexGenericModelClass parent_class; void (*refresh) (MexFeed *feed); };
typedef enum { MEX_FEED_SEARCH_MODE_OR, MEX_FEED_SEARCH_MODE_AND } MexFeedSearchMode;
MexFeed * mex_feed_new (const char *title
,const char *source
);
Creates an empty MexFeed.
|
String containing the title. |
|
String containing the source. |
Returns : |
A MexFeed |
void mex_feed_search (MexFeed *feed
,const char **search
,MexFeedSearchMode mode
,MexModel *results_model
);
Searches feed
for the terms found in search
and puts the results
into results_feed
;
|
A MexFeed |
|
A string array |
|
The MexFeedSearchMode |
|
A MexFeed to store the results of the search. |
"default-nb-results"
property"default-nb-results" guint : Read / Write / Construct
Number of results to be returned by default.
Allowed values: >= 1
Default value: 50
"refresh-timeout"
property"refresh-timeout" guint : Read / Write / Construct
The number of seconds after which the feed should be refreshed.
Default value: 600
"feed"
property"feed" MexFeed* : Read / Write / Construct Only
The MexFeed that created this program.