@girs/st-12 12.0.0-3.2.6 → 12.0.0-3.2.7
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/package.json +24 -24
- package/st-12.d.cts +62 -62
- package/st-12.d.ts +62 -62
package/README.md
CHANGED
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|

|
|
6
6
|
|
|
7
7
|
|
|
8
|
-
GJS TypeScript type definitions for St-12, generated from library version 12.0.0 using [ts-for-gir](https://github.com/gjsify/ts-for-gir) v3.2.
|
|
8
|
+
GJS TypeScript type definitions for St-12, generated from library version 12.0.0 using [ts-for-gir](https://github.com/gjsify/ts-for-gir) v3.2.7.
|
|
9
9
|
|
|
10
10
|
|
|
11
11
|
## Install
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@girs/st-12",
|
|
3
|
-
"version": "12.0.0-3.2.
|
|
3
|
+
"version": "12.0.0-3.2.7",
|
|
4
4
|
"description": "GJS TypeScript type definitions for St-12, generated from library version 12.0.0",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"module": "st-12.js",
|
|
@@ -25,29 +25,29 @@
|
|
|
25
25
|
"test:cjs": "NODE_OPTIONS=--max_old_space_size=9216 tsc --noEmit st-12.d.cts"
|
|
26
26
|
},
|
|
27
27
|
"dependencies": {
|
|
28
|
-
"@girs/atk-1.0": "^2.50.0-3.2.
|
|
29
|
-
"@girs/cairo-1.0": "^1.0.0-3.2.
|
|
30
|
-
"@girs/cally-12": "^12.0.0-3.2.
|
|
31
|
-
"@girs/clutter-12": "^12.0.0-3.2.
|
|
32
|
-
"@girs/cogl-12": "^12.0.0-3.2.
|
|
33
|
-
"@girs/coglpango-12": "^12.0.0-3.2.
|
|
34
|
-
"@girs/freetype2-2.0": "^2.0.0-3.2.
|
|
35
|
-
"@girs/gdesktopenums-3.0": "^3.0.0-3.2.
|
|
36
|
-
"@girs/gdkpixbuf-2.0": "^2.0.0-3.2.
|
|
37
|
-
"@girs/gio-2.0": "^2.78.0-3.2.
|
|
38
|
-
"@girs/gjs": "^3.2.
|
|
39
|
-
"@girs/gl-1.0": "^1.0.0-3.2.
|
|
40
|
-
"@girs/glib-2.0": "^2.78.0-3.2.
|
|
41
|
-
"@girs/gmodule-2.0": "^2.0.0-3.2.
|
|
42
|
-
"@girs/gobject-2.0": "^2.78.0-3.2.
|
|
43
|
-
"@girs/graphene-1.0": "^1.0.0-3.2.
|
|
44
|
-
"@girs/harfbuzz-0.0": "^8.2.1-3.2.
|
|
45
|
-
"@girs/json-1.0": "^1.7.1-3.2.
|
|
46
|
-
"@girs/meta-12": "^12.0.0-3.2.
|
|
47
|
-
"@girs/pango-1.0": "^1.51.0-3.2.
|
|
48
|
-
"@girs/pangocairo-1.0": "^1.0.0-3.2.
|
|
49
|
-
"@girs/xfixes-4.0": "^4.0.0-3.2.
|
|
50
|
-
"@girs/xlib-2.0": "^2.0.0-3.2.
|
|
28
|
+
"@girs/atk-1.0": "^2.50.0-3.2.7",
|
|
29
|
+
"@girs/cairo-1.0": "^1.0.0-3.2.7",
|
|
30
|
+
"@girs/cally-12": "^12.0.0-3.2.7",
|
|
31
|
+
"@girs/clutter-12": "^12.0.0-3.2.7",
|
|
32
|
+
"@girs/cogl-12": "^12.0.0-3.2.7",
|
|
33
|
+
"@girs/coglpango-12": "^12.0.0-3.2.7",
|
|
34
|
+
"@girs/freetype2-2.0": "^2.0.0-3.2.7",
|
|
35
|
+
"@girs/gdesktopenums-3.0": "^3.0.0-3.2.7",
|
|
36
|
+
"@girs/gdkpixbuf-2.0": "^2.0.0-3.2.7",
|
|
37
|
+
"@girs/gio-2.0": "^2.78.0-3.2.7",
|
|
38
|
+
"@girs/gjs": "^3.2.7",
|
|
39
|
+
"@girs/gl-1.0": "^1.0.0-3.2.7",
|
|
40
|
+
"@girs/glib-2.0": "^2.78.0-3.2.7",
|
|
41
|
+
"@girs/gmodule-2.0": "^2.0.0-3.2.7",
|
|
42
|
+
"@girs/gobject-2.0": "^2.78.0-3.2.7",
|
|
43
|
+
"@girs/graphene-1.0": "^1.0.0-3.2.7",
|
|
44
|
+
"@girs/harfbuzz-0.0": "^8.2.1-3.2.7",
|
|
45
|
+
"@girs/json-1.0": "^1.7.1-3.2.7",
|
|
46
|
+
"@girs/meta-12": "^12.0.0-3.2.7",
|
|
47
|
+
"@girs/pango-1.0": "^1.51.0-3.2.7",
|
|
48
|
+
"@girs/pangocairo-1.0": "^1.0.0-3.2.7",
|
|
49
|
+
"@girs/xfixes-4.0": "^4.0.0-3.2.7",
|
|
50
|
+
"@girs/xlib-2.0": "^2.0.0-3.2.7"
|
|
51
51
|
},
|
|
52
52
|
"devDependencies": {
|
|
53
53
|
"typescript": "*"
|
package/st-12.d.cts
CHANGED
|
@@ -307,7 +307,7 @@ export function icon_theme_error_quark(): GLib.Quark
|
|
|
307
307
|
* @param text text from the clipboard
|
|
308
308
|
*/
|
|
309
309
|
export interface ClipboardCallbackFunc {
|
|
310
|
-
(clipboard: Clipboard, text: string
|
|
310
|
+
(clipboard: Clipboard, text: string): void
|
|
311
311
|
}
|
|
312
312
|
/**
|
|
313
313
|
* Callback function called when content is retrieved from the clipboard.
|
|
@@ -625,7 +625,7 @@ export interface Adjustment extends Clutter.Animatable {
|
|
|
625
625
|
* @param name a unique name for the transition
|
|
626
626
|
* @param transition a #ClutterTransition
|
|
627
627
|
*/
|
|
628
|
-
add_transition(name: string
|
|
628
|
+
add_transition(name: string, transition: Clutter.Transition): void
|
|
629
629
|
/**
|
|
630
630
|
* Adjusts the adjustment using delta values from a scroll event.
|
|
631
631
|
* You should use this instead of using st_adjustment_set_value()
|
|
@@ -648,7 +648,7 @@ export interface Adjustment extends Clutter.Animatable {
|
|
|
648
648
|
* @param name a transition name
|
|
649
649
|
* @returns a #ClutterTransition
|
|
650
650
|
*/
|
|
651
|
-
get_transition(name: string
|
|
651
|
+
get_transition(name: string): Clutter.Transition | null
|
|
652
652
|
/**
|
|
653
653
|
* Gets the current value of the adjustment. See st_adjustment_set_value().
|
|
654
654
|
* @returns The current value of the adjustment
|
|
@@ -658,7 +658,7 @@ export interface Adjustment extends Clutter.Animatable {
|
|
|
658
658
|
* Gets all of `adjustment'`s values at once.
|
|
659
659
|
*/
|
|
660
660
|
get_values(): [ /* value */ number, /* lower */ number, /* upper */ number, /* step_increment */ number, /* page_increment */ number, /* page_size */ number ]
|
|
661
|
-
remove_transition(name: string
|
|
661
|
+
remove_transition(name: string): void
|
|
662
662
|
/**
|
|
663
663
|
* Sets the #StAdjustment value. The value is clamped to lie between
|
|
664
664
|
* #StAdjustment:lower and #StAdjustment:upper - #StAdjustment:page-size.
|
|
@@ -1676,7 +1676,7 @@ export interface Button extends Atk.ImplementorIface, Clutter.Animatable, Clutte
|
|
|
1676
1676
|
* will be returned instead of %NULL.
|
|
1677
1677
|
* @returns the text for the button
|
|
1678
1678
|
*/
|
|
1679
|
-
get_label(): string
|
|
1679
|
+
get_label(): string
|
|
1680
1680
|
/**
|
|
1681
1681
|
* Get the toggle mode status of the button.
|
|
1682
1682
|
* @returns %TRUE if toggle mode is set, otherwise %FALSE
|
|
@@ -1700,7 +1700,7 @@ export interface Button extends Atk.ImplementorIface, Clutter.Animatable, Clutte
|
|
|
1700
1700
|
* be removed and replaced with the icon.
|
|
1701
1701
|
* @param icon_name an icon name
|
|
1702
1702
|
*/
|
|
1703
|
-
set_icon_name(icon_name: string
|
|
1703
|
+
set_icon_name(icon_name: string): void
|
|
1704
1704
|
/**
|
|
1705
1705
|
* Sets the text displayed on the button.
|
|
1706
1706
|
* @param text text to set the label to
|
|
@@ -2039,7 +2039,7 @@ export class Button extends Bin {
|
|
|
2039
2039
|
* @param text text to set the label to
|
|
2040
2040
|
* @returns a new #StButton
|
|
2041
2041
|
*/
|
|
2042
|
-
static new_with_label(text: string
|
|
2042
|
+
static new_with_label(text: string): Button
|
|
2043
2043
|
_init(config?: Button.ConstructorProperties): void
|
|
2044
2044
|
}
|
|
2045
2045
|
|
|
@@ -2063,7 +2063,7 @@ export interface Clipboard {
|
|
|
2063
2063
|
* @param mimetype The mimetype to get content for
|
|
2064
2064
|
* @param callback function to be called when the type is retrieved
|
|
2065
2065
|
*/
|
|
2066
|
-
get_content(type: ClipboardType, mimetype: string
|
|
2066
|
+
get_content(type: ClipboardType, mimetype: string, callback: ClipboardContentCallbackFunc): void
|
|
2067
2067
|
/**
|
|
2068
2068
|
* Gets a list of the mimetypes supported by the default #StClipboard.
|
|
2069
2069
|
* @param type
|
|
@@ -2085,13 +2085,13 @@ export interface Clipboard {
|
|
|
2085
2085
|
* @param mimetype content mimetype
|
|
2086
2086
|
* @param bytes content data
|
|
2087
2087
|
*/
|
|
2088
|
-
set_content(type: ClipboardType, mimetype: string
|
|
2088
|
+
set_content(type: ClipboardType, mimetype: string, bytes: GLib.Bytes): void
|
|
2089
2089
|
/**
|
|
2090
2090
|
* Sets text as the current contents of the clipboard.
|
|
2091
2091
|
* @param type The type of clipboard that you want to set
|
|
2092
2092
|
* @param text text to copy to the clipboard
|
|
2093
2093
|
*/
|
|
2094
|
-
set_text(type: ClipboardType, text: string
|
|
2094
|
+
set_text(type: ClipboardType, text: string): void
|
|
2095
2095
|
|
|
2096
2096
|
// Class property signals of St-12.St.Clipboard
|
|
2097
2097
|
|
|
@@ -2678,7 +2678,7 @@ export interface Entry extends Atk.ImplementorIface, Clutter.Animatable, Clutter
|
|
|
2678
2678
|
* be returned instead of %NULL.
|
|
2679
2679
|
* @returns the text for the entry
|
|
2680
2680
|
*/
|
|
2681
|
-
get_text(): string
|
|
2681
|
+
get_text(): string
|
|
2682
2682
|
/**
|
|
2683
2683
|
* Set the hint actor of the entry to `hint_actor`.
|
|
2684
2684
|
* @param hint_actor a #ClutterActor
|
|
@@ -3185,7 +3185,7 @@ export interface GenericAccessible extends Atk.Action, Atk.Component, Atk.Value
|
|
|
3185
3185
|
* Gets the accessible description of the accessible.
|
|
3186
3186
|
* @returns a character string representing the accessible description of the accessible.
|
|
3187
3187
|
*/
|
|
3188
|
-
get_description(): string
|
|
3188
|
+
get_description(): string
|
|
3189
3189
|
/**
|
|
3190
3190
|
* Returns a non-localized string naming the specified action of the
|
|
3191
3191
|
* object. This name is generally not descriptive of the end result
|
|
@@ -3209,14 +3209,14 @@ export interface GenericAccessible extends Atk.Action, Atk.Component, Atk.Value
|
|
|
3209
3209
|
* Gets the accessible name of the accessible.
|
|
3210
3210
|
* @returns a character string representing the accessible name of the object.
|
|
3211
3211
|
*/
|
|
3212
|
-
get_name(): string
|
|
3212
|
+
get_name(): string
|
|
3213
3213
|
/**
|
|
3214
3214
|
* Sets a description of the specified action of the object.
|
|
3215
3215
|
* @param i the action index corresponding to the action to be performed
|
|
3216
3216
|
* @param desc the description to be assigned to this action
|
|
3217
3217
|
* @returns a gboolean representing if the description was successfully set;
|
|
3218
3218
|
*/
|
|
3219
|
-
set_description(i: number, desc: string
|
|
3219
|
+
set_description(i: number, desc: string): boolean
|
|
3220
3220
|
/**
|
|
3221
3221
|
* Sets the accessible description of the accessible. You can't set
|
|
3222
3222
|
* the description to NULL. This is reserved for the initial value. In
|
|
@@ -3224,7 +3224,7 @@ export interface GenericAccessible extends Atk.Action, Atk.Component, Atk.Value
|
|
|
3224
3224
|
* the name to a empty value you can use "".
|
|
3225
3225
|
* @param description a character string to be set as the accessible description
|
|
3226
3226
|
*/
|
|
3227
|
-
set_description(description: string
|
|
3227
|
+
set_description(description: string): void
|
|
3228
3228
|
/**
|
|
3229
3229
|
* Returns a description of the specified action of the object.
|
|
3230
3230
|
* @virtual
|
|
@@ -3237,7 +3237,7 @@ export interface GenericAccessible extends Atk.Action, Atk.Component, Atk.Value
|
|
|
3237
3237
|
* @virtual
|
|
3238
3238
|
* @returns a character string representing the accessible description of the accessible.
|
|
3239
3239
|
*/
|
|
3240
|
-
vfunc_get_description(): string
|
|
3240
|
+
vfunc_get_description(): string
|
|
3241
3241
|
/**
|
|
3242
3242
|
* Returns a non-localized string naming the specified action of the
|
|
3243
3243
|
* object. This name is generally not descriptive of the end result
|
|
@@ -3263,7 +3263,7 @@ export interface GenericAccessible extends Atk.Action, Atk.Component, Atk.Value
|
|
|
3263
3263
|
* @virtual
|
|
3264
3264
|
* @returns a character string representing the accessible name of the object.
|
|
3265
3265
|
*/
|
|
3266
|
-
vfunc_get_name(): string
|
|
3266
|
+
vfunc_get_name(): string
|
|
3267
3267
|
/**
|
|
3268
3268
|
* Sets a description of the specified action of the object.
|
|
3269
3269
|
* @virtual
|
|
@@ -3271,7 +3271,7 @@ export interface GenericAccessible extends Atk.Action, Atk.Component, Atk.Value
|
|
|
3271
3271
|
* @param desc the description to be assigned to this action
|
|
3272
3272
|
* @returns a gboolean representing if the description was successfully set;
|
|
3273
3273
|
*/
|
|
3274
|
-
vfunc_set_description(i: number, desc: string
|
|
3274
|
+
vfunc_set_description(i: number, desc: string): boolean
|
|
3275
3275
|
/**
|
|
3276
3276
|
* Sets the accessible description of the accessible. You can't set
|
|
3277
3277
|
* the description to NULL. This is reserved for the initial value. In
|
|
@@ -3280,7 +3280,7 @@ export interface GenericAccessible extends Atk.Action, Atk.Component, Atk.Value
|
|
|
3280
3280
|
* @virtual
|
|
3281
3281
|
* @param description a character string to be set as the accessible description
|
|
3282
3282
|
*/
|
|
3283
|
-
vfunc_set_description(description: string
|
|
3283
|
+
vfunc_set_description(description: string): void
|
|
3284
3284
|
|
|
3285
3285
|
// Own signals of St-12.St.GenericAccessible
|
|
3286
3286
|
|
|
@@ -3484,7 +3484,7 @@ export interface Icon extends Atk.ImplementorIface, Clutter.Animatable, Clutter.
|
|
|
3484
3484
|
* #GThemedIcon that is currently set.
|
|
3485
3485
|
* @returns The name of the icon or %NULL if no icon is set
|
|
3486
3486
|
*/
|
|
3487
|
-
get_fallback_icon_name(): string
|
|
3487
|
+
get_fallback_icon_name(): string
|
|
3488
3488
|
/**
|
|
3489
3489
|
* Gets the current #GIcon in use.
|
|
3490
3490
|
* @returns The current #GIcon, if set, otherwise %NULL
|
|
@@ -4046,7 +4046,7 @@ export interface IconTheme {
|
|
|
4046
4046
|
* of a subdirectory are also considered as ultimate fallback.
|
|
4047
4047
|
* @param path a resource path
|
|
4048
4048
|
*/
|
|
4049
|
-
add_resource_path(path: string
|
|
4049
|
+
add_resource_path(path: string): void
|
|
4050
4050
|
/**
|
|
4051
4051
|
* Appends a directory to the search path.
|
|
4052
4052
|
* See st_icon_theme_set_search_path().
|
|
@@ -4094,7 +4094,7 @@ export interface IconTheme {
|
|
|
4094
4094
|
* @param icon_name the name of an icon
|
|
4095
4095
|
* @returns An newly allocated array describing the sizes at which the icon is available. The array should be freed with g_free() when it is no longer needed.
|
|
4096
4096
|
*/
|
|
4097
|
-
get_icon_sizes(icon_name: string
|
|
4097
|
+
get_icon_sizes(icon_name: string): number[]
|
|
4098
4098
|
/**
|
|
4099
4099
|
* Gets the current search path. See st_icon_theme_set_search_path().
|
|
4100
4100
|
*/
|
|
@@ -4105,7 +4105,7 @@ export interface IconTheme {
|
|
|
4105
4105
|
* @param icon_name the name of an icon
|
|
4106
4106
|
* @returns %TRUE if @icon_theme includes an icon for @icon_name.
|
|
4107
4107
|
*/
|
|
4108
|
-
has_icon(icon_name: string
|
|
4108
|
+
has_icon(icon_name: string): boolean
|
|
4109
4109
|
/**
|
|
4110
4110
|
* Gets the list of contexts available within the current
|
|
4111
4111
|
* hierarchy of icon themes.
|
|
@@ -4145,7 +4145,7 @@ export interface IconTheme {
|
|
|
4145
4145
|
* @param flags flags modifying the behavior of the icon lookup
|
|
4146
4146
|
* @returns the rendered icon; this may be a newly created icon or a new reference to an internal icon, so you must not modify the icon. Use g_object_unref() to release your reference to the icon. %NULL if the icon isn’t found.
|
|
4147
4147
|
*/
|
|
4148
|
-
load_icon(icon_name: string
|
|
4148
|
+
load_icon(icon_name: string, size: number, flags: IconLookupFlags): GdkPixbuf.Pixbuf | null
|
|
4149
4149
|
/**
|
|
4150
4150
|
* Looks up an icon in an icon theme for a particular window scale,
|
|
4151
4151
|
* scales it to the given size and renders it into a pixbuf. This is a
|
|
@@ -4166,7 +4166,7 @@ export interface IconTheme {
|
|
|
4166
4166
|
* @param flags flags modifying the behavior of the icon lookup
|
|
4167
4167
|
* @returns the rendered icon; this may be a newly created icon or a new reference to an internal icon, so you must not modify the icon. Use g_object_unref() to release your reference to the icon. %NULL if the icon isn’t found.
|
|
4168
4168
|
*/
|
|
4169
|
-
load_icon_for_scale(icon_name: string
|
|
4169
|
+
load_icon_for_scale(icon_name: string, size: number, scale: number, flags: IconLookupFlags): GdkPixbuf.Pixbuf | null
|
|
4170
4170
|
/**
|
|
4171
4171
|
* Looks up an icon and returns a #StIconInfo containing information
|
|
4172
4172
|
* such as the filename of the icon. The icon can then be rendered
|
|
@@ -4211,7 +4211,7 @@ export interface IconTheme {
|
|
|
4211
4211
|
* @param flags flags modifying the behavior of the icon lookup
|
|
4212
4212
|
* @returns a #StIconInfo object containing information about the icon, or %NULL if the icon wasn’t found.
|
|
4213
4213
|
*/
|
|
4214
|
-
lookup_icon(icon_name: string
|
|
4214
|
+
lookup_icon(icon_name: string, size: number, flags: IconLookupFlags): IconInfo | null
|
|
4215
4215
|
/**
|
|
4216
4216
|
* Looks up a named icon for a particular window scale and returns a
|
|
4217
4217
|
* #StIconInfo containing information such as the filename of the
|
|
@@ -4224,7 +4224,7 @@ export interface IconTheme {
|
|
|
4224
4224
|
* @param flags flags modifying the behavior of the icon lookup
|
|
4225
4225
|
* @returns a #StIconInfo object containing information about the icon, or %NULL if the icon wasn’t found.
|
|
4226
4226
|
*/
|
|
4227
|
-
lookup_icon_for_scale(icon_name: string
|
|
4227
|
+
lookup_icon_for_scale(icon_name: string, size: number, scale: number, flags: IconLookupFlags): IconInfo | null
|
|
4228
4228
|
/**
|
|
4229
4229
|
* Prepends a directory to the search path.
|
|
4230
4230
|
* See st_icon_theme_set_search_path().
|
|
@@ -4398,7 +4398,7 @@ export interface ImageContent extends Clutter.Content, Gio.Icon, Gio.LoadableIco
|
|
|
4398
4398
|
* @param key name of the key
|
|
4399
4399
|
* @param data data to associate with that key
|
|
4400
4400
|
*/
|
|
4401
|
-
set_data(key: string
|
|
4401
|
+
set_data(key: string, data: any | null): void
|
|
4402
4402
|
/**
|
|
4403
4403
|
* Each object carries around a table of associations from
|
|
4404
4404
|
* strings to pointers. This function lets you set an association.
|
|
@@ -4413,7 +4413,7 @@ export interface ImageContent extends Clutter.Content, Gio.Icon, Gio.LoadableIco
|
|
|
4413
4413
|
* @param key name of the key
|
|
4414
4414
|
* @param data data to associate with that key
|
|
4415
4415
|
*/
|
|
4416
|
-
set_data(key: string
|
|
4416
|
+
set_data(key: string, data: any | null): void
|
|
4417
4417
|
|
|
4418
4418
|
// Class property signals of St-12.St.ImageContent
|
|
4419
4419
|
|
|
@@ -4497,7 +4497,7 @@ export interface Label extends Atk.ImplementorIface, Clutter.Animatable, Clutter
|
|
|
4497
4497
|
* Get the text displayed on the label.
|
|
4498
4498
|
* @returns the text for the label. This must not be freed by the application
|
|
4499
4499
|
*/
|
|
4500
|
-
get_text(): string
|
|
4500
|
+
get_text(): string
|
|
4501
4501
|
/**
|
|
4502
4502
|
* Sets the text displayed by the label.
|
|
4503
4503
|
* @param text text to set the label to
|
|
@@ -6397,7 +6397,7 @@ export interface TextureCache {
|
|
|
6397
6397
|
* @param property_name Name of a property
|
|
6398
6398
|
* @returns A new #GIcon
|
|
6399
6399
|
*/
|
|
6400
|
-
bind_cairo_surface_property(object: GObject.Object, property_name: string
|
|
6400
|
+
bind_cairo_surface_property(object: GObject.Object, property_name: string): Gio.Icon
|
|
6401
6401
|
/**
|
|
6402
6402
|
* Create a #GIcon from `surface`.
|
|
6403
6403
|
* @param surface A #cairo_surface_t
|
|
@@ -6915,7 +6915,7 @@ export interface ThemeNode {
|
|
|
6915
6915
|
* indicated color.
|
|
6916
6916
|
* @param property_name The name of the color property
|
|
6917
6917
|
*/
|
|
6918
|
-
get_color(property_name: string
|
|
6918
|
+
get_color(property_name: string): /* color */ Clutter.Color
|
|
6919
6919
|
/**
|
|
6920
6920
|
* Gets the box within an actor's allocation that contents the content
|
|
6921
6921
|
* of an actor (excluding borders and padding). This is a convenience function
|
|
@@ -6934,7 +6934,7 @@ export interface ThemeNode {
|
|
|
6934
6934
|
* @param property_name The name of the numeric property
|
|
6935
6935
|
* @returns the value found. If @property_name is not found, a warning will be logged and 0 will be returned.
|
|
6936
6936
|
*/
|
|
6937
|
-
get_double(property_name: string
|
|
6937
|
+
get_double(property_name: string): number
|
|
6938
6938
|
/**
|
|
6939
6939
|
* Get the list of element classes for `node`.
|
|
6940
6940
|
* @returns the element's classes
|
|
@@ -6944,7 +6944,7 @@ export interface ThemeNode {
|
|
|
6944
6944
|
* Get the unique element ID for `node`.
|
|
6945
6945
|
* @returns the element's ID
|
|
6946
6946
|
*/
|
|
6947
|
-
get_element_id(): string
|
|
6947
|
+
get_element_id(): string
|
|
6948
6948
|
/**
|
|
6949
6949
|
* Get the element #GType for `node`.
|
|
6950
6950
|
* @returns the element type
|
|
@@ -7001,7 +7001,7 @@ export interface ThemeNode {
|
|
|
7001
7001
|
* @param property_name The name of the length property
|
|
7002
7002
|
* @returns the length, in pixels, or 0 if the property was not found.
|
|
7003
7003
|
*/
|
|
7004
|
-
get_length(property_name: string
|
|
7004
|
+
get_length(property_name: string): number
|
|
7005
7005
|
/**
|
|
7006
7006
|
* Gets the value for the letter-spacing style property, in physical pixels.
|
|
7007
7007
|
* @returns the value of the letter-spacing property, if found, or zero if such property has not been found.
|
|
@@ -7081,7 +7081,7 @@ export interface ThemeNode {
|
|
|
7081
7081
|
* @param property_name The name of the shadow property
|
|
7082
7082
|
* @returns the shadow, or %NULL if the property was not found.
|
|
7083
7083
|
*/
|
|
7084
|
-
get_shadow(property_name: string
|
|
7084
|
+
get_shadow(property_name: string): Shadow | null
|
|
7085
7085
|
/**
|
|
7086
7086
|
* Get the text alignment of `node`.
|
|
7087
7087
|
* @returns the alignment of text for @node
|
|
@@ -7118,7 +7118,7 @@ export interface ThemeNode {
|
|
|
7118
7118
|
* @param property_name The name of the string property
|
|
7119
7119
|
* @returns the newly allocated value if found. If @property_name is not found, a warning will be logged and %NULL will be returned.
|
|
7120
7120
|
*/
|
|
7121
|
-
get_url(property_name: string
|
|
7121
|
+
get_url(property_name: string): Gio.File | null
|
|
7122
7122
|
/**
|
|
7123
7123
|
* Gets the total vertical padding (top + bottom padding), in physical pixels.
|
|
7124
7124
|
* @returns the total vertical padding in physical pixels
|
|
@@ -7147,7 +7147,7 @@ export interface ThemeNode {
|
|
|
7147
7147
|
* @param inherit if %TRUE, if a value is not found for the property on the node, then it will be looked up on the parent node, and then on the parent's parent, and so forth. Note that if the property has a value of 'inherit' it will be inherited even if %FALSE is passed in for `inherit;` this only affects the default behavior for inheritance.
|
|
7148
7148
|
* @returns %TRUE if the property was found in the properties for this theme node (or in the properties of parent nodes when inheriting.)
|
|
7149
7149
|
*/
|
|
7150
|
-
lookup_color(property_name: string
|
|
7150
|
+
lookup_color(property_name: string, inherit: boolean): [ /* returnType */ boolean, /* color */ Clutter.Color ]
|
|
7151
7151
|
/**
|
|
7152
7152
|
* Generically looks up a property containing a single numeric value
|
|
7153
7153
|
* without units.
|
|
@@ -7157,7 +7157,7 @@ export interface ThemeNode {
|
|
|
7157
7157
|
* @param inherit if %TRUE, if a value is not found for the property on the node, then it will be looked up on the parent node, and then on the parent's parent, and so forth. Note that if the property has a value of 'inherit' it will be inherited even if %FALSE is passed in for `inherit;` this only affects the default behavior for inheritance.
|
|
7158
7158
|
* @returns %TRUE if the property was found in the properties for this theme node (or in the properties of parent nodes when inheriting.)
|
|
7159
7159
|
*/
|
|
7160
|
-
lookup_double(property_name: string
|
|
7160
|
+
lookup_double(property_name: string, inherit: boolean): [ /* returnType */ boolean, /* value */ number ]
|
|
7161
7161
|
/**
|
|
7162
7162
|
* Generically looks up a property containing a single length value. When
|
|
7163
7163
|
* specific getters (like st_theme_node_get_border_width()) exist, they
|
|
@@ -7169,7 +7169,7 @@ export interface ThemeNode {
|
|
|
7169
7169
|
* @param inherit if %TRUE, if a value is not found for the property on the node, then it will be looked up on the parent node, and then on the parent's parent, and so forth. Note that if the property has a value of 'inherit' it will be inherited even if %FALSE is passed in for `inherit;` this only affects the default behavior for inheritance.
|
|
7170
7170
|
* @returns %TRUE if the property was found in the properties for this theme node (or in the properties of parent nodes when inheriting.)
|
|
7171
7171
|
*/
|
|
7172
|
-
lookup_length(property_name: string
|
|
7172
|
+
lookup_length(property_name: string, inherit: boolean): [ /* returnType */ boolean, /* length */ number ]
|
|
7173
7173
|
/**
|
|
7174
7174
|
* If the property is not found, the value in the shadow variable will not
|
|
7175
7175
|
* be changed.
|
|
@@ -7184,7 +7184,7 @@ export interface ThemeNode {
|
|
|
7184
7184
|
* @param inherit if %TRUE, if a value is not found for the property on the node, then it will be looked up on the parent node, and then on the parent's parent, and so forth. Note that if the property has a value of 'inherit' it will be inherited even if %FALSE is passed in for `inherit;` this only affects the default behavior for inheritance.
|
|
7185
7185
|
* @returns %TRUE if the property was found in the properties for this theme node (or in the properties of parent nodes when inheriting.), %FALSE if the property was not found, or was explicitly set to 'none'.
|
|
7186
7186
|
*/
|
|
7187
|
-
lookup_shadow(property_name: string
|
|
7187
|
+
lookup_shadow(property_name: string, inherit: boolean): [ /* returnType */ boolean, /* shadow */ Shadow ]
|
|
7188
7188
|
/**
|
|
7189
7189
|
* Generically looks up a property containing a single time value,
|
|
7190
7190
|
* which is converted to milliseconds.
|
|
@@ -7192,7 +7192,7 @@ export interface ThemeNode {
|
|
|
7192
7192
|
* @param inherit if %TRUE, if a value is not found for the property on the node, then it will be looked up on the parent node, and then on the parent's parent, and so forth. Note that if the property has a value of 'inherit' it will be inherited even if %FALSE is passed in for `inherit;` this only affects the default behavior for inheritance.
|
|
7193
7193
|
* @returns %TRUE if the property was found in the properties for this theme node (or in the properties of parent nodes when inheriting.)
|
|
7194
7194
|
*/
|
|
7195
|
-
lookup_time(property_name: string
|
|
7195
|
+
lookup_time(property_name: string, inherit: boolean): [ /* returnType */ boolean, /* value */ number ]
|
|
7196
7196
|
/**
|
|
7197
7197
|
* Looks up a property containing a single URL value.
|
|
7198
7198
|
*
|
|
@@ -7201,7 +7201,7 @@ export interface ThemeNode {
|
|
|
7201
7201
|
* @param inherit if %TRUE, if a value is not found for the property on the node, then it will be looked up on the parent node, and then on the parent's parent, and so forth. Note that if the property has a value of 'inherit' it will be inherited even if %FALSE is passed in for `inherit;` this only affects the default behavior for inheritance.
|
|
7202
7202
|
* @returns %TRUE if the property was found in the properties for this theme node (or in the properties of parent nodes when inheriting.)
|
|
7203
7203
|
*/
|
|
7204
|
-
lookup_url(property_name: string
|
|
7204
|
+
lookup_url(property_name: string, inherit: boolean): [ /* returnType */ boolean, /* file */ Gio.File ]
|
|
7205
7205
|
/**
|
|
7206
7206
|
* Check if st_theme_node_paint() will paint identically for `node` as it does
|
|
7207
7207
|
* for `other`. Note that in some cases this function may return %TRUE even
|
|
@@ -7250,7 +7250,7 @@ export class ThemeNode extends GObject.Object {
|
|
|
7250
7250
|
* @param inline_style
|
|
7251
7251
|
* @returns a new #StThemeNode
|
|
7252
7252
|
*/
|
|
7253
|
-
constructor(context: ThemeContext, parent_node: ThemeNode | null, theme: Theme | null, element_type: GObject.GType, element_id: string | null, element_class: string | null, pseudo_class: string | null, inline_style: string
|
|
7253
|
+
constructor(context: ThemeContext, parent_node: ThemeNode | null, theme: Theme | null, element_type: GObject.GType, element_id: string | null, element_class: string | null, pseudo_class: string | null, inline_style: string)
|
|
7254
7254
|
/**
|
|
7255
7255
|
* Creates a new #StThemeNode. Once created, a node is immutable. If any
|
|
7256
7256
|
* of the attributes of the node (like the `element_class)` change the node
|
|
@@ -7266,7 +7266,7 @@ export class ThemeNode extends GObject.Object {
|
|
|
7266
7266
|
* @param inline_style
|
|
7267
7267
|
* @returns a new #StThemeNode
|
|
7268
7268
|
*/
|
|
7269
|
-
static new(context: ThemeContext, parent_node: ThemeNode | null, theme: Theme | null, element_type: GObject.GType, element_id: string | null, element_class: string | null, pseudo_class: string | null, inline_style: string
|
|
7269
|
+
static new(context: ThemeContext, parent_node: ThemeNode | null, theme: Theme | null, element_type: GObject.GType, element_id: string | null, element_class: string | null, pseudo_class: string | null, inline_style: string): ThemeNode
|
|
7270
7270
|
_init(config?: ThemeNode.ConstructorProperties): void
|
|
7271
7271
|
}
|
|
7272
7272
|
|
|
@@ -7780,13 +7780,13 @@ export interface Widget extends Atk.ImplementorIface, Clutter.Animatable, Clutte
|
|
|
7780
7780
|
* already present.
|
|
7781
7781
|
* @param style_class a style class name string
|
|
7782
7782
|
*/
|
|
7783
|
-
add_style_class_name(style_class: string
|
|
7783
|
+
add_style_class_name(style_class: string): void
|
|
7784
7784
|
/**
|
|
7785
7785
|
* Adds `pseudo_class` to `actor'`s pseudo class list, if it is not
|
|
7786
7786
|
* already present.
|
|
7787
7787
|
* @param pseudo_class a pseudo class string
|
|
7788
7788
|
*/
|
|
7789
|
-
add_style_pseudo_class(pseudo_class: string
|
|
7789
|
+
add_style_pseudo_class(pseudo_class: string): void
|
|
7790
7790
|
/**
|
|
7791
7791
|
* Ensures that `widget` has read its style information and propagated any
|
|
7792
7792
|
* changes to its children.
|
|
@@ -7797,7 +7797,7 @@ export interface Widget extends Atk.ImplementorIface, Clutter.Animatable, Clutte
|
|
|
7797
7797
|
* st_widget_set_accessible_name() for more information.
|
|
7798
7798
|
* @returns a character string representing the accessible name of the widget.
|
|
7799
7799
|
*/
|
|
7800
|
-
get_accessible_name(): string
|
|
7800
|
+
get_accessible_name(): string
|
|
7801
7801
|
/**
|
|
7802
7802
|
* Gets the #AtkRole for this widget. See
|
|
7803
7803
|
* st_widget_set_accessible_role() for more information.
|
|
@@ -7837,7 +7837,7 @@ export interface Widget extends Atk.ImplementorIface, Clutter.Animatable, Clutte
|
|
|
7837
7837
|
* Get the current style class name
|
|
7838
7838
|
* @returns the class name string. The string is owned by the #StWidget and should not be modified or freed.
|
|
7839
7839
|
*/
|
|
7840
|
-
get_style_class_name(): string
|
|
7840
|
+
get_style_class_name(): string
|
|
7841
7841
|
/**
|
|
7842
7842
|
* Get the current style pseudo class list.
|
|
7843
7843
|
*
|
|
@@ -7846,7 +7846,7 @@ export interface Widget extends Atk.ImplementorIface, Clutter.Animatable, Clutte
|
|
|
7846
7846
|
* st_widget_has_style_pseudo_class().
|
|
7847
7847
|
* @returns the pseudo class list string. The string is owned by the #StWidget and should not be modified or freed.
|
|
7848
7848
|
*/
|
|
7849
|
-
get_style_pseudo_class(): string
|
|
7849
|
+
get_style_pseudo_class(): string
|
|
7850
7850
|
/**
|
|
7851
7851
|
* Gets the theme node holding style information for the widget.
|
|
7852
7852
|
* The theme node is used to access standard and custom CSS
|
|
@@ -7868,13 +7868,13 @@ export interface Widget extends Atk.ImplementorIface, Clutter.Animatable, Clutte
|
|
|
7868
7868
|
* @param style_class a style class string
|
|
7869
7869
|
* @returns whether or not @actor's style class list includes @style_class.
|
|
7870
7870
|
*/
|
|
7871
|
-
has_style_class_name(style_class: string
|
|
7871
|
+
has_style_class_name(style_class: string): boolean
|
|
7872
7872
|
/**
|
|
7873
7873
|
* Tests if `actor'`s pseudo class list includes `pseudo_class`.
|
|
7874
7874
|
* @param pseudo_class a pseudo class string
|
|
7875
7875
|
* @returns whether or not @actor's pseudo class list includes @pseudo_class.
|
|
7876
7876
|
*/
|
|
7877
|
-
has_style_pseudo_class(pseudo_class: string
|
|
7877
|
+
has_style_pseudo_class(pseudo_class: string): boolean
|
|
7878
7878
|
/**
|
|
7879
7879
|
* Tries to update the keyboard focus within `widget` in response to a
|
|
7880
7880
|
* keyboard event.
|
|
@@ -7938,12 +7938,12 @@ export interface Widget extends Atk.ImplementorIface, Clutter.Animatable, Clutte
|
|
|
7938
7938
|
* present.
|
|
7939
7939
|
* @param style_class a style class name string
|
|
7940
7940
|
*/
|
|
7941
|
-
remove_style_class_name(style_class: string
|
|
7941
|
+
remove_style_class_name(style_class: string): void
|
|
7942
7942
|
/**
|
|
7943
7943
|
* Removes `pseudo_class` from `actor'`s pseudo class, if it is present.
|
|
7944
7944
|
* @param pseudo_class a pseudo class string
|
|
7945
7945
|
*/
|
|
7946
|
-
remove_style_pseudo_class(pseudo_class: string
|
|
7946
|
+
remove_style_pseudo_class(pseudo_class: string): void
|
|
7947
7947
|
/**
|
|
7948
7948
|
* This method allows to set a customly created accessible object to
|
|
7949
7949
|
* this widget. For example if you define a new subclass of
|
|
@@ -8377,7 +8377,7 @@ export interface WidgetAccessible extends Atk.Action, Atk.Component {
|
|
|
8377
8377
|
* Gets the accessible description of the accessible.
|
|
8378
8378
|
* @returns a character string representing the accessible description of the accessible.
|
|
8379
8379
|
*/
|
|
8380
|
-
get_description(): string
|
|
8380
|
+
get_description(): string
|
|
8381
8381
|
/**
|
|
8382
8382
|
* Returns a non-localized string naming the specified action of the
|
|
8383
8383
|
* object. This name is generally not descriptive of the end result
|
|
@@ -8401,14 +8401,14 @@ export interface WidgetAccessible extends Atk.Action, Atk.Component {
|
|
|
8401
8401
|
* Gets the accessible name of the accessible.
|
|
8402
8402
|
* @returns a character string representing the accessible name of the object.
|
|
8403
8403
|
*/
|
|
8404
|
-
get_name(): string
|
|
8404
|
+
get_name(): string
|
|
8405
8405
|
/**
|
|
8406
8406
|
* Sets a description of the specified action of the object.
|
|
8407
8407
|
* @param i the action index corresponding to the action to be performed
|
|
8408
8408
|
* @param desc the description to be assigned to this action
|
|
8409
8409
|
* @returns a gboolean representing if the description was successfully set;
|
|
8410
8410
|
*/
|
|
8411
|
-
set_description(i: number, desc: string
|
|
8411
|
+
set_description(i: number, desc: string): boolean
|
|
8412
8412
|
/**
|
|
8413
8413
|
* Sets the accessible description of the accessible. You can't set
|
|
8414
8414
|
* the description to NULL. This is reserved for the initial value. In
|
|
@@ -8416,7 +8416,7 @@ export interface WidgetAccessible extends Atk.Action, Atk.Component {
|
|
|
8416
8416
|
* the name to a empty value you can use "".
|
|
8417
8417
|
* @param description a character string to be set as the accessible description
|
|
8418
8418
|
*/
|
|
8419
|
-
set_description(description: string
|
|
8419
|
+
set_description(description: string): void
|
|
8420
8420
|
/**
|
|
8421
8421
|
* Returns a description of the specified action of the object.
|
|
8422
8422
|
* @virtual
|
|
@@ -8429,7 +8429,7 @@ export interface WidgetAccessible extends Atk.Action, Atk.Component {
|
|
|
8429
8429
|
* @virtual
|
|
8430
8430
|
* @returns a character string representing the accessible description of the accessible.
|
|
8431
8431
|
*/
|
|
8432
|
-
vfunc_get_description(): string
|
|
8432
|
+
vfunc_get_description(): string
|
|
8433
8433
|
/**
|
|
8434
8434
|
* Returns a non-localized string naming the specified action of the
|
|
8435
8435
|
* object. This name is generally not descriptive of the end result
|
|
@@ -8455,7 +8455,7 @@ export interface WidgetAccessible extends Atk.Action, Atk.Component {
|
|
|
8455
8455
|
* @virtual
|
|
8456
8456
|
* @returns a character string representing the accessible name of the object.
|
|
8457
8457
|
*/
|
|
8458
|
-
vfunc_get_name(): string
|
|
8458
|
+
vfunc_get_name(): string
|
|
8459
8459
|
/**
|
|
8460
8460
|
* Sets a description of the specified action of the object.
|
|
8461
8461
|
* @virtual
|
|
@@ -8463,7 +8463,7 @@ export interface WidgetAccessible extends Atk.Action, Atk.Component {
|
|
|
8463
8463
|
* @param desc the description to be assigned to this action
|
|
8464
8464
|
* @returns a gboolean representing if the description was successfully set;
|
|
8465
8465
|
*/
|
|
8466
|
-
vfunc_set_description(i: number, desc: string
|
|
8466
|
+
vfunc_set_description(i: number, desc: string): boolean
|
|
8467
8467
|
/**
|
|
8468
8468
|
* Sets the accessible description of the accessible. You can't set
|
|
8469
8469
|
* the description to NULL. This is reserved for the initial value. In
|
|
@@ -8472,7 +8472,7 @@ export interface WidgetAccessible extends Atk.Action, Atk.Component {
|
|
|
8472
8472
|
* @virtual
|
|
8473
8473
|
* @param description a character string to be set as the accessible description
|
|
8474
8474
|
*/
|
|
8475
|
-
vfunc_set_description(description: string
|
|
8475
|
+
vfunc_set_description(description: string): void
|
|
8476
8476
|
|
|
8477
8477
|
// Class property signals of St-12.St.WidgetAccessible
|
|
8478
8478
|
|
package/st-12.d.ts
CHANGED
|
@@ -309,7 +309,7 @@ function icon_theme_error_quark(): GLib.Quark
|
|
|
309
309
|
* @param text text from the clipboard
|
|
310
310
|
*/
|
|
311
311
|
interface ClipboardCallbackFunc {
|
|
312
|
-
(clipboard: Clipboard, text: string
|
|
312
|
+
(clipboard: Clipboard, text: string): void
|
|
313
313
|
}
|
|
314
314
|
/**
|
|
315
315
|
* Callback function called when content is retrieved from the clipboard.
|
|
@@ -627,7 +627,7 @@ interface Adjustment extends Clutter.Animatable {
|
|
|
627
627
|
* @param name a unique name for the transition
|
|
628
628
|
* @param transition a #ClutterTransition
|
|
629
629
|
*/
|
|
630
|
-
add_transition(name: string
|
|
630
|
+
add_transition(name: string, transition: Clutter.Transition): void
|
|
631
631
|
/**
|
|
632
632
|
* Adjusts the adjustment using delta values from a scroll event.
|
|
633
633
|
* You should use this instead of using st_adjustment_set_value()
|
|
@@ -650,7 +650,7 @@ interface Adjustment extends Clutter.Animatable {
|
|
|
650
650
|
* @param name a transition name
|
|
651
651
|
* @returns a #ClutterTransition
|
|
652
652
|
*/
|
|
653
|
-
get_transition(name: string
|
|
653
|
+
get_transition(name: string): Clutter.Transition | null
|
|
654
654
|
/**
|
|
655
655
|
* Gets the current value of the adjustment. See st_adjustment_set_value().
|
|
656
656
|
* @returns The current value of the adjustment
|
|
@@ -660,7 +660,7 @@ interface Adjustment extends Clutter.Animatable {
|
|
|
660
660
|
* Gets all of `adjustment'`s values at once.
|
|
661
661
|
*/
|
|
662
662
|
get_values(): [ /* value */ number, /* lower */ number, /* upper */ number, /* step_increment */ number, /* page_increment */ number, /* page_size */ number ]
|
|
663
|
-
remove_transition(name: string
|
|
663
|
+
remove_transition(name: string): void
|
|
664
664
|
/**
|
|
665
665
|
* Sets the #StAdjustment value. The value is clamped to lie between
|
|
666
666
|
* #StAdjustment:lower and #StAdjustment:upper - #StAdjustment:page-size.
|
|
@@ -1678,7 +1678,7 @@ interface Button extends Atk.ImplementorIface, Clutter.Animatable, Clutter.Conta
|
|
|
1678
1678
|
* will be returned instead of %NULL.
|
|
1679
1679
|
* @returns the text for the button
|
|
1680
1680
|
*/
|
|
1681
|
-
get_label(): string
|
|
1681
|
+
get_label(): string
|
|
1682
1682
|
/**
|
|
1683
1683
|
* Get the toggle mode status of the button.
|
|
1684
1684
|
* @returns %TRUE if toggle mode is set, otherwise %FALSE
|
|
@@ -1702,7 +1702,7 @@ interface Button extends Atk.ImplementorIface, Clutter.Animatable, Clutter.Conta
|
|
|
1702
1702
|
* be removed and replaced with the icon.
|
|
1703
1703
|
* @param icon_name an icon name
|
|
1704
1704
|
*/
|
|
1705
|
-
set_icon_name(icon_name: string
|
|
1705
|
+
set_icon_name(icon_name: string): void
|
|
1706
1706
|
/**
|
|
1707
1707
|
* Sets the text displayed on the button.
|
|
1708
1708
|
* @param text text to set the label to
|
|
@@ -2041,7 +2041,7 @@ class Button extends Bin {
|
|
|
2041
2041
|
* @param text text to set the label to
|
|
2042
2042
|
* @returns a new #StButton
|
|
2043
2043
|
*/
|
|
2044
|
-
static new_with_label(text: string
|
|
2044
|
+
static new_with_label(text: string): Button
|
|
2045
2045
|
_init(config?: Button.ConstructorProperties): void
|
|
2046
2046
|
}
|
|
2047
2047
|
|
|
@@ -2065,7 +2065,7 @@ interface Clipboard {
|
|
|
2065
2065
|
* @param mimetype The mimetype to get content for
|
|
2066
2066
|
* @param callback function to be called when the type is retrieved
|
|
2067
2067
|
*/
|
|
2068
|
-
get_content(type: ClipboardType, mimetype: string
|
|
2068
|
+
get_content(type: ClipboardType, mimetype: string, callback: ClipboardContentCallbackFunc): void
|
|
2069
2069
|
/**
|
|
2070
2070
|
* Gets a list of the mimetypes supported by the default #StClipboard.
|
|
2071
2071
|
* @param type
|
|
@@ -2087,13 +2087,13 @@ interface Clipboard {
|
|
|
2087
2087
|
* @param mimetype content mimetype
|
|
2088
2088
|
* @param bytes content data
|
|
2089
2089
|
*/
|
|
2090
|
-
set_content(type: ClipboardType, mimetype: string
|
|
2090
|
+
set_content(type: ClipboardType, mimetype: string, bytes: GLib.Bytes): void
|
|
2091
2091
|
/**
|
|
2092
2092
|
* Sets text as the current contents of the clipboard.
|
|
2093
2093
|
* @param type The type of clipboard that you want to set
|
|
2094
2094
|
* @param text text to copy to the clipboard
|
|
2095
2095
|
*/
|
|
2096
|
-
set_text(type: ClipboardType, text: string
|
|
2096
|
+
set_text(type: ClipboardType, text: string): void
|
|
2097
2097
|
|
|
2098
2098
|
// Class property signals of St-12.St.Clipboard
|
|
2099
2099
|
|
|
@@ -2680,7 +2680,7 @@ interface Entry extends Atk.ImplementorIface, Clutter.Animatable, Clutter.Contai
|
|
|
2680
2680
|
* be returned instead of %NULL.
|
|
2681
2681
|
* @returns the text for the entry
|
|
2682
2682
|
*/
|
|
2683
|
-
get_text(): string
|
|
2683
|
+
get_text(): string
|
|
2684
2684
|
/**
|
|
2685
2685
|
* Set the hint actor of the entry to `hint_actor`.
|
|
2686
2686
|
* @param hint_actor a #ClutterActor
|
|
@@ -3187,7 +3187,7 @@ interface GenericAccessible extends Atk.Action, Atk.Component, Atk.Value {
|
|
|
3187
3187
|
* Gets the accessible description of the accessible.
|
|
3188
3188
|
* @returns a character string representing the accessible description of the accessible.
|
|
3189
3189
|
*/
|
|
3190
|
-
get_description(): string
|
|
3190
|
+
get_description(): string
|
|
3191
3191
|
/**
|
|
3192
3192
|
* Returns a non-localized string naming the specified action of the
|
|
3193
3193
|
* object. This name is generally not descriptive of the end result
|
|
@@ -3211,14 +3211,14 @@ interface GenericAccessible extends Atk.Action, Atk.Component, Atk.Value {
|
|
|
3211
3211
|
* Gets the accessible name of the accessible.
|
|
3212
3212
|
* @returns a character string representing the accessible name of the object.
|
|
3213
3213
|
*/
|
|
3214
|
-
get_name(): string
|
|
3214
|
+
get_name(): string
|
|
3215
3215
|
/**
|
|
3216
3216
|
* Sets a description of the specified action of the object.
|
|
3217
3217
|
* @param i the action index corresponding to the action to be performed
|
|
3218
3218
|
* @param desc the description to be assigned to this action
|
|
3219
3219
|
* @returns a gboolean representing if the description was successfully set;
|
|
3220
3220
|
*/
|
|
3221
|
-
set_description(i: number, desc: string
|
|
3221
|
+
set_description(i: number, desc: string): boolean
|
|
3222
3222
|
/**
|
|
3223
3223
|
* Sets the accessible description of the accessible. You can't set
|
|
3224
3224
|
* the description to NULL. This is reserved for the initial value. In
|
|
@@ -3226,7 +3226,7 @@ interface GenericAccessible extends Atk.Action, Atk.Component, Atk.Value {
|
|
|
3226
3226
|
* the name to a empty value you can use "".
|
|
3227
3227
|
* @param description a character string to be set as the accessible description
|
|
3228
3228
|
*/
|
|
3229
|
-
set_description(description: string
|
|
3229
|
+
set_description(description: string): void
|
|
3230
3230
|
/**
|
|
3231
3231
|
* Returns a description of the specified action of the object.
|
|
3232
3232
|
* @virtual
|
|
@@ -3239,7 +3239,7 @@ interface GenericAccessible extends Atk.Action, Atk.Component, Atk.Value {
|
|
|
3239
3239
|
* @virtual
|
|
3240
3240
|
* @returns a character string representing the accessible description of the accessible.
|
|
3241
3241
|
*/
|
|
3242
|
-
vfunc_get_description(): string
|
|
3242
|
+
vfunc_get_description(): string
|
|
3243
3243
|
/**
|
|
3244
3244
|
* Returns a non-localized string naming the specified action of the
|
|
3245
3245
|
* object. This name is generally not descriptive of the end result
|
|
@@ -3265,7 +3265,7 @@ interface GenericAccessible extends Atk.Action, Atk.Component, Atk.Value {
|
|
|
3265
3265
|
* @virtual
|
|
3266
3266
|
* @returns a character string representing the accessible name of the object.
|
|
3267
3267
|
*/
|
|
3268
|
-
vfunc_get_name(): string
|
|
3268
|
+
vfunc_get_name(): string
|
|
3269
3269
|
/**
|
|
3270
3270
|
* Sets a description of the specified action of the object.
|
|
3271
3271
|
* @virtual
|
|
@@ -3273,7 +3273,7 @@ interface GenericAccessible extends Atk.Action, Atk.Component, Atk.Value {
|
|
|
3273
3273
|
* @param desc the description to be assigned to this action
|
|
3274
3274
|
* @returns a gboolean representing if the description was successfully set;
|
|
3275
3275
|
*/
|
|
3276
|
-
vfunc_set_description(i: number, desc: string
|
|
3276
|
+
vfunc_set_description(i: number, desc: string): boolean
|
|
3277
3277
|
/**
|
|
3278
3278
|
* Sets the accessible description of the accessible. You can't set
|
|
3279
3279
|
* the description to NULL. This is reserved for the initial value. In
|
|
@@ -3282,7 +3282,7 @@ interface GenericAccessible extends Atk.Action, Atk.Component, Atk.Value {
|
|
|
3282
3282
|
* @virtual
|
|
3283
3283
|
* @param description a character string to be set as the accessible description
|
|
3284
3284
|
*/
|
|
3285
|
-
vfunc_set_description(description: string
|
|
3285
|
+
vfunc_set_description(description: string): void
|
|
3286
3286
|
|
|
3287
3287
|
// Own signals of St-12.St.GenericAccessible
|
|
3288
3288
|
|
|
@@ -3486,7 +3486,7 @@ interface Icon extends Atk.ImplementorIface, Clutter.Animatable, Clutter.Contain
|
|
|
3486
3486
|
* #GThemedIcon that is currently set.
|
|
3487
3487
|
* @returns The name of the icon or %NULL if no icon is set
|
|
3488
3488
|
*/
|
|
3489
|
-
get_fallback_icon_name(): string
|
|
3489
|
+
get_fallback_icon_name(): string
|
|
3490
3490
|
/**
|
|
3491
3491
|
* Gets the current #GIcon in use.
|
|
3492
3492
|
* @returns The current #GIcon, if set, otherwise %NULL
|
|
@@ -4048,7 +4048,7 @@ interface IconTheme {
|
|
|
4048
4048
|
* of a subdirectory are also considered as ultimate fallback.
|
|
4049
4049
|
* @param path a resource path
|
|
4050
4050
|
*/
|
|
4051
|
-
add_resource_path(path: string
|
|
4051
|
+
add_resource_path(path: string): void
|
|
4052
4052
|
/**
|
|
4053
4053
|
* Appends a directory to the search path.
|
|
4054
4054
|
* See st_icon_theme_set_search_path().
|
|
@@ -4096,7 +4096,7 @@ interface IconTheme {
|
|
|
4096
4096
|
* @param icon_name the name of an icon
|
|
4097
4097
|
* @returns An newly allocated array describing the sizes at which the icon is available. The array should be freed with g_free() when it is no longer needed.
|
|
4098
4098
|
*/
|
|
4099
|
-
get_icon_sizes(icon_name: string
|
|
4099
|
+
get_icon_sizes(icon_name: string): number[]
|
|
4100
4100
|
/**
|
|
4101
4101
|
* Gets the current search path. See st_icon_theme_set_search_path().
|
|
4102
4102
|
*/
|
|
@@ -4107,7 +4107,7 @@ interface IconTheme {
|
|
|
4107
4107
|
* @param icon_name the name of an icon
|
|
4108
4108
|
* @returns %TRUE if @icon_theme includes an icon for @icon_name.
|
|
4109
4109
|
*/
|
|
4110
|
-
has_icon(icon_name: string
|
|
4110
|
+
has_icon(icon_name: string): boolean
|
|
4111
4111
|
/**
|
|
4112
4112
|
* Gets the list of contexts available within the current
|
|
4113
4113
|
* hierarchy of icon themes.
|
|
@@ -4147,7 +4147,7 @@ interface IconTheme {
|
|
|
4147
4147
|
* @param flags flags modifying the behavior of the icon lookup
|
|
4148
4148
|
* @returns the rendered icon; this may be a newly created icon or a new reference to an internal icon, so you must not modify the icon. Use g_object_unref() to release your reference to the icon. %NULL if the icon isn’t found.
|
|
4149
4149
|
*/
|
|
4150
|
-
load_icon(icon_name: string
|
|
4150
|
+
load_icon(icon_name: string, size: number, flags: IconLookupFlags): GdkPixbuf.Pixbuf | null
|
|
4151
4151
|
/**
|
|
4152
4152
|
* Looks up an icon in an icon theme for a particular window scale,
|
|
4153
4153
|
* scales it to the given size and renders it into a pixbuf. This is a
|
|
@@ -4168,7 +4168,7 @@ interface IconTheme {
|
|
|
4168
4168
|
* @param flags flags modifying the behavior of the icon lookup
|
|
4169
4169
|
* @returns the rendered icon; this may be a newly created icon or a new reference to an internal icon, so you must not modify the icon. Use g_object_unref() to release your reference to the icon. %NULL if the icon isn’t found.
|
|
4170
4170
|
*/
|
|
4171
|
-
load_icon_for_scale(icon_name: string
|
|
4171
|
+
load_icon_for_scale(icon_name: string, size: number, scale: number, flags: IconLookupFlags): GdkPixbuf.Pixbuf | null
|
|
4172
4172
|
/**
|
|
4173
4173
|
* Looks up an icon and returns a #StIconInfo containing information
|
|
4174
4174
|
* such as the filename of the icon. The icon can then be rendered
|
|
@@ -4213,7 +4213,7 @@ interface IconTheme {
|
|
|
4213
4213
|
* @param flags flags modifying the behavior of the icon lookup
|
|
4214
4214
|
* @returns a #StIconInfo object containing information about the icon, or %NULL if the icon wasn’t found.
|
|
4215
4215
|
*/
|
|
4216
|
-
lookup_icon(icon_name: string
|
|
4216
|
+
lookup_icon(icon_name: string, size: number, flags: IconLookupFlags): IconInfo | null
|
|
4217
4217
|
/**
|
|
4218
4218
|
* Looks up a named icon for a particular window scale and returns a
|
|
4219
4219
|
* #StIconInfo containing information such as the filename of the
|
|
@@ -4226,7 +4226,7 @@ interface IconTheme {
|
|
|
4226
4226
|
* @param flags flags modifying the behavior of the icon lookup
|
|
4227
4227
|
* @returns a #StIconInfo object containing information about the icon, or %NULL if the icon wasn’t found.
|
|
4228
4228
|
*/
|
|
4229
|
-
lookup_icon_for_scale(icon_name: string
|
|
4229
|
+
lookup_icon_for_scale(icon_name: string, size: number, scale: number, flags: IconLookupFlags): IconInfo | null
|
|
4230
4230
|
/**
|
|
4231
4231
|
* Prepends a directory to the search path.
|
|
4232
4232
|
* See st_icon_theme_set_search_path().
|
|
@@ -4400,7 +4400,7 @@ interface ImageContent extends Clutter.Content, Gio.Icon, Gio.LoadableIcon {
|
|
|
4400
4400
|
* @param key name of the key
|
|
4401
4401
|
* @param data data to associate with that key
|
|
4402
4402
|
*/
|
|
4403
|
-
set_data(key: string
|
|
4403
|
+
set_data(key: string, data: any | null): void
|
|
4404
4404
|
/**
|
|
4405
4405
|
* Each object carries around a table of associations from
|
|
4406
4406
|
* strings to pointers. This function lets you set an association.
|
|
@@ -4415,7 +4415,7 @@ interface ImageContent extends Clutter.Content, Gio.Icon, Gio.LoadableIcon {
|
|
|
4415
4415
|
* @param key name of the key
|
|
4416
4416
|
* @param data data to associate with that key
|
|
4417
4417
|
*/
|
|
4418
|
-
set_data(key: string
|
|
4418
|
+
set_data(key: string, data: any | null): void
|
|
4419
4419
|
|
|
4420
4420
|
// Class property signals of St-12.St.ImageContent
|
|
4421
4421
|
|
|
@@ -4499,7 +4499,7 @@ interface Label extends Atk.ImplementorIface, Clutter.Animatable, Clutter.Contai
|
|
|
4499
4499
|
* Get the text displayed on the label.
|
|
4500
4500
|
* @returns the text for the label. This must not be freed by the application
|
|
4501
4501
|
*/
|
|
4502
|
-
get_text(): string
|
|
4502
|
+
get_text(): string
|
|
4503
4503
|
/**
|
|
4504
4504
|
* Sets the text displayed by the label.
|
|
4505
4505
|
* @param text text to set the label to
|
|
@@ -6399,7 +6399,7 @@ interface TextureCache {
|
|
|
6399
6399
|
* @param property_name Name of a property
|
|
6400
6400
|
* @returns A new #GIcon
|
|
6401
6401
|
*/
|
|
6402
|
-
bind_cairo_surface_property(object: GObject.Object, property_name: string
|
|
6402
|
+
bind_cairo_surface_property(object: GObject.Object, property_name: string): Gio.Icon
|
|
6403
6403
|
/**
|
|
6404
6404
|
* Create a #GIcon from `surface`.
|
|
6405
6405
|
* @param surface A #cairo_surface_t
|
|
@@ -6917,7 +6917,7 @@ interface ThemeNode {
|
|
|
6917
6917
|
* indicated color.
|
|
6918
6918
|
* @param property_name The name of the color property
|
|
6919
6919
|
*/
|
|
6920
|
-
get_color(property_name: string
|
|
6920
|
+
get_color(property_name: string): /* color */ Clutter.Color
|
|
6921
6921
|
/**
|
|
6922
6922
|
* Gets the box within an actor's allocation that contents the content
|
|
6923
6923
|
* of an actor (excluding borders and padding). This is a convenience function
|
|
@@ -6936,7 +6936,7 @@ interface ThemeNode {
|
|
|
6936
6936
|
* @param property_name The name of the numeric property
|
|
6937
6937
|
* @returns the value found. If @property_name is not found, a warning will be logged and 0 will be returned.
|
|
6938
6938
|
*/
|
|
6939
|
-
get_double(property_name: string
|
|
6939
|
+
get_double(property_name: string): number
|
|
6940
6940
|
/**
|
|
6941
6941
|
* Get the list of element classes for `node`.
|
|
6942
6942
|
* @returns the element's classes
|
|
@@ -6946,7 +6946,7 @@ interface ThemeNode {
|
|
|
6946
6946
|
* Get the unique element ID for `node`.
|
|
6947
6947
|
* @returns the element's ID
|
|
6948
6948
|
*/
|
|
6949
|
-
get_element_id(): string
|
|
6949
|
+
get_element_id(): string
|
|
6950
6950
|
/**
|
|
6951
6951
|
* Get the element #GType for `node`.
|
|
6952
6952
|
* @returns the element type
|
|
@@ -7003,7 +7003,7 @@ interface ThemeNode {
|
|
|
7003
7003
|
* @param property_name The name of the length property
|
|
7004
7004
|
* @returns the length, in pixels, or 0 if the property was not found.
|
|
7005
7005
|
*/
|
|
7006
|
-
get_length(property_name: string
|
|
7006
|
+
get_length(property_name: string): number
|
|
7007
7007
|
/**
|
|
7008
7008
|
* Gets the value for the letter-spacing style property, in physical pixels.
|
|
7009
7009
|
* @returns the value of the letter-spacing property, if found, or zero if such property has not been found.
|
|
@@ -7083,7 +7083,7 @@ interface ThemeNode {
|
|
|
7083
7083
|
* @param property_name The name of the shadow property
|
|
7084
7084
|
* @returns the shadow, or %NULL if the property was not found.
|
|
7085
7085
|
*/
|
|
7086
|
-
get_shadow(property_name: string
|
|
7086
|
+
get_shadow(property_name: string): Shadow | null
|
|
7087
7087
|
/**
|
|
7088
7088
|
* Get the text alignment of `node`.
|
|
7089
7089
|
* @returns the alignment of text for @node
|
|
@@ -7120,7 +7120,7 @@ interface ThemeNode {
|
|
|
7120
7120
|
* @param property_name The name of the string property
|
|
7121
7121
|
* @returns the newly allocated value if found. If @property_name is not found, a warning will be logged and %NULL will be returned.
|
|
7122
7122
|
*/
|
|
7123
|
-
get_url(property_name: string
|
|
7123
|
+
get_url(property_name: string): Gio.File | null
|
|
7124
7124
|
/**
|
|
7125
7125
|
* Gets the total vertical padding (top + bottom padding), in physical pixels.
|
|
7126
7126
|
* @returns the total vertical padding in physical pixels
|
|
@@ -7149,7 +7149,7 @@ interface ThemeNode {
|
|
|
7149
7149
|
* @param inherit if %TRUE, if a value is not found for the property on the node, then it will be looked up on the parent node, and then on the parent's parent, and so forth. Note that if the property has a value of 'inherit' it will be inherited even if %FALSE is passed in for `inherit;` this only affects the default behavior for inheritance.
|
|
7150
7150
|
* @returns %TRUE if the property was found in the properties for this theme node (or in the properties of parent nodes when inheriting.)
|
|
7151
7151
|
*/
|
|
7152
|
-
lookup_color(property_name: string
|
|
7152
|
+
lookup_color(property_name: string, inherit: boolean): [ /* returnType */ boolean, /* color */ Clutter.Color ]
|
|
7153
7153
|
/**
|
|
7154
7154
|
* Generically looks up a property containing a single numeric value
|
|
7155
7155
|
* without units.
|
|
@@ -7159,7 +7159,7 @@ interface ThemeNode {
|
|
|
7159
7159
|
* @param inherit if %TRUE, if a value is not found for the property on the node, then it will be looked up on the parent node, and then on the parent's parent, and so forth. Note that if the property has a value of 'inherit' it will be inherited even if %FALSE is passed in for `inherit;` this only affects the default behavior for inheritance.
|
|
7160
7160
|
* @returns %TRUE if the property was found in the properties for this theme node (or in the properties of parent nodes when inheriting.)
|
|
7161
7161
|
*/
|
|
7162
|
-
lookup_double(property_name: string
|
|
7162
|
+
lookup_double(property_name: string, inherit: boolean): [ /* returnType */ boolean, /* value */ number ]
|
|
7163
7163
|
/**
|
|
7164
7164
|
* Generically looks up a property containing a single length value. When
|
|
7165
7165
|
* specific getters (like st_theme_node_get_border_width()) exist, they
|
|
@@ -7171,7 +7171,7 @@ interface ThemeNode {
|
|
|
7171
7171
|
* @param inherit if %TRUE, if a value is not found for the property on the node, then it will be looked up on the parent node, and then on the parent's parent, and so forth. Note that if the property has a value of 'inherit' it will be inherited even if %FALSE is passed in for `inherit;` this only affects the default behavior for inheritance.
|
|
7172
7172
|
* @returns %TRUE if the property was found in the properties for this theme node (or in the properties of parent nodes when inheriting.)
|
|
7173
7173
|
*/
|
|
7174
|
-
lookup_length(property_name: string
|
|
7174
|
+
lookup_length(property_name: string, inherit: boolean): [ /* returnType */ boolean, /* length */ number ]
|
|
7175
7175
|
/**
|
|
7176
7176
|
* If the property is not found, the value in the shadow variable will not
|
|
7177
7177
|
* be changed.
|
|
@@ -7186,7 +7186,7 @@ interface ThemeNode {
|
|
|
7186
7186
|
* @param inherit if %TRUE, if a value is not found for the property on the node, then it will be looked up on the parent node, and then on the parent's parent, and so forth. Note that if the property has a value of 'inherit' it will be inherited even if %FALSE is passed in for `inherit;` this only affects the default behavior for inheritance.
|
|
7187
7187
|
* @returns %TRUE if the property was found in the properties for this theme node (or in the properties of parent nodes when inheriting.), %FALSE if the property was not found, or was explicitly set to 'none'.
|
|
7188
7188
|
*/
|
|
7189
|
-
lookup_shadow(property_name: string
|
|
7189
|
+
lookup_shadow(property_name: string, inherit: boolean): [ /* returnType */ boolean, /* shadow */ Shadow ]
|
|
7190
7190
|
/**
|
|
7191
7191
|
* Generically looks up a property containing a single time value,
|
|
7192
7192
|
* which is converted to milliseconds.
|
|
@@ -7194,7 +7194,7 @@ interface ThemeNode {
|
|
|
7194
7194
|
* @param inherit if %TRUE, if a value is not found for the property on the node, then it will be looked up on the parent node, and then on the parent's parent, and so forth. Note that if the property has a value of 'inherit' it will be inherited even if %FALSE is passed in for `inherit;` this only affects the default behavior for inheritance.
|
|
7195
7195
|
* @returns %TRUE if the property was found in the properties for this theme node (or in the properties of parent nodes when inheriting.)
|
|
7196
7196
|
*/
|
|
7197
|
-
lookup_time(property_name: string
|
|
7197
|
+
lookup_time(property_name: string, inherit: boolean): [ /* returnType */ boolean, /* value */ number ]
|
|
7198
7198
|
/**
|
|
7199
7199
|
* Looks up a property containing a single URL value.
|
|
7200
7200
|
*
|
|
@@ -7203,7 +7203,7 @@ interface ThemeNode {
|
|
|
7203
7203
|
* @param inherit if %TRUE, if a value is not found for the property on the node, then it will be looked up on the parent node, and then on the parent's parent, and so forth. Note that if the property has a value of 'inherit' it will be inherited even if %FALSE is passed in for `inherit;` this only affects the default behavior for inheritance.
|
|
7204
7204
|
* @returns %TRUE if the property was found in the properties for this theme node (or in the properties of parent nodes when inheriting.)
|
|
7205
7205
|
*/
|
|
7206
|
-
lookup_url(property_name: string
|
|
7206
|
+
lookup_url(property_name: string, inherit: boolean): [ /* returnType */ boolean, /* file */ Gio.File ]
|
|
7207
7207
|
/**
|
|
7208
7208
|
* Check if st_theme_node_paint() will paint identically for `node` as it does
|
|
7209
7209
|
* for `other`. Note that in some cases this function may return %TRUE even
|
|
@@ -7252,7 +7252,7 @@ class ThemeNode extends GObject.Object {
|
|
|
7252
7252
|
* @param inline_style
|
|
7253
7253
|
* @returns a new #StThemeNode
|
|
7254
7254
|
*/
|
|
7255
|
-
constructor(context: ThemeContext, parent_node: ThemeNode | null, theme: Theme | null, element_type: GObject.GType, element_id: string | null, element_class: string | null, pseudo_class: string | null, inline_style: string
|
|
7255
|
+
constructor(context: ThemeContext, parent_node: ThemeNode | null, theme: Theme | null, element_type: GObject.GType, element_id: string | null, element_class: string | null, pseudo_class: string | null, inline_style: string)
|
|
7256
7256
|
/**
|
|
7257
7257
|
* Creates a new #StThemeNode. Once created, a node is immutable. If any
|
|
7258
7258
|
* of the attributes of the node (like the `element_class)` change the node
|
|
@@ -7268,7 +7268,7 @@ class ThemeNode extends GObject.Object {
|
|
|
7268
7268
|
* @param inline_style
|
|
7269
7269
|
* @returns a new #StThemeNode
|
|
7270
7270
|
*/
|
|
7271
|
-
static new(context: ThemeContext, parent_node: ThemeNode | null, theme: Theme | null, element_type: GObject.GType, element_id: string | null, element_class: string | null, pseudo_class: string | null, inline_style: string
|
|
7271
|
+
static new(context: ThemeContext, parent_node: ThemeNode | null, theme: Theme | null, element_type: GObject.GType, element_id: string | null, element_class: string | null, pseudo_class: string | null, inline_style: string): ThemeNode
|
|
7272
7272
|
_init(config?: ThemeNode.ConstructorProperties): void
|
|
7273
7273
|
}
|
|
7274
7274
|
|
|
@@ -7782,13 +7782,13 @@ interface Widget extends Atk.ImplementorIface, Clutter.Animatable, Clutter.Conta
|
|
|
7782
7782
|
* already present.
|
|
7783
7783
|
* @param style_class a style class name string
|
|
7784
7784
|
*/
|
|
7785
|
-
add_style_class_name(style_class: string
|
|
7785
|
+
add_style_class_name(style_class: string): void
|
|
7786
7786
|
/**
|
|
7787
7787
|
* Adds `pseudo_class` to `actor'`s pseudo class list, if it is not
|
|
7788
7788
|
* already present.
|
|
7789
7789
|
* @param pseudo_class a pseudo class string
|
|
7790
7790
|
*/
|
|
7791
|
-
add_style_pseudo_class(pseudo_class: string
|
|
7791
|
+
add_style_pseudo_class(pseudo_class: string): void
|
|
7792
7792
|
/**
|
|
7793
7793
|
* Ensures that `widget` has read its style information and propagated any
|
|
7794
7794
|
* changes to its children.
|
|
@@ -7799,7 +7799,7 @@ interface Widget extends Atk.ImplementorIface, Clutter.Animatable, Clutter.Conta
|
|
|
7799
7799
|
* st_widget_set_accessible_name() for more information.
|
|
7800
7800
|
* @returns a character string representing the accessible name of the widget.
|
|
7801
7801
|
*/
|
|
7802
|
-
get_accessible_name(): string
|
|
7802
|
+
get_accessible_name(): string
|
|
7803
7803
|
/**
|
|
7804
7804
|
* Gets the #AtkRole for this widget. See
|
|
7805
7805
|
* st_widget_set_accessible_role() for more information.
|
|
@@ -7839,7 +7839,7 @@ interface Widget extends Atk.ImplementorIface, Clutter.Animatable, Clutter.Conta
|
|
|
7839
7839
|
* Get the current style class name
|
|
7840
7840
|
* @returns the class name string. The string is owned by the #StWidget and should not be modified or freed.
|
|
7841
7841
|
*/
|
|
7842
|
-
get_style_class_name(): string
|
|
7842
|
+
get_style_class_name(): string
|
|
7843
7843
|
/**
|
|
7844
7844
|
* Get the current style pseudo class list.
|
|
7845
7845
|
*
|
|
@@ -7848,7 +7848,7 @@ interface Widget extends Atk.ImplementorIface, Clutter.Animatable, Clutter.Conta
|
|
|
7848
7848
|
* st_widget_has_style_pseudo_class().
|
|
7849
7849
|
* @returns the pseudo class list string. The string is owned by the #StWidget and should not be modified or freed.
|
|
7850
7850
|
*/
|
|
7851
|
-
get_style_pseudo_class(): string
|
|
7851
|
+
get_style_pseudo_class(): string
|
|
7852
7852
|
/**
|
|
7853
7853
|
* Gets the theme node holding style information for the widget.
|
|
7854
7854
|
* The theme node is used to access standard and custom CSS
|
|
@@ -7870,13 +7870,13 @@ interface Widget extends Atk.ImplementorIface, Clutter.Animatable, Clutter.Conta
|
|
|
7870
7870
|
* @param style_class a style class string
|
|
7871
7871
|
* @returns whether or not @actor's style class list includes @style_class.
|
|
7872
7872
|
*/
|
|
7873
|
-
has_style_class_name(style_class: string
|
|
7873
|
+
has_style_class_name(style_class: string): boolean
|
|
7874
7874
|
/**
|
|
7875
7875
|
* Tests if `actor'`s pseudo class list includes `pseudo_class`.
|
|
7876
7876
|
* @param pseudo_class a pseudo class string
|
|
7877
7877
|
* @returns whether or not @actor's pseudo class list includes @pseudo_class.
|
|
7878
7878
|
*/
|
|
7879
|
-
has_style_pseudo_class(pseudo_class: string
|
|
7879
|
+
has_style_pseudo_class(pseudo_class: string): boolean
|
|
7880
7880
|
/**
|
|
7881
7881
|
* Tries to update the keyboard focus within `widget` in response to a
|
|
7882
7882
|
* keyboard event.
|
|
@@ -7940,12 +7940,12 @@ interface Widget extends Atk.ImplementorIface, Clutter.Animatable, Clutter.Conta
|
|
|
7940
7940
|
* present.
|
|
7941
7941
|
* @param style_class a style class name string
|
|
7942
7942
|
*/
|
|
7943
|
-
remove_style_class_name(style_class: string
|
|
7943
|
+
remove_style_class_name(style_class: string): void
|
|
7944
7944
|
/**
|
|
7945
7945
|
* Removes `pseudo_class` from `actor'`s pseudo class, if it is present.
|
|
7946
7946
|
* @param pseudo_class a pseudo class string
|
|
7947
7947
|
*/
|
|
7948
|
-
remove_style_pseudo_class(pseudo_class: string
|
|
7948
|
+
remove_style_pseudo_class(pseudo_class: string): void
|
|
7949
7949
|
/**
|
|
7950
7950
|
* This method allows to set a customly created accessible object to
|
|
7951
7951
|
* this widget. For example if you define a new subclass of
|
|
@@ -8379,7 +8379,7 @@ interface WidgetAccessible extends Atk.Action, Atk.Component {
|
|
|
8379
8379
|
* Gets the accessible description of the accessible.
|
|
8380
8380
|
* @returns a character string representing the accessible description of the accessible.
|
|
8381
8381
|
*/
|
|
8382
|
-
get_description(): string
|
|
8382
|
+
get_description(): string
|
|
8383
8383
|
/**
|
|
8384
8384
|
* Returns a non-localized string naming the specified action of the
|
|
8385
8385
|
* object. This name is generally not descriptive of the end result
|
|
@@ -8403,14 +8403,14 @@ interface WidgetAccessible extends Atk.Action, Atk.Component {
|
|
|
8403
8403
|
* Gets the accessible name of the accessible.
|
|
8404
8404
|
* @returns a character string representing the accessible name of the object.
|
|
8405
8405
|
*/
|
|
8406
|
-
get_name(): string
|
|
8406
|
+
get_name(): string
|
|
8407
8407
|
/**
|
|
8408
8408
|
* Sets a description of the specified action of the object.
|
|
8409
8409
|
* @param i the action index corresponding to the action to be performed
|
|
8410
8410
|
* @param desc the description to be assigned to this action
|
|
8411
8411
|
* @returns a gboolean representing if the description was successfully set;
|
|
8412
8412
|
*/
|
|
8413
|
-
set_description(i: number, desc: string
|
|
8413
|
+
set_description(i: number, desc: string): boolean
|
|
8414
8414
|
/**
|
|
8415
8415
|
* Sets the accessible description of the accessible. You can't set
|
|
8416
8416
|
* the description to NULL. This is reserved for the initial value. In
|
|
@@ -8418,7 +8418,7 @@ interface WidgetAccessible extends Atk.Action, Atk.Component {
|
|
|
8418
8418
|
* the name to a empty value you can use "".
|
|
8419
8419
|
* @param description a character string to be set as the accessible description
|
|
8420
8420
|
*/
|
|
8421
|
-
set_description(description: string
|
|
8421
|
+
set_description(description: string): void
|
|
8422
8422
|
/**
|
|
8423
8423
|
* Returns a description of the specified action of the object.
|
|
8424
8424
|
* @virtual
|
|
@@ -8431,7 +8431,7 @@ interface WidgetAccessible extends Atk.Action, Atk.Component {
|
|
|
8431
8431
|
* @virtual
|
|
8432
8432
|
* @returns a character string representing the accessible description of the accessible.
|
|
8433
8433
|
*/
|
|
8434
|
-
vfunc_get_description(): string
|
|
8434
|
+
vfunc_get_description(): string
|
|
8435
8435
|
/**
|
|
8436
8436
|
* Returns a non-localized string naming the specified action of the
|
|
8437
8437
|
* object. This name is generally not descriptive of the end result
|
|
@@ -8457,7 +8457,7 @@ interface WidgetAccessible extends Atk.Action, Atk.Component {
|
|
|
8457
8457
|
* @virtual
|
|
8458
8458
|
* @returns a character string representing the accessible name of the object.
|
|
8459
8459
|
*/
|
|
8460
|
-
vfunc_get_name(): string
|
|
8460
|
+
vfunc_get_name(): string
|
|
8461
8461
|
/**
|
|
8462
8462
|
* Sets a description of the specified action of the object.
|
|
8463
8463
|
* @virtual
|
|
@@ -8465,7 +8465,7 @@ interface WidgetAccessible extends Atk.Action, Atk.Component {
|
|
|
8465
8465
|
* @param desc the description to be assigned to this action
|
|
8466
8466
|
* @returns a gboolean representing if the description was successfully set;
|
|
8467
8467
|
*/
|
|
8468
|
-
vfunc_set_description(i: number, desc: string
|
|
8468
|
+
vfunc_set_description(i: number, desc: string): boolean
|
|
8469
8469
|
/**
|
|
8470
8470
|
* Sets the accessible description of the accessible. You can't set
|
|
8471
8471
|
* the description to NULL. This is reserved for the initial value. In
|
|
@@ -8474,7 +8474,7 @@ interface WidgetAccessible extends Atk.Action, Atk.Component {
|
|
|
8474
8474
|
* @virtual
|
|
8475
8475
|
* @param description a character string to be set as the accessible description
|
|
8476
8476
|
*/
|
|
8477
|
-
vfunc_set_description(description: string
|
|
8477
|
+
vfunc_set_description(description: string): void
|
|
8478
8478
|
|
|
8479
8479
|
// Class property signals of St-12.St.WidgetAccessible
|
|
8480
8480
|
|