@girs/meta-9 4.3.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 +1 -1
- package/meta-9.d.ts +206 -0
- package/package.json +24 -24
package/README.md
CHANGED
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|

|
|
6
6
|
|
|
7
7
|
|
|
8
|
-
GJS TypeScript type definitions for Meta-9 using [ts-for-gir](https://github.com/gjsify/ts-for-gir) v4.
|
|
8
|
+
GJS TypeScript type definitions for Meta-9 using [ts-for-gir](https://github.com/gjsify/ts-for-gir) v4.4.0.
|
|
9
9
|
|
|
10
10
|
## Install
|
|
11
11
|
|
package/meta-9.d.ts
CHANGED
|
@@ -2507,6 +2507,7 @@ export namespace Meta {
|
|
|
2507
2507
|
* instance.
|
|
2508
2508
|
* @param cancellable optional {@link Gio.Cancellable} object, `null` to ignore.
|
|
2509
2509
|
* @returns `true` if successful. If an error has occurred, this function will return `false` and set `error` appropriately if present.
|
|
2510
|
+
* @since 2.22
|
|
2510
2511
|
*/
|
|
2511
2512
|
init(cancellable: Gio.Cancellable | null): boolean;
|
|
2512
2513
|
|
|
@@ -2550,6 +2551,7 @@ export namespace Meta {
|
|
|
2550
2551
|
* on the result of `g_object_new()`, regardless of whether it is in fact a new
|
|
2551
2552
|
* instance.
|
|
2552
2553
|
* @param cancellable optional {@link Gio.Cancellable} object, `null` to ignore.
|
|
2554
|
+
* @since 2.22
|
|
2553
2555
|
* @virtual
|
|
2554
2556
|
*/
|
|
2555
2557
|
vfunc_init(cancellable: Gio.Cancellable | null): boolean;
|
|
@@ -2802,6 +2804,7 @@ export namespace Meta {
|
|
|
2802
2804
|
* Finds the {@link GObject.ParamSpec} for `property_name`
|
|
2803
2805
|
* @param property_name the name of the animatable property to find
|
|
2804
2806
|
* @returns The {@link GObject.ParamSpec} for the given property or `null`
|
|
2807
|
+
* @since 1.4
|
|
2805
2808
|
*/
|
|
2806
2809
|
find_property(property_name: string): GObject.ParamSpec;
|
|
2807
2810
|
|
|
@@ -2815,6 +2818,7 @@ export namespace Meta {
|
|
|
2815
2818
|
* Retrieves the current state of `property_name` and sets `value` with it
|
|
2816
2819
|
* @param property_name the name of the animatable property to retrieve
|
|
2817
2820
|
* @param value a {@link GObject.Value} initialized to the type of the property to retrieve
|
|
2821
|
+
* @since 1.4
|
|
2818
2822
|
*/
|
|
2819
2823
|
get_initial_state(property_name: string, value: GObject.Value | any): void;
|
|
2820
2824
|
|
|
@@ -2832,6 +2836,7 @@ export namespace Meta {
|
|
|
2832
2836
|
* @param interval a {@link Clutter.Interval} with the animation range
|
|
2833
2837
|
* @param progress the progress to use to interpolate between the initial and final values of the `interval`
|
|
2834
2838
|
* @returns `true` if the interpolation was successful, and `false` otherwise
|
|
2839
|
+
* @since 1.8
|
|
2835
2840
|
*/
|
|
2836
2841
|
interpolate_value(property_name: string, interval: Clutter.Interval, progress: number): [boolean, unknown];
|
|
2837
2842
|
|
|
@@ -2839,12 +2844,14 @@ export namespace Meta {
|
|
|
2839
2844
|
* Sets the current state of `property_name` to `value`
|
|
2840
2845
|
* @param property_name the name of the animatable property to set
|
|
2841
2846
|
* @param value the value of the animatable property to set
|
|
2847
|
+
* @since 1.4
|
|
2842
2848
|
*/
|
|
2843
2849
|
set_final_state(property_name: string, value: GObject.Value | any): void;
|
|
2844
2850
|
|
|
2845
2851
|
/**
|
|
2846
2852
|
* Finds the {@link GObject.ParamSpec} for `property_name`
|
|
2847
2853
|
* @param property_name the name of the animatable property to find
|
|
2854
|
+
* @since 1.4
|
|
2848
2855
|
* @virtual
|
|
2849
2856
|
*/
|
|
2850
2857
|
vfunc_find_property(property_name: string): GObject.ParamSpec;
|
|
@@ -2859,6 +2866,7 @@ export namespace Meta {
|
|
|
2859
2866
|
* Retrieves the current state of `property_name` and sets `value` with it
|
|
2860
2867
|
* @param property_name the name of the animatable property to retrieve
|
|
2861
2868
|
* @param value a {@link GObject.Value} initialized to the type of the property to retrieve
|
|
2869
|
+
* @since 1.4
|
|
2862
2870
|
* @virtual
|
|
2863
2871
|
*/
|
|
2864
2872
|
vfunc_get_initial_state(property_name: string, value: unknown): void;
|
|
@@ -2876,6 +2884,7 @@ export namespace Meta {
|
|
|
2876
2884
|
* @param property_name the name of the property to interpolate
|
|
2877
2885
|
* @param interval a {@link Clutter.Interval} with the animation range
|
|
2878
2886
|
* @param progress the progress to use to interpolate between the initial and final values of the `interval`
|
|
2887
|
+
* @since 1.8
|
|
2879
2888
|
* @virtual
|
|
2880
2889
|
*/
|
|
2881
2890
|
vfunc_interpolate_value(property_name: string, interval: Clutter.Interval, progress: number): [boolean, GObject.Value | any];
|
|
@@ -2884,6 +2893,7 @@ export namespace Meta {
|
|
|
2884
2893
|
* Sets the current state of `property_name` to `value`
|
|
2885
2894
|
* @param property_name the name of the animatable property to set
|
|
2886
2895
|
* @param value the value of the animatable property to set
|
|
2896
|
+
* @since 1.4
|
|
2887
2897
|
* @virtual
|
|
2888
2898
|
*/
|
|
2889
2899
|
vfunc_set_final_state(property_name: string, value: unknown): void;
|
|
@@ -2898,6 +2908,8 @@ export namespace Meta {
|
|
|
2898
2908
|
* deprecated virtual function. The default implementation will
|
|
2899
2909
|
* call `clutter_actor_add_child()`.
|
|
2900
2910
|
* @param actor the first {@link Clutter.Actor} to add
|
|
2911
|
+
* @since 0.4
|
|
2912
|
+
* @deprecated since 1.10: Use `clutter_actor_add_child()` instead.
|
|
2901
2913
|
*/
|
|
2902
2914
|
add_actor(actor: Clutter.Actor): void;
|
|
2903
2915
|
|
|
@@ -2912,6 +2924,7 @@ export namespace Meta {
|
|
|
2912
2924
|
* @param child a {@link Clutter.Actor} that is a child of `container`.
|
|
2913
2925
|
* @param property the name of the property to set.
|
|
2914
2926
|
* @param value the value.
|
|
2927
|
+
* @since 0.8
|
|
2915
2928
|
*/
|
|
2916
2929
|
child_get_property(child: Clutter.Actor, property: string, value: GObject.Value | any): void;
|
|
2917
2930
|
|
|
@@ -2921,6 +2934,7 @@ export namespace Meta {
|
|
|
2921
2934
|
* {@link Clutter.Container.SignalSignatures.child_notify | Clutter.Container::child-notify} signal.
|
|
2922
2935
|
* @param child a {@link Clutter.Actor}
|
|
2923
2936
|
* @param pspec a {@link GObject.ParamSpec}
|
|
2937
|
+
* @since 1.6
|
|
2924
2938
|
*/
|
|
2925
2939
|
child_notify(child: Clutter.Actor, pspec: GObject.ParamSpec): void;
|
|
2926
2940
|
|
|
@@ -2929,6 +2943,7 @@ export namespace Meta {
|
|
|
2929
2943
|
* @param child a {@link Clutter.Actor} that is a child of `container`.
|
|
2930
2944
|
* @param property the name of the property to set.
|
|
2931
2945
|
* @param value the value.
|
|
2946
|
+
* @since 0.8
|
|
2932
2947
|
*/
|
|
2933
2948
|
child_set_property(child: Clutter.Actor, property: string, value: GObject.Value | any): void;
|
|
2934
2949
|
|
|
@@ -2943,6 +2958,7 @@ export namespace Meta {
|
|
|
2943
2958
|
*
|
|
2944
2959
|
* Applications should not call this function.
|
|
2945
2960
|
* @param actor a {@link Clutter.Actor}
|
|
2961
|
+
* @since 1.2
|
|
2946
2962
|
*/
|
|
2947
2963
|
create_child_meta(actor: Clutter.Actor): void;
|
|
2948
2964
|
|
|
@@ -2956,6 +2972,7 @@ export namespace Meta {
|
|
|
2956
2972
|
*
|
|
2957
2973
|
* Applications should not call this function.
|
|
2958
2974
|
* @param actor a {@link Clutter.Actor}
|
|
2975
|
+
* @since 1.2
|
|
2959
2976
|
*/
|
|
2960
2977
|
destroy_child_meta(actor: Clutter.Actor): void;
|
|
2961
2978
|
|
|
@@ -2964,6 +2981,7 @@ export namespace Meta {
|
|
|
2964
2981
|
* into any child container.
|
|
2965
2982
|
* @param child_name the name of the requested child.
|
|
2966
2983
|
* @returns The child actor with the requested name, or `null` if no actor with that name was found.
|
|
2984
|
+
* @since 0.6
|
|
2967
2985
|
*/
|
|
2968
2986
|
find_child_by_name(child_name: string): Clutter.Actor;
|
|
2969
2987
|
|
|
@@ -2972,12 +2990,15 @@ export namespace Meta {
|
|
|
2972
2990
|
* `container` specific state for `actor`.
|
|
2973
2991
|
* @param actor a {@link Clutter.Actor} that is a child of `container`.
|
|
2974
2992
|
* @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
|
|
2993
|
+
* @since 0.8
|
|
2975
2994
|
*/
|
|
2976
2995
|
get_child_meta(actor: Clutter.Actor): Clutter.ChildMeta;
|
|
2977
2996
|
|
|
2978
2997
|
/**
|
|
2979
2998
|
* Retrieves all the children of `container`.
|
|
2980
2999
|
* @returns a list of {@link Clutter.Actor}<!-- -->s. Use `g_list_free()` on the returned list when done.
|
|
3000
|
+
* @since 0.4
|
|
3001
|
+
* @deprecated since 1.10: Use `clutter_actor_get_children()` instead.
|
|
2981
3002
|
*/
|
|
2982
3003
|
get_children(): Clutter.Actor[];
|
|
2983
3004
|
|
|
@@ -2989,6 +3010,8 @@ export namespace Meta {
|
|
|
2989
3010
|
* `clutter_actor_set_child_below_sibling()`.
|
|
2990
3011
|
* @param actor the actor to raise
|
|
2991
3012
|
* @param sibling the sibling to lower to, or `null` to lower to the bottom
|
|
3013
|
+
* @since 0.6
|
|
3014
|
+
* @deprecated since 1.10: Use `clutter_actor_set_child_below_sibling()` instead.
|
|
2992
3015
|
*/
|
|
2993
3016
|
lower_child(actor: Clutter.Actor, sibling: Clutter.Actor | null): void;
|
|
2994
3017
|
|
|
@@ -3000,6 +3023,8 @@ export namespace Meta {
|
|
|
3000
3023
|
* `clutter_actor_set_child_above_sibling()`.
|
|
3001
3024
|
* @param actor the actor to raise
|
|
3002
3025
|
* @param sibling the sibling to raise to, or `null` to raise to the top
|
|
3026
|
+
* @since 0.6
|
|
3027
|
+
* @deprecated since 1.10: Use `clutter_actor_set_child_above_sibling()` instead.
|
|
3003
3028
|
*/
|
|
3004
3029
|
raise_child(actor: Clutter.Actor, sibling: Clutter.Actor | null): void;
|
|
3005
3030
|
|
|
@@ -3013,12 +3038,16 @@ export namespace Meta {
|
|
|
3013
3038
|
* deprecated virtual function. The default implementation will call
|
|
3014
3039
|
* `clutter_actor_remove_child()`.
|
|
3015
3040
|
* @param actor a {@link Clutter.Actor}
|
|
3041
|
+
* @since 0.4
|
|
3042
|
+
* @deprecated since 1.10: Use `clutter_actor_remove_child()` instead.
|
|
3016
3043
|
*/
|
|
3017
3044
|
remove_actor(actor: Clutter.Actor): void;
|
|
3018
3045
|
|
|
3019
3046
|
/**
|
|
3020
3047
|
* Sorts a container's children using their depth. This function should not
|
|
3021
3048
|
* be normally used by applications.
|
|
3049
|
+
* @since 0.6
|
|
3050
|
+
* @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.
|
|
3022
3051
|
*/
|
|
3023
3052
|
sort_depth_order(): void;
|
|
3024
3053
|
|
|
@@ -3044,6 +3073,8 @@ export namespace Meta {
|
|
|
3044
3073
|
* deprecated virtual function. The default implementation will
|
|
3045
3074
|
* call `clutter_actor_add_child()`.
|
|
3046
3075
|
* @param actor the first {@link Clutter.Actor} to add
|
|
3076
|
+
* @since 0.4
|
|
3077
|
+
* @deprecated since 1.10: Use `clutter_actor_add_child()` instead.
|
|
3047
3078
|
* @virtual
|
|
3048
3079
|
*/
|
|
3049
3080
|
vfunc_add(actor: Clutter.Actor): void;
|
|
@@ -3054,6 +3085,7 @@ export namespace Meta {
|
|
|
3054
3085
|
* {@link Clutter.Container.SignalSignatures.child_notify | Clutter.Container::child-notify} signal.
|
|
3055
3086
|
* @param child a {@link Clutter.Actor}
|
|
3056
3087
|
* @param pspec a {@link GObject.ParamSpec}
|
|
3088
|
+
* @since 1.6
|
|
3057
3089
|
* @virtual
|
|
3058
3090
|
*/
|
|
3059
3091
|
vfunc_child_notify(child: Clutter.Actor, pspec: GObject.ParamSpec): void;
|
|
@@ -3069,6 +3101,7 @@ export namespace Meta {
|
|
|
3069
3101
|
*
|
|
3070
3102
|
* Applications should not call this function.
|
|
3071
3103
|
* @param actor a {@link Clutter.Actor}
|
|
3104
|
+
* @since 1.2
|
|
3072
3105
|
* @virtual
|
|
3073
3106
|
*/
|
|
3074
3107
|
vfunc_create_child_meta(actor: Clutter.Actor): void;
|
|
@@ -3083,6 +3116,7 @@ export namespace Meta {
|
|
|
3083
3116
|
*
|
|
3084
3117
|
* Applications should not call this function.
|
|
3085
3118
|
* @param actor a {@link Clutter.Actor}
|
|
3119
|
+
* @since 1.2
|
|
3086
3120
|
* @virtual
|
|
3087
3121
|
*/
|
|
3088
3122
|
vfunc_destroy_child_meta(actor: Clutter.Actor): void;
|
|
@@ -3091,6 +3125,7 @@ export namespace Meta {
|
|
|
3091
3125
|
* Retrieves the {@link Clutter.ChildMeta} which contains the data about the
|
|
3092
3126
|
* `container` specific state for `actor`.
|
|
3093
3127
|
* @param actor a {@link Clutter.Actor} that is a child of `container`.
|
|
3128
|
+
* @since 0.8
|
|
3094
3129
|
* @virtual
|
|
3095
3130
|
*/
|
|
3096
3131
|
vfunc_get_child_meta(actor: Clutter.Actor): Clutter.ChildMeta;
|
|
@@ -3103,6 +3138,8 @@ export namespace Meta {
|
|
|
3103
3138
|
* `clutter_actor_set_child_below_sibling()`.
|
|
3104
3139
|
* @param actor the actor to raise
|
|
3105
3140
|
* @param sibling the sibling to lower to, or `null` to lower to the bottom
|
|
3141
|
+
* @since 0.6
|
|
3142
|
+
* @deprecated since 1.10: Use `clutter_actor_set_child_below_sibling()` instead.
|
|
3106
3143
|
* @virtual
|
|
3107
3144
|
*/
|
|
3108
3145
|
vfunc_lower(actor: Clutter.Actor, sibling: Clutter.Actor | null): void;
|
|
@@ -3115,6 +3152,8 @@ export namespace Meta {
|
|
|
3115
3152
|
* `clutter_actor_set_child_above_sibling()`.
|
|
3116
3153
|
* @param actor the actor to raise
|
|
3117
3154
|
* @param sibling the sibling to raise to, or `null` to raise to the top
|
|
3155
|
+
* @since 0.6
|
|
3156
|
+
* @deprecated since 1.10: Use `clutter_actor_set_child_above_sibling()` instead.
|
|
3118
3157
|
* @virtual
|
|
3119
3158
|
*/
|
|
3120
3159
|
vfunc_raise(actor: Clutter.Actor, sibling: Clutter.Actor | null): void;
|
|
@@ -3129,6 +3168,8 @@ export namespace Meta {
|
|
|
3129
3168
|
* deprecated virtual function. The default implementation will call
|
|
3130
3169
|
* `clutter_actor_remove_child()`.
|
|
3131
3170
|
* @param actor a {@link Clutter.Actor}
|
|
3171
|
+
* @since 0.4
|
|
3172
|
+
* @deprecated since 1.10: Use `clutter_actor_remove_child()` instead.
|
|
3132
3173
|
* @virtual
|
|
3133
3174
|
*/
|
|
3134
3175
|
vfunc_remove(actor: Clutter.Actor): void;
|
|
@@ -3136,6 +3177,8 @@ export namespace Meta {
|
|
|
3136
3177
|
/**
|
|
3137
3178
|
* Sorts a container's children using their depth. This function should not
|
|
3138
3179
|
* be normally used by applications.
|
|
3180
|
+
* @since 0.6
|
|
3181
|
+
* @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.
|
|
3139
3182
|
* @virtual
|
|
3140
3183
|
*/
|
|
3141
3184
|
vfunc_sort_depth_order(): void;
|
|
@@ -3143,6 +3186,7 @@ export namespace Meta {
|
|
|
3143
3186
|
/**
|
|
3144
3187
|
* Retrieves the id of `scriptable` set using `clutter_scriptable_set_id()`.
|
|
3145
3188
|
* @returns the id of the object. The returned string is owned by the scriptable object and should never be modified of freed
|
|
3189
|
+
* @since 0.6
|
|
3146
3190
|
*/
|
|
3147
3191
|
get_id(): string;
|
|
3148
3192
|
|
|
@@ -3154,6 +3198,7 @@ export namespace Meta {
|
|
|
3154
3198
|
* @param name the name of the node
|
|
3155
3199
|
* @param node the JSON node to be parsed
|
|
3156
3200
|
* @returns `true` if the node was successfully parsed, `false` otherwise.
|
|
3201
|
+
* @since 0.6
|
|
3157
3202
|
*/
|
|
3158
3203
|
parse_custom_node(script: Clutter.Script, value: GObject.Value | any, name: string, node: Json.Node): boolean;
|
|
3159
3204
|
|
|
@@ -3163,6 +3208,7 @@ export namespace Meta {
|
|
|
3163
3208
|
* @param script the {@link Clutter.Script} creating the scriptable instance
|
|
3164
3209
|
* @param name the name of the property
|
|
3165
3210
|
* @param value the value of the property
|
|
3211
|
+
* @since 0.6
|
|
3166
3212
|
*/
|
|
3167
3213
|
set_custom_property(script: Clutter.Script, name: string, value: GObject.Value | any): void;
|
|
3168
3214
|
|
|
@@ -3174,11 +3220,13 @@ export namespace Meta {
|
|
|
3174
3220
|
* define a unique name for an object constructable using the UI
|
|
3175
3221
|
* definition language parsed by {@link Clutter.Script}.
|
|
3176
3222
|
* @param id_ the {@link Clutter.Script} id of the object
|
|
3223
|
+
* @since 0.6
|
|
3177
3224
|
*/
|
|
3178
3225
|
set_id(id_: string): void;
|
|
3179
3226
|
|
|
3180
3227
|
/**
|
|
3181
3228
|
* Retrieves the id of `scriptable` set using `clutter_scriptable_set_id()`.
|
|
3229
|
+
* @since 0.6
|
|
3182
3230
|
* @virtual
|
|
3183
3231
|
*/
|
|
3184
3232
|
vfunc_get_id(): string;
|
|
@@ -3190,6 +3238,7 @@ export namespace Meta {
|
|
|
3190
3238
|
* @param value the generic value to be set
|
|
3191
3239
|
* @param name the name of the node
|
|
3192
3240
|
* @param node the JSON node to be parsed
|
|
3241
|
+
* @since 0.6
|
|
3193
3242
|
* @virtual
|
|
3194
3243
|
*/
|
|
3195
3244
|
vfunc_parse_custom_node(script: Clutter.Script, value: unknown, name: string, node: Json.Node): boolean;
|
|
@@ -3200,6 +3249,7 @@ export namespace Meta {
|
|
|
3200
3249
|
* @param script the {@link Clutter.Script} creating the scriptable instance
|
|
3201
3250
|
* @param name the name of the property
|
|
3202
3251
|
* @param value the value of the property
|
|
3252
|
+
* @since 0.6
|
|
3203
3253
|
* @virtual
|
|
3204
3254
|
*/
|
|
3205
3255
|
vfunc_set_custom_property(script: Clutter.Script, name: string, value: unknown): void;
|
|
@@ -3212,6 +3262,7 @@ export namespace Meta {
|
|
|
3212
3262
|
* define a unique name for an object constructable using the UI
|
|
3213
3263
|
* definition language parsed by {@link Clutter.Script}.
|
|
3214
3264
|
* @param id_ the {@link Clutter.Script} id of the object
|
|
3265
|
+
* @since 0.6
|
|
3215
3266
|
* @virtual
|
|
3216
3267
|
*/
|
|
3217
3268
|
vfunc_set_id(id_: string): void;
|
|
@@ -3390,6 +3441,7 @@ export namespace Meta {
|
|
|
3390
3441
|
* would have regardless of the allocation of the actor that is painting it,
|
|
3391
3442
|
* for instance the size of an image data.
|
|
3392
3443
|
* @returns `true` if the content has a preferred size, and `false` otherwise
|
|
3444
|
+
* @since 1.10
|
|
3393
3445
|
*/
|
|
3394
3446
|
get_preferred_size(): [boolean, number, number];
|
|
3395
3447
|
|
|
@@ -3399,6 +3451,7 @@ export namespace Meta {
|
|
|
3399
3451
|
* This function should be called by {@link Clutter.Content} implementations when
|
|
3400
3452
|
* they change the way a the content should be painted regardless of the
|
|
3401
3453
|
* actor state.
|
|
3454
|
+
* @since 1.10
|
|
3402
3455
|
*/
|
|
3403
3456
|
invalidate(): void;
|
|
3404
3457
|
|
|
@@ -3429,6 +3482,7 @@ export namespace Meta {
|
|
|
3429
3482
|
* The natural size of a {@link Clutter.Content} is defined as the size the content
|
|
3430
3483
|
* would have regardless of the allocation of the actor that is painting it,
|
|
3431
3484
|
* for instance the size of an image data.
|
|
3485
|
+
* @since 1.10
|
|
3432
3486
|
* @virtual
|
|
3433
3487
|
*/
|
|
3434
3488
|
vfunc_get_preferred_size(): [boolean, number, number];
|
|
@@ -3439,6 +3493,7 @@ export namespace Meta {
|
|
|
3439
3493
|
* This function should be called by {@link Clutter.Content} implementations when
|
|
3440
3494
|
* they change the way a the content should be painted regardless of the
|
|
3441
3495
|
* actor state.
|
|
3496
|
+
* @since 1.10
|
|
3442
3497
|
* @virtual
|
|
3443
3498
|
*/
|
|
3444
3499
|
vfunc_invalidate(): void;
|
|
@@ -3581,6 +3636,7 @@ export namespace Meta {
|
|
|
3581
3636
|
* Finds the {@link GObject.ParamSpec} for `property_name`
|
|
3582
3637
|
* @param property_name the name of the animatable property to find
|
|
3583
3638
|
* @returns The {@link GObject.ParamSpec} for the given property or `null`
|
|
3639
|
+
* @since 1.4
|
|
3584
3640
|
*/
|
|
3585
3641
|
find_property(property_name: string): GObject.ParamSpec;
|
|
3586
3642
|
|
|
@@ -3594,6 +3650,7 @@ export namespace Meta {
|
|
|
3594
3650
|
* Retrieves the current state of `property_name` and sets `value` with it
|
|
3595
3651
|
* @param property_name the name of the animatable property to retrieve
|
|
3596
3652
|
* @param value a {@link GObject.Value} initialized to the type of the property to retrieve
|
|
3653
|
+
* @since 1.4
|
|
3597
3654
|
*/
|
|
3598
3655
|
get_initial_state(property_name: string, value: GObject.Value | any): void;
|
|
3599
3656
|
|
|
@@ -3611,6 +3668,7 @@ export namespace Meta {
|
|
|
3611
3668
|
* @param interval a {@link Clutter.Interval} with the animation range
|
|
3612
3669
|
* @param progress the progress to use to interpolate between the initial and final values of the `interval`
|
|
3613
3670
|
* @returns `true` if the interpolation was successful, and `false` otherwise
|
|
3671
|
+
* @since 1.8
|
|
3614
3672
|
*/
|
|
3615
3673
|
interpolate_value(property_name: string, interval: Clutter.Interval, progress: number): [boolean, unknown];
|
|
3616
3674
|
|
|
@@ -3618,12 +3676,14 @@ export namespace Meta {
|
|
|
3618
3676
|
* Sets the current state of `property_name` to `value`
|
|
3619
3677
|
* @param property_name the name of the animatable property to set
|
|
3620
3678
|
* @param value the value of the animatable property to set
|
|
3679
|
+
* @since 1.4
|
|
3621
3680
|
*/
|
|
3622
3681
|
set_final_state(property_name: string, value: GObject.Value | any): void;
|
|
3623
3682
|
|
|
3624
3683
|
/**
|
|
3625
3684
|
* Finds the {@link GObject.ParamSpec} for `property_name`
|
|
3626
3685
|
* @param property_name the name of the animatable property to find
|
|
3686
|
+
* @since 1.4
|
|
3627
3687
|
* @virtual
|
|
3628
3688
|
*/
|
|
3629
3689
|
vfunc_find_property(property_name: string): GObject.ParamSpec;
|
|
@@ -3638,6 +3698,7 @@ export namespace Meta {
|
|
|
3638
3698
|
* Retrieves the current state of `property_name` and sets `value` with it
|
|
3639
3699
|
* @param property_name the name of the animatable property to retrieve
|
|
3640
3700
|
* @param value a {@link GObject.Value} initialized to the type of the property to retrieve
|
|
3701
|
+
* @since 1.4
|
|
3641
3702
|
* @virtual
|
|
3642
3703
|
*/
|
|
3643
3704
|
vfunc_get_initial_state(property_name: string, value: unknown): void;
|
|
@@ -3655,6 +3716,7 @@ export namespace Meta {
|
|
|
3655
3716
|
* @param property_name the name of the property to interpolate
|
|
3656
3717
|
* @param interval a {@link Clutter.Interval} with the animation range
|
|
3657
3718
|
* @param progress the progress to use to interpolate between the initial and final values of the `interval`
|
|
3719
|
+
* @since 1.8
|
|
3658
3720
|
* @virtual
|
|
3659
3721
|
*/
|
|
3660
3722
|
vfunc_interpolate_value(property_name: string, interval: Clutter.Interval, progress: number): [boolean, GObject.Value | any];
|
|
@@ -3663,6 +3725,7 @@ export namespace Meta {
|
|
|
3663
3725
|
* Sets the current state of `property_name` to `value`
|
|
3664
3726
|
* @param property_name the name of the animatable property to set
|
|
3665
3727
|
* @param value the value of the animatable property to set
|
|
3728
|
+
* @since 1.4
|
|
3666
3729
|
* @virtual
|
|
3667
3730
|
*/
|
|
3668
3731
|
vfunc_set_final_state(property_name: string, value: unknown): void;
|
|
@@ -3677,6 +3740,8 @@ export namespace Meta {
|
|
|
3677
3740
|
* deprecated virtual function. The default implementation will
|
|
3678
3741
|
* call `clutter_actor_add_child()`.
|
|
3679
3742
|
* @param actor the first {@link Clutter.Actor} to add
|
|
3743
|
+
* @since 0.4
|
|
3744
|
+
* @deprecated since 1.10: Use `clutter_actor_add_child()` instead.
|
|
3680
3745
|
*/
|
|
3681
3746
|
add_actor(actor: Clutter.Actor): void;
|
|
3682
3747
|
|
|
@@ -3691,6 +3756,7 @@ export namespace Meta {
|
|
|
3691
3756
|
* @param child a {@link Clutter.Actor} that is a child of `container`.
|
|
3692
3757
|
* @param property the name of the property to set.
|
|
3693
3758
|
* @param value the value.
|
|
3759
|
+
* @since 0.8
|
|
3694
3760
|
*/
|
|
3695
3761
|
child_get_property(child: Clutter.Actor, property: string, value: GObject.Value | any): void;
|
|
3696
3762
|
|
|
@@ -3700,6 +3766,7 @@ export namespace Meta {
|
|
|
3700
3766
|
* {@link Clutter.Container.SignalSignatures.child_notify | Clutter.Container::child-notify} signal.
|
|
3701
3767
|
* @param child a {@link Clutter.Actor}
|
|
3702
3768
|
* @param pspec a {@link GObject.ParamSpec}
|
|
3769
|
+
* @since 1.6
|
|
3703
3770
|
*/
|
|
3704
3771
|
child_notify(child: Clutter.Actor, pspec: GObject.ParamSpec): void;
|
|
3705
3772
|
|
|
@@ -3708,6 +3775,7 @@ export namespace Meta {
|
|
|
3708
3775
|
* @param child a {@link Clutter.Actor} that is a child of `container`.
|
|
3709
3776
|
* @param property the name of the property to set.
|
|
3710
3777
|
* @param value the value.
|
|
3778
|
+
* @since 0.8
|
|
3711
3779
|
*/
|
|
3712
3780
|
child_set_property(child: Clutter.Actor, property: string, value: GObject.Value | any): void;
|
|
3713
3781
|
|
|
@@ -3722,6 +3790,7 @@ export namespace Meta {
|
|
|
3722
3790
|
*
|
|
3723
3791
|
* Applications should not call this function.
|
|
3724
3792
|
* @param actor a {@link Clutter.Actor}
|
|
3793
|
+
* @since 1.2
|
|
3725
3794
|
*/
|
|
3726
3795
|
create_child_meta(actor: Clutter.Actor): void;
|
|
3727
3796
|
|
|
@@ -3735,6 +3804,7 @@ export namespace Meta {
|
|
|
3735
3804
|
*
|
|
3736
3805
|
* Applications should not call this function.
|
|
3737
3806
|
* @param actor a {@link Clutter.Actor}
|
|
3807
|
+
* @since 1.2
|
|
3738
3808
|
*/
|
|
3739
3809
|
destroy_child_meta(actor: Clutter.Actor): void;
|
|
3740
3810
|
|
|
@@ -3743,6 +3813,7 @@ export namespace Meta {
|
|
|
3743
3813
|
* into any child container.
|
|
3744
3814
|
* @param child_name the name of the requested child.
|
|
3745
3815
|
* @returns The child actor with the requested name, or `null` if no actor with that name was found.
|
|
3816
|
+
* @since 0.6
|
|
3746
3817
|
*/
|
|
3747
3818
|
find_child_by_name(child_name: string): Clutter.Actor;
|
|
3748
3819
|
|
|
@@ -3751,12 +3822,15 @@ export namespace Meta {
|
|
|
3751
3822
|
* `container` specific state for `actor`.
|
|
3752
3823
|
* @param actor a {@link Clutter.Actor} that is a child of `container`.
|
|
3753
3824
|
* @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
|
|
3825
|
+
* @since 0.8
|
|
3754
3826
|
*/
|
|
3755
3827
|
get_child_meta(actor: Clutter.Actor): Clutter.ChildMeta;
|
|
3756
3828
|
|
|
3757
3829
|
/**
|
|
3758
3830
|
* Retrieves all the children of `container`.
|
|
3759
3831
|
* @returns a list of {@link Clutter.Actor}<!-- -->s. Use `g_list_free()` on the returned list when done.
|
|
3832
|
+
* @since 0.4
|
|
3833
|
+
* @deprecated since 1.10: Use `clutter_actor_get_children()` instead.
|
|
3760
3834
|
*/
|
|
3761
3835
|
get_children(): Clutter.Actor[];
|
|
3762
3836
|
|
|
@@ -3768,6 +3842,8 @@ export namespace Meta {
|
|
|
3768
3842
|
* `clutter_actor_set_child_below_sibling()`.
|
|
3769
3843
|
* @param actor the actor to raise
|
|
3770
3844
|
* @param sibling the sibling to lower to, or `null` to lower to the bottom
|
|
3845
|
+
* @since 0.6
|
|
3846
|
+
* @deprecated since 1.10: Use `clutter_actor_set_child_below_sibling()` instead.
|
|
3771
3847
|
*/
|
|
3772
3848
|
lower_child(actor: Clutter.Actor, sibling: Clutter.Actor | null): void;
|
|
3773
3849
|
|
|
@@ -3779,6 +3855,8 @@ export namespace Meta {
|
|
|
3779
3855
|
* `clutter_actor_set_child_above_sibling()`.
|
|
3780
3856
|
* @param actor the actor to raise
|
|
3781
3857
|
* @param sibling the sibling to raise to, or `null` to raise to the top
|
|
3858
|
+
* @since 0.6
|
|
3859
|
+
* @deprecated since 1.10: Use `clutter_actor_set_child_above_sibling()` instead.
|
|
3782
3860
|
*/
|
|
3783
3861
|
raise_child(actor: Clutter.Actor, sibling: Clutter.Actor | null): void;
|
|
3784
3862
|
|
|
@@ -3792,12 +3870,16 @@ export namespace Meta {
|
|
|
3792
3870
|
* deprecated virtual function. The default implementation will call
|
|
3793
3871
|
* `clutter_actor_remove_child()`.
|
|
3794
3872
|
* @param actor a {@link Clutter.Actor}
|
|
3873
|
+
* @since 0.4
|
|
3874
|
+
* @deprecated since 1.10: Use `clutter_actor_remove_child()` instead.
|
|
3795
3875
|
*/
|
|
3796
3876
|
remove_actor(actor: Clutter.Actor): void;
|
|
3797
3877
|
|
|
3798
3878
|
/**
|
|
3799
3879
|
* Sorts a container's children using their depth. This function should not
|
|
3800
3880
|
* be normally used by applications.
|
|
3881
|
+
* @since 0.6
|
|
3882
|
+
* @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.
|
|
3801
3883
|
*/
|
|
3802
3884
|
sort_depth_order(): void;
|
|
3803
3885
|
|
|
@@ -3823,6 +3905,8 @@ export namespace Meta {
|
|
|
3823
3905
|
* deprecated virtual function. The default implementation will
|
|
3824
3906
|
* call `clutter_actor_add_child()`.
|
|
3825
3907
|
* @param actor the first {@link Clutter.Actor} to add
|
|
3908
|
+
* @since 0.4
|
|
3909
|
+
* @deprecated since 1.10: Use `clutter_actor_add_child()` instead.
|
|
3826
3910
|
* @virtual
|
|
3827
3911
|
*/
|
|
3828
3912
|
vfunc_add(actor: Clutter.Actor): void;
|
|
@@ -3833,6 +3917,7 @@ export namespace Meta {
|
|
|
3833
3917
|
* {@link Clutter.Container.SignalSignatures.child_notify | Clutter.Container::child-notify} signal.
|
|
3834
3918
|
* @param child a {@link Clutter.Actor}
|
|
3835
3919
|
* @param pspec a {@link GObject.ParamSpec}
|
|
3920
|
+
* @since 1.6
|
|
3836
3921
|
* @virtual
|
|
3837
3922
|
*/
|
|
3838
3923
|
vfunc_child_notify(child: Clutter.Actor, pspec: GObject.ParamSpec): void;
|
|
@@ -3848,6 +3933,7 @@ export namespace Meta {
|
|
|
3848
3933
|
*
|
|
3849
3934
|
* Applications should not call this function.
|
|
3850
3935
|
* @param actor a {@link Clutter.Actor}
|
|
3936
|
+
* @since 1.2
|
|
3851
3937
|
* @virtual
|
|
3852
3938
|
*/
|
|
3853
3939
|
vfunc_create_child_meta(actor: Clutter.Actor): void;
|
|
@@ -3862,6 +3948,7 @@ export namespace Meta {
|
|
|
3862
3948
|
*
|
|
3863
3949
|
* Applications should not call this function.
|
|
3864
3950
|
* @param actor a {@link Clutter.Actor}
|
|
3951
|
+
* @since 1.2
|
|
3865
3952
|
* @virtual
|
|
3866
3953
|
*/
|
|
3867
3954
|
vfunc_destroy_child_meta(actor: Clutter.Actor): void;
|
|
@@ -3870,6 +3957,7 @@ export namespace Meta {
|
|
|
3870
3957
|
* Retrieves the {@link Clutter.ChildMeta} which contains the data about the
|
|
3871
3958
|
* `container` specific state for `actor`.
|
|
3872
3959
|
* @param actor a {@link Clutter.Actor} that is a child of `container`.
|
|
3960
|
+
* @since 0.8
|
|
3873
3961
|
* @virtual
|
|
3874
3962
|
*/
|
|
3875
3963
|
vfunc_get_child_meta(actor: Clutter.Actor): Clutter.ChildMeta;
|
|
@@ -3882,6 +3970,8 @@ export namespace Meta {
|
|
|
3882
3970
|
* `clutter_actor_set_child_below_sibling()`.
|
|
3883
3971
|
* @param actor the actor to raise
|
|
3884
3972
|
* @param sibling the sibling to lower to, or `null` to lower to the bottom
|
|
3973
|
+
* @since 0.6
|
|
3974
|
+
* @deprecated since 1.10: Use `clutter_actor_set_child_below_sibling()` instead.
|
|
3885
3975
|
* @virtual
|
|
3886
3976
|
*/
|
|
3887
3977
|
vfunc_lower(actor: Clutter.Actor, sibling: Clutter.Actor | null): void;
|
|
@@ -3894,6 +3984,8 @@ export namespace Meta {
|
|
|
3894
3984
|
* `clutter_actor_set_child_above_sibling()`.
|
|
3895
3985
|
* @param actor the actor to raise
|
|
3896
3986
|
* @param sibling the sibling to raise to, or `null` to raise to the top
|
|
3987
|
+
* @since 0.6
|
|
3988
|
+
* @deprecated since 1.10: Use `clutter_actor_set_child_above_sibling()` instead.
|
|
3897
3989
|
* @virtual
|
|
3898
3990
|
*/
|
|
3899
3991
|
vfunc_raise(actor: Clutter.Actor, sibling: Clutter.Actor | null): void;
|
|
@@ -3908,6 +4000,8 @@ export namespace Meta {
|
|
|
3908
4000
|
* deprecated virtual function. The default implementation will call
|
|
3909
4001
|
* `clutter_actor_remove_child()`.
|
|
3910
4002
|
* @param actor a {@link Clutter.Actor}
|
|
4003
|
+
* @since 0.4
|
|
4004
|
+
* @deprecated since 1.10: Use `clutter_actor_remove_child()` instead.
|
|
3911
4005
|
* @virtual
|
|
3912
4006
|
*/
|
|
3913
4007
|
vfunc_remove(actor: Clutter.Actor): void;
|
|
@@ -3915,6 +4009,8 @@ export namespace Meta {
|
|
|
3915
4009
|
/**
|
|
3916
4010
|
* Sorts a container's children using their depth. This function should not
|
|
3917
4011
|
* be normally used by applications.
|
|
4012
|
+
* @since 0.6
|
|
4013
|
+
* @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.
|
|
3918
4014
|
* @virtual
|
|
3919
4015
|
*/
|
|
3920
4016
|
vfunc_sort_depth_order(): void;
|
|
@@ -3922,6 +4018,7 @@ export namespace Meta {
|
|
|
3922
4018
|
/**
|
|
3923
4019
|
* Retrieves the id of `scriptable` set using `clutter_scriptable_set_id()`.
|
|
3924
4020
|
* @returns the id of the object. The returned string is owned by the scriptable object and should never be modified of freed
|
|
4021
|
+
* @since 0.6
|
|
3925
4022
|
*/
|
|
3926
4023
|
get_id(): string;
|
|
3927
4024
|
|
|
@@ -3933,6 +4030,7 @@ export namespace Meta {
|
|
|
3933
4030
|
* @param name the name of the node
|
|
3934
4031
|
* @param node the JSON node to be parsed
|
|
3935
4032
|
* @returns `true` if the node was successfully parsed, `false` otherwise.
|
|
4033
|
+
* @since 0.6
|
|
3936
4034
|
*/
|
|
3937
4035
|
parse_custom_node(script: Clutter.Script, value: GObject.Value | any, name: string, node: Json.Node): boolean;
|
|
3938
4036
|
|
|
@@ -3942,6 +4040,7 @@ export namespace Meta {
|
|
|
3942
4040
|
* @param script the {@link Clutter.Script} creating the scriptable instance
|
|
3943
4041
|
* @param name the name of the property
|
|
3944
4042
|
* @param value the value of the property
|
|
4043
|
+
* @since 0.6
|
|
3945
4044
|
*/
|
|
3946
4045
|
set_custom_property(script: Clutter.Script, name: string, value: GObject.Value | any): void;
|
|
3947
4046
|
|
|
@@ -3953,11 +4052,13 @@ export namespace Meta {
|
|
|
3953
4052
|
* define a unique name for an object constructable using the UI
|
|
3954
4053
|
* definition language parsed by {@link Clutter.Script}.
|
|
3955
4054
|
* @param id_ the {@link Clutter.Script} id of the object
|
|
4055
|
+
* @since 0.6
|
|
3956
4056
|
*/
|
|
3957
4057
|
set_id(id_: string): void;
|
|
3958
4058
|
|
|
3959
4059
|
/**
|
|
3960
4060
|
* Retrieves the id of `scriptable` set using `clutter_scriptable_set_id()`.
|
|
4061
|
+
* @since 0.6
|
|
3961
4062
|
* @virtual
|
|
3962
4063
|
*/
|
|
3963
4064
|
vfunc_get_id(): string;
|
|
@@ -3969,6 +4070,7 @@ export namespace Meta {
|
|
|
3969
4070
|
* @param value the generic value to be set
|
|
3970
4071
|
* @param name the name of the node
|
|
3971
4072
|
* @param node the JSON node to be parsed
|
|
4073
|
+
* @since 0.6
|
|
3972
4074
|
* @virtual
|
|
3973
4075
|
*/
|
|
3974
4076
|
vfunc_parse_custom_node(script: Clutter.Script, value: unknown, name: string, node: Json.Node): boolean;
|
|
@@ -3979,6 +4081,7 @@ export namespace Meta {
|
|
|
3979
4081
|
* @param script the {@link Clutter.Script} creating the scriptable instance
|
|
3980
4082
|
* @param name the name of the property
|
|
3981
4083
|
* @param value the value of the property
|
|
4084
|
+
* @since 0.6
|
|
3982
4085
|
* @virtual
|
|
3983
4086
|
*/
|
|
3984
4087
|
vfunc_set_custom_property(script: Clutter.Script, name: string, value: unknown): void;
|
|
@@ -3991,6 +4094,7 @@ export namespace Meta {
|
|
|
3991
4094
|
* define a unique name for an object constructable using the UI
|
|
3992
4095
|
* definition language parsed by {@link Clutter.Script}.
|
|
3993
4096
|
* @param id_ the {@link Clutter.Script} id of the object
|
|
4097
|
+
* @since 0.6
|
|
3994
4098
|
* @virtual
|
|
3995
4099
|
*/
|
|
3996
4100
|
vfunc_set_id(id_: string): void;
|
|
@@ -6215,6 +6319,7 @@ export namespace Meta {
|
|
|
6215
6319
|
* would have regardless of the allocation of the actor that is painting it,
|
|
6216
6320
|
* for instance the size of an image data.
|
|
6217
6321
|
* @returns `true` if the content has a preferred size, and `false` otherwise
|
|
6322
|
+
* @since 1.10
|
|
6218
6323
|
*/
|
|
6219
6324
|
get_preferred_size(): [boolean, number, number];
|
|
6220
6325
|
|
|
@@ -6224,6 +6329,7 @@ export namespace Meta {
|
|
|
6224
6329
|
* This function should be called by {@link Clutter.Content} implementations when
|
|
6225
6330
|
* they change the way a the content should be painted regardless of the
|
|
6226
6331
|
* actor state.
|
|
6332
|
+
* @since 1.10
|
|
6227
6333
|
*/
|
|
6228
6334
|
invalidate(): void;
|
|
6229
6335
|
|
|
@@ -6254,6 +6360,7 @@ export namespace Meta {
|
|
|
6254
6360
|
* The natural size of a {@link Clutter.Content} is defined as the size the content
|
|
6255
6361
|
* would have regardless of the allocation of the actor that is painting it,
|
|
6256
6362
|
* for instance the size of an image data.
|
|
6363
|
+
* @since 1.10
|
|
6257
6364
|
* @virtual
|
|
6258
6365
|
*/
|
|
6259
6366
|
vfunc_get_preferred_size(): [boolean, number, number];
|
|
@@ -6264,6 +6371,7 @@ export namespace Meta {
|
|
|
6264
6371
|
* This function should be called by {@link Clutter.Content} implementations when
|
|
6265
6372
|
* they change the way a the content should be painted regardless of the
|
|
6266
6373
|
* actor state.
|
|
6374
|
+
* @since 1.10
|
|
6267
6375
|
* @virtual
|
|
6268
6376
|
*/
|
|
6269
6377
|
vfunc_invalidate(): void;
|
|
@@ -7863,6 +7971,7 @@ export namespace Meta {
|
|
|
7863
7971
|
* Finds the {@link GObject.ParamSpec} for `property_name`
|
|
7864
7972
|
* @param property_name the name of the animatable property to find
|
|
7865
7973
|
* @returns The {@link GObject.ParamSpec} for the given property or `null`
|
|
7974
|
+
* @since 1.4
|
|
7866
7975
|
*/
|
|
7867
7976
|
find_property(property_name: string): GObject.ParamSpec;
|
|
7868
7977
|
|
|
@@ -7876,6 +7985,7 @@ export namespace Meta {
|
|
|
7876
7985
|
* Retrieves the current state of `property_name` and sets `value` with it
|
|
7877
7986
|
* @param property_name the name of the animatable property to retrieve
|
|
7878
7987
|
* @param value a {@link GObject.Value} initialized to the type of the property to retrieve
|
|
7988
|
+
* @since 1.4
|
|
7879
7989
|
*/
|
|
7880
7990
|
get_initial_state(property_name: string, value: GObject.Value | any): void;
|
|
7881
7991
|
|
|
@@ -7893,6 +8003,7 @@ export namespace Meta {
|
|
|
7893
8003
|
* @param interval a {@link Clutter.Interval} with the animation range
|
|
7894
8004
|
* @param progress the progress to use to interpolate between the initial and final values of the `interval`
|
|
7895
8005
|
* @returns `true` if the interpolation was successful, and `false` otherwise
|
|
8006
|
+
* @since 1.8
|
|
7896
8007
|
*/
|
|
7897
8008
|
interpolate_value(property_name: string, interval: Clutter.Interval, progress: number): [boolean, unknown];
|
|
7898
8009
|
|
|
@@ -7900,12 +8011,14 @@ export namespace Meta {
|
|
|
7900
8011
|
* Sets the current state of `property_name` to `value`
|
|
7901
8012
|
* @param property_name the name of the animatable property to set
|
|
7902
8013
|
* @param value the value of the animatable property to set
|
|
8014
|
+
* @since 1.4
|
|
7903
8015
|
*/
|
|
7904
8016
|
set_final_state(property_name: string, value: GObject.Value | any): void;
|
|
7905
8017
|
|
|
7906
8018
|
/**
|
|
7907
8019
|
* Finds the {@link GObject.ParamSpec} for `property_name`
|
|
7908
8020
|
* @param property_name the name of the animatable property to find
|
|
8021
|
+
* @since 1.4
|
|
7909
8022
|
* @virtual
|
|
7910
8023
|
*/
|
|
7911
8024
|
vfunc_find_property(property_name: string): GObject.ParamSpec;
|
|
@@ -7920,6 +8033,7 @@ export namespace Meta {
|
|
|
7920
8033
|
* Retrieves the current state of `property_name` and sets `value` with it
|
|
7921
8034
|
* @param property_name the name of the animatable property to retrieve
|
|
7922
8035
|
* @param value a {@link GObject.Value} initialized to the type of the property to retrieve
|
|
8036
|
+
* @since 1.4
|
|
7923
8037
|
* @virtual
|
|
7924
8038
|
*/
|
|
7925
8039
|
vfunc_get_initial_state(property_name: string, value: unknown): void;
|
|
@@ -7937,6 +8051,7 @@ export namespace Meta {
|
|
|
7937
8051
|
* @param property_name the name of the property to interpolate
|
|
7938
8052
|
* @param interval a {@link Clutter.Interval} with the animation range
|
|
7939
8053
|
* @param progress the progress to use to interpolate between the initial and final values of the `interval`
|
|
8054
|
+
* @since 1.8
|
|
7940
8055
|
* @virtual
|
|
7941
8056
|
*/
|
|
7942
8057
|
vfunc_interpolate_value(property_name: string, interval: Clutter.Interval, progress: number): [boolean, GObject.Value | any];
|
|
@@ -7945,6 +8060,7 @@ export namespace Meta {
|
|
|
7945
8060
|
* Sets the current state of `property_name` to `value`
|
|
7946
8061
|
* @param property_name the name of the animatable property to set
|
|
7947
8062
|
* @param value the value of the animatable property to set
|
|
8063
|
+
* @since 1.4
|
|
7948
8064
|
* @virtual
|
|
7949
8065
|
*/
|
|
7950
8066
|
vfunc_set_final_state(property_name: string, value: unknown): void;
|
|
@@ -7959,6 +8075,8 @@ export namespace Meta {
|
|
|
7959
8075
|
* deprecated virtual function. The default implementation will
|
|
7960
8076
|
* call `clutter_actor_add_child()`.
|
|
7961
8077
|
* @param actor the first {@link Clutter.Actor} to add
|
|
8078
|
+
* @since 0.4
|
|
8079
|
+
* @deprecated since 1.10: Use `clutter_actor_add_child()` instead.
|
|
7962
8080
|
*/
|
|
7963
8081
|
add_actor(actor: Clutter.Actor): void;
|
|
7964
8082
|
|
|
@@ -7973,6 +8091,7 @@ export namespace Meta {
|
|
|
7973
8091
|
* @param child a {@link Clutter.Actor} that is a child of `container`.
|
|
7974
8092
|
* @param property the name of the property to set.
|
|
7975
8093
|
* @param value the value.
|
|
8094
|
+
* @since 0.8
|
|
7976
8095
|
*/
|
|
7977
8096
|
child_get_property(child: Clutter.Actor, property: string, value: GObject.Value | any): void;
|
|
7978
8097
|
|
|
@@ -7982,6 +8101,7 @@ export namespace Meta {
|
|
|
7982
8101
|
* {@link Clutter.Container.SignalSignatures.child_notify | Clutter.Container::child-notify} signal.
|
|
7983
8102
|
* @param child a {@link Clutter.Actor}
|
|
7984
8103
|
* @param pspec a {@link GObject.ParamSpec}
|
|
8104
|
+
* @since 1.6
|
|
7985
8105
|
*/
|
|
7986
8106
|
child_notify(child: Clutter.Actor, pspec: GObject.ParamSpec): void;
|
|
7987
8107
|
|
|
@@ -7990,6 +8110,7 @@ export namespace Meta {
|
|
|
7990
8110
|
* @param child a {@link Clutter.Actor} that is a child of `container`.
|
|
7991
8111
|
* @param property the name of the property to set.
|
|
7992
8112
|
* @param value the value.
|
|
8113
|
+
* @since 0.8
|
|
7993
8114
|
*/
|
|
7994
8115
|
child_set_property(child: Clutter.Actor, property: string, value: GObject.Value | any): void;
|
|
7995
8116
|
|
|
@@ -8004,6 +8125,7 @@ export namespace Meta {
|
|
|
8004
8125
|
*
|
|
8005
8126
|
* Applications should not call this function.
|
|
8006
8127
|
* @param actor a {@link Clutter.Actor}
|
|
8128
|
+
* @since 1.2
|
|
8007
8129
|
*/
|
|
8008
8130
|
create_child_meta(actor: Clutter.Actor): void;
|
|
8009
8131
|
|
|
@@ -8017,6 +8139,7 @@ export namespace Meta {
|
|
|
8017
8139
|
*
|
|
8018
8140
|
* Applications should not call this function.
|
|
8019
8141
|
* @param actor a {@link Clutter.Actor}
|
|
8142
|
+
* @since 1.2
|
|
8020
8143
|
*/
|
|
8021
8144
|
destroy_child_meta(actor: Clutter.Actor): void;
|
|
8022
8145
|
|
|
@@ -8025,6 +8148,7 @@ export namespace Meta {
|
|
|
8025
8148
|
* into any child container.
|
|
8026
8149
|
* @param child_name the name of the requested child.
|
|
8027
8150
|
* @returns The child actor with the requested name, or `null` if no actor with that name was found.
|
|
8151
|
+
* @since 0.6
|
|
8028
8152
|
*/
|
|
8029
8153
|
find_child_by_name(child_name: string): Clutter.Actor;
|
|
8030
8154
|
|
|
@@ -8033,12 +8157,15 @@ export namespace Meta {
|
|
|
8033
8157
|
* `container` specific state for `actor`.
|
|
8034
8158
|
* @param actor a {@link Clutter.Actor} that is a child of `container`.
|
|
8035
8159
|
* @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
|
|
8160
|
+
* @since 0.8
|
|
8036
8161
|
*/
|
|
8037
8162
|
get_child_meta(actor: Clutter.Actor): Clutter.ChildMeta;
|
|
8038
8163
|
|
|
8039
8164
|
/**
|
|
8040
8165
|
* Retrieves all the children of `container`.
|
|
8041
8166
|
* @returns a list of {@link Clutter.Actor}<!-- -->s. Use `g_list_free()` on the returned list when done.
|
|
8167
|
+
* @since 0.4
|
|
8168
|
+
* @deprecated since 1.10: Use `clutter_actor_get_children()` instead.
|
|
8042
8169
|
*/
|
|
8043
8170
|
get_children(): Clutter.Actor[];
|
|
8044
8171
|
|
|
@@ -8050,6 +8177,8 @@ export namespace Meta {
|
|
|
8050
8177
|
* `clutter_actor_set_child_below_sibling()`.
|
|
8051
8178
|
* @param actor the actor to raise
|
|
8052
8179
|
* @param sibling the sibling to lower to, or `null` to lower to the bottom
|
|
8180
|
+
* @since 0.6
|
|
8181
|
+
* @deprecated since 1.10: Use `clutter_actor_set_child_below_sibling()` instead.
|
|
8053
8182
|
*/
|
|
8054
8183
|
lower_child(actor: Clutter.Actor, sibling: Clutter.Actor | null): void;
|
|
8055
8184
|
|
|
@@ -8061,6 +8190,8 @@ export namespace Meta {
|
|
|
8061
8190
|
* `clutter_actor_set_child_above_sibling()`.
|
|
8062
8191
|
* @param actor the actor to raise
|
|
8063
8192
|
* @param sibling the sibling to raise to, or `null` to raise to the top
|
|
8193
|
+
* @since 0.6
|
|
8194
|
+
* @deprecated since 1.10: Use `clutter_actor_set_child_above_sibling()` instead.
|
|
8064
8195
|
*/
|
|
8065
8196
|
raise_child(actor: Clutter.Actor, sibling: Clutter.Actor | null): void;
|
|
8066
8197
|
|
|
@@ -8074,12 +8205,16 @@ export namespace Meta {
|
|
|
8074
8205
|
* deprecated virtual function. The default implementation will call
|
|
8075
8206
|
* `clutter_actor_remove_child()`.
|
|
8076
8207
|
* @param actor a {@link Clutter.Actor}
|
|
8208
|
+
* @since 0.4
|
|
8209
|
+
* @deprecated since 1.10: Use `clutter_actor_remove_child()` instead.
|
|
8077
8210
|
*/
|
|
8078
8211
|
remove_actor(actor: Clutter.Actor): void;
|
|
8079
8212
|
|
|
8080
8213
|
/**
|
|
8081
8214
|
* Sorts a container's children using their depth. This function should not
|
|
8082
8215
|
* be normally used by applications.
|
|
8216
|
+
* @since 0.6
|
|
8217
|
+
* @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.
|
|
8083
8218
|
*/
|
|
8084
8219
|
sort_depth_order(): void;
|
|
8085
8220
|
|
|
@@ -8105,6 +8240,8 @@ export namespace Meta {
|
|
|
8105
8240
|
* deprecated virtual function. The default implementation will
|
|
8106
8241
|
* call `clutter_actor_add_child()`.
|
|
8107
8242
|
* @param actor the first {@link Clutter.Actor} to add
|
|
8243
|
+
* @since 0.4
|
|
8244
|
+
* @deprecated since 1.10: Use `clutter_actor_add_child()` instead.
|
|
8108
8245
|
* @virtual
|
|
8109
8246
|
*/
|
|
8110
8247
|
vfunc_add(actor: Clutter.Actor): void;
|
|
@@ -8115,6 +8252,7 @@ export namespace Meta {
|
|
|
8115
8252
|
* {@link Clutter.Container.SignalSignatures.child_notify | Clutter.Container::child-notify} signal.
|
|
8116
8253
|
* @param child a {@link Clutter.Actor}
|
|
8117
8254
|
* @param pspec a {@link GObject.ParamSpec}
|
|
8255
|
+
* @since 1.6
|
|
8118
8256
|
* @virtual
|
|
8119
8257
|
*/
|
|
8120
8258
|
vfunc_child_notify(child: Clutter.Actor, pspec: GObject.ParamSpec): void;
|
|
@@ -8130,6 +8268,7 @@ export namespace Meta {
|
|
|
8130
8268
|
*
|
|
8131
8269
|
* Applications should not call this function.
|
|
8132
8270
|
* @param actor a {@link Clutter.Actor}
|
|
8271
|
+
* @since 1.2
|
|
8133
8272
|
* @virtual
|
|
8134
8273
|
*/
|
|
8135
8274
|
vfunc_create_child_meta(actor: Clutter.Actor): void;
|
|
@@ -8144,6 +8283,7 @@ export namespace Meta {
|
|
|
8144
8283
|
*
|
|
8145
8284
|
* Applications should not call this function.
|
|
8146
8285
|
* @param actor a {@link Clutter.Actor}
|
|
8286
|
+
* @since 1.2
|
|
8147
8287
|
* @virtual
|
|
8148
8288
|
*/
|
|
8149
8289
|
vfunc_destroy_child_meta(actor: Clutter.Actor): void;
|
|
@@ -8152,6 +8292,7 @@ export namespace Meta {
|
|
|
8152
8292
|
* Retrieves the {@link Clutter.ChildMeta} which contains the data about the
|
|
8153
8293
|
* `container` specific state for `actor`.
|
|
8154
8294
|
* @param actor a {@link Clutter.Actor} that is a child of `container`.
|
|
8295
|
+
* @since 0.8
|
|
8155
8296
|
* @virtual
|
|
8156
8297
|
*/
|
|
8157
8298
|
vfunc_get_child_meta(actor: Clutter.Actor): Clutter.ChildMeta;
|
|
@@ -8164,6 +8305,8 @@ export namespace Meta {
|
|
|
8164
8305
|
* `clutter_actor_set_child_below_sibling()`.
|
|
8165
8306
|
* @param actor the actor to raise
|
|
8166
8307
|
* @param sibling the sibling to lower to, or `null` to lower to the bottom
|
|
8308
|
+
* @since 0.6
|
|
8309
|
+
* @deprecated since 1.10: Use `clutter_actor_set_child_below_sibling()` instead.
|
|
8167
8310
|
* @virtual
|
|
8168
8311
|
*/
|
|
8169
8312
|
vfunc_lower(actor: Clutter.Actor, sibling: Clutter.Actor | null): void;
|
|
@@ -8176,6 +8319,8 @@ export namespace Meta {
|
|
|
8176
8319
|
* `clutter_actor_set_child_above_sibling()`.
|
|
8177
8320
|
* @param actor the actor to raise
|
|
8178
8321
|
* @param sibling the sibling to raise to, or `null` to raise to the top
|
|
8322
|
+
* @since 0.6
|
|
8323
|
+
* @deprecated since 1.10: Use `clutter_actor_set_child_above_sibling()` instead.
|
|
8179
8324
|
* @virtual
|
|
8180
8325
|
*/
|
|
8181
8326
|
vfunc_raise(actor: Clutter.Actor, sibling: Clutter.Actor | null): void;
|
|
@@ -8190,6 +8335,8 @@ export namespace Meta {
|
|
|
8190
8335
|
* deprecated virtual function. The default implementation will call
|
|
8191
8336
|
* `clutter_actor_remove_child()`.
|
|
8192
8337
|
* @param actor a {@link Clutter.Actor}
|
|
8338
|
+
* @since 0.4
|
|
8339
|
+
* @deprecated since 1.10: Use `clutter_actor_remove_child()` instead.
|
|
8193
8340
|
* @virtual
|
|
8194
8341
|
*/
|
|
8195
8342
|
vfunc_remove(actor: Clutter.Actor): void;
|
|
@@ -8197,6 +8344,8 @@ export namespace Meta {
|
|
|
8197
8344
|
/**
|
|
8198
8345
|
* Sorts a container's children using their depth. This function should not
|
|
8199
8346
|
* be normally used by applications.
|
|
8347
|
+
* @since 0.6
|
|
8348
|
+
* @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.
|
|
8200
8349
|
* @virtual
|
|
8201
8350
|
*/
|
|
8202
8351
|
vfunc_sort_depth_order(): void;
|
|
@@ -8204,6 +8353,7 @@ export namespace Meta {
|
|
|
8204
8353
|
/**
|
|
8205
8354
|
* Retrieves the id of `scriptable` set using `clutter_scriptable_set_id()`.
|
|
8206
8355
|
* @returns the id of the object. The returned string is owned by the scriptable object and should never be modified of freed
|
|
8356
|
+
* @since 0.6
|
|
8207
8357
|
*/
|
|
8208
8358
|
get_id(): string;
|
|
8209
8359
|
|
|
@@ -8215,6 +8365,7 @@ export namespace Meta {
|
|
|
8215
8365
|
* @param name the name of the node
|
|
8216
8366
|
* @param node the JSON node to be parsed
|
|
8217
8367
|
* @returns `true` if the node was successfully parsed, `false` otherwise.
|
|
8368
|
+
* @since 0.6
|
|
8218
8369
|
*/
|
|
8219
8370
|
parse_custom_node(script: Clutter.Script, value: GObject.Value | any, name: string, node: Json.Node): boolean;
|
|
8220
8371
|
|
|
@@ -8224,6 +8375,7 @@ export namespace Meta {
|
|
|
8224
8375
|
* @param script the {@link Clutter.Script} creating the scriptable instance
|
|
8225
8376
|
* @param name the name of the property
|
|
8226
8377
|
* @param value the value of the property
|
|
8378
|
+
* @since 0.6
|
|
8227
8379
|
*/
|
|
8228
8380
|
set_custom_property(script: Clutter.Script, name: string, value: GObject.Value | any): void;
|
|
8229
8381
|
|
|
@@ -8235,11 +8387,13 @@ export namespace Meta {
|
|
|
8235
8387
|
* define a unique name for an object constructable using the UI
|
|
8236
8388
|
* definition language parsed by {@link Clutter.Script}.
|
|
8237
8389
|
* @param id_ the {@link Clutter.Script} id of the object
|
|
8390
|
+
* @since 0.6
|
|
8238
8391
|
*/
|
|
8239
8392
|
set_id(id_: string): void;
|
|
8240
8393
|
|
|
8241
8394
|
/**
|
|
8242
8395
|
* Retrieves the id of `scriptable` set using `clutter_scriptable_set_id()`.
|
|
8396
|
+
* @since 0.6
|
|
8243
8397
|
* @virtual
|
|
8244
8398
|
*/
|
|
8245
8399
|
vfunc_get_id(): string;
|
|
@@ -8251,6 +8405,7 @@ export namespace Meta {
|
|
|
8251
8405
|
* @param value the generic value to be set
|
|
8252
8406
|
* @param name the name of the node
|
|
8253
8407
|
* @param node the JSON node to be parsed
|
|
8408
|
+
* @since 0.6
|
|
8254
8409
|
* @virtual
|
|
8255
8410
|
*/
|
|
8256
8411
|
vfunc_parse_custom_node(script: Clutter.Script, value: unknown, name: string, node: Json.Node): boolean;
|
|
@@ -8261,6 +8416,7 @@ export namespace Meta {
|
|
|
8261
8416
|
* @param script the {@link Clutter.Script} creating the scriptable instance
|
|
8262
8417
|
* @param name the name of the property
|
|
8263
8418
|
* @param value the value of the property
|
|
8419
|
+
* @since 0.6
|
|
8264
8420
|
* @virtual
|
|
8265
8421
|
*/
|
|
8266
8422
|
vfunc_set_custom_property(script: Clutter.Script, name: string, value: unknown): void;
|
|
@@ -8273,6 +8429,7 @@ export namespace Meta {
|
|
|
8273
8429
|
* define a unique name for an object constructable using the UI
|
|
8274
8430
|
* definition language parsed by {@link Clutter.Script}.
|
|
8275
8431
|
* @param id_ the {@link Clutter.Script} id of the object
|
|
8432
|
+
* @since 0.6
|
|
8276
8433
|
* @virtual
|
|
8277
8434
|
*/
|
|
8278
8435
|
vfunc_set_id(id_: string): void;
|
|
@@ -8395,6 +8552,7 @@ export namespace Meta {
|
|
|
8395
8552
|
* Finds the {@link GObject.ParamSpec} for `property_name`
|
|
8396
8553
|
* @param property_name the name of the animatable property to find
|
|
8397
8554
|
* @returns The {@link GObject.ParamSpec} for the given property or `null`
|
|
8555
|
+
* @since 1.4
|
|
8398
8556
|
*/
|
|
8399
8557
|
find_property(property_name: string): GObject.ParamSpec;
|
|
8400
8558
|
|
|
@@ -8408,6 +8566,7 @@ export namespace Meta {
|
|
|
8408
8566
|
* Retrieves the current state of `property_name` and sets `value` with it
|
|
8409
8567
|
* @param property_name the name of the animatable property to retrieve
|
|
8410
8568
|
* @param value a {@link GObject.Value} initialized to the type of the property to retrieve
|
|
8569
|
+
* @since 1.4
|
|
8411
8570
|
*/
|
|
8412
8571
|
get_initial_state(property_name: string, value: GObject.Value | any): void;
|
|
8413
8572
|
|
|
@@ -8425,6 +8584,7 @@ export namespace Meta {
|
|
|
8425
8584
|
* @param interval a {@link Clutter.Interval} with the animation range
|
|
8426
8585
|
* @param progress the progress to use to interpolate between the initial and final values of the `interval`
|
|
8427
8586
|
* @returns `true` if the interpolation was successful, and `false` otherwise
|
|
8587
|
+
* @since 1.8
|
|
8428
8588
|
*/
|
|
8429
8589
|
interpolate_value(property_name: string, interval: Clutter.Interval, progress: number): [boolean, unknown];
|
|
8430
8590
|
|
|
@@ -8432,12 +8592,14 @@ export namespace Meta {
|
|
|
8432
8592
|
* Sets the current state of `property_name` to `value`
|
|
8433
8593
|
* @param property_name the name of the animatable property to set
|
|
8434
8594
|
* @param value the value of the animatable property to set
|
|
8595
|
+
* @since 1.4
|
|
8435
8596
|
*/
|
|
8436
8597
|
set_final_state(property_name: string, value: GObject.Value | any): void;
|
|
8437
8598
|
|
|
8438
8599
|
/**
|
|
8439
8600
|
* Finds the {@link GObject.ParamSpec} for `property_name`
|
|
8440
8601
|
* @param property_name the name of the animatable property to find
|
|
8602
|
+
* @since 1.4
|
|
8441
8603
|
* @virtual
|
|
8442
8604
|
*/
|
|
8443
8605
|
vfunc_find_property(property_name: string): GObject.ParamSpec;
|
|
@@ -8452,6 +8614,7 @@ export namespace Meta {
|
|
|
8452
8614
|
* Retrieves the current state of `property_name` and sets `value` with it
|
|
8453
8615
|
* @param property_name the name of the animatable property to retrieve
|
|
8454
8616
|
* @param value a {@link GObject.Value} initialized to the type of the property to retrieve
|
|
8617
|
+
* @since 1.4
|
|
8455
8618
|
* @virtual
|
|
8456
8619
|
*/
|
|
8457
8620
|
vfunc_get_initial_state(property_name: string, value: unknown): void;
|
|
@@ -8469,6 +8632,7 @@ export namespace Meta {
|
|
|
8469
8632
|
* @param property_name the name of the property to interpolate
|
|
8470
8633
|
* @param interval a {@link Clutter.Interval} with the animation range
|
|
8471
8634
|
* @param progress the progress to use to interpolate between the initial and final values of the `interval`
|
|
8635
|
+
* @since 1.8
|
|
8472
8636
|
* @virtual
|
|
8473
8637
|
*/
|
|
8474
8638
|
vfunc_interpolate_value(property_name: string, interval: Clutter.Interval, progress: number): [boolean, GObject.Value | any];
|
|
@@ -8477,6 +8641,7 @@ export namespace Meta {
|
|
|
8477
8641
|
* Sets the current state of `property_name` to `value`
|
|
8478
8642
|
* @param property_name the name of the animatable property to set
|
|
8479
8643
|
* @param value the value of the animatable property to set
|
|
8644
|
+
* @since 1.4
|
|
8480
8645
|
* @virtual
|
|
8481
8646
|
*/
|
|
8482
8647
|
vfunc_set_final_state(property_name: string, value: unknown): void;
|
|
@@ -8491,6 +8656,8 @@ export namespace Meta {
|
|
|
8491
8656
|
* deprecated virtual function. The default implementation will
|
|
8492
8657
|
* call `clutter_actor_add_child()`.
|
|
8493
8658
|
* @param actor the first {@link Clutter.Actor} to add
|
|
8659
|
+
* @since 0.4
|
|
8660
|
+
* @deprecated since 1.10: Use `clutter_actor_add_child()` instead.
|
|
8494
8661
|
*/
|
|
8495
8662
|
add_actor(actor: Clutter.Actor): void;
|
|
8496
8663
|
|
|
@@ -8505,6 +8672,7 @@ export namespace Meta {
|
|
|
8505
8672
|
* @param child a {@link Clutter.Actor} that is a child of `container`.
|
|
8506
8673
|
* @param property the name of the property to set.
|
|
8507
8674
|
* @param value the value.
|
|
8675
|
+
* @since 0.8
|
|
8508
8676
|
*/
|
|
8509
8677
|
child_get_property(child: Clutter.Actor, property: string, value: GObject.Value | any): void;
|
|
8510
8678
|
|
|
@@ -8514,6 +8682,7 @@ export namespace Meta {
|
|
|
8514
8682
|
* {@link Clutter.Container.SignalSignatures.child_notify | Clutter.Container::child-notify} signal.
|
|
8515
8683
|
* @param child a {@link Clutter.Actor}
|
|
8516
8684
|
* @param pspec a {@link GObject.ParamSpec}
|
|
8685
|
+
* @since 1.6
|
|
8517
8686
|
*/
|
|
8518
8687
|
child_notify(child: Clutter.Actor, pspec: GObject.ParamSpec): void;
|
|
8519
8688
|
|
|
@@ -8522,6 +8691,7 @@ export namespace Meta {
|
|
|
8522
8691
|
* @param child a {@link Clutter.Actor} that is a child of `container`.
|
|
8523
8692
|
* @param property the name of the property to set.
|
|
8524
8693
|
* @param value the value.
|
|
8694
|
+
* @since 0.8
|
|
8525
8695
|
*/
|
|
8526
8696
|
child_set_property(child: Clutter.Actor, property: string, value: GObject.Value | any): void;
|
|
8527
8697
|
|
|
@@ -8536,6 +8706,7 @@ export namespace Meta {
|
|
|
8536
8706
|
*
|
|
8537
8707
|
* Applications should not call this function.
|
|
8538
8708
|
* @param actor a {@link Clutter.Actor}
|
|
8709
|
+
* @since 1.2
|
|
8539
8710
|
*/
|
|
8540
8711
|
create_child_meta(actor: Clutter.Actor): void;
|
|
8541
8712
|
|
|
@@ -8549,6 +8720,7 @@ export namespace Meta {
|
|
|
8549
8720
|
*
|
|
8550
8721
|
* Applications should not call this function.
|
|
8551
8722
|
* @param actor a {@link Clutter.Actor}
|
|
8723
|
+
* @since 1.2
|
|
8552
8724
|
*/
|
|
8553
8725
|
destroy_child_meta(actor: Clutter.Actor): void;
|
|
8554
8726
|
|
|
@@ -8557,6 +8729,7 @@ export namespace Meta {
|
|
|
8557
8729
|
* into any child container.
|
|
8558
8730
|
* @param child_name the name of the requested child.
|
|
8559
8731
|
* @returns The child actor with the requested name, or `null` if no actor with that name was found.
|
|
8732
|
+
* @since 0.6
|
|
8560
8733
|
*/
|
|
8561
8734
|
find_child_by_name(child_name: string): Clutter.Actor;
|
|
8562
8735
|
|
|
@@ -8565,12 +8738,15 @@ export namespace Meta {
|
|
|
8565
8738
|
* `container` specific state for `actor`.
|
|
8566
8739
|
* @param actor a {@link Clutter.Actor} that is a child of `container`.
|
|
8567
8740
|
* @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
|
|
8741
|
+
* @since 0.8
|
|
8568
8742
|
*/
|
|
8569
8743
|
get_child_meta(actor: Clutter.Actor): Clutter.ChildMeta;
|
|
8570
8744
|
|
|
8571
8745
|
/**
|
|
8572
8746
|
* Retrieves all the children of `container`.
|
|
8573
8747
|
* @returns a list of {@link Clutter.Actor}<!-- -->s. Use `g_list_free()` on the returned list when done.
|
|
8748
|
+
* @since 0.4
|
|
8749
|
+
* @deprecated since 1.10: Use `clutter_actor_get_children()` instead.
|
|
8574
8750
|
*/
|
|
8575
8751
|
get_children(): Clutter.Actor[];
|
|
8576
8752
|
|
|
@@ -8582,6 +8758,8 @@ export namespace Meta {
|
|
|
8582
8758
|
* `clutter_actor_set_child_below_sibling()`.
|
|
8583
8759
|
* @param actor the actor to raise
|
|
8584
8760
|
* @param sibling the sibling to lower to, or `null` to lower to the bottom
|
|
8761
|
+
* @since 0.6
|
|
8762
|
+
* @deprecated since 1.10: Use `clutter_actor_set_child_below_sibling()` instead.
|
|
8585
8763
|
*/
|
|
8586
8764
|
lower_child(actor: Clutter.Actor, sibling: Clutter.Actor | null): void;
|
|
8587
8765
|
|
|
@@ -8593,6 +8771,8 @@ export namespace Meta {
|
|
|
8593
8771
|
* `clutter_actor_set_child_above_sibling()`.
|
|
8594
8772
|
* @param actor the actor to raise
|
|
8595
8773
|
* @param sibling the sibling to raise to, or `null` to raise to the top
|
|
8774
|
+
* @since 0.6
|
|
8775
|
+
* @deprecated since 1.10: Use `clutter_actor_set_child_above_sibling()` instead.
|
|
8596
8776
|
*/
|
|
8597
8777
|
raise_child(actor: Clutter.Actor, sibling: Clutter.Actor | null): void;
|
|
8598
8778
|
|
|
@@ -8606,12 +8786,16 @@ export namespace Meta {
|
|
|
8606
8786
|
* deprecated virtual function. The default implementation will call
|
|
8607
8787
|
* `clutter_actor_remove_child()`.
|
|
8608
8788
|
* @param actor a {@link Clutter.Actor}
|
|
8789
|
+
* @since 0.4
|
|
8790
|
+
* @deprecated since 1.10: Use `clutter_actor_remove_child()` instead.
|
|
8609
8791
|
*/
|
|
8610
8792
|
remove_actor(actor: Clutter.Actor): void;
|
|
8611
8793
|
|
|
8612
8794
|
/**
|
|
8613
8795
|
* Sorts a container's children using their depth. This function should not
|
|
8614
8796
|
* be normally used by applications.
|
|
8797
|
+
* @since 0.6
|
|
8798
|
+
* @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.
|
|
8615
8799
|
*/
|
|
8616
8800
|
sort_depth_order(): void;
|
|
8617
8801
|
|
|
@@ -8637,6 +8821,8 @@ export namespace Meta {
|
|
|
8637
8821
|
* deprecated virtual function. The default implementation will
|
|
8638
8822
|
* call `clutter_actor_add_child()`.
|
|
8639
8823
|
* @param actor the first {@link Clutter.Actor} to add
|
|
8824
|
+
* @since 0.4
|
|
8825
|
+
* @deprecated since 1.10: Use `clutter_actor_add_child()` instead.
|
|
8640
8826
|
* @virtual
|
|
8641
8827
|
*/
|
|
8642
8828
|
vfunc_add(actor: Clutter.Actor): void;
|
|
@@ -8647,6 +8833,7 @@ export namespace Meta {
|
|
|
8647
8833
|
* {@link Clutter.Container.SignalSignatures.child_notify | Clutter.Container::child-notify} signal.
|
|
8648
8834
|
* @param child a {@link Clutter.Actor}
|
|
8649
8835
|
* @param pspec a {@link GObject.ParamSpec}
|
|
8836
|
+
* @since 1.6
|
|
8650
8837
|
* @virtual
|
|
8651
8838
|
*/
|
|
8652
8839
|
vfunc_child_notify(child: Clutter.Actor, pspec: GObject.ParamSpec): void;
|
|
@@ -8662,6 +8849,7 @@ export namespace Meta {
|
|
|
8662
8849
|
*
|
|
8663
8850
|
* Applications should not call this function.
|
|
8664
8851
|
* @param actor a {@link Clutter.Actor}
|
|
8852
|
+
* @since 1.2
|
|
8665
8853
|
* @virtual
|
|
8666
8854
|
*/
|
|
8667
8855
|
vfunc_create_child_meta(actor: Clutter.Actor): void;
|
|
@@ -8676,6 +8864,7 @@ export namespace Meta {
|
|
|
8676
8864
|
*
|
|
8677
8865
|
* Applications should not call this function.
|
|
8678
8866
|
* @param actor a {@link Clutter.Actor}
|
|
8867
|
+
* @since 1.2
|
|
8679
8868
|
* @virtual
|
|
8680
8869
|
*/
|
|
8681
8870
|
vfunc_destroy_child_meta(actor: Clutter.Actor): void;
|
|
@@ -8684,6 +8873,7 @@ export namespace Meta {
|
|
|
8684
8873
|
* Retrieves the {@link Clutter.ChildMeta} which contains the data about the
|
|
8685
8874
|
* `container` specific state for `actor`.
|
|
8686
8875
|
* @param actor a {@link Clutter.Actor} that is a child of `container`.
|
|
8876
|
+
* @since 0.8
|
|
8687
8877
|
* @virtual
|
|
8688
8878
|
*/
|
|
8689
8879
|
vfunc_get_child_meta(actor: Clutter.Actor): Clutter.ChildMeta;
|
|
@@ -8696,6 +8886,8 @@ export namespace Meta {
|
|
|
8696
8886
|
* `clutter_actor_set_child_below_sibling()`.
|
|
8697
8887
|
* @param actor the actor to raise
|
|
8698
8888
|
* @param sibling the sibling to lower to, or `null` to lower to the bottom
|
|
8889
|
+
* @since 0.6
|
|
8890
|
+
* @deprecated since 1.10: Use `clutter_actor_set_child_below_sibling()` instead.
|
|
8699
8891
|
* @virtual
|
|
8700
8892
|
*/
|
|
8701
8893
|
vfunc_lower(actor: Clutter.Actor, sibling: Clutter.Actor | null): void;
|
|
@@ -8708,6 +8900,8 @@ export namespace Meta {
|
|
|
8708
8900
|
* `clutter_actor_set_child_above_sibling()`.
|
|
8709
8901
|
* @param actor the actor to raise
|
|
8710
8902
|
* @param sibling the sibling to raise to, or `null` to raise to the top
|
|
8903
|
+
* @since 0.6
|
|
8904
|
+
* @deprecated since 1.10: Use `clutter_actor_set_child_above_sibling()` instead.
|
|
8711
8905
|
* @virtual
|
|
8712
8906
|
*/
|
|
8713
8907
|
vfunc_raise(actor: Clutter.Actor, sibling: Clutter.Actor | null): void;
|
|
@@ -8722,6 +8916,8 @@ export namespace Meta {
|
|
|
8722
8916
|
* deprecated virtual function. The default implementation will call
|
|
8723
8917
|
* `clutter_actor_remove_child()`.
|
|
8724
8918
|
* @param actor a {@link Clutter.Actor}
|
|
8919
|
+
* @since 0.4
|
|
8920
|
+
* @deprecated since 1.10: Use `clutter_actor_remove_child()` instead.
|
|
8725
8921
|
* @virtual
|
|
8726
8922
|
*/
|
|
8727
8923
|
vfunc_remove(actor: Clutter.Actor): void;
|
|
@@ -8729,6 +8925,8 @@ export namespace Meta {
|
|
|
8729
8925
|
/**
|
|
8730
8926
|
* Sorts a container's children using their depth. This function should not
|
|
8731
8927
|
* be normally used by applications.
|
|
8928
|
+
* @since 0.6
|
|
8929
|
+
* @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.
|
|
8732
8930
|
* @virtual
|
|
8733
8931
|
*/
|
|
8734
8932
|
vfunc_sort_depth_order(): void;
|
|
@@ -8736,6 +8934,7 @@ export namespace Meta {
|
|
|
8736
8934
|
/**
|
|
8737
8935
|
* Retrieves the id of `scriptable` set using `clutter_scriptable_set_id()`.
|
|
8738
8936
|
* @returns the id of the object. The returned string is owned by the scriptable object and should never be modified of freed
|
|
8937
|
+
* @since 0.6
|
|
8739
8938
|
*/
|
|
8740
8939
|
get_id(): string;
|
|
8741
8940
|
|
|
@@ -8747,6 +8946,7 @@ export namespace Meta {
|
|
|
8747
8946
|
* @param name the name of the node
|
|
8748
8947
|
* @param node the JSON node to be parsed
|
|
8749
8948
|
* @returns `true` if the node was successfully parsed, `false` otherwise.
|
|
8949
|
+
* @since 0.6
|
|
8750
8950
|
*/
|
|
8751
8951
|
parse_custom_node(script: Clutter.Script, value: GObject.Value | any, name: string, node: Json.Node): boolean;
|
|
8752
8952
|
|
|
@@ -8756,6 +8956,7 @@ export namespace Meta {
|
|
|
8756
8956
|
* @param script the {@link Clutter.Script} creating the scriptable instance
|
|
8757
8957
|
* @param name the name of the property
|
|
8758
8958
|
* @param value the value of the property
|
|
8959
|
+
* @since 0.6
|
|
8759
8960
|
*/
|
|
8760
8961
|
set_custom_property(script: Clutter.Script, name: string, value: GObject.Value | any): void;
|
|
8761
8962
|
|
|
@@ -8767,11 +8968,13 @@ export namespace Meta {
|
|
|
8767
8968
|
* define a unique name for an object constructable using the UI
|
|
8768
8969
|
* definition language parsed by {@link Clutter.Script}.
|
|
8769
8970
|
* @param id_ the {@link Clutter.Script} id of the object
|
|
8971
|
+
* @since 0.6
|
|
8770
8972
|
*/
|
|
8771
8973
|
set_id(id_: string): void;
|
|
8772
8974
|
|
|
8773
8975
|
/**
|
|
8774
8976
|
* Retrieves the id of `scriptable` set using `clutter_scriptable_set_id()`.
|
|
8977
|
+
* @since 0.6
|
|
8775
8978
|
* @virtual
|
|
8776
8979
|
*/
|
|
8777
8980
|
vfunc_get_id(): string;
|
|
@@ -8783,6 +8986,7 @@ export namespace Meta {
|
|
|
8783
8986
|
* @param value the generic value to be set
|
|
8784
8987
|
* @param name the name of the node
|
|
8785
8988
|
* @param node the JSON node to be parsed
|
|
8989
|
+
* @since 0.6
|
|
8786
8990
|
* @virtual
|
|
8787
8991
|
*/
|
|
8788
8992
|
vfunc_parse_custom_node(script: Clutter.Script, value: unknown, name: string, node: Json.Node): boolean;
|
|
@@ -8793,6 +8997,7 @@ export namespace Meta {
|
|
|
8793
8997
|
* @param script the {@link Clutter.Script} creating the scriptable instance
|
|
8794
8998
|
* @param name the name of the property
|
|
8795
8999
|
* @param value the value of the property
|
|
9000
|
+
* @since 0.6
|
|
8796
9001
|
* @virtual
|
|
8797
9002
|
*/
|
|
8798
9003
|
vfunc_set_custom_property(script: Clutter.Script, name: string, value: unknown): void;
|
|
@@ -8805,6 +9010,7 @@ export namespace Meta {
|
|
|
8805
9010
|
* define a unique name for an object constructable using the UI
|
|
8806
9011
|
* definition language parsed by {@link Clutter.Script}.
|
|
8807
9012
|
* @param id_ the {@link Clutter.Script} id of the object
|
|
9013
|
+
* @since 0.6
|
|
8808
9014
|
* @virtual
|
|
8809
9015
|
*/
|
|
8810
9016
|
vfunc_set_id(id_: string): void;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@girs/meta-9",
|
|
3
|
-
"version": "4.
|
|
3
|
+
"version": "4.4.0",
|
|
4
4
|
"description": "GJS TypeScript type definitions for Meta-9",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"module": "meta-9.js",
|
|
@@ -31,29 +31,29 @@
|
|
|
31
31
|
"test": "tsc --project tsconfig.json"
|
|
32
32
|
},
|
|
33
33
|
"dependencies": {
|
|
34
|
-
"@girs/gjs": "^4.
|
|
35
|
-
"@girs/xlib-2.0": "^4.
|
|
36
|
-
"@girs/xfixes-4.0": "^4.
|
|
37
|
-
"@girs/gtk-3.0": "^4.
|
|
38
|
-
"@girs/gdk-3.0": "^4.
|
|
39
|
-
"@girs/cairo-1.0": "^4.
|
|
40
|
-
"@girs/gobject-2.0": "^4.
|
|
41
|
-
"@girs/glib-2.0": "^4.
|
|
42
|
-
"@girs/pango-1.0": "^4.
|
|
43
|
-
"@girs/harfbuzz-0.0": "^4.
|
|
44
|
-
"@girs/freetype2-2.0": "^4.
|
|
45
|
-
"@girs/gio-2.0": "^4.
|
|
46
|
-
"@girs/gmodule-2.0": "^4.
|
|
47
|
-
"@girs/gdkpixbuf-2.0": "^4.
|
|
48
|
-
"@girs/atk-1.0": "^4.
|
|
49
|
-
"@girs/gdesktopenums-3.0": "^4.
|
|
50
|
-
"@girs/coglpango-9": "^4.
|
|
51
|
-
"@girs/pangocairo-1.0": "^4.
|
|
52
|
-
"@girs/cogl-9": "^4.
|
|
53
|
-
"@girs/graphene-1.0": "^4.
|
|
54
|
-
"@girs/gl-1.0": "^4.
|
|
55
|
-
"@girs/clutter-9": "^4.
|
|
56
|
-
"@girs/json-1.0": "^4.
|
|
34
|
+
"@girs/gjs": "^4.4.0",
|
|
35
|
+
"@girs/xlib-2.0": "^4.4.0",
|
|
36
|
+
"@girs/xfixes-4.0": "^4.4.0",
|
|
37
|
+
"@girs/gtk-3.0": "^4.4.0",
|
|
38
|
+
"@girs/gdk-3.0": "^4.4.0",
|
|
39
|
+
"@girs/cairo-1.0": "^4.4.0",
|
|
40
|
+
"@girs/gobject-2.0": "^4.4.0",
|
|
41
|
+
"@girs/glib-2.0": "^4.4.0",
|
|
42
|
+
"@girs/pango-1.0": "^4.4.0",
|
|
43
|
+
"@girs/harfbuzz-0.0": "^4.4.0",
|
|
44
|
+
"@girs/freetype2-2.0": "^4.4.0",
|
|
45
|
+
"@girs/gio-2.0": "^4.4.0",
|
|
46
|
+
"@girs/gmodule-2.0": "^4.4.0",
|
|
47
|
+
"@girs/gdkpixbuf-2.0": "^4.4.0",
|
|
48
|
+
"@girs/atk-1.0": "^4.4.0",
|
|
49
|
+
"@girs/gdesktopenums-3.0": "^4.4.0",
|
|
50
|
+
"@girs/coglpango-9": "^4.4.0",
|
|
51
|
+
"@girs/pangocairo-1.0": "^4.4.0",
|
|
52
|
+
"@girs/cogl-9": "^4.4.0",
|
|
53
|
+
"@girs/graphene-1.0": "^4.4.0",
|
|
54
|
+
"@girs/gl-1.0": "^4.4.0",
|
|
55
|
+
"@girs/clutter-9": "^4.4.0",
|
|
56
|
+
"@girs/json-1.0": "^4.4.0" },
|
|
57
57
|
"devDependencies": {
|
|
58
58
|
"typescript": "*"
|
|
59
59
|
},
|