![]() |
![]() |
![]() |
Mex Reference Manual | ![]() |
---|---|---|---|---|
Top | Description | Object Hierarchy | Implemented Interfaces | Properties | Signals |
enum MexFeedSearchMode; struct MexFeed; struct MexFeedClass; MexFeed * mex_feed_new (const char *title
,const char *source
); void mex_feed_search (MexFeed *feed
,const char **search
,MexFeedSearchMode mode
,MexModel *results_model
); MexProgram * mex_feed_lookup (MexFeed *feed
,const char *id
); guint mex_feed_get_default_nb_results (MexFeed *feed
); MexProgram; MexFeedPrivate;
GEnum +----MexFeedSearchMode
GObject +----MexGenericModel +----MexFeed +----MexGriloFeed
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
typedef enum { MEX_FEED_SEARCH_MODE_OR, MEX_FEED_SEARCH_MODE_AND } MexFeedSearchMode;
struct MexFeedClass { MexGenericModelClass parent_class; void (*refresh) (MexFeed *feed); };
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.