blob: 50ebcf47ae61680a2b4fe8a64721fc9b5bec136b (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
|
<h1>SDLDeleteWindow Class Reference</h1>
<h3>Section Contents</h3>
<ul>
<li><a href="#section--initWithId:">-initWithId:</a></li>
<li><a href="#section-windowID">windowID</a></li>
</ul>
<h3>Overview</h3>
<p>Deletes previously created window of the SDL application.</p>
<p>@since SDL 6.0</p>
<section class="section task-group-section">
<h3 id="section--initWithId:">
-initWithId:
</h3>
<h4>Objective-C</h4>
<pre class="highlight objective_c"><code><span class="k">-</span> <span class="p">(</span><span class="n">nonnull</span> <span class="n">instancetype</span><span class="p">)</span><span class="nf">initWithId</span><span class="p">:(</span><span class="n">NSUInteger</span><span class="p">)</span><span class="nv">windowId</span><span class="p">;</span></code></pre>
<h4>Swift</h4>
<pre class="highlight swift"><code><span class="nf">init</span><span class="p">(</span><span class="n">id</span> <span class="nv">windowId</span><span class="p">:</span> <span class="kt">UInt</span><span class="p">)</span></code></pre>
<h4>Parameters</h4>
<dl>
<dt>windowId</dt>
<dd><p>A unique ID to identify the window. The value of ‘0’ will always be the default main window on the main display and cannot be deleted.</p></dd>
</dl>
<h3 id="section-windowID">
windowID
</h3>
<p>A unique ID to identify the window.</p>
<p>The value of ‘0’ will always be the default main window on the main display and cannot be deleted.</p>
<div class="aside aside-see">
<p class="aside-title">See</p>
PredefinedWindows enum.
</div>
<h4>Objective-C</h4>
<pre class="highlight objective_c"><code><span class="k">@property</span> <span class="p">(</span><span class="n">nonatomic</span><span class="p">,</span> <span class="n">strong</span><span class="p">)</span> <span class="n">NSNumber</span><span class="o"><</span><span class="n"><a href="../Protocols.html#/c:objc(pl)SDLUInt">SDLUInt</a></span><span class="o">></span> <span class="o">*</span><span class="n">_Nonnull</span> <span class="n">windowID</span><span class="p">;</span></code></pre>
<h4>Swift</h4>
<pre class="highlight swift"><code><span class="k">var</span> <span class="nv">windowID</span><span class="p">:</span> <span class="kt">NSNumber</span> <span class="o">&</span> <span class="kt"><a href="../Protocols.html#/c:objc(pl)SDLUInt">SDLUInt</a></span> <span class="p">{</span> <span class="k">get</span> <span class="k">set</span> <span class="p">}</span></code></pre>
</section>
|