# Record TCefWindow

Description
Fields

## Unit

uCEFTypes

## Declaration

`type TCefWindow = record`

## Description

A Window is a top-level Window/widget in the Views hierarchy. By default it will have a non-client area with title bar, icon and buttons that supports moving and resizing. All size and position values are in density independent pixels (DIP) unless otherwise indicated. Methods must be called on the browser process UI thread unless otherwise indicated.

NOTE: This struct is allocated DLL-side.

Implemented by ICefWindow.

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

## Overview

### Fields

Public | `base: TCefPanel;`
Public | `show: procedure(self: PCefWindow); stdcall;`
Public | `show_as_browser_modal_dialog: procedure(self: PCefWindow; browser_view: PCefBrowserView); stdcall;`
Public | `hide: procedure(self: PCefWindow); stdcall;`
Public | `center_window: procedure(self: PCefWindow; const size: PCefSize); stdcall;`
Public | `close: procedure(self: PCefWindow); stdcall;`
Public | `is_closed: function(self: PCefWindow): Integer; stdcall;`
Public | `activate: procedure(self: PCefWindow); stdcall;`
Public | `deactivate: procedure(self: PCefWindow); stdcall;`
Public | `is_active: function(self: PCefWindow): Integer; stdcall;`
Public | `bring_to_top: procedure(self: PCefWindow); stdcall;`
Public | `set_always_on_top: procedure(self: PCefWindow; on_top: Integer); stdcall;`
Public | `is_always_on_top: function(self: PCefWindow): Integer; stdcall;`
Public | `maximize: procedure(self: PCefWindow); stdcall;`
Public | `minimize: procedure(self: PCefWindow); stdcall;`
Public | `restore: procedure(self: PCefWindow); stdcall;`
Public | `set_fullscreen: procedure(self: PCefWindow; fullscreen: Integer); stdcall;`
Public | `is_maximized: function(self: PCefWindow): Integer; stdcall;`
Public | `is_minimized: function(self: PCefWindow): Integer; stdcall;`
Public | `is_fullscreen: function(self: PCefWindow): Integer; stdcall;`
Public | `get_focused_view: function(self: PCefWindow): PCefView; stdcall;`
Public | `set_title: procedure(self: PCefWindow; const title: PCefString); stdcall;`
Public | `get_title: function(self: PCefWindow): PCefStringUserFree; stdcall;`
Public | `set_window_icon: procedure(self: PCefWindow; image: PCefImage); stdcall;`
Public | `get_window_icon: function(self: PCefWindow): PCefImage; stdcall;`
Public | `set_window_app_icon: procedure(self: PCefWindow; image: PCefImage); stdcall;`
Public | `get_window_app_icon: function(self: PCefWindow): PCefImage; stdcall;`
Public | `add_overlay_view: function(self: PCefWindow; view: PCefView; docking_mode: TCefDockingMode; can_activate: integer): PCefOverlayController; stdcall;`
Public | `show_menu: procedure(self: PCefWindow; menu_model: PCefMenuModel; const screen_point: PCefPoint; anchor_position : TCefMenuAnchorPosition); stdcall;`
Public | `cancel_menu: procedure(self: PCefWindow); stdcall;`
Public | `get_display: function(self: PCefWindow): PCefDisplay; stdcall;`
Public | `get_client_area_bounds_in_screen: function(self: PCefWindow): TCefRect; stdcall;`
Public | `set_draggable_regions: procedure(self: PCefWindow; regionsCount: NativeUInt; const regions: PCefDraggableRegionArray); stdcall;`
Public | `get_window_handle: function(self: PCefWindow): TCefWindowHandle; stdcall;`
Public | `send_key_press: procedure(self: PCefWindow; key_code: Integer; event_flags: cardinal); stdcall;`
Public | `send_mouse_move: procedure(self: PCefWindow; screen_x, screen_y: Integer); stdcall;`
Public | `send_mouse_events: procedure(self: PCefWindow; button: TCefMouseButtonType; mouse_down, mouse_up: Integer); stdcall;`
Public | `set_accelerator: procedure(self: PCefWindow; command_id, key_code, shift_pressed, ctrl_pressed, alt_pressed, high_priority: Integer); stdcall;`
Public | `remove_accelerator: procedure(self: PCefWindow; command_id: Integer); stdcall;`
Public | `remove_all_accelerators: procedure(self: PCefWindow); stdcall;`
Public | `set_theme_color: procedure(self: PCefWindow; color_id: integer; color: TCefColor); stdcall;`
Public | `theme_changed: procedure(self: PCefWindow); stdcall;`
Public | `get_runtime_style: function(self: PCefWindow): TCefRuntimeStyle; stdcall;`

## Description

### Fields

Public | `base: TCefPanel;`
This item has no description.

Public | `show: procedure(self: PCefWindow); stdcall;`
This item has no description.

Public | `show_as_browser_modal_dialog: procedure(self: PCefWindow; browser_view: PCefBrowserView); stdcall;`
This item has no description.

Public | `hide: procedure(self: PCefWindow); stdcall;`
This item has no description.

Public | `center_window: procedure(self: PCefWindow; const size: PCefSize); stdcall;`
This item has no description.

Public | `close: procedure(self: PCefWindow); stdcall;`
This item has no description.

Public | `is_closed: function(self: PCefWindow): Integer; stdcall;`
This item has no description.

Public | `activate: procedure(self: PCefWindow); stdcall;`
This item has no description.

Public | `deactivate: procedure(self: PCefWindow); stdcall;`
This item has no description.

Public | `is_active: function(self: PCefWindow): Integer; stdcall;`
This item has no description.

Public | `bring_to_top: procedure(self: PCefWindow); stdcall;`
This item has no description.

Public | `set_always_on_top: procedure(self: PCefWindow; on_top: Integer); stdcall;`
This item has no description.

Public | `is_always_on_top: function(self: PCefWindow): Integer; stdcall;`
This item has no description.

Public | `maximize: procedure(self: PCefWindow); stdcall;`
This item has no description.

Public | `minimize: procedure(self: PCefWindow); stdcall;`
This item has no description.

Public | `restore: procedure(self: PCefWindow); stdcall;`
This item has no description.

Public | `set_fullscreen: procedure(self: PCefWindow; fullscreen: Integer); stdcall;`
This item has no description.

Public | `is_maximized: function(self: PCefWindow): Integer; stdcall;`
This item has no description.

Public | `is_minimized: function(self: PCefWindow): Integer; stdcall;`
This item has no description.

Public | `is_fullscreen: function(self: PCefWindow): Integer; stdcall;`
This item has no description.

Public | `get_focused_view: function(self: PCefWindow): PCefView; stdcall;`
This item has no description.

Public | `set_title: procedure(self: PCefWindow; const title: PCefString); stdcall;`
This item has no description.

Public | `get_title: function(self: PCefWindow): PCefStringUserFree; stdcall;`
This item has no description.

Public | `set_window_icon: procedure(self: PCefWindow; image: PCefImage); stdcall;`
This item has no description.

Public | `get_window_icon: function(self: PCefWindow): PCefImage; stdcall;`
This item has no description.

Public | `set_window_app_icon: procedure(self: PCefWindow; image: PCefImage); stdcall;`
This item has no description.

Public | `get_window_app_icon: function(self: PCefWindow): PCefImage; stdcall;`
This item has no description.

Public | `add_overlay_view: function(self: PCefWindow; view: PCefView; docking_mode: TCefDockingMode; can_activate: integer): PCefOverlayController; stdcall;`
This item has no description.

Public | `show_menu: procedure(self: PCefWindow; menu_model: PCefMenuModel; const screen_point: PCefPoint; anchor_position : TCefMenuAnchorPosition); stdcall;`
This item has no description.

Public | `cancel_menu: procedure(self: PCefWindow); stdcall;`
This item has no description.

Public | `get_display: function(self: PCefWindow): PCefDisplay; stdcall;`
This item has no description.

Public | `get_client_area_bounds_in_screen: function(self: PCefWindow): TCefRect; stdcall;`
This item has no description.

Public | `set_draggable_regions: procedure(self: PCefWindow; regionsCount: NativeUInt; const regions: PCefDraggableRegionArray); stdcall;`
This item has no description.

Public | `get_window_handle: function(self: PCefWindow): TCefWindowHandle; stdcall;`
This item has no description.

Public | `send_key_press: procedure(self: PCefWindow; key_code: Integer; event_flags: cardinal); stdcall;`
This item has no description.

Public | `send_mouse_move: procedure(self: PCefWindow; screen_x, screen_y: Integer); stdcall;`
This item has no description.

Public | `send_mouse_events: procedure(self: PCefWindow; button: TCefMouseButtonType; mouse_down, mouse_up: Integer); stdcall;`
This item has no description.

Public | `set_accelerator: procedure(self: PCefWindow; command_id, key_code, shift_pressed, ctrl_pressed, alt_pressed, high_priority: Integer); stdcall;`
This item has no description.

Public | `remove_accelerator: procedure(self: PCefWindow; command_id: Integer); stdcall;`
This item has no description.

Public | `remove_all_accelerators: procedure(self: PCefWindow); stdcall;`
This item has no description.

Public | `set_theme_color: procedure(self: PCefWindow; color_id: integer; color: TCefColor); stdcall;`
This item has no description.

Public | `theme_changed: procedure(self: PCefWindow); stdcall;`
This item has no description.

Public | `get_runtime_style: function(self: PCefWindow): TCefRuntimeStyle; stdcall;`
This item has no description.

Generated by PasDoc 1.0.4.