ewebkit2  1.11.0
Web engine based on WebKit2 for EFL
 All Classes Files Functions Variables Typedefs Enumerations Enumerator Macros Pages
Typedefs | Functions
ewk_form_submission_request.h File Reference

Describes the Ewk Form Submission Request API. More...

#include <Eina.h>

Go to the source code of this file.

Typedefs

typedef struct EwkObject Ewk_Form_Submission_Request
 

Functions

EAPI Eina_List * ewk_form_submission_request_field_names_get (Ewk_Form_Submission_Request *request)
 
EAPI const char * ewk_form_submission_request_field_value_get (Ewk_Form_Submission_Request *request, const char *name)
 
EAPI Eina_Bool ewk_form_submission_request_submit (Ewk_Form_Submission_Request *request)
 

Detailed Description

Describes the Ewk Form Submission Request API.

Note
Ewk_Form_Submission_Request provides information regarding a form about the be submitted, in particular its text fields.

Typedef Documentation

typedef struct EwkObject Ewk_Form_Submission_Request

Declare Ewk_Form_Submission_Request as Ewk_Object.

See Also
Ewk_Object

Function Documentation

EAPI Eina_List* ewk_form_submission_request_field_names_get ( Ewk_Form_Submission_Request request)

Returns the list of field names contained in the form associated to request.

Parameters
requestthe request object to query.
Returns
a Eina_List with the form text fields names, or NULL in case of error. The items of the list are guaranteed to be stringshared so use eina_stringshare_add() instead of strdup() to copy them and free them using eina_stringshare_del().
See Also
ewk_form_submission_request_field_value_get()
EAPI const char* ewk_form_submission_request_field_value_get ( Ewk_Form_Submission_Request request,
const char *  name 
)

Returns the value of specific field contained in the form associated to request.

Parameters
requestthe request object to query.
namename of the field to query the value for.
Returns
a Eina_List with the form text fields names, or NULL in case of error. The string returned is guaranteed to be stringshared. You need to call eina_stringshare_del() on the returned value once you are done with it.
See Also
ewk_form_submission_request_field_names_get()
EAPI Eina_Bool ewk_form_submission_request_submit ( Ewk_Form_Submission_Request request)

Continues the form request submission.

If you don't call this function explicitly, the form request will be submitted upon request object destruction.

Parameters
requestthe request object to submit.
Returns
EINA_TRUE is if successful, EINA_FALSE otherwise.