Skip to content

Commit 524ebad

Browse files
committed
2 parents e90eb61 + 6a47280 commit 524ebad

7 files changed

Lines changed: 538 additions & 524 deletions

File tree

doc/toolchain/interpreter.html

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -211,7 +211,8 @@
211211
<ul class="mt-0">
212212
<li>Console versions of the interpreter are suitable for command line tools, as they are running in a command prompt window.</li>
213213
<li>Desktop versions of the interpreter are for applications based on the Windows GUI, so they include the <code>ui</code> module.</li>
214-
<li>Static interpreters do not depend on <code>lua54.dll</code>, but the use of binary modules is strongly discouraged.</li>
214+
<li>Static interpreters do not depend on <code>lua54.dll</code>, even with static compiled modules.</li>
215+
<li>Static modules must be compiled with the provided <code>lua54-static.lib</code> and they names suffixed by <code>-static.dll</code></li>
215216
<li>Since Lua<sup>rt</sup> 1.2.0, better compatibility with PUC Lua is provided by the integration of the PUC Lua <code>os</code>, <code>io</code> and <code>utf8</code> modules.</li>
216217
</ul>
217218
</div>

doc/tutorial/Compiling Lua scripts to executables.html

Lines changed: 0 additions & 522 deletions
This file was deleted.

doc/tutorial/rtc.html

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -277,7 +277,8 @@ <h2 class="has-text-weight-light is-size-3 mt-6">The embed module</h2>
277277
<p class="mt-4">But wait a minute, how to access our files once they are embedded in our executable ?</p>
278278
<p>The <code>embed</code> module comes to the rescue. This module is only available to compiled scripts if embedded content is found inside the executable. This module contains : </p>
279279
<ul><li>A <a href="../sys/File.html"><i class="fas fas fa-file"></i> File</a> object to interact with all the embedded files.</li>
280-
<li>A <a href="../compression/Zip.html"><i class="fas fas fa-archive"></i> Zip</a> object instance to access the compressed embedded content.</li></ul>
280+
<li>A <a href="../sys/Directory.html"><i class="fas fas fa-folder"></i> Directory</a> object to interact with folders in the embedded content.</li>
281+
<li>A <a href="../compression/Zip.html"><i class="fas fas fa-archive"></i> Zip</a> object instance to access the compressed embedded content.</li></ul>
281282
<p>If you want to use a Lua file or a Lua binary module in the embedded content, just use the global <code>require()</code> function seamlessly, without the need to extract files before.</p>
282283
<article class="message is-warning is-small mt-6 mb-6" style="margin-left: 20%; margin-right: 20%">
283284
<div class="message-header">

doc/ui/Label-onDoubleClick.html

Lines changed: 260 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,260 @@
1+
<!doctype html>
2+
<html lang="en">
3+
<head>
4+
<meta charset="utf-8" />
5+
<meta content="IE=edge" http-equiv="X-UA-Compatible" />
6+
<meta content="width=device-width, initial-scale=1" name="viewport" />
7+
<meta name="description" content="Event fired when the user doubleclicks on the Label" />
8+
<title>
9+
Label:onDoubleClick() | LuaRT free and open source Windows programming framework for Lua
10+
</title>
11+
<link href="../../css/bulma-docs.min.css" rel="stylesheet" />
12+
<link href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.4.2/css/all.min.css"
13+
rel="stylesheet" />
14+
<link href="https://luart.org/doc/ui/Label-onDoubleClick.html" rel="canonical" />
15+
<link href="../../img/favicon.png" rel="icon" sizes="16x16" type="image/png" />
16+
<link rel="stylesheet" href="../prism.css" data-noprefix="">
17+
</head>
18+
<body class="layout-documentation has-navbar-fixed-top">
19+
<nav class="bd-navbar navbar is-fixed-top has-shadow" id="navbar">
20+
<div class="navbar-brand">
21+
<a class="navbar-item" href="../../index.html">
22+
<img alt="LuaRT: Free and open source Windows programming framework for Lua"
23+
height="40"
24+
src="../../img/logo.svg"
25+
width="112" />
26+
</a>
27+
<a class="navbar-item bd-navbar-mobile-icon"
28+
href="https://github.com/samyeyo"
29+
style="margin-left: auto"
30+
target="_blank">
31+
<span class="icon" style="color: #000000">
32+
<i class="fab fa-lg fa-github"></i>
33+
</span>
34+
</a>
35+
<a class="navbar-item bd-navbar-mobile-icon"
36+
href="https://twitter.com/__LuaRT__"
37+
target="_blank">
38+
<span class="icon" style="color: #000000">
39+
<i class="fab fa-lg fa-x-twitter"></i>
40+
</span>
41+
</a>
42+
<a class="navbar-item bd-navbar-mobile-icon"
43+
href="https://www.youtube.com/channel/UCS4DTQ3-6xKmkVrFr8Xxc7Q"
44+
target="_blank">
45+
<span class="icon" style="color: #FF0000">
46+
<i class="fab fa-lg fa-youtube"></i>
47+
</span>
48+
</a><a class="navbar-item bd-navbar-mobile-icon"
49+
href="https://discord.gg/cvQV77nhfr"
50+
target="_blank">
51+
<span class="icon" style="color: #5865F2">
52+
<i class="fab fa-discord"></i>
53+
</span>
54+
</a>
55+
<button class="navbar-burger burger"
56+
data-target="navMenuDocumentation"
57+
id="navbarBurger">
58+
<span></span>
59+
<span></span>
60+
<span></span>
61+
</button>
62+
</div>
63+
<div class="navbar-menu" id="navMenuDocumentation">
64+
<div class="navbar-start bd-navbar-start bd-is-original"
65+
id="navbarStartOriginal">
66+
<a class="navbar-item bd-navbar-item bd-navbar-item-bulma-book bd-navbar-item-base"
67+
href="../index.html#section_features">
68+
<span class="icon has-text-bleeding">
69+
<i class="fas fa-certificate"></i>
70+
</span>
71+
<span>Features</span>
72+
</a>
73+
<a class="navbar-item bd-navbar-item bd-navbar-item-love bd-navbar-item-base"
74+
href="../../index.html#section_download">
75+
<span class="icon has-text-danger">
76+
<i class="fas fa-download"></i>
77+
</span>
78+
<span>Download</span>
79+
</a>
80+
<div class="navbar-item has-dropdown is-hoverable">
81+
<a class="navbar-item bd-navbar-item bd-navbar-item-videos bd-navbar-item-base scroll">
82+
<span class="icon has-text-success"><i class="fas fa-circle-play"></i></span><span>Getting started</span>
83+
</a>
84+
<div class="navbar-dropdown has-background-success-light">
85+
<a href="../install.html" class="dropdown-item has-text-success-dark">
86+
<span class="icon"><i class="fa fa-computer"></i></span> Installation
87+
</a>
88+
<a href="../first.html" class="dropdown-item has-text-success-dark">
89+
<span class="icon"><i class="fa fa-play"></i></span> First execution
90+
</a>
91+
<a href="../tour.html" class="dropdown-item has-text-success-dark">
92+
<span class="icon"><i class="fa fa-bus-simple"></i></span> Take a tour !
93+
</a>
94+
</div>
95+
</div>
96+
<div class="navbar-item has-dropdown is-hoverable">
97+
<a class="navbar-item bd-navbar-item bd-navbar-item-extensions bd-navbar-item-base scroll">
98+
<span class="icon has-text-info"><i class="fas fa-book"></i></span><span>Documentation</span>
99+
</a>
100+
<div class="navbar-dropdown has-background-info-light">
101+
<a href="../modules.html" class="dropdown-item has-text-info-dark">
102+
<span class="icon"><i class="fa fa-cubes"></i></span> Modules reference
103+
</a>
104+
<a href="../object.html" class="dropdown-item has-text-info-dark">
105+
<span class="icon"><i class="fa fa-shapes"></i></span> Object oriented programming
106+
</a>
107+
<a href="../toolchain.html" class="dropdown-item has-text-info-dark">
108+
<span class="icon"><i class="fa fa-wrench"></i></span> Toolchain documentation
109+
</a>
110+
</div>
111+
</div>
112+
</a>
113+
<a class="navbar-item bd-navbar-item bd-navbar-item-expo bd-navbar-item-base"
114+
href="https://community.luart.org">
115+
<span class="icon has-text-warning">
116+
<i class="fas fa-comments"></i>
117+
</span>
118+
<span>Community</span>
119+
</a>
120+
<a class="navbar-item bd-navbar-item bd-navbar-item-blog bd-navbar-item-base"
121+
href="../tutorial/index.html">
122+
<span class="icon has-text-rss">
123+
<i class="fas fa-graduation-cap"></i>
124+
</span>
125+
<span>Tutorials</span>
126+
</a>
127+
<div class="ml-6">
128+
<span class="icon has-text-grey-light mr-1">
129+
<i class="fas fa-search"></i>
130+
</span></div>
131+
<script async src="https://cse.google.com/cse.js?cx=509c4cdde27f845e7"></script>
132+
<div class="gcse-searchbox-only" data-resultsUrl="/search.html"></div>
133+
</div>
134+
</div>
135+
<div class="navbar-end">
136+
<a class="bd-navbar-icon navbar-item"
137+
href="https://github.com/samyeyo"
138+
target="_blank">
139+
<span class="icon" style="color: #000000">
140+
<i class="fab fa-lg fa-github"></i>
141+
</span>
142+
</a>
143+
<a class="bd-navbar-icon navbar-item"
144+
href="https://twitter.com/__LuaRT__"
145+
target="_blank">
146+
<span class="icon" style="color: #000000">
147+
<i class="fab fa-lg fa-x-twitter"></i>
148+
</span>
149+
</a>
150+
<a class="bd-navbar-icon navbar-item"
151+
href="https://www.youtube.com/channel/UCS4DTQ3-6xKmkVrFr8Xxc7Q"
152+
target="_blank">
153+
<span class="icon" style="color: #FF0000">
154+
<i class="fab fa-lg fa-youtube"></i>
155+
</span>
156+
</a>
157+
<a class="bd-navbar-icon navbar-item"
158+
href="https://discord.gg/cvQV77nhfr"
159+
target="_blank">
160+
<span class="icon" style="color: #5865F2">
161+
<i class="fab fa-lg fa-discord"></i>
162+
</span>
163+
</a>
164+
</div>
165+
</nav>
166+
167+
<section class="main-content columns is-centered is-fullheight" style="margin-top: 6%; margin-bottom: 4%">
168+
<div class="column is-7">
169+
<div class="card">
170+
<a id="back" class="button is-white pl-5" href="Label.html?events"><span class="icon has-text-grey-lighter"><i class="fas fa-circle-left"></i></span></a>
171+
<div class="card-content pt-0">
172+
<div class="content">
173+
<p class="has-text-weight-light is-size-3 mb-5" style="color: #004080; vertical-align: middle">Label:onDoubleClick() <span class="tag is-rounded is-small has-background-link-light" style="background:#f0c245;vertical-align: middle"> event</span></p>
174+
<p><br>
175+
This event is fired when the user has doubleclicked on the Label.</p>
176+
<p class="is-size-4 mb-1 mt-6" style="color: #004080">Return value</p>
177+
The event returns no value.
178+
<p class="is-size-4 mt-6 mb-0" style="color: #004080">Example</p>
179+
<div class="language-lua mr-6 ml-6"><code>
180+
local ui = require "ui"
181+
182+
-- create a simple window
183+
local win = ui.Window("Label:onDoubleClick() sample", 340, 180)
184+
local label = ui.Label(win, "Doubleclick on this text !")
185+
label:center()
186+
187+
188+
function label:onDoubleClick()
189+
ui.info("You have doubleclicked on the Label !")
190+
end
191+
192+
win:show()
193+
194+
repeat
195+
ui.update()
196+
until win.visible == false
197+
</code></div>
198+
</div>
199+
</div>
200+
</div>
201+
</div>
202+
</section>
203+
<footer class="footer">
204+
<div class="content has-text-centered">
205+
<p class="mb-0">
206+
<strong>
207+
Lua
208+
<sup>rt</sup> Documentation
209+
</strong> - Windows programming framework for Lua
210+
</p>
211+
<a class="is-hovered" href="https://github.com/samyeyo" target="_blank">
212+
<span class="icon" style="color: #A0A0A0">
213+
<i class="fab fa-lg fa-github"></i>
214+
</span>
215+
</a>
216+
<a class="is-hovered"
217+
href="https://twitter.com/__LuaRT__"
218+
target="_blank">
219+
<span class="icon" style="color: #A0A0A0">
220+
<i class="fab fa-lg fa-x-twitter"></i>
221+
</span>
222+
</a>
223+
<a class="is-hovered"
224+
href="https://www.youtube.com/channel/UCS4DTQ3-6xKmkVrFr8Xxc7Q"
225+
target="_blank">
226+
<span class="icon" style="color: #A0A0A0">
227+
<i class="fab fa-lg fa-youtube"></i>
228+
</span>
229+
</a>
230+
<a class="is-hovered"
231+
href="https://discord.gg/cvQV77nhfr"
232+
target="_blank">
233+
<span class="icon" style="color: #A0A0A0">
234+
<i class="fab fa-lg fa-discord"></i>
235+
</span>
236+
</a>
237+
<p class="mt-0">
238+
Copyright &copy; 2025
239+
<a href="mailto:samir.tine@luart.org">Samir Tine</a>.
240+
<br />
241+
<a href="https://bulma.io/made-with-bulma/">
242+
<img alt="Made with Bulma"
243+
height="24"
244+
src="https://bulma.io/images/made-with-bulma.png"
245+
width="128" />
246+
</a>
247+
</p>
248+
</div>
249+
</footer>
250+
</body>
251+
<script src="../../js/main.js"></script>
252+
<script src="../prism.js"></script>
253+
<script src="../custom-class.js"></script>
254+
<script>Prism.plugins.customClass.prefix('prism--');</script>
255+
<script>window.onpopstate = function() {
256+
document.getElementById('back').click();
257+
}; history.pushState({}, '');</script>
258+
</html>
259+
260+

doc/ui/Label.html

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -196,6 +196,9 @@
196196
</tr> <tr draggable="false">
197197
<td><a href="Label-onClick.html">Label.onClick()</a></td>
198198
<td><span>Event fired when the user clicks on the Label</span></td>
199+
</tr> <tr draggable="false">
200+
<td><a href="Label-onDoubleClick.html">Label.onDoubleClick()</a></td>
201+
<td><span>Event fired when the user doubleclicks on the Label</span></td>
199202
</tr> <tr draggable="false">
200203
<td><a href="Label-onContext.html">Label.onContext()</a></td>
201204
<td><span>Event fired when the user right click on the Label</span></td>

0 commit comments

Comments
 (0)