Record TCefMenuModel

Description
Hierarchy
Fields
Methods
Properties

Unit

Declaration

type TCefMenuModel = record

Description

Supports creation and modification of menus. See TCefMenuId (cef_menu_id_t) for the command ids that have default implementations. All user-defined command ids should be between MENU_ID_USER_FIRST and MENU_ID_USER_LAST. The functions of this structure can only be accessed on the browser process the UI thread.

Implemented by ICefMenuModel.

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

Overview

Fields

Public base: TCefBaseRefCounted;
Public is_sub_menu: function(self: PCefMenuModel): Integer; stdcall;
Public clear: function(self: PCefMenuModel): Integer; stdcall;
Public get_count: function(self: PCefMenuModel): NativeUInt; stdcall;
Public add_separator: function(self: PCefMenuModel): Integer; stdcall;
Public add_item: function(self: PCefMenuModel; command_id: Integer; const text: PCefString): Integer; stdcall;
Public add_check_item: function(self: PCefMenuModel; command_id: Integer; const text: PCefString): Integer; stdcall;
Public add_radio_item: function(self: PCefMenuModel; command_id: Integer; const text: PCefString; group_id: Integer): Integer; stdcall;
Public add_sub_menu: function(self: PCefMenuModel; command_id: Integer; const text: PCefString): PCefMenuModel; stdcall;
Public insert_separator_at: function(self: PCefMenuModel; index: NativeUInt): Integer; stdcall;
Public insert_item_at: function(self: PCefMenuModel; index: NativeUInt; command_id: Integer; const text: PCefString): Integer; stdcall;
Public insert_check_item_at: function(self: PCefMenuModel; index: NativeUInt; command_id: Integer; const text: PCefString): Integer; stdcall;
Public insert_radio_item_at: function(self: PCefMenuModel; index: NativeUInt; command_id: Integer; const text: PCefString; group_id: Integer): Integer; stdcall;
Public insert_sub_menu_at: function(self: PCefMenuModel; index: NativeUInt; command_id: Integer; const text: PCefString): PCefMenuModel; stdcall;
Public remove: function(self: PCefMenuModel; command_id: Integer): Integer; stdcall;
Public remove_at: function(self: PCefMenuModel; index: NativeUInt): Integer; stdcall;
Public get_index_of: function(self: PCefMenuModel; command_id: Integer): Integer; stdcall;
Public get_command_id_at: function(self: PCefMenuModel; index: NativeUInt): Integer; stdcall;
Public set_command_id_at: function(self: PCefMenuModel; index: NativeUInt; command_id: Integer): Integer; stdcall;
Public get_label: function(self: PCefMenuModel; command_id: Integer): PCefStringUserFree; stdcall;
Public get_label_at: function(self: PCefMenuModel; index: NativeUInt): PCefStringUserFree; stdcall;
Public set_label: function(self: PCefMenuModel; command_id: Integer; const text: PCefString): Integer; stdcall;
Public set_label_at: function(self: PCefMenuModel; index: NativeUInt; const text: PCefString): Integer; stdcall;
Public get_type: function(self: PCefMenuModel; command_id: Integer): TCefMenuItemType; stdcall;
Public get_type_at: function(self: PCefMenuModel; index: NativeUInt): TCefMenuItemType; stdcall;
Public get_group_id: function(self: PCefMenuModel; command_id: Integer): Integer; stdcall;
Public get_group_id_at: function(self: PCefMenuModel; index: NativeUInt): Integer; stdcall;
Public set_group_id: function(self: PCefMenuModel; command_id, group_id: Integer): Integer; stdcall;
Public set_group_id_at: function(self: PCefMenuModel; index: NativeUInt; group_id: Integer): Integer; stdcall;
Public get_sub_menu: function(self: PCefMenuModel; command_id: Integer): PCefMenuModel; stdcall;
Public get_sub_menu_at: function(self: PCefMenuModel; index: NativeUInt): PCefMenuModel; stdcall;
Public is_visible: function(self: PCefMenuModel; command_id: Integer): Integer; stdcall;
Public is_visible_at: function(self: PCefMenuModel; index: NativeUInt): Integer; stdcall;
Public set_visible: function(self: PCefMenuModel; command_id, visible: Integer): Integer; stdcall;
Public set_visible_at: function(self: PCefMenuModel; index: NativeUInt; visible: Integer): Integer; stdcall;
Public is_enabled: function(self: PCefMenuModel; command_id: Integer): Integer; stdcall;
Public is_enabled_at: function(self: PCefMenuModel; index: NativeUInt): Integer; stdcall;
Public set_enabled: function(self: PCefMenuModel; command_id, enabled: Integer): Integer; stdcall;
Public set_enabled_at: function(self: PCefMenuModel; index: NativeUInt; enabled: Integer): Integer; stdcall;
Public is_checked: function(self: PCefMenuModel; command_id: Integer): Integer; stdcall;
Public is_checked_at: function(self: PCefMenuModel; index: NativeUInt): Integer; stdcall;
Public set_checked: function(self: PCefMenuModel; command_id, checked: Integer): Integer; stdcall;
Public set_checked_at: function(self: PCefMenuModel; index: NativeUInt; checked: Integer): Integer; stdcall;
Public has_accelerator: function(self: PCefMenuModel; command_id: Integer): Integer; stdcall;
Public has_accelerator_at: function(self: PCefMenuModel; index: NativeUInt): Integer; stdcall;
Public set_accelerator: function(self: PCefMenuModel; command_id, key_code, shift_pressed, ctrl_pressed, alt_pressed: Integer): Integer; stdcall;
Public set_accelerator_at: function(self: PCefMenuModel; index: NativeUInt; key_code, shift_pressed, ctrl_pressed, alt_pressed: Integer): Integer; stdcall;
Public remove_accelerator: function(self: PCefMenuModel; command_id: Integer): Integer; stdcall;
Public remove_accelerator_at: function(self: PCefMenuModel; index: NativeUInt): Integer; stdcall;
Public get_accelerator: function(self: PCefMenuModel; command_id: Integer; key_code, shift_pressed, ctrl_pressed, alt_pressed: PInteger): Integer; stdcall;
Public get_accelerator_at: function(self: PCefMenuModel; index: NativeUInt; key_code, shift_pressed, ctrl_pressed, alt_pressed: PInteger): Integer; stdcall;
Public set_color: function(self: PCefMenuModel; command_id: Integer; color_type: TCefMenuColorType; color: TCefColor): Integer; stdcall;
Public set_color_at: function(self: PCefMenuModel; index: Integer; color_type: TCefMenuColorType; color: TCefColor): Integer; stdcall;
Public get_color: function(self: PCefMenuModel; command_id: Integer; color_type: TCefMenuColorType; color: PCefColor): Integer; stdcall;
Public get_color_at: function(self: PCefMenuModel; index: Integer; color_type: TCefMenuColorType; color: PCefColor): Integer; stdcall;
Public set_font_list: function(self: PCefMenuModel; command_id: Integer; const font_list: PCefString): Integer; stdcall;
Public set_font_list_at: function(self: PCefMenuModel; index: Integer; const font_list: PCefString): Integer; stdcall;

Description

Fields

Public base: TCefBaseRefCounted;

This item has no description.

Public is_sub_menu: function(self: PCefMenuModel): Integer; stdcall;

This item has no description.

Public clear: function(self: PCefMenuModel): Integer; stdcall;

This item has no description.

Public get_count: function(self: PCefMenuModel): NativeUInt; stdcall;

This item has no description.

Public add_separator: function(self: PCefMenuModel): Integer; stdcall;

This item has no description.

Public add_item: function(self: PCefMenuModel; command_id: Integer; const text: PCefString): Integer; stdcall;

This item has no description.

Public add_check_item: function(self: PCefMenuModel; command_id: Integer; const text: PCefString): Integer; stdcall;

This item has no description.

Public add_radio_item: function(self: PCefMenuModel; command_id: Integer; const text: PCefString; group_id: Integer): Integer; stdcall;

This item has no description.

Public add_sub_menu: function(self: PCefMenuModel; command_id: Integer; const text: PCefString): PCefMenuModel; stdcall;

This item has no description.

Public insert_separator_at: function(self: PCefMenuModel; index: NativeUInt): Integer; stdcall;

This item has no description.

Public insert_item_at: function(self: PCefMenuModel; index: NativeUInt; command_id: Integer; const text: PCefString): Integer; stdcall;

This item has no description.

Public insert_check_item_at: function(self: PCefMenuModel; index: NativeUInt; command_id: Integer; const text: PCefString): Integer; stdcall;

This item has no description.

Public insert_radio_item_at: function(self: PCefMenuModel; index: NativeUInt; command_id: Integer; const text: PCefString; group_id: Integer): Integer; stdcall;

This item has no description.

Public insert_sub_menu_at: function(self: PCefMenuModel; index: NativeUInt; command_id: Integer; const text: PCefString): PCefMenuModel; stdcall;

This item has no description.

Public remove: function(self: PCefMenuModel; command_id: Integer): Integer; stdcall;

This item has no description.

Public remove_at: function(self: PCefMenuModel; index: NativeUInt): Integer; stdcall;

This item has no description.

Public get_index_of: function(self: PCefMenuModel; command_id: Integer): Integer; stdcall;

This item has no description.

Public get_command_id_at: function(self: PCefMenuModel; index: NativeUInt): Integer; stdcall;

This item has no description.

Public set_command_id_at: function(self: PCefMenuModel; index: NativeUInt; command_id: Integer): Integer; stdcall;

This item has no description.

Public get_label: function(self: PCefMenuModel; command_id: Integer): PCefStringUserFree; stdcall;

This item has no description.

Public get_label_at: function(self: PCefMenuModel; index: NativeUInt): PCefStringUserFree; stdcall;

This item has no description.

Public set_label: function(self: PCefMenuModel; command_id: Integer; const text: PCefString): Integer; stdcall;

This item has no description.

Public set_label_at: function(self: PCefMenuModel; index: NativeUInt; const text: PCefString): Integer; stdcall;

This item has no description.

Public get_type: function(self: PCefMenuModel; command_id: Integer): TCefMenuItemType; stdcall;

This item has no description.

Public get_type_at: function(self: PCefMenuModel; index: NativeUInt): TCefMenuItemType; stdcall;

This item has no description.

Public get_group_id: function(self: PCefMenuModel; command_id: Integer): Integer; stdcall;

This item has no description.

Public get_group_id_at: function(self: PCefMenuModel; index: NativeUInt): Integer; stdcall;

This item has no description.

Public set_group_id: function(self: PCefMenuModel; command_id, group_id: Integer): Integer; stdcall;

This item has no description.

Public set_group_id_at: function(self: PCefMenuModel; index: NativeUInt; group_id: Integer): Integer; stdcall;

This item has no description.

Public get_sub_menu: function(self: PCefMenuModel; command_id: Integer): PCefMenuModel; stdcall;

This item has no description.

Public get_sub_menu_at: function(self: PCefMenuModel; index: NativeUInt): PCefMenuModel; stdcall;

This item has no description.

Public is_visible: function(self: PCefMenuModel; command_id: Integer): Integer; stdcall;

This item has no description.

Public is_visible_at: function(self: PCefMenuModel; index: NativeUInt): Integer; stdcall;

This item has no description.

Public set_visible: function(self: PCefMenuModel; command_id, visible: Integer): Integer; stdcall;

This item has no description.

Public set_visible_at: function(self: PCefMenuModel; index: NativeUInt; visible: Integer): Integer; stdcall;

This item has no description.

Public is_enabled: function(self: PCefMenuModel; command_id: Integer): Integer; stdcall;

This item has no description.

Public is_enabled_at: function(self: PCefMenuModel; index: NativeUInt): Integer; stdcall;

This item has no description.

Public set_enabled: function(self: PCefMenuModel; command_id, enabled: Integer): Integer; stdcall;

This item has no description.

Public set_enabled_at: function(self: PCefMenuModel; index: NativeUInt; enabled: Integer): Integer; stdcall;

This item has no description.

Public is_checked: function(self: PCefMenuModel; command_id: Integer): Integer; stdcall;

This item has no description.

Public is_checked_at: function(self: PCefMenuModel; index: NativeUInt): Integer; stdcall;

This item has no description.

Public set_checked: function(self: PCefMenuModel; command_id, checked: Integer): Integer; stdcall;

This item has no description.

Public set_checked_at: function(self: PCefMenuModel; index: NativeUInt; checked: Integer): Integer; stdcall;

This item has no description.

Public has_accelerator: function(self: PCefMenuModel; command_id: Integer): Integer; stdcall;

This item has no description.

Public has_accelerator_at: function(self: PCefMenuModel; index: NativeUInt): Integer; stdcall;

This item has no description.

Public set_accelerator: function(self: PCefMenuModel; command_id, key_code, shift_pressed, ctrl_pressed, alt_pressed: Integer): Integer; stdcall;

This item has no description.

Public set_accelerator_at: function(self: PCefMenuModel; index: NativeUInt; key_code, shift_pressed, ctrl_pressed, alt_pressed: Integer): Integer; stdcall;

This item has no description.

Public remove_accelerator: function(self: PCefMenuModel; command_id: Integer): Integer; stdcall;

This item has no description.

Public remove_accelerator_at: function(self: PCefMenuModel; index: NativeUInt): Integer; stdcall;

This item has no description.

Public get_accelerator: function(self: PCefMenuModel; command_id: Integer; key_code, shift_pressed, ctrl_pressed, alt_pressed: PInteger): Integer; stdcall;

This item has no description.

Public get_accelerator_at: function(self: PCefMenuModel; index: NativeUInt; key_code, shift_pressed, ctrl_pressed, alt_pressed: PInteger): Integer; stdcall;

This item has no description.

Public set_color: function(self: PCefMenuModel; command_id: Integer; color_type: TCefMenuColorType; color: TCefColor): Integer; stdcall;

This item has no description.

Public set_color_at: function(self: PCefMenuModel; index: Integer; color_type: TCefMenuColorType; color: TCefColor): Integer; stdcall;

This item has no description.

Public get_color: function(self: PCefMenuModel; command_id: Integer; color_type: TCefMenuColorType; color: PCefColor): Integer; stdcall;

This item has no description.

Public get_color_at: function(self: PCefMenuModel; index: Integer; color_type: TCefMenuColorType; color: PCefColor): Integer; stdcall;

This item has no description.

Public set_font_list: function(self: PCefMenuModel; command_id: Integer; const font_list: PCefString): Integer; stdcall;

This item has no description.

Public set_font_list_at: function(self: PCefMenuModel; index: Integer; const font_list: PCefString): Integer; stdcall;

This item has no description.


Generated by PasDoc 0.16.0-snapshot.