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
31 lines (20 loc) · 910 Bytes
/
Copy pathwidget.lcdoc
File metadata and controls
31 lines (20 loc) · 910 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
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,web,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), control (keyword), object type (glossary), LiveCode Builder extension (glossary), command (glossary)
Tags: objects, extensions