ewebkit2
1.11.0
Web engine based on WebKit2 for EFL
|
Describes the Ewk Back Forward List API. More...
#include "ewk_back_forward_list_item.h"
Go to the source code of this file.
Macros | |
#define | ewk_back_forward_list_back_items_copy(list) ewk_back_forward_list_n_back_items_copy(list, -1) |
#define | ewk_back_forward_list_forward_items_copy(list) ewk_back_forward_list_n_forward_items_copy(list, -1) |
Typedefs | |
typedef struct EwkBackForwardList | Ewk_Back_Forward_List |
Functions | |
EAPI Ewk_Back_Forward_List_Item * | ewk_back_forward_list_current_item_get (const Ewk_Back_Forward_List *list) |
EAPI Ewk_Back_Forward_List_Item * | ewk_back_forward_list_previous_item_get (const Ewk_Back_Forward_List *list) |
EAPI Ewk_Back_Forward_List_Item * | ewk_back_forward_list_next_item_get (const Ewk_Back_Forward_List *list) |
EAPI Ewk_Back_Forward_List_Item * | ewk_back_forward_list_item_at_index_get (const Ewk_Back_Forward_List *list, int index) |
EAPI unsigned | ewk_back_forward_list_count (Ewk_Back_Forward_List *list) |
EAPI Eina_List * | ewk_back_forward_list_n_back_items_copy (const Ewk_Back_Forward_List *list, int limit) |
EAPI Eina_List * | ewk_back_forward_list_n_forward_items_copy (const Ewk_Back_Forward_List *list, int limit) |
Describes the Ewk Back Forward List API.
#define ewk_back_forward_list_back_items_copy | ( | list) | ewk_back_forward_list_n_back_items_copy(list, -1) |
Creates the list containing the items preceding the current item.
The Ewk_Back_Forward_List_Item
elements are located in the result list starting with the oldest one.
list | the back-forward list instance |
Eina_List
containing Ewk_Back_Forward_List_Item
elements or NULL
in case of error, the Eina_List and its items should be freed after use. Use ewk_object_unref() to free the items#define ewk_back_forward_list_forward_items_copy | ( | list) | ewk_back_forward_list_n_forward_items_copy(list, -1) |
Creates the list containing the items following the current item.
The Ewk_Back_Forward_List_Item
elements are located in the result list starting with the oldest one.
list | the back-forward list instance |
Eina_List
containing Ewk_Back_Forward_List_Item
elements or NULL
in case of error, the Eina_List and its items should be freed after use. Use ewk_object_unref() to free the itemstypedef struct EwkBackForwardList Ewk_Back_Forward_List |
Creates a type name for Ewk_Back_Forward_List
EAPI unsigned ewk_back_forward_list_count | ( | Ewk_Back_Forward_List * | list) |
Returns the length of the back-forward list including current item.
list | the back-forward list instance |
0
in case of error EAPI Ewk_Back_Forward_List_Item* ewk_back_forward_list_current_item_get | ( | const Ewk_Back_Forward_List * | list) |
Returns the current item in the list.
list | the back-forward list instance |
NULL
in case of error EAPI Ewk_Back_Forward_List_Item* ewk_back_forward_list_item_at_index_get | ( | const Ewk_Back_Forward_List * | list, |
int | index | ||
) |
Returns the item at a given index relative to the current item.
list | the back-forward list instance |
index | the index of the item |
NULL
in case of error EAPI Eina_List* ewk_back_forward_list_n_back_items_copy | ( | const Ewk_Back_Forward_List * | list, |
int | limit | ||
) |
Creates the list containing the items preceding the current item limited by limit.
The Ewk_Back_Forward_List_Item
elements are located in the result list starting with the oldest one. if limit is equal to -1
all the items preceding the current item are returned.
list | the back-forward list instance |
limit | the number of items to retrieve |
Eina_List
containing Ewk_Back_Forward_List_Item
elements or NULL
in case of error, the Eina_List and its items should be freed after use. Use ewk_object_unref() to free the items EAPI Eina_List* ewk_back_forward_list_n_forward_items_copy | ( | const Ewk_Back_Forward_List * | list, |
int | limit | ||
) |
Creates the list containing the items following the current item limited by limit.
The Ewk_Back_Forward_List_Item
elements are located in the result list starting with the oldest one. if limit is equal to -1
all the items preceding the current item are returned.
list | the back-forward list instance |
limit | the number of items to retrieve |
Eina_List
containing Ewk_Back_Forward_List_Item
elements or NULL
in case of error, the Eina_List and its items should be freed after use. Use ewk_object_unref() to free the items EAPI Ewk_Back_Forward_List_Item* ewk_back_forward_list_next_item_get | ( | const Ewk_Back_Forward_List * | list) |
Returns the item that follows the current item in the list.
list | the back-forward list instance |
NULL
in case of error EAPI Ewk_Back_Forward_List_Item* ewk_back_forward_list_previous_item_get | ( | const Ewk_Back_Forward_List * | list) |
Returns the item that precedes the current item in the list.
list | the back-forward list instance |
NULL
in case of error