diff options
Diffstat (limited to 'doc/reference/html/Sandbox-module.html')
-rw-r--r-- | doc/reference/html/Sandbox-module.html | 68 |
1 files changed, 0 insertions, 68 deletions
diff --git a/doc/reference/html/Sandbox-module.html b/doc/reference/html/Sandbox-module.html deleted file mode 100644 index e635083..0000000 --- a/doc/reference/html/Sandbox-module.html +++ /dev/null @@ -1,68 +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>Sandbox: Seed Reference Manual</title> -<meta name="generator" content="DocBook XSL Stylesheets V1.79.1"> -<link rel="home" href="index.html" title="Seed Reference Manual"> -<link rel="up" href="modules.html" title="Part IV. Seed Module Reference"> -<link rel="prev" href="GtkBuilder-module.html" title="GtkBuilder"> -<link rel="next" href="ix01.html" title="Index"> -<meta name="generator" content="GTK-Doc V1.25 (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"></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="modules.html"><img src="up.png" width="16" height="16" border="0" alt="Up"></a></td> -<td><a accesskey="p" href="GtkBuilder-module.html"><img src="left.png" width="16" height="16" border="0" alt="Prev"></a></td> -<td><a accesskey="n" href="ix01.html"><img src="right.png" width="16" height="16" border="0" alt="Next"></a></td> -</tr></table> -<div class="chapter"> -<div class="titlepage"><div> -<div><h2 class="title"> -<a name="Sandbox-module"></a>Sandbox</h2></div> -<div><div class="author"> -<h3 class="author"> -<span class="firstname">Robert</span> <span class="surname">Carr</span> -</h3> -<div class="affiliation"><div class="address"><p><br> - <code class="email"><<a class="email" href="mailto:racarr@gnome.org">racarr@<em class="parameter"><code>gnome.org</code></em></a>></code><br> - </p></div></div> -</div></div> -</div></div> -<div class="refsect1"> -<a name="id-1.5.6.3"></a><h2>API Reference</h2> -<p> - The sandbox module allows the creation of isolated JSCore contexts with individual global objects. It is useful as a literal "sandbox" or in a variety of other contexts. - </p> -<pre class="programlisting"> - sandbox = imports.sandbox; - </pre> -<p> - </p> -<span style="color: red"><xi:include></xi:include></span> -</div> -<div class="refsect1"> -<a name="id-1.5.6.4"></a><h2>Examples</h2> -<p>Below are several examples of using the Seed Sandbox module. For additional resources, consult the examples/ folder of the Seed source</p> -<div class="example"> -<a name="sandbox-example"></a><p class="title"><b>Example 17. </b></p> -<div class="example-contents"><pre class="programlisting"> -sandbox = imports.sandbox; - -ctx = new sandbox.Context(); -ctx.eval("b = 2+2"); -print(ctx.global.b); //4 -ctx.global.b = new Gtk.Window(); // Possible to expose objects to the context. -ctx.eval("b.show()"); - </pre></div> -</div> -<br class="example-break"> -</div> -</div> -<div class="footer"> -<hr>Generated by GTK-Doc V1.25</div> -</body> -</html>
\ No newline at end of file |