@girs/meta-7 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-7.d.ts +206 -0
- package/package.json +24 -24
package/meta-7.d.ts
CHANGED
|
@@ -2502,6 +2502,7 @@ export namespace Meta {
|
|
|
2502
2502
|
* instance.
|
|
2503
2503
|
* @param cancellable optional {@link Gio.Cancellable} object, `null` to ignore.
|
|
2504
2504
|
* @returns `true` if successful. If an error has occurred, this function will return `false` and set `error` appropriately if present.
|
|
2505
|
+
* @since 2.22
|
|
2505
2506
|
*/
|
|
2506
2507
|
init(cancellable: Gio.Cancellable | null): boolean;
|
|
2507
2508
|
|
|
@@ -2545,6 +2546,7 @@ export namespace Meta {
|
|
|
2545
2546
|
* on the result of `g_object_new()`, regardless of whether it is in fact a new
|
|
2546
2547
|
* instance.
|
|
2547
2548
|
* @param cancellable optional {@link Gio.Cancellable} object, `null` to ignore.
|
|
2549
|
+
* @since 2.22
|
|
2548
2550
|
* @virtual
|
|
2549
2551
|
*/
|
|
2550
2552
|
vfunc_init(cancellable: Gio.Cancellable | null): boolean;
|
|
@@ -2795,6 +2797,7 @@ export namespace Meta {
|
|
|
2795
2797
|
* Finds the {@link GObject.ParamSpec} for `property_name`
|
|
2796
2798
|
* @param property_name the name of the animatable property to find
|
|
2797
2799
|
* @returns The {@link GObject.ParamSpec} for the given property or `null`
|
|
2800
|
+
* @since 1.4
|
|
2798
2801
|
*/
|
|
2799
2802
|
find_property(property_name: string): GObject.ParamSpec;
|
|
2800
2803
|
|
|
@@ -2808,6 +2811,7 @@ export namespace Meta {
|
|
|
2808
2811
|
* Retrieves the current state of `property_name` and sets `value` with it
|
|
2809
2812
|
* @param property_name the name of the animatable property to retrieve
|
|
2810
2813
|
* @param value a {@link GObject.Value} initialized to the type of the property to retrieve
|
|
2814
|
+
* @since 1.4
|
|
2811
2815
|
*/
|
|
2812
2816
|
get_initial_state(property_name: string, value: GObject.Value | any): void;
|
|
2813
2817
|
|
|
@@ -2825,6 +2829,7 @@ export namespace Meta {
|
|
|
2825
2829
|
* @param interval a {@link Clutter.Interval} with the animation range
|
|
2826
2830
|
* @param progress the progress to use to interpolate between the initial and final values of the `interval`
|
|
2827
2831
|
* @returns `true` if the interpolation was successful, and `false` otherwise
|
|
2832
|
+
* @since 1.8
|
|
2828
2833
|
*/
|
|
2829
2834
|
interpolate_value(property_name: string, interval: Clutter.Interval, progress: number): [boolean, unknown];
|
|
2830
2835
|
|
|
@@ -2832,12 +2837,14 @@ export namespace Meta {
|
|
|
2832
2837
|
* Sets the current state of `property_name` to `value`
|
|
2833
2838
|
* @param property_name the name of the animatable property to set
|
|
2834
2839
|
* @param value the value of the animatable property to set
|
|
2840
|
+
* @since 1.4
|
|
2835
2841
|
*/
|
|
2836
2842
|
set_final_state(property_name: string, value: GObject.Value | any): void;
|
|
2837
2843
|
|
|
2838
2844
|
/**
|
|
2839
2845
|
* Finds the {@link GObject.ParamSpec} for `property_name`
|
|
2840
2846
|
* @param property_name the name of the animatable property to find
|
|
2847
|
+
* @since 1.4
|
|
2841
2848
|
* @virtual
|
|
2842
2849
|
*/
|
|
2843
2850
|
vfunc_find_property(property_name: string): GObject.ParamSpec;
|
|
@@ -2852,6 +2859,7 @@ export namespace Meta {
|
|
|
2852
2859
|
* Retrieves the current state of `property_name` and sets `value` with it
|
|
2853
2860
|
* @param property_name the name of the animatable property to retrieve
|
|
2854
2861
|
* @param value a {@link GObject.Value} initialized to the type of the property to retrieve
|
|
2862
|
+
* @since 1.4
|
|
2855
2863
|
* @virtual
|
|
2856
2864
|
*/
|
|
2857
2865
|
vfunc_get_initial_state(property_name: string, value: unknown): void;
|
|
@@ -2869,6 +2877,7 @@ export namespace Meta {
|
|
|
2869
2877
|
* @param property_name the name of the property to interpolate
|
|
2870
2878
|
* @param interval a {@link Clutter.Interval} with the animation range
|
|
2871
2879
|
* @param progress the progress to use to interpolate between the initial and final values of the `interval`
|
|
2880
|
+
* @since 1.8
|
|
2872
2881
|
* @virtual
|
|
2873
2882
|
*/
|
|
2874
2883
|
vfunc_interpolate_value(property_name: string, interval: Clutter.Interval, progress: number): [boolean, GObject.Value | any];
|
|
@@ -2877,6 +2886,7 @@ export namespace Meta {
|
|
|
2877
2886
|
* Sets the current state of `property_name` to `value`
|
|
2878
2887
|
* @param property_name the name of the animatable property to set
|
|
2879
2888
|
* @param value the value of the animatable property to set
|
|
2889
|
+
* @since 1.4
|
|
2880
2890
|
* @virtual
|
|
2881
2891
|
*/
|
|
2882
2892
|
vfunc_set_final_state(property_name: string, value: unknown): void;
|
|
@@ -2891,6 +2901,8 @@ export namespace Meta {
|
|
|
2891
2901
|
* deprecated virtual function. The default implementation will
|
|
2892
2902
|
* call `clutter_actor_add_child()`.
|
|
2893
2903
|
* @param actor the first {@link Clutter.Actor} to add
|
|
2904
|
+
* @since 0.4
|
|
2905
|
+
* @deprecated since 1.10: Use `clutter_actor_add_child()` instead.
|
|
2894
2906
|
*/
|
|
2895
2907
|
add_actor(actor: Clutter.Actor): void;
|
|
2896
2908
|
|
|
@@ -2905,6 +2917,7 @@ export namespace Meta {
|
|
|
2905
2917
|
* @param child a {@link Clutter.Actor} that is a child of `container`.
|
|
2906
2918
|
* @param property the name of the property to set.
|
|
2907
2919
|
* @param value the value.
|
|
2920
|
+
* @since 0.8
|
|
2908
2921
|
*/
|
|
2909
2922
|
child_get_property(child: Clutter.Actor, property: string, value: GObject.Value | any): void;
|
|
2910
2923
|
|
|
@@ -2914,6 +2927,7 @@ export namespace Meta {
|
|
|
2914
2927
|
* {@link Clutter.Container.SignalSignatures.child_notify | Clutter.Container::child-notify} signal.
|
|
2915
2928
|
* @param child a {@link Clutter.Actor}
|
|
2916
2929
|
* @param pspec a {@link GObject.ParamSpec}
|
|
2930
|
+
* @since 1.6
|
|
2917
2931
|
*/
|
|
2918
2932
|
child_notify(child: Clutter.Actor, pspec: GObject.ParamSpec): void;
|
|
2919
2933
|
|
|
@@ -2922,6 +2936,7 @@ export namespace Meta {
|
|
|
2922
2936
|
* @param child a {@link Clutter.Actor} that is a child of `container`.
|
|
2923
2937
|
* @param property the name of the property to set.
|
|
2924
2938
|
* @param value the value.
|
|
2939
|
+
* @since 0.8
|
|
2925
2940
|
*/
|
|
2926
2941
|
child_set_property(child: Clutter.Actor, property: string, value: GObject.Value | any): void;
|
|
2927
2942
|
|
|
@@ -2936,6 +2951,7 @@ export namespace Meta {
|
|
|
2936
2951
|
*
|
|
2937
2952
|
* Applications should not call this function.
|
|
2938
2953
|
* @param actor a {@link Clutter.Actor}
|
|
2954
|
+
* @since 1.2
|
|
2939
2955
|
*/
|
|
2940
2956
|
create_child_meta(actor: Clutter.Actor): void;
|
|
2941
2957
|
|
|
@@ -2949,6 +2965,7 @@ export namespace Meta {
|
|
|
2949
2965
|
*
|
|
2950
2966
|
* Applications should not call this function.
|
|
2951
2967
|
* @param actor a {@link Clutter.Actor}
|
|
2968
|
+
* @since 1.2
|
|
2952
2969
|
*/
|
|
2953
2970
|
destroy_child_meta(actor: Clutter.Actor): void;
|
|
2954
2971
|
|
|
@@ -2957,6 +2974,7 @@ export namespace Meta {
|
|
|
2957
2974
|
* into any child container.
|
|
2958
2975
|
* @param child_name the name of the requested child.
|
|
2959
2976
|
* @returns The child actor with the requested name, or `null` if no actor with that name was found.
|
|
2977
|
+
* @since 0.6
|
|
2960
2978
|
*/
|
|
2961
2979
|
find_child_by_name(child_name: string): Clutter.Actor;
|
|
2962
2980
|
|
|
@@ -2965,12 +2983,15 @@ export namespace Meta {
|
|
|
2965
2983
|
* `container` specific state for `actor`.
|
|
2966
2984
|
* @param actor a {@link Clutter.Actor} that is a child of `container`.
|
|
2967
2985
|
* @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
|
|
2986
|
+
* @since 0.8
|
|
2968
2987
|
*/
|
|
2969
2988
|
get_child_meta(actor: Clutter.Actor): Clutter.ChildMeta;
|
|
2970
2989
|
|
|
2971
2990
|
/**
|
|
2972
2991
|
* Retrieves all the children of `container`.
|
|
2973
2992
|
* @returns a list of {@link Clutter.Actor}<!-- -->s. Use `g_list_free()` on the returned list when done.
|
|
2993
|
+
* @since 0.4
|
|
2994
|
+
* @deprecated since 1.10: Use `clutter_actor_get_children()` instead.
|
|
2974
2995
|
*/
|
|
2975
2996
|
get_children(): Clutter.Actor[];
|
|
2976
2997
|
|
|
@@ -2982,6 +3003,8 @@ export namespace Meta {
|
|
|
2982
3003
|
* `clutter_actor_set_child_below_sibling()`.
|
|
2983
3004
|
* @param actor the actor to raise
|
|
2984
3005
|
* @param sibling the sibling to lower to, or `null` to lower to the bottom
|
|
3006
|
+
* @since 0.6
|
|
3007
|
+
* @deprecated since 1.10: Use `clutter_actor_set_child_below_sibling()` instead.
|
|
2985
3008
|
*/
|
|
2986
3009
|
lower_child(actor: Clutter.Actor, sibling: Clutter.Actor | null): void;
|
|
2987
3010
|
|
|
@@ -2993,6 +3016,8 @@ export namespace Meta {
|
|
|
2993
3016
|
* `clutter_actor_set_child_above_sibling()`.
|
|
2994
3017
|
* @param actor the actor to raise
|
|
2995
3018
|
* @param sibling the sibling to raise to, or `null` to raise to the top
|
|
3019
|
+
* @since 0.6
|
|
3020
|
+
* @deprecated since 1.10: Use `clutter_actor_set_child_above_sibling()` instead.
|
|
2996
3021
|
*/
|
|
2997
3022
|
raise_child(actor: Clutter.Actor, sibling: Clutter.Actor | null): void;
|
|
2998
3023
|
|
|
@@ -3006,12 +3031,16 @@ export namespace Meta {
|
|
|
3006
3031
|
* deprecated virtual function. The default implementation will call
|
|
3007
3032
|
* `clutter_actor_remove_child()`.
|
|
3008
3033
|
* @param actor a {@link Clutter.Actor}
|
|
3034
|
+
* @since 0.4
|
|
3035
|
+
* @deprecated since 1.10: Use `clutter_actor_remove_child()` instead.
|
|
3009
3036
|
*/
|
|
3010
3037
|
remove_actor(actor: Clutter.Actor): void;
|
|
3011
3038
|
|
|
3012
3039
|
/**
|
|
3013
3040
|
* Sorts a container's children using their depth. This function should not
|
|
3014
3041
|
* be normally used by applications.
|
|
3042
|
+
* @since 0.6
|
|
3043
|
+
* @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.
|
|
3015
3044
|
*/
|
|
3016
3045
|
sort_depth_order(): void;
|
|
3017
3046
|
|
|
@@ -3037,6 +3066,8 @@ export namespace Meta {
|
|
|
3037
3066
|
* deprecated virtual function. The default implementation will
|
|
3038
3067
|
* call `clutter_actor_add_child()`.
|
|
3039
3068
|
* @param actor the first {@link Clutter.Actor} to add
|
|
3069
|
+
* @since 0.4
|
|
3070
|
+
* @deprecated since 1.10: Use `clutter_actor_add_child()` instead.
|
|
3040
3071
|
* @virtual
|
|
3041
3072
|
*/
|
|
3042
3073
|
vfunc_add(actor: Clutter.Actor): void;
|
|
@@ -3047,6 +3078,7 @@ export namespace Meta {
|
|
|
3047
3078
|
* {@link Clutter.Container.SignalSignatures.child_notify | Clutter.Container::child-notify} signal.
|
|
3048
3079
|
* @param child a {@link Clutter.Actor}
|
|
3049
3080
|
* @param pspec a {@link GObject.ParamSpec}
|
|
3081
|
+
* @since 1.6
|
|
3050
3082
|
* @virtual
|
|
3051
3083
|
*/
|
|
3052
3084
|
vfunc_child_notify(child: Clutter.Actor, pspec: GObject.ParamSpec): void;
|
|
@@ -3062,6 +3094,7 @@ export namespace Meta {
|
|
|
3062
3094
|
*
|
|
3063
3095
|
* Applications should not call this function.
|
|
3064
3096
|
* @param actor a {@link Clutter.Actor}
|
|
3097
|
+
* @since 1.2
|
|
3065
3098
|
* @virtual
|
|
3066
3099
|
*/
|
|
3067
3100
|
vfunc_create_child_meta(actor: Clutter.Actor): void;
|
|
@@ -3076,6 +3109,7 @@ export namespace Meta {
|
|
|
3076
3109
|
*
|
|
3077
3110
|
* Applications should not call this function.
|
|
3078
3111
|
* @param actor a {@link Clutter.Actor}
|
|
3112
|
+
* @since 1.2
|
|
3079
3113
|
* @virtual
|
|
3080
3114
|
*/
|
|
3081
3115
|
vfunc_destroy_child_meta(actor: Clutter.Actor): void;
|
|
@@ -3084,6 +3118,7 @@ export namespace Meta {
|
|
|
3084
3118
|
* Retrieves the {@link Clutter.ChildMeta} which contains the data about the
|
|
3085
3119
|
* `container` specific state for `actor`.
|
|
3086
3120
|
* @param actor a {@link Clutter.Actor} that is a child of `container`.
|
|
3121
|
+
* @since 0.8
|
|
3087
3122
|
* @virtual
|
|
3088
3123
|
*/
|
|
3089
3124
|
vfunc_get_child_meta(actor: Clutter.Actor): Clutter.ChildMeta;
|
|
@@ -3096,6 +3131,8 @@ export namespace Meta {
|
|
|
3096
3131
|
* `clutter_actor_set_child_below_sibling()`.
|
|
3097
3132
|
* @param actor the actor to raise
|
|
3098
3133
|
* @param sibling the sibling to lower to, or `null` to lower to the bottom
|
|
3134
|
+
* @since 0.6
|
|
3135
|
+
* @deprecated since 1.10: Use `clutter_actor_set_child_below_sibling()` instead.
|
|
3099
3136
|
* @virtual
|
|
3100
3137
|
*/
|
|
3101
3138
|
vfunc_lower(actor: Clutter.Actor, sibling: Clutter.Actor | null): void;
|
|
@@ -3108,6 +3145,8 @@ export namespace Meta {
|
|
|
3108
3145
|
* `clutter_actor_set_child_above_sibling()`.
|
|
3109
3146
|
* @param actor the actor to raise
|
|
3110
3147
|
* @param sibling the sibling to raise to, or `null` to raise to the top
|
|
3148
|
+
* @since 0.6
|
|
3149
|
+
* @deprecated since 1.10: Use `clutter_actor_set_child_above_sibling()` instead.
|
|
3111
3150
|
* @virtual
|
|
3112
3151
|
*/
|
|
3113
3152
|
vfunc_raise(actor: Clutter.Actor, sibling: Clutter.Actor | null): void;
|
|
@@ -3122,6 +3161,8 @@ export namespace Meta {
|
|
|
3122
3161
|
* deprecated virtual function. The default implementation will call
|
|
3123
3162
|
* `clutter_actor_remove_child()`.
|
|
3124
3163
|
* @param actor a {@link Clutter.Actor}
|
|
3164
|
+
* @since 0.4
|
|
3165
|
+
* @deprecated since 1.10: Use `clutter_actor_remove_child()` instead.
|
|
3125
3166
|
* @virtual
|
|
3126
3167
|
*/
|
|
3127
3168
|
vfunc_remove(actor: Clutter.Actor): void;
|
|
@@ -3129,6 +3170,8 @@ export namespace Meta {
|
|
|
3129
3170
|
/**
|
|
3130
3171
|
* Sorts a container's children using their depth. This function should not
|
|
3131
3172
|
* be normally used by applications.
|
|
3173
|
+
* @since 0.6
|
|
3174
|
+
* @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.
|
|
3132
3175
|
* @virtual
|
|
3133
3176
|
*/
|
|
3134
3177
|
vfunc_sort_depth_order(): void;
|
|
@@ -3136,6 +3179,7 @@ export namespace Meta {
|
|
|
3136
3179
|
/**
|
|
3137
3180
|
* Retrieves the id of `scriptable` set using `clutter_scriptable_set_id()`.
|
|
3138
3181
|
* @returns the id of the object. The returned string is owned by the scriptable object and should never be modified of freed
|
|
3182
|
+
* @since 0.6
|
|
3139
3183
|
*/
|
|
3140
3184
|
get_id(): string;
|
|
3141
3185
|
|
|
@@ -3147,6 +3191,7 @@ export namespace Meta {
|
|
|
3147
3191
|
* @param name the name of the node
|
|
3148
3192
|
* @param node the JSON node to be parsed
|
|
3149
3193
|
* @returns `true` if the node was successfully parsed, `false` otherwise.
|
|
3194
|
+
* @since 0.6
|
|
3150
3195
|
*/
|
|
3151
3196
|
parse_custom_node(script: Clutter.Script, value: GObject.Value | any, name: string, node: Json.Node): boolean;
|
|
3152
3197
|
|
|
@@ -3156,6 +3201,7 @@ export namespace Meta {
|
|
|
3156
3201
|
* @param script the {@link Clutter.Script} creating the scriptable instance
|
|
3157
3202
|
* @param name the name of the property
|
|
3158
3203
|
* @param value the value of the property
|
|
3204
|
+
* @since 0.6
|
|
3159
3205
|
*/
|
|
3160
3206
|
set_custom_property(script: Clutter.Script, name: string, value: GObject.Value | any): void;
|
|
3161
3207
|
|
|
@@ -3167,11 +3213,13 @@ export namespace Meta {
|
|
|
3167
3213
|
* define a unique name for an object constructable using the UI
|
|
3168
3214
|
* definition language parsed by {@link Clutter.Script}.
|
|
3169
3215
|
* @param id_ the {@link Clutter.Script} id of the object
|
|
3216
|
+
* @since 0.6
|
|
3170
3217
|
*/
|
|
3171
3218
|
set_id(id_: string): void;
|
|
3172
3219
|
|
|
3173
3220
|
/**
|
|
3174
3221
|
* Retrieves the id of `scriptable` set using `clutter_scriptable_set_id()`.
|
|
3222
|
+
* @since 0.6
|
|
3175
3223
|
* @virtual
|
|
3176
3224
|
*/
|
|
3177
3225
|
vfunc_get_id(): string;
|
|
@@ -3183,6 +3231,7 @@ export namespace Meta {
|
|
|
3183
3231
|
* @param value the generic value to be set
|
|
3184
3232
|
* @param name the name of the node
|
|
3185
3233
|
* @param node the JSON node to be parsed
|
|
3234
|
+
* @since 0.6
|
|
3186
3235
|
* @virtual
|
|
3187
3236
|
*/
|
|
3188
3237
|
vfunc_parse_custom_node(script: Clutter.Script, value: unknown, name: string, node: Json.Node): boolean;
|
|
@@ -3193,6 +3242,7 @@ export namespace Meta {
|
|
|
3193
3242
|
* @param script the {@link Clutter.Script} creating the scriptable instance
|
|
3194
3243
|
* @param name the name of the property
|
|
3195
3244
|
* @param value the value of the property
|
|
3245
|
+
* @since 0.6
|
|
3196
3246
|
* @virtual
|
|
3197
3247
|
*/
|
|
3198
3248
|
vfunc_set_custom_property(script: Clutter.Script, name: string, value: unknown): void;
|
|
@@ -3205,6 +3255,7 @@ export namespace Meta {
|
|
|
3205
3255
|
* define a unique name for an object constructable using the UI
|
|
3206
3256
|
* definition language parsed by {@link Clutter.Script}.
|
|
3207
3257
|
* @param id_ the {@link Clutter.Script} id of the object
|
|
3258
|
+
* @since 0.6
|
|
3208
3259
|
* @virtual
|
|
3209
3260
|
*/
|
|
3210
3261
|
vfunc_set_id(id_: string): void;
|
|
@@ -3360,6 +3411,7 @@ export namespace Meta {
|
|
|
3360
3411
|
* would have regardless of the allocation of the actor that is painting it,
|
|
3361
3412
|
* for instance the size of an image data.
|
|
3362
3413
|
* @returns `true` if the content has a preferred size, and `false` otherwise
|
|
3414
|
+
* @since 1.10
|
|
3363
3415
|
*/
|
|
3364
3416
|
get_preferred_size(): [boolean, number, number];
|
|
3365
3417
|
|
|
@@ -3369,6 +3421,7 @@ export namespace Meta {
|
|
|
3369
3421
|
* This function should be called by {@link Clutter.Content} implementations when
|
|
3370
3422
|
* they change the way a the content should be painted regardless of the
|
|
3371
3423
|
* actor state.
|
|
3424
|
+
* @since 1.10
|
|
3372
3425
|
*/
|
|
3373
3426
|
invalidate(): void;
|
|
3374
3427
|
|
|
@@ -3399,6 +3452,7 @@ export namespace Meta {
|
|
|
3399
3452
|
* The natural size of a {@link Clutter.Content} is defined as the size the content
|
|
3400
3453
|
* would have regardless of the allocation of the actor that is painting it,
|
|
3401
3454
|
* for instance the size of an image data.
|
|
3455
|
+
* @since 1.10
|
|
3402
3456
|
* @virtual
|
|
3403
3457
|
*/
|
|
3404
3458
|
vfunc_get_preferred_size(): [boolean, number, number];
|
|
@@ -3409,6 +3463,7 @@ export namespace Meta {
|
|
|
3409
3463
|
* This function should be called by {@link Clutter.Content} implementations when
|
|
3410
3464
|
* they change the way a the content should be painted regardless of the
|
|
3411
3465
|
* actor state.
|
|
3466
|
+
* @since 1.10
|
|
3412
3467
|
* @virtual
|
|
3413
3468
|
*/
|
|
3414
3469
|
vfunc_invalidate(): void;
|
|
@@ -3549,6 +3604,7 @@ export namespace Meta {
|
|
|
3549
3604
|
* Finds the {@link GObject.ParamSpec} for `property_name`
|
|
3550
3605
|
* @param property_name the name of the animatable property to find
|
|
3551
3606
|
* @returns The {@link GObject.ParamSpec} for the given property or `null`
|
|
3607
|
+
* @since 1.4
|
|
3552
3608
|
*/
|
|
3553
3609
|
find_property(property_name: string): GObject.ParamSpec;
|
|
3554
3610
|
|
|
@@ -3562,6 +3618,7 @@ export namespace Meta {
|
|
|
3562
3618
|
* Retrieves the current state of `property_name` and sets `value` with it
|
|
3563
3619
|
* @param property_name the name of the animatable property to retrieve
|
|
3564
3620
|
* @param value a {@link GObject.Value} initialized to the type of the property to retrieve
|
|
3621
|
+
* @since 1.4
|
|
3565
3622
|
*/
|
|
3566
3623
|
get_initial_state(property_name: string, value: GObject.Value | any): void;
|
|
3567
3624
|
|
|
@@ -3579,6 +3636,7 @@ export namespace Meta {
|
|
|
3579
3636
|
* @param interval a {@link Clutter.Interval} with the animation range
|
|
3580
3637
|
* @param progress the progress to use to interpolate between the initial and final values of the `interval`
|
|
3581
3638
|
* @returns `true` if the interpolation was successful, and `false` otherwise
|
|
3639
|
+
* @since 1.8
|
|
3582
3640
|
*/
|
|
3583
3641
|
interpolate_value(property_name: string, interval: Clutter.Interval, progress: number): [boolean, unknown];
|
|
3584
3642
|
|
|
@@ -3586,12 +3644,14 @@ export namespace Meta {
|
|
|
3586
3644
|
* Sets the current state of `property_name` to `value`
|
|
3587
3645
|
* @param property_name the name of the animatable property to set
|
|
3588
3646
|
* @param value the value of the animatable property to set
|
|
3647
|
+
* @since 1.4
|
|
3589
3648
|
*/
|
|
3590
3649
|
set_final_state(property_name: string, value: GObject.Value | any): void;
|
|
3591
3650
|
|
|
3592
3651
|
/**
|
|
3593
3652
|
* Finds the {@link GObject.ParamSpec} for `property_name`
|
|
3594
3653
|
* @param property_name the name of the animatable property to find
|
|
3654
|
+
* @since 1.4
|
|
3595
3655
|
* @virtual
|
|
3596
3656
|
*/
|
|
3597
3657
|
vfunc_find_property(property_name: string): GObject.ParamSpec;
|
|
@@ -3606,6 +3666,7 @@ export namespace Meta {
|
|
|
3606
3666
|
* Retrieves the current state of `property_name` and sets `value` with it
|
|
3607
3667
|
* @param property_name the name of the animatable property to retrieve
|
|
3608
3668
|
* @param value a {@link GObject.Value} initialized to the type of the property to retrieve
|
|
3669
|
+
* @since 1.4
|
|
3609
3670
|
* @virtual
|
|
3610
3671
|
*/
|
|
3611
3672
|
vfunc_get_initial_state(property_name: string, value: unknown): void;
|
|
@@ -3623,6 +3684,7 @@ export namespace Meta {
|
|
|
3623
3684
|
* @param property_name the name of the property to interpolate
|
|
3624
3685
|
* @param interval a {@link Clutter.Interval} with the animation range
|
|
3625
3686
|
* @param progress the progress to use to interpolate between the initial and final values of the `interval`
|
|
3687
|
+
* @since 1.8
|
|
3626
3688
|
* @virtual
|
|
3627
3689
|
*/
|
|
3628
3690
|
vfunc_interpolate_value(property_name: string, interval: Clutter.Interval, progress: number): [boolean, GObject.Value | any];
|
|
@@ -3631,6 +3693,7 @@ export namespace Meta {
|
|
|
3631
3693
|
* Sets the current state of `property_name` to `value`
|
|
3632
3694
|
* @param property_name the name of the animatable property to set
|
|
3633
3695
|
* @param value the value of the animatable property to set
|
|
3696
|
+
* @since 1.4
|
|
3634
3697
|
* @virtual
|
|
3635
3698
|
*/
|
|
3636
3699
|
vfunc_set_final_state(property_name: string, value: unknown): void;
|
|
@@ -3645,6 +3708,8 @@ export namespace Meta {
|
|
|
3645
3708
|
* deprecated virtual function. The default implementation will
|
|
3646
3709
|
* call `clutter_actor_add_child()`.
|
|
3647
3710
|
* @param actor the first {@link Clutter.Actor} to add
|
|
3711
|
+
* @since 0.4
|
|
3712
|
+
* @deprecated since 1.10: Use `clutter_actor_add_child()` instead.
|
|
3648
3713
|
*/
|
|
3649
3714
|
add_actor(actor: Clutter.Actor): void;
|
|
3650
3715
|
|
|
@@ -3659,6 +3724,7 @@ export namespace Meta {
|
|
|
3659
3724
|
* @param child a {@link Clutter.Actor} that is a child of `container`.
|
|
3660
3725
|
* @param property the name of the property to set.
|
|
3661
3726
|
* @param value the value.
|
|
3727
|
+
* @since 0.8
|
|
3662
3728
|
*/
|
|
3663
3729
|
child_get_property(child: Clutter.Actor, property: string, value: GObject.Value | any): void;
|
|
3664
3730
|
|
|
@@ -3668,6 +3734,7 @@ export namespace Meta {
|
|
|
3668
3734
|
* {@link Clutter.Container.SignalSignatures.child_notify | Clutter.Container::child-notify} signal.
|
|
3669
3735
|
* @param child a {@link Clutter.Actor}
|
|
3670
3736
|
* @param pspec a {@link GObject.ParamSpec}
|
|
3737
|
+
* @since 1.6
|
|
3671
3738
|
*/
|
|
3672
3739
|
child_notify(child: Clutter.Actor, pspec: GObject.ParamSpec): void;
|
|
3673
3740
|
|
|
@@ -3676,6 +3743,7 @@ export namespace Meta {
|
|
|
3676
3743
|
* @param child a {@link Clutter.Actor} that is a child of `container`.
|
|
3677
3744
|
* @param property the name of the property to set.
|
|
3678
3745
|
* @param value the value.
|
|
3746
|
+
* @since 0.8
|
|
3679
3747
|
*/
|
|
3680
3748
|
child_set_property(child: Clutter.Actor, property: string, value: GObject.Value | any): void;
|
|
3681
3749
|
|
|
@@ -3690,6 +3758,7 @@ export namespace Meta {
|
|
|
3690
3758
|
*
|
|
3691
3759
|
* Applications should not call this function.
|
|
3692
3760
|
* @param actor a {@link Clutter.Actor}
|
|
3761
|
+
* @since 1.2
|
|
3693
3762
|
*/
|
|
3694
3763
|
create_child_meta(actor: Clutter.Actor): void;
|
|
3695
3764
|
|
|
@@ -3703,6 +3772,7 @@ export namespace Meta {
|
|
|
3703
3772
|
*
|
|
3704
3773
|
* Applications should not call this function.
|
|
3705
3774
|
* @param actor a {@link Clutter.Actor}
|
|
3775
|
+
* @since 1.2
|
|
3706
3776
|
*/
|
|
3707
3777
|
destroy_child_meta(actor: Clutter.Actor): void;
|
|
3708
3778
|
|
|
@@ -3711,6 +3781,7 @@ export namespace Meta {
|
|
|
3711
3781
|
* into any child container.
|
|
3712
3782
|
* @param child_name the name of the requested child.
|
|
3713
3783
|
* @returns The child actor with the requested name, or `null` if no actor with that name was found.
|
|
3784
|
+
* @since 0.6
|
|
3714
3785
|
*/
|
|
3715
3786
|
find_child_by_name(child_name: string): Clutter.Actor;
|
|
3716
3787
|
|
|
@@ -3719,12 +3790,15 @@ export namespace Meta {
|
|
|
3719
3790
|
* `container` specific state for `actor`.
|
|
3720
3791
|
* @param actor a {@link Clutter.Actor} that is a child of `container`.
|
|
3721
3792
|
* @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
|
|
3793
|
+
* @since 0.8
|
|
3722
3794
|
*/
|
|
3723
3795
|
get_child_meta(actor: Clutter.Actor): Clutter.ChildMeta;
|
|
3724
3796
|
|
|
3725
3797
|
/**
|
|
3726
3798
|
* Retrieves all the children of `container`.
|
|
3727
3799
|
* @returns a list of {@link Clutter.Actor}<!-- -->s. Use `g_list_free()` on the returned list when done.
|
|
3800
|
+
* @since 0.4
|
|
3801
|
+
* @deprecated since 1.10: Use `clutter_actor_get_children()` instead.
|
|
3728
3802
|
*/
|
|
3729
3803
|
get_children(): Clutter.Actor[];
|
|
3730
3804
|
|
|
@@ -3736,6 +3810,8 @@ export namespace Meta {
|
|
|
3736
3810
|
* `clutter_actor_set_child_below_sibling()`.
|
|
3737
3811
|
* @param actor the actor to raise
|
|
3738
3812
|
* @param sibling the sibling to lower to, or `null` to lower to the bottom
|
|
3813
|
+
* @since 0.6
|
|
3814
|
+
* @deprecated since 1.10: Use `clutter_actor_set_child_below_sibling()` instead.
|
|
3739
3815
|
*/
|
|
3740
3816
|
lower_child(actor: Clutter.Actor, sibling: Clutter.Actor | null): void;
|
|
3741
3817
|
|
|
@@ -3747,6 +3823,8 @@ export namespace Meta {
|
|
|
3747
3823
|
* `clutter_actor_set_child_above_sibling()`.
|
|
3748
3824
|
* @param actor the actor to raise
|
|
3749
3825
|
* @param sibling the sibling to raise to, or `null` to raise to the top
|
|
3826
|
+
* @since 0.6
|
|
3827
|
+
* @deprecated since 1.10: Use `clutter_actor_set_child_above_sibling()` instead.
|
|
3750
3828
|
*/
|
|
3751
3829
|
raise_child(actor: Clutter.Actor, sibling: Clutter.Actor | null): void;
|
|
3752
3830
|
|
|
@@ -3760,12 +3838,16 @@ export namespace Meta {
|
|
|
3760
3838
|
* deprecated virtual function. The default implementation will call
|
|
3761
3839
|
* `clutter_actor_remove_child()`.
|
|
3762
3840
|
* @param actor a {@link Clutter.Actor}
|
|
3841
|
+
* @since 0.4
|
|
3842
|
+
* @deprecated since 1.10: Use `clutter_actor_remove_child()` instead.
|
|
3763
3843
|
*/
|
|
3764
3844
|
remove_actor(actor: Clutter.Actor): void;
|
|
3765
3845
|
|
|
3766
3846
|
/**
|
|
3767
3847
|
* Sorts a container's children using their depth. This function should not
|
|
3768
3848
|
* be normally used by applications.
|
|
3849
|
+
* @since 0.6
|
|
3850
|
+
* @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.
|
|
3769
3851
|
*/
|
|
3770
3852
|
sort_depth_order(): void;
|
|
3771
3853
|
|
|
@@ -3791,6 +3873,8 @@ export namespace Meta {
|
|
|
3791
3873
|
* deprecated virtual function. The default implementation will
|
|
3792
3874
|
* call `clutter_actor_add_child()`.
|
|
3793
3875
|
* @param actor the first {@link Clutter.Actor} to add
|
|
3876
|
+
* @since 0.4
|
|
3877
|
+
* @deprecated since 1.10: Use `clutter_actor_add_child()` instead.
|
|
3794
3878
|
* @virtual
|
|
3795
3879
|
*/
|
|
3796
3880
|
vfunc_add(actor: Clutter.Actor): void;
|
|
@@ -3801,6 +3885,7 @@ export namespace Meta {
|
|
|
3801
3885
|
* {@link Clutter.Container.SignalSignatures.child_notify | Clutter.Container::child-notify} signal.
|
|
3802
3886
|
* @param child a {@link Clutter.Actor}
|
|
3803
3887
|
* @param pspec a {@link GObject.ParamSpec}
|
|
3888
|
+
* @since 1.6
|
|
3804
3889
|
* @virtual
|
|
3805
3890
|
*/
|
|
3806
3891
|
vfunc_child_notify(child: Clutter.Actor, pspec: GObject.ParamSpec): void;
|
|
@@ -3816,6 +3901,7 @@ export namespace Meta {
|
|
|
3816
3901
|
*
|
|
3817
3902
|
* Applications should not call this function.
|
|
3818
3903
|
* @param actor a {@link Clutter.Actor}
|
|
3904
|
+
* @since 1.2
|
|
3819
3905
|
* @virtual
|
|
3820
3906
|
*/
|
|
3821
3907
|
vfunc_create_child_meta(actor: Clutter.Actor): void;
|
|
@@ -3830,6 +3916,7 @@ export namespace Meta {
|
|
|
3830
3916
|
*
|
|
3831
3917
|
* Applications should not call this function.
|
|
3832
3918
|
* @param actor a {@link Clutter.Actor}
|
|
3919
|
+
* @since 1.2
|
|
3833
3920
|
* @virtual
|
|
3834
3921
|
*/
|
|
3835
3922
|
vfunc_destroy_child_meta(actor: Clutter.Actor): void;
|
|
@@ -3838,6 +3925,7 @@ export namespace Meta {
|
|
|
3838
3925
|
* Retrieves the {@link Clutter.ChildMeta} which contains the data about the
|
|
3839
3926
|
* `container` specific state for `actor`.
|
|
3840
3927
|
* @param actor a {@link Clutter.Actor} that is a child of `container`.
|
|
3928
|
+
* @since 0.8
|
|
3841
3929
|
* @virtual
|
|
3842
3930
|
*/
|
|
3843
3931
|
vfunc_get_child_meta(actor: Clutter.Actor): Clutter.ChildMeta;
|
|
@@ -3850,6 +3938,8 @@ export namespace Meta {
|
|
|
3850
3938
|
* `clutter_actor_set_child_below_sibling()`.
|
|
3851
3939
|
* @param actor the actor to raise
|
|
3852
3940
|
* @param sibling the sibling to lower to, or `null` to lower to the bottom
|
|
3941
|
+
* @since 0.6
|
|
3942
|
+
* @deprecated since 1.10: Use `clutter_actor_set_child_below_sibling()` instead.
|
|
3853
3943
|
* @virtual
|
|
3854
3944
|
*/
|
|
3855
3945
|
vfunc_lower(actor: Clutter.Actor, sibling: Clutter.Actor | null): void;
|
|
@@ -3862,6 +3952,8 @@ export namespace Meta {
|
|
|
3862
3952
|
* `clutter_actor_set_child_above_sibling()`.
|
|
3863
3953
|
* @param actor the actor to raise
|
|
3864
3954
|
* @param sibling the sibling to raise to, or `null` to raise to the top
|
|
3955
|
+
* @since 0.6
|
|
3956
|
+
* @deprecated since 1.10: Use `clutter_actor_set_child_above_sibling()` instead.
|
|
3865
3957
|
* @virtual
|
|
3866
3958
|
*/
|
|
3867
3959
|
vfunc_raise(actor: Clutter.Actor, sibling: Clutter.Actor | null): void;
|
|
@@ -3876,6 +3968,8 @@ export namespace Meta {
|
|
|
3876
3968
|
* deprecated virtual function. The default implementation will call
|
|
3877
3969
|
* `clutter_actor_remove_child()`.
|
|
3878
3970
|
* @param actor a {@link Clutter.Actor}
|
|
3971
|
+
* @since 0.4
|
|
3972
|
+
* @deprecated since 1.10: Use `clutter_actor_remove_child()` instead.
|
|
3879
3973
|
* @virtual
|
|
3880
3974
|
*/
|
|
3881
3975
|
vfunc_remove(actor: Clutter.Actor): void;
|
|
@@ -3883,6 +3977,8 @@ export namespace Meta {
|
|
|
3883
3977
|
/**
|
|
3884
3978
|
* Sorts a container's children using their depth. This function should not
|
|
3885
3979
|
* be normally used by applications.
|
|
3980
|
+
* @since 0.6
|
|
3981
|
+
* @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.
|
|
3886
3982
|
* @virtual
|
|
3887
3983
|
*/
|
|
3888
3984
|
vfunc_sort_depth_order(): void;
|
|
@@ -3890,6 +3986,7 @@ export namespace Meta {
|
|
|
3890
3986
|
/**
|
|
3891
3987
|
* Retrieves the id of `scriptable` set using `clutter_scriptable_set_id()`.
|
|
3892
3988
|
* @returns the id of the object. The returned string is owned by the scriptable object and should never be modified of freed
|
|
3989
|
+
* @since 0.6
|
|
3893
3990
|
*/
|
|
3894
3991
|
get_id(): string;
|
|
3895
3992
|
|
|
@@ -3901,6 +3998,7 @@ export namespace Meta {
|
|
|
3901
3998
|
* @param name the name of the node
|
|
3902
3999
|
* @param node the JSON node to be parsed
|
|
3903
4000
|
* @returns `true` if the node was successfully parsed, `false` otherwise.
|
|
4001
|
+
* @since 0.6
|
|
3904
4002
|
*/
|
|
3905
4003
|
parse_custom_node(script: Clutter.Script, value: GObject.Value | any, name: string, node: Json.Node): boolean;
|
|
3906
4004
|
|
|
@@ -3910,6 +4008,7 @@ export namespace Meta {
|
|
|
3910
4008
|
* @param script the {@link Clutter.Script} creating the scriptable instance
|
|
3911
4009
|
* @param name the name of the property
|
|
3912
4010
|
* @param value the value of the property
|
|
4011
|
+
* @since 0.6
|
|
3913
4012
|
*/
|
|
3914
4013
|
set_custom_property(script: Clutter.Script, name: string, value: GObject.Value | any): void;
|
|
3915
4014
|
|
|
@@ -3921,11 +4020,13 @@ export namespace Meta {
|
|
|
3921
4020
|
* define a unique name for an object constructable using the UI
|
|
3922
4021
|
* definition language parsed by {@link Clutter.Script}.
|
|
3923
4022
|
* @param id_ the {@link Clutter.Script} id of the object
|
|
4023
|
+
* @since 0.6
|
|
3924
4024
|
*/
|
|
3925
4025
|
set_id(id_: string): void;
|
|
3926
4026
|
|
|
3927
4027
|
/**
|
|
3928
4028
|
* Retrieves the id of `scriptable` set using `clutter_scriptable_set_id()`.
|
|
4029
|
+
* @since 0.6
|
|
3929
4030
|
* @virtual
|
|
3930
4031
|
*/
|
|
3931
4032
|
vfunc_get_id(): string;
|
|
@@ -3937,6 +4038,7 @@ export namespace Meta {
|
|
|
3937
4038
|
* @param value the generic value to be set
|
|
3938
4039
|
* @param name the name of the node
|
|
3939
4040
|
* @param node the JSON node to be parsed
|
|
4041
|
+
* @since 0.6
|
|
3940
4042
|
* @virtual
|
|
3941
4043
|
*/
|
|
3942
4044
|
vfunc_parse_custom_node(script: Clutter.Script, value: unknown, name: string, node: Json.Node): boolean;
|
|
@@ -3947,6 +4049,7 @@ export namespace Meta {
|
|
|
3947
4049
|
* @param script the {@link Clutter.Script} creating the scriptable instance
|
|
3948
4050
|
* @param name the name of the property
|
|
3949
4051
|
* @param value the value of the property
|
|
4052
|
+
* @since 0.6
|
|
3950
4053
|
* @virtual
|
|
3951
4054
|
*/
|
|
3952
4055
|
vfunc_set_custom_property(script: Clutter.Script, name: string, value: unknown): void;
|
|
@@ -3959,6 +4062,7 @@ export namespace Meta {
|
|
|
3959
4062
|
* define a unique name for an object constructable using the UI
|
|
3960
4063
|
* definition language parsed by {@link Clutter.Script}.
|
|
3961
4064
|
* @param id_ the {@link Clutter.Script} id of the object
|
|
4065
|
+
* @since 0.6
|
|
3962
4066
|
* @virtual
|
|
3963
4067
|
*/
|
|
3964
4068
|
vfunc_set_id(id_: string): void;
|
|
@@ -6038,6 +6142,7 @@ export namespace Meta {
|
|
|
6038
6142
|
* would have regardless of the allocation of the actor that is painting it,
|
|
6039
6143
|
* for instance the size of an image data.
|
|
6040
6144
|
* @returns `true` if the content has a preferred size, and `false` otherwise
|
|
6145
|
+
* @since 1.10
|
|
6041
6146
|
*/
|
|
6042
6147
|
get_preferred_size(): [boolean, number, number];
|
|
6043
6148
|
|
|
@@ -6047,6 +6152,7 @@ export namespace Meta {
|
|
|
6047
6152
|
* This function should be called by {@link Clutter.Content} implementations when
|
|
6048
6153
|
* they change the way a the content should be painted regardless of the
|
|
6049
6154
|
* actor state.
|
|
6155
|
+
* @since 1.10
|
|
6050
6156
|
*/
|
|
6051
6157
|
invalidate(): void;
|
|
6052
6158
|
|
|
@@ -6077,6 +6183,7 @@ export namespace Meta {
|
|
|
6077
6183
|
* The natural size of a {@link Clutter.Content} is defined as the size the content
|
|
6078
6184
|
* would have regardless of the allocation of the actor that is painting it,
|
|
6079
6185
|
* for instance the size of an image data.
|
|
6186
|
+
* @since 1.10
|
|
6080
6187
|
* @virtual
|
|
6081
6188
|
*/
|
|
6082
6189
|
vfunc_get_preferred_size(): [boolean, number, number];
|
|
@@ -6087,6 +6194,7 @@ export namespace Meta {
|
|
|
6087
6194
|
* This function should be called by {@link Clutter.Content} implementations when
|
|
6088
6195
|
* they change the way a the content should be painted regardless of the
|
|
6089
6196
|
* actor state.
|
|
6197
|
+
* @since 1.10
|
|
6090
6198
|
* @virtual
|
|
6091
6199
|
*/
|
|
6092
6200
|
vfunc_invalidate(): void;
|
|
@@ -7666,6 +7774,7 @@ export namespace Meta {
|
|
|
7666
7774
|
* Finds the {@link GObject.ParamSpec} for `property_name`
|
|
7667
7775
|
* @param property_name the name of the animatable property to find
|
|
7668
7776
|
* @returns The {@link GObject.ParamSpec} for the given property or `null`
|
|
7777
|
+
* @since 1.4
|
|
7669
7778
|
*/
|
|
7670
7779
|
find_property(property_name: string): GObject.ParamSpec;
|
|
7671
7780
|
|
|
@@ -7679,6 +7788,7 @@ export namespace Meta {
|
|
|
7679
7788
|
* Retrieves the current state of `property_name` and sets `value` with it
|
|
7680
7789
|
* @param property_name the name of the animatable property to retrieve
|
|
7681
7790
|
* @param value a {@link GObject.Value} initialized to the type of the property to retrieve
|
|
7791
|
+
* @since 1.4
|
|
7682
7792
|
*/
|
|
7683
7793
|
get_initial_state(property_name: string, value: GObject.Value | any): void;
|
|
7684
7794
|
|
|
@@ -7696,6 +7806,7 @@ export namespace Meta {
|
|
|
7696
7806
|
* @param interval a {@link Clutter.Interval} with the animation range
|
|
7697
7807
|
* @param progress the progress to use to interpolate between the initial and final values of the `interval`
|
|
7698
7808
|
* @returns `true` if the interpolation was successful, and `false` otherwise
|
|
7809
|
+
* @since 1.8
|
|
7699
7810
|
*/
|
|
7700
7811
|
interpolate_value(property_name: string, interval: Clutter.Interval, progress: number): [boolean, unknown];
|
|
7701
7812
|
|
|
@@ -7703,12 +7814,14 @@ export namespace Meta {
|
|
|
7703
7814
|
* Sets the current state of `property_name` to `value`
|
|
7704
7815
|
* @param property_name the name of the animatable property to set
|
|
7705
7816
|
* @param value the value of the animatable property to set
|
|
7817
|
+
* @since 1.4
|
|
7706
7818
|
*/
|
|
7707
7819
|
set_final_state(property_name: string, value: GObject.Value | any): void;
|
|
7708
7820
|
|
|
7709
7821
|
/**
|
|
7710
7822
|
* Finds the {@link GObject.ParamSpec} for `property_name`
|
|
7711
7823
|
* @param property_name the name of the animatable property to find
|
|
7824
|
+
* @since 1.4
|
|
7712
7825
|
* @virtual
|
|
7713
7826
|
*/
|
|
7714
7827
|
vfunc_find_property(property_name: string): GObject.ParamSpec;
|
|
@@ -7723,6 +7836,7 @@ export namespace Meta {
|
|
|
7723
7836
|
* Retrieves the current state of `property_name` and sets `value` with it
|
|
7724
7837
|
* @param property_name the name of the animatable property to retrieve
|
|
7725
7838
|
* @param value a {@link GObject.Value} initialized to the type of the property to retrieve
|
|
7839
|
+
* @since 1.4
|
|
7726
7840
|
* @virtual
|
|
7727
7841
|
*/
|
|
7728
7842
|
vfunc_get_initial_state(property_name: string, value: unknown): void;
|
|
@@ -7740,6 +7854,7 @@ export namespace Meta {
|
|
|
7740
7854
|
* @param property_name the name of the property to interpolate
|
|
7741
7855
|
* @param interval a {@link Clutter.Interval} with the animation range
|
|
7742
7856
|
* @param progress the progress to use to interpolate between the initial and final values of the `interval`
|
|
7857
|
+
* @since 1.8
|
|
7743
7858
|
* @virtual
|
|
7744
7859
|
*/
|
|
7745
7860
|
vfunc_interpolate_value(property_name: string, interval: Clutter.Interval, progress: number): [boolean, GObject.Value | any];
|
|
@@ -7748,6 +7863,7 @@ export namespace Meta {
|
|
|
7748
7863
|
* Sets the current state of `property_name` to `value`
|
|
7749
7864
|
* @param property_name the name of the animatable property to set
|
|
7750
7865
|
* @param value the value of the animatable property to set
|
|
7866
|
+
* @since 1.4
|
|
7751
7867
|
* @virtual
|
|
7752
7868
|
*/
|
|
7753
7869
|
vfunc_set_final_state(property_name: string, value: unknown): void;
|
|
@@ -7762,6 +7878,8 @@ export namespace Meta {
|
|
|
7762
7878
|
* deprecated virtual function. The default implementation will
|
|
7763
7879
|
* call `clutter_actor_add_child()`.
|
|
7764
7880
|
* @param actor the first {@link Clutter.Actor} to add
|
|
7881
|
+
* @since 0.4
|
|
7882
|
+
* @deprecated since 1.10: Use `clutter_actor_add_child()` instead.
|
|
7765
7883
|
*/
|
|
7766
7884
|
add_actor(actor: Clutter.Actor): void;
|
|
7767
7885
|
|
|
@@ -7776,6 +7894,7 @@ export namespace Meta {
|
|
|
7776
7894
|
* @param child a {@link Clutter.Actor} that is a child of `container`.
|
|
7777
7895
|
* @param property the name of the property to set.
|
|
7778
7896
|
* @param value the value.
|
|
7897
|
+
* @since 0.8
|
|
7779
7898
|
*/
|
|
7780
7899
|
child_get_property(child: Clutter.Actor, property: string, value: GObject.Value | any): void;
|
|
7781
7900
|
|
|
@@ -7785,6 +7904,7 @@ export namespace Meta {
|
|
|
7785
7904
|
* {@link Clutter.Container.SignalSignatures.child_notify | Clutter.Container::child-notify} signal.
|
|
7786
7905
|
* @param child a {@link Clutter.Actor}
|
|
7787
7906
|
* @param pspec a {@link GObject.ParamSpec}
|
|
7907
|
+
* @since 1.6
|
|
7788
7908
|
*/
|
|
7789
7909
|
child_notify(child: Clutter.Actor, pspec: GObject.ParamSpec): void;
|
|
7790
7910
|
|
|
@@ -7793,6 +7913,7 @@ export namespace Meta {
|
|
|
7793
7913
|
* @param child a {@link Clutter.Actor} that is a child of `container`.
|
|
7794
7914
|
* @param property the name of the property to set.
|
|
7795
7915
|
* @param value the value.
|
|
7916
|
+
* @since 0.8
|
|
7796
7917
|
*/
|
|
7797
7918
|
child_set_property(child: Clutter.Actor, property: string, value: GObject.Value | any): void;
|
|
7798
7919
|
|
|
@@ -7807,6 +7928,7 @@ export namespace Meta {
|
|
|
7807
7928
|
*
|
|
7808
7929
|
* Applications should not call this function.
|
|
7809
7930
|
* @param actor a {@link Clutter.Actor}
|
|
7931
|
+
* @since 1.2
|
|
7810
7932
|
*/
|
|
7811
7933
|
create_child_meta(actor: Clutter.Actor): void;
|
|
7812
7934
|
|
|
@@ -7820,6 +7942,7 @@ export namespace Meta {
|
|
|
7820
7942
|
*
|
|
7821
7943
|
* Applications should not call this function.
|
|
7822
7944
|
* @param actor a {@link Clutter.Actor}
|
|
7945
|
+
* @since 1.2
|
|
7823
7946
|
*/
|
|
7824
7947
|
destroy_child_meta(actor: Clutter.Actor): void;
|
|
7825
7948
|
|
|
@@ -7828,6 +7951,7 @@ export namespace Meta {
|
|
|
7828
7951
|
* into any child container.
|
|
7829
7952
|
* @param child_name the name of the requested child.
|
|
7830
7953
|
* @returns The child actor with the requested name, or `null` if no actor with that name was found.
|
|
7954
|
+
* @since 0.6
|
|
7831
7955
|
*/
|
|
7832
7956
|
find_child_by_name(child_name: string): Clutter.Actor;
|
|
7833
7957
|
|
|
@@ -7836,12 +7960,15 @@ export namespace Meta {
|
|
|
7836
7960
|
* `container` specific state for `actor`.
|
|
7837
7961
|
* @param actor a {@link Clutter.Actor} that is a child of `container`.
|
|
7838
7962
|
* @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
|
|
7963
|
+
* @since 0.8
|
|
7839
7964
|
*/
|
|
7840
7965
|
get_child_meta(actor: Clutter.Actor): Clutter.ChildMeta;
|
|
7841
7966
|
|
|
7842
7967
|
/**
|
|
7843
7968
|
* Retrieves all the children of `container`.
|
|
7844
7969
|
* @returns a list of {@link Clutter.Actor}<!-- -->s. Use `g_list_free()` on the returned list when done.
|
|
7970
|
+
* @since 0.4
|
|
7971
|
+
* @deprecated since 1.10: Use `clutter_actor_get_children()` instead.
|
|
7845
7972
|
*/
|
|
7846
7973
|
get_children(): Clutter.Actor[];
|
|
7847
7974
|
|
|
@@ -7853,6 +7980,8 @@ export namespace Meta {
|
|
|
7853
7980
|
* `clutter_actor_set_child_below_sibling()`.
|
|
7854
7981
|
* @param actor the actor to raise
|
|
7855
7982
|
* @param sibling the sibling to lower to, or `null` to lower to the bottom
|
|
7983
|
+
* @since 0.6
|
|
7984
|
+
* @deprecated since 1.10: Use `clutter_actor_set_child_below_sibling()` instead.
|
|
7856
7985
|
*/
|
|
7857
7986
|
lower_child(actor: Clutter.Actor, sibling: Clutter.Actor | null): void;
|
|
7858
7987
|
|
|
@@ -7864,6 +7993,8 @@ export namespace Meta {
|
|
|
7864
7993
|
* `clutter_actor_set_child_above_sibling()`.
|
|
7865
7994
|
* @param actor the actor to raise
|
|
7866
7995
|
* @param sibling the sibling to raise to, or `null` to raise to the top
|
|
7996
|
+
* @since 0.6
|
|
7997
|
+
* @deprecated since 1.10: Use `clutter_actor_set_child_above_sibling()` instead.
|
|
7867
7998
|
*/
|
|
7868
7999
|
raise_child(actor: Clutter.Actor, sibling: Clutter.Actor | null): void;
|
|
7869
8000
|
|
|
@@ -7877,12 +8008,16 @@ export namespace Meta {
|
|
|
7877
8008
|
* deprecated virtual function. The default implementation will call
|
|
7878
8009
|
* `clutter_actor_remove_child()`.
|
|
7879
8010
|
* @param actor a {@link Clutter.Actor}
|
|
8011
|
+
* @since 0.4
|
|
8012
|
+
* @deprecated since 1.10: Use `clutter_actor_remove_child()` instead.
|
|
7880
8013
|
*/
|
|
7881
8014
|
remove_actor(actor: Clutter.Actor): void;
|
|
7882
8015
|
|
|
7883
8016
|
/**
|
|
7884
8017
|
* Sorts a container's children using their depth. This function should not
|
|
7885
8018
|
* be normally used by applications.
|
|
8019
|
+
* @since 0.6
|
|
8020
|
+
* @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.
|
|
7886
8021
|
*/
|
|
7887
8022
|
sort_depth_order(): void;
|
|
7888
8023
|
|
|
@@ -7908,6 +8043,8 @@ export namespace Meta {
|
|
|
7908
8043
|
* deprecated virtual function. The default implementation will
|
|
7909
8044
|
* call `clutter_actor_add_child()`.
|
|
7910
8045
|
* @param actor the first {@link Clutter.Actor} to add
|
|
8046
|
+
* @since 0.4
|
|
8047
|
+
* @deprecated since 1.10: Use `clutter_actor_add_child()` instead.
|
|
7911
8048
|
* @virtual
|
|
7912
8049
|
*/
|
|
7913
8050
|
vfunc_add(actor: Clutter.Actor): void;
|
|
@@ -7918,6 +8055,7 @@ export namespace Meta {
|
|
|
7918
8055
|
* {@link Clutter.Container.SignalSignatures.child_notify | Clutter.Container::child-notify} signal.
|
|
7919
8056
|
* @param child a {@link Clutter.Actor}
|
|
7920
8057
|
* @param pspec a {@link GObject.ParamSpec}
|
|
8058
|
+
* @since 1.6
|
|
7921
8059
|
* @virtual
|
|
7922
8060
|
*/
|
|
7923
8061
|
vfunc_child_notify(child: Clutter.Actor, pspec: GObject.ParamSpec): void;
|
|
@@ -7933,6 +8071,7 @@ export namespace Meta {
|
|
|
7933
8071
|
*
|
|
7934
8072
|
* Applications should not call this function.
|
|
7935
8073
|
* @param actor a {@link Clutter.Actor}
|
|
8074
|
+
* @since 1.2
|
|
7936
8075
|
* @virtual
|
|
7937
8076
|
*/
|
|
7938
8077
|
vfunc_create_child_meta(actor: Clutter.Actor): void;
|
|
@@ -7947,6 +8086,7 @@ export namespace Meta {
|
|
|
7947
8086
|
*
|
|
7948
8087
|
* Applications should not call this function.
|
|
7949
8088
|
* @param actor a {@link Clutter.Actor}
|
|
8089
|
+
* @since 1.2
|
|
7950
8090
|
* @virtual
|
|
7951
8091
|
*/
|
|
7952
8092
|
vfunc_destroy_child_meta(actor: Clutter.Actor): void;
|
|
@@ -7955,6 +8095,7 @@ export namespace Meta {
|
|
|
7955
8095
|
* Retrieves the {@link Clutter.ChildMeta} which contains the data about the
|
|
7956
8096
|
* `container` specific state for `actor`.
|
|
7957
8097
|
* @param actor a {@link Clutter.Actor} that is a child of `container`.
|
|
8098
|
+
* @since 0.8
|
|
7958
8099
|
* @virtual
|
|
7959
8100
|
*/
|
|
7960
8101
|
vfunc_get_child_meta(actor: Clutter.Actor): Clutter.ChildMeta;
|
|
@@ -7967,6 +8108,8 @@ export namespace Meta {
|
|
|
7967
8108
|
* `clutter_actor_set_child_below_sibling()`.
|
|
7968
8109
|
* @param actor the actor to raise
|
|
7969
8110
|
* @param sibling the sibling to lower to, or `null` to lower to the bottom
|
|
8111
|
+
* @since 0.6
|
|
8112
|
+
* @deprecated since 1.10: Use `clutter_actor_set_child_below_sibling()` instead.
|
|
7970
8113
|
* @virtual
|
|
7971
8114
|
*/
|
|
7972
8115
|
vfunc_lower(actor: Clutter.Actor, sibling: Clutter.Actor | null): void;
|
|
@@ -7979,6 +8122,8 @@ export namespace Meta {
|
|
|
7979
8122
|
* `clutter_actor_set_child_above_sibling()`.
|
|
7980
8123
|
* @param actor the actor to raise
|
|
7981
8124
|
* @param sibling the sibling to raise to, or `null` to raise to the top
|
|
8125
|
+
* @since 0.6
|
|
8126
|
+
* @deprecated since 1.10: Use `clutter_actor_set_child_above_sibling()` instead.
|
|
7982
8127
|
* @virtual
|
|
7983
8128
|
*/
|
|
7984
8129
|
vfunc_raise(actor: Clutter.Actor, sibling: Clutter.Actor | null): void;
|
|
@@ -7993,6 +8138,8 @@ export namespace Meta {
|
|
|
7993
8138
|
* deprecated virtual function. The default implementation will call
|
|
7994
8139
|
* `clutter_actor_remove_child()`.
|
|
7995
8140
|
* @param actor a {@link Clutter.Actor}
|
|
8141
|
+
* @since 0.4
|
|
8142
|
+
* @deprecated since 1.10: Use `clutter_actor_remove_child()` instead.
|
|
7996
8143
|
* @virtual
|
|
7997
8144
|
*/
|
|
7998
8145
|
vfunc_remove(actor: Clutter.Actor): void;
|
|
@@ -8000,6 +8147,8 @@ export namespace Meta {
|
|
|
8000
8147
|
/**
|
|
8001
8148
|
* Sorts a container's children using their depth. This function should not
|
|
8002
8149
|
* be normally used by applications.
|
|
8150
|
+
* @since 0.6
|
|
8151
|
+
* @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.
|
|
8003
8152
|
* @virtual
|
|
8004
8153
|
*/
|
|
8005
8154
|
vfunc_sort_depth_order(): void;
|
|
@@ -8007,6 +8156,7 @@ export namespace Meta {
|
|
|
8007
8156
|
/**
|
|
8008
8157
|
* Retrieves the id of `scriptable` set using `clutter_scriptable_set_id()`.
|
|
8009
8158
|
* @returns the id of the object. The returned string is owned by the scriptable object and should never be modified of freed
|
|
8159
|
+
* @since 0.6
|
|
8010
8160
|
*/
|
|
8011
8161
|
get_id(): string;
|
|
8012
8162
|
|
|
@@ -8018,6 +8168,7 @@ export namespace Meta {
|
|
|
8018
8168
|
* @param name the name of the node
|
|
8019
8169
|
* @param node the JSON node to be parsed
|
|
8020
8170
|
* @returns `true` if the node was successfully parsed, `false` otherwise.
|
|
8171
|
+
* @since 0.6
|
|
8021
8172
|
*/
|
|
8022
8173
|
parse_custom_node(script: Clutter.Script, value: GObject.Value | any, name: string, node: Json.Node): boolean;
|
|
8023
8174
|
|
|
@@ -8027,6 +8178,7 @@ export namespace Meta {
|
|
|
8027
8178
|
* @param script the {@link Clutter.Script} creating the scriptable instance
|
|
8028
8179
|
* @param name the name of the property
|
|
8029
8180
|
* @param value the value of the property
|
|
8181
|
+
* @since 0.6
|
|
8030
8182
|
*/
|
|
8031
8183
|
set_custom_property(script: Clutter.Script, name: string, value: GObject.Value | any): void;
|
|
8032
8184
|
|
|
@@ -8038,11 +8190,13 @@ export namespace Meta {
|
|
|
8038
8190
|
* define a unique name for an object constructable using the UI
|
|
8039
8191
|
* definition language parsed by {@link Clutter.Script}.
|
|
8040
8192
|
* @param id_ the {@link Clutter.Script} id of the object
|
|
8193
|
+
* @since 0.6
|
|
8041
8194
|
*/
|
|
8042
8195
|
set_id(id_: string): void;
|
|
8043
8196
|
|
|
8044
8197
|
/**
|
|
8045
8198
|
* Retrieves the id of `scriptable` set using `clutter_scriptable_set_id()`.
|
|
8199
|
+
* @since 0.6
|
|
8046
8200
|
* @virtual
|
|
8047
8201
|
*/
|
|
8048
8202
|
vfunc_get_id(): string;
|
|
@@ -8054,6 +8208,7 @@ export namespace Meta {
|
|
|
8054
8208
|
* @param value the generic value to be set
|
|
8055
8209
|
* @param name the name of the node
|
|
8056
8210
|
* @param node the JSON node to be parsed
|
|
8211
|
+
* @since 0.6
|
|
8057
8212
|
* @virtual
|
|
8058
8213
|
*/
|
|
8059
8214
|
vfunc_parse_custom_node(script: Clutter.Script, value: unknown, name: string, node: Json.Node): boolean;
|
|
@@ -8064,6 +8219,7 @@ export namespace Meta {
|
|
|
8064
8219
|
* @param script the {@link Clutter.Script} creating the scriptable instance
|
|
8065
8220
|
* @param name the name of the property
|
|
8066
8221
|
* @param value the value of the property
|
|
8222
|
+
* @since 0.6
|
|
8067
8223
|
* @virtual
|
|
8068
8224
|
*/
|
|
8069
8225
|
vfunc_set_custom_property(script: Clutter.Script, name: string, value: unknown): void;
|
|
@@ -8076,6 +8232,7 @@ export namespace Meta {
|
|
|
8076
8232
|
* define a unique name for an object constructable using the UI
|
|
8077
8233
|
* definition language parsed by {@link Clutter.Script}.
|
|
8078
8234
|
* @param id_ the {@link Clutter.Script} id of the object
|
|
8235
|
+
* @since 0.6
|
|
8079
8236
|
* @virtual
|
|
8080
8237
|
*/
|
|
8081
8238
|
vfunc_set_id(id_: string): void;
|
|
@@ -8196,6 +8353,7 @@ export namespace Meta {
|
|
|
8196
8353
|
* Finds the {@link GObject.ParamSpec} for `property_name`
|
|
8197
8354
|
* @param property_name the name of the animatable property to find
|
|
8198
8355
|
* @returns The {@link GObject.ParamSpec} for the given property or `null`
|
|
8356
|
+
* @since 1.4
|
|
8199
8357
|
*/
|
|
8200
8358
|
find_property(property_name: string): GObject.ParamSpec;
|
|
8201
8359
|
|
|
@@ -8209,6 +8367,7 @@ export namespace Meta {
|
|
|
8209
8367
|
* Retrieves the current state of `property_name` and sets `value` with it
|
|
8210
8368
|
* @param property_name the name of the animatable property to retrieve
|
|
8211
8369
|
* @param value a {@link GObject.Value} initialized to the type of the property to retrieve
|
|
8370
|
+
* @since 1.4
|
|
8212
8371
|
*/
|
|
8213
8372
|
get_initial_state(property_name: string, value: GObject.Value | any): void;
|
|
8214
8373
|
|
|
@@ -8226,6 +8385,7 @@ export namespace Meta {
|
|
|
8226
8385
|
* @param interval a {@link Clutter.Interval} with the animation range
|
|
8227
8386
|
* @param progress the progress to use to interpolate between the initial and final values of the `interval`
|
|
8228
8387
|
* @returns `true` if the interpolation was successful, and `false` otherwise
|
|
8388
|
+
* @since 1.8
|
|
8229
8389
|
*/
|
|
8230
8390
|
interpolate_value(property_name: string, interval: Clutter.Interval, progress: number): [boolean, unknown];
|
|
8231
8391
|
|
|
@@ -8233,12 +8393,14 @@ export namespace Meta {
|
|
|
8233
8393
|
* Sets the current state of `property_name` to `value`
|
|
8234
8394
|
* @param property_name the name of the animatable property to set
|
|
8235
8395
|
* @param value the value of the animatable property to set
|
|
8396
|
+
* @since 1.4
|
|
8236
8397
|
*/
|
|
8237
8398
|
set_final_state(property_name: string, value: GObject.Value | any): void;
|
|
8238
8399
|
|
|
8239
8400
|
/**
|
|
8240
8401
|
* Finds the {@link GObject.ParamSpec} for `property_name`
|
|
8241
8402
|
* @param property_name the name of the animatable property to find
|
|
8403
|
+
* @since 1.4
|
|
8242
8404
|
* @virtual
|
|
8243
8405
|
*/
|
|
8244
8406
|
vfunc_find_property(property_name: string): GObject.ParamSpec;
|
|
@@ -8253,6 +8415,7 @@ export namespace Meta {
|
|
|
8253
8415
|
* Retrieves the current state of `property_name` and sets `value` with it
|
|
8254
8416
|
* @param property_name the name of the animatable property to retrieve
|
|
8255
8417
|
* @param value a {@link GObject.Value} initialized to the type of the property to retrieve
|
|
8418
|
+
* @since 1.4
|
|
8256
8419
|
* @virtual
|
|
8257
8420
|
*/
|
|
8258
8421
|
vfunc_get_initial_state(property_name: string, value: unknown): void;
|
|
@@ -8270,6 +8433,7 @@ export namespace Meta {
|
|
|
8270
8433
|
* @param property_name the name of the property to interpolate
|
|
8271
8434
|
* @param interval a {@link Clutter.Interval} with the animation range
|
|
8272
8435
|
* @param progress the progress to use to interpolate between the initial and final values of the `interval`
|
|
8436
|
+
* @since 1.8
|
|
8273
8437
|
* @virtual
|
|
8274
8438
|
*/
|
|
8275
8439
|
vfunc_interpolate_value(property_name: string, interval: Clutter.Interval, progress: number): [boolean, GObject.Value | any];
|
|
@@ -8278,6 +8442,7 @@ export namespace Meta {
|
|
|
8278
8442
|
* Sets the current state of `property_name` to `value`
|
|
8279
8443
|
* @param property_name the name of the animatable property to set
|
|
8280
8444
|
* @param value the value of the animatable property to set
|
|
8445
|
+
* @since 1.4
|
|
8281
8446
|
* @virtual
|
|
8282
8447
|
*/
|
|
8283
8448
|
vfunc_set_final_state(property_name: string, value: unknown): void;
|
|
@@ -8292,6 +8457,8 @@ export namespace Meta {
|
|
|
8292
8457
|
* deprecated virtual function. The default implementation will
|
|
8293
8458
|
* call `clutter_actor_add_child()`.
|
|
8294
8459
|
* @param actor the first {@link Clutter.Actor} to add
|
|
8460
|
+
* @since 0.4
|
|
8461
|
+
* @deprecated since 1.10: Use `clutter_actor_add_child()` instead.
|
|
8295
8462
|
*/
|
|
8296
8463
|
add_actor(actor: Clutter.Actor): void;
|
|
8297
8464
|
|
|
@@ -8306,6 +8473,7 @@ export namespace Meta {
|
|
|
8306
8473
|
* @param child a {@link Clutter.Actor} that is a child of `container`.
|
|
8307
8474
|
* @param property the name of the property to set.
|
|
8308
8475
|
* @param value the value.
|
|
8476
|
+
* @since 0.8
|
|
8309
8477
|
*/
|
|
8310
8478
|
child_get_property(child: Clutter.Actor, property: string, value: GObject.Value | any): void;
|
|
8311
8479
|
|
|
@@ -8315,6 +8483,7 @@ export namespace Meta {
|
|
|
8315
8483
|
* {@link Clutter.Container.SignalSignatures.child_notify | Clutter.Container::child-notify} signal.
|
|
8316
8484
|
* @param child a {@link Clutter.Actor}
|
|
8317
8485
|
* @param pspec a {@link GObject.ParamSpec}
|
|
8486
|
+
* @since 1.6
|
|
8318
8487
|
*/
|
|
8319
8488
|
child_notify(child: Clutter.Actor, pspec: GObject.ParamSpec): void;
|
|
8320
8489
|
|
|
@@ -8323,6 +8492,7 @@ export namespace Meta {
|
|
|
8323
8492
|
* @param child a {@link Clutter.Actor} that is a child of `container`.
|
|
8324
8493
|
* @param property the name of the property to set.
|
|
8325
8494
|
* @param value the value.
|
|
8495
|
+
* @since 0.8
|
|
8326
8496
|
*/
|
|
8327
8497
|
child_set_property(child: Clutter.Actor, property: string, value: GObject.Value | any): void;
|
|
8328
8498
|
|
|
@@ -8337,6 +8507,7 @@ export namespace Meta {
|
|
|
8337
8507
|
*
|
|
8338
8508
|
* Applications should not call this function.
|
|
8339
8509
|
* @param actor a {@link Clutter.Actor}
|
|
8510
|
+
* @since 1.2
|
|
8340
8511
|
*/
|
|
8341
8512
|
create_child_meta(actor: Clutter.Actor): void;
|
|
8342
8513
|
|
|
@@ -8350,6 +8521,7 @@ export namespace Meta {
|
|
|
8350
8521
|
*
|
|
8351
8522
|
* Applications should not call this function.
|
|
8352
8523
|
* @param actor a {@link Clutter.Actor}
|
|
8524
|
+
* @since 1.2
|
|
8353
8525
|
*/
|
|
8354
8526
|
destroy_child_meta(actor: Clutter.Actor): void;
|
|
8355
8527
|
|
|
@@ -8358,6 +8530,7 @@ export namespace Meta {
|
|
|
8358
8530
|
* into any child container.
|
|
8359
8531
|
* @param child_name the name of the requested child.
|
|
8360
8532
|
* @returns The child actor with the requested name, or `null` if no actor with that name was found.
|
|
8533
|
+
* @since 0.6
|
|
8361
8534
|
*/
|
|
8362
8535
|
find_child_by_name(child_name: string): Clutter.Actor;
|
|
8363
8536
|
|
|
@@ -8366,12 +8539,15 @@ export namespace Meta {
|
|
|
8366
8539
|
* `container` specific state for `actor`.
|
|
8367
8540
|
* @param actor a {@link Clutter.Actor} that is a child of `container`.
|
|
8368
8541
|
* @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
|
|
8542
|
+
* @since 0.8
|
|
8369
8543
|
*/
|
|
8370
8544
|
get_child_meta(actor: Clutter.Actor): Clutter.ChildMeta;
|
|
8371
8545
|
|
|
8372
8546
|
/**
|
|
8373
8547
|
* Retrieves all the children of `container`.
|
|
8374
8548
|
* @returns a list of {@link Clutter.Actor}<!-- -->s. Use `g_list_free()` on the returned list when done.
|
|
8549
|
+
* @since 0.4
|
|
8550
|
+
* @deprecated since 1.10: Use `clutter_actor_get_children()` instead.
|
|
8375
8551
|
*/
|
|
8376
8552
|
get_children(): Clutter.Actor[];
|
|
8377
8553
|
|
|
@@ -8383,6 +8559,8 @@ export namespace Meta {
|
|
|
8383
8559
|
* `clutter_actor_set_child_below_sibling()`.
|
|
8384
8560
|
* @param actor the actor to raise
|
|
8385
8561
|
* @param sibling the sibling to lower to, or `null` to lower to the bottom
|
|
8562
|
+
* @since 0.6
|
|
8563
|
+
* @deprecated since 1.10: Use `clutter_actor_set_child_below_sibling()` instead.
|
|
8386
8564
|
*/
|
|
8387
8565
|
lower_child(actor: Clutter.Actor, sibling: Clutter.Actor | null): void;
|
|
8388
8566
|
|
|
@@ -8394,6 +8572,8 @@ export namespace Meta {
|
|
|
8394
8572
|
* `clutter_actor_set_child_above_sibling()`.
|
|
8395
8573
|
* @param actor the actor to raise
|
|
8396
8574
|
* @param sibling the sibling to raise to, or `null` to raise to the top
|
|
8575
|
+
* @since 0.6
|
|
8576
|
+
* @deprecated since 1.10: Use `clutter_actor_set_child_above_sibling()` instead.
|
|
8397
8577
|
*/
|
|
8398
8578
|
raise_child(actor: Clutter.Actor, sibling: Clutter.Actor | null): void;
|
|
8399
8579
|
|
|
@@ -8407,12 +8587,16 @@ export namespace Meta {
|
|
|
8407
8587
|
* deprecated virtual function. The default implementation will call
|
|
8408
8588
|
* `clutter_actor_remove_child()`.
|
|
8409
8589
|
* @param actor a {@link Clutter.Actor}
|
|
8590
|
+
* @since 0.4
|
|
8591
|
+
* @deprecated since 1.10: Use `clutter_actor_remove_child()` instead.
|
|
8410
8592
|
*/
|
|
8411
8593
|
remove_actor(actor: Clutter.Actor): void;
|
|
8412
8594
|
|
|
8413
8595
|
/**
|
|
8414
8596
|
* Sorts a container's children using their depth. This function should not
|
|
8415
8597
|
* be normally used by applications.
|
|
8598
|
+
* @since 0.6
|
|
8599
|
+
* @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.
|
|
8416
8600
|
*/
|
|
8417
8601
|
sort_depth_order(): void;
|
|
8418
8602
|
|
|
@@ -8438,6 +8622,8 @@ export namespace Meta {
|
|
|
8438
8622
|
* deprecated virtual function. The default implementation will
|
|
8439
8623
|
* call `clutter_actor_add_child()`.
|
|
8440
8624
|
* @param actor the first {@link Clutter.Actor} to add
|
|
8625
|
+
* @since 0.4
|
|
8626
|
+
* @deprecated since 1.10: Use `clutter_actor_add_child()` instead.
|
|
8441
8627
|
* @virtual
|
|
8442
8628
|
*/
|
|
8443
8629
|
vfunc_add(actor: Clutter.Actor): void;
|
|
@@ -8448,6 +8634,7 @@ export namespace Meta {
|
|
|
8448
8634
|
* {@link Clutter.Container.SignalSignatures.child_notify | Clutter.Container::child-notify} signal.
|
|
8449
8635
|
* @param child a {@link Clutter.Actor}
|
|
8450
8636
|
* @param pspec a {@link GObject.ParamSpec}
|
|
8637
|
+
* @since 1.6
|
|
8451
8638
|
* @virtual
|
|
8452
8639
|
*/
|
|
8453
8640
|
vfunc_child_notify(child: Clutter.Actor, pspec: GObject.ParamSpec): void;
|
|
@@ -8463,6 +8650,7 @@ export namespace Meta {
|
|
|
8463
8650
|
*
|
|
8464
8651
|
* Applications should not call this function.
|
|
8465
8652
|
* @param actor a {@link Clutter.Actor}
|
|
8653
|
+
* @since 1.2
|
|
8466
8654
|
* @virtual
|
|
8467
8655
|
*/
|
|
8468
8656
|
vfunc_create_child_meta(actor: Clutter.Actor): void;
|
|
@@ -8477,6 +8665,7 @@ export namespace Meta {
|
|
|
8477
8665
|
*
|
|
8478
8666
|
* Applications should not call this function.
|
|
8479
8667
|
* @param actor a {@link Clutter.Actor}
|
|
8668
|
+
* @since 1.2
|
|
8480
8669
|
* @virtual
|
|
8481
8670
|
*/
|
|
8482
8671
|
vfunc_destroy_child_meta(actor: Clutter.Actor): void;
|
|
@@ -8485,6 +8674,7 @@ export namespace Meta {
|
|
|
8485
8674
|
* Retrieves the {@link Clutter.ChildMeta} which contains the data about the
|
|
8486
8675
|
* `container` specific state for `actor`.
|
|
8487
8676
|
* @param actor a {@link Clutter.Actor} that is a child of `container`.
|
|
8677
|
+
* @since 0.8
|
|
8488
8678
|
* @virtual
|
|
8489
8679
|
*/
|
|
8490
8680
|
vfunc_get_child_meta(actor: Clutter.Actor): Clutter.ChildMeta;
|
|
@@ -8497,6 +8687,8 @@ export namespace Meta {
|
|
|
8497
8687
|
* `clutter_actor_set_child_below_sibling()`.
|
|
8498
8688
|
* @param actor the actor to raise
|
|
8499
8689
|
* @param sibling the sibling to lower to, or `null` to lower to the bottom
|
|
8690
|
+
* @since 0.6
|
|
8691
|
+
* @deprecated since 1.10: Use `clutter_actor_set_child_below_sibling()` instead.
|
|
8500
8692
|
* @virtual
|
|
8501
8693
|
*/
|
|
8502
8694
|
vfunc_lower(actor: Clutter.Actor, sibling: Clutter.Actor | null): void;
|
|
@@ -8509,6 +8701,8 @@ export namespace Meta {
|
|
|
8509
8701
|
* `clutter_actor_set_child_above_sibling()`.
|
|
8510
8702
|
* @param actor the actor to raise
|
|
8511
8703
|
* @param sibling the sibling to raise to, or `null` to raise to the top
|
|
8704
|
+
* @since 0.6
|
|
8705
|
+
* @deprecated since 1.10: Use `clutter_actor_set_child_above_sibling()` instead.
|
|
8512
8706
|
* @virtual
|
|
8513
8707
|
*/
|
|
8514
8708
|
vfunc_raise(actor: Clutter.Actor, sibling: Clutter.Actor | null): void;
|
|
@@ -8523,6 +8717,8 @@ export namespace Meta {
|
|
|
8523
8717
|
* deprecated virtual function. The default implementation will call
|
|
8524
8718
|
* `clutter_actor_remove_child()`.
|
|
8525
8719
|
* @param actor a {@link Clutter.Actor}
|
|
8720
|
+
* @since 0.4
|
|
8721
|
+
* @deprecated since 1.10: Use `clutter_actor_remove_child()` instead.
|
|
8526
8722
|
* @virtual
|
|
8527
8723
|
*/
|
|
8528
8724
|
vfunc_remove(actor: Clutter.Actor): void;
|
|
@@ -8530,6 +8726,8 @@ export namespace Meta {
|
|
|
8530
8726
|
/**
|
|
8531
8727
|
* Sorts a container's children using their depth. This function should not
|
|
8532
8728
|
* be normally used by applications.
|
|
8729
|
+
* @since 0.6
|
|
8730
|
+
* @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.
|
|
8533
8731
|
* @virtual
|
|
8534
8732
|
*/
|
|
8535
8733
|
vfunc_sort_depth_order(): void;
|
|
@@ -8537,6 +8735,7 @@ export namespace Meta {
|
|
|
8537
8735
|
/**
|
|
8538
8736
|
* Retrieves the id of `scriptable` set using `clutter_scriptable_set_id()`.
|
|
8539
8737
|
* @returns the id of the object. The returned string is owned by the scriptable object and should never be modified of freed
|
|
8738
|
+
* @since 0.6
|
|
8540
8739
|
*/
|
|
8541
8740
|
get_id(): string;
|
|
8542
8741
|
|
|
@@ -8548,6 +8747,7 @@ export namespace Meta {
|
|
|
8548
8747
|
* @param name the name of the node
|
|
8549
8748
|
* @param node the JSON node to be parsed
|
|
8550
8749
|
* @returns `true` if the node was successfully parsed, `false` otherwise.
|
|
8750
|
+
* @since 0.6
|
|
8551
8751
|
*/
|
|
8552
8752
|
parse_custom_node(script: Clutter.Script, value: GObject.Value | any, name: string, node: Json.Node): boolean;
|
|
8553
8753
|
|
|
@@ -8557,6 +8757,7 @@ export namespace Meta {
|
|
|
8557
8757
|
* @param script the {@link Clutter.Script} creating the scriptable instance
|
|
8558
8758
|
* @param name the name of the property
|
|
8559
8759
|
* @param value the value of the property
|
|
8760
|
+
* @since 0.6
|
|
8560
8761
|
*/
|
|
8561
8762
|
set_custom_property(script: Clutter.Script, name: string, value: GObject.Value | any): void;
|
|
8562
8763
|
|
|
@@ -8568,11 +8769,13 @@ export namespace Meta {
|
|
|
8568
8769
|
* define a unique name for an object constructable using the UI
|
|
8569
8770
|
* definition language parsed by {@link Clutter.Script}.
|
|
8570
8771
|
* @param id_ the {@link Clutter.Script} id of the object
|
|
8772
|
+
* @since 0.6
|
|
8571
8773
|
*/
|
|
8572
8774
|
set_id(id_: string): void;
|
|
8573
8775
|
|
|
8574
8776
|
/**
|
|
8575
8777
|
* Retrieves the id of `scriptable` set using `clutter_scriptable_set_id()`.
|
|
8778
|
+
* @since 0.6
|
|
8576
8779
|
* @virtual
|
|
8577
8780
|
*/
|
|
8578
8781
|
vfunc_get_id(): string;
|
|
@@ -8584,6 +8787,7 @@ export namespace Meta {
|
|
|
8584
8787
|
* @param value the generic value to be set
|
|
8585
8788
|
* @param name the name of the node
|
|
8586
8789
|
* @param node the JSON node to be parsed
|
|
8790
|
+
* @since 0.6
|
|
8587
8791
|
* @virtual
|
|
8588
8792
|
*/
|
|
8589
8793
|
vfunc_parse_custom_node(script: Clutter.Script, value: unknown, name: string, node: Json.Node): boolean;
|
|
@@ -8594,6 +8798,7 @@ export namespace Meta {
|
|
|
8594
8798
|
* @param script the {@link Clutter.Script} creating the scriptable instance
|
|
8595
8799
|
* @param name the name of the property
|
|
8596
8800
|
* @param value the value of the property
|
|
8801
|
+
* @since 0.6
|
|
8597
8802
|
* @virtual
|
|
8598
8803
|
*/
|
|
8599
8804
|
vfunc_set_custom_property(script: Clutter.Script, name: string, value: unknown): void;
|
|
@@ -8606,6 +8811,7 @@ export namespace Meta {
|
|
|
8606
8811
|
* define a unique name for an object constructable using the UI
|
|
8607
8812
|
* definition language parsed by {@link Clutter.Script}.
|
|
8608
8813
|
* @param id_ the {@link Clutter.Script} id of the object
|
|
8814
|
+
* @since 0.6
|
|
8609
8815
|
* @virtual
|
|
8610
8816
|
*/
|
|
8611
8817
|
vfunc_set_id(id_: string): void;
|