@girs/meta-8 4.2.0 → 4.4.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +8 -8
- package/meta-8.d.ts +206 -0
- package/package.json +24 -24
package/meta-8.d.ts
CHANGED
|
@@ -2503,6 +2503,7 @@ export namespace Meta {
|
|
|
2503
2503
|
* instance.
|
|
2504
2504
|
* @param cancellable optional {@link Gio.Cancellable} object, `null` to ignore.
|
|
2505
2505
|
* @returns `true` if successful. If an error has occurred, this function will return `false` and set `error` appropriately if present.
|
|
2506
|
+
* @since 2.22
|
|
2506
2507
|
*/
|
|
2507
2508
|
init(cancellable: Gio.Cancellable | null): boolean;
|
|
2508
2509
|
|
|
@@ -2546,6 +2547,7 @@ export namespace Meta {
|
|
|
2546
2547
|
* on the result of `g_object_new()`, regardless of whether it is in fact a new
|
|
2547
2548
|
* instance.
|
|
2548
2549
|
* @param cancellable optional {@link Gio.Cancellable} object, `null` to ignore.
|
|
2550
|
+
* @since 2.22
|
|
2549
2551
|
* @virtual
|
|
2550
2552
|
*/
|
|
2551
2553
|
vfunc_init(cancellable: Gio.Cancellable | null): boolean;
|
|
@@ -2798,6 +2800,7 @@ export namespace Meta {
|
|
|
2798
2800
|
* Finds the {@link GObject.ParamSpec} for `property_name`
|
|
2799
2801
|
* @param property_name the name of the animatable property to find
|
|
2800
2802
|
* @returns The {@link GObject.ParamSpec} for the given property or `null`
|
|
2803
|
+
* @since 1.4
|
|
2801
2804
|
*/
|
|
2802
2805
|
find_property(property_name: string): GObject.ParamSpec;
|
|
2803
2806
|
|
|
@@ -2811,6 +2814,7 @@ export namespace Meta {
|
|
|
2811
2814
|
* Retrieves the current state of `property_name` and sets `value` with it
|
|
2812
2815
|
* @param property_name the name of the animatable property to retrieve
|
|
2813
2816
|
* @param value a {@link GObject.Value} initialized to the type of the property to retrieve
|
|
2817
|
+
* @since 1.4
|
|
2814
2818
|
*/
|
|
2815
2819
|
get_initial_state(property_name: string, value: GObject.Value | any): void;
|
|
2816
2820
|
|
|
@@ -2828,6 +2832,7 @@ export namespace Meta {
|
|
|
2828
2832
|
* @param interval a {@link Clutter.Interval} with the animation range
|
|
2829
2833
|
* @param progress the progress to use to interpolate between the initial and final values of the `interval`
|
|
2830
2834
|
* @returns `true` if the interpolation was successful, and `false` otherwise
|
|
2835
|
+
* @since 1.8
|
|
2831
2836
|
*/
|
|
2832
2837
|
interpolate_value(property_name: string, interval: Clutter.Interval, progress: number): [boolean, unknown];
|
|
2833
2838
|
|
|
@@ -2835,12 +2840,14 @@ export namespace Meta {
|
|
|
2835
2840
|
* Sets the current state of `property_name` to `value`
|
|
2836
2841
|
* @param property_name the name of the animatable property to set
|
|
2837
2842
|
* @param value the value of the animatable property to set
|
|
2843
|
+
* @since 1.4
|
|
2838
2844
|
*/
|
|
2839
2845
|
set_final_state(property_name: string, value: GObject.Value | any): void;
|
|
2840
2846
|
|
|
2841
2847
|
/**
|
|
2842
2848
|
* Finds the {@link GObject.ParamSpec} for `property_name`
|
|
2843
2849
|
* @param property_name the name of the animatable property to find
|
|
2850
|
+
* @since 1.4
|
|
2844
2851
|
* @virtual
|
|
2845
2852
|
*/
|
|
2846
2853
|
vfunc_find_property(property_name: string): GObject.ParamSpec;
|
|
@@ -2855,6 +2862,7 @@ export namespace Meta {
|
|
|
2855
2862
|
* Retrieves the current state of `property_name` and sets `value` with it
|
|
2856
2863
|
* @param property_name the name of the animatable property to retrieve
|
|
2857
2864
|
* @param value a {@link GObject.Value} initialized to the type of the property to retrieve
|
|
2865
|
+
* @since 1.4
|
|
2858
2866
|
* @virtual
|
|
2859
2867
|
*/
|
|
2860
2868
|
vfunc_get_initial_state(property_name: string, value: unknown): void;
|
|
@@ -2872,6 +2880,7 @@ export namespace Meta {
|
|
|
2872
2880
|
* @param property_name the name of the property to interpolate
|
|
2873
2881
|
* @param interval a {@link Clutter.Interval} with the animation range
|
|
2874
2882
|
* @param progress the progress to use to interpolate between the initial and final values of the `interval`
|
|
2883
|
+
* @since 1.8
|
|
2875
2884
|
* @virtual
|
|
2876
2885
|
*/
|
|
2877
2886
|
vfunc_interpolate_value(property_name: string, interval: Clutter.Interval, progress: number): [boolean, GObject.Value | any];
|
|
@@ -2880,6 +2889,7 @@ export namespace Meta {
|
|
|
2880
2889
|
* Sets the current state of `property_name` to `value`
|
|
2881
2890
|
* @param property_name the name of the animatable property to set
|
|
2882
2891
|
* @param value the value of the animatable property to set
|
|
2892
|
+
* @since 1.4
|
|
2883
2893
|
* @virtual
|
|
2884
2894
|
*/
|
|
2885
2895
|
vfunc_set_final_state(property_name: string, value: unknown): void;
|
|
@@ -2894,6 +2904,8 @@ export namespace Meta {
|
|
|
2894
2904
|
* deprecated virtual function. The default implementation will
|
|
2895
2905
|
* call `clutter_actor_add_child()`.
|
|
2896
2906
|
* @param actor the first {@link Clutter.Actor} to add
|
|
2907
|
+
* @since 0.4
|
|
2908
|
+
* @deprecated since 1.10: Use `clutter_actor_add_child()` instead.
|
|
2897
2909
|
*/
|
|
2898
2910
|
add_actor(actor: Clutter.Actor): void;
|
|
2899
2911
|
|
|
@@ -2908,6 +2920,7 @@ export namespace Meta {
|
|
|
2908
2920
|
* @param child a {@link Clutter.Actor} that is a child of `container`.
|
|
2909
2921
|
* @param property the name of the property to set.
|
|
2910
2922
|
* @param value the value.
|
|
2923
|
+
* @since 0.8
|
|
2911
2924
|
*/
|
|
2912
2925
|
child_get_property(child: Clutter.Actor, property: string, value: GObject.Value | any): void;
|
|
2913
2926
|
|
|
@@ -2917,6 +2930,7 @@ export namespace Meta {
|
|
|
2917
2930
|
* {@link Clutter.Container.SignalSignatures.child_notify | Clutter.Container::child-notify} signal.
|
|
2918
2931
|
* @param child a {@link Clutter.Actor}
|
|
2919
2932
|
* @param pspec a {@link GObject.ParamSpec}
|
|
2933
|
+
* @since 1.6
|
|
2920
2934
|
*/
|
|
2921
2935
|
child_notify(child: Clutter.Actor, pspec: GObject.ParamSpec): void;
|
|
2922
2936
|
|
|
@@ -2925,6 +2939,7 @@ export namespace Meta {
|
|
|
2925
2939
|
* @param child a {@link Clutter.Actor} that is a child of `container`.
|
|
2926
2940
|
* @param property the name of the property to set.
|
|
2927
2941
|
* @param value the value.
|
|
2942
|
+
* @since 0.8
|
|
2928
2943
|
*/
|
|
2929
2944
|
child_set_property(child: Clutter.Actor, property: string, value: GObject.Value | any): void;
|
|
2930
2945
|
|
|
@@ -2939,6 +2954,7 @@ export namespace Meta {
|
|
|
2939
2954
|
*
|
|
2940
2955
|
* Applications should not call this function.
|
|
2941
2956
|
* @param actor a {@link Clutter.Actor}
|
|
2957
|
+
* @since 1.2
|
|
2942
2958
|
*/
|
|
2943
2959
|
create_child_meta(actor: Clutter.Actor): void;
|
|
2944
2960
|
|
|
@@ -2952,6 +2968,7 @@ export namespace Meta {
|
|
|
2952
2968
|
*
|
|
2953
2969
|
* Applications should not call this function.
|
|
2954
2970
|
* @param actor a {@link Clutter.Actor}
|
|
2971
|
+
* @since 1.2
|
|
2955
2972
|
*/
|
|
2956
2973
|
destroy_child_meta(actor: Clutter.Actor): void;
|
|
2957
2974
|
|
|
@@ -2960,6 +2977,7 @@ export namespace Meta {
|
|
|
2960
2977
|
* into any child container.
|
|
2961
2978
|
* @param child_name the name of the requested child.
|
|
2962
2979
|
* @returns The child actor with the requested name, or `null` if no actor with that name was found.
|
|
2980
|
+
* @since 0.6
|
|
2963
2981
|
*/
|
|
2964
2982
|
find_child_by_name(child_name: string): Clutter.Actor;
|
|
2965
2983
|
|
|
@@ -2968,12 +2986,15 @@ export namespace Meta {
|
|
|
2968
2986
|
* `container` specific state for `actor`.
|
|
2969
2987
|
* @param actor a {@link Clutter.Actor} that is a child of `container`.
|
|
2970
2988
|
* @returns the {@link Clutter.ChildMeta} for the `actor` child of `container` or `null` if the specifiec actor does not exist or the container is not configured to provide {@link Clutter.ChildMeta}<!-- -->s
|
|
2989
|
+
* @since 0.8
|
|
2971
2990
|
*/
|
|
2972
2991
|
get_child_meta(actor: Clutter.Actor): Clutter.ChildMeta;
|
|
2973
2992
|
|
|
2974
2993
|
/**
|
|
2975
2994
|
* Retrieves all the children of `container`.
|
|
2976
2995
|
* @returns a list of {@link Clutter.Actor}<!-- -->s. Use `g_list_free()` on the returned list when done.
|
|
2996
|
+
* @since 0.4
|
|
2997
|
+
* @deprecated since 1.10: Use `clutter_actor_get_children()` instead.
|
|
2977
2998
|
*/
|
|
2978
2999
|
get_children(): Clutter.Actor[];
|
|
2979
3000
|
|
|
@@ -2985,6 +3006,8 @@ export namespace Meta {
|
|
|
2985
3006
|
* `clutter_actor_set_child_below_sibling()`.
|
|
2986
3007
|
* @param actor the actor to raise
|
|
2987
3008
|
* @param sibling the sibling to lower to, or `null` to lower to the bottom
|
|
3009
|
+
* @since 0.6
|
|
3010
|
+
* @deprecated since 1.10: Use `clutter_actor_set_child_below_sibling()` instead.
|
|
2988
3011
|
*/
|
|
2989
3012
|
lower_child(actor: Clutter.Actor, sibling: Clutter.Actor | null): void;
|
|
2990
3013
|
|
|
@@ -2996,6 +3019,8 @@ export namespace Meta {
|
|
|
2996
3019
|
* `clutter_actor_set_child_above_sibling()`.
|
|
2997
3020
|
* @param actor the actor to raise
|
|
2998
3021
|
* @param sibling the sibling to raise to, or `null` to raise to the top
|
|
3022
|
+
* @since 0.6
|
|
3023
|
+
* @deprecated since 1.10: Use `clutter_actor_set_child_above_sibling()` instead.
|
|
2999
3024
|
*/
|
|
3000
3025
|
raise_child(actor: Clutter.Actor, sibling: Clutter.Actor | null): void;
|
|
3001
3026
|
|
|
@@ -3009,12 +3034,16 @@ export namespace Meta {
|
|
|
3009
3034
|
* deprecated virtual function. The default implementation will call
|
|
3010
3035
|
* `clutter_actor_remove_child()`.
|
|
3011
3036
|
* @param actor a {@link Clutter.Actor}
|
|
3037
|
+
* @since 0.4
|
|
3038
|
+
* @deprecated since 1.10: Use `clutter_actor_remove_child()` instead.
|
|
3012
3039
|
*/
|
|
3013
3040
|
remove_actor(actor: Clutter.Actor): void;
|
|
3014
3041
|
|
|
3015
3042
|
/**
|
|
3016
3043
|
* Sorts a container's children using their depth. This function should not
|
|
3017
3044
|
* be normally used by applications.
|
|
3045
|
+
* @since 0.6
|
|
3046
|
+
* @deprecated since 1.10: The {@link Clutter.ContainerIface}.sort_depth_order() virtual function should not be used any more; the default implementation in {@link Clutter.Container} does not do anything.
|
|
3018
3047
|
*/
|
|
3019
3048
|
sort_depth_order(): void;
|
|
3020
3049
|
|
|
@@ -3040,6 +3069,8 @@ export namespace Meta {
|
|
|
3040
3069
|
* deprecated virtual function. The default implementation will
|
|
3041
3070
|
* call `clutter_actor_add_child()`.
|
|
3042
3071
|
* @param actor the first {@link Clutter.Actor} to add
|
|
3072
|
+
* @since 0.4
|
|
3073
|
+
* @deprecated since 1.10: Use `clutter_actor_add_child()` instead.
|
|
3043
3074
|
* @virtual
|
|
3044
3075
|
*/
|
|
3045
3076
|
vfunc_add(actor: Clutter.Actor): void;
|
|
@@ -3050,6 +3081,7 @@ export namespace Meta {
|
|
|
3050
3081
|
* {@link Clutter.Container.SignalSignatures.child_notify | Clutter.Container::child-notify} signal.
|
|
3051
3082
|
* @param child a {@link Clutter.Actor}
|
|
3052
3083
|
* @param pspec a {@link GObject.ParamSpec}
|
|
3084
|
+
* @since 1.6
|
|
3053
3085
|
* @virtual
|
|
3054
3086
|
*/
|
|
3055
3087
|
vfunc_child_notify(child: Clutter.Actor, pspec: GObject.ParamSpec): void;
|
|
@@ -3065,6 +3097,7 @@ export namespace Meta {
|
|
|
3065
3097
|
*
|
|
3066
3098
|
* Applications should not call this function.
|
|
3067
3099
|
* @param actor a {@link Clutter.Actor}
|
|
3100
|
+
* @since 1.2
|
|
3068
3101
|
* @virtual
|
|
3069
3102
|
*/
|
|
3070
3103
|
vfunc_create_child_meta(actor: Clutter.Actor): void;
|
|
@@ -3079,6 +3112,7 @@ export namespace Meta {
|
|
|
3079
3112
|
*
|
|
3080
3113
|
* Applications should not call this function.
|
|
3081
3114
|
* @param actor a {@link Clutter.Actor}
|
|
3115
|
+
* @since 1.2
|
|
3082
3116
|
* @virtual
|
|
3083
3117
|
*/
|
|
3084
3118
|
vfunc_destroy_child_meta(actor: Clutter.Actor): void;
|
|
@@ -3087,6 +3121,7 @@ export namespace Meta {
|
|
|
3087
3121
|
* Retrieves the {@link Clutter.ChildMeta} which contains the data about the
|
|
3088
3122
|
* `container` specific state for `actor`.
|
|
3089
3123
|
* @param actor a {@link Clutter.Actor} that is a child of `container`.
|
|
3124
|
+
* @since 0.8
|
|
3090
3125
|
* @virtual
|
|
3091
3126
|
*/
|
|
3092
3127
|
vfunc_get_child_meta(actor: Clutter.Actor): Clutter.ChildMeta;
|
|
@@ -3099,6 +3134,8 @@ export namespace Meta {
|
|
|
3099
3134
|
* `clutter_actor_set_child_below_sibling()`.
|
|
3100
3135
|
* @param actor the actor to raise
|
|
3101
3136
|
* @param sibling the sibling to lower to, or `null` to lower to the bottom
|
|
3137
|
+
* @since 0.6
|
|
3138
|
+
* @deprecated since 1.10: Use `clutter_actor_set_child_below_sibling()` instead.
|
|
3102
3139
|
* @virtual
|
|
3103
3140
|
*/
|
|
3104
3141
|
vfunc_lower(actor: Clutter.Actor, sibling: Clutter.Actor | null): void;
|
|
@@ -3111,6 +3148,8 @@ export namespace Meta {
|
|
|
3111
3148
|
* `clutter_actor_set_child_above_sibling()`.
|
|
3112
3149
|
* @param actor the actor to raise
|
|
3113
3150
|
* @param sibling the sibling to raise to, or `null` to raise to the top
|
|
3151
|
+
* @since 0.6
|
|
3152
|
+
* @deprecated since 1.10: Use `clutter_actor_set_child_above_sibling()` instead.
|
|
3114
3153
|
* @virtual
|
|
3115
3154
|
*/
|
|
3116
3155
|
vfunc_raise(actor: Clutter.Actor, sibling: Clutter.Actor | null): void;
|
|
@@ -3125,6 +3164,8 @@ export namespace Meta {
|
|
|
3125
3164
|
* deprecated virtual function. The default implementation will call
|
|
3126
3165
|
* `clutter_actor_remove_child()`.
|
|
3127
3166
|
* @param actor a {@link Clutter.Actor}
|
|
3167
|
+
* @since 0.4
|
|
3168
|
+
* @deprecated since 1.10: Use `clutter_actor_remove_child()` instead.
|
|
3128
3169
|
* @virtual
|
|
3129
3170
|
*/
|
|
3130
3171
|
vfunc_remove(actor: Clutter.Actor): void;
|
|
@@ -3132,6 +3173,8 @@ export namespace Meta {
|
|
|
3132
3173
|
/**
|
|
3133
3174
|
* Sorts a container's children using their depth. This function should not
|
|
3134
3175
|
* be normally used by applications.
|
|
3176
|
+
* @since 0.6
|
|
3177
|
+
* @deprecated since 1.10: The {@link Clutter.ContainerIface}.sort_depth_order() virtual function should not be used any more; the default implementation in {@link Clutter.Container} does not do anything.
|
|
3135
3178
|
* @virtual
|
|
3136
3179
|
*/
|
|
3137
3180
|
vfunc_sort_depth_order(): void;
|
|
@@ -3139,6 +3182,7 @@ export namespace Meta {
|
|
|
3139
3182
|
/**
|
|
3140
3183
|
* Retrieves the id of `scriptable` set using `clutter_scriptable_set_id()`.
|
|
3141
3184
|
* @returns the id of the object. The returned string is owned by the scriptable object and should never be modified of freed
|
|
3185
|
+
* @since 0.6
|
|
3142
3186
|
*/
|
|
3143
3187
|
get_id(): string;
|
|
3144
3188
|
|
|
@@ -3150,6 +3194,7 @@ export namespace Meta {
|
|
|
3150
3194
|
* @param name the name of the node
|
|
3151
3195
|
* @param node the JSON node to be parsed
|
|
3152
3196
|
* @returns `true` if the node was successfully parsed, `false` otherwise.
|
|
3197
|
+
* @since 0.6
|
|
3153
3198
|
*/
|
|
3154
3199
|
parse_custom_node(script: Clutter.Script, value: GObject.Value | any, name: string, node: Json.Node): boolean;
|
|
3155
3200
|
|
|
@@ -3159,6 +3204,7 @@ export namespace Meta {
|
|
|
3159
3204
|
* @param script the {@link Clutter.Script} creating the scriptable instance
|
|
3160
3205
|
* @param name the name of the property
|
|
3161
3206
|
* @param value the value of the property
|
|
3207
|
+
* @since 0.6
|
|
3162
3208
|
*/
|
|
3163
3209
|
set_custom_property(script: Clutter.Script, name: string, value: GObject.Value | any): void;
|
|
3164
3210
|
|
|
@@ -3170,11 +3216,13 @@ export namespace Meta {
|
|
|
3170
3216
|
* define a unique name for an object constructable using the UI
|
|
3171
3217
|
* definition language parsed by {@link Clutter.Script}.
|
|
3172
3218
|
* @param id_ the {@link Clutter.Script} id of the object
|
|
3219
|
+
* @since 0.6
|
|
3173
3220
|
*/
|
|
3174
3221
|
set_id(id_: string): void;
|
|
3175
3222
|
|
|
3176
3223
|
/**
|
|
3177
3224
|
* Retrieves the id of `scriptable` set using `clutter_scriptable_set_id()`.
|
|
3225
|
+
* @since 0.6
|
|
3178
3226
|
* @virtual
|
|
3179
3227
|
*/
|
|
3180
3228
|
vfunc_get_id(): string;
|
|
@@ -3186,6 +3234,7 @@ export namespace Meta {
|
|
|
3186
3234
|
* @param value the generic value to be set
|
|
3187
3235
|
* @param name the name of the node
|
|
3188
3236
|
* @param node the JSON node to be parsed
|
|
3237
|
+
* @since 0.6
|
|
3189
3238
|
* @virtual
|
|
3190
3239
|
*/
|
|
3191
3240
|
vfunc_parse_custom_node(script: Clutter.Script, value: unknown, name: string, node: Json.Node): boolean;
|
|
@@ -3196,6 +3245,7 @@ export namespace Meta {
|
|
|
3196
3245
|
* @param script the {@link Clutter.Script} creating the scriptable instance
|
|
3197
3246
|
* @param name the name of the property
|
|
3198
3247
|
* @param value the value of the property
|
|
3248
|
+
* @since 0.6
|
|
3199
3249
|
* @virtual
|
|
3200
3250
|
*/
|
|
3201
3251
|
vfunc_set_custom_property(script: Clutter.Script, name: string, value: unknown): void;
|
|
@@ -3208,6 +3258,7 @@ export namespace Meta {
|
|
|
3208
3258
|
* define a unique name for an object constructable using the UI
|
|
3209
3259
|
* definition language parsed by {@link Clutter.Script}.
|
|
3210
3260
|
* @param id_ the {@link Clutter.Script} id of the object
|
|
3261
|
+
* @since 0.6
|
|
3211
3262
|
* @virtual
|
|
3212
3263
|
*/
|
|
3213
3264
|
vfunc_set_id(id_: string): void;
|
|
@@ -3386,6 +3437,7 @@ export namespace Meta {
|
|
|
3386
3437
|
* would have regardless of the allocation of the actor that is painting it,
|
|
3387
3438
|
* for instance the size of an image data.
|
|
3388
3439
|
* @returns `true` if the content has a preferred size, and `false` otherwise
|
|
3440
|
+
* @since 1.10
|
|
3389
3441
|
*/
|
|
3390
3442
|
get_preferred_size(): [boolean, number, number];
|
|
3391
3443
|
|
|
@@ -3395,6 +3447,7 @@ export namespace Meta {
|
|
|
3395
3447
|
* This function should be called by {@link Clutter.Content} implementations when
|
|
3396
3448
|
* they change the way a the content should be painted regardless of the
|
|
3397
3449
|
* actor state.
|
|
3450
|
+
* @since 1.10
|
|
3398
3451
|
*/
|
|
3399
3452
|
invalidate(): void;
|
|
3400
3453
|
|
|
@@ -3425,6 +3478,7 @@ export namespace Meta {
|
|
|
3425
3478
|
* The natural size of a {@link Clutter.Content} is defined as the size the content
|
|
3426
3479
|
* would have regardless of the allocation of the actor that is painting it,
|
|
3427
3480
|
* for instance the size of an image data.
|
|
3481
|
+
* @since 1.10
|
|
3428
3482
|
* @virtual
|
|
3429
3483
|
*/
|
|
3430
3484
|
vfunc_get_preferred_size(): [boolean, number, number];
|
|
@@ -3435,6 +3489,7 @@ export namespace Meta {
|
|
|
3435
3489
|
* This function should be called by {@link Clutter.Content} implementations when
|
|
3436
3490
|
* they change the way a the content should be painted regardless of the
|
|
3437
3491
|
* actor state.
|
|
3492
|
+
* @since 1.10
|
|
3438
3493
|
* @virtual
|
|
3439
3494
|
*/
|
|
3440
3495
|
vfunc_invalidate(): void;
|
|
@@ -3577,6 +3632,7 @@ export namespace Meta {
|
|
|
3577
3632
|
* Finds the {@link GObject.ParamSpec} for `property_name`
|
|
3578
3633
|
* @param property_name the name of the animatable property to find
|
|
3579
3634
|
* @returns The {@link GObject.ParamSpec} for the given property or `null`
|
|
3635
|
+
* @since 1.4
|
|
3580
3636
|
*/
|
|
3581
3637
|
find_property(property_name: string): GObject.ParamSpec;
|
|
3582
3638
|
|
|
@@ -3590,6 +3646,7 @@ export namespace Meta {
|
|
|
3590
3646
|
* Retrieves the current state of `property_name` and sets `value` with it
|
|
3591
3647
|
* @param property_name the name of the animatable property to retrieve
|
|
3592
3648
|
* @param value a {@link GObject.Value} initialized to the type of the property to retrieve
|
|
3649
|
+
* @since 1.4
|
|
3593
3650
|
*/
|
|
3594
3651
|
get_initial_state(property_name: string, value: GObject.Value | any): void;
|
|
3595
3652
|
|
|
@@ -3607,6 +3664,7 @@ export namespace Meta {
|
|
|
3607
3664
|
* @param interval a {@link Clutter.Interval} with the animation range
|
|
3608
3665
|
* @param progress the progress to use to interpolate between the initial and final values of the `interval`
|
|
3609
3666
|
* @returns `true` if the interpolation was successful, and `false` otherwise
|
|
3667
|
+
* @since 1.8
|
|
3610
3668
|
*/
|
|
3611
3669
|
interpolate_value(property_name: string, interval: Clutter.Interval, progress: number): [boolean, unknown];
|
|
3612
3670
|
|
|
@@ -3614,12 +3672,14 @@ export namespace Meta {
|
|
|
3614
3672
|
* Sets the current state of `property_name` to `value`
|
|
3615
3673
|
* @param property_name the name of the animatable property to set
|
|
3616
3674
|
* @param value the value of the animatable property to set
|
|
3675
|
+
* @since 1.4
|
|
3617
3676
|
*/
|
|
3618
3677
|
set_final_state(property_name: string, value: GObject.Value | any): void;
|
|
3619
3678
|
|
|
3620
3679
|
/**
|
|
3621
3680
|
* Finds the {@link GObject.ParamSpec} for `property_name`
|
|
3622
3681
|
* @param property_name the name of the animatable property to find
|
|
3682
|
+
* @since 1.4
|
|
3623
3683
|
* @virtual
|
|
3624
3684
|
*/
|
|
3625
3685
|
vfunc_find_property(property_name: string): GObject.ParamSpec;
|
|
@@ -3634,6 +3694,7 @@ export namespace Meta {
|
|
|
3634
3694
|
* Retrieves the current state of `property_name` and sets `value` with it
|
|
3635
3695
|
* @param property_name the name of the animatable property to retrieve
|
|
3636
3696
|
* @param value a {@link GObject.Value} initialized to the type of the property to retrieve
|
|
3697
|
+
* @since 1.4
|
|
3637
3698
|
* @virtual
|
|
3638
3699
|
*/
|
|
3639
3700
|
vfunc_get_initial_state(property_name: string, value: unknown): void;
|
|
@@ -3651,6 +3712,7 @@ export namespace Meta {
|
|
|
3651
3712
|
* @param property_name the name of the property to interpolate
|
|
3652
3713
|
* @param interval a {@link Clutter.Interval} with the animation range
|
|
3653
3714
|
* @param progress the progress to use to interpolate between the initial and final values of the `interval`
|
|
3715
|
+
* @since 1.8
|
|
3654
3716
|
* @virtual
|
|
3655
3717
|
*/
|
|
3656
3718
|
vfunc_interpolate_value(property_name: string, interval: Clutter.Interval, progress: number): [boolean, GObject.Value | any];
|
|
@@ -3659,6 +3721,7 @@ export namespace Meta {
|
|
|
3659
3721
|
* Sets the current state of `property_name` to `value`
|
|
3660
3722
|
* @param property_name the name of the animatable property to set
|
|
3661
3723
|
* @param value the value of the animatable property to set
|
|
3724
|
+
* @since 1.4
|
|
3662
3725
|
* @virtual
|
|
3663
3726
|
*/
|
|
3664
3727
|
vfunc_set_final_state(property_name: string, value: unknown): void;
|
|
@@ -3673,6 +3736,8 @@ export namespace Meta {
|
|
|
3673
3736
|
* deprecated virtual function. The default implementation will
|
|
3674
3737
|
* call `clutter_actor_add_child()`.
|
|
3675
3738
|
* @param actor the first {@link Clutter.Actor} to add
|
|
3739
|
+
* @since 0.4
|
|
3740
|
+
* @deprecated since 1.10: Use `clutter_actor_add_child()` instead.
|
|
3676
3741
|
*/
|
|
3677
3742
|
add_actor(actor: Clutter.Actor): void;
|
|
3678
3743
|
|
|
@@ -3687,6 +3752,7 @@ export namespace Meta {
|
|
|
3687
3752
|
* @param child a {@link Clutter.Actor} that is a child of `container`.
|
|
3688
3753
|
* @param property the name of the property to set.
|
|
3689
3754
|
* @param value the value.
|
|
3755
|
+
* @since 0.8
|
|
3690
3756
|
*/
|
|
3691
3757
|
child_get_property(child: Clutter.Actor, property: string, value: GObject.Value | any): void;
|
|
3692
3758
|
|
|
@@ -3696,6 +3762,7 @@ export namespace Meta {
|
|
|
3696
3762
|
* {@link Clutter.Container.SignalSignatures.child_notify | Clutter.Container::child-notify} signal.
|
|
3697
3763
|
* @param child a {@link Clutter.Actor}
|
|
3698
3764
|
* @param pspec a {@link GObject.ParamSpec}
|
|
3765
|
+
* @since 1.6
|
|
3699
3766
|
*/
|
|
3700
3767
|
child_notify(child: Clutter.Actor, pspec: GObject.ParamSpec): void;
|
|
3701
3768
|
|
|
@@ -3704,6 +3771,7 @@ export namespace Meta {
|
|
|
3704
3771
|
* @param child a {@link Clutter.Actor} that is a child of `container`.
|
|
3705
3772
|
* @param property the name of the property to set.
|
|
3706
3773
|
* @param value the value.
|
|
3774
|
+
* @since 0.8
|
|
3707
3775
|
*/
|
|
3708
3776
|
child_set_property(child: Clutter.Actor, property: string, value: GObject.Value | any): void;
|
|
3709
3777
|
|
|
@@ -3718,6 +3786,7 @@ export namespace Meta {
|
|
|
3718
3786
|
*
|
|
3719
3787
|
* Applications should not call this function.
|
|
3720
3788
|
* @param actor a {@link Clutter.Actor}
|
|
3789
|
+
* @since 1.2
|
|
3721
3790
|
*/
|
|
3722
3791
|
create_child_meta(actor: Clutter.Actor): void;
|
|
3723
3792
|
|
|
@@ -3731,6 +3800,7 @@ export namespace Meta {
|
|
|
3731
3800
|
*
|
|
3732
3801
|
* Applications should not call this function.
|
|
3733
3802
|
* @param actor a {@link Clutter.Actor}
|
|
3803
|
+
* @since 1.2
|
|
3734
3804
|
*/
|
|
3735
3805
|
destroy_child_meta(actor: Clutter.Actor): void;
|
|
3736
3806
|
|
|
@@ -3739,6 +3809,7 @@ export namespace Meta {
|
|
|
3739
3809
|
* into any child container.
|
|
3740
3810
|
* @param child_name the name of the requested child.
|
|
3741
3811
|
* @returns The child actor with the requested name, or `null` if no actor with that name was found.
|
|
3812
|
+
* @since 0.6
|
|
3742
3813
|
*/
|
|
3743
3814
|
find_child_by_name(child_name: string): Clutter.Actor;
|
|
3744
3815
|
|
|
@@ -3747,12 +3818,15 @@ export namespace Meta {
|
|
|
3747
3818
|
* `container` specific state for `actor`.
|
|
3748
3819
|
* @param actor a {@link Clutter.Actor} that is a child of `container`.
|
|
3749
3820
|
* @returns the {@link Clutter.ChildMeta} for the `actor` child of `container` or `null` if the specifiec actor does not exist or the container is not configured to provide {@link Clutter.ChildMeta}<!-- -->s
|
|
3821
|
+
* @since 0.8
|
|
3750
3822
|
*/
|
|
3751
3823
|
get_child_meta(actor: Clutter.Actor): Clutter.ChildMeta;
|
|
3752
3824
|
|
|
3753
3825
|
/**
|
|
3754
3826
|
* Retrieves all the children of `container`.
|
|
3755
3827
|
* @returns a list of {@link Clutter.Actor}<!-- -->s. Use `g_list_free()` on the returned list when done.
|
|
3828
|
+
* @since 0.4
|
|
3829
|
+
* @deprecated since 1.10: Use `clutter_actor_get_children()` instead.
|
|
3756
3830
|
*/
|
|
3757
3831
|
get_children(): Clutter.Actor[];
|
|
3758
3832
|
|
|
@@ -3764,6 +3838,8 @@ export namespace Meta {
|
|
|
3764
3838
|
* `clutter_actor_set_child_below_sibling()`.
|
|
3765
3839
|
* @param actor the actor to raise
|
|
3766
3840
|
* @param sibling the sibling to lower to, or `null` to lower to the bottom
|
|
3841
|
+
* @since 0.6
|
|
3842
|
+
* @deprecated since 1.10: Use `clutter_actor_set_child_below_sibling()` instead.
|
|
3767
3843
|
*/
|
|
3768
3844
|
lower_child(actor: Clutter.Actor, sibling: Clutter.Actor | null): void;
|
|
3769
3845
|
|
|
@@ -3775,6 +3851,8 @@ export namespace Meta {
|
|
|
3775
3851
|
* `clutter_actor_set_child_above_sibling()`.
|
|
3776
3852
|
* @param actor the actor to raise
|
|
3777
3853
|
* @param sibling the sibling to raise to, or `null` to raise to the top
|
|
3854
|
+
* @since 0.6
|
|
3855
|
+
* @deprecated since 1.10: Use `clutter_actor_set_child_above_sibling()` instead.
|
|
3778
3856
|
*/
|
|
3779
3857
|
raise_child(actor: Clutter.Actor, sibling: Clutter.Actor | null): void;
|
|
3780
3858
|
|
|
@@ -3788,12 +3866,16 @@ export namespace Meta {
|
|
|
3788
3866
|
* deprecated virtual function. The default implementation will call
|
|
3789
3867
|
* `clutter_actor_remove_child()`.
|
|
3790
3868
|
* @param actor a {@link Clutter.Actor}
|
|
3869
|
+
* @since 0.4
|
|
3870
|
+
* @deprecated since 1.10: Use `clutter_actor_remove_child()` instead.
|
|
3791
3871
|
*/
|
|
3792
3872
|
remove_actor(actor: Clutter.Actor): void;
|
|
3793
3873
|
|
|
3794
3874
|
/**
|
|
3795
3875
|
* Sorts a container's children using their depth. This function should not
|
|
3796
3876
|
* be normally used by applications.
|
|
3877
|
+
* @since 0.6
|
|
3878
|
+
* @deprecated since 1.10: The {@link Clutter.ContainerIface}.sort_depth_order() virtual function should not be used any more; the default implementation in {@link Clutter.Container} does not do anything.
|
|
3797
3879
|
*/
|
|
3798
3880
|
sort_depth_order(): void;
|
|
3799
3881
|
|
|
@@ -3819,6 +3901,8 @@ export namespace Meta {
|
|
|
3819
3901
|
* deprecated virtual function. The default implementation will
|
|
3820
3902
|
* call `clutter_actor_add_child()`.
|
|
3821
3903
|
* @param actor the first {@link Clutter.Actor} to add
|
|
3904
|
+
* @since 0.4
|
|
3905
|
+
* @deprecated since 1.10: Use `clutter_actor_add_child()` instead.
|
|
3822
3906
|
* @virtual
|
|
3823
3907
|
*/
|
|
3824
3908
|
vfunc_add(actor: Clutter.Actor): void;
|
|
@@ -3829,6 +3913,7 @@ export namespace Meta {
|
|
|
3829
3913
|
* {@link Clutter.Container.SignalSignatures.child_notify | Clutter.Container::child-notify} signal.
|
|
3830
3914
|
* @param child a {@link Clutter.Actor}
|
|
3831
3915
|
* @param pspec a {@link GObject.ParamSpec}
|
|
3916
|
+
* @since 1.6
|
|
3832
3917
|
* @virtual
|
|
3833
3918
|
*/
|
|
3834
3919
|
vfunc_child_notify(child: Clutter.Actor, pspec: GObject.ParamSpec): void;
|
|
@@ -3844,6 +3929,7 @@ export namespace Meta {
|
|
|
3844
3929
|
*
|
|
3845
3930
|
* Applications should not call this function.
|
|
3846
3931
|
* @param actor a {@link Clutter.Actor}
|
|
3932
|
+
* @since 1.2
|
|
3847
3933
|
* @virtual
|
|
3848
3934
|
*/
|
|
3849
3935
|
vfunc_create_child_meta(actor: Clutter.Actor): void;
|
|
@@ -3858,6 +3944,7 @@ export namespace Meta {
|
|
|
3858
3944
|
*
|
|
3859
3945
|
* Applications should not call this function.
|
|
3860
3946
|
* @param actor a {@link Clutter.Actor}
|
|
3947
|
+
* @since 1.2
|
|
3861
3948
|
* @virtual
|
|
3862
3949
|
*/
|
|
3863
3950
|
vfunc_destroy_child_meta(actor: Clutter.Actor): void;
|
|
@@ -3866,6 +3953,7 @@ export namespace Meta {
|
|
|
3866
3953
|
* Retrieves the {@link Clutter.ChildMeta} which contains the data about the
|
|
3867
3954
|
* `container` specific state for `actor`.
|
|
3868
3955
|
* @param actor a {@link Clutter.Actor} that is a child of `container`.
|
|
3956
|
+
* @since 0.8
|
|
3869
3957
|
* @virtual
|
|
3870
3958
|
*/
|
|
3871
3959
|
vfunc_get_child_meta(actor: Clutter.Actor): Clutter.ChildMeta;
|
|
@@ -3878,6 +3966,8 @@ export namespace Meta {
|
|
|
3878
3966
|
* `clutter_actor_set_child_below_sibling()`.
|
|
3879
3967
|
* @param actor the actor to raise
|
|
3880
3968
|
* @param sibling the sibling to lower to, or `null` to lower to the bottom
|
|
3969
|
+
* @since 0.6
|
|
3970
|
+
* @deprecated since 1.10: Use `clutter_actor_set_child_below_sibling()` instead.
|
|
3881
3971
|
* @virtual
|
|
3882
3972
|
*/
|
|
3883
3973
|
vfunc_lower(actor: Clutter.Actor, sibling: Clutter.Actor | null): void;
|
|
@@ -3890,6 +3980,8 @@ export namespace Meta {
|
|
|
3890
3980
|
* `clutter_actor_set_child_above_sibling()`.
|
|
3891
3981
|
* @param actor the actor to raise
|
|
3892
3982
|
* @param sibling the sibling to raise to, or `null` to raise to the top
|
|
3983
|
+
* @since 0.6
|
|
3984
|
+
* @deprecated since 1.10: Use `clutter_actor_set_child_above_sibling()` instead.
|
|
3893
3985
|
* @virtual
|
|
3894
3986
|
*/
|
|
3895
3987
|
vfunc_raise(actor: Clutter.Actor, sibling: Clutter.Actor | null): void;
|
|
@@ -3904,6 +3996,8 @@ export namespace Meta {
|
|
|
3904
3996
|
* deprecated virtual function. The default implementation will call
|
|
3905
3997
|
* `clutter_actor_remove_child()`.
|
|
3906
3998
|
* @param actor a {@link Clutter.Actor}
|
|
3999
|
+
* @since 0.4
|
|
4000
|
+
* @deprecated since 1.10: Use `clutter_actor_remove_child()` instead.
|
|
3907
4001
|
* @virtual
|
|
3908
4002
|
*/
|
|
3909
4003
|
vfunc_remove(actor: Clutter.Actor): void;
|
|
@@ -3911,6 +4005,8 @@ export namespace Meta {
|
|
|
3911
4005
|
/**
|
|
3912
4006
|
* Sorts a container's children using their depth. This function should not
|
|
3913
4007
|
* be normally used by applications.
|
|
4008
|
+
* @since 0.6
|
|
4009
|
+
* @deprecated since 1.10: The {@link Clutter.ContainerIface}.sort_depth_order() virtual function should not be used any more; the default implementation in {@link Clutter.Container} does not do anything.
|
|
3914
4010
|
* @virtual
|
|
3915
4011
|
*/
|
|
3916
4012
|
vfunc_sort_depth_order(): void;
|
|
@@ -3918,6 +4014,7 @@ export namespace Meta {
|
|
|
3918
4014
|
/**
|
|
3919
4015
|
* Retrieves the id of `scriptable` set using `clutter_scriptable_set_id()`.
|
|
3920
4016
|
* @returns the id of the object. The returned string is owned by the scriptable object and should never be modified of freed
|
|
4017
|
+
* @since 0.6
|
|
3921
4018
|
*/
|
|
3922
4019
|
get_id(): string;
|
|
3923
4020
|
|
|
@@ -3929,6 +4026,7 @@ export namespace Meta {
|
|
|
3929
4026
|
* @param name the name of the node
|
|
3930
4027
|
* @param node the JSON node to be parsed
|
|
3931
4028
|
* @returns `true` if the node was successfully parsed, `false` otherwise.
|
|
4029
|
+
* @since 0.6
|
|
3932
4030
|
*/
|
|
3933
4031
|
parse_custom_node(script: Clutter.Script, value: GObject.Value | any, name: string, node: Json.Node): boolean;
|
|
3934
4032
|
|
|
@@ -3938,6 +4036,7 @@ export namespace Meta {
|
|
|
3938
4036
|
* @param script the {@link Clutter.Script} creating the scriptable instance
|
|
3939
4037
|
* @param name the name of the property
|
|
3940
4038
|
* @param value the value of the property
|
|
4039
|
+
* @since 0.6
|
|
3941
4040
|
*/
|
|
3942
4041
|
set_custom_property(script: Clutter.Script, name: string, value: GObject.Value | any): void;
|
|
3943
4042
|
|
|
@@ -3949,11 +4048,13 @@ export namespace Meta {
|
|
|
3949
4048
|
* define a unique name for an object constructable using the UI
|
|
3950
4049
|
* definition language parsed by {@link Clutter.Script}.
|
|
3951
4050
|
* @param id_ the {@link Clutter.Script} id of the object
|
|
4051
|
+
* @since 0.6
|
|
3952
4052
|
*/
|
|
3953
4053
|
set_id(id_: string): void;
|
|
3954
4054
|
|
|
3955
4055
|
/**
|
|
3956
4056
|
* Retrieves the id of `scriptable` set using `clutter_scriptable_set_id()`.
|
|
4057
|
+
* @since 0.6
|
|
3957
4058
|
* @virtual
|
|
3958
4059
|
*/
|
|
3959
4060
|
vfunc_get_id(): string;
|
|
@@ -3965,6 +4066,7 @@ export namespace Meta {
|
|
|
3965
4066
|
* @param value the generic value to be set
|
|
3966
4067
|
* @param name the name of the node
|
|
3967
4068
|
* @param node the JSON node to be parsed
|
|
4069
|
+
* @since 0.6
|
|
3968
4070
|
* @virtual
|
|
3969
4071
|
*/
|
|
3970
4072
|
vfunc_parse_custom_node(script: Clutter.Script, value: unknown, name: string, node: Json.Node): boolean;
|
|
@@ -3975,6 +4077,7 @@ export namespace Meta {
|
|
|
3975
4077
|
* @param script the {@link Clutter.Script} creating the scriptable instance
|
|
3976
4078
|
* @param name the name of the property
|
|
3977
4079
|
* @param value the value of the property
|
|
4080
|
+
* @since 0.6
|
|
3978
4081
|
* @virtual
|
|
3979
4082
|
*/
|
|
3980
4083
|
vfunc_set_custom_property(script: Clutter.Script, name: string, value: unknown): void;
|
|
@@ -3987,6 +4090,7 @@ export namespace Meta {
|
|
|
3987
4090
|
* define a unique name for an object constructable using the UI
|
|
3988
4091
|
* definition language parsed by {@link Clutter.Script}.
|
|
3989
4092
|
* @param id_ the {@link Clutter.Script} id of the object
|
|
4093
|
+
* @since 0.6
|
|
3990
4094
|
* @virtual
|
|
3991
4095
|
*/
|
|
3992
4096
|
vfunc_set_id(id_: string): void;
|
|
@@ -6079,6 +6183,7 @@ export namespace Meta {
|
|
|
6079
6183
|
* would have regardless of the allocation of the actor that is painting it,
|
|
6080
6184
|
* for instance the size of an image data.
|
|
6081
6185
|
* @returns `true` if the content has a preferred size, and `false` otherwise
|
|
6186
|
+
* @since 1.10
|
|
6082
6187
|
*/
|
|
6083
6188
|
get_preferred_size(): [boolean, number, number];
|
|
6084
6189
|
|
|
@@ -6088,6 +6193,7 @@ export namespace Meta {
|
|
|
6088
6193
|
* This function should be called by {@link Clutter.Content} implementations when
|
|
6089
6194
|
* they change the way a the content should be painted regardless of the
|
|
6090
6195
|
* actor state.
|
|
6196
|
+
* @since 1.10
|
|
6091
6197
|
*/
|
|
6092
6198
|
invalidate(): void;
|
|
6093
6199
|
|
|
@@ -6118,6 +6224,7 @@ export namespace Meta {
|
|
|
6118
6224
|
* The natural size of a {@link Clutter.Content} is defined as the size the content
|
|
6119
6225
|
* would have regardless of the allocation of the actor that is painting it,
|
|
6120
6226
|
* for instance the size of an image data.
|
|
6227
|
+
* @since 1.10
|
|
6121
6228
|
* @virtual
|
|
6122
6229
|
*/
|
|
6123
6230
|
vfunc_get_preferred_size(): [boolean, number, number];
|
|
@@ -6128,6 +6235,7 @@ export namespace Meta {
|
|
|
6128
6235
|
* This function should be called by {@link Clutter.Content} implementations when
|
|
6129
6236
|
* they change the way a the content should be painted regardless of the
|
|
6130
6237
|
* actor state.
|
|
6238
|
+
* @since 1.10
|
|
6131
6239
|
* @virtual
|
|
6132
6240
|
*/
|
|
6133
6241
|
vfunc_invalidate(): void;
|
|
@@ -7711,6 +7819,7 @@ export namespace Meta {
|
|
|
7711
7819
|
* Finds the {@link GObject.ParamSpec} for `property_name`
|
|
7712
7820
|
* @param property_name the name of the animatable property to find
|
|
7713
7821
|
* @returns The {@link GObject.ParamSpec} for the given property or `null`
|
|
7822
|
+
* @since 1.4
|
|
7714
7823
|
*/
|
|
7715
7824
|
find_property(property_name: string): GObject.ParamSpec;
|
|
7716
7825
|
|
|
@@ -7724,6 +7833,7 @@ export namespace Meta {
|
|
|
7724
7833
|
* Retrieves the current state of `property_name` and sets `value` with it
|
|
7725
7834
|
* @param property_name the name of the animatable property to retrieve
|
|
7726
7835
|
* @param value a {@link GObject.Value} initialized to the type of the property to retrieve
|
|
7836
|
+
* @since 1.4
|
|
7727
7837
|
*/
|
|
7728
7838
|
get_initial_state(property_name: string, value: GObject.Value | any): void;
|
|
7729
7839
|
|
|
@@ -7741,6 +7851,7 @@ export namespace Meta {
|
|
|
7741
7851
|
* @param interval a {@link Clutter.Interval} with the animation range
|
|
7742
7852
|
* @param progress the progress to use to interpolate between the initial and final values of the `interval`
|
|
7743
7853
|
* @returns `true` if the interpolation was successful, and `false` otherwise
|
|
7854
|
+
* @since 1.8
|
|
7744
7855
|
*/
|
|
7745
7856
|
interpolate_value(property_name: string, interval: Clutter.Interval, progress: number): [boolean, unknown];
|
|
7746
7857
|
|
|
@@ -7748,12 +7859,14 @@ export namespace Meta {
|
|
|
7748
7859
|
* Sets the current state of `property_name` to `value`
|
|
7749
7860
|
* @param property_name the name of the animatable property to set
|
|
7750
7861
|
* @param value the value of the animatable property to set
|
|
7862
|
+
* @since 1.4
|
|
7751
7863
|
*/
|
|
7752
7864
|
set_final_state(property_name: string, value: GObject.Value | any): void;
|
|
7753
7865
|
|
|
7754
7866
|
/**
|
|
7755
7867
|
* Finds the {@link GObject.ParamSpec} for `property_name`
|
|
7756
7868
|
* @param property_name the name of the animatable property to find
|
|
7869
|
+
* @since 1.4
|
|
7757
7870
|
* @virtual
|
|
7758
7871
|
*/
|
|
7759
7872
|
vfunc_find_property(property_name: string): GObject.ParamSpec;
|
|
@@ -7768,6 +7881,7 @@ export namespace Meta {
|
|
|
7768
7881
|
* Retrieves the current state of `property_name` and sets `value` with it
|
|
7769
7882
|
* @param property_name the name of the animatable property to retrieve
|
|
7770
7883
|
* @param value a {@link GObject.Value} initialized to the type of the property to retrieve
|
|
7884
|
+
* @since 1.4
|
|
7771
7885
|
* @virtual
|
|
7772
7886
|
*/
|
|
7773
7887
|
vfunc_get_initial_state(property_name: string, value: unknown): void;
|
|
@@ -7785,6 +7899,7 @@ export namespace Meta {
|
|
|
7785
7899
|
* @param property_name the name of the property to interpolate
|
|
7786
7900
|
* @param interval a {@link Clutter.Interval} with the animation range
|
|
7787
7901
|
* @param progress the progress to use to interpolate between the initial and final values of the `interval`
|
|
7902
|
+
* @since 1.8
|
|
7788
7903
|
* @virtual
|
|
7789
7904
|
*/
|
|
7790
7905
|
vfunc_interpolate_value(property_name: string, interval: Clutter.Interval, progress: number): [boolean, GObject.Value | any];
|
|
@@ -7793,6 +7908,7 @@ export namespace Meta {
|
|
|
7793
7908
|
* Sets the current state of `property_name` to `value`
|
|
7794
7909
|
* @param property_name the name of the animatable property to set
|
|
7795
7910
|
* @param value the value of the animatable property to set
|
|
7911
|
+
* @since 1.4
|
|
7796
7912
|
* @virtual
|
|
7797
7913
|
*/
|
|
7798
7914
|
vfunc_set_final_state(property_name: string, value: unknown): void;
|
|
@@ -7807,6 +7923,8 @@ export namespace Meta {
|
|
|
7807
7923
|
* deprecated virtual function. The default implementation will
|
|
7808
7924
|
* call `clutter_actor_add_child()`.
|
|
7809
7925
|
* @param actor the first {@link Clutter.Actor} to add
|
|
7926
|
+
* @since 0.4
|
|
7927
|
+
* @deprecated since 1.10: Use `clutter_actor_add_child()` instead.
|
|
7810
7928
|
*/
|
|
7811
7929
|
add_actor(actor: Clutter.Actor): void;
|
|
7812
7930
|
|
|
@@ -7821,6 +7939,7 @@ export namespace Meta {
|
|
|
7821
7939
|
* @param child a {@link Clutter.Actor} that is a child of `container`.
|
|
7822
7940
|
* @param property the name of the property to set.
|
|
7823
7941
|
* @param value the value.
|
|
7942
|
+
* @since 0.8
|
|
7824
7943
|
*/
|
|
7825
7944
|
child_get_property(child: Clutter.Actor, property: string, value: GObject.Value | any): void;
|
|
7826
7945
|
|
|
@@ -7830,6 +7949,7 @@ export namespace Meta {
|
|
|
7830
7949
|
* {@link Clutter.Container.SignalSignatures.child_notify | Clutter.Container::child-notify} signal.
|
|
7831
7950
|
* @param child a {@link Clutter.Actor}
|
|
7832
7951
|
* @param pspec a {@link GObject.ParamSpec}
|
|
7952
|
+
* @since 1.6
|
|
7833
7953
|
*/
|
|
7834
7954
|
child_notify(child: Clutter.Actor, pspec: GObject.ParamSpec): void;
|
|
7835
7955
|
|
|
@@ -7838,6 +7958,7 @@ export namespace Meta {
|
|
|
7838
7958
|
* @param child a {@link Clutter.Actor} that is a child of `container`.
|
|
7839
7959
|
* @param property the name of the property to set.
|
|
7840
7960
|
* @param value the value.
|
|
7961
|
+
* @since 0.8
|
|
7841
7962
|
*/
|
|
7842
7963
|
child_set_property(child: Clutter.Actor, property: string, value: GObject.Value | any): void;
|
|
7843
7964
|
|
|
@@ -7852,6 +7973,7 @@ export namespace Meta {
|
|
|
7852
7973
|
*
|
|
7853
7974
|
* Applications should not call this function.
|
|
7854
7975
|
* @param actor a {@link Clutter.Actor}
|
|
7976
|
+
* @since 1.2
|
|
7855
7977
|
*/
|
|
7856
7978
|
create_child_meta(actor: Clutter.Actor): void;
|
|
7857
7979
|
|
|
@@ -7865,6 +7987,7 @@ export namespace Meta {
|
|
|
7865
7987
|
*
|
|
7866
7988
|
* Applications should not call this function.
|
|
7867
7989
|
* @param actor a {@link Clutter.Actor}
|
|
7990
|
+
* @since 1.2
|
|
7868
7991
|
*/
|
|
7869
7992
|
destroy_child_meta(actor: Clutter.Actor): void;
|
|
7870
7993
|
|
|
@@ -7873,6 +7996,7 @@ export namespace Meta {
|
|
|
7873
7996
|
* into any child container.
|
|
7874
7997
|
* @param child_name the name of the requested child.
|
|
7875
7998
|
* @returns The child actor with the requested name, or `null` if no actor with that name was found.
|
|
7999
|
+
* @since 0.6
|
|
7876
8000
|
*/
|
|
7877
8001
|
find_child_by_name(child_name: string): Clutter.Actor;
|
|
7878
8002
|
|
|
@@ -7881,12 +8005,15 @@ export namespace Meta {
|
|
|
7881
8005
|
* `container` specific state for `actor`.
|
|
7882
8006
|
* @param actor a {@link Clutter.Actor} that is a child of `container`.
|
|
7883
8007
|
* @returns the {@link Clutter.ChildMeta} for the `actor` child of `container` or `null` if the specifiec actor does not exist or the container is not configured to provide {@link Clutter.ChildMeta}<!-- -->s
|
|
8008
|
+
* @since 0.8
|
|
7884
8009
|
*/
|
|
7885
8010
|
get_child_meta(actor: Clutter.Actor): Clutter.ChildMeta;
|
|
7886
8011
|
|
|
7887
8012
|
/**
|
|
7888
8013
|
* Retrieves all the children of `container`.
|
|
7889
8014
|
* @returns a list of {@link Clutter.Actor}<!-- -->s. Use `g_list_free()` on the returned list when done.
|
|
8015
|
+
* @since 0.4
|
|
8016
|
+
* @deprecated since 1.10: Use `clutter_actor_get_children()` instead.
|
|
7890
8017
|
*/
|
|
7891
8018
|
get_children(): Clutter.Actor[];
|
|
7892
8019
|
|
|
@@ -7898,6 +8025,8 @@ export namespace Meta {
|
|
|
7898
8025
|
* `clutter_actor_set_child_below_sibling()`.
|
|
7899
8026
|
* @param actor the actor to raise
|
|
7900
8027
|
* @param sibling the sibling to lower to, or `null` to lower to the bottom
|
|
8028
|
+
* @since 0.6
|
|
8029
|
+
* @deprecated since 1.10: Use `clutter_actor_set_child_below_sibling()` instead.
|
|
7901
8030
|
*/
|
|
7902
8031
|
lower_child(actor: Clutter.Actor, sibling: Clutter.Actor | null): void;
|
|
7903
8032
|
|
|
@@ -7909,6 +8038,8 @@ export namespace Meta {
|
|
|
7909
8038
|
* `clutter_actor_set_child_above_sibling()`.
|
|
7910
8039
|
* @param actor the actor to raise
|
|
7911
8040
|
* @param sibling the sibling to raise to, or `null` to raise to the top
|
|
8041
|
+
* @since 0.6
|
|
8042
|
+
* @deprecated since 1.10: Use `clutter_actor_set_child_above_sibling()` instead.
|
|
7912
8043
|
*/
|
|
7913
8044
|
raise_child(actor: Clutter.Actor, sibling: Clutter.Actor | null): void;
|
|
7914
8045
|
|
|
@@ -7922,12 +8053,16 @@ export namespace Meta {
|
|
|
7922
8053
|
* deprecated virtual function. The default implementation will call
|
|
7923
8054
|
* `clutter_actor_remove_child()`.
|
|
7924
8055
|
* @param actor a {@link Clutter.Actor}
|
|
8056
|
+
* @since 0.4
|
|
8057
|
+
* @deprecated since 1.10: Use `clutter_actor_remove_child()` instead.
|
|
7925
8058
|
*/
|
|
7926
8059
|
remove_actor(actor: Clutter.Actor): void;
|
|
7927
8060
|
|
|
7928
8061
|
/**
|
|
7929
8062
|
* Sorts a container's children using their depth. This function should not
|
|
7930
8063
|
* be normally used by applications.
|
|
8064
|
+
* @since 0.6
|
|
8065
|
+
* @deprecated since 1.10: The {@link Clutter.ContainerIface}.sort_depth_order() virtual function should not be used any more; the default implementation in {@link Clutter.Container} does not do anything.
|
|
7931
8066
|
*/
|
|
7932
8067
|
sort_depth_order(): void;
|
|
7933
8068
|
|
|
@@ -7953,6 +8088,8 @@ export namespace Meta {
|
|
|
7953
8088
|
* deprecated virtual function. The default implementation will
|
|
7954
8089
|
* call `clutter_actor_add_child()`.
|
|
7955
8090
|
* @param actor the first {@link Clutter.Actor} to add
|
|
8091
|
+
* @since 0.4
|
|
8092
|
+
* @deprecated since 1.10: Use `clutter_actor_add_child()` instead.
|
|
7956
8093
|
* @virtual
|
|
7957
8094
|
*/
|
|
7958
8095
|
vfunc_add(actor: Clutter.Actor): void;
|
|
@@ -7963,6 +8100,7 @@ export namespace Meta {
|
|
|
7963
8100
|
* {@link Clutter.Container.SignalSignatures.child_notify | Clutter.Container::child-notify} signal.
|
|
7964
8101
|
* @param child a {@link Clutter.Actor}
|
|
7965
8102
|
* @param pspec a {@link GObject.ParamSpec}
|
|
8103
|
+
* @since 1.6
|
|
7966
8104
|
* @virtual
|
|
7967
8105
|
*/
|
|
7968
8106
|
vfunc_child_notify(child: Clutter.Actor, pspec: GObject.ParamSpec): void;
|
|
@@ -7978,6 +8116,7 @@ export namespace Meta {
|
|
|
7978
8116
|
*
|
|
7979
8117
|
* Applications should not call this function.
|
|
7980
8118
|
* @param actor a {@link Clutter.Actor}
|
|
8119
|
+
* @since 1.2
|
|
7981
8120
|
* @virtual
|
|
7982
8121
|
*/
|
|
7983
8122
|
vfunc_create_child_meta(actor: Clutter.Actor): void;
|
|
@@ -7992,6 +8131,7 @@ export namespace Meta {
|
|
|
7992
8131
|
*
|
|
7993
8132
|
* Applications should not call this function.
|
|
7994
8133
|
* @param actor a {@link Clutter.Actor}
|
|
8134
|
+
* @since 1.2
|
|
7995
8135
|
* @virtual
|
|
7996
8136
|
*/
|
|
7997
8137
|
vfunc_destroy_child_meta(actor: Clutter.Actor): void;
|
|
@@ -8000,6 +8140,7 @@ export namespace Meta {
|
|
|
8000
8140
|
* Retrieves the {@link Clutter.ChildMeta} which contains the data about the
|
|
8001
8141
|
* `container` specific state for `actor`.
|
|
8002
8142
|
* @param actor a {@link Clutter.Actor} that is a child of `container`.
|
|
8143
|
+
* @since 0.8
|
|
8003
8144
|
* @virtual
|
|
8004
8145
|
*/
|
|
8005
8146
|
vfunc_get_child_meta(actor: Clutter.Actor): Clutter.ChildMeta;
|
|
@@ -8012,6 +8153,8 @@ export namespace Meta {
|
|
|
8012
8153
|
* `clutter_actor_set_child_below_sibling()`.
|
|
8013
8154
|
* @param actor the actor to raise
|
|
8014
8155
|
* @param sibling the sibling to lower to, or `null` to lower to the bottom
|
|
8156
|
+
* @since 0.6
|
|
8157
|
+
* @deprecated since 1.10: Use `clutter_actor_set_child_below_sibling()` instead.
|
|
8015
8158
|
* @virtual
|
|
8016
8159
|
*/
|
|
8017
8160
|
vfunc_lower(actor: Clutter.Actor, sibling: Clutter.Actor | null): void;
|
|
@@ -8024,6 +8167,8 @@ export namespace Meta {
|
|
|
8024
8167
|
* `clutter_actor_set_child_above_sibling()`.
|
|
8025
8168
|
* @param actor the actor to raise
|
|
8026
8169
|
* @param sibling the sibling to raise to, or `null` to raise to the top
|
|
8170
|
+
* @since 0.6
|
|
8171
|
+
* @deprecated since 1.10: Use `clutter_actor_set_child_above_sibling()` instead.
|
|
8027
8172
|
* @virtual
|
|
8028
8173
|
*/
|
|
8029
8174
|
vfunc_raise(actor: Clutter.Actor, sibling: Clutter.Actor | null): void;
|
|
@@ -8038,6 +8183,8 @@ export namespace Meta {
|
|
|
8038
8183
|
* deprecated virtual function. The default implementation will call
|
|
8039
8184
|
* `clutter_actor_remove_child()`.
|
|
8040
8185
|
* @param actor a {@link Clutter.Actor}
|
|
8186
|
+
* @since 0.4
|
|
8187
|
+
* @deprecated since 1.10: Use `clutter_actor_remove_child()` instead.
|
|
8041
8188
|
* @virtual
|
|
8042
8189
|
*/
|
|
8043
8190
|
vfunc_remove(actor: Clutter.Actor): void;
|
|
@@ -8045,6 +8192,8 @@ export namespace Meta {
|
|
|
8045
8192
|
/**
|
|
8046
8193
|
* Sorts a container's children using their depth. This function should not
|
|
8047
8194
|
* be normally used by applications.
|
|
8195
|
+
* @since 0.6
|
|
8196
|
+
* @deprecated since 1.10: The {@link Clutter.ContainerIface}.sort_depth_order() virtual function should not be used any more; the default implementation in {@link Clutter.Container} does not do anything.
|
|
8048
8197
|
* @virtual
|
|
8049
8198
|
*/
|
|
8050
8199
|
vfunc_sort_depth_order(): void;
|
|
@@ -8052,6 +8201,7 @@ export namespace Meta {
|
|
|
8052
8201
|
/**
|
|
8053
8202
|
* Retrieves the id of `scriptable` set using `clutter_scriptable_set_id()`.
|
|
8054
8203
|
* @returns the id of the object. The returned string is owned by the scriptable object and should never be modified of freed
|
|
8204
|
+
* @since 0.6
|
|
8055
8205
|
*/
|
|
8056
8206
|
get_id(): string;
|
|
8057
8207
|
|
|
@@ -8063,6 +8213,7 @@ export namespace Meta {
|
|
|
8063
8213
|
* @param name the name of the node
|
|
8064
8214
|
* @param node the JSON node to be parsed
|
|
8065
8215
|
* @returns `true` if the node was successfully parsed, `false` otherwise.
|
|
8216
|
+
* @since 0.6
|
|
8066
8217
|
*/
|
|
8067
8218
|
parse_custom_node(script: Clutter.Script, value: GObject.Value | any, name: string, node: Json.Node): boolean;
|
|
8068
8219
|
|
|
@@ -8072,6 +8223,7 @@ export namespace Meta {
|
|
|
8072
8223
|
* @param script the {@link Clutter.Script} creating the scriptable instance
|
|
8073
8224
|
* @param name the name of the property
|
|
8074
8225
|
* @param value the value of the property
|
|
8226
|
+
* @since 0.6
|
|
8075
8227
|
*/
|
|
8076
8228
|
set_custom_property(script: Clutter.Script, name: string, value: GObject.Value | any): void;
|
|
8077
8229
|
|
|
@@ -8083,11 +8235,13 @@ export namespace Meta {
|
|
|
8083
8235
|
* define a unique name for an object constructable using the UI
|
|
8084
8236
|
* definition language parsed by {@link Clutter.Script}.
|
|
8085
8237
|
* @param id_ the {@link Clutter.Script} id of the object
|
|
8238
|
+
* @since 0.6
|
|
8086
8239
|
*/
|
|
8087
8240
|
set_id(id_: string): void;
|
|
8088
8241
|
|
|
8089
8242
|
/**
|
|
8090
8243
|
* Retrieves the id of `scriptable` set using `clutter_scriptable_set_id()`.
|
|
8244
|
+
* @since 0.6
|
|
8091
8245
|
* @virtual
|
|
8092
8246
|
*/
|
|
8093
8247
|
vfunc_get_id(): string;
|
|
@@ -8099,6 +8253,7 @@ export namespace Meta {
|
|
|
8099
8253
|
* @param value the generic value to be set
|
|
8100
8254
|
* @param name the name of the node
|
|
8101
8255
|
* @param node the JSON node to be parsed
|
|
8256
|
+
* @since 0.6
|
|
8102
8257
|
* @virtual
|
|
8103
8258
|
*/
|
|
8104
8259
|
vfunc_parse_custom_node(script: Clutter.Script, value: unknown, name: string, node: Json.Node): boolean;
|
|
@@ -8109,6 +8264,7 @@ export namespace Meta {
|
|
|
8109
8264
|
* @param script the {@link Clutter.Script} creating the scriptable instance
|
|
8110
8265
|
* @param name the name of the property
|
|
8111
8266
|
* @param value the value of the property
|
|
8267
|
+
* @since 0.6
|
|
8112
8268
|
* @virtual
|
|
8113
8269
|
*/
|
|
8114
8270
|
vfunc_set_custom_property(script: Clutter.Script, name: string, value: unknown): void;
|
|
@@ -8121,6 +8277,7 @@ export namespace Meta {
|
|
|
8121
8277
|
* define a unique name for an object constructable using the UI
|
|
8122
8278
|
* definition language parsed by {@link Clutter.Script}.
|
|
8123
8279
|
* @param id_ the {@link Clutter.Script} id of the object
|
|
8280
|
+
* @since 0.6
|
|
8124
8281
|
* @virtual
|
|
8125
8282
|
*/
|
|
8126
8283
|
vfunc_set_id(id_: string): void;
|
|
@@ -8243,6 +8400,7 @@ export namespace Meta {
|
|
|
8243
8400
|
* Finds the {@link GObject.ParamSpec} for `property_name`
|
|
8244
8401
|
* @param property_name the name of the animatable property to find
|
|
8245
8402
|
* @returns The {@link GObject.ParamSpec} for the given property or `null`
|
|
8403
|
+
* @since 1.4
|
|
8246
8404
|
*/
|
|
8247
8405
|
find_property(property_name: string): GObject.ParamSpec;
|
|
8248
8406
|
|
|
@@ -8256,6 +8414,7 @@ export namespace Meta {
|
|
|
8256
8414
|
* Retrieves the current state of `property_name` and sets `value` with it
|
|
8257
8415
|
* @param property_name the name of the animatable property to retrieve
|
|
8258
8416
|
* @param value a {@link GObject.Value} initialized to the type of the property to retrieve
|
|
8417
|
+
* @since 1.4
|
|
8259
8418
|
*/
|
|
8260
8419
|
get_initial_state(property_name: string, value: GObject.Value | any): void;
|
|
8261
8420
|
|
|
@@ -8273,6 +8432,7 @@ export namespace Meta {
|
|
|
8273
8432
|
* @param interval a {@link Clutter.Interval} with the animation range
|
|
8274
8433
|
* @param progress the progress to use to interpolate between the initial and final values of the `interval`
|
|
8275
8434
|
* @returns `true` if the interpolation was successful, and `false` otherwise
|
|
8435
|
+
* @since 1.8
|
|
8276
8436
|
*/
|
|
8277
8437
|
interpolate_value(property_name: string, interval: Clutter.Interval, progress: number): [boolean, unknown];
|
|
8278
8438
|
|
|
@@ -8280,12 +8440,14 @@ export namespace Meta {
|
|
|
8280
8440
|
* Sets the current state of `property_name` to `value`
|
|
8281
8441
|
* @param property_name the name of the animatable property to set
|
|
8282
8442
|
* @param value the value of the animatable property to set
|
|
8443
|
+
* @since 1.4
|
|
8283
8444
|
*/
|
|
8284
8445
|
set_final_state(property_name: string, value: GObject.Value | any): void;
|
|
8285
8446
|
|
|
8286
8447
|
/**
|
|
8287
8448
|
* Finds the {@link GObject.ParamSpec} for `property_name`
|
|
8288
8449
|
* @param property_name the name of the animatable property to find
|
|
8450
|
+
* @since 1.4
|
|
8289
8451
|
* @virtual
|
|
8290
8452
|
*/
|
|
8291
8453
|
vfunc_find_property(property_name: string): GObject.ParamSpec;
|
|
@@ -8300,6 +8462,7 @@ export namespace Meta {
|
|
|
8300
8462
|
* Retrieves the current state of `property_name` and sets `value` with it
|
|
8301
8463
|
* @param property_name the name of the animatable property to retrieve
|
|
8302
8464
|
* @param value a {@link GObject.Value} initialized to the type of the property to retrieve
|
|
8465
|
+
* @since 1.4
|
|
8303
8466
|
* @virtual
|
|
8304
8467
|
*/
|
|
8305
8468
|
vfunc_get_initial_state(property_name: string, value: unknown): void;
|
|
@@ -8317,6 +8480,7 @@ export namespace Meta {
|
|
|
8317
8480
|
* @param property_name the name of the property to interpolate
|
|
8318
8481
|
* @param interval a {@link Clutter.Interval} with the animation range
|
|
8319
8482
|
* @param progress the progress to use to interpolate between the initial and final values of the `interval`
|
|
8483
|
+
* @since 1.8
|
|
8320
8484
|
* @virtual
|
|
8321
8485
|
*/
|
|
8322
8486
|
vfunc_interpolate_value(property_name: string, interval: Clutter.Interval, progress: number): [boolean, GObject.Value | any];
|
|
@@ -8325,6 +8489,7 @@ export namespace Meta {
|
|
|
8325
8489
|
* Sets the current state of `property_name` to `value`
|
|
8326
8490
|
* @param property_name the name of the animatable property to set
|
|
8327
8491
|
* @param value the value of the animatable property to set
|
|
8492
|
+
* @since 1.4
|
|
8328
8493
|
* @virtual
|
|
8329
8494
|
*/
|
|
8330
8495
|
vfunc_set_final_state(property_name: string, value: unknown): void;
|
|
@@ -8339,6 +8504,8 @@ export namespace Meta {
|
|
|
8339
8504
|
* deprecated virtual function. The default implementation will
|
|
8340
8505
|
* call `clutter_actor_add_child()`.
|
|
8341
8506
|
* @param actor the first {@link Clutter.Actor} to add
|
|
8507
|
+
* @since 0.4
|
|
8508
|
+
* @deprecated since 1.10: Use `clutter_actor_add_child()` instead.
|
|
8342
8509
|
*/
|
|
8343
8510
|
add_actor(actor: Clutter.Actor): void;
|
|
8344
8511
|
|
|
@@ -8353,6 +8520,7 @@ export namespace Meta {
|
|
|
8353
8520
|
* @param child a {@link Clutter.Actor} that is a child of `container`.
|
|
8354
8521
|
* @param property the name of the property to set.
|
|
8355
8522
|
* @param value the value.
|
|
8523
|
+
* @since 0.8
|
|
8356
8524
|
*/
|
|
8357
8525
|
child_get_property(child: Clutter.Actor, property: string, value: GObject.Value | any): void;
|
|
8358
8526
|
|
|
@@ -8362,6 +8530,7 @@ export namespace Meta {
|
|
|
8362
8530
|
* {@link Clutter.Container.SignalSignatures.child_notify | Clutter.Container::child-notify} signal.
|
|
8363
8531
|
* @param child a {@link Clutter.Actor}
|
|
8364
8532
|
* @param pspec a {@link GObject.ParamSpec}
|
|
8533
|
+
* @since 1.6
|
|
8365
8534
|
*/
|
|
8366
8535
|
child_notify(child: Clutter.Actor, pspec: GObject.ParamSpec): void;
|
|
8367
8536
|
|
|
@@ -8370,6 +8539,7 @@ export namespace Meta {
|
|
|
8370
8539
|
* @param child a {@link Clutter.Actor} that is a child of `container`.
|
|
8371
8540
|
* @param property the name of the property to set.
|
|
8372
8541
|
* @param value the value.
|
|
8542
|
+
* @since 0.8
|
|
8373
8543
|
*/
|
|
8374
8544
|
child_set_property(child: Clutter.Actor, property: string, value: GObject.Value | any): void;
|
|
8375
8545
|
|
|
@@ -8384,6 +8554,7 @@ export namespace Meta {
|
|
|
8384
8554
|
*
|
|
8385
8555
|
* Applications should not call this function.
|
|
8386
8556
|
* @param actor a {@link Clutter.Actor}
|
|
8557
|
+
* @since 1.2
|
|
8387
8558
|
*/
|
|
8388
8559
|
create_child_meta(actor: Clutter.Actor): void;
|
|
8389
8560
|
|
|
@@ -8397,6 +8568,7 @@ export namespace Meta {
|
|
|
8397
8568
|
*
|
|
8398
8569
|
* Applications should not call this function.
|
|
8399
8570
|
* @param actor a {@link Clutter.Actor}
|
|
8571
|
+
* @since 1.2
|
|
8400
8572
|
*/
|
|
8401
8573
|
destroy_child_meta(actor: Clutter.Actor): void;
|
|
8402
8574
|
|
|
@@ -8405,6 +8577,7 @@ export namespace Meta {
|
|
|
8405
8577
|
* into any child container.
|
|
8406
8578
|
* @param child_name the name of the requested child.
|
|
8407
8579
|
* @returns The child actor with the requested name, or `null` if no actor with that name was found.
|
|
8580
|
+
* @since 0.6
|
|
8408
8581
|
*/
|
|
8409
8582
|
find_child_by_name(child_name: string): Clutter.Actor;
|
|
8410
8583
|
|
|
@@ -8413,12 +8586,15 @@ export namespace Meta {
|
|
|
8413
8586
|
* `container` specific state for `actor`.
|
|
8414
8587
|
* @param actor a {@link Clutter.Actor} that is a child of `container`.
|
|
8415
8588
|
* @returns the {@link Clutter.ChildMeta} for the `actor` child of `container` or `null` if the specifiec actor does not exist or the container is not configured to provide {@link Clutter.ChildMeta}<!-- -->s
|
|
8589
|
+
* @since 0.8
|
|
8416
8590
|
*/
|
|
8417
8591
|
get_child_meta(actor: Clutter.Actor): Clutter.ChildMeta;
|
|
8418
8592
|
|
|
8419
8593
|
/**
|
|
8420
8594
|
* Retrieves all the children of `container`.
|
|
8421
8595
|
* @returns a list of {@link Clutter.Actor}<!-- -->s. Use `g_list_free()` on the returned list when done.
|
|
8596
|
+
* @since 0.4
|
|
8597
|
+
* @deprecated since 1.10: Use `clutter_actor_get_children()` instead.
|
|
8422
8598
|
*/
|
|
8423
8599
|
get_children(): Clutter.Actor[];
|
|
8424
8600
|
|
|
@@ -8430,6 +8606,8 @@ export namespace Meta {
|
|
|
8430
8606
|
* `clutter_actor_set_child_below_sibling()`.
|
|
8431
8607
|
* @param actor the actor to raise
|
|
8432
8608
|
* @param sibling the sibling to lower to, or `null` to lower to the bottom
|
|
8609
|
+
* @since 0.6
|
|
8610
|
+
* @deprecated since 1.10: Use `clutter_actor_set_child_below_sibling()` instead.
|
|
8433
8611
|
*/
|
|
8434
8612
|
lower_child(actor: Clutter.Actor, sibling: Clutter.Actor | null): void;
|
|
8435
8613
|
|
|
@@ -8441,6 +8619,8 @@ export namespace Meta {
|
|
|
8441
8619
|
* `clutter_actor_set_child_above_sibling()`.
|
|
8442
8620
|
* @param actor the actor to raise
|
|
8443
8621
|
* @param sibling the sibling to raise to, or `null` to raise to the top
|
|
8622
|
+
* @since 0.6
|
|
8623
|
+
* @deprecated since 1.10: Use `clutter_actor_set_child_above_sibling()` instead.
|
|
8444
8624
|
*/
|
|
8445
8625
|
raise_child(actor: Clutter.Actor, sibling: Clutter.Actor | null): void;
|
|
8446
8626
|
|
|
@@ -8454,12 +8634,16 @@ export namespace Meta {
|
|
|
8454
8634
|
* deprecated virtual function. The default implementation will call
|
|
8455
8635
|
* `clutter_actor_remove_child()`.
|
|
8456
8636
|
* @param actor a {@link Clutter.Actor}
|
|
8637
|
+
* @since 0.4
|
|
8638
|
+
* @deprecated since 1.10: Use `clutter_actor_remove_child()` instead.
|
|
8457
8639
|
*/
|
|
8458
8640
|
remove_actor(actor: Clutter.Actor): void;
|
|
8459
8641
|
|
|
8460
8642
|
/**
|
|
8461
8643
|
* Sorts a container's children using their depth. This function should not
|
|
8462
8644
|
* be normally used by applications.
|
|
8645
|
+
* @since 0.6
|
|
8646
|
+
* @deprecated since 1.10: The {@link Clutter.ContainerIface}.sort_depth_order() virtual function should not be used any more; the default implementation in {@link Clutter.Container} does not do anything.
|
|
8463
8647
|
*/
|
|
8464
8648
|
sort_depth_order(): void;
|
|
8465
8649
|
|
|
@@ -8485,6 +8669,8 @@ export namespace Meta {
|
|
|
8485
8669
|
* deprecated virtual function. The default implementation will
|
|
8486
8670
|
* call `clutter_actor_add_child()`.
|
|
8487
8671
|
* @param actor the first {@link Clutter.Actor} to add
|
|
8672
|
+
* @since 0.4
|
|
8673
|
+
* @deprecated since 1.10: Use `clutter_actor_add_child()` instead.
|
|
8488
8674
|
* @virtual
|
|
8489
8675
|
*/
|
|
8490
8676
|
vfunc_add(actor: Clutter.Actor): void;
|
|
@@ -8495,6 +8681,7 @@ export namespace Meta {
|
|
|
8495
8681
|
* {@link Clutter.Container.SignalSignatures.child_notify | Clutter.Container::child-notify} signal.
|
|
8496
8682
|
* @param child a {@link Clutter.Actor}
|
|
8497
8683
|
* @param pspec a {@link GObject.ParamSpec}
|
|
8684
|
+
* @since 1.6
|
|
8498
8685
|
* @virtual
|
|
8499
8686
|
*/
|
|
8500
8687
|
vfunc_child_notify(child: Clutter.Actor, pspec: GObject.ParamSpec): void;
|
|
@@ -8510,6 +8697,7 @@ export namespace Meta {
|
|
|
8510
8697
|
*
|
|
8511
8698
|
* Applications should not call this function.
|
|
8512
8699
|
* @param actor a {@link Clutter.Actor}
|
|
8700
|
+
* @since 1.2
|
|
8513
8701
|
* @virtual
|
|
8514
8702
|
*/
|
|
8515
8703
|
vfunc_create_child_meta(actor: Clutter.Actor): void;
|
|
@@ -8524,6 +8712,7 @@ export namespace Meta {
|
|
|
8524
8712
|
*
|
|
8525
8713
|
* Applications should not call this function.
|
|
8526
8714
|
* @param actor a {@link Clutter.Actor}
|
|
8715
|
+
* @since 1.2
|
|
8527
8716
|
* @virtual
|
|
8528
8717
|
*/
|
|
8529
8718
|
vfunc_destroy_child_meta(actor: Clutter.Actor): void;
|
|
@@ -8532,6 +8721,7 @@ export namespace Meta {
|
|
|
8532
8721
|
* Retrieves the {@link Clutter.ChildMeta} which contains the data about the
|
|
8533
8722
|
* `container` specific state for `actor`.
|
|
8534
8723
|
* @param actor a {@link Clutter.Actor} that is a child of `container`.
|
|
8724
|
+
* @since 0.8
|
|
8535
8725
|
* @virtual
|
|
8536
8726
|
*/
|
|
8537
8727
|
vfunc_get_child_meta(actor: Clutter.Actor): Clutter.ChildMeta;
|
|
@@ -8544,6 +8734,8 @@ export namespace Meta {
|
|
|
8544
8734
|
* `clutter_actor_set_child_below_sibling()`.
|
|
8545
8735
|
* @param actor the actor to raise
|
|
8546
8736
|
* @param sibling the sibling to lower to, or `null` to lower to the bottom
|
|
8737
|
+
* @since 0.6
|
|
8738
|
+
* @deprecated since 1.10: Use `clutter_actor_set_child_below_sibling()` instead.
|
|
8547
8739
|
* @virtual
|
|
8548
8740
|
*/
|
|
8549
8741
|
vfunc_lower(actor: Clutter.Actor, sibling: Clutter.Actor | null): void;
|
|
@@ -8556,6 +8748,8 @@ export namespace Meta {
|
|
|
8556
8748
|
* `clutter_actor_set_child_above_sibling()`.
|
|
8557
8749
|
* @param actor the actor to raise
|
|
8558
8750
|
* @param sibling the sibling to raise to, or `null` to raise to the top
|
|
8751
|
+
* @since 0.6
|
|
8752
|
+
* @deprecated since 1.10: Use `clutter_actor_set_child_above_sibling()` instead.
|
|
8559
8753
|
* @virtual
|
|
8560
8754
|
*/
|
|
8561
8755
|
vfunc_raise(actor: Clutter.Actor, sibling: Clutter.Actor | null): void;
|
|
@@ -8570,6 +8764,8 @@ export namespace Meta {
|
|
|
8570
8764
|
* deprecated virtual function. The default implementation will call
|
|
8571
8765
|
* `clutter_actor_remove_child()`.
|
|
8572
8766
|
* @param actor a {@link Clutter.Actor}
|
|
8767
|
+
* @since 0.4
|
|
8768
|
+
* @deprecated since 1.10: Use `clutter_actor_remove_child()` instead.
|
|
8573
8769
|
* @virtual
|
|
8574
8770
|
*/
|
|
8575
8771
|
vfunc_remove(actor: Clutter.Actor): void;
|
|
@@ -8577,6 +8773,8 @@ export namespace Meta {
|
|
|
8577
8773
|
/**
|
|
8578
8774
|
* Sorts a container's children using their depth. This function should not
|
|
8579
8775
|
* be normally used by applications.
|
|
8776
|
+
* @since 0.6
|
|
8777
|
+
* @deprecated since 1.10: The {@link Clutter.ContainerIface}.sort_depth_order() virtual function should not be used any more; the default implementation in {@link Clutter.Container} does not do anything.
|
|
8580
8778
|
* @virtual
|
|
8581
8779
|
*/
|
|
8582
8780
|
vfunc_sort_depth_order(): void;
|
|
@@ -8584,6 +8782,7 @@ export namespace Meta {
|
|
|
8584
8782
|
/**
|
|
8585
8783
|
* Retrieves the id of `scriptable` set using `clutter_scriptable_set_id()`.
|
|
8586
8784
|
* @returns the id of the object. The returned string is owned by the scriptable object and should never be modified of freed
|
|
8785
|
+
* @since 0.6
|
|
8587
8786
|
*/
|
|
8588
8787
|
get_id(): string;
|
|
8589
8788
|
|
|
@@ -8595,6 +8794,7 @@ export namespace Meta {
|
|
|
8595
8794
|
* @param name the name of the node
|
|
8596
8795
|
* @param node the JSON node to be parsed
|
|
8597
8796
|
* @returns `true` if the node was successfully parsed, `false` otherwise.
|
|
8797
|
+
* @since 0.6
|
|
8598
8798
|
*/
|
|
8599
8799
|
parse_custom_node(script: Clutter.Script, value: GObject.Value | any, name: string, node: Json.Node): boolean;
|
|
8600
8800
|
|
|
@@ -8604,6 +8804,7 @@ export namespace Meta {
|
|
|
8604
8804
|
* @param script the {@link Clutter.Script} creating the scriptable instance
|
|
8605
8805
|
* @param name the name of the property
|
|
8606
8806
|
* @param value the value of the property
|
|
8807
|
+
* @since 0.6
|
|
8607
8808
|
*/
|
|
8608
8809
|
set_custom_property(script: Clutter.Script, name: string, value: GObject.Value | any): void;
|
|
8609
8810
|
|
|
@@ -8615,11 +8816,13 @@ export namespace Meta {
|
|
|
8615
8816
|
* define a unique name for an object constructable using the UI
|
|
8616
8817
|
* definition language parsed by {@link Clutter.Script}.
|
|
8617
8818
|
* @param id_ the {@link Clutter.Script} id of the object
|
|
8819
|
+
* @since 0.6
|
|
8618
8820
|
*/
|
|
8619
8821
|
set_id(id_: string): void;
|
|
8620
8822
|
|
|
8621
8823
|
/**
|
|
8622
8824
|
* Retrieves the id of `scriptable` set using `clutter_scriptable_set_id()`.
|
|
8825
|
+
* @since 0.6
|
|
8623
8826
|
* @virtual
|
|
8624
8827
|
*/
|
|
8625
8828
|
vfunc_get_id(): string;
|
|
@@ -8631,6 +8834,7 @@ export namespace Meta {
|
|
|
8631
8834
|
* @param value the generic value to be set
|
|
8632
8835
|
* @param name the name of the node
|
|
8633
8836
|
* @param node the JSON node to be parsed
|
|
8837
|
+
* @since 0.6
|
|
8634
8838
|
* @virtual
|
|
8635
8839
|
*/
|
|
8636
8840
|
vfunc_parse_custom_node(script: Clutter.Script, value: unknown, name: string, node: Json.Node): boolean;
|
|
@@ -8641,6 +8845,7 @@ export namespace Meta {
|
|
|
8641
8845
|
* @param script the {@link Clutter.Script} creating the scriptable instance
|
|
8642
8846
|
* @param name the name of the property
|
|
8643
8847
|
* @param value the value of the property
|
|
8848
|
+
* @since 0.6
|
|
8644
8849
|
* @virtual
|
|
8645
8850
|
*/
|
|
8646
8851
|
vfunc_set_custom_property(script: Clutter.Script, name: string, value: unknown): void;
|
|
@@ -8653,6 +8858,7 @@ export namespace Meta {
|
|
|
8653
8858
|
* define a unique name for an object constructable using the UI
|
|
8654
8859
|
* definition language parsed by {@link Clutter.Script}.
|
|
8655
8860
|
* @param id_ the {@link Clutter.Script} id of the object
|
|
8861
|
+
* @since 0.6
|
|
8656
8862
|
* @virtual
|
|
8657
8863
|
*/
|
|
8658
8864
|
vfunc_set_id(id_: string): void;
|