(default)
Class CefWindowInfo
traits::struct_type
|
+--CefStructBase
|
+--CefWindowInfo
in cef_linux.h
in cef_mac.h
in cef_win.h
- class CefWindowInfo
- extends CefStructBase
Class representing window information.
CefWindowInfo
public explicit CefWindowInfo( const cef_window_info_t& r );
CefWindowInfo
public explicit CefWindowInfo( const CefWindowInfo& r );
CefWindowInfo
public CefWindowInfo();
SetAsChild
public void SetAsChild( cef_window_handle_t CefWindowInfo::parent, RECT windowRect );
- Create the browser as a child window.
SetAsChild
public void SetAsChild( cef_window_handle_t CefWindowInfo::parent, int x, int y, int width, int height );
- Create the browser as a child view.
SetAsChild
public void SetAsChild( cef_window_handle_t CefWindowInfo::parent, const CefRect& windowRect );
- Create the browser as a child window.
SetAsPopup
public void SetAsPopup( cef_window_handle_t CefWindowInfo::parent, const CefString& windowName );
- Create the browser as a popup window.
SetAsWindowless
public void SetAsWindowless( cef_window_handle_t CefWindowInfo::parent );
- 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.
Chromium Embedded Framework (CEF) Copyright © 2016 Marshall A. Greenblatt