Interface ICefMenuModelDelegate

Description
Hierarchy
Fields
Methods
Properties

Unit

Declaration

type ICefMenuModelDelegate = interface(ICefBaseRefCounted)

Description

Implement this interface to handle menu model events. The functions of this interface will be called on the browser process UI thread unless otherwise indicated.

UNKNOWN

<see href="https://bitbucket.org/chromiumembedded/cef/src/master/include/capi/cef_menu_model_delegate_capi.h">CEF source file: /include/capi/cef_menu_model_delegate_capi.h (cef_menu_model_delegate_t))

Hierarchy

Overview

Methods

Public procedure ExecuteCommand(const menuModel: ICefMenuModel; commandId: Integer; eventFlags: TCefEventFlags);
Public procedure MouseOutsideMenu(const menuModel: ICefMenuModel; const screenPoint: PCefPoint);
Public procedure UnhandledOpenSubmenu(const menuModel: ICefMenuModel; isRTL: boolean);
Public procedure UnhandledCloseSubmenu(const menuModel: ICefMenuModel; isRTL: boolean);
Public procedure MenuWillShow(const menuModel: ICefMenuModel);
Public procedure MenuClosed(const menuModel: ICefMenuModel);
Public function FormatLabel(const menuModel: ICefMenuModel; var label_ : ustring) : boolean;

Description

Methods

Public procedure ExecuteCommand(const menuModel: ICefMenuModel; commandId: Integer; eventFlags: TCefEventFlags);

Perform the action associated with the specified |command_id| and optional |event_flags|.

Attributes
GUID['{1430D202-2795-433E-9A35-C79A0996F316}']
Public procedure MouseOutsideMenu(const menuModel: ICefMenuModel; const screenPoint: PCefPoint);

Called when the user moves the mouse outside the menu and over the owning window.

Public procedure UnhandledOpenSubmenu(const menuModel: ICefMenuModel; isRTL: boolean);

Called on unhandled open submenu keyboard commands. |is_rtl| will be true (1) if the menu is displaying a right-to-left language.

Public procedure UnhandledCloseSubmenu(const menuModel: ICefMenuModel; isRTL: boolean);

Called on unhandled close submenu keyboard commands. |is_rtl| will be true (1) if the menu is displaying a right-to-left language.

Public procedure MenuWillShow(const menuModel: ICefMenuModel);

The menu is about to show.

Public procedure MenuClosed(const menuModel: ICefMenuModel);

The menu has closed.

Public function FormatLabel(const menuModel: ICefMenuModel; var label_ : ustring) : boolean;

Optionally modify a menu item label. Return true (1) if |label| was modified.


Generated by PasDoc 0.16.0-snapshot.