@girs/meta-12 12.0.0-3.2.5 → 12.0.0-3.2.7

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/README.md CHANGED
@@ -5,7 +5,7 @@
5
5
  ![downloads/week](https://img.shields.io/npm/dw/@girs/meta-12)
6
6
 
7
7
 
8
- GJS TypeScript type definitions for Meta-12, generated from library version 12.0.0 using [ts-for-gir](https://github.com/gjsify/ts-for-gir) v3.2.5.
8
+ GJS TypeScript type definitions for Meta-12, generated from library version 12.0.0 using [ts-for-gir](https://github.com/gjsify/ts-for-gir) v3.2.7.
9
9
 
10
10
 
11
11
  ## Install
package/meta-12.d.cts CHANGED
@@ -1474,7 +1474,7 @@ export enum VirtualModifier {
1474
1474
  MOD5_MASK,
1475
1475
  }
1476
1476
  export const CURRENT_TIME: number
1477
- export const DEFAULT_ICON_NAME: string | null
1477
+ export const DEFAULT_ICON_NAME: string
1478
1478
  export const ICON_HEIGHT: number
1479
1479
  export const ICON_WIDTH: number
1480
1480
  export const MINI_ICON_HEIGHT: number
@@ -1506,7 +1506,7 @@ export function clutter_init(): void
1506
1506
  * @param name Human readable name of display server or window manager
1507
1507
  * @returns A new context instance.
1508
1508
  */
1509
- export function create_context(name: string | null): Context
1509
+ export function create_context(name: string): Context
1510
1510
  /**
1511
1511
  * Disables unredirection, can be useful in situations where having
1512
1512
  * unredirected windows is undesirable like when recording a video.
@@ -1527,8 +1527,8 @@ export function focus_stage_window(display: Display, timestamp: number): void
1527
1527
  * @param type a #MetaFrameType
1528
1528
  * @returns the string value
1529
1529
  */
1530
- export function frame_type_to_string(type: FrameType): string | null
1531
- export function g_utf8_strndup(src: string | null, n: number): string | null
1530
+ export function frame_type_to_string(type: FrameType): string
1531
+ export function g_utf8_strndup(src: string, n: number): string | null
1532
1532
  export function get_clutter_debug_flags(): [ /* debug_flags */ Clutter.DebugFlag, /* draw_flags */ Clutter.DrawDebugFlag, /* pick_flags */ Clutter.PickDebugFlag ]
1533
1533
  export function get_debug_paint_flags(): DebugPaintFlag
1534
1534
  export function get_feedback_group_for_display(display: Display): Clutter.Actor
@@ -1537,7 +1537,7 @@ export function get_stage_for_display(display: Display): Clutter.Actor
1537
1537
  export function get_top_window_group_for_display(display: Display): Clutter.Actor
1538
1538
  export function get_window_actors(display: Display): Clutter.Actor[]
1539
1539
  export function get_window_group_for_display(display: Display): Clutter.Actor
1540
- export function gravity_to_string(gravity: Gravity): string | null
1540
+ export function gravity_to_string(gravity: Gravity): string
1541
1541
  /**
1542
1542
  * Returns %TRUE if this instance of Mutter comes from Mutter
1543
1543
  * restarting itself (for example to enable/disable stereo.)
@@ -1555,11 +1555,11 @@ export function is_wayland_compositor(): boolean
1555
1555
  * @param handler The new handler function
1556
1556
  * @returns %TRUE if the binding known as @name was found, %FALSE otherwise.
1557
1557
  */
1558
- export function keybindings_set_custom_handler(name: string | null, handler: KeyHandlerFunc | null): boolean
1558
+ export function keybindings_set_custom_handler(name: string, handler: KeyHandlerFunc | null): boolean
1559
1559
  export function pop_no_msg_prefix(): void
1560
- export function preference_to_string(pref: Preference): string | null
1560
+ export function preference_to_string(pref: Preference): string
1561
1561
  export function prefs_bell_is_audible(): boolean
1562
- export function prefs_change_workspace_name(i: number, name: string | null): void
1562
+ export function prefs_change_workspace_name(i: number, name: string): void
1563
1563
  export function prefs_get_action_double_click_titlebar(): GDesktopEnums.TitlebarAction
1564
1564
  export function prefs_get_action_middle_click_titlebar(): GDesktopEnums.TitlebarAction
1565
1565
  export function prefs_get_action_right_click_titlebar(): GDesktopEnums.TitlebarAction
@@ -1572,7 +1572,7 @@ export function prefs_get_center_new_windows(): boolean
1572
1572
  export function prefs_get_check_alive_timeout(): number
1573
1573
  export function prefs_get_compositing_manager(): boolean
1574
1574
  export function prefs_get_cursor_size(): number
1575
- export function prefs_get_cursor_theme(): string | null
1575
+ export function prefs_get_cursor_theme(): string
1576
1576
  export function prefs_get_disable_workarounds(): boolean
1577
1577
  export function prefs_get_drag_threshold(): number
1578
1578
  export function prefs_get_draggable_border_width(): number
@@ -1584,8 +1584,8 @@ export function prefs_get_focus_new_windows(): GDesktopEnums.FocusNewWindows
1584
1584
  export function prefs_get_force_fullscreen(): boolean
1585
1585
  export function prefs_get_gnome_accessibility(): boolean
1586
1586
  export function prefs_get_gnome_animations(): boolean
1587
- export function prefs_get_keybinding_action(name: string | null): KeyBindingAction
1588
- export function prefs_get_keybinding_label(name: string | null): string | null
1587
+ export function prefs_get_keybinding_action(name: string): KeyBindingAction
1588
+ export function prefs_get_keybinding_label(name: string): string | null
1589
1589
  export function prefs_get_mouse_button_menu(): number
1590
1590
  export function prefs_get_mouse_button_mods(): Clutter.ModifierType
1591
1591
  export function prefs_get_mouse_button_resize(): number
@@ -1595,7 +1595,7 @@ export function prefs_get_show_fallback_app_menu(): boolean
1595
1595
  export function prefs_get_titlebar_font(): Pango.FontDescription
1596
1596
  export function prefs_get_visual_bell(): boolean
1597
1597
  export function prefs_get_visual_bell_type(): GDesktopEnums.VisualBellType
1598
- export function prefs_get_workspace_name(i: number): string | null
1598
+ export function prefs_get_workspace_name(i: number): string
1599
1599
  export function prefs_get_workspaces_only_on_primary(): boolean
1600
1600
  export function prefs_set_force_fullscreen(whether: boolean): void
1601
1601
  export function prefs_set_num_workspaces(n_workspaces: number): void
@@ -1625,7 +1625,7 @@ export function remove_verbose_topic(topic: DebugTopic): void
1625
1625
  * @param context a #MetaContext
1626
1626
  */
1627
1627
  export function restart(message: string | null, context: Context): void
1628
- export function topic_to_string(topic: DebugTopic): string | null
1628
+ export function topic_to_string(topic: DebugTopic): string
1629
1629
  export function unsigned_long_equal(v1: any | null, v2: any | null): number
1630
1630
  export function unsigned_long_hash(v: any | null): number
1631
1631
  export function x11_error_trap_pop(x11_display: X11Display): void
@@ -1920,7 +1920,7 @@ export interface Backend extends Gio.Initable {
1920
1920
  is_headless(): boolean
1921
1921
  is_rendering_hardware_accelerated(): boolean
1922
1922
  lock_layout_group(idx: number): void
1923
- set_keymap(layouts: string | null, variants: string | null, options: string | null): void
1923
+ set_keymap(layouts: string, variants: string, options: string): void
1924
1924
 
1925
1925
  // Own signals of Meta-12.Meta.Backend
1926
1926
 
@@ -1989,6 +1989,7 @@ export module Background {
1989
1989
  // Own constructor properties of Meta-12.Meta.Background
1990
1990
 
1991
1991
  meta_display?: Display | null
1992
+ metaDisplay?: Display | null
1992
1993
  }
1993
1994
 
1994
1995
  }
@@ -1998,6 +1999,7 @@ export interface Background {
1998
1999
  // Own properties of Meta-12.Meta.Background
1999
2000
 
2000
2001
  readonly meta_display: Display
2002
+ readonly metaDisplay: Display
2001
2003
 
2002
2004
  // Owm methods of Meta-12.Meta.Background
2003
2005
 
@@ -2060,6 +2062,7 @@ export module BackgroundActor {
2060
2062
 
2061
2063
  meta_display?: Display | null
2062
2064
  monitor?: number | null
2065
+ metaDisplay?: Display | null
2063
2066
  }
2064
2067
 
2065
2068
  }
@@ -2069,6 +2072,7 @@ export interface BackgroundActor extends Atk.ImplementorIface, Clutter.Animatabl
2069
2072
  // Own properties of Meta-12.Meta.BackgroundActor
2070
2073
 
2071
2074
  readonly meta_display: Display
2075
+ readonly metaDisplay: Display
2072
2076
  readonly monitor: number
2073
2077
 
2074
2078
  // Class property signals of Meta-12.Meta.BackgroundActor
@@ -2363,6 +2367,11 @@ export module BackgroundContent {
2363
2367
  rounded_clip_radius?: number | null
2364
2368
  vignette?: boolean | null
2365
2369
  vignette_sharpness?: number | null
2370
+ gradientHeight?: number | null
2371
+ gradientMaxDarkness?: number | null
2372
+ metaDisplay?: Display | null
2373
+ roundedClipRadius?: number | null
2374
+ vignetteSharpness?: number | null
2366
2375
  }
2367
2376
 
2368
2377
  }
@@ -2375,12 +2384,17 @@ export interface BackgroundContent extends Clutter.Content {
2375
2384
  brightness: number
2376
2385
  gradient: boolean
2377
2386
  gradient_height: number
2387
+ gradientHeight: number
2378
2388
  gradient_max_darkness: number
2389
+ gradientMaxDarkness: number
2379
2390
  readonly meta_display: Display
2391
+ readonly metaDisplay: Display
2380
2392
  readonly monitor: number
2381
2393
  rounded_clip_radius: number
2394
+ roundedClipRadius: number
2382
2395
  vignette: boolean
2383
2396
  vignette_sharpness: number
2397
+ vignetteSharpness: number
2384
2398
 
2385
2399
  // Owm methods of Meta-12.Meta.BackgroundContent
2386
2400
 
@@ -3038,6 +3052,7 @@ export module Context {
3038
3052
 
3039
3053
  name?: string | null
3040
3054
  unsafe_mode?: boolean | null
3055
+ unsafeMode?: boolean | null
3041
3056
  }
3042
3057
 
3043
3058
  }
@@ -3048,6 +3063,7 @@ export interface Context {
3048
3063
 
3049
3064
  readonly name: string | null
3050
3065
  unsafe_mode: boolean
3066
+ unsafeMode: boolean
3051
3067
 
3052
3068
  // Own fields of Meta-12.Meta.Context
3053
3069
 
@@ -3082,9 +3098,9 @@ export interface Context {
3082
3098
  */
3083
3099
  restore_rlimit_nofile(): boolean
3084
3100
  run_main_loop(): boolean
3085
- set_gnome_wm_keybindings(wm_keybindings: string | null): void
3101
+ set_gnome_wm_keybindings(wm_keybindings: string): void
3086
3102
  set_plugin_gtype(plugin_gtype: GObject.GType): void
3087
- set_plugin_name(plugin_name: string | null): void
3103
+ set_plugin_name(plugin_name: string): void
3088
3104
  setup(): boolean
3089
3105
  start(): boolean
3090
3106
  terminate(): void
@@ -3451,7 +3467,9 @@ export interface Display {
3451
3467
  // Own properties of Meta-12.Meta.Display
3452
3468
 
3453
3469
  readonly compositor_modifiers: Clutter.ModifierType
3470
+ readonly compositorModifiers: Clutter.ModifierType
3454
3471
  readonly focus_window: Window
3472
+ readonly focusWindow: Window
3455
3473
 
3456
3474
  // Owm methods of Meta-12.Meta.Display
3457
3475
 
@@ -3471,7 +3489,7 @@ export interface Display {
3471
3489
  * @param handler function to run when the keybinding is invoked
3472
3490
  * @returns the corresponding keybinding action if the keybinding was added successfully, otherwise %META_KEYBINDING_ACTION_NONE
3473
3491
  */
3474
- add_keybinding(name: string | null, settings: Gio.Settings, flags: KeyBindingFlags, handler: KeyHandlerFunc): number
3492
+ add_keybinding(name: string, settings: Gio.Settings, flags: KeyBindingFlags, handler: KeyHandlerFunc): number
3475
3493
  /**
3476
3494
  * Sets the mouse-mode flag to %FALSE, which means that motion events are
3477
3495
  * no longer ignored in mouse or sloppy focus.
@@ -3580,7 +3598,7 @@ export interface Display {
3580
3598
  */
3581
3599
  get_tab_next(type: TabList, workspace: Workspace, window: Window | null, backward: boolean): Window
3582
3600
  get_workspace_manager(): WorkspaceManager
3583
- grab_accelerator(accelerator: string | null, flags: KeyBindingFlags): number
3601
+ grab_accelerator(accelerator: string, flags: KeyBindingFlags): number
3584
3602
  /**
3585
3603
  * Returns %TRUE if there is an ongoing grab operation.
3586
3604
  * @returns Whether there is an active display grab operation.
@@ -3605,7 +3623,7 @@ export interface Display {
3605
3623
  * @param name name of the keybinding to remove
3606
3624
  * @returns %TRUE if the binding has been removed successfully, otherwise %FALSE
3607
3625
  */
3608
- remove_keybinding(name: string | null): boolean
3626
+ remove_keybinding(name: string): boolean
3609
3627
  request_pad_osd(pad: Clutter.InputDevice, edition_mode: boolean): void
3610
3628
  set_cursor(cursor: Cursor): void
3611
3629
  set_input_focus(window: Window, focus_frame: boolean, timestamp: number): void
@@ -4040,6 +4058,7 @@ export module MonitorManager {
4040
4058
 
4041
4059
  backend?: Backend | null
4042
4060
  experimental_hdr?: string | null
4061
+ experimentalHdr?: string | null
4043
4062
  }
4044
4063
 
4045
4064
  }
@@ -4050,9 +4069,13 @@ export interface MonitorManager {
4050
4069
 
4051
4070
  readonly backend: Backend
4052
4071
  experimental_hdr: string | null
4072
+ experimentalHdr: string | null
4053
4073
  readonly has_builtin_panel: boolean
4074
+ readonly hasBuiltinPanel: boolean
4054
4075
  readonly night_light_supported: boolean
4076
+ readonly nightLightSupported: boolean
4055
4077
  readonly panel_orientation_managed: boolean
4078
+ readonly panelOrientationManaged: boolean
4056
4079
 
4057
4080
  // Owm methods of Meta-12.Meta.MonitorManager
4058
4081
 
@@ -4062,7 +4085,7 @@ export interface MonitorManager {
4062
4085
  * Returns whether the built-in display (i.e. a laptop panel) is turned on.
4063
4086
  */
4064
4087
  get_is_builtin_display_on(): boolean
4065
- get_monitor_for_connector(connector: string | null): number
4088
+ get_monitor_for_connector(connector: string): number
4066
4089
  get_panel_orientation_managed(): boolean
4067
4090
  get_switch_config(): MonitorSwitchConfigType
4068
4091
  switch_config(config_type: MonitorSwitchConfigType): void
@@ -4344,6 +4367,7 @@ export module RemoteAccessHandle {
4344
4367
  // Own constructor properties of Meta-12.Meta.RemoteAccessHandle
4345
4368
 
4346
4369
  is_recording?: boolean | null
4370
+ isRecording?: boolean | null
4347
4371
  }
4348
4372
 
4349
4373
  }
@@ -4353,6 +4377,7 @@ export interface RemoteAccessHandle {
4353
4377
  // Own properties of Meta-12.Meta.RemoteAccessHandle
4354
4378
 
4355
4379
  readonly is_recording: boolean
4380
+ readonly isRecording: boolean
4356
4381
 
4357
4382
  // Own fields of Meta-12.Meta.RemoteAccessHandle
4358
4383
 
@@ -4450,7 +4475,7 @@ export interface Selection {
4450
4475
  * @param cancellable Cancellable
4451
4476
  * @param callback User callback
4452
4477
  */
4453
- transfer_async(selection_type: SelectionType, mimetype: string | null, size: number, output: Gio.OutputStream, cancellable: Gio.Cancellable | null, callback: Gio.AsyncReadyCallback<this> | null): void
4478
+ transfer_async(selection_type: SelectionType, mimetype: string, size: number, output: Gio.OutputStream, cancellable: Gio.Cancellable | null, callback: Gio.AsyncReadyCallback<this> | null): void
4454
4479
 
4455
4480
  // Overloads of transfer_async
4456
4481
 
@@ -4466,7 +4491,7 @@ export interface Selection {
4466
4491
  * @param cancellable Cancellable
4467
4492
  * @returns A Promise of: #TRUE if the transfer was successful.
4468
4493
  */
4469
- transfer_async(selection_type: SelectionType, mimetype: string | null, size: number, output: Gio.OutputStream, cancellable: Gio.Cancellable | null): globalThis.Promise<boolean>
4494
+ transfer_async(selection_type: SelectionType, mimetype: string, size: number, output: Gio.OutputStream, cancellable: Gio.Cancellable | null): globalThis.Promise<boolean>
4470
4495
  /**
4471
4496
  * Finishes the transfer of a queried mimetype.
4472
4497
  * @param result The async result
@@ -4554,7 +4579,7 @@ export interface SelectionSource {
4554
4579
  * @returns #TRUE if the source owns a selection.
4555
4580
  */
4556
4581
  is_active(): boolean
4557
- read_async(mimetype: string | null, cancellable: Gio.Cancellable | null, callback: Gio.AsyncReadyCallback<this> | null): void
4582
+ read_async(mimetype: string, cancellable: Gio.Cancellable | null, callback: Gio.AsyncReadyCallback<this> | null): void
4558
4583
 
4559
4584
  // Overloads of read_async
4560
4585
 
@@ -4566,7 +4591,7 @@ export interface SelectionSource {
4566
4591
  * @param cancellable
4567
4592
  * @returns A Promise of: The resulting #GInputStream
4568
4593
  */
4569
- read_async(mimetype: string | null, cancellable: Gio.Cancellable | null): globalThis.Promise<Gio.InputStream>
4594
+ read_async(mimetype: string, cancellable: Gio.Cancellable | null): globalThis.Promise<Gio.InputStream>
4570
4595
  /**
4571
4596
  * Finishes a read from the selection source.
4572
4597
  * @param result The async result
@@ -4584,7 +4609,7 @@ export interface SelectionSource {
4584
4609
  * @returns The supported mimetypes
4585
4610
  */
4586
4611
  vfunc_get_mimetypes(): string[]
4587
- vfunc_read_async(mimetype: string | null, cancellable: Gio.Cancellable | null, callback: Gio.AsyncReadyCallback<this> | null): void
4612
+ vfunc_read_async(mimetype: string, cancellable: Gio.Cancellable | null, callback: Gio.AsyncReadyCallback<this> | null): void
4588
4613
  /**
4589
4614
  * Finishes a read from the selection source.
4590
4615
  * @virtual
@@ -4652,8 +4677,8 @@ export class SelectionSourceMemory extends SelectionSource {
4652
4677
  // Constructors of Meta-12.Meta.SelectionSourceMemory
4653
4678
 
4654
4679
  constructor(config?: SelectionSourceMemory.ConstructorProperties)
4655
- constructor(mimetype: string | null, content: GLib.Bytes)
4656
- static new(mimetype: string | null, content: GLib.Bytes): SelectionSourceMemory
4680
+ constructor(mimetype: string, content: GLib.Bytes)
4681
+ static new(mimetype: string, content: GLib.Bytes): SelectionSourceMemory
4657
4682
  _init(config?: SelectionSourceMemory.ConstructorProperties): void
4658
4683
  }
4659
4684
 
@@ -4688,7 +4713,7 @@ export interface ShadowFactory {
4688
4713
  * @param class_name name of the class of shadow to get the params for
4689
4714
  * @param focused whether the shadow is for a focused window
4690
4715
  */
4691
- get_params(class_name: string | null, focused: boolean): /* params */ ShadowParams
4716
+ get_params(class_name: string, focused: boolean): /* params */ ShadowParams
4692
4717
  /**
4693
4718
  * Gets the appropriate shadow object for drawing shadows for the
4694
4719
  * specified window shape. The region that we are shadowing is specified
@@ -4702,7 +4727,7 @@ export interface ShadowFactory {
4702
4727
  * @param focused whether the shadow is for a focused window
4703
4728
  * @returns a newly referenced #MetaShadow; unref with meta_shadow_unref()
4704
4729
  */
4705
- get_shadow(shape: WindowShape, width: number, height: number, class_name: string | null, focused: boolean): Shadow
4730
+ get_shadow(shape: WindowShape, width: number, height: number, class_name: string, focused: boolean): Shadow
4706
4731
  /**
4707
4732
  * Updates the shadow parameters for a particular class of shadows
4708
4733
  * for either the focused or unfocused state. If the class name
@@ -4713,7 +4738,7 @@ export interface ShadowFactory {
4713
4738
  * @param focused whether the shadow is for a focused window
4714
4739
  * @param params new parameter values
4715
4740
  */
4716
- set_params(class_name: string | null, focused: boolean, params: ShadowParams): void
4741
+ set_params(class_name: string, focused: boolean, params: ShadowParams): void
4717
4742
 
4718
4743
  // Own signals of Meta-12.Meta.ShadowFactory
4719
4744
 
@@ -4832,14 +4857,14 @@ export interface SoundPlayer {
4832
4857
  * @param description description of the played sound
4833
4858
  * @param cancellable cancellable for the request
4834
4859
  */
4835
- play_from_file(file: Gio.File, description: string | null, cancellable: Gio.Cancellable | null): void
4860
+ play_from_file(file: Gio.File, description: string, cancellable: Gio.Cancellable | null): void
4836
4861
  /**
4837
4862
  * Plays a sound from the sound theme.
4838
4863
  * @param name sound theme name of the event
4839
4864
  * @param description description of the event
4840
4865
  * @param cancellable cancellable for the request
4841
4866
  */
4842
- play_from_theme(name: string | null, description: string | null, cancellable: Gio.Cancellable | null): void
4867
+ play_from_theme(name: string, description: string, cancellable: Gio.Cancellable | null): void
4843
4868
 
4844
4869
  // Class property signals of Meta-12.Meta.SoundPlayer
4845
4870
 
@@ -5238,6 +5263,8 @@ export module StartupSequence {
5238
5263
  timestamp?: number | null
5239
5264
  wmclass?: string | null
5240
5265
  workspace?: number | null
5266
+ applicationId?: string | null
5267
+ iconName?: string | null
5241
5268
  }
5242
5269
 
5243
5270
  }
@@ -5247,8 +5274,10 @@ export interface StartupSequence {
5247
5274
  // Own properties of Meta-12.Meta.StartupSequence
5248
5275
 
5249
5276
  readonly application_id: string | null
5277
+ readonly applicationId: string | null
5250
5278
  readonly display: Display
5251
5279
  readonly icon_name: string | null
5280
+ readonly iconName: string | null
5252
5281
  readonly id: string | null
5253
5282
  readonly name: string | null
5254
5283
  readonly timestamp: number
@@ -5273,8 +5302,8 @@ export interface StartupSequence {
5273
5302
  * @returns the icon name or %NULL.
5274
5303
  */
5275
5304
  get_icon_name(): string | null
5276
- get_id(): string | null
5277
- get_name(): string | null
5305
+ get_id(): string
5306
+ get_name(): string
5278
5307
  get_timestamp(): number
5279
5308
  /**
5280
5309
  * Get the wmclass of the startup sequence.
@@ -5503,32 +5532,50 @@ export interface Window extends Gio.Initable {
5503
5532
 
5504
5533
  readonly above: boolean
5505
5534
  readonly appears_focused: boolean
5535
+ readonly appearsFocused: boolean
5506
5536
  readonly decorated: boolean
5507
5537
  readonly demands_attention: boolean
5538
+ readonly demandsAttention: boolean
5508
5539
  readonly display: Display
5509
5540
  readonly effect: number
5510
5541
  readonly fullscreen: boolean
5511
5542
  readonly gtk_app_menu_object_path: string | null
5543
+ readonly gtkAppMenuObjectPath: string | null
5512
5544
  readonly gtk_application_id: string | null
5545
+ readonly gtkApplicationId: string | null
5513
5546
  readonly gtk_application_object_path: string | null
5547
+ readonly gtkApplicationObjectPath: string | null
5514
5548
  readonly gtk_menubar_object_path: string | null
5549
+ readonly gtkMenubarObjectPath: string | null
5515
5550
  readonly gtk_unique_bus_name: string | null
5551
+ readonly gtkUniqueBusName: string | null
5516
5552
  readonly gtk_window_object_path: string | null
5553
+ readonly gtkWindowObjectPath: string | null
5517
5554
  readonly icon: any
5518
5555
  readonly is_alive: boolean
5556
+ readonly isAlive: boolean
5519
5557
  readonly maximized_horizontally: boolean
5558
+ readonly maximizedHorizontally: boolean
5520
5559
  readonly maximized_vertically: boolean
5560
+ readonly maximizedVertically: boolean
5521
5561
  readonly mini_icon: any
5562
+ readonly miniIcon: any
5522
5563
  readonly minimized: boolean
5523
5564
  readonly mutter_hints: string | null
5565
+ readonly mutterHints: string | null
5524
5566
  readonly on_all_workspaces: boolean
5567
+ readonly onAllWorkspaces: boolean
5525
5568
  readonly resizeable: boolean
5526
5569
  readonly skip_taskbar: boolean
5570
+ readonly skipTaskbar: boolean
5527
5571
  readonly title: string | null
5528
5572
  readonly urgent: boolean
5529
5573
  readonly user_time: number
5574
+ readonly userTime: number
5530
5575
  readonly window_type: WindowType
5576
+ readonly windowType: WindowType
5531
5577
  readonly wm_class: string | null
5578
+ readonly wmClass: string | null
5532
5579
  readonly xwindow: number
5533
5580
 
5534
5581
  // Owm methods of Meta-12.Meta.Window
@@ -5606,7 +5653,7 @@ export interface Window extends Gio.Initable {
5606
5653
  * @returns the wrapper object.
5607
5654
  */
5608
5655
  get_compositor_private(): GObject.Object
5609
- get_description(): string | null
5656
+ get_description(): string
5610
5657
  get_display(): Display
5611
5658
  /**
5612
5659
  * Gets a region representing the outer bounds of the window's frame.
@@ -5679,7 +5726,7 @@ export interface Window extends Gio.Initable {
5679
5726
  * @returns the pid, or 0 if not known.
5680
5727
  */
5681
5728
  get_pid(): number
5682
- get_role(): string | null
5729
+ get_role(): string
5683
5730
  /**
5684
5731
  * Gets an unique id for a sandboxed app (currently flatpaks and snaps are
5685
5732
  * supported).
@@ -5712,7 +5759,7 @@ export interface Window extends Gio.Initable {
5712
5759
  * @returns the matching tiled window or %NULL if it doesn't exist.
5713
5760
  */
5714
5761
  get_tile_match(): Window | null
5715
- get_title(): string | null
5762
+ get_title(): string
5716
5763
  /**
5717
5764
  * Returns the #MetaWindow for the window that is pointed to by the
5718
5765
  * WM_TRANSIENT_FOR hint on this window (see XGetTransientForHint()
@@ -6043,6 +6090,7 @@ export module WindowActor {
6043
6090
  // Own constructor properties of Meta-12.Meta.WindowActor
6044
6091
 
6045
6092
  meta_window?: Window | null
6093
+ metaWindow?: Window | null
6046
6094
  }
6047
6095
 
6048
6096
  }
@@ -6052,6 +6100,7 @@ export interface WindowActor extends Atk.ImplementorIface, Clutter.Animatable, C
6052
6100
  // Own properties of Meta-12.Meta.WindowActor
6053
6101
 
6054
6102
  readonly meta_window: Window
6103
+ readonly metaWindow: Window
6055
6104
 
6056
6105
  // Own fields of Meta-12.Meta.WindowActor
6057
6106
 
@@ -6626,7 +6675,9 @@ export interface Workspace {
6626
6675
 
6627
6676
  readonly active: boolean
6628
6677
  readonly n_windows: number
6678
+ readonly nWindows: number
6629
6679
  readonly workspace_index: number
6680
+ readonly workspaceIndex: number
6630
6681
 
6631
6682
  // Owm methods of Meta-12.Meta.Workspace
6632
6683
 
@@ -6784,8 +6835,11 @@ export interface WorkspaceManager {
6784
6835
  // Own properties of Meta-12.Meta.WorkspaceManager
6785
6836
 
6786
6837
  readonly layout_columns: number
6838
+ readonly layoutColumns: number
6787
6839
  readonly layout_rows: number
6840
+ readonly layoutRows: number
6788
6841
  readonly n_workspaces: number
6842
+ readonly nWorkspaces: number
6789
6843
 
6790
6844
  // Owm methods of Meta-12.Meta.WorkspaceManager
6791
6845
 
@@ -7287,7 +7341,7 @@ export interface Group {
7287
7341
  // Owm methods of Meta-12.Meta.Group
7288
7342
 
7289
7343
  get_size(): number
7290
- get_startup_id(): string | null
7344
+ get_startup_id(): string
7291
7345
  list_windows(): Window[]
7292
7346
  update_layers(): void
7293
7347
  }
@@ -7335,7 +7389,7 @@ export interface KeyBinding {
7335
7389
 
7336
7390
  get_mask(): number
7337
7391
  get_modifiers(): Clutter.ModifierType
7338
- get_name(): string | null
7392
+ get_name(): string
7339
7393
  is_builtin(): boolean
7340
7394
  is_reversed(): boolean
7341
7395
  }
@@ -7425,27 +7479,27 @@ export interface PluginInfo {
7425
7479
  * name of the plugin
7426
7480
  * @field
7427
7481
  */
7428
- name: string | null
7482
+ name: string
7429
7483
  /**
7430
7484
  * version of the plugin
7431
7485
  * @field
7432
7486
  */
7433
- version: string | null
7487
+ version: string
7434
7488
  /**
7435
7489
  * author of the plugin
7436
7490
  * @field
7437
7491
  */
7438
- author: string | null
7492
+ author: string
7439
7493
  /**
7440
7494
  * license of the plugin
7441
7495
  * @field
7442
7496
  */
7443
- license: string | null
7497
+ license: string
7444
7498
  /**
7445
7499
  * description of the plugin
7446
7500
  * @field
7447
7501
  */
7448
- description: string | null
7502
+ description: string
7449
7503
  }
7450
7504
 
7451
7505
  export class PluginInfo {
@@ -7553,7 +7607,7 @@ export interface SelectionSourceClass {
7553
7607
  activated: (source: SelectionSource) => void
7554
7608
  deactivated: (source: SelectionSource) => void
7555
7609
  get_mimetypes: (source: SelectionSource) => string[]
7556
- read_async: (source: SelectionSource, mimetype: string | null, cancellable: Gio.Cancellable | null, callback: Gio.AsyncReadyCallback | null) => void
7610
+ read_async: (source: SelectionSource, mimetype: string, cancellable: Gio.Cancellable | null, callback: Gio.AsyncReadyCallback | null) => void
7557
7611
  read_finish: (source: SelectionSource, result: Gio.AsyncResult) => Gio.InputStream
7558
7612
  }
7559
7613
 
package/meta-12.d.ts CHANGED
@@ -1476,7 +1476,7 @@ enum VirtualModifier {
1476
1476
  MOD5_MASK,
1477
1477
  }
1478
1478
  const CURRENT_TIME: number
1479
- const DEFAULT_ICON_NAME: string | null
1479
+ const DEFAULT_ICON_NAME: string
1480
1480
  const ICON_HEIGHT: number
1481
1481
  const ICON_WIDTH: number
1482
1482
  const MINI_ICON_HEIGHT: number
@@ -1508,7 +1508,7 @@ function clutter_init(): void
1508
1508
  * @param name Human readable name of display server or window manager
1509
1509
  * @returns A new context instance.
1510
1510
  */
1511
- function create_context(name: string | null): Context
1511
+ function create_context(name: string): Context
1512
1512
  /**
1513
1513
  * Disables unredirection, can be useful in situations where having
1514
1514
  * unredirected windows is undesirable like when recording a video.
@@ -1529,8 +1529,8 @@ function focus_stage_window(display: Display, timestamp: number): void
1529
1529
  * @param type a #MetaFrameType
1530
1530
  * @returns the string value
1531
1531
  */
1532
- function frame_type_to_string(type: FrameType): string | null
1533
- function g_utf8_strndup(src: string | null, n: number): string | null
1532
+ function frame_type_to_string(type: FrameType): string
1533
+ function g_utf8_strndup(src: string, n: number): string | null
1534
1534
  function get_clutter_debug_flags(): [ /* debug_flags */ Clutter.DebugFlag, /* draw_flags */ Clutter.DrawDebugFlag, /* pick_flags */ Clutter.PickDebugFlag ]
1535
1535
  function get_debug_paint_flags(): DebugPaintFlag
1536
1536
  function get_feedback_group_for_display(display: Display): Clutter.Actor
@@ -1539,7 +1539,7 @@ function get_stage_for_display(display: Display): Clutter.Actor
1539
1539
  function get_top_window_group_for_display(display: Display): Clutter.Actor
1540
1540
  function get_window_actors(display: Display): Clutter.Actor[]
1541
1541
  function get_window_group_for_display(display: Display): Clutter.Actor
1542
- function gravity_to_string(gravity: Gravity): string | null
1542
+ function gravity_to_string(gravity: Gravity): string
1543
1543
  /**
1544
1544
  * Returns %TRUE if this instance of Mutter comes from Mutter
1545
1545
  * restarting itself (for example to enable/disable stereo.)
@@ -1557,11 +1557,11 @@ function is_wayland_compositor(): boolean
1557
1557
  * @param handler The new handler function
1558
1558
  * @returns %TRUE if the binding known as @name was found, %FALSE otherwise.
1559
1559
  */
1560
- function keybindings_set_custom_handler(name: string | null, handler: KeyHandlerFunc | null): boolean
1560
+ function keybindings_set_custom_handler(name: string, handler: KeyHandlerFunc | null): boolean
1561
1561
  function pop_no_msg_prefix(): void
1562
- function preference_to_string(pref: Preference): string | null
1562
+ function preference_to_string(pref: Preference): string
1563
1563
  function prefs_bell_is_audible(): boolean
1564
- function prefs_change_workspace_name(i: number, name: string | null): void
1564
+ function prefs_change_workspace_name(i: number, name: string): void
1565
1565
  function prefs_get_action_double_click_titlebar(): GDesktopEnums.TitlebarAction
1566
1566
  function prefs_get_action_middle_click_titlebar(): GDesktopEnums.TitlebarAction
1567
1567
  function prefs_get_action_right_click_titlebar(): GDesktopEnums.TitlebarAction
@@ -1574,7 +1574,7 @@ function prefs_get_center_new_windows(): boolean
1574
1574
  function prefs_get_check_alive_timeout(): number
1575
1575
  function prefs_get_compositing_manager(): boolean
1576
1576
  function prefs_get_cursor_size(): number
1577
- function prefs_get_cursor_theme(): string | null
1577
+ function prefs_get_cursor_theme(): string
1578
1578
  function prefs_get_disable_workarounds(): boolean
1579
1579
  function prefs_get_drag_threshold(): number
1580
1580
  function prefs_get_draggable_border_width(): number
@@ -1586,8 +1586,8 @@ function prefs_get_focus_new_windows(): GDesktopEnums.FocusNewWindows
1586
1586
  function prefs_get_force_fullscreen(): boolean
1587
1587
  function prefs_get_gnome_accessibility(): boolean
1588
1588
  function prefs_get_gnome_animations(): boolean
1589
- function prefs_get_keybinding_action(name: string | null): KeyBindingAction
1590
- function prefs_get_keybinding_label(name: string | null): string | null
1589
+ function prefs_get_keybinding_action(name: string): KeyBindingAction
1590
+ function prefs_get_keybinding_label(name: string): string | null
1591
1591
  function prefs_get_mouse_button_menu(): number
1592
1592
  function prefs_get_mouse_button_mods(): Clutter.ModifierType
1593
1593
  function prefs_get_mouse_button_resize(): number
@@ -1597,7 +1597,7 @@ function prefs_get_show_fallback_app_menu(): boolean
1597
1597
  function prefs_get_titlebar_font(): Pango.FontDescription
1598
1598
  function prefs_get_visual_bell(): boolean
1599
1599
  function prefs_get_visual_bell_type(): GDesktopEnums.VisualBellType
1600
- function prefs_get_workspace_name(i: number): string | null
1600
+ function prefs_get_workspace_name(i: number): string
1601
1601
  function prefs_get_workspaces_only_on_primary(): boolean
1602
1602
  function prefs_set_force_fullscreen(whether: boolean): void
1603
1603
  function prefs_set_num_workspaces(n_workspaces: number): void
@@ -1627,7 +1627,7 @@ function remove_verbose_topic(topic: DebugTopic): void
1627
1627
  * @param context a #MetaContext
1628
1628
  */
1629
1629
  function restart(message: string | null, context: Context): void
1630
- function topic_to_string(topic: DebugTopic): string | null
1630
+ function topic_to_string(topic: DebugTopic): string
1631
1631
  function unsigned_long_equal(v1: any | null, v2: any | null): number
1632
1632
  function unsigned_long_hash(v: any | null): number
1633
1633
  function x11_error_trap_pop(x11_display: X11Display): void
@@ -1922,7 +1922,7 @@ interface Backend extends Gio.Initable {
1922
1922
  is_headless(): boolean
1923
1923
  is_rendering_hardware_accelerated(): boolean
1924
1924
  lock_layout_group(idx: number): void
1925
- set_keymap(layouts: string | null, variants: string | null, options: string | null): void
1925
+ set_keymap(layouts: string, variants: string, options: string): void
1926
1926
 
1927
1927
  // Own signals of Meta-12.Meta.Backend
1928
1928
 
@@ -1991,6 +1991,7 @@ module Background {
1991
1991
  // Own constructor properties of Meta-12.Meta.Background
1992
1992
 
1993
1993
  meta_display?: Display | null
1994
+ metaDisplay?: Display | null
1994
1995
  }
1995
1996
 
1996
1997
  }
@@ -2000,6 +2001,7 @@ interface Background {
2000
2001
  // Own properties of Meta-12.Meta.Background
2001
2002
 
2002
2003
  readonly meta_display: Display
2004
+ readonly metaDisplay: Display
2003
2005
 
2004
2006
  // Owm methods of Meta-12.Meta.Background
2005
2007
 
@@ -2062,6 +2064,7 @@ module BackgroundActor {
2062
2064
 
2063
2065
  meta_display?: Display | null
2064
2066
  monitor?: number | null
2067
+ metaDisplay?: Display | null
2065
2068
  }
2066
2069
 
2067
2070
  }
@@ -2071,6 +2074,7 @@ interface BackgroundActor extends Atk.ImplementorIface, Clutter.Animatable, Clut
2071
2074
  // Own properties of Meta-12.Meta.BackgroundActor
2072
2075
 
2073
2076
  readonly meta_display: Display
2077
+ readonly metaDisplay: Display
2074
2078
  readonly monitor: number
2075
2079
 
2076
2080
  // Class property signals of Meta-12.Meta.BackgroundActor
@@ -2365,6 +2369,11 @@ module BackgroundContent {
2365
2369
  rounded_clip_radius?: number | null
2366
2370
  vignette?: boolean | null
2367
2371
  vignette_sharpness?: number | null
2372
+ gradientHeight?: number | null
2373
+ gradientMaxDarkness?: number | null
2374
+ metaDisplay?: Display | null
2375
+ roundedClipRadius?: number | null
2376
+ vignetteSharpness?: number | null
2368
2377
  }
2369
2378
 
2370
2379
  }
@@ -2377,12 +2386,17 @@ interface BackgroundContent extends Clutter.Content {
2377
2386
  brightness: number
2378
2387
  gradient: boolean
2379
2388
  gradient_height: number
2389
+ gradientHeight: number
2380
2390
  gradient_max_darkness: number
2391
+ gradientMaxDarkness: number
2381
2392
  readonly meta_display: Display
2393
+ readonly metaDisplay: Display
2382
2394
  readonly monitor: number
2383
2395
  rounded_clip_radius: number
2396
+ roundedClipRadius: number
2384
2397
  vignette: boolean
2385
2398
  vignette_sharpness: number
2399
+ vignetteSharpness: number
2386
2400
 
2387
2401
  // Owm methods of Meta-12.Meta.BackgroundContent
2388
2402
 
@@ -3040,6 +3054,7 @@ module Context {
3040
3054
 
3041
3055
  name?: string | null
3042
3056
  unsafe_mode?: boolean | null
3057
+ unsafeMode?: boolean | null
3043
3058
  }
3044
3059
 
3045
3060
  }
@@ -3050,6 +3065,7 @@ interface Context {
3050
3065
 
3051
3066
  readonly name: string | null
3052
3067
  unsafe_mode: boolean
3068
+ unsafeMode: boolean
3053
3069
 
3054
3070
  // Own fields of Meta-12.Meta.Context
3055
3071
 
@@ -3084,9 +3100,9 @@ interface Context {
3084
3100
  */
3085
3101
  restore_rlimit_nofile(): boolean
3086
3102
  run_main_loop(): boolean
3087
- set_gnome_wm_keybindings(wm_keybindings: string | null): void
3103
+ set_gnome_wm_keybindings(wm_keybindings: string): void
3088
3104
  set_plugin_gtype(plugin_gtype: GObject.GType): void
3089
- set_plugin_name(plugin_name: string | null): void
3105
+ set_plugin_name(plugin_name: string): void
3090
3106
  setup(): boolean
3091
3107
  start(): boolean
3092
3108
  terminate(): void
@@ -3453,7 +3469,9 @@ interface Display {
3453
3469
  // Own properties of Meta-12.Meta.Display
3454
3470
 
3455
3471
  readonly compositor_modifiers: Clutter.ModifierType
3472
+ readonly compositorModifiers: Clutter.ModifierType
3456
3473
  readonly focus_window: Window
3474
+ readonly focusWindow: Window
3457
3475
 
3458
3476
  // Owm methods of Meta-12.Meta.Display
3459
3477
 
@@ -3473,7 +3491,7 @@ interface Display {
3473
3491
  * @param handler function to run when the keybinding is invoked
3474
3492
  * @returns the corresponding keybinding action if the keybinding was added successfully, otherwise %META_KEYBINDING_ACTION_NONE
3475
3493
  */
3476
- add_keybinding(name: string | null, settings: Gio.Settings, flags: KeyBindingFlags, handler: KeyHandlerFunc): number
3494
+ add_keybinding(name: string, settings: Gio.Settings, flags: KeyBindingFlags, handler: KeyHandlerFunc): number
3477
3495
  /**
3478
3496
  * Sets the mouse-mode flag to %FALSE, which means that motion events are
3479
3497
  * no longer ignored in mouse or sloppy focus.
@@ -3582,7 +3600,7 @@ interface Display {
3582
3600
  */
3583
3601
  get_tab_next(type: TabList, workspace: Workspace, window: Window | null, backward: boolean): Window
3584
3602
  get_workspace_manager(): WorkspaceManager
3585
- grab_accelerator(accelerator: string | null, flags: KeyBindingFlags): number
3603
+ grab_accelerator(accelerator: string, flags: KeyBindingFlags): number
3586
3604
  /**
3587
3605
  * Returns %TRUE if there is an ongoing grab operation.
3588
3606
  * @returns Whether there is an active display grab operation.
@@ -3607,7 +3625,7 @@ interface Display {
3607
3625
  * @param name name of the keybinding to remove
3608
3626
  * @returns %TRUE if the binding has been removed successfully, otherwise %FALSE
3609
3627
  */
3610
- remove_keybinding(name: string | null): boolean
3628
+ remove_keybinding(name: string): boolean
3611
3629
  request_pad_osd(pad: Clutter.InputDevice, edition_mode: boolean): void
3612
3630
  set_cursor(cursor: Cursor): void
3613
3631
  set_input_focus(window: Window, focus_frame: boolean, timestamp: number): void
@@ -4042,6 +4060,7 @@ module MonitorManager {
4042
4060
 
4043
4061
  backend?: Backend | null
4044
4062
  experimental_hdr?: string | null
4063
+ experimentalHdr?: string | null
4045
4064
  }
4046
4065
 
4047
4066
  }
@@ -4052,9 +4071,13 @@ interface MonitorManager {
4052
4071
 
4053
4072
  readonly backend: Backend
4054
4073
  experimental_hdr: string | null
4074
+ experimentalHdr: string | null
4055
4075
  readonly has_builtin_panel: boolean
4076
+ readonly hasBuiltinPanel: boolean
4056
4077
  readonly night_light_supported: boolean
4078
+ readonly nightLightSupported: boolean
4057
4079
  readonly panel_orientation_managed: boolean
4080
+ readonly panelOrientationManaged: boolean
4058
4081
 
4059
4082
  // Owm methods of Meta-12.Meta.MonitorManager
4060
4083
 
@@ -4064,7 +4087,7 @@ interface MonitorManager {
4064
4087
  * Returns whether the built-in display (i.e. a laptop panel) is turned on.
4065
4088
  */
4066
4089
  get_is_builtin_display_on(): boolean
4067
- get_monitor_for_connector(connector: string | null): number
4090
+ get_monitor_for_connector(connector: string): number
4068
4091
  get_panel_orientation_managed(): boolean
4069
4092
  get_switch_config(): MonitorSwitchConfigType
4070
4093
  switch_config(config_type: MonitorSwitchConfigType): void
@@ -4346,6 +4369,7 @@ module RemoteAccessHandle {
4346
4369
  // Own constructor properties of Meta-12.Meta.RemoteAccessHandle
4347
4370
 
4348
4371
  is_recording?: boolean | null
4372
+ isRecording?: boolean | null
4349
4373
  }
4350
4374
 
4351
4375
  }
@@ -4355,6 +4379,7 @@ interface RemoteAccessHandle {
4355
4379
  // Own properties of Meta-12.Meta.RemoteAccessHandle
4356
4380
 
4357
4381
  readonly is_recording: boolean
4382
+ readonly isRecording: boolean
4358
4383
 
4359
4384
  // Own fields of Meta-12.Meta.RemoteAccessHandle
4360
4385
 
@@ -4452,7 +4477,7 @@ interface Selection {
4452
4477
  * @param cancellable Cancellable
4453
4478
  * @param callback User callback
4454
4479
  */
4455
- transfer_async(selection_type: SelectionType, mimetype: string | null, size: number, output: Gio.OutputStream, cancellable: Gio.Cancellable | null, callback: Gio.AsyncReadyCallback<this> | null): void
4480
+ transfer_async(selection_type: SelectionType, mimetype: string, size: number, output: Gio.OutputStream, cancellable: Gio.Cancellable | null, callback: Gio.AsyncReadyCallback<this> | null): void
4456
4481
 
4457
4482
  // Overloads of transfer_async
4458
4483
 
@@ -4468,7 +4493,7 @@ interface Selection {
4468
4493
  * @param cancellable Cancellable
4469
4494
  * @returns A Promise of: #TRUE if the transfer was successful.
4470
4495
  */
4471
- transfer_async(selection_type: SelectionType, mimetype: string | null, size: number, output: Gio.OutputStream, cancellable: Gio.Cancellable | null): globalThis.Promise<boolean>
4496
+ transfer_async(selection_type: SelectionType, mimetype: string, size: number, output: Gio.OutputStream, cancellable: Gio.Cancellable | null): globalThis.Promise<boolean>
4472
4497
  /**
4473
4498
  * Finishes the transfer of a queried mimetype.
4474
4499
  * @param result The async result
@@ -4556,7 +4581,7 @@ interface SelectionSource {
4556
4581
  * @returns #TRUE if the source owns a selection.
4557
4582
  */
4558
4583
  is_active(): boolean
4559
- read_async(mimetype: string | null, cancellable: Gio.Cancellable | null, callback: Gio.AsyncReadyCallback<this> | null): void
4584
+ read_async(mimetype: string, cancellable: Gio.Cancellable | null, callback: Gio.AsyncReadyCallback<this> | null): void
4560
4585
 
4561
4586
  // Overloads of read_async
4562
4587
 
@@ -4568,7 +4593,7 @@ interface SelectionSource {
4568
4593
  * @param cancellable
4569
4594
  * @returns A Promise of: The resulting #GInputStream
4570
4595
  */
4571
- read_async(mimetype: string | null, cancellable: Gio.Cancellable | null): globalThis.Promise<Gio.InputStream>
4596
+ read_async(mimetype: string, cancellable: Gio.Cancellable | null): globalThis.Promise<Gio.InputStream>
4572
4597
  /**
4573
4598
  * Finishes a read from the selection source.
4574
4599
  * @param result The async result
@@ -4586,7 +4611,7 @@ interface SelectionSource {
4586
4611
  * @returns The supported mimetypes
4587
4612
  */
4588
4613
  vfunc_get_mimetypes(): string[]
4589
- vfunc_read_async(mimetype: string | null, cancellable: Gio.Cancellable | null, callback: Gio.AsyncReadyCallback<this> | null): void
4614
+ vfunc_read_async(mimetype: string, cancellable: Gio.Cancellable | null, callback: Gio.AsyncReadyCallback<this> | null): void
4590
4615
  /**
4591
4616
  * Finishes a read from the selection source.
4592
4617
  * @virtual
@@ -4654,8 +4679,8 @@ class SelectionSourceMemory extends SelectionSource {
4654
4679
  // Constructors of Meta-12.Meta.SelectionSourceMemory
4655
4680
 
4656
4681
  constructor(config?: SelectionSourceMemory.ConstructorProperties)
4657
- constructor(mimetype: string | null, content: GLib.Bytes)
4658
- static new(mimetype: string | null, content: GLib.Bytes): SelectionSourceMemory
4682
+ constructor(mimetype: string, content: GLib.Bytes)
4683
+ static new(mimetype: string, content: GLib.Bytes): SelectionSourceMemory
4659
4684
  _init(config?: SelectionSourceMemory.ConstructorProperties): void
4660
4685
  }
4661
4686
 
@@ -4690,7 +4715,7 @@ interface ShadowFactory {
4690
4715
  * @param class_name name of the class of shadow to get the params for
4691
4716
  * @param focused whether the shadow is for a focused window
4692
4717
  */
4693
- get_params(class_name: string | null, focused: boolean): /* params */ ShadowParams
4718
+ get_params(class_name: string, focused: boolean): /* params */ ShadowParams
4694
4719
  /**
4695
4720
  * Gets the appropriate shadow object for drawing shadows for the
4696
4721
  * specified window shape. The region that we are shadowing is specified
@@ -4704,7 +4729,7 @@ interface ShadowFactory {
4704
4729
  * @param focused whether the shadow is for a focused window
4705
4730
  * @returns a newly referenced #MetaShadow; unref with meta_shadow_unref()
4706
4731
  */
4707
- get_shadow(shape: WindowShape, width: number, height: number, class_name: string | null, focused: boolean): Shadow
4732
+ get_shadow(shape: WindowShape, width: number, height: number, class_name: string, focused: boolean): Shadow
4708
4733
  /**
4709
4734
  * Updates the shadow parameters for a particular class of shadows
4710
4735
  * for either the focused or unfocused state. If the class name
@@ -4715,7 +4740,7 @@ interface ShadowFactory {
4715
4740
  * @param focused whether the shadow is for a focused window
4716
4741
  * @param params new parameter values
4717
4742
  */
4718
- set_params(class_name: string | null, focused: boolean, params: ShadowParams): void
4743
+ set_params(class_name: string, focused: boolean, params: ShadowParams): void
4719
4744
 
4720
4745
  // Own signals of Meta-12.Meta.ShadowFactory
4721
4746
 
@@ -4834,14 +4859,14 @@ interface SoundPlayer {
4834
4859
  * @param description description of the played sound
4835
4860
  * @param cancellable cancellable for the request
4836
4861
  */
4837
- play_from_file(file: Gio.File, description: string | null, cancellable: Gio.Cancellable | null): void
4862
+ play_from_file(file: Gio.File, description: string, cancellable: Gio.Cancellable | null): void
4838
4863
  /**
4839
4864
  * Plays a sound from the sound theme.
4840
4865
  * @param name sound theme name of the event
4841
4866
  * @param description description of the event
4842
4867
  * @param cancellable cancellable for the request
4843
4868
  */
4844
- play_from_theme(name: string | null, description: string | null, cancellable: Gio.Cancellable | null): void
4869
+ play_from_theme(name: string, description: string, cancellable: Gio.Cancellable | null): void
4845
4870
 
4846
4871
  // Class property signals of Meta-12.Meta.SoundPlayer
4847
4872
 
@@ -5240,6 +5265,8 @@ module StartupSequence {
5240
5265
  timestamp?: number | null
5241
5266
  wmclass?: string | null
5242
5267
  workspace?: number | null
5268
+ applicationId?: string | null
5269
+ iconName?: string | null
5243
5270
  }
5244
5271
 
5245
5272
  }
@@ -5249,8 +5276,10 @@ interface StartupSequence {
5249
5276
  // Own properties of Meta-12.Meta.StartupSequence
5250
5277
 
5251
5278
  readonly application_id: string | null
5279
+ readonly applicationId: string | null
5252
5280
  readonly display: Display
5253
5281
  readonly icon_name: string | null
5282
+ readonly iconName: string | null
5254
5283
  readonly id: string | null
5255
5284
  readonly name: string | null
5256
5285
  readonly timestamp: number
@@ -5275,8 +5304,8 @@ interface StartupSequence {
5275
5304
  * @returns the icon name or %NULL.
5276
5305
  */
5277
5306
  get_icon_name(): string | null
5278
- get_id(): string | null
5279
- get_name(): string | null
5307
+ get_id(): string
5308
+ get_name(): string
5280
5309
  get_timestamp(): number
5281
5310
  /**
5282
5311
  * Get the wmclass of the startup sequence.
@@ -5505,32 +5534,50 @@ interface Window extends Gio.Initable {
5505
5534
 
5506
5535
  readonly above: boolean
5507
5536
  readonly appears_focused: boolean
5537
+ readonly appearsFocused: boolean
5508
5538
  readonly decorated: boolean
5509
5539
  readonly demands_attention: boolean
5540
+ readonly demandsAttention: boolean
5510
5541
  readonly display: Display
5511
5542
  readonly effect: number
5512
5543
  readonly fullscreen: boolean
5513
5544
  readonly gtk_app_menu_object_path: string | null
5545
+ readonly gtkAppMenuObjectPath: string | null
5514
5546
  readonly gtk_application_id: string | null
5547
+ readonly gtkApplicationId: string | null
5515
5548
  readonly gtk_application_object_path: string | null
5549
+ readonly gtkApplicationObjectPath: string | null
5516
5550
  readonly gtk_menubar_object_path: string | null
5551
+ readonly gtkMenubarObjectPath: string | null
5517
5552
  readonly gtk_unique_bus_name: string | null
5553
+ readonly gtkUniqueBusName: string | null
5518
5554
  readonly gtk_window_object_path: string | null
5555
+ readonly gtkWindowObjectPath: string | null
5519
5556
  readonly icon: any
5520
5557
  readonly is_alive: boolean
5558
+ readonly isAlive: boolean
5521
5559
  readonly maximized_horizontally: boolean
5560
+ readonly maximizedHorizontally: boolean
5522
5561
  readonly maximized_vertically: boolean
5562
+ readonly maximizedVertically: boolean
5523
5563
  readonly mini_icon: any
5564
+ readonly miniIcon: any
5524
5565
  readonly minimized: boolean
5525
5566
  readonly mutter_hints: string | null
5567
+ readonly mutterHints: string | null
5526
5568
  readonly on_all_workspaces: boolean
5569
+ readonly onAllWorkspaces: boolean
5527
5570
  readonly resizeable: boolean
5528
5571
  readonly skip_taskbar: boolean
5572
+ readonly skipTaskbar: boolean
5529
5573
  readonly title: string | null
5530
5574
  readonly urgent: boolean
5531
5575
  readonly user_time: number
5576
+ readonly userTime: number
5532
5577
  readonly window_type: WindowType
5578
+ readonly windowType: WindowType
5533
5579
  readonly wm_class: string | null
5580
+ readonly wmClass: string | null
5534
5581
  readonly xwindow: number
5535
5582
 
5536
5583
  // Owm methods of Meta-12.Meta.Window
@@ -5608,7 +5655,7 @@ interface Window extends Gio.Initable {
5608
5655
  * @returns the wrapper object.
5609
5656
  */
5610
5657
  get_compositor_private(): GObject.Object
5611
- get_description(): string | null
5658
+ get_description(): string
5612
5659
  get_display(): Display
5613
5660
  /**
5614
5661
  * Gets a region representing the outer bounds of the window's frame.
@@ -5681,7 +5728,7 @@ interface Window extends Gio.Initable {
5681
5728
  * @returns the pid, or 0 if not known.
5682
5729
  */
5683
5730
  get_pid(): number
5684
- get_role(): string | null
5731
+ get_role(): string
5685
5732
  /**
5686
5733
  * Gets an unique id for a sandboxed app (currently flatpaks and snaps are
5687
5734
  * supported).
@@ -5714,7 +5761,7 @@ interface Window extends Gio.Initable {
5714
5761
  * @returns the matching tiled window or %NULL if it doesn't exist.
5715
5762
  */
5716
5763
  get_tile_match(): Window | null
5717
- get_title(): string | null
5764
+ get_title(): string
5718
5765
  /**
5719
5766
  * Returns the #MetaWindow for the window that is pointed to by the
5720
5767
  * WM_TRANSIENT_FOR hint on this window (see XGetTransientForHint()
@@ -6045,6 +6092,7 @@ module WindowActor {
6045
6092
  // Own constructor properties of Meta-12.Meta.WindowActor
6046
6093
 
6047
6094
  meta_window?: Window | null
6095
+ metaWindow?: Window | null
6048
6096
  }
6049
6097
 
6050
6098
  }
@@ -6054,6 +6102,7 @@ interface WindowActor extends Atk.ImplementorIface, Clutter.Animatable, Clutter.
6054
6102
  // Own properties of Meta-12.Meta.WindowActor
6055
6103
 
6056
6104
  readonly meta_window: Window
6105
+ readonly metaWindow: Window
6057
6106
 
6058
6107
  // Own fields of Meta-12.Meta.WindowActor
6059
6108
 
@@ -6628,7 +6677,9 @@ interface Workspace {
6628
6677
 
6629
6678
  readonly active: boolean
6630
6679
  readonly n_windows: number
6680
+ readonly nWindows: number
6631
6681
  readonly workspace_index: number
6682
+ readonly workspaceIndex: number
6632
6683
 
6633
6684
  // Owm methods of Meta-12.Meta.Workspace
6634
6685
 
@@ -6786,8 +6837,11 @@ interface WorkspaceManager {
6786
6837
  // Own properties of Meta-12.Meta.WorkspaceManager
6787
6838
 
6788
6839
  readonly layout_columns: number
6840
+ readonly layoutColumns: number
6789
6841
  readonly layout_rows: number
6842
+ readonly layoutRows: number
6790
6843
  readonly n_workspaces: number
6844
+ readonly nWorkspaces: number
6791
6845
 
6792
6846
  // Owm methods of Meta-12.Meta.WorkspaceManager
6793
6847
 
@@ -7289,7 +7343,7 @@ interface Group {
7289
7343
  // Owm methods of Meta-12.Meta.Group
7290
7344
 
7291
7345
  get_size(): number
7292
- get_startup_id(): string | null
7346
+ get_startup_id(): string
7293
7347
  list_windows(): Window[]
7294
7348
  update_layers(): void
7295
7349
  }
@@ -7337,7 +7391,7 @@ interface KeyBinding {
7337
7391
 
7338
7392
  get_mask(): number
7339
7393
  get_modifiers(): Clutter.ModifierType
7340
- get_name(): string | null
7394
+ get_name(): string
7341
7395
  is_builtin(): boolean
7342
7396
  is_reversed(): boolean
7343
7397
  }
@@ -7427,27 +7481,27 @@ interface PluginInfo {
7427
7481
  * name of the plugin
7428
7482
  * @field
7429
7483
  */
7430
- name: string | null
7484
+ name: string
7431
7485
  /**
7432
7486
  * version of the plugin
7433
7487
  * @field
7434
7488
  */
7435
- version: string | null
7489
+ version: string
7436
7490
  /**
7437
7491
  * author of the plugin
7438
7492
  * @field
7439
7493
  */
7440
- author: string | null
7494
+ author: string
7441
7495
  /**
7442
7496
  * license of the plugin
7443
7497
  * @field
7444
7498
  */
7445
- license: string | null
7499
+ license: string
7446
7500
  /**
7447
7501
  * description of the plugin
7448
7502
  * @field
7449
7503
  */
7450
- description: string | null
7504
+ description: string
7451
7505
  }
7452
7506
 
7453
7507
  class PluginInfo {
@@ -7555,7 +7609,7 @@ interface SelectionSourceClass {
7555
7609
  activated: (source: SelectionSource) => void
7556
7610
  deactivated: (source: SelectionSource) => void
7557
7611
  get_mimetypes: (source: SelectionSource) => string[]
7558
- read_async: (source: SelectionSource, mimetype: string | null, cancellable: Gio.Cancellable | null, callback: Gio.AsyncReadyCallback | null) => void
7612
+ read_async: (source: SelectionSource, mimetype: string, cancellable: Gio.Cancellable | null, callback: Gio.AsyncReadyCallback | null) => void
7559
7613
  read_finish: (source: SelectionSource, result: Gio.AsyncResult) => Gio.InputStream
7560
7614
  }
7561
7615
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@girs/meta-12",
3
- "version": "12.0.0-3.2.5",
3
+ "version": "12.0.0-3.2.7",
4
4
  "description": "GJS TypeScript type definitions for Meta-12, generated from library version 12.0.0",
5
5
  "type": "module",
6
6
  "module": "meta-12.js",
@@ -25,25 +25,25 @@
25
25
  "test:cjs": "NODE_OPTIONS=--max_old_space_size=9216 tsc --noEmit meta-12.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-12": "^12.0.0-3.2.5",
31
- "@girs/cogl-12": "^12.0.0-3.2.5",
32
- "@girs/coglpango-12": "^12.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/pango-1.0": "^1.51.0-3.2.5",
44
- "@girs/pangocairo-1.0": "^1.0.0-3.2.5",
45
- "@girs/xfixes-4.0": "^4.0.0-3.2.5",
46
- "@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-12": "^12.0.0-3.2.7",
31
+ "@girs/cogl-12": "^12.0.0-3.2.7",
32
+ "@girs/coglpango-12": "^12.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/pango-1.0": "^1.51.0-3.2.7",
44
+ "@girs/pangocairo-1.0": "^1.0.0-3.2.7",
45
+ "@girs/xfixes-4.0": "^4.0.0-3.2.7",
46
+ "@girs/xlib-2.0": "^2.0.0-3.2.7"
47
47
  },
48
48
  "devDependencies": {
49
49
  "typescript": "*"