2024-02-24 12:01:31 +01:00
<!DOCTYPE html>
< html lang = "en" >
< head >
< title > cef4delphi: uCEFInterfaces: Interface ICefPanel< / title >
< meta name = "viewport" content = "width=device-width, initial-scale=1" >
2026-04-04 18:01:24 +02:00
< meta name = "generator" content = "PasDoc 1.0.4" >
2024-02-24 12:01:31 +01:00
< meta http-equiv = "content-type" content = "text/html; charset=utf-8" >
2026-03-19 13:17:28 +01:00
< link rel = "StyleSheet" type = "text/css" href = "bootstrap.min.css" >
2024-02-24 12:01:31 +01:00
< link rel = "StyleSheet" type = "text/css" href = "pasdoc.css" >
2026-03-30 18:44:20 +02:00
< style type = "text/css" >
body { margin : 0.5 em ; }
. badge { padding : 0.1 em 0.5 em ; color : white ; }
< / style > < / head >
2024-02-24 12:01:31 +01:00
< body >
< span id = "ICefPanel" > < / span > < h1 class = "cio" > Interface ICefPanel< / h1 >
< div class = "sections" >
2026-03-19 13:17:28 +01:00
< div class = "one_section" > < a class = "section" href = "#PasDoc-Description" > Description< / a > < / div > < div class = "one_section" > < a class = "section" href = "#PasDoc-Hierarchy" > Hierarchy< / a > < / div > < div class = "one_section" > < a class = "section" href = "#PasDoc-Methods" > Methods< / a > < / div > < div class = "one_section" > < a class = "section" href = "#PasDoc-Properties" > Properties< / a > < / div > < / div >
2024-02-24 12:01:31 +01:00
< span id = "PasDoc-Description" > < / span > < h2 class = "unit" > Unit< / h2 >
< p class = "unitlink" >
< a href = "uCEFInterfaces.html" > uCEFInterfaces< / a > < / p >
< h2 class = "declaration" > Declaration< / h2 >
< p class = "declaration" >
< code > type ICefPanel = interface(< a class = "normal" href = "uCEFInterfaces.ICefView.html" > ICefView< / a > )< / code > < / p >
< h2 class = "description" > Description< / h2 >
< p >
A Panel is a container in the views hierarchy that can contain other Views as children. Methods must be called on the browser process UI thread unless otherwise indicated. < / p >
< p >
< p > UNKNOWN
< p > < see href=" < a href = "https://bitbucket.org/chromiumembedded/cef/src/master/include/capi/views/cef_panel_capi.h" > https://bitbucket.org/chromiumembedded/cef/src/master/include/capi/views/cef_panel_capi.h< / a > " > CEF source file: /include/capi/views/cef_panel_capi.h (cef_panel_t))< / p >
< span id = "PasDoc-Hierarchy" > < / span > < h2 class = "hierarchy" > Hierarchy< / h2 >
< ul class = "hierarchy" > < li class = "ancestor" > IInterface< / li >
< li class = "ancestor" > < a class = "normal" href = "uCEFInterfaces.ICefBaseRefCounted.html" > ICefBaseRefCounted< / a > < / li >
< li class = "ancestor" > < a class = "normal" href = "uCEFInterfaces.ICefView.html" > ICefView< / a > < / li >
< li class = "thisitem" > ICefPanel< / li > < / ul > < h2 class = "overview" > Overview< / h2 >
< span id = "PasDoc-Methods" > < / span > < h3 class = "summary" > Methods< / h3 >
< table class = "summary wide_list" >
2026-03-19 13:17:28 +01:00
< tr class = "list visibility-public" >
< td class = "visibility" > < span class = "badge vis-public" > Public< / span > < / td >
2024-02-24 12:01:31 +01:00
< td class = "itemcode" > < code > function < strong > < a href = "uCEFInterfaces.ICefPanel.html#GetAsWindow" > GetAsWindow< / a > < / strong > : < a href = "uCEFInterfaces.ICefWindow.html" > ICefWindow< / a > ;< / code > < / td >
< / tr >
2026-03-19 13:17:28 +01:00
< tr class = "list2 visibility-public" >
< td class = "visibility" > < span class = "badge vis-public" > Public< / span > < / td >
2024-02-24 12:01:31 +01:00
< td class = "itemcode" > < code > function < strong > < a href = "uCEFInterfaces.ICefPanel.html#SetToFillLayout" > SetToFillLayout< / a > < / strong > : < a href = "uCEFInterfaces.ICefFillLayout.html" > ICefFillLayout< / a > ;< / code > < / td >
< / tr >
2026-03-19 13:17:28 +01:00
< tr class = "list visibility-public" >
< td class = "visibility" > < span class = "badge vis-public" > Public< / span > < / td >
2024-02-24 12:01:31 +01:00
< td class = "itemcode" > < code > function < strong > < a href = "uCEFInterfaces.ICefPanel.html#SetToBoxLayout-TCefBoxLayoutSettings-" > SetToBoxLayout< / a > < / strong > (const settings: < a href = "uCEFTypes.TCefBoxLayoutSettings.html" > TCefBoxLayoutSettings< / a > ): < a href = "uCEFInterfaces.ICefBoxLayout.html" > ICefBoxLayout< / a > ;< / code > < / td >
< / tr >
2026-03-19 13:17:28 +01:00
< tr class = "list2 visibility-public" >
< td class = "visibility" > < span class = "badge vis-public" > Public< / span > < / td >
2024-02-24 12:01:31 +01:00
< td class = "itemcode" > < code > function < strong > < a href = "uCEFInterfaces.ICefPanel.html#GetLayout" > GetLayout< / a > < / strong > : < a href = "uCEFInterfaces.ICefLayout.html" > ICefLayout< / a > ;< / code > < / td >
< / tr >
2026-03-19 13:17:28 +01:00
< tr class = "list visibility-public" >
< td class = "visibility" > < span class = "badge vis-public" > Public< / span > < / td >
2024-02-24 12:01:31 +01:00
< td class = "itemcode" > < code > procedure < strong > < a href = "uCEFInterfaces.ICefPanel.html#Layout" > Layout< / a > < / strong > ;< / code > < / td >
< / tr >
2026-03-19 13:17:28 +01:00
< tr class = "list2 visibility-public" >
< td class = "visibility" > < span class = "badge vis-public" > Public< / span > < / td >
2024-02-24 12:01:31 +01:00
< td class = "itemcode" > < code > procedure < strong > < a href = "uCEFInterfaces.ICefPanel.html#AddChildView-ICefView-" > AddChildView< / a > < / strong > (const view: < a href = "uCEFInterfaces.ICefView.html" > ICefView< / a > );< / code > < / td >
< / tr >
2026-03-19 13:17:28 +01:00
< tr class = "list visibility-public" >
< td class = "visibility" > < span class = "badge vis-public" > Public< / span > < / td >
2024-02-24 12:01:31 +01:00
< td class = "itemcode" > < code > procedure < strong > < a href = "uCEFInterfaces.ICefPanel.html#AddChildViewAt-ICefView-Integer-" > AddChildViewAt< / a > < / strong > (const view: < a href = "uCEFInterfaces.ICefView.html" > ICefView< / a > ; index: Integer);< / code > < / td >
< / tr >
2026-03-19 13:17:28 +01:00
< tr class = "list2 visibility-public" >
< td class = "visibility" > < span class = "badge vis-public" > Public< / span > < / td >
2024-02-24 12:01:31 +01:00
< td class = "itemcode" > < code > procedure < strong > < a href = "uCEFInterfaces.ICefPanel.html#ReorderChildView-ICefView-Integer-" > ReorderChildView< / a > < / strong > (const view: < a href = "uCEFInterfaces.ICefView.html" > ICefView< / a > ; index: Integer);< / code > < / td >
< / tr >
2026-03-19 13:17:28 +01:00
< tr class = "list visibility-public" >
< td class = "visibility" > < span class = "badge vis-public" > Public< / span > < / td >
2024-02-24 12:01:31 +01:00
< td class = "itemcode" > < code > procedure < strong > < a href = "uCEFInterfaces.ICefPanel.html#RemoveChildView-ICefView-" > RemoveChildView< / a > < / strong > (const view: < a href = "uCEFInterfaces.ICefView.html" > ICefView< / a > );< / code > < / td >
< / tr >
2026-03-19 13:17:28 +01:00
< tr class = "list2 visibility-public" >
< td class = "visibility" > < span class = "badge vis-public" > Public< / span > < / td >
2024-02-24 12:01:31 +01:00
< td class = "itemcode" > < code > procedure < strong > < a href = "uCEFInterfaces.ICefPanel.html#RemoveAllChildViews" > RemoveAllChildViews< / a > < / strong > ;< / code > < / td >
< / tr >
2026-03-19 13:17:28 +01:00
< tr class = "list visibility-public" >
< td class = "visibility" > < span class = "badge vis-public" > Public< / span > < / td >
2024-02-24 12:01:31 +01:00
< td class = "itemcode" > < code > function < strong > < a href = "uCEFInterfaces.ICefPanel.html#GetChildViewCount" > GetChildViewCount< / a > < / strong > : < a href = "uCEFTypes.html#NativeUInt" > NativeUInt< / a > ;< / code > < / td >
< / tr >
2026-03-19 13:17:28 +01:00
< tr class = "list2 visibility-public" >
< td class = "visibility" > < span class = "badge vis-public" > Public< / span > < / td >
2024-02-24 12:01:31 +01:00
< td class = "itemcode" > < code > function < strong > < a href = "uCEFInterfaces.ICefPanel.html#GetChildViewAt-Integer-" > GetChildViewAt< / a > < / strong > (index: Integer): < a href = "uCEFInterfaces.ICefView.html" > ICefView< / a > ;< / code > < / td >
< / tr >
< / table >
< span id = "PasDoc-Properties" > < / span > < h3 class = "summary" > Properties< / h3 >
< table class = "summary wide_list" >
2026-03-19 13:17:28 +01:00
< tr class = "list visibility-public" >
< td class = "visibility" > < span class = "badge vis-public" > Public< / span > < / td >
2024-02-24 12:01:31 +01:00
< td class = "itemcode" > < code > property < strong > < a href = "uCEFInterfaces.ICefPanel.html#AsWindow" > AsWindow< / a > < / strong > : < a href = "uCEFInterfaces.ICefWindow.html" > ICefWindow< / a > read < a href = "uCEFInterfaces.ICefPanel.html#GetAsWindow" > GetAsWindow< / a > ;< / code > < / td >
< / tr >
< / table >
< h2 class = "description" > Description< / h2 >
< h3 class = "detail" > Methods< / h3 >
2026-03-19 13:17:28 +01:00
< table class = "detail visibility-public wide_list" >
< tr class = "list visibility-public" >
< td class = "visibility" > < span class = "badge vis-public" > Public< / span > < / td >
2024-02-24 12:01:31 +01:00
< td class = "itemcode" > < span id = "GetAsWindow" > < / span > < code > function < strong > GetAsWindow< / strong > : < a href = "uCEFInterfaces.ICefWindow.html" > ICefWindow< / a > ;< / code > < / td >
< / tr >
< tr > < td colspan = "2" >
< p >
Returns this Panel as a Window or NULL if this is not a Window. < / p >
< h6 class = "description_section" > Attributes< / h6 >
< dl class = "attributes" >
< dt > GUID['{6F2F680A-3637-4438-81B8-79AD6C02252D}']< / dt >
< dd > < / dd >
< / dl >
< / td > < / tr >
< / table >
2026-03-19 13:17:28 +01:00
< table class = "detail visibility-public wide_list" >
< tr class = "list visibility-public" >
< td class = "visibility" > < span class = "badge vis-public" > Public< / span > < / td >
2024-02-24 12:01:31 +01:00
< td class = "itemcode" > < span id = "SetToFillLayout" > < / span > < code > function < strong > SetToFillLayout< / strong > : < a href = "uCEFInterfaces.ICefFillLayout.html" > ICefFillLayout< / a > ;< / code > < / td >
< / tr >
< tr > < td colspan = "2" >
< p >
Set this Panel's Layout to FillLayout and return the FillLayout object. < / p >
< / td > < / tr >
< / table >
2026-03-19 13:17:28 +01:00
< table class = "detail visibility-public wide_list" >
< tr class = "list visibility-public" >
< td class = "visibility" > < span class = "badge vis-public" > Public< / span > < / td >
2024-02-24 12:01:31 +01:00
< td class = "itemcode" > < span id = "SetToBoxLayout-TCefBoxLayoutSettings-" > < / span > < code > function < strong > SetToBoxLayout< / strong > (const settings: < a href = "uCEFTypes.TCefBoxLayoutSettings.html" > TCefBoxLayoutSettings< / a > ): < a href = "uCEFInterfaces.ICefBoxLayout.html" > ICefBoxLayout< / a > ;< / code > < / td >
< / tr >
< tr > < td colspan = "2" >
< p >
Set this Panel's Layout to BoxLayout and return the BoxLayout object. < / p >
< / td > < / tr >
< / table >
2026-03-19 13:17:28 +01:00
< table class = "detail visibility-public wide_list" >
< tr class = "list visibility-public" >
< td class = "visibility" > < span class = "badge vis-public" > Public< / span > < / td >
2024-02-24 12:01:31 +01:00
< td class = "itemcode" > < span id = "GetLayout" > < / span > < code > function < strong > GetLayout< / strong > : < a href = "uCEFInterfaces.ICefLayout.html" > ICefLayout< / a > ;< / code > < / td >
< / tr >
< tr > < td colspan = "2" >
< p >
Get the Layout. < / p >
< / td > < / tr >
< / table >
2026-03-19 13:17:28 +01:00
< table class = "detail visibility-public wide_list" >
< tr class = "list visibility-public" >
< td class = "visibility" > < span class = "badge vis-public" > Public< / span > < / td >
2024-02-24 12:01:31 +01:00
< td class = "itemcode" > < span id = "Layout" > < / span > < code > procedure < strong > Layout< / strong > ;< / code > < / td >
< / tr >
< tr > < td colspan = "2" >
< p >
Lay out the child Views (set their bounds based on sizing heuristics specific to the current Layout). < / p >
< / td > < / tr >
< / table >
2026-03-19 13:17:28 +01:00
< table class = "detail visibility-public wide_list" >
< tr class = "list visibility-public" >
< td class = "visibility" > < span class = "badge vis-public" > Public< / span > < / td >
2024-02-24 12:01:31 +01:00
< td class = "itemcode" > < span id = "AddChildView-ICefView-" > < / span > < code > procedure < strong > AddChildView< / strong > (const view: < a href = "uCEFInterfaces.ICefView.html" > ICefView< / a > );< / code > < / td >
< / tr >
< tr > < td colspan = "2" >
< p >
Add a child View. < / p >
< / td > < / tr >
< / table >
2026-03-19 13:17:28 +01:00
< table class = "detail visibility-public wide_list" >
< tr class = "list visibility-public" >
< td class = "visibility" > < span class = "badge vis-public" > Public< / span > < / td >
2024-02-24 12:01:31 +01:00
< td class = "itemcode" > < span id = "AddChildViewAt-ICefView-Integer-" > < / span > < code > procedure < strong > AddChildViewAt< / strong > (const view: < a href = "uCEFInterfaces.ICefView.html" > ICefView< / a > ; index: Integer);< / code > < / td >
< / tr >
< tr > < td colspan = "2" >
< p >
Add a child View at the specified |index|. If |index| matches the result of GetChildCount() then the View will be added at the end. < / p >
< / td > < / tr >
< / table >
2026-03-19 13:17:28 +01:00
< table class = "detail visibility-public wide_list" >
< tr class = "list visibility-public" >
< td class = "visibility" > < span class = "badge vis-public" > Public< / span > < / td >
2024-02-24 12:01:31 +01:00
< td class = "itemcode" > < span id = "ReorderChildView-ICefView-Integer-" > < / span > < code > procedure < strong > ReorderChildView< / strong > (const view: < a href = "uCEFInterfaces.ICefView.html" > ICefView< / a > ; index: Integer);< / code > < / td >
< / tr >
< tr > < td colspan = "2" >
< p >
Move the child View to the specified |index|. A negative value for |index| will move the View to the end. < / p >
< / td > < / tr >
< / table >
2026-03-19 13:17:28 +01:00
< table class = "detail visibility-public wide_list" >
< tr class = "list visibility-public" >
< td class = "visibility" > < span class = "badge vis-public" > Public< / span > < / td >
2024-02-24 12:01:31 +01:00
< td class = "itemcode" > < span id = "RemoveChildView-ICefView-" > < / span > < code > procedure < strong > RemoveChildView< / strong > (const view: < a href = "uCEFInterfaces.ICefView.html" > ICefView< / a > );< / code > < / td >
< / tr >
< tr > < td colspan = "2" >
< p >
Remove a child View. The View can then be added to another Panel. < / p >
< / td > < / tr >
< / table >
2026-03-19 13:17:28 +01:00
< table class = "detail visibility-public wide_list" >
< tr class = "list visibility-public" >
< td class = "visibility" > < span class = "badge vis-public" > Public< / span > < / td >
2024-02-24 12:01:31 +01:00
< td class = "itemcode" > < span id = "RemoveAllChildViews" > < / span > < code > procedure < strong > RemoveAllChildViews< / strong > ;< / code > < / td >
< / tr >
< tr > < td colspan = "2" >
< p >
Remove all child Views. The removed Views will be deleted if the client holds no references to them. < / p >
< / td > < / tr >
< / table >
2026-03-19 13:17:28 +01:00
< table class = "detail visibility-public wide_list" >
< tr class = "list visibility-public" >
< td class = "visibility" > < span class = "badge vis-public" > Public< / span > < / td >
2024-02-24 12:01:31 +01:00
< td class = "itemcode" > < span id = "GetChildViewCount" > < / span > < code > function < strong > GetChildViewCount< / strong > : < a href = "uCEFTypes.html#NativeUInt" > NativeUInt< / a > ;< / code > < / td >
< / tr >
< tr > < td colspan = "2" >
< p >
Returns the number of child Views. < / p >
< / td > < / tr >
< / table >
2026-03-19 13:17:28 +01:00
< table class = "detail visibility-public wide_list" >
< tr class = "list visibility-public" >
< td class = "visibility" > < span class = "badge vis-public" > Public< / span > < / td >
2024-02-24 12:01:31 +01:00
< td class = "itemcode" > < span id = "GetChildViewAt-Integer-" > < / span > < code > function < strong > GetChildViewAt< / strong > (index: Integer): < a href = "uCEFInterfaces.ICefView.html" > ICefView< / a > ;< / code > < / td >
< / tr >
< tr > < td colspan = "2" >
< p >
Returns the child View at the specified |index|. < / p >
< / td > < / tr >
< / table >
< h3 class = "detail" > Properties< / h3 >
2026-03-19 13:17:28 +01:00
< table class = "detail visibility-public wide_list" >
< tr class = "list visibility-public" >
< td class = "visibility" > < span class = "badge vis-public" > Public< / span > < / td >
2024-02-24 12:01:31 +01:00
< td class = "itemcode" > < span id = "AsWindow" > < / span > < code > property < strong > AsWindow< / strong > : < a href = "uCEFInterfaces.ICefWindow.html" > ICefWindow< / a > read < a href = "uCEFInterfaces.ICefPanel.html#GetAsWindow" > GetAsWindow< / a > ;< / code > < / td >
< / tr >
< tr > < td colspan = "2" >
< p >
Returns this Panel as a Window or NULL if this is not a Window. < / p >
< / td > < / tr >
< / table >
2026-04-04 18:01:24 +02:00
< hr > < span class = "appinfo" > < em > Generated by < a href = "https://pasdoc.github.io/" > PasDoc 1.0.4< / a > . < / em >
2024-02-24 12:01:31 +01:00
< / span >
< / body > < / html >