ewebkit2
1.11.0
Web engine based on WebKit2 for EFL
|
Describes the Ewk Page Group API. More...
Go to the source code of this file.
Typedefs | |
typedef struct EwkObject | Ewk_Page_Group |
Functions | |
EAPI Ewk_Page_Group * | ewk_page_group_create (const char *identifier) |
EAPI Ewk_Settings * | ewk_page_group_settings_get (const Ewk_Page_Group *page_group) |
EAPI Eina_Bool | ewk_page_group_user_style_sheet_add (Ewk_Page_Group *page_group, const char *source, const char *base_url, Eina_List *white_list, Eina_List *black_list, Eina_Bool main_frame_only) |
EAPI Eina_Bool | ewk_page_group_user_style_sheets_remove_all (Ewk_Page_Group *page_group) |
Describes the Ewk Page Group API.
typedef struct EwkObject Ewk_Page_Group |
Declare Ewk_Page_Group as Ewk_Object.
EAPI Ewk_Page_Group* ewk_page_group_create | ( | const char * | identifier) |
Creates a new Ewk_Page_Group.
The returned Ewk_Page_Group object should be unref'ed after use.
NULL
on failureEAPI Ewk_Settings* ewk_page_group_settings_get | ( | const Ewk_Page_Group * | page_group) |
Gets the Ewk_Settings of this page_group.
page_group | Ewk_Page_Group object to get Ewk_Settings |
NULL
on failure EAPI Eina_Bool ewk_page_group_user_style_sheet_add | ( | Ewk_Page_Group * | page_group, |
const char * | source, | ||
const char * | base_url, | ||
Eina_List * | white_list, | ||
Eina_List * | black_list, | ||
Eina_Bool | main_frame_only | ||
) |
Adds the user style sheet to this page group.
page_group | ewk_page_gorup object to add the user style sheet |
source | the user style sheet |
base_url | base url |
white_list | url list to allow adding the user style sheet |
black_list | url list to disallow adding the user style sheet |
main_frame_only | a state to apply the user style sheet only to the mainframe |
EINA_TRUE
if the user style sheet is added to the page group, or EINA_FALSE
otherwise EAPI Eina_Bool ewk_page_group_user_style_sheets_remove_all | ( | Ewk_Page_Group * | page_group) |
Remove all the user style sheets from this page group.
page_group | page group object to remove all the user style sheets |
EINA_TRUE
if all the user style sheet are removed from the page group, or EINA_FALSE
otherwise