Chromium Embedded Framework (CEF)  114.2.1+gd70a0a8+chromium-114.0.5735.45
cef_window_info_t Struct Reference

Class representing window information. More...

#include "include/internal/cef_types_win.h"

Public Attributes

cef_string_t window_name
 The initial title of the window, to be set when the window is created. More...
 
cef_rect_t bounds
 Initial window bounds. More...
 
cef_window_handle_t parent_window
 Pointer for the parent window. More...
 
int windowless_rendering_enabled
 Set to true (1) to create the browser using windowless (off-screen) rendering. More...
 
int shared_texture_enabled
 Set to true (1) to enable shared textures for windowless rendering. More...
 
int external_begin_frame_enabled
 Set to true (1) to enable the ability to issue BeginFrame requests from the client application by calling CefBrowserHost::SendExternalBeginFrame. More...
 
cef_window_handle_t window
 Pointer for the new browser window. More...
 
int hidden
 Set to true (1) to create the view initially hidden. More...
 
cef_window_handle_t parent_view
 NSView pointer for the parent view. More...
 
cef_window_handle_t view
 NSView pointer for the new browser view. More...
 
DWORD ex_style
 
DWORD style
 
HMENU menu
 

Detailed Description

Class representing window information.

Structure representing window information.

Member Data Documentation

◆ bounds

cef_rect_t cef_window_info_t::bounds

Initial window bounds.

◆ ex_style

DWORD cef_window_info_t::ex_style

◆ external_begin_frame_enabled

int cef_window_info_t::external_begin_frame_enabled

Set to true (1) to enable the ability to issue BeginFrame requests from the client application by calling CefBrowserHost::SendExternalBeginFrame.

Set to true (1) to enable the ability to issue BeginFrame from the client application.

◆ hidden

int cef_window_info_t::hidden

Set to true (1) to create the view initially hidden.

◆ menu

HMENU cef_window_info_t::menu

◆ parent_view

cef_window_handle_t cef_window_info_t::parent_view

NSView pointer for the parent view.

◆ parent_window

cef_window_handle_t cef_window_info_t::parent_window

Pointer for the parent window.

◆ shared_texture_enabled

int cef_window_info_t::shared_texture_enabled

Set to true (1) to enable shared textures for windowless rendering.

Only valid if windowless_rendering_enabled above is also set to true. Currently only supported on Windows (D3D11).

◆ style

DWORD cef_window_info_t::style

◆ view

cef_window_handle_t cef_window_info_t::view

NSView pointer for the new browser view.

Only used with windowed rendering.

◆ window

cef_window_handle_t cef_window_info_t::window

Pointer for the new browser window.

Handle for the new browser window.

Only used with windowed rendering.

◆ window_name

cef_string_t cef_window_info_t::window_name

The initial title of the window, to be set when the window is created.

Some layout managers (e.g., Compiz) can look at the window title in order to decide where to place the window when it is created. When this attribute is not empty, the window title will be set before the window is mapped to the dispay. Otherwise the title will be initially empty.

◆ windowless_rendering_enabled

int cef_window_info_t::windowless_rendering_enabled

Set to true (1) to create the browser using windowless (off-screen) rendering.

No window will be created for the browser and all rendering will occur via the CefRenderHandler interface. The |parent_window| value will be used to identify monitor info and to act as the parent window for dialogs, context menus, etc. If |parent_window| is not provided then the main screen monitor will be used and some functionality that requires a parent window may not function correctly. In order to create windowless browsers the CefSettings.windowless_rendering_enabled value must be set to true. Transparent painting is enabled by default but can be disabled by setting CefBrowserSettings.background_color to an opaque value.

No view will be created for the browser and all rendering will occur via the CefRenderHandler interface. The |parent_view| value will be used to identify monitor info and to act as the parent view for dialogs, context menus, etc. If |parent_view| is not provided then the main screen monitor will be used and some functionality that requires a parent view may not function correctly. In order to create windowless browsers the CefSettings.windowless_rendering_enabled value must be set to true. Transparent painting is enabled by default but can be disabled by setting CefBrowserSettings.background_color to an opaque value.


The documentation for this struct was generated from the following files: