diff options
Diffstat (limited to 'Documentation/webkitgtk/html/WebKitWebInspector.html')
-rw-r--r-- | Documentation/webkitgtk/html/WebKitWebInspector.html | 717 |
1 files changed, 0 insertions, 717 deletions
diff --git a/Documentation/webkitgtk/html/WebKitWebInspector.html b/Documentation/webkitgtk/html/WebKitWebInspector.html deleted file mode 100644 index fbb2c03f2..000000000 --- a/Documentation/webkitgtk/html/WebKitWebInspector.html +++ /dev/null @@ -1,717 +0,0 @@ -<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> -<html> -<head> -<meta http-equiv="Content-Type" content="text/html; charset=UTF-8"> -<title>WebKitGTK+ Reference Manual: WebKitWebInspector</title> -<meta name="generator" content="DocBook XSL Stylesheets V1.78.1"> -<link rel="home" href="index.html" title="WebKitGTK+ Reference Manual"> -<link rel="up" href="ch02.html" title="Class Overview"> -<link rel="prev" href="WebKitNetworkResponse.html" title="WebKitNetworkResponse"> -<link rel="next" href="WebKitWebDatabase.html" title="WebKitWebDatabase"> -<meta name="generator" content="GTK-Doc V1.21.1 (XML mode)"> -<link rel="stylesheet" href="style.css" type="text/css"> -</head> -<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF"> -<table class="navigation" id="top" width="100%" summary="Navigation header" cellpadding="2" cellspacing="5"><tr valign="middle"> -<td width="100%" align="left" class="shortcuts"> -<a href="#" class="shortcut">Top</a><span id="nav_description"> <span class="dim">|</span> - <a href="#WebKitWebInspector.description" class="shortcut">Description</a></span><span id="nav_hierarchy"> <span class="dim">|</span> - <a href="#WebKitWebInspector.object-hierarchy" class="shortcut">Object Hierarchy</a></span><span id="nav_properties"> <span class="dim">|</span> - <a href="#WebKitWebInspector.properties" class="shortcut">Properties</a></span><span id="nav_signals"> <span class="dim">|</span> - <a href="#WebKitWebInspector.signals" class="shortcut">Signals</a></span> -</td> -<td><a accesskey="h" href="index.html"><img src="home.png" width="16" height="16" border="0" alt="Home"></a></td> -<td><a accesskey="u" href="ch02.html"><img src="up.png" width="16" height="16" border="0" alt="Up"></a></td> -<td><a accesskey="p" href="WebKitNetworkResponse.html"><img src="left.png" width="16" height="16" border="0" alt="Prev"></a></td> -<td><a accesskey="n" href="WebKitWebDatabase.html"><img src="right.png" width="16" height="16" border="0" alt="Next"></a></td> -</tr></table> -<div class="refentry"> -<a name="WebKitWebInspector"></a><div class="titlepage"></div> -<div class="refnamediv"><table width="100%"><tr> -<td valign="top"> -<h2><span class="refentrytitle"><a name="WebKitWebInspector.top_of_page"></a>WebKitWebInspector</span></h2> -<p>WebKitWebInspector — Access to the WebKit Inspector</p> -</td> -<td class="gallery_image" valign="top" align="right"></td> -</tr></table></div> -<div class="refsect1"> -<a name="WebKitWebInspector.functions"></a><h2>Functions</h2> -<div class="informaltable"><table width="100%" border="0"> -<colgroup> -<col width="150px" class="functions_return"> -<col class="functions_name"> -</colgroup> -<tbody> -<tr> -<td class="function_type">const <a href="../glib/glib-Basic-Types.html#gchar"><span class="returnvalue">gchar</span></a> * -</td> -<td class="function_name"> -<a class="link" href="WebKitWebInspector.html#webkit-web-inspector-get-inspected-uri" title="webkit_web_inspector_get_inspected_uri ()">webkit_web_inspector_get_inspected_uri</a> <span class="c_punctuation">()</span> -</td> -</tr> -<tr> -<td class="function_type"> -<a class="link" href="webkitgtk-webkitwebview.html#WebKitWebView"><span class="returnvalue">WebKitWebView</span></a> * -</td> -<td class="function_name"> -<a class="link" href="WebKitWebInspector.html#webkit-web-inspector-get-web-view" title="webkit_web_inspector_get_web_view ()">webkit_web_inspector_get_web_view</a> <span class="c_punctuation">()</span> -</td> -</tr> -<tr> -<td class="function_type"> -<span class="returnvalue">void</span> -</td> -<td class="function_name"> -<a class="link" href="WebKitWebInspector.html#webkit-web-inspector-inspect-coordinates" title="webkit_web_inspector_inspect_coordinates ()">webkit_web_inspector_inspect_coordinates</a> <span class="c_punctuation">()</span> -</td> -</tr> -<tr> -<td class="function_type"> -<span class="returnvalue">void</span> -</td> -<td class="function_name"> -<a class="link" href="WebKitWebInspector.html#webkit-web-inspector-show" title="webkit_web_inspector_show ()">webkit_web_inspector_show</a> <span class="c_punctuation">()</span> -</td> -</tr> -<tr> -<td class="function_type"> -<span class="returnvalue">void</span> -</td> -<td class="function_name"> -<a class="link" href="WebKitWebInspector.html#webkit-web-inspector-close" title="webkit_web_inspector_close ()">webkit_web_inspector_close</a> <span class="c_punctuation">()</span> -</td> -</tr> -<tr> -<td class="function_type"> -<span class="returnvalue">void</span> -</td> -<td class="function_name"> -<a class="link" href="WebKitWebInspector.html#webkit-web-inspector-inspect-node" title="webkit_web_inspector_inspect_node ()">webkit_web_inspector_inspect_node</a> <span class="c_punctuation">()</span> -</td> -</tr> -</tbody> -</table></div> -</div> -<div class="refsect1"> -<a name="WebKitWebInspector.properties"></a><h2>Properties</h2> -<div class="informaltable"><table border="0"> -<colgroup> -<col width="150px" class="properties_type"> -<col width="300px" class="properties_name"> -<col width="200px" class="properties_flags"> -</colgroup> -<tbody> -<tr> -<td class="property_type"> -<a href="../glib/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *</td> -<td class="property_name"><a class="link" href="WebKitWebInspector.html#WebKitWebInspector--inspected-uri" title="The “inspected-uri” property">inspected-uri</a></td> -<td class="property_flags">Read</td> -</tr> -<tr> -<td class="property_type"><a href="../glib/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a></td> -<td class="property_name"><a class="link" href="WebKitWebInspector.html#WebKitWebInspector--javascript-profiling-enabled" title="The “javascript-profiling-enabled” property">javascript-profiling-enabled</a></td> -<td class="property_flags">Read / Write</td> -</tr> -<tr> -<td class="property_type"><a href="../glib/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a></td> -<td class="property_name"><a class="link" href="WebKitWebInspector.html#WebKitWebInspector--timeline-profiling-enabled" title="The “timeline-profiling-enabled” property">timeline-profiling-enabled</a></td> -<td class="property_flags">Read / Write</td> -</tr> -<tr> -<td class="property_type"> -<a class="link" href="webkitgtk-webkitwebview.html#WebKitWebView"><span class="type">WebKitWebView</span></a> *</td> -<td class="property_name"><a class="link" href="WebKitWebInspector.html#WebKitWebInspector--web-view" title="The “web-view” property">web-view</a></td> -<td class="property_flags">Read</td> -</tr> -</tbody> -</table></div> -</div> -<div class="refsect1"> -<a name="WebKitWebInspector.signals"></a><h2>Signals</h2> -<div class="informaltable"><table border="0"> -<colgroup> -<col width="150px" class="signals_return"> -<col width="300px" class="signals_name"> -<col width="200px" class="signals_flags"> -</colgroup> -<tbody> -<tr> -<td class="signal_type"><a href="../glib/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a></td> -<td class="signal_name"><a class="link" href="WebKitWebInspector.html#WebKitWebInspector-attach-window" title="The “attach-window” signal">attach-window</a></td> -<td class="signal_flags">Run Last</td> -</tr> -<tr> -<td class="signal_type"><a href="../glib/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a></td> -<td class="signal_name"><a class="link" href="WebKitWebInspector.html#WebKitWebInspector-close-window" title="The “close-window” signal">close-window</a></td> -<td class="signal_flags">Run Last</td> -</tr> -<tr> -<td class="signal_type"><a href="../glib/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a></td> -<td class="signal_name"><a class="link" href="WebKitWebInspector.html#WebKitWebInspector-detach-window" title="The “detach-window” signal">detach-window</a></td> -<td class="signal_flags">Run Last</td> -</tr> -<tr> -<td class="signal_type"><span class="returnvalue">void</span></td> -<td class="signal_name"><a class="link" href="WebKitWebInspector.html#WebKitWebInspector-finished" title="The “finished” signal">finished</a></td> -<td class="signal_flags">Run Last</td> -</tr> -<tr> -<td class="signal_type"> -<a class="link" href="webkitgtk-webkitwebview.html#WebKitWebView"><span class="returnvalue">WebKitWebView</span></a>*</td> -<td class="signal_name"><a class="link" href="WebKitWebInspector.html#WebKitWebInspector-inspect-web-view" title="The “inspect-web-view” signal">inspect-web-view</a></td> -<td class="signal_flags">Run Last</td> -</tr> -<tr> -<td class="signal_type"><a href="../glib/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a></td> -<td class="signal_name"><a class="link" href="WebKitWebInspector.html#WebKitWebInspector-show-window" title="The “show-window” signal">show-window</a></td> -<td class="signal_flags">Run Last</td> -</tr> -</tbody> -</table></div> -</div> -<div class="refsect1"> -<a name="WebKitWebInspector.other"></a><h2>Types and Values</h2> -<div class="informaltable"><table width="100%" border="0"> -<colgroup> -<col width="150px" class="name"> -<col class="description"> -</colgroup> -<tbody><tr> -<td class="datatype_keyword"> </td> -<td class="function_name"><a class="link" href="WebKitWebInspector.html#WebKitWebInspector-struct" title="WebKitWebInspector">WebKitWebInspector</a></td> -</tr></tbody> -</table></div> -</div> -<div class="refsect1"> -<a name="WebKitWebInspector.object-hierarchy"></a><h2>Object Hierarchy</h2> -<pre class="screen"> <a href="../gobject/gobject-The-Base-Object-Type.html#GObject">GObject</a> - <span class="lineart">╰──</span> WebKitWebInspector -</pre> -</div> -<div class="refsect1"> -<a name="WebKitWebInspector.description"></a><h2>Description</h2> -<p>The WebKit Inspector is a graphical tool to inspect and change -the content of a <a class="link" href="webkitgtk-webkitwebview.html#WebKitWebView"><span class="type">WebKitWebView</span></a>. It also includes an interactive -JavaScriptDebugger. Using this class one can get a GtkWidget which -can be embedded into an application to show the inspector.</p> -<p>The inspector is available when the <a class="link" href="WebKitWebSettings.html" title="WebKitWebSettings"><span class="type">WebKitWebSettings</span></a> of the -<a class="link" href="webkitgtk-webkitwebview.html#WebKitWebView"><span class="type">WebKitWebView</span></a> has set the <a class="link" href="WebKitWebSettings.html#WebKitWebSettings--enable-developer-extras" title="The “enable-developer-extras” property"><span class="type">“enable-developer-extras”</span></a> -to true otherwise no inspector is available.</p> -<div class="informalexample"> - <table class="listing_frame" border="0" cellpadding="0" cellspacing="0"> - <tbody> - <tr> - <td class="listing_lines" align="right"><pre>1 -2 -3 -4 -5 -6 -7 -8 -9 -10 -11 -12</pre></td> - <td class="listing_code"><pre class="programlisting"><span class="comment">/*</span><span class="comment"> Enable the developer extras </span><span class="comment">*/</span> -WebKitWebSettings *setting = webkit_web_view_get_settings (WEBKIT_WEB_VIEW(my_webview)); -g_object_set (G_OBJECT(settings), <span class="number">"enable-developer-extras"</span>, TRUE, <span class="number">NULL</span>); - -<span class="comment">/*</span><span class="comment"> load some data or reload to be able to inspect the page</span><span class="comment">*/</span> -webkit_web_view_open (WEBKIT_WEB_VIEW(my_webview), <span class="number">"<a href="http://www.gnome.org">http://www.gnome.org</a>"</span>); - -<span class="comment">/*</span><span class="comment"> Embed the inspector somewhere </span><span class="comment">*/</span> -WebKitWebInspector *inspector = webkit_web_view_get_inspector (WEBKIT_WEB_VIEW(my_webview)); -g_signal_connect (G_OBJECT (inspector), <span class="number">"inspect-web-view"</span>, G_CALLBACK(create_gtk_window_around_it), <span class="number">NULL</span>); -g_signal_connect (G_OBJECT (inspector), <span class="number">"show-window"</span>, G_CALLBACK(show_inpector_window), <span class="number">NULL</span>)<span class="Error">)</span>; -g_signal_connect (G_OBJECT (inspector), <span class="number">"notify::inspected-uri"</span>, G_CALLBACK(inspected_uri_changed_do_stuff), <span class="number">NULL</span>);</pre></td> - </tr> - </tbody> - </table> -</div> - -</div> -<div class="refsect1"> -<a name="WebKitWebInspector.functions_details"></a><h2>Functions</h2> -<div class="refsect2"> -<a name="webkit-web-inspector-get-inspected-uri"></a><h3>webkit_web_inspector_get_inspected_uri ()</h3> -<pre class="programlisting">const <a href="../glib/glib-Basic-Types.html#gchar"><span class="returnvalue">gchar</span></a> * -webkit_web_inspector_get_inspected_uri - (<em class="parameter"><code><a class="link" href="WebKitWebInspector.html" title="WebKitWebInspector"><span class="type">WebKitWebInspector</span></a> *web_inspector</code></em>);</pre> -<p>Obtains the URI that is currently being inspected.</p> -<div class="refsect3"> -<a name="id-1.3.12.9.2.5"></a><h4>Parameters</h4> -<div class="informaltable"><table width="100%" border="0"> -<colgroup> -<col width="150px" class="parameters_name"> -<col class="parameters_description"> -<col width="200px" class="parameters_annotations"> -</colgroup> -<tbody><tr> -<td class="parameter_name"><p>web_inspector</p></td> -<td class="parameter_description"><p>a <a class="link" href="WebKitWebInspector.html" title="WebKitWebInspector"><span class="type">WebKitWebInspector</span></a></p></td> -<td class="parameter_annotations"> </td> -</tr></tbody> -</table></div> -</div> -<div class="refsect3"> -<a name="id-1.3.12.9.2.6"></a><h4>Returns</h4> -<p> a pointer to the URI as an internally allocated string; it -should not be freed, modified or stored.</p> -<p></p> -</div> -<p class="since">Since 1.0.3</p> -</div> -<hr> -<div class="refsect2"> -<a name="webkit-web-inspector-get-web-view"></a><h3>webkit_web_inspector_get_web_view ()</h3> -<pre class="programlisting"><a class="link" href="webkitgtk-webkitwebview.html#WebKitWebView"><span class="returnvalue">WebKitWebView</span></a> * -webkit_web_inspector_get_web_view (<em class="parameter"><code><a class="link" href="WebKitWebInspector.html" title="WebKitWebInspector"><span class="type">WebKitWebInspector</span></a> *web_inspector</code></em>);</pre> -<p>Obtains the <a class="link" href="webkitgtk-webkitwebview.html#WebKitWebView"><span class="type">WebKitWebView</span></a> that is used to render the -inspector. The <a class="link" href="webkitgtk-webkitwebview.html#WebKitWebView"><span class="type">WebKitWebView</span></a> instance is created by the -application, by handling the <a class="link" href="WebKitWebInspector.html#WebKitWebInspector-inspect-web-view" title="The “inspect-web-view” signal"><span class="type">“inspect-web-view”</span></a> signal. This means -that this method may return <a href="../glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a> if the user hasn't inspected -anything.</p> -<div class="refsect3"> -<a name="id-1.3.12.9.3.5"></a><h4>Parameters</h4> -<div class="informaltable"><table width="100%" border="0"> -<colgroup> -<col width="150px" class="parameters_name"> -<col class="parameters_description"> -<col width="200px" class="parameters_annotations"> -</colgroup> -<tbody><tr> -<td class="parameter_name"><p>web_inspector</p></td> -<td class="parameter_description"><p>a <a class="link" href="WebKitWebInspector.html" title="WebKitWebInspector"><span class="type">WebKitWebInspector</span></a></p></td> -<td class="parameter_annotations"> </td> -</tr></tbody> -</table></div> -</div> -<div class="refsect3"> -<a name="id-1.3.12.9.3.6"></a><h4>Returns</h4> -<p> the <a class="link" href="webkitgtk-webkitwebview.html#WebKitWebView"><span class="type">WebKitWebView</span></a> instance that is used -to render the inspector or <a href="../glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a> if it is not yet created. </p> -<p><span class="annotation">[<acronym title="Don't free data after the code is done."><span class="acronym">transfer none</span></acronym>]</span></p> -</div> -<p class="since">Since 1.0.3</p> -</div> -<hr> -<div class="refsect2"> -<a name="webkit-web-inspector-inspect-coordinates"></a><h3>webkit_web_inspector_inspect_coordinates ()</h3> -<pre class="programlisting"><span class="returnvalue">void</span> -webkit_web_inspector_inspect_coordinates - (<em class="parameter"><code><a class="link" href="WebKitWebInspector.html" title="WebKitWebInspector"><span class="type">WebKitWebInspector</span></a> *web_inspector</code></em>, - <em class="parameter"><code><a href="../glib/glib-Basic-Types.html#gdouble"><span class="type">gdouble</span></a> x</code></em>, - <em class="parameter"><code><a href="../glib/glib-Basic-Types.html#gdouble"><span class="type">gdouble</span></a> y</code></em>);</pre> -<p>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 <a class="link" href="webkitgtk-webkitwebview.html#WebKitWebView"><span class="type">WebKitWebView</span></a> widget, not to the scrollable content, and -may be obtained from a <a href="../gdk3/gdk3-Event-Structures.html#GdkEvent"><span class="type">GdkEvent</span></a> directly.</p> -<p>This means <em class="parameter"><code>x</code></em> -, and <em class="parameter"><code>y</code></em> - being zero doesn't guarantee you will hit the -left-most top corner of the content, since the contents may have -been scrolled.</p> -<div class="refsect3"> -<a name="id-1.3.12.9.4.6"></a><h4>Parameters</h4> -<div class="informaltable"><table width="100%" border="0"> -<colgroup> -<col width="150px" class="parameters_name"> -<col class="parameters_description"> -<col width="200px" class="parameters_annotations"> -</colgroup> -<tbody> -<tr> -<td class="parameter_name"><p>web_inspector</p></td> -<td class="parameter_description"><p>the <a class="link" href="WebKitWebInspector.html" title="WebKitWebInspector"><span class="type">WebKitWebInspector</span></a> that will do the inspection</p></td> -<td class="parameter_annotations"> </td> -</tr> -<tr> -<td class="parameter_name"><p>x</p></td> -<td class="parameter_description"><p>the X coordinate of the node to be inspected</p></td> -<td class="parameter_annotations"> </td> -</tr> -<tr> -<td class="parameter_name"><p>y</p></td> -<td class="parameter_description"><p>the Y coordinate of the node to be inspected</p></td> -<td class="parameter_annotations"> </td> -</tr> -</tbody> -</table></div> -</div> -<p class="since">Since 1.1.17</p> -</div> -<hr> -<div class="refsect2"> -<a name="webkit-web-inspector-show"></a><h3>webkit_web_inspector_show ()</h3> -<pre class="programlisting"><span class="returnvalue">void</span> -webkit_web_inspector_show (<em class="parameter"><code><a class="link" href="WebKitWebInspector.html" title="WebKitWebInspector"><span class="type">WebKitWebInspector</span></a> *web_inspector</code></em>);</pre> -<p>Causes the Web Inspector to be shown.</p> -<div class="refsect3"> -<a name="id-1.3.12.9.5.5"></a><h4>Parameters</h4> -<div class="informaltable"><table width="100%" border="0"> -<colgroup> -<col width="150px" class="parameters_name"> -<col class="parameters_description"> -<col width="200px" class="parameters_annotations"> -</colgroup> -<tbody><tr> -<td class="parameter_name"><p>web_inspector</p></td> -<td class="parameter_description"><p>the <a class="link" href="WebKitWebInspector.html" title="WebKitWebInspector"><span class="type">WebKitWebInspector</span></a> that will be shown</p></td> -<td class="parameter_annotations"> </td> -</tr></tbody> -</table></div> -</div> -<p class="since">Since 1.1.17</p> -</div> -<hr> -<div class="refsect2"> -<a name="webkit-web-inspector-close"></a><h3>webkit_web_inspector_close ()</h3> -<pre class="programlisting"><span class="returnvalue">void</span> -webkit_web_inspector_close (<em class="parameter"><code><a class="link" href="WebKitWebInspector.html" title="WebKitWebInspector"><span class="type">WebKitWebInspector</span></a> *web_inspector</code></em>);</pre> -<p>Causes the Web Inspector to be closed.</p> -<div class="refsect3"> -<a name="id-1.3.12.9.6.5"></a><h4>Parameters</h4> -<div class="informaltable"><table width="100%" border="0"> -<colgroup> -<col width="150px" class="parameters_name"> -<col class="parameters_description"> -<col width="200px" class="parameters_annotations"> -</colgroup> -<tbody><tr> -<td class="parameter_name"><p>web_inspector</p></td> -<td class="parameter_description"><p>the <a class="link" href="WebKitWebInspector.html" title="WebKitWebInspector"><span class="type">WebKitWebInspector</span></a> that will be closed</p></td> -<td class="parameter_annotations"> </td> -</tr></tbody> -</table></div> -</div> -<p class="since">Since 1.1.17</p> -</div> -<hr> -<div class="refsect2"> -<a name="webkit-web-inspector-inspect-node"></a><h3>webkit_web_inspector_inspect_node ()</h3> -<pre class="programlisting"><span class="returnvalue">void</span> -webkit_web_inspector_inspect_node (<em class="parameter"><code><a class="link" href="WebKitWebInspector.html" title="WebKitWebInspector"><span class="type">WebKitWebInspector</span></a> *web_inspector</code></em>, - <em class="parameter"><code><a href="../webkitdomgtk/WebKitDOMNode.html"><span class="type">WebKitDOMNode</span></a> *node</code></em>);</pre> -<p>Causes the Web Inspector to inspect the given node.</p> -<div class="refsect3"> -<a name="id-1.3.12.9.7.5"></a><h4>Parameters</h4> -<div class="informaltable"><table width="100%" border="0"> -<colgroup> -<col width="150px" class="parameters_name"> -<col class="parameters_description"> -<col width="200px" class="parameters_annotations"> -</colgroup> -<tbody> -<tr> -<td class="parameter_name"><p>web_inspector</p></td> -<td class="parameter_description"><p>the <a class="link" href="WebKitWebInspector.html" title="WebKitWebInspector"><span class="type">WebKitWebInspector</span></a> that will do the inspection</p></td> -<td class="parameter_annotations"> </td> -</tr> -<tr> -<td class="parameter_name"><p>node</p></td> -<td class="parameter_description"><p>the <a href="../webkitdomgtk/WebKitDOMNode.html"><span class="type">WebKitDOMNode</span></a> to inspect</p></td> -<td class="parameter_annotations"> </td> -</tr> -</tbody> -</table></div> -</div> -<p class="since">Since 1.3.7</p> -</div> -</div> -<div class="refsect1"> -<a name="WebKitWebInspector.other_details"></a><h2>Types and Values</h2> -<div class="refsect2"> -<a name="WebKitWebInspector-struct"></a><h3>WebKitWebInspector</h3> -<pre class="programlisting">typedef struct _WebKitWebInspector WebKitWebInspector;</pre> -<p> -</p> -</div> -</div> -<div class="refsect1"> -<a name="WebKitWebInspector.property-details"></a><h2>Property Details</h2> -<div class="refsect2"> -<a name="WebKitWebInspector--inspected-uri"></a><h3>The <code class="literal">“inspected-uri”</code> property</h3> -<pre class="programlisting"> “inspected-uri” <a href="../glib/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *</pre> -<p>The URI that is currently being inspected.</p> -<p>Flags: Read</p> -<p>Default value: NULL</p> -<p class="since">Since 1.0.3</p> -</div> -<hr> -<div class="refsect2"> -<a name="WebKitWebInspector--javascript-profiling-enabled"></a><h3>The <code class="literal">“javascript-profiling-enabled”</code> property</h3> -<pre class="programlisting"> “javascript-profiling-enabled” <a href="../glib/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a></pre> -<p>This is enabling JavaScript profiling in the Inspector. This means -that Console.profiles will return the profiles.</p> -<p>Flags: Read / Write</p> -<p>Default value: FALSE</p> -<p class="since">Since 1.1.1</p> -</div> -<hr> -<div class="refsect2"> -<a name="WebKitWebInspector--timeline-profiling-enabled"></a><h3>The <code class="literal">“timeline-profiling-enabled”</code> property</h3> -<pre class="programlisting"> “timeline-profiling-enabled” <a href="../glib/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a></pre> -<p>This is enabling Timeline profiling in the Inspector.</p> -<p>Flags: Read / Write</p> -<p>Default value: FALSE</p> -<p class="since">Since 1.1.17</p> -</div> -<hr> -<div class="refsect2"> -<a name="WebKitWebInspector--web-view"></a><h3>The <code class="literal">“web-view”</code> property</h3> -<pre class="programlisting"> “web-view” <a class="link" href="webkitgtk-webkitwebview.html#WebKitWebView"><span class="type">WebKitWebView</span></a> *</pre> -<p>The Web View that renders the Web Inspector itself.</p> -<p>Flags: Read</p> -<p class="since">Since 1.0.3</p> -</div> -</div> -<div class="refsect1"> -<a name="WebKitWebInspector.signal-details"></a><h2>Signal Details</h2> -<div class="refsect2"> -<a name="WebKitWebInspector-attach-window"></a><h3>The <code class="literal">“attach-window”</code> signal</h3> -<pre class="programlisting"><a href="../glib/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a> -user_function (<a class="link" href="WebKitWebInspector.html" title="WebKitWebInspector"><span class="type">WebKitWebInspector</span></a> *web_inspector, - <a href="../glib/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> user_data)</pre> -<p>Emitted when the inspector should appear at the same window as -the <a class="link" href="webkitgtk-webkitwebview.html#WebKitWebView"><span class="type">WebKitWebView</span></a> being inspected.</p> -<div class="refsect3"> -<a name="id-1.3.12.12.2.5"></a><h4>Parameters</h4> -<div class="informaltable"><table width="100%" border="0"> -<colgroup> -<col width="150px" class="parameters_name"> -<col class="parameters_description"> -<col width="200px" class="parameters_annotations"> -</colgroup> -<tbody> -<tr> -<td class="parameter_name"><p>web_inspector</p></td> -<td class="parameter_description"><p>the object on which the signal is emitted</p></td> -<td class="parameter_annotations"> </td> -</tr> -<tr> -<td class="parameter_name"><p>return</p></td> -<td class="parameter_description"><p><a href="../glib/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a> if the signal has been handled</p></td> -<td class="parameter_annotations"> </td> -</tr> -<tr> -<td class="parameter_name"><p>user_data</p></td> -<td class="parameter_description"><p>user data set when the signal handler was connected.</p></td> -<td class="parameter_annotations"> </td> -</tr> -</tbody> -</table></div> -</div> -<p>Flags: Run Last</p> -<p class="since">Since 1.0.3</p> -</div> -<hr> -<div class="refsect2"> -<a name="WebKitWebInspector-close-window"></a><h3>The <code class="literal">“close-window”</code> signal</h3> -<pre class="programlisting"><a href="../glib/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a> -user_function (<a class="link" href="WebKitWebInspector.html" title="WebKitWebInspector"><span class="type">WebKitWebInspector</span></a> *web_inspector, - <a href="../glib/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> user_data)</pre> -<p>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 <a class="link" href="WebKitWebInspector.html#WebKitWebInspector-show-window" title="The “show-window” signal"><span class="type">“show-window”</span></a> later on.</p> -<p>Notice that the inspected <a class="link" href="webkitgtk-webkitwebview.html#WebKitWebView"><span class="type">WebKitWebView</span></a> may no longer exist -when this signal is emitted.</p> -<p>Notice, too, that if you decide to destroy the window, -<a class="link" href="WebKitWebInspector.html#WebKitWebInspector-inspect-web-view" title="The “inspect-web-view” signal"><span class="type">“inspect-web-view”</span></a> will be emmited again, when the user -inspects an element.</p> -<div class="refsect3"> -<a name="id-1.3.12.12.3.7"></a><h4>Parameters</h4> -<div class="informaltable"><table width="100%" border="0"> -<colgroup> -<col width="150px" class="parameters_name"> -<col class="parameters_description"> -<col width="200px" class="parameters_annotations"> -</colgroup> -<tbody> -<tr> -<td class="parameter_name"><p>web_inspector</p></td> -<td class="parameter_description"><p>the object on which the signal is emitted</p></td> -<td class="parameter_annotations"> </td> -</tr> -<tr> -<td class="parameter_name"><p>return</p></td> -<td class="parameter_description"><p><a href="../glib/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a> if the signal has been handled</p></td> -<td class="parameter_annotations"> </td> -</tr> -<tr> -<td class="parameter_name"><p>user_data</p></td> -<td class="parameter_description"><p>user data set when the signal handler was connected.</p></td> -<td class="parameter_annotations"> </td> -</tr> -</tbody> -</table></div> -</div> -<p>Flags: Run Last</p> -<p class="since">Since 1.0.3</p> -</div> -<hr> -<div class="refsect2"> -<a name="WebKitWebInspector-detach-window"></a><h3>The <code class="literal">“detach-window”</code> signal</h3> -<pre class="programlisting"><a href="../glib/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a> -user_function (<a class="link" href="WebKitWebInspector.html" title="WebKitWebInspector"><span class="type">WebKitWebInspector</span></a> *web_inspector, - <a href="../glib/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> user_data)</pre> -<p>Emitted when the inspector should appear in a separate window.</p> -<div class="refsect3"> -<a name="id-1.3.12.12.4.5"></a><h4>Parameters</h4> -<div class="informaltable"><table width="100%" border="0"> -<colgroup> -<col width="150px" class="parameters_name"> -<col class="parameters_description"> -<col width="200px" class="parameters_annotations"> -</colgroup> -<tbody> -<tr> -<td class="parameter_name"><p>web_inspector</p></td> -<td class="parameter_description"><p>the object on which the signal is emitted</p></td> -<td class="parameter_annotations"> </td> -</tr> -<tr> -<td class="parameter_name"><p>return</p></td> -<td class="parameter_description"><p><a href="../glib/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a> if the signal has been handled</p></td> -<td class="parameter_annotations"> </td> -</tr> -<tr> -<td class="parameter_name"><p>user_data</p></td> -<td class="parameter_description"><p>user data set when the signal handler was connected.</p></td> -<td class="parameter_annotations"> </td> -</tr> -</tbody> -</table></div> -</div> -<p>Flags: Run Last</p> -<p class="since">Since 1.0.3</p> -</div> -<hr> -<div class="refsect2"> -<a name="WebKitWebInspector-finished"></a><h3>The <code class="literal">“finished”</code> signal</h3> -<pre class="programlisting"><span class="returnvalue">void</span> -user_function (<a class="link" href="WebKitWebInspector.html" title="WebKitWebInspector"><span class="type">WebKitWebInspector</span></a> *web_inspector, - <a href="../glib/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> user_data)</pre> -<p>Emitted when the inspection is done. You should release your -references on the inspector at this time. The inspected -<a class="link" href="webkitgtk-webkitwebview.html#WebKitWebView"><span class="type">WebKitWebView</span></a> may no longer exist when this signal is emitted.</p> -<div class="refsect3"> -<a name="id-1.3.12.12.5.5"></a><h4>Parameters</h4> -<div class="informaltable"><table width="100%" border="0"> -<colgroup> -<col width="150px" class="parameters_name"> -<col class="parameters_description"> -<col width="200px" class="parameters_annotations"> -</colgroup> -<tbody> -<tr> -<td class="parameter_name"><p>web_inspector</p></td> -<td class="parameter_description"><p>the object on which the signal is emitted</p></td> -<td class="parameter_annotations"> </td> -</tr> -<tr> -<td class="parameter_name"><p>user_data</p></td> -<td class="parameter_description"><p>user data set when the signal handler was connected.</p></td> -<td class="parameter_annotations"> </td> -</tr> -</tbody> -</table></div> -</div> -<p>Flags: Run Last</p> -<p class="since">Since 1.0.3</p> -</div> -<hr> -<div class="refsect2"> -<a name="WebKitWebInspector-inspect-web-view"></a><h3>The <code class="literal">“inspect-web-view”</code> signal</h3> -<pre class="programlisting"><a class="link" href="webkitgtk-webkitwebview.html#WebKitWebView"><span class="returnvalue">WebKitWebView</span></a>* -user_function (<a class="link" href="WebKitWebInspector.html" title="WebKitWebInspector"><span class="type">WebKitWebInspector</span></a> *web_inspector, - <a class="link" href="webkitgtk-webkitwebview.html#WebKitWebView"><span class="type">WebKitWebView</span></a> *web_view, - <a href="../glib/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> user_data)</pre> -<p>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 -<a class="link" href="webkitgtk-webkitwebview.html#WebKitWebView"><span class="type">WebKitWebView</span></a> it creates to an existing window.</p> -<p>You don't need to handle the reference count of the -<a class="link" href="webkitgtk-webkitwebview.html#WebKitWebView"><span class="type">WebKitWebView</span></a> instance you create; the widget to which you add -it will do that.</p> -<div class="refsect3"> -<a name="id-1.3.12.12.6.6"></a><h4>Parameters</h4> -<div class="informaltable"><table width="100%" border="0"> -<colgroup> -<col width="150px" class="parameters_name"> -<col class="parameters_description"> -<col width="200px" class="parameters_annotations"> -</colgroup> -<tbody> -<tr> -<td class="parameter_name"><p>web_inspector</p></td> -<td class="parameter_description"><p>the object on which the signal is emitted</p></td> -<td class="parameter_annotations"> </td> -</tr> -<tr> -<td class="parameter_name"><p>web_view</p></td> -<td class="parameter_description"><p>the <a class="link" href="webkitgtk-webkitwebview.html#WebKitWebView"><span class="type">WebKitWebView</span></a> which will be inspected</p></td> -<td class="parameter_annotations"> </td> -</tr> -<tr> -<td class="parameter_name"><p>user_data</p></td> -<td class="parameter_description"><p>user data set when the signal handler was connected.</p></td> -<td class="parameter_annotations"> </td> -</tr> -</tbody> -</table></div> -</div> -<div class="refsect3"> -<a name="id-1.3.12.12.6.7"></a><h4>Returns</h4> -<p> a newly allocated <a class="link" href="webkitgtk-webkitwebview.html#WebKitWebView"><span class="type">WebKitWebView</span></a> or <a href="../glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>. </p> -<p><span class="annotation">[<acronym title="Don't free data after the code is done."><span class="acronym">transfer none</span></acronym>]</span></p> -</div> -<p>Flags: Run Last</p> -<p class="since">Since 1.0.3</p> -</div> -<hr> -<div class="refsect2"> -<a name="WebKitWebInspector-show-window"></a><h3>The <code class="literal">“show-window”</code> signal</h3> -<pre class="programlisting"><a href="../glib/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a> -user_function (<a class="link" href="WebKitWebInspector.html" title="WebKitWebInspector"><span class="type">WebKitWebInspector</span></a> *web_inspector, - <a href="../glib/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> user_data)</pre> -<p>Emitted when the inspector window should be displayed. Notice -that the window must have been created already by handling -<a class="link" href="WebKitWebInspector.html#WebKitWebInspector-inspect-web-view" title="The “inspect-web-view” signal"><span class="type">“inspect-web-view”</span></a>.</p> -<div class="refsect3"> -<a name="id-1.3.12.12.7.5"></a><h4>Parameters</h4> -<div class="informaltable"><table width="100%" border="0"> -<colgroup> -<col width="150px" class="parameters_name"> -<col class="parameters_description"> -<col width="200px" class="parameters_annotations"> -</colgroup> -<tbody> -<tr> -<td class="parameter_name"><p>web_inspector</p></td> -<td class="parameter_description"><p>the object on which the signal is emitted</p></td> -<td class="parameter_annotations"> </td> -</tr> -<tr> -<td class="parameter_name"><p>return</p></td> -<td class="parameter_description"><p><a href="../glib/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a> if the signal has been handled</p></td> -<td class="parameter_annotations"> </td> -</tr> -<tr> -<td class="parameter_name"><p>user_data</p></td> -<td class="parameter_description"><p>user data set when the signal handler was connected.</p></td> -<td class="parameter_annotations"> </td> -</tr> -</tbody> -</table></div> -</div> -<p>Flags: Run Last</p> -<p class="since">Since 1.0.3</p> -</div> -</div> -</div> -<div class="footer"> -<hr> - Generated by GTK-Doc V1.21.1</div> -</body> -</html>
\ No newline at end of file |