ewebkit2
1.11.0
Web engine based on WebKit2 for EFL
|
Describes the Ewk Context Menu API. More...
#include "ewk_context_menu_item.h"
Go to the source code of this file.
Functions | |
EAPI Ewk_Context_Menu * | ewk_context_menu_new (void) |
EAPI Ewk_Context_Menu * | ewk_context_menu_new_with_items (Eina_List *items) |
EAPI Eina_Bool | ewk_context_menu_item_append (Ewk_Context_Menu *menu, Ewk_Context_Menu_Item *item) |
EAPI Eina_Bool | ewk_context_menu_item_remove (Ewk_Context_Menu *menu, Ewk_Context_Menu_Item *item) |
EAPI Eina_Bool | ewk_context_menu_hide (Ewk_Context_Menu *menu) |
EAPI const Eina_List * | ewk_context_menu_items_get (const Ewk_Context_Menu *o) |
EAPI Eina_Bool | ewk_context_menu_item_select (Ewk_Context_Menu *menu, Ewk_Context_Menu_Item *item) |
Describes the Ewk Context Menu API.
EAPI Eina_Bool ewk_context_menu_hide | ( | Ewk_Context_Menu * | menu) |
Hides the context menu.
menu | the context menu to hide |
EINA_TRUE
on success, EINA_FALSE
on failure EAPI Eina_Bool ewk_context_menu_item_append | ( | Ewk_Context_Menu * | menu, |
Ewk_Context_Menu_Item * | item | ||
) |
Appends the item of the context menu.
menu | the context menu |
item | the item to append |
EINA_TRUE
on success, EINA_FALSE
on failure EAPI Eina_Bool ewk_context_menu_item_remove | ( | Ewk_Context_Menu * | menu, |
Ewk_Context_Menu_Item * | item | ||
) |
Removes the item of the context menu.
menu | the context menu |
item | the item to remove |
EINA_TRUE
on success, EINA_FALSE
on failure EAPI Eina_Bool ewk_context_menu_item_select | ( | Ewk_Context_Menu * | menu, |
Ewk_Context_Menu_Item * | item | ||
) |
Selects the item from the context menu.
menu | the context menu |
item | the item is selected |
EINA_TRUE
on success or EINA_FALSE
on failure EAPI const Eina_List* ewk_context_menu_items_get | ( | const Ewk_Context_Menu * | o) |
Gets the list of items.
o | the context menu to get list of the items |
NULL
on failure EAPI Ewk_Context_Menu* ewk_context_menu_new | ( | void | ) |
Creates a new Ewk_Context_Menu to be used as a submenu of an existing Ewk_Context_Menu. The context menu is created by the ewk_view and passed as an argument of ewk_view smart callback.
EAPI Ewk_Context_Menu* ewk_context_menu_new_with_items | ( | Eina_List * | items) |
Creates a new Ewk_Context_Menu to be used as a submenu of an existing Ewk_Context_Menu with the given initial items. The context menu is created by the ewk_view and passed as an argument of ewk_view smart callback.
items | the list of initial items |