Reference TWebInspector
Declared in Codebot.WebKit.Controls.pas on line 410
TWebInspector is a control which hosts the inspector of a browser.
When Active is true the inspector of the associated browser is shown inside the control rather than in a window of its own.
Nothing is inspected at design time, where the control paints the WebKit logo. It paints the logo and a message if the WebKitGTK library is not installed.
TWebInspector = class(TWinControl, IWebInspectorEvents)
protected
class procedure WSRegisterClass; override;
procedure InitializeWnd; override;
procedure DestroyWnd; override;
procedure PaintWindow(DC: HDC); override;
procedure Paint; virtual;
procedure Notification(AComponent: TComponent; Operation: TOperation); override;
{ ControlCanvas is used to paint the control when it cannot host an
inspector }
property ControlCanvas: TControlCanvas read FCanvas;
public
constructor Create(AOwner: TComponent); override;
destructor Destroy; override;
published
{ When Active is true this control shows the inspector of the browser }
property Active: Boolean read FActive write SetActive default False;
property Align;
property Anchors;
property BorderSpacing;
property Constraints;
property Enabled;
property Visible;
{ The browser to inspect }
property WebBrowser: TCustomWebBrowser read FWebBrowser write SetWebBrowser;
end;See also
IWebInspectorEvents in Codebot.WebKit.Controls.Gtk3.pas