@girs/meta-13 13.0.0-3.2.5 → 13.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/meta-13)
6
6
 
7
7
 
8
- GJS TypeScript type definitions for Meta-13, generated from library version 13.0.0 using [ts-for-gir](https://github.com/gjsify/ts-for-gir) v3.2.5.
8
+ GJS TypeScript type definitions for Meta-13, generated from library version 13.0.0 using [ts-for-gir](https://github.com/gjsify/ts-for-gir) v3.2.7.
9
9
 
10
10
 
11
11
  ## Install
package/meta-13.d.cts CHANGED
@@ -1465,7 +1465,7 @@ export enum VirtualModifier {
1465
1465
  MOD5_MASK,
1466
1466
  }
1467
1467
  export const CURRENT_TIME: number
1468
- export const DEFAULT_ICON_NAME: string | null
1468
+ export const DEFAULT_ICON_NAME: string
1469
1469
  export const ICON_HEIGHT: number
1470
1470
  export const ICON_WIDTH: number
1471
1471
  export const MINI_ICON_HEIGHT: number
@@ -1497,7 +1497,7 @@ export function clutter_init(): void
1497
1497
  * @param name Human readable name of display server or window manager
1498
1498
  * @returns A new context instance.
1499
1499
  */
1500
- export function create_context(name: string | null): Context
1500
+ export function create_context(name: string): Context
1501
1501
  /**
1502
1502
  * Disables unredirection, can be useful in situations where having
1503
1503
  * unredirected windows is undesirable like when recording a video.
@@ -1518,8 +1518,8 @@ export function focus_stage_window(display: Display, timestamp: number): void
1518
1518
  * @param type a #MetaFrameType
1519
1519
  * @returns the string value
1520
1520
  */
1521
- export function frame_type_to_string(type: FrameType): string | null
1522
- export function g_utf8_strndup(src: string | null, n: number): string | null
1521
+ export function frame_type_to_string(type: FrameType): string
1522
+ export function g_utf8_strndup(src: string, n: number): string | null
1523
1523
  export function get_clutter_debug_flags(): [ /* debug_flags */ Clutter.DebugFlag, /* draw_flags */ Clutter.DrawDebugFlag, /* pick_flags */ Clutter.PickDebugFlag ]
1524
1524
  export function get_debug_paint_flags(): DebugPaintFlag
1525
1525
  export function get_feedback_group_for_display(display: Display): Clutter.Actor
@@ -1528,7 +1528,7 @@ export function get_stage_for_display(display: Display): Clutter.Actor
1528
1528
  export function get_top_window_group_for_display(display: Display): Clutter.Actor
1529
1529
  export function get_window_actors(display: Display): Clutter.Actor[]
1530
1530
  export function get_window_group_for_display(display: Display): Clutter.Actor
1531
- export function gravity_to_string(gravity: Gravity): string | null
1531
+ export function gravity_to_string(gravity: Gravity): string
1532
1532
  /**
1533
1533
  * Returns %TRUE if this instance of Mutter comes from Mutter
1534
1534
  * restarting itself (for example to enable/disable stereo.)
@@ -1547,11 +1547,11 @@ export function is_wayland_compositor(): boolean
1547
1547
  * @param handler The new handler function
1548
1548
  * @returns %TRUE if the binding known as @name was found, %FALSE otherwise.
1549
1549
  */
1550
- export function keybindings_set_custom_handler(name: string | null, handler: KeyHandlerFunc | null): boolean
1550
+ export function keybindings_set_custom_handler(name: string, handler: KeyHandlerFunc | null): boolean
1551
1551
  export function pop_no_msg_prefix(): void
1552
- export function preference_to_string(pref: Preference): string | null
1552
+ export function preference_to_string(pref: Preference): string
1553
1553
  export function prefs_bell_is_audible(): boolean
1554
- export function prefs_change_workspace_name(i: number, name: string | null): void
1554
+ export function prefs_change_workspace_name(i: number, name: string): void
1555
1555
  export function prefs_get_action_double_click_titlebar(): GDesktopEnums.TitlebarAction
1556
1556
  export function prefs_get_action_middle_click_titlebar(): GDesktopEnums.TitlebarAction
1557
1557
  export function prefs_get_action_right_click_titlebar(): GDesktopEnums.TitlebarAction
@@ -1564,7 +1564,7 @@ export function prefs_get_center_new_windows(): boolean
1564
1564
  export function prefs_get_check_alive_timeout(): number
1565
1565
  export function prefs_get_compositing_manager(): boolean
1566
1566
  export function prefs_get_cursor_size(): number
1567
- export function prefs_get_cursor_theme(): string | null
1567
+ export function prefs_get_cursor_theme(): string
1568
1568
  export function prefs_get_disable_workarounds(): boolean
1569
1569
  export function prefs_get_drag_threshold(): number
1570
1570
  export function prefs_get_draggable_border_width(): number
@@ -1576,8 +1576,8 @@ export function prefs_get_focus_new_windows(): GDesktopEnums.FocusNewWindows
1576
1576
  export function prefs_get_force_fullscreen(): boolean
1577
1577
  export function prefs_get_gnome_accessibility(): boolean
1578
1578
  export function prefs_get_gnome_animations(): boolean
1579
- export function prefs_get_keybinding_action(name: string | null): KeyBindingAction
1580
- export function prefs_get_keybinding_label(name: string | null): string | null
1579
+ export function prefs_get_keybinding_action(name: string): KeyBindingAction
1580
+ export function prefs_get_keybinding_label(name: string): string | null
1581
1581
  export function prefs_get_mouse_button_menu(): number
1582
1582
  export function prefs_get_mouse_button_mods(): Clutter.ModifierType
1583
1583
  export function prefs_get_mouse_button_resize(): number
@@ -1586,7 +1586,7 @@ export function prefs_get_raise_on_click(): boolean
1586
1586
  export function prefs_get_show_fallback_app_menu(): boolean
1587
1587
  export function prefs_get_visual_bell(): boolean
1588
1588
  export function prefs_get_visual_bell_type(): GDesktopEnums.VisualBellType
1589
- export function prefs_get_workspace_name(i: number): string | null
1589
+ export function prefs_get_workspace_name(i: number): string
1590
1590
  export function prefs_get_workspaces_only_on_primary(): boolean
1591
1591
  export function prefs_set_force_fullscreen(whether: boolean): void
1592
1592
  export function prefs_set_num_workspaces(n_workspaces: number): void
@@ -1621,7 +1621,7 @@ export function remove_verbose_topic(topic: DebugTopic): void
1621
1621
  * @param context a #MetaContext
1622
1622
  */
1623
1623
  export function restart(message: string | null, context: Context): void
1624
- export function topic_to_string(topic: DebugTopic): string | null
1624
+ export function topic_to_string(topic: DebugTopic): string
1625
1625
  export function unsigned_long_equal(v1: any | null, v2: any | null): number
1626
1626
  export function unsigned_long_hash(v: any | null): number
1627
1627
  export function x11_error_trap_pop(x11_display: X11Display): void
@@ -1916,7 +1916,7 @@ export interface Backend extends Gio.Initable {
1916
1916
  is_headless(): boolean
1917
1917
  is_rendering_hardware_accelerated(): boolean
1918
1918
  lock_layout_group(idx: number): void
1919
- set_keymap(layouts: string | null, variants: string | null, options: string | null): void
1919
+ set_keymap(layouts: string, variants: string, options: string): void
1920
1920
 
1921
1921
  // Own signals of Meta-13.Meta.Backend
1922
1922
 
@@ -2008,6 +2008,7 @@ export module Background {
2008
2008
  // Own constructor properties of Meta-13.Meta.Background
2009
2009
 
2010
2010
  meta_display?: Display | null
2011
+ metaDisplay?: Display | null
2011
2012
  }
2012
2013
 
2013
2014
  }
@@ -2017,6 +2018,7 @@ export interface Background {
2017
2018
  // Own properties of Meta-13.Meta.Background
2018
2019
 
2019
2020
  readonly meta_display: Display
2021
+ readonly metaDisplay: Display
2020
2022
 
2021
2023
  // Owm methods of Meta-13.Meta.Background
2022
2024
 
@@ -2080,6 +2082,7 @@ export module BackgroundActor {
2080
2082
 
2081
2083
  meta_display?: Display | null
2082
2084
  monitor?: number | null
2085
+ metaDisplay?: Display | null
2083
2086
  }
2084
2087
 
2085
2088
  }
@@ -2089,6 +2092,7 @@ export interface BackgroundActor extends Atk.ImplementorIface, Clutter.Animatabl
2089
2092
  // Own properties of Meta-13.Meta.BackgroundActor
2090
2093
 
2091
2094
  readonly meta_display: Display
2095
+ readonly metaDisplay: Display
2092
2096
  readonly monitor: number
2093
2097
 
2094
2098
  // Class property signals of Meta-13.Meta.BackgroundActor
@@ -2384,6 +2388,11 @@ export module BackgroundContent {
2384
2388
  rounded_clip_radius?: number | null
2385
2389
  vignette?: boolean | null
2386
2390
  vignette_sharpness?: number | null
2391
+ gradientHeight?: number | null
2392
+ gradientMaxDarkness?: number | null
2393
+ metaDisplay?: Display | null
2394
+ roundedClipRadius?: number | null
2395
+ vignetteSharpness?: number | null
2387
2396
  }
2388
2397
 
2389
2398
  }
@@ -2396,12 +2405,17 @@ export interface BackgroundContent extends Clutter.Content {
2396
2405
  brightness: number
2397
2406
  gradient: boolean
2398
2407
  gradient_height: number
2408
+ gradientHeight: number
2399
2409
  gradient_max_darkness: number
2410
+ gradientMaxDarkness: number
2400
2411
  readonly meta_display: Display
2412
+ readonly metaDisplay: Display
2401
2413
  readonly monitor: number
2402
2414
  rounded_clip_radius: number
2415
+ roundedClipRadius: number
2403
2416
  vignette: boolean
2404
2417
  vignette_sharpness: number
2418
+ vignetteSharpness: number
2405
2419
 
2406
2420
  // Owm methods of Meta-13.Meta.BackgroundContent
2407
2421
 
@@ -3175,6 +3189,7 @@ export module Context {
3175
3189
 
3176
3190
  name?: string | null
3177
3191
  unsafe_mode?: boolean | null
3192
+ unsafeMode?: boolean | null
3178
3193
  }
3179
3194
 
3180
3195
  }
@@ -3185,6 +3200,7 @@ export interface Context {
3185
3200
 
3186
3201
  readonly name: string | null
3187
3202
  unsafe_mode: boolean
3203
+ unsafeMode: boolean
3188
3204
 
3189
3205
  // Own fields of Meta-13.Meta.Context
3190
3206
 
@@ -3226,9 +3242,9 @@ export interface Context {
3226
3242
  */
3227
3243
  restore_rlimit_nofile(): boolean
3228
3244
  run_main_loop(): boolean
3229
- set_gnome_wm_keybindings(wm_keybindings: string | null): void
3245
+ set_gnome_wm_keybindings(wm_keybindings: string): void
3230
3246
  set_plugin_gtype(plugin_gtype: GObject.GType): void
3231
- set_plugin_name(plugin_name: string | null): void
3247
+ set_plugin_name(plugin_name: string): void
3232
3248
  setup(): boolean
3233
3249
  start(): boolean
3234
3250
  terminate(): void
@@ -3600,7 +3616,9 @@ export interface Display {
3600
3616
  // Own properties of Meta-13.Meta.Display
3601
3617
 
3602
3618
  readonly compositor_modifiers: Clutter.ModifierType
3619
+ readonly compositorModifiers: Clutter.ModifierType
3603
3620
  readonly focus_window: Window
3621
+ readonly focusWindow: Window
3604
3622
 
3605
3623
  // Owm methods of Meta-13.Meta.Display
3606
3624
 
@@ -3620,7 +3638,7 @@ export interface Display {
3620
3638
  * @param handler function to run when the keybinding is invoked
3621
3639
  * @returns the corresponding keybinding action if the keybinding was added successfully, otherwise %META_KEYBINDING_ACTION_NONE
3622
3640
  */
3623
- add_keybinding(name: string | null, settings: Gio.Settings, flags: KeyBindingFlags, handler: KeyHandlerFunc): number
3641
+ add_keybinding(name: string, settings: Gio.Settings, flags: KeyBindingFlags, handler: KeyHandlerFunc): number
3624
3642
  /**
3625
3643
  * Sets the mouse-mode flag to %FALSE, which means that motion events are
3626
3644
  * no longer ignored in mouse or sloppy focus.
@@ -3730,7 +3748,7 @@ export interface Display {
3730
3748
  */
3731
3749
  get_tab_next(type: TabList, workspace: Workspace, window: Window | null, backward: boolean): Window
3732
3750
  get_workspace_manager(): WorkspaceManager
3733
- grab_accelerator(accelerator: string | null, flags: KeyBindingFlags): number
3751
+ grab_accelerator(accelerator: string, flags: KeyBindingFlags): number
3734
3752
  /**
3735
3753
  * Returns %TRUE if there is an ongoing grab operation.
3736
3754
  * @returns Whether there is an active display grab operation.
@@ -3755,7 +3773,7 @@ export interface Display {
3755
3773
  * @param name name of the keybinding to remove
3756
3774
  * @returns %TRUE if the binding has been removed successfully, otherwise %FALSE
3757
3775
  */
3758
- remove_keybinding(name: string | null): boolean
3776
+ remove_keybinding(name: string): boolean
3759
3777
  request_pad_osd(pad: Clutter.InputDevice, edition_mode: boolean): void
3760
3778
  set_cursor(cursor: Cursor): void
3761
3779
  set_input_focus(window: Window, focus_frame: boolean, timestamp: number): void
@@ -4200,6 +4218,7 @@ export module MonitorManager {
4200
4218
 
4201
4219
  backend?: Backend | null
4202
4220
  experimental_hdr?: string | null
4221
+ experimentalHdr?: string | null
4203
4222
  }
4204
4223
 
4205
4224
  }
@@ -4210,9 +4229,13 @@ export interface MonitorManager {
4210
4229
 
4211
4230
  readonly backend: Backend
4212
4231
  experimental_hdr: string | null
4232
+ experimentalHdr: string | null
4213
4233
  readonly has_builtin_panel: boolean
4234
+ readonly hasBuiltinPanel: boolean
4214
4235
  readonly night_light_supported: boolean
4236
+ readonly nightLightSupported: boolean
4215
4237
  readonly panel_orientation_managed: boolean
4238
+ readonly panelOrientationManaged: boolean
4216
4239
 
4217
4240
  // Owm methods of Meta-13.Meta.MonitorManager
4218
4241
 
@@ -4222,7 +4245,7 @@ export interface MonitorManager {
4222
4245
  * Returns whether the built-in display (i.e. a laptop panel) is turned on.
4223
4246
  */
4224
4247
  get_is_builtin_display_on(): boolean
4225
- get_monitor_for_connector(connector: string | null): number
4248
+ get_monitor_for_connector(connector: string): number
4226
4249
  get_panel_orientation_managed(): boolean
4227
4250
  get_switch_config(): MonitorSwitchConfigType
4228
4251
  switch_config(config_type: MonitorSwitchConfigType): void
@@ -4629,6 +4652,7 @@ export module RemoteAccessHandle {
4629
4652
  // Own constructor properties of Meta-13.Meta.RemoteAccessHandle
4630
4653
 
4631
4654
  is_recording?: boolean | null
4655
+ isRecording?: boolean | null
4632
4656
  }
4633
4657
 
4634
4658
  }
@@ -4638,6 +4662,7 @@ export interface RemoteAccessHandle {
4638
4662
  // Own properties of Meta-13.Meta.RemoteAccessHandle
4639
4663
 
4640
4664
  readonly is_recording: boolean
4665
+ readonly isRecording: boolean
4641
4666
 
4642
4667
  // Own fields of Meta-13.Meta.RemoteAccessHandle
4643
4668
 
@@ -4735,7 +4760,7 @@ export interface Selection {
4735
4760
  * @param cancellable Cancellable
4736
4761
  * @param callback User callback
4737
4762
  */
4738
- transfer_async(selection_type: SelectionType, mimetype: string | null, size: number, output: Gio.OutputStream, cancellable: Gio.Cancellable | null, callback: Gio.AsyncReadyCallback<this> | null): void
4763
+ transfer_async(selection_type: SelectionType, mimetype: string, size: number, output: Gio.OutputStream, cancellable: Gio.Cancellable | null, callback: Gio.AsyncReadyCallback<this> | null): void
4739
4764
 
4740
4765
  // Overloads of transfer_async
4741
4766
 
@@ -4751,7 +4776,7 @@ export interface Selection {
4751
4776
  * @param cancellable Cancellable
4752
4777
  * @returns A Promise of: #TRUE if the transfer was successful.
4753
4778
  */
4754
- transfer_async(selection_type: SelectionType, mimetype: string | null, size: number, output: Gio.OutputStream, cancellable: Gio.Cancellable | null): globalThis.Promise<boolean>
4779
+ transfer_async(selection_type: SelectionType, mimetype: string, size: number, output: Gio.OutputStream, cancellable: Gio.Cancellable | null): globalThis.Promise<boolean>
4755
4780
  /**
4756
4781
  * Finishes the transfer of a queried mimetype.
4757
4782
  * @param result The async result
@@ -4839,7 +4864,7 @@ export interface SelectionSource {
4839
4864
  * @returns #TRUE if the source owns a selection.
4840
4865
  */
4841
4866
  is_active(): boolean
4842
- read_async(mimetype: string | null, cancellable: Gio.Cancellable | null, callback: Gio.AsyncReadyCallback<this> | null): void
4867
+ read_async(mimetype: string, cancellable: Gio.Cancellable | null, callback: Gio.AsyncReadyCallback<this> | null): void
4843
4868
 
4844
4869
  // Overloads of read_async
4845
4870
 
@@ -4851,7 +4876,7 @@ export interface SelectionSource {
4851
4876
  * @param cancellable
4852
4877
  * @returns A Promise of: The resulting #GInputStream
4853
4878
  */
4854
- read_async(mimetype: string | null, cancellable: Gio.Cancellable | null): globalThis.Promise<Gio.InputStream>
4879
+ read_async(mimetype: string, cancellable: Gio.Cancellable | null): globalThis.Promise<Gio.InputStream>
4855
4880
  /**
4856
4881
  * Finishes a read from the selection source.
4857
4882
  * @param result The async result
@@ -4869,7 +4894,7 @@ export interface SelectionSource {
4869
4894
  * @returns The supported mimetypes
4870
4895
  */
4871
4896
  vfunc_get_mimetypes(): string[]
4872
- vfunc_read_async(mimetype: string | null, cancellable: Gio.Cancellable | null, callback: Gio.AsyncReadyCallback<this> | null): void
4897
+ vfunc_read_async(mimetype: string, cancellable: Gio.Cancellable | null, callback: Gio.AsyncReadyCallback<this> | null): void
4873
4898
  /**
4874
4899
  * Finishes a read from the selection source.
4875
4900
  * @virtual
@@ -4937,8 +4962,8 @@ export class SelectionSourceMemory extends SelectionSource {
4937
4962
  // Constructors of Meta-13.Meta.SelectionSourceMemory
4938
4963
 
4939
4964
  constructor(config?: SelectionSourceMemory.ConstructorProperties)
4940
- constructor(mimetype: string | null, content: GLib.Bytes)
4941
- static new(mimetype: string | null, content: GLib.Bytes): SelectionSourceMemory
4965
+ constructor(mimetype: string, content: GLib.Bytes)
4966
+ static new(mimetype: string, content: GLib.Bytes): SelectionSourceMemory
4942
4967
  _init(config?: SelectionSourceMemory.ConstructorProperties): void
4943
4968
  }
4944
4969
 
@@ -4973,7 +4998,7 @@ export interface ShadowFactory {
4973
4998
  * @param class_name name of the class of shadow to get the params for
4974
4999
  * @param focused whether the shadow is for a focused window
4975
5000
  */
4976
- get_params(class_name: string | null, focused: boolean): /* params */ ShadowParams
5001
+ get_params(class_name: string, focused: boolean): /* params */ ShadowParams
4977
5002
  /**
4978
5003
  * Gets the appropriate shadow object for drawing shadows for the
4979
5004
  * specified window shape. The region that we are shadowing is specified
@@ -4987,7 +5012,7 @@ export interface ShadowFactory {
4987
5012
  * @param focused whether the shadow is for a focused window
4988
5013
  * @returns a newly referenced #MetaShadow; unref with meta_shadow_unref()
4989
5014
  */
4990
- get_shadow(shape: WindowShape, width: number, height: number, class_name: string | null, focused: boolean): Shadow
5015
+ get_shadow(shape: WindowShape, width: number, height: number, class_name: string, focused: boolean): Shadow
4991
5016
  /**
4992
5017
  * Updates the shadow parameters for a particular class of shadows
4993
5018
  * for either the focused or unfocused state. If the class name
@@ -4998,7 +5023,7 @@ export interface ShadowFactory {
4998
5023
  * @param focused whether the shadow is for a focused window
4999
5024
  * @param params new parameter values
5000
5025
  */
5001
- set_params(class_name: string | null, focused: boolean, params: ShadowParams): void
5026
+ set_params(class_name: string, focused: boolean, params: ShadowParams): void
5002
5027
 
5003
5028
  // Own signals of Meta-13.Meta.ShadowFactory
5004
5029
 
@@ -5127,14 +5152,14 @@ export interface SoundPlayer {
5127
5152
  * @param description description of the played sound
5128
5153
  * @param cancellable cancellable for the request
5129
5154
  */
5130
- play_from_file(file: Gio.File, description: string | null, cancellable: Gio.Cancellable | null): void
5155
+ play_from_file(file: Gio.File, description: string, cancellable: Gio.Cancellable | null): void
5131
5156
  /**
5132
5157
  * Plays a sound from the sound theme.
5133
5158
  * @param name sound theme name of the event
5134
5159
  * @param description description of the event
5135
5160
  * @param cancellable cancellable for the request
5136
5161
  */
5137
- play_from_theme(name: string | null, description: string | null, cancellable: Gio.Cancellable | null): void
5162
+ play_from_theme(name: string, description: string, cancellable: Gio.Cancellable | null): void
5138
5163
 
5139
5164
  // Class property signals of Meta-13.Meta.SoundPlayer
5140
5165
 
@@ -5520,6 +5545,8 @@ export module StartupSequence {
5520
5545
  timestamp?: number | null
5521
5546
  wmclass?: string | null
5522
5547
  workspace?: number | null
5548
+ applicationId?: string | null
5549
+ iconName?: string | null
5523
5550
  }
5524
5551
 
5525
5552
  }
@@ -5529,8 +5556,10 @@ export interface StartupSequence {
5529
5556
  // Own properties of Meta-13.Meta.StartupSequence
5530
5557
 
5531
5558
  readonly application_id: string | null
5559
+ readonly applicationId: string | null
5532
5560
  readonly display: Display
5533
5561
  readonly icon_name: string | null
5562
+ readonly iconName: string | null
5534
5563
  readonly id: string | null
5535
5564
  readonly name: string | null
5536
5565
  readonly timestamp: number
@@ -5555,8 +5584,8 @@ export interface StartupSequence {
5555
5584
  * @returns the icon name or %NULL.
5556
5585
  */
5557
5586
  get_icon_name(): string | null
5558
- get_id(): string | null
5559
- get_name(): string | null
5587
+ get_id(): string
5588
+ get_name(): string
5560
5589
  get_timestamp(): number
5561
5590
  /**
5562
5591
  * Get the wmclass of the startup sequence.
@@ -5844,32 +5873,50 @@ export interface Window extends Gio.Initable {
5844
5873
 
5845
5874
  readonly above: boolean
5846
5875
  readonly appears_focused: boolean
5876
+ readonly appearsFocused: boolean
5847
5877
  readonly decorated: boolean
5848
5878
  readonly demands_attention: boolean
5879
+ readonly demandsAttention: boolean
5849
5880
  readonly display: Display
5850
5881
  readonly effect: number
5851
5882
  readonly fullscreen: boolean
5852
5883
  readonly gtk_app_menu_object_path: string | null
5884
+ readonly gtkAppMenuObjectPath: string | null
5853
5885
  readonly gtk_application_id: string | null
5886
+ readonly gtkApplicationId: string | null
5854
5887
  readonly gtk_application_object_path: string | null
5888
+ readonly gtkApplicationObjectPath: string | null
5855
5889
  readonly gtk_menubar_object_path: string | null
5890
+ readonly gtkMenubarObjectPath: string | null
5856
5891
  readonly gtk_unique_bus_name: string | null
5892
+ readonly gtkUniqueBusName: string | null
5857
5893
  readonly gtk_window_object_path: string | null
5894
+ readonly gtkWindowObjectPath: string | null
5858
5895
  readonly icon: any
5859
5896
  readonly is_alive: boolean
5897
+ readonly isAlive: boolean
5860
5898
  readonly maximized_horizontally: boolean
5899
+ readonly maximizedHorizontally: boolean
5861
5900
  readonly maximized_vertically: boolean
5901
+ readonly maximizedVertically: boolean
5862
5902
  readonly mini_icon: any
5903
+ readonly miniIcon: any
5863
5904
  readonly minimized: boolean
5864
5905
  readonly mutter_hints: string | null
5906
+ readonly mutterHints: string | null
5865
5907
  readonly on_all_workspaces: boolean
5908
+ readonly onAllWorkspaces: boolean
5866
5909
  readonly resizeable: boolean
5867
5910
  readonly skip_taskbar: boolean
5911
+ readonly skipTaskbar: boolean
5868
5912
  readonly title: string | null
5869
5913
  readonly urgent: boolean
5870
5914
  readonly user_time: number
5915
+ readonly userTime: number
5871
5916
  readonly window_type: WindowType
5917
+ readonly windowType: WindowType
5872
5918
  readonly wm_class: string | null
5919
+ readonly wmClass: string | null
5873
5920
  readonly xwindow: number
5874
5921
 
5875
5922
  // Owm methods of Meta-13.Meta.Window
@@ -5947,7 +5994,7 @@ export interface Window extends Gio.Initable {
5947
5994
  * @returns the wrapper object.
5948
5995
  */
5949
5996
  get_compositor_private(): GObject.Object
5950
- get_description(): string | null
5997
+ get_description(): string
5951
5998
  get_display(): Display
5952
5999
  /**
5953
6000
  * Gets a region representing the outer bounds of the window's frame.
@@ -6022,7 +6069,7 @@ export interface Window extends Gio.Initable {
6022
6069
  * @returns the pid, or 0 if not known.
6023
6070
  */
6024
6071
  get_pid(): number
6025
- get_role(): string | null
6072
+ get_role(): string
6026
6073
  /**
6027
6074
  * Gets an unique id for a sandboxed app (currently flatpaks and snaps are
6028
6075
  * supported).
@@ -6055,7 +6102,7 @@ export interface Window extends Gio.Initable {
6055
6102
  * @returns the matching tiled window or %NULL if it doesn't exist.
6056
6103
  */
6057
6104
  get_tile_match(): Window | null
6058
- get_title(): string | null
6105
+ get_title(): string
6059
6106
  /**
6060
6107
  * Returns the #MetaWindow for the window that is pointed to by the
6061
6108
  * WM_TRANSIENT_FOR hint on this window (see XGetTransientForHint()
@@ -6431,6 +6478,7 @@ export module WindowActor {
6431
6478
  // Own constructor properties of Meta-13.Meta.WindowActor
6432
6479
 
6433
6480
  meta_window?: Window | null
6481
+ metaWindow?: Window | null
6434
6482
  }
6435
6483
 
6436
6484
  }
@@ -6440,6 +6488,7 @@ export interface WindowActor extends Atk.ImplementorIface, Clutter.Animatable, C
6440
6488
  // Own properties of Meta-13.Meta.WindowActor
6441
6489
 
6442
6490
  readonly meta_window: Window
6491
+ readonly metaWindow: Window
6443
6492
 
6444
6493
  // Own fields of Meta-13.Meta.WindowActor
6445
6494
 
@@ -7030,7 +7079,9 @@ export interface Workspace {
7030
7079
 
7031
7080
  readonly active: boolean
7032
7081
  readonly n_windows: number
7082
+ readonly nWindows: number
7033
7083
  readonly workspace_index: number
7084
+ readonly workspaceIndex: number
7034
7085
 
7035
7086
  // Owm methods of Meta-13.Meta.Workspace
7036
7087
 
@@ -7198,8 +7249,11 @@ export interface WorkspaceManager {
7198
7249
  // Own properties of Meta-13.Meta.WorkspaceManager
7199
7250
 
7200
7251
  readonly layout_columns: number
7252
+ readonly layoutColumns: number
7201
7253
  readonly layout_rows: number
7254
+ readonly layoutRows: number
7202
7255
  readonly n_workspaces: number
7256
+ readonly nWorkspaces: number
7203
7257
 
7204
7258
  // Owm methods of Meta-13.Meta.WorkspaceManager
7205
7259
 
@@ -7708,7 +7762,7 @@ export interface Group {
7708
7762
  // Owm methods of Meta-13.Meta.Group
7709
7763
 
7710
7764
  get_size(): number
7711
- get_startup_id(): string | null
7765
+ get_startup_id(): string
7712
7766
  list_windows(): Window[]
7713
7767
  update_layers(): void
7714
7768
  }
@@ -7760,7 +7814,7 @@ export interface KeyBinding {
7760
7814
 
7761
7815
  get_mask(): number
7762
7816
  get_modifiers(): Clutter.ModifierType
7763
- get_name(): string | null
7817
+ get_name(): string
7764
7818
  is_builtin(): boolean
7765
7819
  is_reversed(): boolean
7766
7820
  }
@@ -7864,27 +7918,27 @@ export interface PluginInfo {
7864
7918
  * name of the plugin
7865
7919
  * @field
7866
7920
  */
7867
- name: string | null
7921
+ name: string
7868
7922
  /**
7869
7923
  * version of the plugin
7870
7924
  * @field
7871
7925
  */
7872
- version: string | null
7926
+ version: string
7873
7927
  /**
7874
7928
  * author of the plugin
7875
7929
  * @field
7876
7930
  */
7877
- author: string | null
7931
+ author: string
7878
7932
  /**
7879
7933
  * license of the plugin
7880
7934
  * @field
7881
7935
  */
7882
- license: string | null
7936
+ license: string
7883
7937
  /**
7884
7938
  * description of the plugin
7885
7939
  * @field
7886
7940
  */
7887
- description: string | null
7941
+ description: string
7888
7942
  }
7889
7943
 
7890
7944
  export class PluginInfo {
@@ -7945,7 +7999,7 @@ export interface SelectionSourceClass {
7945
7999
  activated: (source: SelectionSource) => void
7946
8000
  deactivated: (source: SelectionSource) => void
7947
8001
  get_mimetypes: (source: SelectionSource) => string[]
7948
- read_async: (source: SelectionSource, mimetype: string | null, cancellable: Gio.Cancellable | null, callback: Gio.AsyncReadyCallback | null) => void
8002
+ read_async: (source: SelectionSource, mimetype: string, cancellable: Gio.Cancellable | null, callback: Gio.AsyncReadyCallback | null) => void
7949
8003
  read_finish: (source: SelectionSource, result: Gio.AsyncResult) => Gio.InputStream
7950
8004
  }
7951
8005
 
package/meta-13.d.ts CHANGED
@@ -1467,7 +1467,7 @@ enum VirtualModifier {
1467
1467
  MOD5_MASK,
1468
1468
  }
1469
1469
  const CURRENT_TIME: number
1470
- const DEFAULT_ICON_NAME: string | null
1470
+ const DEFAULT_ICON_NAME: string
1471
1471
  const ICON_HEIGHT: number
1472
1472
  const ICON_WIDTH: number
1473
1473
  const MINI_ICON_HEIGHT: number
@@ -1499,7 +1499,7 @@ function clutter_init(): void
1499
1499
  * @param name Human readable name of display server or window manager
1500
1500
  * @returns A new context instance.
1501
1501
  */
1502
- function create_context(name: string | null): Context
1502
+ function create_context(name: string): Context
1503
1503
  /**
1504
1504
  * Disables unredirection, can be useful in situations where having
1505
1505
  * unredirected windows is undesirable like when recording a video.
@@ -1520,8 +1520,8 @@ function focus_stage_window(display: Display, timestamp: number): void
1520
1520
  * @param type a #MetaFrameType
1521
1521
  * @returns the string value
1522
1522
  */
1523
- function frame_type_to_string(type: FrameType): string | null
1524
- function g_utf8_strndup(src: string | null, n: number): string | null
1523
+ function frame_type_to_string(type: FrameType): string
1524
+ function g_utf8_strndup(src: string, n: number): string | null
1525
1525
  function get_clutter_debug_flags(): [ /* debug_flags */ Clutter.DebugFlag, /* draw_flags */ Clutter.DrawDebugFlag, /* pick_flags */ Clutter.PickDebugFlag ]
1526
1526
  function get_debug_paint_flags(): DebugPaintFlag
1527
1527
  function get_feedback_group_for_display(display: Display): Clutter.Actor
@@ -1530,7 +1530,7 @@ function get_stage_for_display(display: Display): Clutter.Actor
1530
1530
  function get_top_window_group_for_display(display: Display): Clutter.Actor
1531
1531
  function get_window_actors(display: Display): Clutter.Actor[]
1532
1532
  function get_window_group_for_display(display: Display): Clutter.Actor
1533
- function gravity_to_string(gravity: Gravity): string | null
1533
+ function gravity_to_string(gravity: Gravity): string
1534
1534
  /**
1535
1535
  * Returns %TRUE if this instance of Mutter comes from Mutter
1536
1536
  * restarting itself (for example to enable/disable stereo.)
@@ -1549,11 +1549,11 @@ function is_wayland_compositor(): boolean
1549
1549
  * @param handler The new handler function
1550
1550
  * @returns %TRUE if the binding known as @name was found, %FALSE otherwise.
1551
1551
  */
1552
- function keybindings_set_custom_handler(name: string | null, handler: KeyHandlerFunc | null): boolean
1552
+ function keybindings_set_custom_handler(name: string, handler: KeyHandlerFunc | null): boolean
1553
1553
  function pop_no_msg_prefix(): void
1554
- function preference_to_string(pref: Preference): string | null
1554
+ function preference_to_string(pref: Preference): string
1555
1555
  function prefs_bell_is_audible(): boolean
1556
- function prefs_change_workspace_name(i: number, name: string | null): void
1556
+ function prefs_change_workspace_name(i: number, name: string): void
1557
1557
  function prefs_get_action_double_click_titlebar(): GDesktopEnums.TitlebarAction
1558
1558
  function prefs_get_action_middle_click_titlebar(): GDesktopEnums.TitlebarAction
1559
1559
  function prefs_get_action_right_click_titlebar(): GDesktopEnums.TitlebarAction
@@ -1566,7 +1566,7 @@ function prefs_get_center_new_windows(): boolean
1566
1566
  function prefs_get_check_alive_timeout(): number
1567
1567
  function prefs_get_compositing_manager(): boolean
1568
1568
  function prefs_get_cursor_size(): number
1569
- function prefs_get_cursor_theme(): string | null
1569
+ function prefs_get_cursor_theme(): string
1570
1570
  function prefs_get_disable_workarounds(): boolean
1571
1571
  function prefs_get_drag_threshold(): number
1572
1572
  function prefs_get_draggable_border_width(): number
@@ -1578,8 +1578,8 @@ function prefs_get_focus_new_windows(): GDesktopEnums.FocusNewWindows
1578
1578
  function prefs_get_force_fullscreen(): boolean
1579
1579
  function prefs_get_gnome_accessibility(): boolean
1580
1580
  function prefs_get_gnome_animations(): boolean
1581
- function prefs_get_keybinding_action(name: string | null): KeyBindingAction
1582
- function prefs_get_keybinding_label(name: string | null): string | null
1581
+ function prefs_get_keybinding_action(name: string): KeyBindingAction
1582
+ function prefs_get_keybinding_label(name: string): string | null
1583
1583
  function prefs_get_mouse_button_menu(): number
1584
1584
  function prefs_get_mouse_button_mods(): Clutter.ModifierType
1585
1585
  function prefs_get_mouse_button_resize(): number
@@ -1588,7 +1588,7 @@ function prefs_get_raise_on_click(): boolean
1588
1588
  function prefs_get_show_fallback_app_menu(): boolean
1589
1589
  function prefs_get_visual_bell(): boolean
1590
1590
  function prefs_get_visual_bell_type(): GDesktopEnums.VisualBellType
1591
- function prefs_get_workspace_name(i: number): string | null
1591
+ function prefs_get_workspace_name(i: number): string
1592
1592
  function prefs_get_workspaces_only_on_primary(): boolean
1593
1593
  function prefs_set_force_fullscreen(whether: boolean): void
1594
1594
  function prefs_set_num_workspaces(n_workspaces: number): void
@@ -1623,7 +1623,7 @@ function remove_verbose_topic(topic: DebugTopic): void
1623
1623
  * @param context a #MetaContext
1624
1624
  */
1625
1625
  function restart(message: string | null, context: Context): void
1626
- function topic_to_string(topic: DebugTopic): string | null
1626
+ function topic_to_string(topic: DebugTopic): string
1627
1627
  function unsigned_long_equal(v1: any | null, v2: any | null): number
1628
1628
  function unsigned_long_hash(v: any | null): number
1629
1629
  function x11_error_trap_pop(x11_display: X11Display): void
@@ -1918,7 +1918,7 @@ interface Backend extends Gio.Initable {
1918
1918
  is_headless(): boolean
1919
1919
  is_rendering_hardware_accelerated(): boolean
1920
1920
  lock_layout_group(idx: number): void
1921
- set_keymap(layouts: string | null, variants: string | null, options: string | null): void
1921
+ set_keymap(layouts: string, variants: string, options: string): void
1922
1922
 
1923
1923
  // Own signals of Meta-13.Meta.Backend
1924
1924
 
@@ -2010,6 +2010,7 @@ module Background {
2010
2010
  // Own constructor properties of Meta-13.Meta.Background
2011
2011
 
2012
2012
  meta_display?: Display | null
2013
+ metaDisplay?: Display | null
2013
2014
  }
2014
2015
 
2015
2016
  }
@@ -2019,6 +2020,7 @@ interface Background {
2019
2020
  // Own properties of Meta-13.Meta.Background
2020
2021
 
2021
2022
  readonly meta_display: Display
2023
+ readonly metaDisplay: Display
2022
2024
 
2023
2025
  // Owm methods of Meta-13.Meta.Background
2024
2026
 
@@ -2082,6 +2084,7 @@ module BackgroundActor {
2082
2084
 
2083
2085
  meta_display?: Display | null
2084
2086
  monitor?: number | null
2087
+ metaDisplay?: Display | null
2085
2088
  }
2086
2089
 
2087
2090
  }
@@ -2091,6 +2094,7 @@ interface BackgroundActor extends Atk.ImplementorIface, Clutter.Animatable, Clut
2091
2094
  // Own properties of Meta-13.Meta.BackgroundActor
2092
2095
 
2093
2096
  readonly meta_display: Display
2097
+ readonly metaDisplay: Display
2094
2098
  readonly monitor: number
2095
2099
 
2096
2100
  // Class property signals of Meta-13.Meta.BackgroundActor
@@ -2386,6 +2390,11 @@ module BackgroundContent {
2386
2390
  rounded_clip_radius?: number | null
2387
2391
  vignette?: boolean | null
2388
2392
  vignette_sharpness?: number | null
2393
+ gradientHeight?: number | null
2394
+ gradientMaxDarkness?: number | null
2395
+ metaDisplay?: Display | null
2396
+ roundedClipRadius?: number | null
2397
+ vignetteSharpness?: number | null
2389
2398
  }
2390
2399
 
2391
2400
  }
@@ -2398,12 +2407,17 @@ interface BackgroundContent extends Clutter.Content {
2398
2407
  brightness: number
2399
2408
  gradient: boolean
2400
2409
  gradient_height: number
2410
+ gradientHeight: number
2401
2411
  gradient_max_darkness: number
2412
+ gradientMaxDarkness: number
2402
2413
  readonly meta_display: Display
2414
+ readonly metaDisplay: Display
2403
2415
  readonly monitor: number
2404
2416
  rounded_clip_radius: number
2417
+ roundedClipRadius: number
2405
2418
  vignette: boolean
2406
2419
  vignette_sharpness: number
2420
+ vignetteSharpness: number
2407
2421
 
2408
2422
  // Owm methods of Meta-13.Meta.BackgroundContent
2409
2423
 
@@ -3177,6 +3191,7 @@ module Context {
3177
3191
 
3178
3192
  name?: string | null
3179
3193
  unsafe_mode?: boolean | null
3194
+ unsafeMode?: boolean | null
3180
3195
  }
3181
3196
 
3182
3197
  }
@@ -3187,6 +3202,7 @@ interface Context {
3187
3202
 
3188
3203
  readonly name: string | null
3189
3204
  unsafe_mode: boolean
3205
+ unsafeMode: boolean
3190
3206
 
3191
3207
  // Own fields of Meta-13.Meta.Context
3192
3208
 
@@ -3228,9 +3244,9 @@ interface Context {
3228
3244
  */
3229
3245
  restore_rlimit_nofile(): boolean
3230
3246
  run_main_loop(): boolean
3231
- set_gnome_wm_keybindings(wm_keybindings: string | null): void
3247
+ set_gnome_wm_keybindings(wm_keybindings: string): void
3232
3248
  set_plugin_gtype(plugin_gtype: GObject.GType): void
3233
- set_plugin_name(plugin_name: string | null): void
3249
+ set_plugin_name(plugin_name: string): void
3234
3250
  setup(): boolean
3235
3251
  start(): boolean
3236
3252
  terminate(): void
@@ -3602,7 +3618,9 @@ interface Display {
3602
3618
  // Own properties of Meta-13.Meta.Display
3603
3619
 
3604
3620
  readonly compositor_modifiers: Clutter.ModifierType
3621
+ readonly compositorModifiers: Clutter.ModifierType
3605
3622
  readonly focus_window: Window
3623
+ readonly focusWindow: Window
3606
3624
 
3607
3625
  // Owm methods of Meta-13.Meta.Display
3608
3626
 
@@ -3622,7 +3640,7 @@ interface Display {
3622
3640
  * @param handler function to run when the keybinding is invoked
3623
3641
  * @returns the corresponding keybinding action if the keybinding was added successfully, otherwise %META_KEYBINDING_ACTION_NONE
3624
3642
  */
3625
- add_keybinding(name: string | null, settings: Gio.Settings, flags: KeyBindingFlags, handler: KeyHandlerFunc): number
3643
+ add_keybinding(name: string, settings: Gio.Settings, flags: KeyBindingFlags, handler: KeyHandlerFunc): number
3626
3644
  /**
3627
3645
  * Sets the mouse-mode flag to %FALSE, which means that motion events are
3628
3646
  * no longer ignored in mouse or sloppy focus.
@@ -3732,7 +3750,7 @@ interface Display {
3732
3750
  */
3733
3751
  get_tab_next(type: TabList, workspace: Workspace, window: Window | null, backward: boolean): Window
3734
3752
  get_workspace_manager(): WorkspaceManager
3735
- grab_accelerator(accelerator: string | null, flags: KeyBindingFlags): number
3753
+ grab_accelerator(accelerator: string, flags: KeyBindingFlags): number
3736
3754
  /**
3737
3755
  * Returns %TRUE if there is an ongoing grab operation.
3738
3756
  * @returns Whether there is an active display grab operation.
@@ -3757,7 +3775,7 @@ interface Display {
3757
3775
  * @param name name of the keybinding to remove
3758
3776
  * @returns %TRUE if the binding has been removed successfully, otherwise %FALSE
3759
3777
  */
3760
- remove_keybinding(name: string | null): boolean
3778
+ remove_keybinding(name: string): boolean
3761
3779
  request_pad_osd(pad: Clutter.InputDevice, edition_mode: boolean): void
3762
3780
  set_cursor(cursor: Cursor): void
3763
3781
  set_input_focus(window: Window, focus_frame: boolean, timestamp: number): void
@@ -4202,6 +4220,7 @@ module MonitorManager {
4202
4220
 
4203
4221
  backend?: Backend | null
4204
4222
  experimental_hdr?: string | null
4223
+ experimentalHdr?: string | null
4205
4224
  }
4206
4225
 
4207
4226
  }
@@ -4212,9 +4231,13 @@ interface MonitorManager {
4212
4231
 
4213
4232
  readonly backend: Backend
4214
4233
  experimental_hdr: string | null
4234
+ experimentalHdr: string | null
4215
4235
  readonly has_builtin_panel: boolean
4236
+ readonly hasBuiltinPanel: boolean
4216
4237
  readonly night_light_supported: boolean
4238
+ readonly nightLightSupported: boolean
4217
4239
  readonly panel_orientation_managed: boolean
4240
+ readonly panelOrientationManaged: boolean
4218
4241
 
4219
4242
  // Owm methods of Meta-13.Meta.MonitorManager
4220
4243
 
@@ -4224,7 +4247,7 @@ interface MonitorManager {
4224
4247
  * Returns whether the built-in display (i.e. a laptop panel) is turned on.
4225
4248
  */
4226
4249
  get_is_builtin_display_on(): boolean
4227
- get_monitor_for_connector(connector: string | null): number
4250
+ get_monitor_for_connector(connector: string): number
4228
4251
  get_panel_orientation_managed(): boolean
4229
4252
  get_switch_config(): MonitorSwitchConfigType
4230
4253
  switch_config(config_type: MonitorSwitchConfigType): void
@@ -4631,6 +4654,7 @@ module RemoteAccessHandle {
4631
4654
  // Own constructor properties of Meta-13.Meta.RemoteAccessHandle
4632
4655
 
4633
4656
  is_recording?: boolean | null
4657
+ isRecording?: boolean | null
4634
4658
  }
4635
4659
 
4636
4660
  }
@@ -4640,6 +4664,7 @@ interface RemoteAccessHandle {
4640
4664
  // Own properties of Meta-13.Meta.RemoteAccessHandle
4641
4665
 
4642
4666
  readonly is_recording: boolean
4667
+ readonly isRecording: boolean
4643
4668
 
4644
4669
  // Own fields of Meta-13.Meta.RemoteAccessHandle
4645
4670
 
@@ -4737,7 +4762,7 @@ interface Selection {
4737
4762
  * @param cancellable Cancellable
4738
4763
  * @param callback User callback
4739
4764
  */
4740
- transfer_async(selection_type: SelectionType, mimetype: string | null, size: number, output: Gio.OutputStream, cancellable: Gio.Cancellable | null, callback: Gio.AsyncReadyCallback<this> | null): void
4765
+ transfer_async(selection_type: SelectionType, mimetype: string, size: number, output: Gio.OutputStream, cancellable: Gio.Cancellable | null, callback: Gio.AsyncReadyCallback<this> | null): void
4741
4766
 
4742
4767
  // Overloads of transfer_async
4743
4768
 
@@ -4753,7 +4778,7 @@ interface Selection {
4753
4778
  * @param cancellable Cancellable
4754
4779
  * @returns A Promise of: #TRUE if the transfer was successful.
4755
4780
  */
4756
- transfer_async(selection_type: SelectionType, mimetype: string | null, size: number, output: Gio.OutputStream, cancellable: Gio.Cancellable | null): globalThis.Promise<boolean>
4781
+ transfer_async(selection_type: SelectionType, mimetype: string, size: number, output: Gio.OutputStream, cancellable: Gio.Cancellable | null): globalThis.Promise<boolean>
4757
4782
  /**
4758
4783
  * Finishes the transfer of a queried mimetype.
4759
4784
  * @param result The async result
@@ -4841,7 +4866,7 @@ interface SelectionSource {
4841
4866
  * @returns #TRUE if the source owns a selection.
4842
4867
  */
4843
4868
  is_active(): boolean
4844
- read_async(mimetype: string | null, cancellable: Gio.Cancellable | null, callback: Gio.AsyncReadyCallback<this> | null): void
4869
+ read_async(mimetype: string, cancellable: Gio.Cancellable | null, callback: Gio.AsyncReadyCallback<this> | null): void
4845
4870
 
4846
4871
  // Overloads of read_async
4847
4872
 
@@ -4853,7 +4878,7 @@ interface SelectionSource {
4853
4878
  * @param cancellable
4854
4879
  * @returns A Promise of: The resulting #GInputStream
4855
4880
  */
4856
- read_async(mimetype: string | null, cancellable: Gio.Cancellable | null): globalThis.Promise<Gio.InputStream>
4881
+ read_async(mimetype: string, cancellable: Gio.Cancellable | null): globalThis.Promise<Gio.InputStream>
4857
4882
  /**
4858
4883
  * Finishes a read from the selection source.
4859
4884
  * @param result The async result
@@ -4871,7 +4896,7 @@ interface SelectionSource {
4871
4896
  * @returns The supported mimetypes
4872
4897
  */
4873
4898
  vfunc_get_mimetypes(): string[]
4874
- vfunc_read_async(mimetype: string | null, cancellable: Gio.Cancellable | null, callback: Gio.AsyncReadyCallback<this> | null): void
4899
+ vfunc_read_async(mimetype: string, cancellable: Gio.Cancellable | null, callback: Gio.AsyncReadyCallback<this> | null): void
4875
4900
  /**
4876
4901
  * Finishes a read from the selection source.
4877
4902
  * @virtual
@@ -4939,8 +4964,8 @@ class SelectionSourceMemory extends SelectionSource {
4939
4964
  // Constructors of Meta-13.Meta.SelectionSourceMemory
4940
4965
 
4941
4966
  constructor(config?: SelectionSourceMemory.ConstructorProperties)
4942
- constructor(mimetype: string | null, content: GLib.Bytes)
4943
- static new(mimetype: string | null, content: GLib.Bytes): SelectionSourceMemory
4967
+ constructor(mimetype: string, content: GLib.Bytes)
4968
+ static new(mimetype: string, content: GLib.Bytes): SelectionSourceMemory
4944
4969
  _init(config?: SelectionSourceMemory.ConstructorProperties): void
4945
4970
  }
4946
4971
 
@@ -4975,7 +5000,7 @@ interface ShadowFactory {
4975
5000
  * @param class_name name of the class of shadow to get the params for
4976
5001
  * @param focused whether the shadow is for a focused window
4977
5002
  */
4978
- get_params(class_name: string | null, focused: boolean): /* params */ ShadowParams
5003
+ get_params(class_name: string, focused: boolean): /* params */ ShadowParams
4979
5004
  /**
4980
5005
  * Gets the appropriate shadow object for drawing shadows for the
4981
5006
  * specified window shape. The region that we are shadowing is specified
@@ -4989,7 +5014,7 @@ interface ShadowFactory {
4989
5014
  * @param focused whether the shadow is for a focused window
4990
5015
  * @returns a newly referenced #MetaShadow; unref with meta_shadow_unref()
4991
5016
  */
4992
- get_shadow(shape: WindowShape, width: number, height: number, class_name: string | null, focused: boolean): Shadow
5017
+ get_shadow(shape: WindowShape, width: number, height: number, class_name: string, focused: boolean): Shadow
4993
5018
  /**
4994
5019
  * Updates the shadow parameters for a particular class of shadows
4995
5020
  * for either the focused or unfocused state. If the class name
@@ -5000,7 +5025,7 @@ interface ShadowFactory {
5000
5025
  * @param focused whether the shadow is for a focused window
5001
5026
  * @param params new parameter values
5002
5027
  */
5003
- set_params(class_name: string | null, focused: boolean, params: ShadowParams): void
5028
+ set_params(class_name: string, focused: boolean, params: ShadowParams): void
5004
5029
 
5005
5030
  // Own signals of Meta-13.Meta.ShadowFactory
5006
5031
 
@@ -5129,14 +5154,14 @@ interface SoundPlayer {
5129
5154
  * @param description description of the played sound
5130
5155
  * @param cancellable cancellable for the request
5131
5156
  */
5132
- play_from_file(file: Gio.File, description: string | null, cancellable: Gio.Cancellable | null): void
5157
+ play_from_file(file: Gio.File, description: string, cancellable: Gio.Cancellable | null): void
5133
5158
  /**
5134
5159
  * Plays a sound from the sound theme.
5135
5160
  * @param name sound theme name of the event
5136
5161
  * @param description description of the event
5137
5162
  * @param cancellable cancellable for the request
5138
5163
  */
5139
- play_from_theme(name: string | null, description: string | null, cancellable: Gio.Cancellable | null): void
5164
+ play_from_theme(name: string, description: string, cancellable: Gio.Cancellable | null): void
5140
5165
 
5141
5166
  // Class property signals of Meta-13.Meta.SoundPlayer
5142
5167
 
@@ -5522,6 +5547,8 @@ module StartupSequence {
5522
5547
  timestamp?: number | null
5523
5548
  wmclass?: string | null
5524
5549
  workspace?: number | null
5550
+ applicationId?: string | null
5551
+ iconName?: string | null
5525
5552
  }
5526
5553
 
5527
5554
  }
@@ -5531,8 +5558,10 @@ interface StartupSequence {
5531
5558
  // Own properties of Meta-13.Meta.StartupSequence
5532
5559
 
5533
5560
  readonly application_id: string | null
5561
+ readonly applicationId: string | null
5534
5562
  readonly display: Display
5535
5563
  readonly icon_name: string | null
5564
+ readonly iconName: string | null
5536
5565
  readonly id: string | null
5537
5566
  readonly name: string | null
5538
5567
  readonly timestamp: number
@@ -5557,8 +5586,8 @@ interface StartupSequence {
5557
5586
  * @returns the icon name or %NULL.
5558
5587
  */
5559
5588
  get_icon_name(): string | null
5560
- get_id(): string | null
5561
- get_name(): string | null
5589
+ get_id(): string
5590
+ get_name(): string
5562
5591
  get_timestamp(): number
5563
5592
  /**
5564
5593
  * Get the wmclass of the startup sequence.
@@ -5846,32 +5875,50 @@ interface Window extends Gio.Initable {
5846
5875
 
5847
5876
  readonly above: boolean
5848
5877
  readonly appears_focused: boolean
5878
+ readonly appearsFocused: boolean
5849
5879
  readonly decorated: boolean
5850
5880
  readonly demands_attention: boolean
5881
+ readonly demandsAttention: boolean
5851
5882
  readonly display: Display
5852
5883
  readonly effect: number
5853
5884
  readonly fullscreen: boolean
5854
5885
  readonly gtk_app_menu_object_path: string | null
5886
+ readonly gtkAppMenuObjectPath: string | null
5855
5887
  readonly gtk_application_id: string | null
5888
+ readonly gtkApplicationId: string | null
5856
5889
  readonly gtk_application_object_path: string | null
5890
+ readonly gtkApplicationObjectPath: string | null
5857
5891
  readonly gtk_menubar_object_path: string | null
5892
+ readonly gtkMenubarObjectPath: string | null
5858
5893
  readonly gtk_unique_bus_name: string | null
5894
+ readonly gtkUniqueBusName: string | null
5859
5895
  readonly gtk_window_object_path: string | null
5896
+ readonly gtkWindowObjectPath: string | null
5860
5897
  readonly icon: any
5861
5898
  readonly is_alive: boolean
5899
+ readonly isAlive: boolean
5862
5900
  readonly maximized_horizontally: boolean
5901
+ readonly maximizedHorizontally: boolean
5863
5902
  readonly maximized_vertically: boolean
5903
+ readonly maximizedVertically: boolean
5864
5904
  readonly mini_icon: any
5905
+ readonly miniIcon: any
5865
5906
  readonly minimized: boolean
5866
5907
  readonly mutter_hints: string | null
5908
+ readonly mutterHints: string | null
5867
5909
  readonly on_all_workspaces: boolean
5910
+ readonly onAllWorkspaces: boolean
5868
5911
  readonly resizeable: boolean
5869
5912
  readonly skip_taskbar: boolean
5913
+ readonly skipTaskbar: boolean
5870
5914
  readonly title: string | null
5871
5915
  readonly urgent: boolean
5872
5916
  readonly user_time: number
5917
+ readonly userTime: number
5873
5918
  readonly window_type: WindowType
5919
+ readonly windowType: WindowType
5874
5920
  readonly wm_class: string | null
5921
+ readonly wmClass: string | null
5875
5922
  readonly xwindow: number
5876
5923
 
5877
5924
  // Owm methods of Meta-13.Meta.Window
@@ -5949,7 +5996,7 @@ interface Window extends Gio.Initable {
5949
5996
  * @returns the wrapper object.
5950
5997
  */
5951
5998
  get_compositor_private(): GObject.Object
5952
- get_description(): string | null
5999
+ get_description(): string
5953
6000
  get_display(): Display
5954
6001
  /**
5955
6002
  * Gets a region representing the outer bounds of the window's frame.
@@ -6024,7 +6071,7 @@ interface Window extends Gio.Initable {
6024
6071
  * @returns the pid, or 0 if not known.
6025
6072
  */
6026
6073
  get_pid(): number
6027
- get_role(): string | null
6074
+ get_role(): string
6028
6075
  /**
6029
6076
  * Gets an unique id for a sandboxed app (currently flatpaks and snaps are
6030
6077
  * supported).
@@ -6057,7 +6104,7 @@ interface Window extends Gio.Initable {
6057
6104
  * @returns the matching tiled window or %NULL if it doesn't exist.
6058
6105
  */
6059
6106
  get_tile_match(): Window | null
6060
- get_title(): string | null
6107
+ get_title(): string
6061
6108
  /**
6062
6109
  * Returns the #MetaWindow for the window that is pointed to by the
6063
6110
  * WM_TRANSIENT_FOR hint on this window (see XGetTransientForHint()
@@ -6433,6 +6480,7 @@ module WindowActor {
6433
6480
  // Own constructor properties of Meta-13.Meta.WindowActor
6434
6481
 
6435
6482
  meta_window?: Window | null
6483
+ metaWindow?: Window | null
6436
6484
  }
6437
6485
 
6438
6486
  }
@@ -6442,6 +6490,7 @@ interface WindowActor extends Atk.ImplementorIface, Clutter.Animatable, Clutter.
6442
6490
  // Own properties of Meta-13.Meta.WindowActor
6443
6491
 
6444
6492
  readonly meta_window: Window
6493
+ readonly metaWindow: Window
6445
6494
 
6446
6495
  // Own fields of Meta-13.Meta.WindowActor
6447
6496
 
@@ -7032,7 +7081,9 @@ interface Workspace {
7032
7081
 
7033
7082
  readonly active: boolean
7034
7083
  readonly n_windows: number
7084
+ readonly nWindows: number
7035
7085
  readonly workspace_index: number
7086
+ readonly workspaceIndex: number
7036
7087
 
7037
7088
  // Owm methods of Meta-13.Meta.Workspace
7038
7089
 
@@ -7200,8 +7251,11 @@ interface WorkspaceManager {
7200
7251
  // Own properties of Meta-13.Meta.WorkspaceManager
7201
7252
 
7202
7253
  readonly layout_columns: number
7254
+ readonly layoutColumns: number
7203
7255
  readonly layout_rows: number
7256
+ readonly layoutRows: number
7204
7257
  readonly n_workspaces: number
7258
+ readonly nWorkspaces: number
7205
7259
 
7206
7260
  // Owm methods of Meta-13.Meta.WorkspaceManager
7207
7261
 
@@ -7710,7 +7764,7 @@ interface Group {
7710
7764
  // Owm methods of Meta-13.Meta.Group
7711
7765
 
7712
7766
  get_size(): number
7713
- get_startup_id(): string | null
7767
+ get_startup_id(): string
7714
7768
  list_windows(): Window[]
7715
7769
  update_layers(): void
7716
7770
  }
@@ -7762,7 +7816,7 @@ interface KeyBinding {
7762
7816
 
7763
7817
  get_mask(): number
7764
7818
  get_modifiers(): Clutter.ModifierType
7765
- get_name(): string | null
7819
+ get_name(): string
7766
7820
  is_builtin(): boolean
7767
7821
  is_reversed(): boolean
7768
7822
  }
@@ -7866,27 +7920,27 @@ interface PluginInfo {
7866
7920
  * name of the plugin
7867
7921
  * @field
7868
7922
  */
7869
- name: string | null
7923
+ name: string
7870
7924
  /**
7871
7925
  * version of the plugin
7872
7926
  * @field
7873
7927
  */
7874
- version: string | null
7928
+ version: string
7875
7929
  /**
7876
7930
  * author of the plugin
7877
7931
  * @field
7878
7932
  */
7879
- author: string | null
7933
+ author: string
7880
7934
  /**
7881
7935
  * license of the plugin
7882
7936
  * @field
7883
7937
  */
7884
- license: string | null
7938
+ license: string
7885
7939
  /**
7886
7940
  * description of the plugin
7887
7941
  * @field
7888
7942
  */
7889
- description: string | null
7943
+ description: string
7890
7944
  }
7891
7945
 
7892
7946
  class PluginInfo {
@@ -7947,7 +8001,7 @@ interface SelectionSourceClass {
7947
8001
  activated: (source: SelectionSource) => void
7948
8002
  deactivated: (source: SelectionSource) => void
7949
8003
  get_mimetypes: (source: SelectionSource) => string[]
7950
- read_async: (source: SelectionSource, mimetype: string | null, cancellable: Gio.Cancellable | null, callback: Gio.AsyncReadyCallback | null) => void
8004
+ read_async: (source: SelectionSource, mimetype: string, cancellable: Gio.Cancellable | null, callback: Gio.AsyncReadyCallback | null) => void
7951
8005
  read_finish: (source: SelectionSource, result: Gio.AsyncResult) => Gio.InputStream
7952
8006
  }
7953
8007
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@girs/meta-13",
3
- "version": "13.0.0-3.2.5",
3
+ "version": "13.0.0-3.2.7",
4
4
  "description": "GJS TypeScript type definitions for Meta-13, generated from library version 13.0.0",
5
5
  "type": "module",
6
6
  "module": "meta-13.js",
@@ -25,26 +25,26 @@
25
25
  "test:cjs": "NODE_OPTIONS=--max_old_space_size=9216 tsc --noEmit meta-13.d.cts"
26
26
  },
27
27
  "dependencies": {
28
- "@girs/atk-1.0": "^2.50.0-3.2.5",
29
- "@girs/cairo-1.0": "^1.0.0-3.2.5",
30
- "@girs/clutter-13": "^13.0.0-3.2.5",
31
- "@girs/cogl-13": "^13.0.0-3.2.5",
32
- "@girs/coglpango-13": "^13.0.0-3.2.5",
33
- "@girs/freetype2-2.0": "^2.0.0-3.2.5",
34
- "@girs/gdesktopenums-3.0": "^3.0.0-3.2.5",
35
- "@girs/gio-2.0": "^2.78.0-3.2.5",
36
- "@girs/gjs": "^3.2.5",
37
- "@girs/gl-1.0": "^1.0.0-3.2.5",
38
- "@girs/glib-2.0": "^2.78.0-3.2.5",
39
- "@girs/gobject-2.0": "^2.78.0-3.2.5",
40
- "@girs/graphene-1.0": "^1.0.0-3.2.5",
41
- "@girs/harfbuzz-0.0": "^8.2.1-3.2.5",
42
- "@girs/json-1.0": "^1.7.1-3.2.5",
43
- "@girs/mtk-13": "^13.0.0-3.2.5",
44
- "@girs/pango-1.0": "^1.51.0-3.2.5",
45
- "@girs/pangocairo-1.0": "^1.0.0-3.2.5",
46
- "@girs/xfixes-4.0": "^4.0.0-3.2.5",
47
- "@girs/xlib-2.0": "^2.0.0-3.2.5"
28
+ "@girs/atk-1.0": "^2.50.0-3.2.7",
29
+ "@girs/cairo-1.0": "^1.0.0-3.2.7",
30
+ "@girs/clutter-13": "^13.0.0-3.2.7",
31
+ "@girs/cogl-13": "^13.0.0-3.2.7",
32
+ "@girs/coglpango-13": "^13.0.0-3.2.7",
33
+ "@girs/freetype2-2.0": "^2.0.0-3.2.7",
34
+ "@girs/gdesktopenums-3.0": "^3.0.0-3.2.7",
35
+ "@girs/gio-2.0": "^2.78.0-3.2.7",
36
+ "@girs/gjs": "^3.2.7",
37
+ "@girs/gl-1.0": "^1.0.0-3.2.7",
38
+ "@girs/glib-2.0": "^2.78.0-3.2.7",
39
+ "@girs/gobject-2.0": "^2.78.0-3.2.7",
40
+ "@girs/graphene-1.0": "^1.0.0-3.2.7",
41
+ "@girs/harfbuzz-0.0": "^8.2.1-3.2.7",
42
+ "@girs/json-1.0": "^1.7.1-3.2.7",
43
+ "@girs/mtk-13": "^13.0.0-3.2.7",
44
+ "@girs/pango-1.0": "^1.51.0-3.2.7",
45
+ "@girs/pangocairo-1.0": "^1.0.0-3.2.7",
46
+ "@girs/xfixes-4.0": "^4.0.0-3.2.7",
47
+ "@girs/xlib-2.0": "^2.0.0-3.2.7"
48
48
  },
49
49
  "devDependencies": {
50
50
  "typescript": "*"