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: shared/ScriptUI.d.ts
+15-15Lines changed: 15 additions & 15 deletions
Original file line number
Diff line number
Diff line change
@@ -836,7 +836,7 @@ declare class StaticText extends _Control {
836
836
* An event-handler callback function, called when the window is about to be drawn.
837
837
* Allows the script to modify or control the appearance, using the control’s associated ScriptUIGraphics object. Handler takes one argument, a DrawState object.
838
838
*/
839
-
onDraw(): void
839
+
onDraw(drawState: DrawState): void
840
840
841
841
/**
842
842
* An event-handler callback function, called when the element's shortcutKey sequence is typed in the active window.
@@ -914,7 +914,7 @@ declare class Button extends _Control {
914
914
* An event-handler callback function, called when the window is about to be drawn.
915
915
* Allows the script to modify or control the appearance, using the control’s associated ScriptUIGraphics object. Handler takes one argument, a DrawState object.
916
916
*/
917
-
onDraw(): void
917
+
onDraw(drawState: DrawState): void
918
918
919
919
/**
920
920
* An event-handler callback function, called when the element's shortcutKey sequence is typed in the active window.
@@ -990,7 +990,7 @@ declare class IconButton extends _Control {
990
990
* An event-handler callback function, called when the window is about to be drawn.
991
991
* Allows the script to modify or control the appearance, using the control’s associated ScriptUIGraphics object. Handler takes one argument, a DrawState object.
992
992
*/
993
-
onDraw(): void
993
+
onDraw(drawState: DrawState): void
994
994
995
995
/**
996
996
* An event-handler callback function, called when the element's shortcutKey sequence is typed in the active window.
@@ -1048,7 +1048,7 @@ declare class Image extends _Control {
1048
1048
* An event-handler callback function, called when the window is about to be drawn.
1049
1049
* Allows the script to modify or control the appearance, using the control’s associated ScriptUIGraphics object. Handler takes one argument, a DrawState object.
1050
1050
*/
1051
-
onDraw(): void
1051
+
onDraw(drawState: DrawState): void
1052
1052
1053
1053
/**
1054
1054
* An event-handler callback function, called when the element's shortcutKey sequence is typed in the active window.
@@ -1139,7 +1139,7 @@ declare class EditText extends _Control {
1139
1139
* An event-handler callback function, called when the window is about to be drawn.
1140
1140
* Allows the script to modify or control the appearance, using the control’s associated ScriptUIGraphics object. Handler takes one argument, a DrawState object.
1141
1141
*/
1142
-
onDraw(): void
1142
+
onDraw(drawState: DrawState): void
1143
1143
1144
1144
/**
1145
1145
* An event-handler callback function, called when the element's shortcutKey sequence is typed in the active window.
@@ -1251,7 +1251,7 @@ declare class ListBox extends _Control {
1251
1251
* An event-handler callback function, called when the window is about to be drawn.
1252
1252
* Allows the script to modify or control the appearance, using the control’s associated ScriptUIGraphics object. Handler takes one argument, a DrawState object.
1253
1253
*/
1254
-
onDraw(): void
1254
+
onDraw(drawState: DrawState): void
1255
1255
1256
1256
/**
1257
1257
* An event-handler callback function, called when the element's shortcutKey sequence is typed in the active window.
@@ -1361,7 +1361,7 @@ declare class DropDownList extends _Control {
1361
1361
* An event-handler callback function, called when the window is about to be drawn.
1362
1362
* Allows the script to modify or control the appearance, using the control’s associated ScriptUIGraphics object. Handler takes one argument, a DrawState object.
1363
1363
*/
1364
-
onDraw(): void
1364
+
onDraw(drawState: DrawState): void
1365
1365
1366
1366
/**
1367
1367
* An event-handler callback function, called when the element's shortcutKey sequence is typed in the active window.
@@ -1525,7 +1525,7 @@ declare class Checkbox extends _Control {
1525
1525
* An event-handler callback function, called when the window is about to be drawn.
1526
1526
* Allows the script to modify or control the appearance, using the control’s associated ScriptUIGraphics object. Handler takes one argument, a DrawState object.
1527
1527
*/
1528
-
onDraw(): void
1528
+
onDraw(drawState: DrawState): void
1529
1529
1530
1530
/**
1531
1531
* An event-handler callback function, called when the element's shortcutKey sequence is typed in the active window.
@@ -1623,7 +1623,7 @@ declare class Scrollbar extends _Control {
1623
1623
* An event-handler callback function, called when the window is about to be drawn.
1624
1624
* Allows the script to modify or control the appearance, using the control’s associated ScriptUIGraphics object. Handler takes one argument, a DrawState object.
1625
1625
*/
1626
-
onDraw(): void
1626
+
onDraw(drawState: DrawState): void
1627
1627
1628
1628
/**
1629
1629
* An event-handler callback function, called when the element's shortcutKey sequence is typed in the active window.
@@ -1706,7 +1706,7 @@ declare class RadioButton extends _Control {
1706
1706
* An event-handler callback function, called when the window is about to be drawn.
1707
1707
* Allows the script to modify or control the appearance, using the control’s associated ScriptUIGraphics object. Handler takes one argument, a DrawState object.
1708
1708
*/
1709
-
onDraw(): void
1709
+
onDraw(drawState: DrawState): void
1710
1710
1711
1711
/**
1712
1712
* An event-handler callback function, called when the element's shortcutKey sequence is typed in the active window.
@@ -1792,7 +1792,7 @@ declare class Slider extends _Control {
1792
1792
* An event-handler callback function, called when the window is about to be drawn.
1793
1793
* Allows the script to modify or control the appearance, using the control’s associated ScriptUIGraphics object. Handler takes one argument, a DrawState object.
1794
1794
*/
1795
-
onDraw(): void
1795
+
onDraw(drawState: DrawState): void
1796
1796
1797
1797
/**
1798
1798
* An event-handler callback function, called when the element's shortcutKey sequence is typed in the active window.
@@ -1836,7 +1836,7 @@ declare class Progressbar extends _Control {
1836
1836
* An event-handler callback function, called when the window is about to be drawn.
1837
1837
* Allows the script to modify or control the appearance, using the control’s associated ScriptUIGraphics object. Handler takes one argument, a DrawState object.
1838
1838
*/
1839
-
onDraw(): void
1839
+
onDraw(drawState: DrawState): void
1840
1840
}
1841
1841
1842
1842
/**
@@ -1931,7 +1931,7 @@ declare class TreeView extends _Control {
1931
1931
* An event-handler callback function, called when the window is about to be drawn.
1932
1932
* Allows the script to modify or control the appearance, using the control’s associated ScriptUIGraphics object. Handler takes one argument, a DrawState object.
1933
1933
*/
1934
-
onDraw(): void
1934
+
onDraw(drawState: DrawState): void
1935
1935
1936
1936
/**
1937
1937
* An event-handler callback function, called when the user expands (opens) a collapsed node in the treeview.
@@ -2070,7 +2070,7 @@ declare class Group extends _Control {
2070
2070
* An event-handler callback function, called when the group is about to be drawn.
2071
2071
* Allows the script to modify or control the appearance, using the control’s associated ScriptUIGraphics object. Handler takes one argument, a DrawState object.
2072
2072
*/
2073
-
onDraw(): void
2073
+
onDraw(drawState: DrawState): void
2074
2074
2075
2075
/**
2076
2076
* Removes the specified child control from this group's children array.
@@ -2154,7 +2154,7 @@ declare class Panel extends _Control {
2154
2154
* An event-handler callback function, called when the panel is about to be drawn.
2155
2155
* Allows the script to modify or control the appearance, using the control’s associated ScriptUIGraphics object. Handler takes one argument, a DrawState object.
2156
2156
*/
2157
-
onDraw(): void
2157
+
onDraw(drawState: DrawState): void
2158
2158
2159
2159
/**
2160
2160
* Removes the specified child control from this group's children array.
0 commit comments