|
CEF3 C++ API Docs - Version 80.1.4+g8927396+chromium-80.0.3987.149 | ||||||
FRAMES NO FRAMES | |||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
CefBaseRefCounted | +--CefView | +--CefPanelin cef_panel.h
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.
Method Summary | |
virtual void |
AddChildView( CefRefPtr< CefView > view )= 0
Add a child View. |
virtual void |
AddChildViewAt( CefRefPtr< CefView > view, int index )= 0
Add a child View at the specified |index|. |
virtual CefRefPtr< CefWindow > |
AsWindow()= 0
Returns this Panel as a Window or NULL if this is not a Window. |
static CefRefPtr< CefPanel > |
CreatePanel( CefRefPtr< CefPanelDelegate > delegate )
Create a new Panel. |
virtual CefRefPtr< CefView > |
GetChildViewAt( int index )= 0
Returns the child View at the specified |index|. |
virtual size_t |
GetChildViewCount()= 0
Returns the number of child Views. |
virtual CefRefPtr< CefLayout > |
GetLayout()= 0
Get the Layout. |
virtual void |
Layout()= 0
Lay out the child Views (set their bounds based on sizing heuristics specific to the current Layout). |
virtual void |
RemoveAllChildViews()= 0
Remove all child Views. |
virtual void |
RemoveChildView( CefRefPtr< CefView > view )= 0
Remove a child View. |
virtual void |
ReorderChildView( CefRefPtr< CefView > view, int index )= 0
Move the child View to the specified |index|. |
virtual CefRefPtr< CefBoxLayout > |
SetToBoxLayout( const CefBoxLayoutSettings& settings )= 0
Set this Panel's Layout to BoxLayout and return the BoxLayout object. |
virtual CefRefPtr< CefFillLayout > |
SetToFillLayout()= 0
Set this Panel's Layout to FillLayout and return the FillLayout object. |
Methods inherited from class CefBaseRefCounted |
AddRef, Release, HasOneRef, HasAtLeastOneRef |
Method Detail |
public virtual void AddChildView( CefRefPtr< CefView > view )= 0;
public virtual void AddChildViewAt( CefRefPtr< CefView > view, int index )= 0;
public virtual CefRefPtr< CefWindow > AsWindow()= 0;
public static CefRefPtr< CefPanel > CreatePanel( CefRefPtr< CefPanelDelegate > delegate );
public virtual CefRefPtr< CefView > GetChildViewAt( int index )= 0;
public virtual size_t GetChildViewCount()= 0;
public virtual CefRefPtr< CefLayout > GetLayout()= 0;
public virtual void Layout()= 0;
public virtual void RemoveAllChildViews()= 0;
public virtual void RemoveChildView( CefRefPtr< CefView > view )= 0;
public virtual void ReorderChildView( CefRefPtr< CefView > view, int index )= 0;
public virtual CefRefPtr< CefBoxLayout > SetToBoxLayout( const CefBoxLayoutSettings& settings )= 0;
public virtual CefRefPtr< CefFillLayout > SetToFillLayout()= 0;
|
CEF3 C++ API Docs - Version 80.1.4+g8927396+chromium-80.0.3987.149 | ||||||
FRAMES NO FRAMES | |||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |