@girs/st-1.0 1.0.0-3.2.6 → 1.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 CHANGED
@@ -5,7 +5,7 @@
5
5
  ![downloads/week](https://img.shields.io/npm/dw/@girs/st-1.0)
6
6
 
7
7
 
8
- GJS TypeScript type definitions for St-1.0, generated from library version 1.0.0 using [ts-for-gir](https://github.com/gjsify/ts-for-gir) v3.2.6.
8
+ GJS TypeScript type definitions for St-1.0, generated from library version 1.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-1.0",
3
- "version": "1.0.0-3.2.6",
3
+ "version": "1.0.0-3.2.7",
4
4
  "description": "GJS TypeScript type definitions for St-1.0, generated from library version 1.0.0",
5
5
  "type": "module",
6
6
  "module": "st-1.0.js",
@@ -25,31 +25,31 @@
25
25
  "test:cjs": "NODE_OPTIONS=--max_old_space_size=9216 tsc --noEmit st-1.0.d.cts"
26
26
  },
27
27
  "dependencies": {
28
- "@girs/atk-1.0": "^2.50.0-3.2.6",
29
- "@girs/cairo-1.0": "^1.0.0-3.2.6",
30
- "@girs/cally-11": "^11.0.0-3.2.6",
31
- "@girs/clutter-11": "^11.0.0-3.2.6",
32
- "@girs/cogl-11": "^11.0.0-3.2.6",
33
- "@girs/coglpango-11": "^11.0.0-3.2.6",
34
- "@girs/freetype2-2.0": "^2.0.0-3.2.6",
35
- "@girs/gdesktopenums-3.0": "^3.0.0-3.2.6",
36
- "@girs/gdk-3.0": "^3.24.38-3.2.6",
37
- "@girs/gdkpixbuf-2.0": "^2.0.0-3.2.6",
38
- "@girs/gio-2.0": "^2.78.0-3.2.6",
39
- "@girs/gjs": "^3.2.6",
40
- "@girs/gl-1.0": "^1.0.0-3.2.6",
41
- "@girs/glib-2.0": "^2.78.0-3.2.6",
42
- "@girs/gmodule-2.0": "^2.0.0-3.2.6",
43
- "@girs/gobject-2.0": "^2.78.0-3.2.6",
44
- "@girs/graphene-1.0": "^1.0.0-3.2.6",
45
- "@girs/gtk-3.0": "^3.24.38-3.2.6",
46
- "@girs/harfbuzz-0.0": "^8.2.1-3.2.6",
47
- "@girs/json-1.0": "^1.7.1-3.2.6",
48
- "@girs/meta-11": "^11.0.0-3.2.6",
49
- "@girs/pango-1.0": "^1.51.0-3.2.6",
50
- "@girs/pangocairo-1.0": "^1.0.0-3.2.6",
51
- "@girs/xfixes-4.0": "^4.0.0-3.2.6",
52
- "@girs/xlib-2.0": "^2.0.0-3.2.6"
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-11": "^11.0.0-3.2.7",
31
+ "@girs/clutter-11": "^11.0.0-3.2.7",
32
+ "@girs/cogl-11": "^11.0.0-3.2.7",
33
+ "@girs/coglpango-11": "^11.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/gdk-3.0": "^3.24.38-3.2.7",
37
+ "@girs/gdkpixbuf-2.0": "^2.0.0-3.2.7",
38
+ "@girs/gio-2.0": "^2.78.0-3.2.7",
39
+ "@girs/gjs": "^3.2.7",
40
+ "@girs/gl-1.0": "^1.0.0-3.2.7",
41
+ "@girs/glib-2.0": "^2.78.0-3.2.7",
42
+ "@girs/gmodule-2.0": "^2.0.0-3.2.7",
43
+ "@girs/gobject-2.0": "^2.78.0-3.2.7",
44
+ "@girs/graphene-1.0": "^1.0.0-3.2.7",
45
+ "@girs/gtk-3.0": "^3.24.38-3.2.7",
46
+ "@girs/harfbuzz-0.0": "^8.2.1-3.2.7",
47
+ "@girs/json-1.0": "^1.7.1-3.2.7",
48
+ "@girs/meta-11": "^11.0.0-3.2.7",
49
+ "@girs/pango-1.0": "^1.51.0-3.2.7",
50
+ "@girs/pangocairo-1.0": "^1.0.0-3.2.7",
51
+ "@girs/xfixes-4.0": "^4.0.0-3.2.7",
52
+ "@girs/xlib-2.0": "^2.0.0-3.2.7"
53
53
  },
54
54
  "devDependencies": {
55
55
  "typescript": "*"
package/st-1.0.d.cts CHANGED
@@ -246,7 +246,7 @@ export function describe_actor(actor: Clutter.Actor): string | null
246
246
  * @param text text from the clipboard
247
247
  */
248
248
  export interface ClipboardCallbackFunc {
249
- (clipboard: Clipboard, text: string | null): void
249
+ (clipboard: Clipboard, text: string): void
250
250
  }
251
251
  /**
252
252
  * Callback function called when content is retrieved from the clipboard.
@@ -564,7 +564,7 @@ export interface Adjustment extends Clutter.Animatable {
564
564
  * @param name a unique name for the transition
565
565
  * @param transition a #ClutterTransition
566
566
  */
567
- add_transition(name: string | null, transition: Clutter.Transition): void
567
+ add_transition(name: string, transition: Clutter.Transition): void
568
568
  /**
569
569
  * Adjusts the adjustment using delta values from a scroll event.
570
570
  * You should use this instead of using st_adjustment_set_value()
@@ -587,7 +587,7 @@ export interface Adjustment extends Clutter.Animatable {
587
587
  * @param name a transition name
588
588
  * @returns a #ClutterTransition
589
589
  */
590
- get_transition(name: string | null): Clutter.Transition | null
590
+ get_transition(name: string): Clutter.Transition | null
591
591
  /**
592
592
  * Gets the current value of the adjustment. See st_adjustment_set_value().
593
593
  * @returns The current value of the adjustment
@@ -597,7 +597,7 @@ export interface Adjustment extends Clutter.Animatable {
597
597
  * Gets all of `adjustment'`s values at once.
598
598
  */
599
599
  get_values(): [ /* value */ number, /* lower */ number, /* upper */ number, /* step_increment */ number, /* page_increment */ number, /* page_size */ number ]
600
- remove_transition(name: string | null): void
600
+ remove_transition(name: string): void
601
601
  /**
602
602
  * Sets the #StAdjustment value. The value is clamped to lie between
603
603
  * #StAdjustment:lower and #StAdjustment:upper - #StAdjustment:page-size.
@@ -1615,7 +1615,7 @@ export interface Button extends Atk.ImplementorIface, Clutter.Animatable, Clutte
1615
1615
  * will be returned instead of %NULL.
1616
1616
  * @returns the text for the button
1617
1617
  */
1618
- get_label(): string | null
1618
+ get_label(): string
1619
1619
  /**
1620
1620
  * Get the toggle mode status of the button.
1621
1621
  * @returns %TRUE if toggle mode is set, otherwise %FALSE
@@ -1639,7 +1639,7 @@ export interface Button extends Atk.ImplementorIface, Clutter.Animatable, Clutte
1639
1639
  * be removed and replaced with the icon.
1640
1640
  * @param icon_name an icon name
1641
1641
  */
1642
- set_icon_name(icon_name: string | null): void
1642
+ set_icon_name(icon_name: string): void
1643
1643
  /**
1644
1644
  * Sets the text displayed on the button.
1645
1645
  * @param text text to set the label to
@@ -1978,7 +1978,7 @@ export class Button extends Bin {
1978
1978
  * @param text text to set the label to
1979
1979
  * @returns a new #StButton
1980
1980
  */
1981
- static new_with_label(text: string | null): Button
1981
+ static new_with_label(text: string): Button
1982
1982
  _init(config?: Button.ConstructorProperties): void
1983
1983
  }
1984
1984
 
@@ -2002,7 +2002,7 @@ export interface Clipboard {
2002
2002
  * @param mimetype The mimetype to get content for
2003
2003
  * @param callback function to be called when the type is retrieved
2004
2004
  */
2005
- get_content(type: ClipboardType, mimetype: string | null, callback: ClipboardContentCallbackFunc): void
2005
+ get_content(type: ClipboardType, mimetype: string, callback: ClipboardContentCallbackFunc): void
2006
2006
  /**
2007
2007
  * Gets a list of the mimetypes supported by the default #StClipboard.
2008
2008
  * @param type
@@ -2024,13 +2024,13 @@ export interface Clipboard {
2024
2024
  * @param mimetype content mimetype
2025
2025
  * @param bytes content data
2026
2026
  */
2027
- set_content(type: ClipboardType, mimetype: string | null, bytes: GLib.Bytes): void
2027
+ set_content(type: ClipboardType, mimetype: string, bytes: GLib.Bytes): void
2028
2028
  /**
2029
2029
  * Sets text as the current contents of the clipboard.
2030
2030
  * @param type The type of clipboard that you want to set
2031
2031
  * @param text text to copy to the clipboard
2032
2032
  */
2033
- set_text(type: ClipboardType, text: string | null): void
2033
+ set_text(type: ClipboardType, text: string): void
2034
2034
 
2035
2035
  // Class property signals of St-1.0.St.Clipboard
2036
2036
 
@@ -2617,7 +2617,7 @@ export interface Entry extends Atk.ImplementorIface, Clutter.Animatable, Clutter
2617
2617
  * be returned instead of %NULL.
2618
2618
  * @returns the text for the entry
2619
2619
  */
2620
- get_text(): string | null
2620
+ get_text(): string
2621
2621
  /**
2622
2622
  * Set the hint actor of the entry to `hint_actor`.
2623
2623
  * @param hint_actor a #ClutterActor
@@ -3124,7 +3124,7 @@ export interface GenericAccessible extends Atk.Action, Atk.Component, Atk.Value
3124
3124
  * Gets the accessible description of the accessible.
3125
3125
  * @returns a character string representing the accessible description of the accessible.
3126
3126
  */
3127
- get_description(): string | null
3127
+ get_description(): string
3128
3128
  /**
3129
3129
  * Returns a non-localized string naming the specified action of the
3130
3130
  * object. This name is generally not descriptive of the end result
@@ -3148,14 +3148,14 @@ export interface GenericAccessible extends Atk.Action, Atk.Component, Atk.Value
3148
3148
  * Gets the accessible name of the accessible.
3149
3149
  * @returns a character string representing the accessible name of the object.
3150
3150
  */
3151
- get_name(): string | null
3151
+ get_name(): string
3152
3152
  /**
3153
3153
  * Sets a description of the specified action of the object.
3154
3154
  * @param i the action index corresponding to the action to be performed
3155
3155
  * @param desc the description to be assigned to this action
3156
3156
  * @returns a gboolean representing if the description was successfully set;
3157
3157
  */
3158
- set_description(i: number, desc: string | null): boolean
3158
+ set_description(i: number, desc: string): boolean
3159
3159
  /**
3160
3160
  * Sets the accessible description of the accessible. You can't set
3161
3161
  * the description to NULL. This is reserved for the initial value. In
@@ -3163,7 +3163,7 @@ export interface GenericAccessible extends Atk.Action, Atk.Component, Atk.Value
3163
3163
  * the name to a empty value you can use "".
3164
3164
  * @param description a character string to be set as the accessible description
3165
3165
  */
3166
- set_description(description: string | null): void
3166
+ set_description(description: string): void
3167
3167
  /**
3168
3168
  * Returns a description of the specified action of the object.
3169
3169
  * @virtual
@@ -3176,7 +3176,7 @@ export interface GenericAccessible extends Atk.Action, Atk.Component, Atk.Value
3176
3176
  * @virtual
3177
3177
  * @returns a character string representing the accessible description of the accessible.
3178
3178
  */
3179
- vfunc_get_description(): string | null
3179
+ vfunc_get_description(): string
3180
3180
  /**
3181
3181
  * Returns a non-localized string naming the specified action of the
3182
3182
  * object. This name is generally not descriptive of the end result
@@ -3202,7 +3202,7 @@ export interface GenericAccessible extends Atk.Action, Atk.Component, Atk.Value
3202
3202
  * @virtual
3203
3203
  * @returns a character string representing the accessible name of the object.
3204
3204
  */
3205
- vfunc_get_name(): string | null
3205
+ vfunc_get_name(): string
3206
3206
  /**
3207
3207
  * Sets a description of the specified action of the object.
3208
3208
  * @virtual
@@ -3210,7 +3210,7 @@ export interface GenericAccessible extends Atk.Action, Atk.Component, Atk.Value
3210
3210
  * @param desc the description to be assigned to this action
3211
3211
  * @returns a gboolean representing if the description was successfully set;
3212
3212
  */
3213
- vfunc_set_description(i: number, desc: string | null): boolean
3213
+ vfunc_set_description(i: number, desc: string): boolean
3214
3214
  /**
3215
3215
  * Sets the accessible description of the accessible. You can't set
3216
3216
  * the description to NULL. This is reserved for the initial value. In
@@ -3219,7 +3219,7 @@ export interface GenericAccessible extends Atk.Action, Atk.Component, Atk.Value
3219
3219
  * @virtual
3220
3220
  * @param description a character string to be set as the accessible description
3221
3221
  */
3222
- vfunc_set_description(description: string | null): void
3222
+ vfunc_set_description(description: string): void
3223
3223
 
3224
3224
  // Own signals of St-1.0.St.GenericAccessible
3225
3225
 
@@ -3423,7 +3423,7 @@ export interface Icon extends Atk.ImplementorIface, Clutter.Animatable, Clutter.
3423
3423
  * #GThemedIcon that is currently set.
3424
3424
  * @returns The name of the icon or %NULL if no icon is set
3425
3425
  */
3426
- get_fallback_icon_name(): string | null
3426
+ get_fallback_icon_name(): string
3427
3427
  /**
3428
3428
  * Gets the current #GIcon in use.
3429
3429
  * @returns The current #GIcon, if set, otherwise %NULL
@@ -3852,7 +3852,7 @@ export interface ImageContent extends Clutter.Content, Gio.Icon, Gio.LoadableIco
3852
3852
  * @param key name of the key
3853
3853
  * @param data data to associate with that key
3854
3854
  */
3855
- set_data(key: string | null, data: any | null): void
3855
+ set_data(key: string, data: any | null): void
3856
3856
  /**
3857
3857
  * Each object carries around a table of associations from
3858
3858
  * strings to pointers. This function lets you set an association.
@@ -3867,7 +3867,7 @@ export interface ImageContent extends Clutter.Content, Gio.Icon, Gio.LoadableIco
3867
3867
  * @param key name of the key
3868
3868
  * @param data data to associate with that key
3869
3869
  */
3870
- set_data(key: string | null, data: any | null): void
3870
+ set_data(key: string, data: any | null): void
3871
3871
 
3872
3872
  // Class property signals of St-1.0.St.ImageContent
3873
3873
 
@@ -3951,7 +3951,7 @@ export interface Label extends Atk.ImplementorIface, Clutter.Animatable, Clutter
3951
3951
  * Get the text displayed on the label.
3952
3952
  * @returns the text for the label. This must not be freed by the application
3953
3953
  */
3954
- get_text(): string | null
3954
+ get_text(): string
3955
3955
  /**
3956
3956
  * Sets the text displayed by the label.
3957
3957
  * @param text text to set the label to
@@ -5884,7 +5884,7 @@ export interface TextureCache {
5884
5884
  * @param property_name Name of a property
5885
5885
  * @returns A new #GIcon
5886
5886
  */
5887
- bind_cairo_surface_property(object: GObject.Object, property_name: string | null): Gio.Icon
5887
+ bind_cairo_surface_property(object: GObject.Object, property_name: string): Gio.Icon
5888
5888
  /**
5889
5889
  * Create a #GIcon from `surface`.
5890
5890
  * @param surface A #cairo_surface_t
@@ -6402,7 +6402,7 @@ export interface ThemeNode {
6402
6402
  * indicated color.
6403
6403
  * @param property_name The name of the color property
6404
6404
  */
6405
- get_color(property_name: string | null): /* color */ Clutter.Color
6405
+ get_color(property_name: string): /* color */ Clutter.Color
6406
6406
  /**
6407
6407
  * Gets the box within an actor's allocation that contents the content
6408
6408
  * of an actor (excluding borders and padding). This is a convenience function
@@ -6421,7 +6421,7 @@ export interface ThemeNode {
6421
6421
  * @param property_name The name of the numeric property
6422
6422
  * @returns the value found. If @property_name is not found, a warning will be logged and 0 will be returned.
6423
6423
  */
6424
- get_double(property_name: string | null): number
6424
+ get_double(property_name: string): number
6425
6425
  /**
6426
6426
  * Get the list of element classes for `node`.
6427
6427
  * @returns the element's classes
@@ -6431,7 +6431,7 @@ export interface ThemeNode {
6431
6431
  * Get the unique element ID for `node`.
6432
6432
  * @returns the element's ID
6433
6433
  */
6434
- get_element_id(): string | null
6434
+ get_element_id(): string
6435
6435
  /**
6436
6436
  * Get the element #GType for `node`.
6437
6437
  * @returns the element type
@@ -6488,7 +6488,7 @@ export interface ThemeNode {
6488
6488
  * @param property_name The name of the length property
6489
6489
  * @returns the length, in pixels, or 0 if the property was not found.
6490
6490
  */
6491
- get_length(property_name: string | null): number
6491
+ get_length(property_name: string): number
6492
6492
  /**
6493
6493
  * Gets the value for the letter-spacing style property, in physical pixels.
6494
6494
  * @returns the value of the letter-spacing property, if found, or zero if such property has not been found.
@@ -6568,7 +6568,7 @@ export interface ThemeNode {
6568
6568
  * @param property_name The name of the shadow property
6569
6569
  * @returns the shadow, or %NULL if the property was not found.
6570
6570
  */
6571
- get_shadow(property_name: string | null): Shadow | null
6571
+ get_shadow(property_name: string): Shadow | null
6572
6572
  /**
6573
6573
  * Get the text alignment of `node`.
6574
6574
  * @returns the alignment of text for @node
@@ -6605,7 +6605,7 @@ export interface ThemeNode {
6605
6605
  * @param property_name The name of the string property
6606
6606
  * @returns the newly allocated value if found. If @property_name is not found, a warning will be logged and %NULL will be returned.
6607
6607
  */
6608
- get_url(property_name: string | null): Gio.File | null
6608
+ get_url(property_name: string): Gio.File | null
6609
6609
  /**
6610
6610
  * Gets the total vertical padding (top + bottom padding), in physical pixels.
6611
6611
  * @returns the total vertical padding in physical pixels
@@ -6634,7 +6634,7 @@ export interface ThemeNode {
6634
6634
  * @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.
6635
6635
  * @returns %TRUE if the property was found in the properties for this theme node (or in the properties of parent nodes when inheriting.)
6636
6636
  */
6637
- lookup_color(property_name: string | null, inherit: boolean): [ /* returnType */ boolean, /* color */ Clutter.Color ]
6637
+ lookup_color(property_name: string, inherit: boolean): [ /* returnType */ boolean, /* color */ Clutter.Color ]
6638
6638
  /**
6639
6639
  * Generically looks up a property containing a single numeric value
6640
6640
  * without units.
@@ -6644,7 +6644,7 @@ export interface ThemeNode {
6644
6644
  * @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.
6645
6645
  * @returns %TRUE if the property was found in the properties for this theme node (or in the properties of parent nodes when inheriting.)
6646
6646
  */
6647
- lookup_double(property_name: string | null, inherit: boolean): [ /* returnType */ boolean, /* value */ number ]
6647
+ lookup_double(property_name: string, inherit: boolean): [ /* returnType */ boolean, /* value */ number ]
6648
6648
  /**
6649
6649
  * Generically looks up a property containing a single length value. When
6650
6650
  * specific getters (like st_theme_node_get_border_width()) exist, they
@@ -6656,7 +6656,7 @@ export interface ThemeNode {
6656
6656
  * @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.
6657
6657
  * @returns %TRUE if the property was found in the properties for this theme node (or in the properties of parent nodes when inheriting.)
6658
6658
  */
6659
- lookup_length(property_name: string | null, inherit: boolean): [ /* returnType */ boolean, /* length */ number ]
6659
+ lookup_length(property_name: string, inherit: boolean): [ /* returnType */ boolean, /* length */ number ]
6660
6660
  /**
6661
6661
  * If the property is not found, the value in the shadow variable will not
6662
6662
  * be changed.
@@ -6671,7 +6671,7 @@ export interface ThemeNode {
6671
6671
  * @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.
6672
6672
  * @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'.
6673
6673
  */
6674
- lookup_shadow(property_name: string | null, inherit: boolean): [ /* returnType */ boolean, /* shadow */ Shadow ]
6674
+ lookup_shadow(property_name: string, inherit: boolean): [ /* returnType */ boolean, /* shadow */ Shadow ]
6675
6675
  /**
6676
6676
  * Generically looks up a property containing a single time value,
6677
6677
  * which is converted to milliseconds.
@@ -6679,7 +6679,7 @@ export interface ThemeNode {
6679
6679
  * @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.
6680
6680
  * @returns %TRUE if the property was found in the properties for this theme node (or in the properties of parent nodes when inheriting.)
6681
6681
  */
6682
- lookup_time(property_name: string | null, inherit: boolean): [ /* returnType */ boolean, /* value */ number ]
6682
+ lookup_time(property_name: string, inherit: boolean): [ /* returnType */ boolean, /* value */ number ]
6683
6683
  /**
6684
6684
  * Looks up a property containing a single URL value.
6685
6685
  *
@@ -6688,7 +6688,7 @@ export interface ThemeNode {
6688
6688
  * @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.
6689
6689
  * @returns %TRUE if the property was found in the properties for this theme node (or in the properties of parent nodes when inheriting.)
6690
6690
  */
6691
- lookup_url(property_name: string | null, inherit: boolean): [ /* returnType */ boolean, /* file */ Gio.File ]
6691
+ lookup_url(property_name: string, inherit: boolean): [ /* returnType */ boolean, /* file */ Gio.File ]
6692
6692
  /**
6693
6693
  * Check if st_theme_node_paint() will paint identically for `node` as it does
6694
6694
  * for `other`. Note that in some cases this function may return %TRUE even
@@ -6737,7 +6737,7 @@ export class ThemeNode extends GObject.Object {
6737
6737
  * @param inline_style
6738
6738
  * @returns a new #StThemeNode
6739
6739
  */
6740
- 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 | null)
6740
+ 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)
6741
6741
  /**
6742
6742
  * Creates a new #StThemeNode. Once created, a node is immutable. If any
6743
6743
  * of the attributes of the node (like the `element_class)` change the node
@@ -6753,7 +6753,7 @@ export class ThemeNode extends GObject.Object {
6753
6753
  * @param inline_style
6754
6754
  * @returns a new #StThemeNode
6755
6755
  */
6756
- 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 | null): ThemeNode
6756
+ 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
6757
6757
  _init(config?: ThemeNode.ConstructorProperties): void
6758
6758
  }
6759
6759
 
@@ -7267,13 +7267,13 @@ export interface Widget extends Atk.ImplementorIface, Clutter.Animatable, Clutte
7267
7267
  * already present.
7268
7268
  * @param style_class a style class name string
7269
7269
  */
7270
- add_style_class_name(style_class: string | null): void
7270
+ add_style_class_name(style_class: string): void
7271
7271
  /**
7272
7272
  * Adds `pseudo_class` to `actor'`s pseudo class list, if it is not
7273
7273
  * already present.
7274
7274
  * @param pseudo_class a pseudo class string
7275
7275
  */
7276
- add_style_pseudo_class(pseudo_class: string | null): void
7276
+ add_style_pseudo_class(pseudo_class: string): void
7277
7277
  /**
7278
7278
  * Ensures that `widget` has read its style information and propagated any
7279
7279
  * changes to its children.
@@ -7284,7 +7284,7 @@ export interface Widget extends Atk.ImplementorIface, Clutter.Animatable, Clutte
7284
7284
  * st_widget_set_accessible_name() for more information.
7285
7285
  * @returns a character string representing the accessible name of the widget.
7286
7286
  */
7287
- get_accessible_name(): string | null
7287
+ get_accessible_name(): string
7288
7288
  /**
7289
7289
  * Gets the #AtkRole for this widget. See
7290
7290
  * st_widget_set_accessible_role() for more information.
@@ -7324,7 +7324,7 @@ export interface Widget extends Atk.ImplementorIface, Clutter.Animatable, Clutte
7324
7324
  * Get the current style class name
7325
7325
  * @returns the class name string. The string is owned by the #StWidget and should not be modified or freed.
7326
7326
  */
7327
- get_style_class_name(): string | null
7327
+ get_style_class_name(): string
7328
7328
  /**
7329
7329
  * Get the current style pseudo class list.
7330
7330
  *
@@ -7333,7 +7333,7 @@ export interface Widget extends Atk.ImplementorIface, Clutter.Animatable, Clutte
7333
7333
  * st_widget_has_style_pseudo_class().
7334
7334
  * @returns the pseudo class list string. The string is owned by the #StWidget and should not be modified or freed.
7335
7335
  */
7336
- get_style_pseudo_class(): string | null
7336
+ get_style_pseudo_class(): string
7337
7337
  /**
7338
7338
  * Gets the theme node holding style information for the widget.
7339
7339
  * The theme node is used to access standard and custom CSS
@@ -7355,13 +7355,13 @@ export interface Widget extends Atk.ImplementorIface, Clutter.Animatable, Clutte
7355
7355
  * @param style_class a style class string
7356
7356
  * @returns whether or not @actor's style class list includes @style_class.
7357
7357
  */
7358
- has_style_class_name(style_class: string | null): boolean
7358
+ has_style_class_name(style_class: string): boolean
7359
7359
  /**
7360
7360
  * Tests if `actor'`s pseudo class list includes `pseudo_class`.
7361
7361
  * @param pseudo_class a pseudo class string
7362
7362
  * @returns whether or not @actor's pseudo class list includes @pseudo_class.
7363
7363
  */
7364
- has_style_pseudo_class(pseudo_class: string | null): boolean
7364
+ has_style_pseudo_class(pseudo_class: string): boolean
7365
7365
  /**
7366
7366
  * Tries to update the keyboard focus within `widget` in response to a
7367
7367
  * keyboard event.
@@ -7425,12 +7425,12 @@ export interface Widget extends Atk.ImplementorIface, Clutter.Animatable, Clutte
7425
7425
  * present.
7426
7426
  * @param style_class a style class name string
7427
7427
  */
7428
- remove_style_class_name(style_class: string | null): void
7428
+ remove_style_class_name(style_class: string): void
7429
7429
  /**
7430
7430
  * Removes `pseudo_class` from `actor'`s pseudo class, if it is present.
7431
7431
  * @param pseudo_class a pseudo class string
7432
7432
  */
7433
- remove_style_pseudo_class(pseudo_class: string | null): void
7433
+ remove_style_pseudo_class(pseudo_class: string): void
7434
7434
  /**
7435
7435
  * This method allows to set a customly created accessible object to
7436
7436
  * this widget. For example if you define a new subclass of
@@ -7864,7 +7864,7 @@ export interface WidgetAccessible extends Atk.Action, Atk.Component {
7864
7864
  * Gets the accessible description of the accessible.
7865
7865
  * @returns a character string representing the accessible description of the accessible.
7866
7866
  */
7867
- get_description(): string | null
7867
+ get_description(): string
7868
7868
  /**
7869
7869
  * Returns a non-localized string naming the specified action of the
7870
7870
  * object. This name is generally not descriptive of the end result
@@ -7888,14 +7888,14 @@ export interface WidgetAccessible extends Atk.Action, Atk.Component {
7888
7888
  * Gets the accessible name of the accessible.
7889
7889
  * @returns a character string representing the accessible name of the object.
7890
7890
  */
7891
- get_name(): string | null
7891
+ get_name(): string
7892
7892
  /**
7893
7893
  * Sets a description of the specified action of the object.
7894
7894
  * @param i the action index corresponding to the action to be performed
7895
7895
  * @param desc the description to be assigned to this action
7896
7896
  * @returns a gboolean representing if the description was successfully set;
7897
7897
  */
7898
- set_description(i: number, desc: string | null): boolean
7898
+ set_description(i: number, desc: string): boolean
7899
7899
  /**
7900
7900
  * Sets the accessible description of the accessible. You can't set
7901
7901
  * the description to NULL. This is reserved for the initial value. In
@@ -7903,7 +7903,7 @@ export interface WidgetAccessible extends Atk.Action, Atk.Component {
7903
7903
  * the name to a empty value you can use "".
7904
7904
  * @param description a character string to be set as the accessible description
7905
7905
  */
7906
- set_description(description: string | null): void
7906
+ set_description(description: string): void
7907
7907
  /**
7908
7908
  * Returns a description of the specified action of the object.
7909
7909
  * @virtual
@@ -7916,7 +7916,7 @@ export interface WidgetAccessible extends Atk.Action, Atk.Component {
7916
7916
  * @virtual
7917
7917
  * @returns a character string representing the accessible description of the accessible.
7918
7918
  */
7919
- vfunc_get_description(): string | null
7919
+ vfunc_get_description(): string
7920
7920
  /**
7921
7921
  * Returns a non-localized string naming the specified action of the
7922
7922
  * object. This name is generally not descriptive of the end result
@@ -7942,7 +7942,7 @@ export interface WidgetAccessible extends Atk.Action, Atk.Component {
7942
7942
  * @virtual
7943
7943
  * @returns a character string representing the accessible name of the object.
7944
7944
  */
7945
- vfunc_get_name(): string | null
7945
+ vfunc_get_name(): string
7946
7946
  /**
7947
7947
  * Sets a description of the specified action of the object.
7948
7948
  * @virtual
@@ -7950,7 +7950,7 @@ export interface WidgetAccessible extends Atk.Action, Atk.Component {
7950
7950
  * @param desc the description to be assigned to this action
7951
7951
  * @returns a gboolean representing if the description was successfully set;
7952
7952
  */
7953
- vfunc_set_description(i: number, desc: string | null): boolean
7953
+ vfunc_set_description(i: number, desc: string): boolean
7954
7954
  /**
7955
7955
  * Sets the accessible description of the accessible. You can't set
7956
7956
  * the description to NULL. This is reserved for the initial value. In
@@ -7959,7 +7959,7 @@ export interface WidgetAccessible extends Atk.Action, Atk.Component {
7959
7959
  * @virtual
7960
7960
  * @param description a character string to be set as the accessible description
7961
7961
  */
7962
- vfunc_set_description(description: string | null): void
7962
+ vfunc_set_description(description: string): void
7963
7963
 
7964
7964
  // Class property signals of St-1.0.St.WidgetAccessible
7965
7965
 
package/st-1.0.d.ts CHANGED
@@ -248,7 +248,7 @@ function describe_actor(actor: Clutter.Actor): string | null
248
248
  * @param text text from the clipboard
249
249
  */
250
250
  interface ClipboardCallbackFunc {
251
- (clipboard: Clipboard, text: string | null): void
251
+ (clipboard: Clipboard, text: string): void
252
252
  }
253
253
  /**
254
254
  * Callback function called when content is retrieved from the clipboard.
@@ -566,7 +566,7 @@ interface Adjustment extends Clutter.Animatable {
566
566
  * @param name a unique name for the transition
567
567
  * @param transition a #ClutterTransition
568
568
  */
569
- add_transition(name: string | null, transition: Clutter.Transition): void
569
+ add_transition(name: string, transition: Clutter.Transition): void
570
570
  /**
571
571
  * Adjusts the adjustment using delta values from a scroll event.
572
572
  * You should use this instead of using st_adjustment_set_value()
@@ -589,7 +589,7 @@ interface Adjustment extends Clutter.Animatable {
589
589
  * @param name a transition name
590
590
  * @returns a #ClutterTransition
591
591
  */
592
- get_transition(name: string | null): Clutter.Transition | null
592
+ get_transition(name: string): Clutter.Transition | null
593
593
  /**
594
594
  * Gets the current value of the adjustment. See st_adjustment_set_value().
595
595
  * @returns The current value of the adjustment
@@ -599,7 +599,7 @@ interface Adjustment extends Clutter.Animatable {
599
599
  * Gets all of `adjustment'`s values at once.
600
600
  */
601
601
  get_values(): [ /* value */ number, /* lower */ number, /* upper */ number, /* step_increment */ number, /* page_increment */ number, /* page_size */ number ]
602
- remove_transition(name: string | null): void
602
+ remove_transition(name: string): void
603
603
  /**
604
604
  * Sets the #StAdjustment value. The value is clamped to lie between
605
605
  * #StAdjustment:lower and #StAdjustment:upper - #StAdjustment:page-size.
@@ -1617,7 +1617,7 @@ interface Button extends Atk.ImplementorIface, Clutter.Animatable, Clutter.Conta
1617
1617
  * will be returned instead of %NULL.
1618
1618
  * @returns the text for the button
1619
1619
  */
1620
- get_label(): string | null
1620
+ get_label(): string
1621
1621
  /**
1622
1622
  * Get the toggle mode status of the button.
1623
1623
  * @returns %TRUE if toggle mode is set, otherwise %FALSE
@@ -1641,7 +1641,7 @@ interface Button extends Atk.ImplementorIface, Clutter.Animatable, Clutter.Conta
1641
1641
  * be removed and replaced with the icon.
1642
1642
  * @param icon_name an icon name
1643
1643
  */
1644
- set_icon_name(icon_name: string | null): void
1644
+ set_icon_name(icon_name: string): void
1645
1645
  /**
1646
1646
  * Sets the text displayed on the button.
1647
1647
  * @param text text to set the label to
@@ -1980,7 +1980,7 @@ class Button extends Bin {
1980
1980
  * @param text text to set the label to
1981
1981
  * @returns a new #StButton
1982
1982
  */
1983
- static new_with_label(text: string | null): Button
1983
+ static new_with_label(text: string): Button
1984
1984
  _init(config?: Button.ConstructorProperties): void
1985
1985
  }
1986
1986
 
@@ -2004,7 +2004,7 @@ interface Clipboard {
2004
2004
  * @param mimetype The mimetype to get content for
2005
2005
  * @param callback function to be called when the type is retrieved
2006
2006
  */
2007
- get_content(type: ClipboardType, mimetype: string | null, callback: ClipboardContentCallbackFunc): void
2007
+ get_content(type: ClipboardType, mimetype: string, callback: ClipboardContentCallbackFunc): void
2008
2008
  /**
2009
2009
  * Gets a list of the mimetypes supported by the default #StClipboard.
2010
2010
  * @param type
@@ -2026,13 +2026,13 @@ interface Clipboard {
2026
2026
  * @param mimetype content mimetype
2027
2027
  * @param bytes content data
2028
2028
  */
2029
- set_content(type: ClipboardType, mimetype: string | null, bytes: GLib.Bytes): void
2029
+ set_content(type: ClipboardType, mimetype: string, bytes: GLib.Bytes): void
2030
2030
  /**
2031
2031
  * Sets text as the current contents of the clipboard.
2032
2032
  * @param type The type of clipboard that you want to set
2033
2033
  * @param text text to copy to the clipboard
2034
2034
  */
2035
- set_text(type: ClipboardType, text: string | null): void
2035
+ set_text(type: ClipboardType, text: string): void
2036
2036
 
2037
2037
  // Class property signals of St-1.0.St.Clipboard
2038
2038
 
@@ -2619,7 +2619,7 @@ interface Entry extends Atk.ImplementorIface, Clutter.Animatable, Clutter.Contai
2619
2619
  * be returned instead of %NULL.
2620
2620
  * @returns the text for the entry
2621
2621
  */
2622
- get_text(): string | null
2622
+ get_text(): string
2623
2623
  /**
2624
2624
  * Set the hint actor of the entry to `hint_actor`.
2625
2625
  * @param hint_actor a #ClutterActor
@@ -3126,7 +3126,7 @@ interface GenericAccessible extends Atk.Action, Atk.Component, Atk.Value {
3126
3126
  * Gets the accessible description of the accessible.
3127
3127
  * @returns a character string representing the accessible description of the accessible.
3128
3128
  */
3129
- get_description(): string | null
3129
+ get_description(): string
3130
3130
  /**
3131
3131
  * Returns a non-localized string naming the specified action of the
3132
3132
  * object. This name is generally not descriptive of the end result
@@ -3150,14 +3150,14 @@ interface GenericAccessible extends Atk.Action, Atk.Component, Atk.Value {
3150
3150
  * Gets the accessible name of the accessible.
3151
3151
  * @returns a character string representing the accessible name of the object.
3152
3152
  */
3153
- get_name(): string | null
3153
+ get_name(): string
3154
3154
  /**
3155
3155
  * Sets a description of the specified action of the object.
3156
3156
  * @param i the action index corresponding to the action to be performed
3157
3157
  * @param desc the description to be assigned to this action
3158
3158
  * @returns a gboolean representing if the description was successfully set;
3159
3159
  */
3160
- set_description(i: number, desc: string | null): boolean
3160
+ set_description(i: number, desc: string): boolean
3161
3161
  /**
3162
3162
  * Sets the accessible description of the accessible. You can't set
3163
3163
  * the description to NULL. This is reserved for the initial value. In
@@ -3165,7 +3165,7 @@ interface GenericAccessible extends Atk.Action, Atk.Component, Atk.Value {
3165
3165
  * the name to a empty value you can use "".
3166
3166
  * @param description a character string to be set as the accessible description
3167
3167
  */
3168
- set_description(description: string | null): void
3168
+ set_description(description: string): void
3169
3169
  /**
3170
3170
  * Returns a description of the specified action of the object.
3171
3171
  * @virtual
@@ -3178,7 +3178,7 @@ interface GenericAccessible extends Atk.Action, Atk.Component, Atk.Value {
3178
3178
  * @virtual
3179
3179
  * @returns a character string representing the accessible description of the accessible.
3180
3180
  */
3181
- vfunc_get_description(): string | null
3181
+ vfunc_get_description(): string
3182
3182
  /**
3183
3183
  * Returns a non-localized string naming the specified action of the
3184
3184
  * object. This name is generally not descriptive of the end result
@@ -3204,7 +3204,7 @@ interface GenericAccessible extends Atk.Action, Atk.Component, Atk.Value {
3204
3204
  * @virtual
3205
3205
  * @returns a character string representing the accessible name of the object.
3206
3206
  */
3207
- vfunc_get_name(): string | null
3207
+ vfunc_get_name(): string
3208
3208
  /**
3209
3209
  * Sets a description of the specified action of the object.
3210
3210
  * @virtual
@@ -3212,7 +3212,7 @@ interface GenericAccessible extends Atk.Action, Atk.Component, Atk.Value {
3212
3212
  * @param desc the description to be assigned to this action
3213
3213
  * @returns a gboolean representing if the description was successfully set;
3214
3214
  */
3215
- vfunc_set_description(i: number, desc: string | null): boolean
3215
+ vfunc_set_description(i: number, desc: string): boolean
3216
3216
  /**
3217
3217
  * Sets the accessible description of the accessible. You can't set
3218
3218
  * the description to NULL. This is reserved for the initial value. In
@@ -3221,7 +3221,7 @@ interface GenericAccessible extends Atk.Action, Atk.Component, Atk.Value {
3221
3221
  * @virtual
3222
3222
  * @param description a character string to be set as the accessible description
3223
3223
  */
3224
- vfunc_set_description(description: string | null): void
3224
+ vfunc_set_description(description: string): void
3225
3225
 
3226
3226
  // Own signals of St-1.0.St.GenericAccessible
3227
3227
 
@@ -3425,7 +3425,7 @@ interface Icon extends Atk.ImplementorIface, Clutter.Animatable, Clutter.Contain
3425
3425
  * #GThemedIcon that is currently set.
3426
3426
  * @returns The name of the icon or %NULL if no icon is set
3427
3427
  */
3428
- get_fallback_icon_name(): string | null
3428
+ get_fallback_icon_name(): string
3429
3429
  /**
3430
3430
  * Gets the current #GIcon in use.
3431
3431
  * @returns The current #GIcon, if set, otherwise %NULL
@@ -3854,7 +3854,7 @@ interface ImageContent extends Clutter.Content, Gio.Icon, Gio.LoadableIcon {
3854
3854
  * @param key name of the key
3855
3855
  * @param data data to associate with that key
3856
3856
  */
3857
- set_data(key: string | null, data: any | null): void
3857
+ set_data(key: string, data: any | null): void
3858
3858
  /**
3859
3859
  * Each object carries around a table of associations from
3860
3860
  * strings to pointers. This function lets you set an association.
@@ -3869,7 +3869,7 @@ interface ImageContent extends Clutter.Content, Gio.Icon, Gio.LoadableIcon {
3869
3869
  * @param key name of the key
3870
3870
  * @param data data to associate with that key
3871
3871
  */
3872
- set_data(key: string | null, data: any | null): void
3872
+ set_data(key: string, data: any | null): void
3873
3873
 
3874
3874
  // Class property signals of St-1.0.St.ImageContent
3875
3875
 
@@ -3953,7 +3953,7 @@ interface Label extends Atk.ImplementorIface, Clutter.Animatable, Clutter.Contai
3953
3953
  * Get the text displayed on the label.
3954
3954
  * @returns the text for the label. This must not be freed by the application
3955
3955
  */
3956
- get_text(): string | null
3956
+ get_text(): string
3957
3957
  /**
3958
3958
  * Sets the text displayed by the label.
3959
3959
  * @param text text to set the label to
@@ -5886,7 +5886,7 @@ interface TextureCache {
5886
5886
  * @param property_name Name of a property
5887
5887
  * @returns A new #GIcon
5888
5888
  */
5889
- bind_cairo_surface_property(object: GObject.Object, property_name: string | null): Gio.Icon
5889
+ bind_cairo_surface_property(object: GObject.Object, property_name: string): Gio.Icon
5890
5890
  /**
5891
5891
  * Create a #GIcon from `surface`.
5892
5892
  * @param surface A #cairo_surface_t
@@ -6404,7 +6404,7 @@ interface ThemeNode {
6404
6404
  * indicated color.
6405
6405
  * @param property_name The name of the color property
6406
6406
  */
6407
- get_color(property_name: string | null): /* color */ Clutter.Color
6407
+ get_color(property_name: string): /* color */ Clutter.Color
6408
6408
  /**
6409
6409
  * Gets the box within an actor's allocation that contents the content
6410
6410
  * of an actor (excluding borders and padding). This is a convenience function
@@ -6423,7 +6423,7 @@ interface ThemeNode {
6423
6423
  * @param property_name The name of the numeric property
6424
6424
  * @returns the value found. If @property_name is not found, a warning will be logged and 0 will be returned.
6425
6425
  */
6426
- get_double(property_name: string | null): number
6426
+ get_double(property_name: string): number
6427
6427
  /**
6428
6428
  * Get the list of element classes for `node`.
6429
6429
  * @returns the element's classes
@@ -6433,7 +6433,7 @@ interface ThemeNode {
6433
6433
  * Get the unique element ID for `node`.
6434
6434
  * @returns the element's ID
6435
6435
  */
6436
- get_element_id(): string | null
6436
+ get_element_id(): string
6437
6437
  /**
6438
6438
  * Get the element #GType for `node`.
6439
6439
  * @returns the element type
@@ -6490,7 +6490,7 @@ interface ThemeNode {
6490
6490
  * @param property_name The name of the length property
6491
6491
  * @returns the length, in pixels, or 0 if the property was not found.
6492
6492
  */
6493
- get_length(property_name: string | null): number
6493
+ get_length(property_name: string): number
6494
6494
  /**
6495
6495
  * Gets the value for the letter-spacing style property, in physical pixels.
6496
6496
  * @returns the value of the letter-spacing property, if found, or zero if such property has not been found.
@@ -6570,7 +6570,7 @@ interface ThemeNode {
6570
6570
  * @param property_name The name of the shadow property
6571
6571
  * @returns the shadow, or %NULL if the property was not found.
6572
6572
  */
6573
- get_shadow(property_name: string | null): Shadow | null
6573
+ get_shadow(property_name: string): Shadow | null
6574
6574
  /**
6575
6575
  * Get the text alignment of `node`.
6576
6576
  * @returns the alignment of text for @node
@@ -6607,7 +6607,7 @@ interface ThemeNode {
6607
6607
  * @param property_name The name of the string property
6608
6608
  * @returns the newly allocated value if found. If @property_name is not found, a warning will be logged and %NULL will be returned.
6609
6609
  */
6610
- get_url(property_name: string | null): Gio.File | null
6610
+ get_url(property_name: string): Gio.File | null
6611
6611
  /**
6612
6612
  * Gets the total vertical padding (top + bottom padding), in physical pixels.
6613
6613
  * @returns the total vertical padding in physical pixels
@@ -6636,7 +6636,7 @@ interface ThemeNode {
6636
6636
  * @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.
6637
6637
  * @returns %TRUE if the property was found in the properties for this theme node (or in the properties of parent nodes when inheriting.)
6638
6638
  */
6639
- lookup_color(property_name: string | null, inherit: boolean): [ /* returnType */ boolean, /* color */ Clutter.Color ]
6639
+ lookup_color(property_name: string, inherit: boolean): [ /* returnType */ boolean, /* color */ Clutter.Color ]
6640
6640
  /**
6641
6641
  * Generically looks up a property containing a single numeric value
6642
6642
  * without units.
@@ -6646,7 +6646,7 @@ interface ThemeNode {
6646
6646
  * @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.
6647
6647
  * @returns %TRUE if the property was found in the properties for this theme node (or in the properties of parent nodes when inheriting.)
6648
6648
  */
6649
- lookup_double(property_name: string | null, inherit: boolean): [ /* returnType */ boolean, /* value */ number ]
6649
+ lookup_double(property_name: string, inherit: boolean): [ /* returnType */ boolean, /* value */ number ]
6650
6650
  /**
6651
6651
  * Generically looks up a property containing a single length value. When
6652
6652
  * specific getters (like st_theme_node_get_border_width()) exist, they
@@ -6658,7 +6658,7 @@ interface ThemeNode {
6658
6658
  * @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.
6659
6659
  * @returns %TRUE if the property was found in the properties for this theme node (or in the properties of parent nodes when inheriting.)
6660
6660
  */
6661
- lookup_length(property_name: string | null, inherit: boolean): [ /* returnType */ boolean, /* length */ number ]
6661
+ lookup_length(property_name: string, inherit: boolean): [ /* returnType */ boolean, /* length */ number ]
6662
6662
  /**
6663
6663
  * If the property is not found, the value in the shadow variable will not
6664
6664
  * be changed.
@@ -6673,7 +6673,7 @@ interface ThemeNode {
6673
6673
  * @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.
6674
6674
  * @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'.
6675
6675
  */
6676
- lookup_shadow(property_name: string | null, inherit: boolean): [ /* returnType */ boolean, /* shadow */ Shadow ]
6676
+ lookup_shadow(property_name: string, inherit: boolean): [ /* returnType */ boolean, /* shadow */ Shadow ]
6677
6677
  /**
6678
6678
  * Generically looks up a property containing a single time value,
6679
6679
  * which is converted to milliseconds.
@@ -6681,7 +6681,7 @@ interface ThemeNode {
6681
6681
  * @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.
6682
6682
  * @returns %TRUE if the property was found in the properties for this theme node (or in the properties of parent nodes when inheriting.)
6683
6683
  */
6684
- lookup_time(property_name: string | null, inherit: boolean): [ /* returnType */ boolean, /* value */ number ]
6684
+ lookup_time(property_name: string, inherit: boolean): [ /* returnType */ boolean, /* value */ number ]
6685
6685
  /**
6686
6686
  * Looks up a property containing a single URL value.
6687
6687
  *
@@ -6690,7 +6690,7 @@ interface ThemeNode {
6690
6690
  * @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.
6691
6691
  * @returns %TRUE if the property was found in the properties for this theme node (or in the properties of parent nodes when inheriting.)
6692
6692
  */
6693
- lookup_url(property_name: string | null, inherit: boolean): [ /* returnType */ boolean, /* file */ Gio.File ]
6693
+ lookup_url(property_name: string, inherit: boolean): [ /* returnType */ boolean, /* file */ Gio.File ]
6694
6694
  /**
6695
6695
  * Check if st_theme_node_paint() will paint identically for `node` as it does
6696
6696
  * for `other`. Note that in some cases this function may return %TRUE even
@@ -6739,7 +6739,7 @@ class ThemeNode extends GObject.Object {
6739
6739
  * @param inline_style
6740
6740
  * @returns a new #StThemeNode
6741
6741
  */
6742
- 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 | null)
6742
+ 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)
6743
6743
  /**
6744
6744
  * Creates a new #StThemeNode. Once created, a node is immutable. If any
6745
6745
  * of the attributes of the node (like the `element_class)` change the node
@@ -6755,7 +6755,7 @@ class ThemeNode extends GObject.Object {
6755
6755
  * @param inline_style
6756
6756
  * @returns a new #StThemeNode
6757
6757
  */
6758
- 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 | null): ThemeNode
6758
+ 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
6759
6759
  _init(config?: ThemeNode.ConstructorProperties): void
6760
6760
  }
6761
6761
 
@@ -7269,13 +7269,13 @@ interface Widget extends Atk.ImplementorIface, Clutter.Animatable, Clutter.Conta
7269
7269
  * already present.
7270
7270
  * @param style_class a style class name string
7271
7271
  */
7272
- add_style_class_name(style_class: string | null): void
7272
+ add_style_class_name(style_class: string): void
7273
7273
  /**
7274
7274
  * Adds `pseudo_class` to `actor'`s pseudo class list, if it is not
7275
7275
  * already present.
7276
7276
  * @param pseudo_class a pseudo class string
7277
7277
  */
7278
- add_style_pseudo_class(pseudo_class: string | null): void
7278
+ add_style_pseudo_class(pseudo_class: string): void
7279
7279
  /**
7280
7280
  * Ensures that `widget` has read its style information and propagated any
7281
7281
  * changes to its children.
@@ -7286,7 +7286,7 @@ interface Widget extends Atk.ImplementorIface, Clutter.Animatable, Clutter.Conta
7286
7286
  * st_widget_set_accessible_name() for more information.
7287
7287
  * @returns a character string representing the accessible name of the widget.
7288
7288
  */
7289
- get_accessible_name(): string | null
7289
+ get_accessible_name(): string
7290
7290
  /**
7291
7291
  * Gets the #AtkRole for this widget. See
7292
7292
  * st_widget_set_accessible_role() for more information.
@@ -7326,7 +7326,7 @@ interface Widget extends Atk.ImplementorIface, Clutter.Animatable, Clutter.Conta
7326
7326
  * Get the current style class name
7327
7327
  * @returns the class name string. The string is owned by the #StWidget and should not be modified or freed.
7328
7328
  */
7329
- get_style_class_name(): string | null
7329
+ get_style_class_name(): string
7330
7330
  /**
7331
7331
  * Get the current style pseudo class list.
7332
7332
  *
@@ -7335,7 +7335,7 @@ interface Widget extends Atk.ImplementorIface, Clutter.Animatable, Clutter.Conta
7335
7335
  * st_widget_has_style_pseudo_class().
7336
7336
  * @returns the pseudo class list string. The string is owned by the #StWidget and should not be modified or freed.
7337
7337
  */
7338
- get_style_pseudo_class(): string | null
7338
+ get_style_pseudo_class(): string
7339
7339
  /**
7340
7340
  * Gets the theme node holding style information for the widget.
7341
7341
  * The theme node is used to access standard and custom CSS
@@ -7357,13 +7357,13 @@ interface Widget extends Atk.ImplementorIface, Clutter.Animatable, Clutter.Conta
7357
7357
  * @param style_class a style class string
7358
7358
  * @returns whether or not @actor's style class list includes @style_class.
7359
7359
  */
7360
- has_style_class_name(style_class: string | null): boolean
7360
+ has_style_class_name(style_class: string): boolean
7361
7361
  /**
7362
7362
  * Tests if `actor'`s pseudo class list includes `pseudo_class`.
7363
7363
  * @param pseudo_class a pseudo class string
7364
7364
  * @returns whether or not @actor's pseudo class list includes @pseudo_class.
7365
7365
  */
7366
- has_style_pseudo_class(pseudo_class: string | null): boolean
7366
+ has_style_pseudo_class(pseudo_class: string): boolean
7367
7367
  /**
7368
7368
  * Tries to update the keyboard focus within `widget` in response to a
7369
7369
  * keyboard event.
@@ -7427,12 +7427,12 @@ interface Widget extends Atk.ImplementorIface, Clutter.Animatable, Clutter.Conta
7427
7427
  * present.
7428
7428
  * @param style_class a style class name string
7429
7429
  */
7430
- remove_style_class_name(style_class: string | null): void
7430
+ remove_style_class_name(style_class: string): void
7431
7431
  /**
7432
7432
  * Removes `pseudo_class` from `actor'`s pseudo class, if it is present.
7433
7433
  * @param pseudo_class a pseudo class string
7434
7434
  */
7435
- remove_style_pseudo_class(pseudo_class: string | null): void
7435
+ remove_style_pseudo_class(pseudo_class: string): void
7436
7436
  /**
7437
7437
  * This method allows to set a customly created accessible object to
7438
7438
  * this widget. For example if you define a new subclass of
@@ -7866,7 +7866,7 @@ interface WidgetAccessible extends Atk.Action, Atk.Component {
7866
7866
  * Gets the accessible description of the accessible.
7867
7867
  * @returns a character string representing the accessible description of the accessible.
7868
7868
  */
7869
- get_description(): string | null
7869
+ get_description(): string
7870
7870
  /**
7871
7871
  * Returns a non-localized string naming the specified action of the
7872
7872
  * object. This name is generally not descriptive of the end result
@@ -7890,14 +7890,14 @@ interface WidgetAccessible extends Atk.Action, Atk.Component {
7890
7890
  * Gets the accessible name of the accessible.
7891
7891
  * @returns a character string representing the accessible name of the object.
7892
7892
  */
7893
- get_name(): string | null
7893
+ get_name(): string
7894
7894
  /**
7895
7895
  * Sets a description of the specified action of the object.
7896
7896
  * @param i the action index corresponding to the action to be performed
7897
7897
  * @param desc the description to be assigned to this action
7898
7898
  * @returns a gboolean representing if the description was successfully set;
7899
7899
  */
7900
- set_description(i: number, desc: string | null): boolean
7900
+ set_description(i: number, desc: string): boolean
7901
7901
  /**
7902
7902
  * Sets the accessible description of the accessible. You can't set
7903
7903
  * the description to NULL. This is reserved for the initial value. In
@@ -7905,7 +7905,7 @@ interface WidgetAccessible extends Atk.Action, Atk.Component {
7905
7905
  * the name to a empty value you can use "".
7906
7906
  * @param description a character string to be set as the accessible description
7907
7907
  */
7908
- set_description(description: string | null): void
7908
+ set_description(description: string): void
7909
7909
  /**
7910
7910
  * Returns a description of the specified action of the object.
7911
7911
  * @virtual
@@ -7918,7 +7918,7 @@ interface WidgetAccessible extends Atk.Action, Atk.Component {
7918
7918
  * @virtual
7919
7919
  * @returns a character string representing the accessible description of the accessible.
7920
7920
  */
7921
- vfunc_get_description(): string | null
7921
+ vfunc_get_description(): string
7922
7922
  /**
7923
7923
  * Returns a non-localized string naming the specified action of the
7924
7924
  * object. This name is generally not descriptive of the end result
@@ -7944,7 +7944,7 @@ interface WidgetAccessible extends Atk.Action, Atk.Component {
7944
7944
  * @virtual
7945
7945
  * @returns a character string representing the accessible name of the object.
7946
7946
  */
7947
- vfunc_get_name(): string | null
7947
+ vfunc_get_name(): string
7948
7948
  /**
7949
7949
  * Sets a description of the specified action of the object.
7950
7950
  * @virtual
@@ -7952,7 +7952,7 @@ interface WidgetAccessible extends Atk.Action, Atk.Component {
7952
7952
  * @param desc the description to be assigned to this action
7953
7953
  * @returns a gboolean representing if the description was successfully set;
7954
7954
  */
7955
- vfunc_set_description(i: number, desc: string | null): boolean
7955
+ vfunc_set_description(i: number, desc: string): boolean
7956
7956
  /**
7957
7957
  * Sets the accessible description of the accessible. You can't set
7958
7958
  * the description to NULL. This is reserved for the initial value. In
@@ -7961,7 +7961,7 @@ interface WidgetAccessible extends Atk.Action, Atk.Component {
7961
7961
  * @virtual
7962
7962
  * @param description a character string to be set as the accessible description
7963
7963
  */
7964
- vfunc_set_description(description: string | null): void
7964
+ vfunc_set_description(description: string): void
7965
7965
 
7966
7966
  // Class property signals of St-1.0.St.WidgetAccessible
7967
7967