# Record TCefWindow

Description
Hierarchy
Fields
Methods
Properties

## 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.

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

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

## Description

### Fields

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

Generated by PasDoc 0.16.0-snapshot.