You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/dictionary/message/resizeStack.lcdoc
+36-13Lines changed: 36 additions & 13 deletions
Original file line number
Diff line number
Diff line change
@@ -28,18 +28,41 @@ oldWidth: The stack's original width in pixels.
28
28
oldHeight: The stack's original height in pixels.
29
29
30
30
Description:
31
-
Handle the <resizeStack> <message> if you want to update the position of <object|objects> or do other tasks when the <stack window> changes size.
32
-
33
-
The <resizeStack> <message> is sent when the user resizes the <stack> by dragging its size box. It is also sent if a <handler> changes the size of the <stack> by changing its <properties> (<width>, <height>, and so on).
34
-
35
-
The <resizeStack> <message> is sent after the resizing is finished. This means that you cannot prevent a <stack|stack's> size from being changed by <trap|trapping> this <message>. If the <stack|stack's> <liveResizing> <property> is true, <resizeStack> <message|messages> are sent continuously during resizing, but you still cannot prevent resizing by trapping the <message>.
36
-
37
-
On Mac OS X systems when the <liveResizing> <property> is true and on all other systems, the <oldWidth> and <oldHeight> for each <resizeStack> <message> is the same as the <newWidth> and <newHeight> for the previous <resizeStack>. The <stack|stack's> original <width> and <height> are passed only with the first <resizeStack> <message> sent during a resize operation.
38
-
39
-
The screen is locked while a <resizeStack> <handler> is running, so it is not necessary to use the <lock screen> <command> to prevent changes from being seen. (However, the <lockScreen> <property> is not set to true.)
40
-
41
-
>*Note:* If the <stack's vScroll property> is nonzero, the amount of scroll is not included in the <newHeight> and <oldHeight>. This means that the <parameter|parameters> of the <resizeStack> < message(keyword)> are always equal to the <stack's height> before and after resizing, regardless of the <vScroll> setting.
Copy file name to clipboardExpand all lines: docs/dictionary/property/rectangle.lcdoc
+71-28Lines changed: 71 additions & 28 deletions
Original file line number
Diff line number
Diff line change
@@ -24,37 +24,80 @@ set the rectangle of button "Tangle" to 20,20,45,200
24
24
Example:
25
25
set the rectangle of group 1 to the rectangle of this card
26
26
27
-
Value: The <rectangle> of an <object(glossary)> consists of four <integer|integers> separated by commas.
27
+
Value: The <rectangle> of an <object(glossary)> consists of four
28
+
<integer|integers> separated by commas.
28
29
29
30
Description:
30
-
Use the <rectangle> <property> to find out how far an <object(glossary)> extends, to move it, or to resize it.
31
-
32
-
The four items of an object's <rectangle> describe the <object|object's> left, top, right, and bottom edges:
33
-
34
-
* The <left> is the number of <pixels> between the left edge of the <stack window> and the leftmost pixel of the <object(glossary)>.
35
-
36
-
* The <top> is the number of <pixels> between the top edge of the <stack window> and the topmost pixel of the <object(glossary)>.
37
-
38
-
* The <right> is the horizontal distance in <pixels> between the left edge of the <stack window> and the rightmost pixel of the <object(glossary)>.
39
-
40
-
* The <bottom> is the vertical distance in <pixels> between the top edge of the <stack window> and the bottommost pixel of the <object(glossary)>.
41
-
42
-
>*Note:* The sides of an <object|object's> <rectangle> specify the lines between <pixels>, not the <pixels> themselves. For example, if an <object|object's> <rectangle> is "0,0,2,2", the <object(glossary)> includes four <pixels>, starting at the top left corner of the <card>. In the case of a line or curve <graphic(keyword)>, the <graphic(object)|graphic's> <rectangle> encloses all the <pixels> in the <graphic(object)|graphic's> <points> <property> without touching any of them.
43
-
44
-
If the object is a stack, its <rectangle> is relative to the left and top of the screen, rather than the left and top of the <stack window>.
45
-
46
-
The first two items of a card's <rectangle> are always zero. The third <item> is the <height> of the <card>, and the fourth is the <width> of the <card>.
47
-
48
-
>*Note:* The <rectangle> of a <graphic(keyword)> is drawn around all its <points> without touching them. (Usually, this makes no difference, but in some circumstances where you need to place a <graphic(object)|graphic's> <vertex> precisely with respect to another <object|object's> <rectangle>, you may need to take this into account.)
49
-
50
-
If you specify the effective <keyword>, the rectangle includes the outline added by the <showFocusBorder> <property>. It also includes the heavy outline added to the <defaultButton>. If the <showFocusBorder> of the <object(glossary)> is false, or the <object(glossary)> is not currently <focus|focused>, the effective rectangle is the same as the rectangle.
51
-
52
-
>*Note:*As of version 6.0 the effective rect property of stacks returns the rect of the given stack with its decorations and
53
-
frame taken into account. The effective rect of a stack can also be set. Here, the rect of the frame of the stack will be set appropriately before setting the rect of the stack.
31
+
Use the <rectangle> <property> to find out how far an <object(glossary)>
32
+
extends, to move it, or to resize it.
33
+
34
+
The four items of an object's <rectangle> describe the <object|object's>
35
+
left, top, right, and bottom edges:
36
+
37
+
* The <left> is the number of <pixels> between the left edge of the
38
+
<stack window> and the leftmost pixel of the <object(glossary)>.
39
+
40
+
* The <top> is the number of <pixels> between the top edge of the
41
+
<stack window> and the topmost pixel of the <object(glossary)>.
42
+
43
+
* The <right> is the horizontal distance in <pixels> between the left
44
+
edge of the <stack window> and the rightmost pixel of the
45
+
<object(glossary)>.
46
+
47
+
* The <bottom> is the vertical distance in <pixels> between the top edge
48
+
of the <stack window> and the bottommost pixel of the
49
+
<object(glossary)>.
50
+
51
+
>*Note:* The sides of an <object|object's> <rectangle> specify the lines
52
+
> between <pixels>, not the <pixels> themselves. For example, if an
53
+
> <object|object's> <rectangle> is "0,0,2,2", the <object(glossary)>
54
+
> includes four <pixels>, starting at the top left corner of the <card>.
55
+
> In the case of a line or curve <graphic(keyword)>, the
56
+
> <graphic(object)|graphic's> <rectangle> encloses all the <pixels> in
57
+
> the <graphic(object)|graphic's> <points> <property> without touching
58
+
> any of them.
59
+
60
+
If the object is a stack, its <rectangle> is relative to the left and
61
+
top of the screen, rather than the left and top of the <stack window>.
62
+
63
+
The first two items of a card's <rectangle> are always zero. The third
64
+
<item> is the <height> of the <card>, and the fourth is the <width> of
65
+
the <card>.
66
+
67
+
>*Note:* The <rectangle> of a <graphic(keyword)> is drawn around all its
68
+
> <points> without touching them. (Usually, this makes no difference,
69
+
> but in some circumstances where you need to place a
70
+
> <graphic(object)|graphic's> <vertex> precisely with respect to another
71
+
> <object|object's> <rectangle>, you may need to take this into
72
+
> account.)
73
+
74
+
If you specify the effective <keyword>, the rectangle includes the
75
+
outline added by the <showFocusBorder> <property>. It also includes the
76
+
heavy outline added to the <defaultButton>. If the <showFocusBorder> of
77
+
the <object(glossary)> is false, or the <object(glossary)> is not
78
+
currently <focus|focused>, the effective rectangle is the same as the
79
+
rectangle.
80
+
81
+
>*Note:*As of version 6.0 the effective rect property of stacks returns
82
+
> the rect of the given stack with its decorations and frame taken into
83
+
> account. The effective rect of a stack can also be set. Here, the rect
84
+
> of the frame of the stack will be set appropriately before setting the
85
+
> rect of the stack.
54
86
55
87
Changes:
56
-
The use of the effective keyword with the rectangle property was introduced in version 1.1. In previous versions, the rectangle of the defaultButton included the heavy outline.
Copy file name to clipboardExpand all lines: docs/dictionary/property/resizable.lcdoc
+17-6Lines changed: 17 additions & 6 deletions
Original file line number
Diff line number
Diff line change
@@ -18,16 +18,27 @@ Example:
18
18
set the resizable of this stack to false
19
19
20
20
Value (bool):The <resizable> of a <stack> is true or false.
21
-
By default, the <resizable> <property> of newly created <stacks> is set to true.
21
+
By default, the <resizable> <property> of newly created <stacks> is set
22
+
to true.
22
23
23
24
Value:
24
-
The <resizable> <property> <control|controls> only whether the user can change the <stack|stack's> size. Even if the <resizable> is false, you can use the <rectangle> <property> (and related <properties>) to change the <stack|stack's> size in a <handler>.
25
+
The <resizable> <property> <control|controls> only whether the user can
26
+
change the <stack|stack's> size. Even if the <resizable> is false, you
27
+
can use the <rectangle> <property> (and related <properties>) to change
28
+
the <stack|stack's> size in a <handler>.
25
29
26
-
If the stack's style is "modal", or if is has been opened with the <modal> <command>, the setting of the <resizable> <property> has no effect, and the <stack window> cannot be resized.
30
+
If the stack's style is "modal", or if is has been opened with the
31
+
<modal> <command>, the setting of the <resizable> <property> has no
32
+
effect, and the <stack window> cannot be resized.
27
33
28
34
Description:
29
-
Use the <resizable> <property> to control whether the user can change a window's size.
Copy file name to clipboardExpand all lines: docs/notes/platforms.md
+4-9Lines changed: 4 additions & 9 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -21,23 +21,18 @@ LiveCode supports Linux installations which meet the following requirements:
21
21
22
22
* Supported CPU architectures:
23
23
* 32-bit or 64-bit Intel/AMD or compatible processor
24
-
* 32-bit ARMv6 with hardware floating-point (e.g. RaspberryPi)
25
24
26
-
* Common requirements for GUI functionality:
25
+
* Required dependencies for core functionality:
26
+
* glibc 2.13 or later
27
+
28
+
* Optional requirements for GUI functionality:
27
29
* GTK/GDK/Glib 2.24 or later
28
30
* Pango with Xft support
29
31
* esd (optional, needed for audio output)
30
32
* mplayer (optional, needed for media player functionality)
31
33
* lcms (optional, required for color profile support in images)
32
34
* gksu (optional, required for privilege elevation support)
33
35
34
-
* Requirements for 32-bit Intel/AMD:
35
-
* glibc 2.11 or later
36
-
* Requirements for 64-bit Intel/AMD:
37
-
* glibc 2.13 or later
38
-
* Requirements for ARMv6:
39
-
* glibc 2.7 or later
40
-
41
36
**Note:** If the optional requirements are not present then LiveCode will still run but the specified features will be disabled.
42
37
43
38
**Note:** The requirements for GUI functionality are also required by Firefox and Chrome, so if your Linux distribution runs one of those, it will run LiveCode.
0 commit comments