![]() |
![]() |
![]() |
gel Reference Manual | ![]() |
---|---|---|---|---|
Top | Description | Object Hierarchy | Signals |
GelIOScanner; GelIOScannerClass; GList * gel_io_scanner_flatten_result (GList *forest
); GelIOScanner * gel_io_scanner_new (void
); GelIOScanner * gel_io_scanner_new_full (GList *uris
,const gchar *attributes
,gboolean recurse
); void gel_io_scanner_scan (GelIOScanner *self
,GList *uris
,const gchar *attributes
,gboolean recurse
);
typedef struct { GObjectClass parent_class; void (*finish) (GelIOScanner *self, GList *forest); void (*error) (GelIOScanner *self, GFile *source, GError *error); void (*cancel) (GelIOScanner *self); } GelIOScannerClass;
GList * gel_io_scanner_flatten_result (GList *forest
);
Flatens a forest (a list of trees) of results
GelIOScanner * gel_io_scanner_new (void
);
Creates a new GelIOScanner
Returns : |
The scanner. [transfer full] |
GelIOScanner * gel_io_scanner_new_full (GList *uris
,const gchar *attributes
,gboolean recurse
);
uris
: (element-type utf8) (transfer none): URIs to scan (gchar*)
attributes
: Attributes to retrieve from URIs, see GFileInfo attributes
recurse
: Recurse deep into the uris
Scans URIs from uris
, retrieving the requested attributes
Returns : |
A new GelIOScanner in progress. [transfer full] |
void gel_io_scanner_scan (GelIOScanner *self
,GList *uris
,const gchar *attributes
,gboolean recurse
);
self
: A existing GelIOScanner
uris
: (element-type utf8) (transfer none): A GList of URIs (gchar*) to * scan
attributes
: Attributes to retrieve from URIs, see GFileInfo attributes
recurse
: Recurse deep into the uri
Scans URIs on a existing GelIOScanner. Fails if self
it is already on scan
"cancel"
signalvoid user_function (GelIOScanner *scanner,
gpointer user_data) : Run Last
Emitted if the scan if canceled
|
The GelIOScanner |
|
user data set when the signal handler was connected. |
"error"
signalvoid user_function (GelIOScanner *scanner,
GObject *error,
gpointer arg2,
gpointer user_data) : Run Last
Emitted if an error is encountered
|
The GelIOScanner |
|
A GError |
|
user data set when the signal handler was connected. |
"finish"
signalvoid user_function (GelIOScanner *scanner,
gpointer results,
gpointer user_data) : Run Last
Emitted after scan completion
|
The GelIOScanner |
|
Results of the operation |
|
user data set when the signal handler was connected. |