<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>
Class: Fox::FXId
— FXRuby API Documentation
</title>
<link rel="stylesheet" href="../css/style.css" type="text/css" />
<link rel="stylesheet" href="../css/common.css" type="text/css" />
<script type="text/javascript">
pathId = "Fox::FXId";
relpath = '../';
</script>
<script type="text/javascript" charset="utf-8" src="../js/jquery.js"></script>
<script type="text/javascript" charset="utf-8" src="../js/app.js"></script>
</head>
<body>
<div class="nav_wrap">
<iframe id="nav" src="../class_list.html?1"></iframe>
<div id="resizer"></div>
</div>
<div id="main" tabindex="-1">
<div id="header">
<div id="menu">
<a href="../_index.html">Index (F)</a> »
<span class='title'><span class='object_link'><a href="../Fox.html" title="Fox (module)">Fox</a></span></span>
»
<span class="title">FXId</span>
</div>
<div id="search">
<a class="full_list_link" id="class_list_link"
href="../class_list.html">
<svg width="24" height="24">
<rect x="0" y="4" width="24" height="4" rx="1" ry="1"></rect>
<rect x="0" y="12" width="24" height="4" rx="1" ry="1"></rect>
<rect x="0" y="20" width="24" height="4" rx="1" ry="1"></rect>
</svg>
</a>
</div>
<div class="clear"></div>
</div>
<div id="content"><h1>Class: Fox::FXId
</h1>
<div class="box_info">
<dl>
<dt>Inherits:</dt>
<dd>
<span class="inheritName"><span class='object_link'><a href="FXObject.html" title="Fox::FXObject (class)">FXObject</a></span></span>
<ul class="fullTree">
<li>Object</li>
<li class="next"><span class='object_link'><a href="FXObject.html" title="Fox::FXObject (class)">FXObject</a></span></li>
<li class="next">Fox::FXId</li>
</ul>
<a href="#" class="inheritanceTree">show all</a>
</dd>
</dl>
<dl>
<dt>Defined in:</dt>
<dd>rdoc-sources/FXId.rb<span class="defines">,<br />
lib/fox16/thread.rb</span>
</dd>
</dl>
</div>
<h2>Overview</h2><div class="docstring">
<div class="discussion">
<p>class FXApp</p>
</div>
</div>
<div class="tags">
</div><div id="subclasses">
<h2>Direct Known Subclasses</h2>
<p class="children"><span class='object_link'><a href="FXCursor.html" title="Fox::FXCursor (class)">FXCursor</a></span>, <span class='object_link'><a href="FXDrawable.html" title="Fox::FXDrawable (class)">FXDrawable</a></span>, <span class='object_link'><a href="FXFont.html" title="Fox::FXFont (class)">FXFont</a></span>, <span class='object_link'><a href="FXGLContext.html" title="Fox::FXGLContext (class)">FXGLContext</a></span>, <span class='object_link'><a href="FXVisual.html" title="Fox::FXVisual (class)">FXVisual</a></span></p>
</div>
<h2>Instance Attribute Summary <small><a href="#" class="summary_toggle">collapse</a></small></h2>
<ul class="summary">
<li class="public ">
<span class="summary_signature">
<a href="#app-instance_method" title="#app (instance method)">#<strong>app</strong> ⇒ Object </a>
</span>
<span class="note title readonly">readonly</span>
<span class="summary_desc"><div class='inline'>
<p>Application <span class='object_link'><a href="FXApp.html" title="Fox::FXApp (class)">FXApp</a></span>.</p>
</div></span>
</li>
<li class="public ">
<span class="summary_signature">
<a href="#userData-instance_method" title="#userData (instance method)">#<strong>userData</strong> ⇒ Object </a>
</span>
<span class="summary_desc"><div class='inline'>
<p>User data [Object].</p>
</div></span>
</li>
<li class="public ">
<span class="summary_signature">
<a href="#xid-instance_method" title="#xid (instance method)">#<strong>xid</strong> ⇒ Object </a>
</span>
<span class="note title readonly">readonly</span>
<span class="summary_desc"><div class='inline'>
<p>XID handle for the server-side resource [Integer].</p>
</div></span>
</li>
</ul>
<h2>
Instance Method Summary
<small><a href="#" class="summary_toggle">collapse</a></small>
</h2>
<ul class="summary">
<li class="public ">
<span class="summary_signature">
<a href="#create-instance_method" title="#create (instance method)">#<strong>create</strong> ⇒ Object </a>
</span>
<span class="summary_desc"><div class='inline'>
<p>Create resource.</p>
</div></span>
</li>
<li class="public ">
<span class="summary_signature">
<a href="#created%3F-instance_method" title="#created? (instance method)">#<strong>created?</strong> ⇒ Boolean </a>
</span>
<span class="summary_desc"><div class='inline'>
<p>Returns true if this resource has been created.</p>
</div></span>
</li>
<li class="public ">
<span class="summary_signature">
<a href="#destroy-instance_method" title="#destroy (instance method)">#<strong>destroy</strong> ⇒ Object </a>
</span>
<span class="summary_desc"><div class='inline'>
<p>Destroy resource.</p>
</div></span>
</li>
<li class="public ">
<span class="summary_signature">
<a href="#detach-instance_method" title="#detach (instance method)">#<strong>detach</strong> ⇒ Object </a>
</span>
<span class="summary_desc"><div class='inline'>
<p>Detach resource.</p>
</div></span>
</li>
<li class="public ">
<span class="summary_signature">
<a href="#runOnUiThread-instance_method" title="#runOnUiThread (instance method)">#<strong>runOnUiThread</strong>(&block) ⇒ Object </a>
</span>
<span class="summary_desc"><div class='inline'>
<p>Runs the specified block on the UI thread.</p>
</div></span>
</li>
</ul>
<h3 class="inherited">Methods inherited from <span class='object_link'><a href="FXObject.html" title="Fox::FXObject (class)">FXObject</a></span></h3>
<p class="inherited"><span class='object_link'><a href="FXObject.html#bind-instance_method" title="Fox::FXObject#bind (method)">#bind</a></span>, <span class='object_link'><a href="FXObject.html#handle-instance_method" title="Fox::FXObject#handle (method)">#handle</a></span>, <span class='object_link'><a href="FXObject.html#load-instance_method" title="Fox::FXObject#load (method)">#load</a></span>, <span class='object_link'><a href="FXObject.html#save-instance_method" title="Fox::FXObject#save (method)">#save</a></span>, <span class='object_link'><a href="FXObject.html#subclasses-class_method" title="Fox::FXObject.subclasses (method)">subclasses</a></span></p>
<div id="instance_attr_details" class="attr_details">
<h2>Instance Attribute Details</h2>
<span id=""></span>
<div class="method_details first">
<h3 class="signature first" id="app-instance_method">
#<strong>app</strong> ⇒ <tt>Object</tt> <span class="extras">(readonly)</span>
</h3><div class="docstring">
<div class="discussion">
<p>Application <span class='object_link'><a href="FXApp.html" title="Fox::FXApp (class)">Fox::FXApp</a></span></p>
</div>
</div>
<div class="tags">
</div><table class="source_code">
<tr>
<td>
<pre class="lines">
8
9
10</pre>
</td>
<td>
<pre class="code"><span class="info file"># File 'rdoc-sources/FXId.rb', line 8</span>
<span class='kw'>def</span> <span class='id identifier rubyid_app'>app</span>
<span class='ivar'>@app</span>
<span class='kw'>end</span></pre>
</td>
</tr>
</table>
</div>
<span id="userData=-instance_method"></span>
<div class="method_details ">
<h3 class="signature " id="userData-instance_method">
#<strong>userData</strong> ⇒ <tt>Object</tt>
</h3><div class="docstring">
<div class="discussion">
<p>User data [Object]</p>
</div>
</div>
<div class="tags">
</div><table class="source_code">
<tr>
<td>
<pre class="lines">
11
12
13</pre>
</td>
<td>
<pre class="code"><span class="info file"># File 'rdoc-sources/FXId.rb', line 11</span>
<span class='kw'>def</span> <span class='id identifier rubyid_userData'>userData</span>
<span class='ivar'>@userData</span>
<span class='kw'>end</span></pre>
</td>
</tr>
</table>
</div>
<span id=""></span>
<div class="method_details ">
<h3 class="signature " id="xid-instance_method">
#<strong>xid</strong> ⇒ <tt>Object</tt> <span class="extras">(readonly)</span>
</h3><div class="docstring">
<div class="discussion">
<p>XID handle for the server-side resource [Integer]</p>
</div>
</div>
<div class="tags">
</div><table class="source_code">
<tr>
<td>
<pre class="lines">
14
15
16</pre>
</td>
<td>
<pre class="code"><span class="info file"># File 'rdoc-sources/FXId.rb', line 14</span>
<span class='kw'>def</span> <span class='id identifier rubyid_xid'>xid</span>
<span class='ivar'>@xid</span>
<span class='kw'>end</span></pre>
</td>
</tr>
</table>
</div>
</div>
<div id="instance_method_details" class="method_details_list">
<h2>Instance Method Details</h2>
<div class="method_details first">
<h3 class="signature first" id="create-instance_method">
#<strong>create</strong> ⇒ <tt>Object</tt>
</h3><div class="docstring">
<div class="discussion">
<p>Create resource.</p>
</div>
</div>
<div class="tags">
</div><table class="source_code">
<tr>
<td>
<pre class="lines">
19</pre>
</td>
<td>
<pre class="code"><span class="info file"># File 'rdoc-sources/FXId.rb', line 19</span>
<span class='kw'>def</span> <span class='id identifier rubyid_create'>create</span><span class='lparen'>(</span><span class='rparen'>)</span><span class='semicolon'>;</span> <span class='kw'>end</span></pre>
</td>
</tr>
</table>
</div>
<div class="method_details ">
<h3 class="signature " id="created?-instance_method">
#<strong>created?</strong> ⇒ <tt>Boolean</tt>
</h3><div class="docstring">
<div class="discussion">
<p>Returns true if this resource has been created.</p>
</div>
</div>
<div class="tags">
<p class="tag_title">Returns:</p>
<ul class="return">
<li>
<span class='type'>(<tt>Boolean</tt>)</span>
</li>
</ul>
</div><table class="source_code">
<tr>
<td>
<pre class="lines">
22</pre>
</td>
<td>
<pre class="code"><span class="info file"># File 'rdoc-sources/FXId.rb', line 22</span>
<span class='kw'>def</span> <span class='id identifier rubyid_created?'>created?</span><span class='semicolon'>;</span> <span class='kw'>end</span></pre>
</td>
</tr>
</table>
</div>
<div class="method_details ">
<h3 class="signature " id="destroy-instance_method">
#<strong>destroy</strong> ⇒ <tt>Object</tt>
</h3><div class="docstring">
<div class="discussion">
<p>Destroy resource.</p>
</div>
</div>
<div class="tags">
</div><table class="source_code">
<tr>
<td>
<pre class="lines">
32</pre>
</td>
<td>
<pre class="code"><span class="info file"># File 'rdoc-sources/FXId.rb', line 32</span>
<span class='kw'>def</span> <span class='id identifier rubyid_destroy'>destroy</span><span class='lparen'>(</span><span class='rparen'>)</span><span class='semicolon'>;</span> <span class='kw'>end</span></pre>
</td>
</tr>
</table>
</div>
<div class="method_details ">
<h3 class="signature " id="detach-instance_method">
#<strong>detach</strong> ⇒ <tt>Object</tt>
</h3><div class="docstring">
<div class="discussion">
<p>Detach resource.</p>
</div>
</div>
<div class="tags">
</div><table class="source_code">
<tr>
<td>
<pre class="lines">
27</pre>
</td>
<td>
<pre class="code"><span class="info file"># File 'rdoc-sources/FXId.rb', line 27</span>
<span class='kw'>def</span> <span class='id identifier rubyid_detach'>detach</span><span class='lparen'>(</span><span class='rparen'>)</span><span class='semicolon'>;</span> <span class='kw'>end</span></pre>
</td>
</tr>
</table>
</div>
<div class="method_details ">
<h3 class="signature " id="runOnUiThread-instance_method">
#<strong>runOnUiThread</strong>(&block) ⇒ <tt>Object</tt>
</h3><div class="docstring">
<div class="discussion">
<p>Runs the specified block on the UI thread.</p>
<p>The block is posted to the event queue of the UI thread.</p>
</div>
</div>
<div class="tags">
</div><table class="source_code">
<tr>
<td>
<pre class="lines">
37</pre>
</td>
<td>
<pre class="code"><span class="info file"># File 'rdoc-sources/FXId.rb', line 37</span>
<span class='kw'>def</span> <span class='id identifier rubyid_runOnUiThread'>runOnUiThread</span><span class='lparen'>(</span><span class='op'>&</span><span class='id identifier rubyid_block'>block</span><span class='rparen'>)</span><span class='semicolon'>;</span> <span class='kw'>end</span></pre>
</td>
</tr>
</table>
</div>
</div>
</div>
<div id="footer">
Generated on Mon Jan 2 11:47:22 2023 by
<a href="https://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
0.9.28 (ruby-3.1.2).
</div>
</div>
</body>
</html>