GObject.Object
WebKit.WebInspector
Import line: | WebKit = imports.gi.WebKit; |
GIR File: | WebKit-3.0.gir |
C documentation: | WebKitWebInspector |
Class : | WebInspector |
Extends: | GObject.Object |
Properties | Defined By | |
---|---|---|
inspected_uri : String
read only
The URI that is currently being inspected.
The URI that is currently being inspected.
|
WebKit.WebInspector | |
javascript_profiling_enabled : gboolean
This is enabling JavaScript profiling in the Inspector.
This is enabling JavaScript profiling in the Inspector. This means
that Console.profiles will return the profiles. |
WebKit.WebInspector | |
parent_instance : GObject.Object
read only
|
WebKit.WebInspector | |
priv : WebKit.WebInspectorPrivate
read only
|
WebKit.WebInspector | |
timeline_profiling_enabled : gboolean
This is enabling Timeline profiling in the Inspector.
This is enabling Timeline profiling in the Inspector.
|
WebKit.WebInspector | |
web_view : WebKit.WebView
read only
The Web View that renders the Web Inspector itself.
The Web View that renders the Web Inspector itself.
|
WebKit.WebInspector |
Method / Constructor | Defined By | |
---|---|---|
new WebKit.WebInspector
(Object properties)
Create a new WebKit.WebInspector
Create a new WebKit.WebInspector
|
||
close
()
:
none
Causes the Web Inspector to be closed.
Causes the Web Inspector to be closed.
|
WebKit.WebInspector | |
get_inspected_uri
()
:
String
Obtains the URI that is currently being inspected.
Obtains the URI that is currently being inspected.
should not be freed, modified or stored.
|
WebKit.WebInspector | |
get_web_view
()
:
WebKit.WebView
Obtains the WebKitWebView that is used to render the
inspector.
Obtains the WebKitWebView that is used to render the
inspector. The WebKitWebView instance is created by the application, by handling the WebKitWebInspector::inspect-web-view signal. This means that this method may return NULL if the user hasn't inspected anything. to render the inspector or NULL if it is not yet created.
|
WebKit.WebInspector | |
Causes the Web Inspector to inspect the node that is located at the
given coordinates of the widget.
Causes the Web Inspector to inspect the node that is located at the
given coordinates of the widget. The coordinates should be relative to the WebKitWebView widget, not to the scrollable content, and may be obtained from a GdkEvent directly. This means x, and y being zero doesn't guarantee you will hit the left-most top corner of the content, since the contents may have been scrolled.
|
WebKit.WebInspector | |
inspect_node
(DOMNode node)
:
none
Causes the Web Inspector to inspect the given node.
Causes the Web Inspector to inspect the given node.
|
WebKit.WebInspector | |
show
()
:
none
Causes the Web Inspector to be shown.
Causes the Web Inspector to be shown.
|
WebKit.WebInspector |
Event | Defined By | |
---|---|---|
attach_window (WebInspector self)
:
gboolean
Emitted when the inspector should appear at the same window as
the WebKitWebView being inspected.
Emitted when the inspector should appear at the same window as
the WebKitWebView being inspected.
|
WebKit.WebInspector | |
close_window (WebInspector self)
:
gboolean
Emitted when the inspector window should be closed.
Emitted when the inspector window should be closed. You can
destroy the window or hide it so that it can be displayed again by handling WebKitWebInspector::show-window later on. Notice that the inspected WebKitWebView may no longer exist when this signal is emitted. Notice, too, that if you decide to destroy the window, WebKitWebInspector::inspect-web-view will be emmited again, when the user inspects an element.
|
WebKit.WebInspector | |
detach_window (WebInspector self)
:
gboolean
Emitted when the inspector should appear in a separate window.
Emitted when the inspector should appear in a separate window.
|
WebKit.WebInspector | |
finished (WebInspector self)
:
none
Emitted when the inspection is done.
Emitted when the inspection is done. You should release your
references on the inspector at this time. The inspected WebKitWebView may no longer exist when this signal is emitted.
|
WebKit.WebInspector | |
Emitted when the user activates the 'inspect' context menu item
to inspect a web view.
Emitted when the user activates the 'inspect' context menu item
to inspect a web view. The application which is interested in the inspector should create a window, or otherwise add the WebKitWebView it creates to an existing window. You don't need to handle the reference count of the WebKitWebView instance you create; the widget to which you add it will do that.
|
WebKit.WebInspector | |
show_window (WebInspector self)
:
gboolean
Emitted when the inspector window should be displayed.
Emitted when the inspector window should be displayed. Notice
that the window must have been created already by handling WebKitWebInspector::inspect-web-view.
|
WebKit.WebInspector |
Class / Namespace | Method / Signal / Properties |
---|---|
WebKit.WebView
Property |
web_inspector : WebKit.WebInspector
read only
The associated WebKitWebInspector instance.
|
WebKit.WebView
Method |
get_inspector
()
:
WebKit.WebInspector
Obtains the WebKitWebInspector associated with the
WebKitWebView. |