Chromium Embedded Framework (CEF)  135.0.1+gd336310+chromium-135.0.7049.3
CefWindowInfo Class Reference

Class representing window information. More...

#include "include/internal/cef_win.h"

Inheritance diagram for CefWindowInfo:
CefStructBase< CefWindowInfoTraits > CefStructBase< CefWindowInfoTraits > CefStructBase< CefWindowInfoTraits >

Public Types

using base_type = CefStructBase< CefWindowInfoTraits >
 
using base_type = CefStructBase< CefWindowInfoTraits >
 
using base_type = CefStructBase< CefWindowInfoTraits >
 
- Public Types inherited from CefStructBase< CefWindowInfoTraits >
using struct_type = typename traits::struct_type
 

Public Member Functions

void SetAsChild (CefWindowHandle parent, const CefRect &bounds)
 Create the browser as a child window. More...
 
void SetAsWindowless (CefWindowHandle parent)
 Create the browser using windowless (off-screen) rendering. More...
 
void SetAsChild (CefWindowHandle parent, const CefRect &bounds)
 Create the browser as a child view. More...
 
void SetAsWindowless (CefWindowHandle parent)
 Create the browser using windowless (off-screen) rendering. More...
 
void SetAsChild (CefWindowHandle parent, const CefRect &windowBounds)
 Create the browser as a child window. More...
 
void SetAsPopup (CefWindowHandle parent, const CefString &windowName)
 Create the browser as a popup window. More...
 
void SetAsWindowless (CefWindowHandle parent)
 Create the browser using windowless (off-screen) rendering. More...
 
- Public Member Functions inherited from CefStructBase< CefWindowInfoTraits >
 CefStructBase ()
 
 CefStructBase (const CefStructBase &r)
 
 CefStructBase (const struct_type &r)
 
 ~CefStructBase ()
 
void AttachTo (struct_type &source)
 Attach to the source structure's existing values. More...
 
void DetachTo (struct_type &target)
 Relinquish ownership of values to the target structure. More...
 
void Set (const struct_type &source, bool copy)
 Set this object's values. More...
 
CefStructBaseoperator= (const CefStructBase &s)
 
CefStructBaseoperator= (const struct_type &s)
 

Additional Inherited Members

- Protected Member Functions inherited from CefStructBase< CefWindowInfoTraits >
void Init ()
 
- Static Protected Member Functions inherited from CefStructBase< CefWindowInfoTraits >
static void Clear (struct_type *s)
 
- Protected Attributes inherited from CefStructBase< CefWindowInfoTraits >
struct_typeattached_to_
 

Detailed Description

Class representing window information.

Member Typedef Documentation

◆ base_type [1/3]

◆ base_type [2/3]

◆ base_type [3/3]

Member Function Documentation

◆ SetAsChild() [1/3]

void CefWindowInfo::SetAsChild ( CefWindowHandle  parent,
const CefRect bounds 
)
inline

Create the browser as a child window.

◆ SetAsChild() [2/3]

void CefWindowInfo::SetAsChild ( CefWindowHandle  parent,
const CefRect bounds 
)
inline

Create the browser as a child view.

◆ SetAsChild() [3/3]

void CefWindowInfo::SetAsChild ( CefWindowHandle  parent,
const CefRect windowBounds 
)
inline

Create the browser as a child window.

◆ SetAsPopup()

void CefWindowInfo::SetAsPopup ( CefWindowHandle  parent,
const CefString windowName 
)
inline

Create the browser as a popup window.

◆ SetAsWindowless() [1/3]

void CefWindowInfo::SetAsWindowless ( CefWindowHandle  parent)
inline

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| value will be used to identify monitor info and to act as the parent window for dialogs, context menus, etc. If |parent| 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.

◆ SetAsWindowless() [2/3]

void CefWindowInfo::SetAsWindowless ( CefWindowHandle  parent)
inline

Create the browser using windowless (off-screen) rendering.

No view will be created for the browser and all rendering will occur via the CefRenderHandler interface. The |parent| value will be used to identify monitor info and to act as the parent view for dialogs, context menus, etc. If |parent| 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.

◆ SetAsWindowless() [3/3]

void CefWindowInfo::SetAsWindowless ( CefWindowHandle  parent)
inline

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| value will be used to identify monitor info and to act as the parent window for dialogs, context menus, etc. If |parent| 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.


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