forked from livecode/livecode
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathwidget.lcdoc
More file actions
39 lines (27 loc) · 927 Bytes
/
Copy pathwidget.lcdoc
File metadata and controls
39 lines (27 loc) · 927 Bytes
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
Name: widget
Type: object
Syntax: widget
Summary:
A custom <control> written in LiveCode Builder
Introduced: 8.0
OS: mac, windows, linux, ios, android
Platforms: desktop, server, mobile
Example:
set the visible of widget 1 to false
Example:
on newWidget
if the kind of the target is "com.livecode.widget.colorswatch" then
set the swatchColor of the target to "0,0,0,255"
end if
end newWidget
Description:
Use the <widget> <object type> to create a <widget> control.
<widget|Widgets> are created from
<LiveCode Builder extension|LiveCode Builder extensions> that have
previously been loaded into memory using the <load extension>
<command>. For more details on how to create widgets, please consult the
*Extending Livecode* guide.
References: load extension (command), object type (glossary),
LiveCode Builder extension (glossary), command (glossary),
control (keyword)
Tags: objects, extensions