@@ -2639,7 +2639,7 @@ declare class _Control {
2639
2639
* @param name A unique name for the control.
2640
2640
*/
2641
2641
interface _AddControlProperties {
2642
- name : string
2642
+ name ? : string
2643
2643
}
2644
2644
2645
2645
/**
@@ -2774,7 +2774,7 @@ interface _AddControl {
2774
2774
type : "button" ,
2775
2775
bounds ?: Bounds | [ number , number , number , number ] ,
2776
2776
text ?: string ,
2777
- properties ?: Partial < _AddControlProperties > ,
2777
+ properties ?: _AddControlProperties ,
2778
2778
) : Button
2779
2779
2780
2780
/**
@@ -2785,57 +2785,73 @@ interface _AddControl {
2785
2785
type : "checkbox" ,
2786
2786
bounds ?: Bounds | [ number , number , number , number ] ,
2787
2787
text ?: string ,
2788
- properties ?: Partial < _AddControlProperties > ,
2788
+ properties ?: _AddControlProperties ,
2789
2789
) : Checkbox
2790
2790
2791
+ /**
2792
+ */
2791
2793
(
2792
2794
type : "dropdownlist" ,
2793
2795
bounds ?: Bounds | [ number , number , number , number ] ,
2794
2796
items ?: string [ ] ,
2795
2797
properties ?: Partial < _AddControlPropertiesDropDownList > ,
2796
2798
) : DropDownList
2797
2799
2800
+ /**
2801
+ */
2798
2802
(
2799
2803
type : "edittext" ,
2800
2804
bounds ?: Bounds | [ number , number , number , number ] ,
2801
2805
text ?: string ,
2802
2806
properties ?: Partial < _AddControlPropertiesEditText > ,
2803
2807
) : EditText
2804
2808
2809
+ /**
2810
+ */
2805
2811
(
2806
2812
type : "flashplayer" ,
2807
2813
bounds ?: Bounds | [ number , number , number , number ] ,
2808
2814
movieToLoad ?: string | File ,
2809
- properties ?: Partial < _AddControlProperties > ,
2815
+ properties ?: _AddControlProperties ,
2810
2816
) : FlashPlayer
2811
2817
2818
+ /**
2819
+ */
2812
2820
(
2813
2821
type : "group" ,
2814
2822
bounds ?: Bounds | [ number , number , number , number ] ,
2815
- properties ?: Partial < _AddControlProperties > ,
2823
+ properties ?: _AddControlProperties ,
2816
2824
) : Group
2817
2825
2826
+ /**
2827
+ */
2818
2828
(
2819
2829
type : "iconbutton" ,
2820
2830
bounds ?: Bounds | [ number , number , number , number ] ,
2821
2831
icon ?: string | File ,
2822
2832
properties ?: Partial < _AddControlPropertiesIconButton > ,
2823
2833
) : IconButton
2824
2834
2835
+ /**
2836
+ */
2825
2837
(
2826
2838
type : "image" ,
2827
2839
bounds ?: Bounds | [ number , number , number , number ] ,
2828
2840
icon ?: string | File ,
2829
- properties ?: Partial < _AddControlProperties > ,
2841
+ properties ?: _AddControlProperties ,
2830
2842
) : Image
2831
2843
2844
+ /**
2845
+ */
2832
2846
(
2833
2847
type : "listbox" ,
2834
2848
bounds ?: Bounds | [ number , number , number , number ] ,
2835
2849
items ?: string [ ] ,
2836
2850
properties ?: Partial < _AddControlPropertiesListBox > ,
2837
2851
) : ListBox
2838
2852
2853
+ /**
2854
+ */
2839
2855
(
2840
2856
type : "panel" ,
2841
2857
bounds ?: Bounds | [ number , number , number , number ] ,
@@ -2852,7 +2868,7 @@ interface _AddControl {
2852
2868
bounds ?: Bounds | [ number , number , number , number ] ,
2853
2869
value ?: number ,
2854
2870
max ?: number ,
2855
- properties ?: Partial < _AddControlProperties > ,
2871
+ properties ?: _AddControlProperties ,
2856
2872
) : Progressbar
2857
2873
2858
2874
/**
@@ -2863,7 +2879,7 @@ interface _AddControl {
2863
2879
type : "radiobutton" ,
2864
2880
bounds ?: Bounds | [ number , number , number , number ] ,
2865
2881
text ?: string ,
2866
- properties ?: Partial < _AddControlProperties > ,
2882
+ properties ?: _AddControlProperties ,
2867
2883
) : RadioButton
2868
2884
2869
2885
/**
@@ -2876,7 +2892,7 @@ interface _AddControl {
2876
2892
value ?: number ,
2877
2893
min ?: number ,
2878
2894
max ?: number ,
2879
- properties ?: Partial < _AddControlProperties > ,
2895
+ properties ?: _AddControlProperties ,
2880
2896
) : Scrollbar
2881
2897
2882
2898
/**
@@ -2889,30 +2905,38 @@ interface _AddControl {
2889
2905
value ?: number ,
2890
2906
min ?: number ,
2891
2907
max ?: number ,
2892
- properties ?: Partial < _AddControlProperties > ,
2908
+ properties ?: _AddControlProperties ,
2893
2909
) : Slider
2894
2910
2911
+ /**
2912
+ */
2895
2913
(
2896
2914
type : "statictext" ,
2897
2915
bounds ?: Bounds | [ number , number , number , number ] ,
2898
2916
text ?: string ,
2899
2917
properties ?: Partial < _AddControlPropertiesStaticText > ,
2900
2918
) : StaticText
2901
2919
2920
+ /**
2921
+ */
2902
2922
(
2903
2923
type : "tab" ,
2904
2924
bounds : Bounds | [ number , number , number , number ] ,
2905
2925
text ?: string [ ] ,
2906
- properties ?: Partial < _AddControlProperties > ,
2926
+ properties ?: _AddControlProperties ,
2907
2927
) : Tab
2908
2928
2929
+ /**
2930
+ */
2909
2931
(
2910
2932
type : "tabbedpanel" ,
2911
2933
bounds ?: Bounds | [ number , number , number , number ] ,
2912
2934
text ?: string ,
2913
- properties ?: Partial < _AddControlProperties > ,
2935
+ properties ?: _AddControlProperties ,
2914
2936
) : TabbedPanel
2915
2937
2938
+ /**
2939
+ */
2916
2940
(
2917
2941
type : "treeview" ,
2918
2942
bounds ?: Bounds | [ number , number , number , number ] ,
0 commit comments