MCPcopy Create free account
hub / github.com/cztomczak/cefpython / SetAsPopup

Method SetAsPopup

src/include/internal/cef_win.h:122–132  ·  view source on GitHub ↗

Create the browser as a popup window.

Source from the content-addressed store, hash-verified

120 // Create the browser as a popup window.
121 ///
122 void SetAsPopup(CefWindowHandle parent, const CefString& windowName) {
123 style =
124 WS_OVERLAPPEDWINDOW | WS_CLIPCHILDREN | WS_CLIPSIBLINGS | WS_VISIBLE;
125 parent_window = parent;
126 x = CW_USEDEFAULT;
127 y = CW_USEDEFAULT;
128 width = CW_USEDEFAULT;
129 height = CW_USEDEFAULT;
130
131 cef_string_copy(windowName.c_str(), windowName.length(), &window_name);
132 }
133
134 ///
135 // Create the browser using windowless (off-screen) rendering. No window

Callers

nothing calls this directly

Calls 2

c_strMethod · 0.80
lengthMethod · 0.45

Tested by

no test coverage detected