ewebkit2
1.11.0
Web engine based on WebKit2 for EFL
|
Describes the Ewk File Chooser API. More...
#include <Eina.h>
Go to the source code of this file.
Typedefs | |
typedef struct EwkObject | Ewk_File_Chooser_Request |
Functions | |
EAPI Eina_Bool | ewk_file_chooser_request_allow_multiple_files_get (const Ewk_File_Chooser_Request *request) |
EAPI Eina_List * | ewk_file_chooser_request_accepted_mimetypes_get (const Ewk_File_Chooser_Request *request) |
EAPI Eina_Bool | ewk_file_chooser_request_cancel (Ewk_File_Chooser_Request *request) |
EAPI Eina_Bool | ewk_file_chooser_request_files_choose (Ewk_File_Chooser_Request *request, const Eina_List *chosen_files) |
EAPI Eina_Bool | ewk_file_chooser_request_file_choose (Ewk_File_Chooser_Request *request, const char *chosen_file) |
Describes the Ewk File Chooser API.
typedef struct EwkObject Ewk_File_Chooser_Request |
Declare Ewk_File_Chooser_Request as Ewk_Object.
EAPI Eina_List* ewk_file_chooser_request_accepted_mimetypes_get | ( | const Ewk_File_Chooser_Request * | request) |
Queries the list of accepted MIME types.
Possible MIME types are:
request | request object to query |
EAPI Eina_Bool ewk_file_chooser_request_allow_multiple_files_get | ( | const Ewk_File_Chooser_Request * | request) |
Queries if it is allowed to select multiple files or not.
request | request object to query |
EINA_TRUE
if it is allowed to select multiple files, EINA_FALSE
otherwise EAPI Eina_Bool ewk_file_chooser_request_cancel | ( | Ewk_File_Chooser_Request * | request) |
Cancels the file chooser request.
request | request object to cancel |
EINA_TRUE
if successful, EINA_FALSE
otherwise EAPI Eina_Bool ewk_file_chooser_request_file_choose | ( | Ewk_File_Chooser_Request * | request, |
const char * | chosen_file | ||
) |
Sets the file chosen by the user.
This is a convenience function in case only one file needs to be set.
request | request object to update |
EINA_TRUE
if successful, EINA_FALSE
otherwiseEAPI Eina_Bool ewk_file_chooser_request_files_choose | ( | Ewk_File_Chooser_Request * | request, |
const Eina_List * | chosen_files | ||
) |
Sets the files chosen by the user.
request | request object to update |
EINA_TRUE
if successful, EINA_FALSE
otherwise