Package ch.bailu.gtk.gio
Interface Vfs.OnVfsFileLookupFunc
- Enclosing class:
- Vfs
- Functional Interface:
- This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.
-
Method Summary
Modifier and TypeMethodDescriptiononVfsFileLookupFunc
(CallbackHandler __self, Vfs vfs, Str identifier, Pointer user_data) This function type is used by g_vfs_register_uri_scheme() to make it
possible for a client to associate an URI scheme to a different #GFile
implementation.
-
Method Details
-
onVfsFileLookupFunc
File onVfsFileLookupFunc(CallbackHandler __self, @Nonnull Vfs vfs, @Nonnull Str identifier, @Nullable Pointer user_data) This function type is used by g_vfs_register_uri_scheme() to make it
possible for a client to associate an URI scheme to a different #GFile
implementation.
The client should return a reference to the new file that has been
created for @uri, or %NULL to continue with the default implementation.- Parameters:
vfs
- a #GVfsidentifier
- the identifier to look up a #GFile for. This can either be an URI or a parse name as returned by g_file_get_parse_name()user_data
- user data passed to the function- Returns:
- a #GFile for @identifier.
-