@girs/meta-11 11.0.0-3.2.5 → 11.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-11)
6
6
 
7
7
 
8
- GJS TypeScript type definitions for Meta-11, generated from library version 11.0.0 using [ts-for-gir](https://github.com/gjsify/ts-for-gir) v3.2.5.
8
+ GJS TypeScript type definitions for Meta-11, generated from library version 11.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-11.d.cts CHANGED
@@ -1487,7 +1487,7 @@ export enum VirtualModifier {
1487
1487
  MOD5_MASK,
1488
1488
  }
1489
1489
  export const CURRENT_TIME: number
1490
- export const DEFAULT_ICON_NAME: string | null
1490
+ export const DEFAULT_ICON_NAME: string
1491
1491
  export const ICON_HEIGHT: number
1492
1492
  export const ICON_WIDTH: number
1493
1493
  export const MINI_ICON_HEIGHT: number
@@ -1512,7 +1512,7 @@ export function clutter_init(): void
1512
1512
  * @param name Human readable name of display server or window manager
1513
1513
  * @returns A new context instance.
1514
1514
  */
1515
- export function create_context(name: string | null): Context
1515
+ export function create_context(name: string): Context
1516
1516
  /**
1517
1517
  * Disables unredirection, can be useful in situations where having
1518
1518
  * unredirected windows is undesirable like when recording a video.
@@ -1533,8 +1533,8 @@ export function focus_stage_window(display: Display, timestamp: number): void
1533
1533
  * @param type a #MetaFrameType
1534
1534
  * @returns the string value
1535
1535
  */
1536
- export function frame_type_to_string(type: FrameType): string | null
1537
- export function g_utf8_strndup(src: string | null, n: number): string | null
1536
+ export function frame_type_to_string(type: FrameType): string
1537
+ export function g_utf8_strndup(src: string, n: number): string | null
1538
1538
  /**
1539
1539
  * Accessor for the singleton MetaBackend.
1540
1540
  * @returns The only #MetaBackend there is.
@@ -1548,7 +1548,7 @@ export function get_stage_for_display(display: Display): Clutter.Actor
1548
1548
  export function get_top_window_group_for_display(display: Display): Clutter.Actor
1549
1549
  export function get_window_actors(display: Display): Clutter.Actor[]
1550
1550
  export function get_window_group_for_display(display: Display): Clutter.Actor
1551
- export function gravity_to_string(gravity: Gravity): string | null
1551
+ export function gravity_to_string(gravity: Gravity): string
1552
1552
  /**
1553
1553
  * Returns %TRUE if this instance of Mutter comes from Mutter
1554
1554
  * restarting itself (for example to enable/disable stereo.)
@@ -1566,7 +1566,7 @@ export function is_wayland_compositor(): boolean
1566
1566
  * @param handler The new handler function
1567
1567
  * @returns %TRUE if the binding known as @name was found, %FALSE otherwise.
1568
1568
  */
1569
- export function keybindings_set_custom_handler(name: string | null, handler: KeyHandlerFunc | null): boolean
1569
+ export function keybindings_set_custom_handler(name: string, handler: KeyHandlerFunc | null): boolean
1570
1570
  /**
1571
1571
  * Sets up a callback to be called at some later time. `when` determines the
1572
1572
  * particular later occasion at which it is called. This is much like g_idle_add(),
@@ -1585,9 +1585,9 @@ export function later_add(when: LaterType, func: GLib.SourceFunc): number
1585
1585
  */
1586
1586
  export function later_remove(later_id: number): void
1587
1587
  export function pop_no_msg_prefix(): void
1588
- export function preference_to_string(pref: Preference): string | null
1588
+ export function preference_to_string(pref: Preference): string
1589
1589
  export function prefs_bell_is_audible(): boolean
1590
- export function prefs_change_workspace_name(i: number, name: string | null): void
1590
+ export function prefs_change_workspace_name(i: number, name: string): void
1591
1591
  export function prefs_get_action_double_click_titlebar(): GDesktopEnums.TitlebarAction
1592
1592
  export function prefs_get_action_middle_click_titlebar(): GDesktopEnums.TitlebarAction
1593
1593
  export function prefs_get_action_right_click_titlebar(): GDesktopEnums.TitlebarAction
@@ -1600,7 +1600,7 @@ export function prefs_get_center_new_windows(): boolean
1600
1600
  export function prefs_get_check_alive_timeout(): number
1601
1601
  export function prefs_get_compositing_manager(): boolean
1602
1602
  export function prefs_get_cursor_size(): number
1603
- export function prefs_get_cursor_theme(): string | null
1603
+ export function prefs_get_cursor_theme(): string
1604
1604
  export function prefs_get_disable_workarounds(): boolean
1605
1605
  export function prefs_get_drag_threshold(): number
1606
1606
  export function prefs_get_draggable_border_width(): number
@@ -1612,7 +1612,7 @@ export function prefs_get_focus_new_windows(): GDesktopEnums.FocusNewWindows
1612
1612
  export function prefs_get_force_fullscreen(): boolean
1613
1613
  export function prefs_get_gnome_accessibility(): boolean
1614
1614
  export function prefs_get_gnome_animations(): boolean
1615
- export function prefs_get_keybinding_action(name: string | null): KeyBindingAction
1615
+ export function prefs_get_keybinding_action(name: string): KeyBindingAction
1616
1616
  export function prefs_get_mouse_button_menu(): number
1617
1617
  export function prefs_get_mouse_button_mods(): VirtualModifier
1618
1618
  export function prefs_get_mouse_button_resize(): number
@@ -1622,7 +1622,7 @@ export function prefs_get_show_fallback_app_menu(): boolean
1622
1622
  export function prefs_get_titlebar_font(): Pango.FontDescription
1623
1623
  export function prefs_get_visual_bell(): boolean
1624
1624
  export function prefs_get_visual_bell_type(): GDesktopEnums.VisualBellType
1625
- export function prefs_get_workspace_name(i: number): string | null
1625
+ export function prefs_get_workspace_name(i: number): string
1626
1626
  export function prefs_get_workspaces_only_on_primary(): boolean
1627
1627
  export function prefs_set_force_fullscreen(whether: boolean): void
1628
1628
  export function prefs_set_num_workspaces(n_workspaces: number): void
@@ -1652,7 +1652,7 @@ export function remove_verbose_topic(topic: DebugTopic): void
1652
1652
  * @param context a #MetaContext
1653
1653
  */
1654
1654
  export function restart(message: string | null, context: Context): void
1655
- export function topic_to_string(topic: DebugTopic): string | null
1655
+ export function topic_to_string(topic: DebugTopic): string
1656
1656
  export function unsigned_long_equal(v1: any | null, v2: any | null): number
1657
1657
  export function unsigned_long_hash(v: any | null): number
1658
1658
  export function x11_error_trap_pop(x11_display: X11Display): void
@@ -1948,7 +1948,7 @@ export interface Backend extends Gio.Initable {
1948
1948
  is_headless(): boolean
1949
1949
  is_rendering_hardware_accelerated(): boolean
1950
1950
  lock_layout_group(idx: number): void
1951
- set_keymap(layouts: string | null, variants: string | null, options: string | null): void
1951
+ set_keymap(layouts: string, variants: string, options: string): void
1952
1952
 
1953
1953
  // Own signals of Meta-11.Meta.Backend
1954
1954
 
@@ -2017,6 +2017,7 @@ export module Background {
2017
2017
  // Own constructor properties of Meta-11.Meta.Background
2018
2018
 
2019
2019
  meta_display?: Display | null
2020
+ metaDisplay?: Display | null
2020
2021
  }
2021
2022
 
2022
2023
  }
@@ -2026,6 +2027,7 @@ export interface Background {
2026
2027
  // Own properties of Meta-11.Meta.Background
2027
2028
 
2028
2029
  readonly meta_display: Display
2030
+ readonly metaDisplay: Display
2029
2031
 
2030
2032
  // Owm methods of Meta-11.Meta.Background
2031
2033
 
@@ -2088,6 +2090,7 @@ export module BackgroundActor {
2088
2090
 
2089
2091
  meta_display?: Display | null
2090
2092
  monitor?: number | null
2093
+ metaDisplay?: Display | null
2091
2094
  }
2092
2095
 
2093
2096
  }
@@ -2097,6 +2100,7 @@ export interface BackgroundActor extends Atk.ImplementorIface, Clutter.Animatabl
2097
2100
  // Own properties of Meta-11.Meta.BackgroundActor
2098
2101
 
2099
2102
  readonly meta_display: Display
2103
+ readonly metaDisplay: Display
2100
2104
  readonly monitor: number
2101
2105
 
2102
2106
  // Class property signals of Meta-11.Meta.BackgroundActor
@@ -2391,6 +2395,11 @@ export module BackgroundContent {
2391
2395
  rounded_clip_radius?: number | null
2392
2396
  vignette?: boolean | null
2393
2397
  vignette_sharpness?: number | null
2398
+ gradientHeight?: number | null
2399
+ gradientMaxDarkness?: number | null
2400
+ metaDisplay?: Display | null
2401
+ roundedClipRadius?: number | null
2402
+ vignetteSharpness?: number | null
2394
2403
  }
2395
2404
 
2396
2405
  }
@@ -2403,12 +2412,17 @@ export interface BackgroundContent extends Clutter.Content {
2403
2412
  brightness: number
2404
2413
  gradient: boolean
2405
2414
  gradient_height: number
2415
+ gradientHeight: number
2406
2416
  gradient_max_darkness: number
2417
+ gradientMaxDarkness: number
2407
2418
  readonly meta_display: Display
2419
+ readonly metaDisplay: Display
2408
2420
  readonly monitor: number
2409
2421
  rounded_clip_radius: number
2422
+ roundedClipRadius: number
2410
2423
  vignette: boolean
2411
2424
  vignette_sharpness: number
2425
+ vignetteSharpness: number
2412
2426
 
2413
2427
  // Owm methods of Meta-11.Meta.BackgroundContent
2414
2428
 
@@ -3069,6 +3083,7 @@ export module Context {
3069
3083
 
3070
3084
  name?: string | null
3071
3085
  unsafe_mode?: boolean | null
3086
+ unsafeMode?: boolean | null
3072
3087
  }
3073
3088
 
3074
3089
  }
@@ -3079,6 +3094,7 @@ export interface Context {
3079
3094
 
3080
3095
  readonly name: string | null
3081
3096
  unsafe_mode: boolean
3097
+ unsafeMode: boolean
3082
3098
 
3083
3099
  // Own fields of Meta-11.Meta.Context
3084
3100
 
@@ -3113,9 +3129,9 @@ export interface Context {
3113
3129
  */
3114
3130
  restore_rlimit_nofile(): boolean
3115
3131
  run_main_loop(): boolean
3116
- set_gnome_wm_keybindings(wm_keybindings: string | null): void
3132
+ set_gnome_wm_keybindings(wm_keybindings: string): void
3117
3133
  set_plugin_gtype(plugin_gtype: GObject.GType): void
3118
- set_plugin_name(plugin_name: string | null): void
3134
+ set_plugin_name(plugin_name: string): void
3119
3135
  setup(): boolean
3120
3136
  start(): boolean
3121
3137
  terminate(): void
@@ -3461,7 +3477,9 @@ export interface Display {
3461
3477
  // Own properties of Meta-11.Meta.Display
3462
3478
 
3463
3479
  readonly compositor_modifiers: Clutter.ModifierType
3480
+ readonly compositorModifiers: Clutter.ModifierType
3464
3481
  readonly focus_window: Window
3482
+ readonly focusWindow: Window
3465
3483
 
3466
3484
  // Owm methods of Meta-11.Meta.Display
3467
3485
 
@@ -3490,7 +3508,7 @@ export interface Display {
3490
3508
  * @param handler function to run when the keybinding is invoked
3491
3509
  * @returns the corresponding keybinding action if the keybinding was added successfully, otherwise %META_KEYBINDING_ACTION_NONE
3492
3510
  */
3493
- add_keybinding(name: string | null, settings: Gio.Settings, flags: KeyBindingFlags, handler: KeyHandlerFunc): number
3511
+ add_keybinding(name: string, settings: Gio.Settings, flags: KeyBindingFlags, handler: KeyHandlerFunc): number
3494
3512
  begin_grab_op(window: Window, op: GrabOp, pointer_already_grabbed: boolean, frame_action: boolean, button: number, modmask: number, timestamp: number, root_x: number, root_y: number): boolean
3495
3513
  /**
3496
3514
  * Sets the mouse-mode flag to %FALSE, which means that motion events are
@@ -3605,7 +3623,7 @@ export interface Display {
3605
3623
  */
3606
3624
  get_tab_next(type: TabList, workspace: Workspace, window: Window | null, backward: boolean): Window
3607
3625
  get_workspace_manager(): WorkspaceManager
3608
- grab_accelerator(accelerator: string | null, flags: KeyBindingFlags): number
3626
+ grab_accelerator(accelerator: string, flags: KeyBindingFlags): number
3609
3627
  /**
3610
3628
  * Tells whether the event sequence is the used for pointer emulation
3611
3629
  * and single-touch interaction.
@@ -3625,7 +3643,7 @@ export interface Display {
3625
3643
  * @param name name of the keybinding to remove
3626
3644
  * @returns %TRUE if the binding has been removed successfully, otherwise %FALSE
3627
3645
  */
3628
- remove_keybinding(name: string | null): boolean
3646
+ remove_keybinding(name: string): boolean
3629
3647
  request_pad_osd(pad: Clutter.InputDevice, edition_mode: boolean): void
3630
3648
  set_cursor(cursor: Cursor): void
3631
3649
  set_input_focus(window: Window, focus_frame: boolean, timestamp: number): void
@@ -4017,8 +4035,11 @@ export interface MonitorManager {
4017
4035
 
4018
4036
  readonly backend: Backend
4019
4037
  readonly has_builtin_panel: boolean
4038
+ readonly hasBuiltinPanel: boolean
4020
4039
  readonly night_light_supported: boolean
4040
+ readonly nightLightSupported: boolean
4021
4041
  readonly panel_orientation_managed: boolean
4042
+ readonly panelOrientationManaged: boolean
4022
4043
 
4023
4044
  // Owm methods of Meta-11.Meta.MonitorManager
4024
4045
 
@@ -4027,7 +4048,7 @@ export interface MonitorManager {
4027
4048
  * Returns whether the built-in display (i.e. a laptop panel) is turned on.
4028
4049
  */
4029
4050
  get_is_builtin_display_on(): boolean
4030
- get_monitor_for_connector(connector: string | null): number
4051
+ get_monitor_for_connector(connector: string): number
4031
4052
  get_panel_orientation_managed(): boolean
4032
4053
  get_switch_config(): MonitorSwitchConfigType
4033
4054
  switch_config(config_type: MonitorSwitchConfigType): void
@@ -4312,6 +4333,7 @@ export module RemoteAccessHandle {
4312
4333
  // Own constructor properties of Meta-11.Meta.RemoteAccessHandle
4313
4334
 
4314
4335
  is_recording?: boolean | null
4336
+ isRecording?: boolean | null
4315
4337
  }
4316
4338
 
4317
4339
  }
@@ -4321,6 +4343,7 @@ export interface RemoteAccessHandle {
4321
4343
  // Own properties of Meta-11.Meta.RemoteAccessHandle
4322
4344
 
4323
4345
  readonly is_recording: boolean
4346
+ readonly isRecording: boolean
4324
4347
 
4325
4348
  // Own fields of Meta-11.Meta.RemoteAccessHandle
4326
4349
 
@@ -4418,7 +4441,7 @@ export interface Selection {
4418
4441
  * @param cancellable Cancellable
4419
4442
  * @param callback User callback
4420
4443
  */
4421
- transfer_async(selection_type: SelectionType, mimetype: string | null, size: number, output: Gio.OutputStream, cancellable: Gio.Cancellable | null, callback: Gio.AsyncReadyCallback<this> | null): void
4444
+ transfer_async(selection_type: SelectionType, mimetype: string, size: number, output: Gio.OutputStream, cancellable: Gio.Cancellable | null, callback: Gio.AsyncReadyCallback<this> | null): void
4422
4445
 
4423
4446
  // Overloads of transfer_async
4424
4447
 
@@ -4434,7 +4457,7 @@ export interface Selection {
4434
4457
  * @param cancellable Cancellable
4435
4458
  * @returns A Promise of: #TRUE if the transfer was successful.
4436
4459
  */
4437
- transfer_async(selection_type: SelectionType, mimetype: string | null, size: number, output: Gio.OutputStream, cancellable: Gio.Cancellable | null): globalThis.Promise<boolean>
4460
+ transfer_async(selection_type: SelectionType, mimetype: string, size: number, output: Gio.OutputStream, cancellable: Gio.Cancellable | null): globalThis.Promise<boolean>
4438
4461
  /**
4439
4462
  * Finishes the transfer of a queried mimetype.
4440
4463
  * @param result The async result
@@ -4522,7 +4545,7 @@ export interface SelectionSource {
4522
4545
  * @returns #TRUE if the source owns a selection.
4523
4546
  */
4524
4547
  is_active(): boolean
4525
- read_async(mimetype: string | null, cancellable: Gio.Cancellable | null, callback: Gio.AsyncReadyCallback<this> | null): void
4548
+ read_async(mimetype: string, cancellable: Gio.Cancellable | null, callback: Gio.AsyncReadyCallback<this> | null): void
4526
4549
 
4527
4550
  // Overloads of read_async
4528
4551
 
@@ -4534,7 +4557,7 @@ export interface SelectionSource {
4534
4557
  * @param cancellable
4535
4558
  * @returns A Promise of: The resulting #GInputStream
4536
4559
  */
4537
- read_async(mimetype: string | null, cancellable: Gio.Cancellable | null): globalThis.Promise<Gio.InputStream>
4560
+ read_async(mimetype: string, cancellable: Gio.Cancellable | null): globalThis.Promise<Gio.InputStream>
4538
4561
  /**
4539
4562
  * Finishes a read from the selection source.
4540
4563
  * @param result The async result
@@ -4552,7 +4575,7 @@ export interface SelectionSource {
4552
4575
  * @returns The supported mimetypes
4553
4576
  */
4554
4577
  vfunc_get_mimetypes(): string[]
4555
- vfunc_read_async(mimetype: string | null, cancellable: Gio.Cancellable | null, callback: Gio.AsyncReadyCallback<this> | null): void
4578
+ vfunc_read_async(mimetype: string, cancellable: Gio.Cancellable | null, callback: Gio.AsyncReadyCallback<this> | null): void
4556
4579
  /**
4557
4580
  * Finishes a read from the selection source.
4558
4581
  * @virtual
@@ -4620,8 +4643,8 @@ export class SelectionSourceMemory extends SelectionSource {
4620
4643
  // Constructors of Meta-11.Meta.SelectionSourceMemory
4621
4644
 
4622
4645
  constructor(config?: SelectionSourceMemory.ConstructorProperties)
4623
- constructor(mimetype: string | null, content: GLib.Bytes)
4624
- static new(mimetype: string | null, content: GLib.Bytes): SelectionSourceMemory
4646
+ constructor(mimetype: string, content: GLib.Bytes)
4647
+ static new(mimetype: string, content: GLib.Bytes): SelectionSourceMemory
4625
4648
  _init(config?: SelectionSourceMemory.ConstructorProperties): void
4626
4649
  }
4627
4650
 
@@ -4656,7 +4679,7 @@ export interface ShadowFactory {
4656
4679
  * @param class_name name of the class of shadow to get the params for
4657
4680
  * @param focused whether the shadow is for a focused window
4658
4681
  */
4659
- get_params(class_name: string | null, focused: boolean): /* params */ ShadowParams
4682
+ get_params(class_name: string, focused: boolean): /* params */ ShadowParams
4660
4683
  /**
4661
4684
  * Gets the appropriate shadow object for drawing shadows for the
4662
4685
  * specified window shape. The region that we are shadowing is specified
@@ -4670,7 +4693,7 @@ export interface ShadowFactory {
4670
4693
  * @param focused whether the shadow is for a focused window
4671
4694
  * @returns a newly referenced #MetaShadow; unref with meta_shadow_unref()
4672
4695
  */
4673
- get_shadow(shape: WindowShape, width: number, height: number, class_name: string | null, focused: boolean): Shadow
4696
+ get_shadow(shape: WindowShape, width: number, height: number, class_name: string, focused: boolean): Shadow
4674
4697
  /**
4675
4698
  * Updates the shadow parameters for a particular class of shadows
4676
4699
  * for either the focused or unfocused state. If the class name
@@ -4681,7 +4704,7 @@ export interface ShadowFactory {
4681
4704
  * @param focused whether the shadow is for a focused window
4682
4705
  * @param params new parameter values
4683
4706
  */
4684
- set_params(class_name: string | null, focused: boolean, params: ShadowParams): void
4707
+ set_params(class_name: string, focused: boolean, params: ShadowParams): void
4685
4708
 
4686
4709
  // Own signals of Meta-11.Meta.ShadowFactory
4687
4710
 
@@ -4800,14 +4823,14 @@ export interface SoundPlayer {
4800
4823
  * @param description description of the played sound
4801
4824
  * @param cancellable cancellable for the request
4802
4825
  */
4803
- play_from_file(file: Gio.File, description: string | null, cancellable: Gio.Cancellable | null): void
4826
+ play_from_file(file: Gio.File, description: string, cancellable: Gio.Cancellable | null): void
4804
4827
  /**
4805
4828
  * Plays a sound from the sound theme.
4806
4829
  * @param name sound theme name of the event
4807
4830
  * @param description description of the event
4808
4831
  * @param cancellable cancellable for the request
4809
4832
  */
4810
- play_from_theme(name: string | null, description: string | null, cancellable: Gio.Cancellable | null): void
4833
+ play_from_theme(name: string, description: string, cancellable: Gio.Cancellable | null): void
4811
4834
 
4812
4835
  // Class property signals of Meta-11.Meta.SoundPlayer
4813
4836
 
@@ -5205,6 +5228,8 @@ export module StartupSequence {
5205
5228
  timestamp?: number | null
5206
5229
  wmclass?: string | null
5207
5230
  workspace?: number | null
5231
+ applicationId?: string | null
5232
+ iconName?: string | null
5208
5233
  }
5209
5234
 
5210
5235
  }
@@ -5214,7 +5239,9 @@ export interface StartupSequence {
5214
5239
  // Own properties of Meta-11.Meta.StartupSequence
5215
5240
 
5216
5241
  readonly application_id: string | null
5242
+ readonly applicationId: string | null
5217
5243
  readonly icon_name: string | null
5244
+ readonly iconName: string | null
5218
5245
  readonly id: string | null
5219
5246
  readonly name: string | null
5220
5247
  readonly timestamp: number
@@ -5239,8 +5266,8 @@ export interface StartupSequence {
5239
5266
  * @returns the icon name or %NULL.
5240
5267
  */
5241
5268
  get_icon_name(): string | null
5242
- get_id(): string | null
5243
- get_name(): string | null
5269
+ get_id(): string
5270
+ get_name(): string
5244
5271
  get_timestamp(): number
5245
5272
  /**
5246
5273
  * Get the wmclass of the startup sequence.
@@ -5449,30 +5476,48 @@ export interface Window {
5449
5476
 
5450
5477
  readonly above: boolean
5451
5478
  readonly appears_focused: boolean
5479
+ readonly appearsFocused: boolean
5452
5480
  readonly decorated: boolean
5453
5481
  readonly demands_attention: boolean
5482
+ readonly demandsAttention: boolean
5454
5483
  readonly fullscreen: boolean
5455
5484
  readonly gtk_app_menu_object_path: string | null
5485
+ readonly gtkAppMenuObjectPath: string | null
5456
5486
  readonly gtk_application_id: string | null
5487
+ readonly gtkApplicationId: string | null
5457
5488
  readonly gtk_application_object_path: string | null
5489
+ readonly gtkApplicationObjectPath: string | null
5458
5490
  readonly gtk_menubar_object_path: string | null
5491
+ readonly gtkMenubarObjectPath: string | null
5459
5492
  readonly gtk_unique_bus_name: string | null
5493
+ readonly gtkUniqueBusName: string | null
5460
5494
  readonly gtk_window_object_path: string | null
5495
+ readonly gtkWindowObjectPath: string | null
5461
5496
  readonly icon: any
5462
5497
  readonly is_alive: boolean
5498
+ readonly isAlive: boolean
5463
5499
  readonly maximized_horizontally: boolean
5500
+ readonly maximizedHorizontally: boolean
5464
5501
  readonly maximized_vertically: boolean
5502
+ readonly maximizedVertically: boolean
5465
5503
  readonly mini_icon: any
5504
+ readonly miniIcon: any
5466
5505
  readonly minimized: boolean
5467
5506
  readonly mutter_hints: string | null
5507
+ readonly mutterHints: string | null
5468
5508
  readonly on_all_workspaces: boolean
5509
+ readonly onAllWorkspaces: boolean
5469
5510
  readonly resizeable: boolean
5470
5511
  readonly skip_taskbar: boolean
5512
+ readonly skipTaskbar: boolean
5471
5513
  readonly title: string | null
5472
5514
  readonly urgent: boolean
5473
5515
  readonly user_time: number
5516
+ readonly userTime: number
5474
5517
  readonly window_type: WindowType
5518
+ readonly windowType: WindowType
5475
5519
  readonly wm_class: string | null
5520
+ readonly wmClass: string | null
5476
5521
 
5477
5522
  // Owm methods of Meta-11.Meta.Window
5478
5523
 
@@ -5550,7 +5595,7 @@ export interface Window {
5550
5595
  * @returns the wrapper object.
5551
5596
  */
5552
5597
  get_compositor_private(): GObject.Object
5553
- get_description(): string | null
5598
+ get_description(): string
5554
5599
  get_display(): Display
5555
5600
  /**
5556
5601
  * Gets a region representing the outer bounds of the window's frame.
@@ -5623,7 +5668,7 @@ export interface Window {
5623
5668
  * @returns the pid, or 0 if not known.
5624
5669
  */
5625
5670
  get_pid(): number
5626
- get_role(): string | null
5671
+ get_role(): string
5627
5672
  /**
5628
5673
  * Gets an unique id for a sandboxed app (currently flatpaks and snaps are
5629
5674
  * supported).
@@ -5656,7 +5701,7 @@ export interface Window {
5656
5701
  * @returns the matching tiled window or %NULL if it doesn't exist.
5657
5702
  */
5658
5703
  get_tile_match(): Window | null
5659
- get_title(): string | null
5704
+ get_title(): string
5660
5705
  /**
5661
5706
  * Returns the #MetaWindow for the window that is pointed to by the
5662
5707
  * WM_TRANSIENT_FOR hint on this window (see XGetTransientForHint()
@@ -5982,6 +6027,7 @@ export module WindowActor {
5982
6027
  // Own constructor properties of Meta-11.Meta.WindowActor
5983
6028
 
5984
6029
  meta_window?: Window | null
6030
+ metaWindow?: Window | null
5985
6031
  }
5986
6032
 
5987
6033
  }
@@ -5991,6 +6037,7 @@ export interface WindowActor extends Atk.ImplementorIface, Clutter.Animatable, C
5991
6037
  // Own properties of Meta-11.Meta.WindowActor
5992
6038
 
5993
6039
  readonly meta_window: Window
6040
+ readonly metaWindow: Window
5994
6041
 
5995
6042
  // Own fields of Meta-11.Meta.WindowActor
5996
6043
 
@@ -6565,7 +6612,9 @@ export interface Workspace {
6565
6612
 
6566
6613
  readonly active: boolean
6567
6614
  readonly n_windows: number
6615
+ readonly nWindows: number
6568
6616
  readonly workspace_index: number
6617
+ readonly workspaceIndex: number
6569
6618
 
6570
6619
  // Owm methods of Meta-11.Meta.Workspace
6571
6620
 
@@ -6723,8 +6772,11 @@ export interface WorkspaceManager {
6723
6772
  // Own properties of Meta-11.Meta.WorkspaceManager
6724
6773
 
6725
6774
  readonly layout_columns: number
6775
+ readonly layoutColumns: number
6726
6776
  readonly layout_rows: number
6777
+ readonly layoutRows: number
6727
6778
  readonly n_workspaces: number
6779
+ readonly nWorkspaces: number
6728
6780
 
6729
6781
  // Owm methods of Meta-11.Meta.WorkspaceManager
6730
6782
 
@@ -7200,7 +7252,7 @@ export interface Group {
7200
7252
  // Owm methods of Meta-11.Meta.Group
7201
7253
 
7202
7254
  get_size(): number
7203
- get_startup_id(): string | null
7255
+ get_startup_id(): string
7204
7256
  list_windows(): Window[]
7205
7257
  update_layers(): void
7206
7258
  }
@@ -7248,7 +7300,7 @@ export interface KeyBinding {
7248
7300
 
7249
7301
  get_mask(): number
7250
7302
  get_modifiers(): VirtualModifier
7251
- get_name(): string | null
7303
+ get_name(): string
7252
7304
  is_builtin(): boolean
7253
7305
  is_reversed(): boolean
7254
7306
  }
@@ -7354,27 +7406,27 @@ export interface PluginInfo {
7354
7406
  * name of the plugin
7355
7407
  * @field
7356
7408
  */
7357
- name: string | null
7409
+ name: string
7358
7410
  /**
7359
7411
  * version of the plugin
7360
7412
  * @field
7361
7413
  */
7362
- version: string | null
7414
+ version: string
7363
7415
  /**
7364
7416
  * author of the plugin
7365
7417
  * @field
7366
7418
  */
7367
- author: string | null
7419
+ author: string
7368
7420
  /**
7369
7421
  * license of the plugin
7370
7422
  * @field
7371
7423
  */
7372
- license: string | null
7424
+ license: string
7373
7425
  /**
7374
7426
  * description of the plugin
7375
7427
  * @field
7376
7428
  */
7377
- description: string | null
7429
+ description: string
7378
7430
  }
7379
7431
 
7380
7432
  export class PluginInfo {
@@ -7482,7 +7534,7 @@ export interface SelectionSourceClass {
7482
7534
  activated: (source: SelectionSource) => void
7483
7535
  deactivated: (source: SelectionSource) => void
7484
7536
  get_mimetypes: (source: SelectionSource) => string[]
7485
- read_async: (source: SelectionSource, mimetype: string | null, cancellable: Gio.Cancellable | null, callback: Gio.AsyncReadyCallback | null) => void
7537
+ read_async: (source: SelectionSource, mimetype: string, cancellable: Gio.Cancellable | null, callback: Gio.AsyncReadyCallback | null) => void
7486
7538
  read_finish: (source: SelectionSource, result: Gio.AsyncResult) => Gio.InputStream
7487
7539
  }
7488
7540
 
package/meta-11.d.ts CHANGED
@@ -1489,7 +1489,7 @@ enum VirtualModifier {
1489
1489
  MOD5_MASK,
1490
1490
  }
1491
1491
  const CURRENT_TIME: number
1492
- const DEFAULT_ICON_NAME: string | null
1492
+ const DEFAULT_ICON_NAME: string
1493
1493
  const ICON_HEIGHT: number
1494
1494
  const ICON_WIDTH: number
1495
1495
  const MINI_ICON_HEIGHT: number
@@ -1514,7 +1514,7 @@ function clutter_init(): void
1514
1514
  * @param name Human readable name of display server or window manager
1515
1515
  * @returns A new context instance.
1516
1516
  */
1517
- function create_context(name: string | null): Context
1517
+ function create_context(name: string): Context
1518
1518
  /**
1519
1519
  * Disables unredirection, can be useful in situations where having
1520
1520
  * unredirected windows is undesirable like when recording a video.
@@ -1535,8 +1535,8 @@ function focus_stage_window(display: Display, timestamp: number): void
1535
1535
  * @param type a #MetaFrameType
1536
1536
  * @returns the string value
1537
1537
  */
1538
- function frame_type_to_string(type: FrameType): string | null
1539
- function g_utf8_strndup(src: string | null, n: number): string | null
1538
+ function frame_type_to_string(type: FrameType): string
1539
+ function g_utf8_strndup(src: string, n: number): string | null
1540
1540
  /**
1541
1541
  * Accessor for the singleton MetaBackend.
1542
1542
  * @returns The only #MetaBackend there is.
@@ -1550,7 +1550,7 @@ function get_stage_for_display(display: Display): Clutter.Actor
1550
1550
  function get_top_window_group_for_display(display: Display): Clutter.Actor
1551
1551
  function get_window_actors(display: Display): Clutter.Actor[]
1552
1552
  function get_window_group_for_display(display: Display): Clutter.Actor
1553
- function gravity_to_string(gravity: Gravity): string | null
1553
+ function gravity_to_string(gravity: Gravity): string
1554
1554
  /**
1555
1555
  * Returns %TRUE if this instance of Mutter comes from Mutter
1556
1556
  * restarting itself (for example to enable/disable stereo.)
@@ -1568,7 +1568,7 @@ function is_wayland_compositor(): boolean
1568
1568
  * @param handler The new handler function
1569
1569
  * @returns %TRUE if the binding known as @name was found, %FALSE otherwise.
1570
1570
  */
1571
- function keybindings_set_custom_handler(name: string | null, handler: KeyHandlerFunc | null): boolean
1571
+ function keybindings_set_custom_handler(name: string, handler: KeyHandlerFunc | null): boolean
1572
1572
  /**
1573
1573
  * Sets up a callback to be called at some later time. `when` determines the
1574
1574
  * particular later occasion at which it is called. This is much like g_idle_add(),
@@ -1587,9 +1587,9 @@ function later_add(when: LaterType, func: GLib.SourceFunc): number
1587
1587
  */
1588
1588
  function later_remove(later_id: number): void
1589
1589
  function pop_no_msg_prefix(): void
1590
- function preference_to_string(pref: Preference): string | null
1590
+ function preference_to_string(pref: Preference): string
1591
1591
  function prefs_bell_is_audible(): boolean
1592
- function prefs_change_workspace_name(i: number, name: string | null): void
1592
+ function prefs_change_workspace_name(i: number, name: string): void
1593
1593
  function prefs_get_action_double_click_titlebar(): GDesktopEnums.TitlebarAction
1594
1594
  function prefs_get_action_middle_click_titlebar(): GDesktopEnums.TitlebarAction
1595
1595
  function prefs_get_action_right_click_titlebar(): GDesktopEnums.TitlebarAction
@@ -1602,7 +1602,7 @@ function prefs_get_center_new_windows(): boolean
1602
1602
  function prefs_get_check_alive_timeout(): number
1603
1603
  function prefs_get_compositing_manager(): boolean
1604
1604
  function prefs_get_cursor_size(): number
1605
- function prefs_get_cursor_theme(): string | null
1605
+ function prefs_get_cursor_theme(): string
1606
1606
  function prefs_get_disable_workarounds(): boolean
1607
1607
  function prefs_get_drag_threshold(): number
1608
1608
  function prefs_get_draggable_border_width(): number
@@ -1614,7 +1614,7 @@ function prefs_get_focus_new_windows(): GDesktopEnums.FocusNewWindows
1614
1614
  function prefs_get_force_fullscreen(): boolean
1615
1615
  function prefs_get_gnome_accessibility(): boolean
1616
1616
  function prefs_get_gnome_animations(): boolean
1617
- function prefs_get_keybinding_action(name: string | null): KeyBindingAction
1617
+ function prefs_get_keybinding_action(name: string): KeyBindingAction
1618
1618
  function prefs_get_mouse_button_menu(): number
1619
1619
  function prefs_get_mouse_button_mods(): VirtualModifier
1620
1620
  function prefs_get_mouse_button_resize(): number
@@ -1624,7 +1624,7 @@ function prefs_get_show_fallback_app_menu(): boolean
1624
1624
  function prefs_get_titlebar_font(): Pango.FontDescription
1625
1625
  function prefs_get_visual_bell(): boolean
1626
1626
  function prefs_get_visual_bell_type(): GDesktopEnums.VisualBellType
1627
- function prefs_get_workspace_name(i: number): string | null
1627
+ function prefs_get_workspace_name(i: number): string
1628
1628
  function prefs_get_workspaces_only_on_primary(): boolean
1629
1629
  function prefs_set_force_fullscreen(whether: boolean): void
1630
1630
  function prefs_set_num_workspaces(n_workspaces: number): void
@@ -1654,7 +1654,7 @@ function remove_verbose_topic(topic: DebugTopic): void
1654
1654
  * @param context a #MetaContext
1655
1655
  */
1656
1656
  function restart(message: string | null, context: Context): void
1657
- function topic_to_string(topic: DebugTopic): string | null
1657
+ function topic_to_string(topic: DebugTopic): string
1658
1658
  function unsigned_long_equal(v1: any | null, v2: any | null): number
1659
1659
  function unsigned_long_hash(v: any | null): number
1660
1660
  function x11_error_trap_pop(x11_display: X11Display): void
@@ -1950,7 +1950,7 @@ interface Backend extends Gio.Initable {
1950
1950
  is_headless(): boolean
1951
1951
  is_rendering_hardware_accelerated(): boolean
1952
1952
  lock_layout_group(idx: number): void
1953
- set_keymap(layouts: string | null, variants: string | null, options: string | null): void
1953
+ set_keymap(layouts: string, variants: string, options: string): void
1954
1954
 
1955
1955
  // Own signals of Meta-11.Meta.Backend
1956
1956
 
@@ -2019,6 +2019,7 @@ module Background {
2019
2019
  // Own constructor properties of Meta-11.Meta.Background
2020
2020
 
2021
2021
  meta_display?: Display | null
2022
+ metaDisplay?: Display | null
2022
2023
  }
2023
2024
 
2024
2025
  }
@@ -2028,6 +2029,7 @@ interface Background {
2028
2029
  // Own properties of Meta-11.Meta.Background
2029
2030
 
2030
2031
  readonly meta_display: Display
2032
+ readonly metaDisplay: Display
2031
2033
 
2032
2034
  // Owm methods of Meta-11.Meta.Background
2033
2035
 
@@ -2090,6 +2092,7 @@ module BackgroundActor {
2090
2092
 
2091
2093
  meta_display?: Display | null
2092
2094
  monitor?: number | null
2095
+ metaDisplay?: Display | null
2093
2096
  }
2094
2097
 
2095
2098
  }
@@ -2099,6 +2102,7 @@ interface BackgroundActor extends Atk.ImplementorIface, Clutter.Animatable, Clut
2099
2102
  // Own properties of Meta-11.Meta.BackgroundActor
2100
2103
 
2101
2104
  readonly meta_display: Display
2105
+ readonly metaDisplay: Display
2102
2106
  readonly monitor: number
2103
2107
 
2104
2108
  // Class property signals of Meta-11.Meta.BackgroundActor
@@ -2393,6 +2397,11 @@ module BackgroundContent {
2393
2397
  rounded_clip_radius?: number | null
2394
2398
  vignette?: boolean | null
2395
2399
  vignette_sharpness?: number | null
2400
+ gradientHeight?: number | null
2401
+ gradientMaxDarkness?: number | null
2402
+ metaDisplay?: Display | null
2403
+ roundedClipRadius?: number | null
2404
+ vignetteSharpness?: number | null
2396
2405
  }
2397
2406
 
2398
2407
  }
@@ -2405,12 +2414,17 @@ interface BackgroundContent extends Clutter.Content {
2405
2414
  brightness: number
2406
2415
  gradient: boolean
2407
2416
  gradient_height: number
2417
+ gradientHeight: number
2408
2418
  gradient_max_darkness: number
2419
+ gradientMaxDarkness: number
2409
2420
  readonly meta_display: Display
2421
+ readonly metaDisplay: Display
2410
2422
  readonly monitor: number
2411
2423
  rounded_clip_radius: number
2424
+ roundedClipRadius: number
2412
2425
  vignette: boolean
2413
2426
  vignette_sharpness: number
2427
+ vignetteSharpness: number
2414
2428
 
2415
2429
  // Owm methods of Meta-11.Meta.BackgroundContent
2416
2430
 
@@ -3071,6 +3085,7 @@ module Context {
3071
3085
 
3072
3086
  name?: string | null
3073
3087
  unsafe_mode?: boolean | null
3088
+ unsafeMode?: boolean | null
3074
3089
  }
3075
3090
 
3076
3091
  }
@@ -3081,6 +3096,7 @@ interface Context {
3081
3096
 
3082
3097
  readonly name: string | null
3083
3098
  unsafe_mode: boolean
3099
+ unsafeMode: boolean
3084
3100
 
3085
3101
  // Own fields of Meta-11.Meta.Context
3086
3102
 
@@ -3115,9 +3131,9 @@ interface Context {
3115
3131
  */
3116
3132
  restore_rlimit_nofile(): boolean
3117
3133
  run_main_loop(): boolean
3118
- set_gnome_wm_keybindings(wm_keybindings: string | null): void
3134
+ set_gnome_wm_keybindings(wm_keybindings: string): void
3119
3135
  set_plugin_gtype(plugin_gtype: GObject.GType): void
3120
- set_plugin_name(plugin_name: string | null): void
3136
+ set_plugin_name(plugin_name: string): void
3121
3137
  setup(): boolean
3122
3138
  start(): boolean
3123
3139
  terminate(): void
@@ -3463,7 +3479,9 @@ interface Display {
3463
3479
  // Own properties of Meta-11.Meta.Display
3464
3480
 
3465
3481
  readonly compositor_modifiers: Clutter.ModifierType
3482
+ readonly compositorModifiers: Clutter.ModifierType
3466
3483
  readonly focus_window: Window
3484
+ readonly focusWindow: Window
3467
3485
 
3468
3486
  // Owm methods of Meta-11.Meta.Display
3469
3487
 
@@ -3492,7 +3510,7 @@ interface Display {
3492
3510
  * @param handler function to run when the keybinding is invoked
3493
3511
  * @returns the corresponding keybinding action if the keybinding was added successfully, otherwise %META_KEYBINDING_ACTION_NONE
3494
3512
  */
3495
- add_keybinding(name: string | null, settings: Gio.Settings, flags: KeyBindingFlags, handler: KeyHandlerFunc): number
3513
+ add_keybinding(name: string, settings: Gio.Settings, flags: KeyBindingFlags, handler: KeyHandlerFunc): number
3496
3514
  begin_grab_op(window: Window, op: GrabOp, pointer_already_grabbed: boolean, frame_action: boolean, button: number, modmask: number, timestamp: number, root_x: number, root_y: number): boolean
3497
3515
  /**
3498
3516
  * Sets the mouse-mode flag to %FALSE, which means that motion events are
@@ -3607,7 +3625,7 @@ interface Display {
3607
3625
  */
3608
3626
  get_tab_next(type: TabList, workspace: Workspace, window: Window | null, backward: boolean): Window
3609
3627
  get_workspace_manager(): WorkspaceManager
3610
- grab_accelerator(accelerator: string | null, flags: KeyBindingFlags): number
3628
+ grab_accelerator(accelerator: string, flags: KeyBindingFlags): number
3611
3629
  /**
3612
3630
  * Tells whether the event sequence is the used for pointer emulation
3613
3631
  * and single-touch interaction.
@@ -3627,7 +3645,7 @@ interface Display {
3627
3645
  * @param name name of the keybinding to remove
3628
3646
  * @returns %TRUE if the binding has been removed successfully, otherwise %FALSE
3629
3647
  */
3630
- remove_keybinding(name: string | null): boolean
3648
+ remove_keybinding(name: string): boolean
3631
3649
  request_pad_osd(pad: Clutter.InputDevice, edition_mode: boolean): void
3632
3650
  set_cursor(cursor: Cursor): void
3633
3651
  set_input_focus(window: Window, focus_frame: boolean, timestamp: number): void
@@ -4019,8 +4037,11 @@ interface MonitorManager {
4019
4037
 
4020
4038
  readonly backend: Backend
4021
4039
  readonly has_builtin_panel: boolean
4040
+ readonly hasBuiltinPanel: boolean
4022
4041
  readonly night_light_supported: boolean
4042
+ readonly nightLightSupported: boolean
4023
4043
  readonly panel_orientation_managed: boolean
4044
+ readonly panelOrientationManaged: boolean
4024
4045
 
4025
4046
  // Owm methods of Meta-11.Meta.MonitorManager
4026
4047
 
@@ -4029,7 +4050,7 @@ interface MonitorManager {
4029
4050
  * Returns whether the built-in display (i.e. a laptop panel) is turned on.
4030
4051
  */
4031
4052
  get_is_builtin_display_on(): boolean
4032
- get_monitor_for_connector(connector: string | null): number
4053
+ get_monitor_for_connector(connector: string): number
4033
4054
  get_panel_orientation_managed(): boolean
4034
4055
  get_switch_config(): MonitorSwitchConfigType
4035
4056
  switch_config(config_type: MonitorSwitchConfigType): void
@@ -4314,6 +4335,7 @@ module RemoteAccessHandle {
4314
4335
  // Own constructor properties of Meta-11.Meta.RemoteAccessHandle
4315
4336
 
4316
4337
  is_recording?: boolean | null
4338
+ isRecording?: boolean | null
4317
4339
  }
4318
4340
 
4319
4341
  }
@@ -4323,6 +4345,7 @@ interface RemoteAccessHandle {
4323
4345
  // Own properties of Meta-11.Meta.RemoteAccessHandle
4324
4346
 
4325
4347
  readonly is_recording: boolean
4348
+ readonly isRecording: boolean
4326
4349
 
4327
4350
  // Own fields of Meta-11.Meta.RemoteAccessHandle
4328
4351
 
@@ -4420,7 +4443,7 @@ interface Selection {
4420
4443
  * @param cancellable Cancellable
4421
4444
  * @param callback User callback
4422
4445
  */
4423
- transfer_async(selection_type: SelectionType, mimetype: string | null, size: number, output: Gio.OutputStream, cancellable: Gio.Cancellable | null, callback: Gio.AsyncReadyCallback<this> | null): void
4446
+ transfer_async(selection_type: SelectionType, mimetype: string, size: number, output: Gio.OutputStream, cancellable: Gio.Cancellable | null, callback: Gio.AsyncReadyCallback<this> | null): void
4424
4447
 
4425
4448
  // Overloads of transfer_async
4426
4449
 
@@ -4436,7 +4459,7 @@ interface Selection {
4436
4459
  * @param cancellable Cancellable
4437
4460
  * @returns A Promise of: #TRUE if the transfer was successful.
4438
4461
  */
4439
- transfer_async(selection_type: SelectionType, mimetype: string | null, size: number, output: Gio.OutputStream, cancellable: Gio.Cancellable | null): globalThis.Promise<boolean>
4462
+ transfer_async(selection_type: SelectionType, mimetype: string, size: number, output: Gio.OutputStream, cancellable: Gio.Cancellable | null): globalThis.Promise<boolean>
4440
4463
  /**
4441
4464
  * Finishes the transfer of a queried mimetype.
4442
4465
  * @param result The async result
@@ -4524,7 +4547,7 @@ interface SelectionSource {
4524
4547
  * @returns #TRUE if the source owns a selection.
4525
4548
  */
4526
4549
  is_active(): boolean
4527
- read_async(mimetype: string | null, cancellable: Gio.Cancellable | null, callback: Gio.AsyncReadyCallback<this> | null): void
4550
+ read_async(mimetype: string, cancellable: Gio.Cancellable | null, callback: Gio.AsyncReadyCallback<this> | null): void
4528
4551
 
4529
4552
  // Overloads of read_async
4530
4553
 
@@ -4536,7 +4559,7 @@ interface SelectionSource {
4536
4559
  * @param cancellable
4537
4560
  * @returns A Promise of: The resulting #GInputStream
4538
4561
  */
4539
- read_async(mimetype: string | null, cancellable: Gio.Cancellable | null): globalThis.Promise<Gio.InputStream>
4562
+ read_async(mimetype: string, cancellable: Gio.Cancellable | null): globalThis.Promise<Gio.InputStream>
4540
4563
  /**
4541
4564
  * Finishes a read from the selection source.
4542
4565
  * @param result The async result
@@ -4554,7 +4577,7 @@ interface SelectionSource {
4554
4577
  * @returns The supported mimetypes
4555
4578
  */
4556
4579
  vfunc_get_mimetypes(): string[]
4557
- vfunc_read_async(mimetype: string | null, cancellable: Gio.Cancellable | null, callback: Gio.AsyncReadyCallback<this> | null): void
4580
+ vfunc_read_async(mimetype: string, cancellable: Gio.Cancellable | null, callback: Gio.AsyncReadyCallback<this> | null): void
4558
4581
  /**
4559
4582
  * Finishes a read from the selection source.
4560
4583
  * @virtual
@@ -4622,8 +4645,8 @@ class SelectionSourceMemory extends SelectionSource {
4622
4645
  // Constructors of Meta-11.Meta.SelectionSourceMemory
4623
4646
 
4624
4647
  constructor(config?: SelectionSourceMemory.ConstructorProperties)
4625
- constructor(mimetype: string | null, content: GLib.Bytes)
4626
- static new(mimetype: string | null, content: GLib.Bytes): SelectionSourceMemory
4648
+ constructor(mimetype: string, content: GLib.Bytes)
4649
+ static new(mimetype: string, content: GLib.Bytes): SelectionSourceMemory
4627
4650
  _init(config?: SelectionSourceMemory.ConstructorProperties): void
4628
4651
  }
4629
4652
 
@@ -4658,7 +4681,7 @@ interface ShadowFactory {
4658
4681
  * @param class_name name of the class of shadow to get the params for
4659
4682
  * @param focused whether the shadow is for a focused window
4660
4683
  */
4661
- get_params(class_name: string | null, focused: boolean): /* params */ ShadowParams
4684
+ get_params(class_name: string, focused: boolean): /* params */ ShadowParams
4662
4685
  /**
4663
4686
  * Gets the appropriate shadow object for drawing shadows for the
4664
4687
  * specified window shape. The region that we are shadowing is specified
@@ -4672,7 +4695,7 @@ interface ShadowFactory {
4672
4695
  * @param focused whether the shadow is for a focused window
4673
4696
  * @returns a newly referenced #MetaShadow; unref with meta_shadow_unref()
4674
4697
  */
4675
- get_shadow(shape: WindowShape, width: number, height: number, class_name: string | null, focused: boolean): Shadow
4698
+ get_shadow(shape: WindowShape, width: number, height: number, class_name: string, focused: boolean): Shadow
4676
4699
  /**
4677
4700
  * Updates the shadow parameters for a particular class of shadows
4678
4701
  * for either the focused or unfocused state. If the class name
@@ -4683,7 +4706,7 @@ interface ShadowFactory {
4683
4706
  * @param focused whether the shadow is for a focused window
4684
4707
  * @param params new parameter values
4685
4708
  */
4686
- set_params(class_name: string | null, focused: boolean, params: ShadowParams): void
4709
+ set_params(class_name: string, focused: boolean, params: ShadowParams): void
4687
4710
 
4688
4711
  // Own signals of Meta-11.Meta.ShadowFactory
4689
4712
 
@@ -4802,14 +4825,14 @@ interface SoundPlayer {
4802
4825
  * @param description description of the played sound
4803
4826
  * @param cancellable cancellable for the request
4804
4827
  */
4805
- play_from_file(file: Gio.File, description: string | null, cancellable: Gio.Cancellable | null): void
4828
+ play_from_file(file: Gio.File, description: string, cancellable: Gio.Cancellable | null): void
4806
4829
  /**
4807
4830
  * Plays a sound from the sound theme.
4808
4831
  * @param name sound theme name of the event
4809
4832
  * @param description description of the event
4810
4833
  * @param cancellable cancellable for the request
4811
4834
  */
4812
- play_from_theme(name: string | null, description: string | null, cancellable: Gio.Cancellable | null): void
4835
+ play_from_theme(name: string, description: string, cancellable: Gio.Cancellable | null): void
4813
4836
 
4814
4837
  // Class property signals of Meta-11.Meta.SoundPlayer
4815
4838
 
@@ -5207,6 +5230,8 @@ module StartupSequence {
5207
5230
  timestamp?: number | null
5208
5231
  wmclass?: string | null
5209
5232
  workspace?: number | null
5233
+ applicationId?: string | null
5234
+ iconName?: string | null
5210
5235
  }
5211
5236
 
5212
5237
  }
@@ -5216,7 +5241,9 @@ interface StartupSequence {
5216
5241
  // Own properties of Meta-11.Meta.StartupSequence
5217
5242
 
5218
5243
  readonly application_id: string | null
5244
+ readonly applicationId: string | null
5219
5245
  readonly icon_name: string | null
5246
+ readonly iconName: string | null
5220
5247
  readonly id: string | null
5221
5248
  readonly name: string | null
5222
5249
  readonly timestamp: number
@@ -5241,8 +5268,8 @@ interface StartupSequence {
5241
5268
  * @returns the icon name or %NULL.
5242
5269
  */
5243
5270
  get_icon_name(): string | null
5244
- get_id(): string | null
5245
- get_name(): string | null
5271
+ get_id(): string
5272
+ get_name(): string
5246
5273
  get_timestamp(): number
5247
5274
  /**
5248
5275
  * Get the wmclass of the startup sequence.
@@ -5451,30 +5478,48 @@ interface Window {
5451
5478
 
5452
5479
  readonly above: boolean
5453
5480
  readonly appears_focused: boolean
5481
+ readonly appearsFocused: boolean
5454
5482
  readonly decorated: boolean
5455
5483
  readonly demands_attention: boolean
5484
+ readonly demandsAttention: boolean
5456
5485
  readonly fullscreen: boolean
5457
5486
  readonly gtk_app_menu_object_path: string | null
5487
+ readonly gtkAppMenuObjectPath: string | null
5458
5488
  readonly gtk_application_id: string | null
5489
+ readonly gtkApplicationId: string | null
5459
5490
  readonly gtk_application_object_path: string | null
5491
+ readonly gtkApplicationObjectPath: string | null
5460
5492
  readonly gtk_menubar_object_path: string | null
5493
+ readonly gtkMenubarObjectPath: string | null
5461
5494
  readonly gtk_unique_bus_name: string | null
5495
+ readonly gtkUniqueBusName: string | null
5462
5496
  readonly gtk_window_object_path: string | null
5497
+ readonly gtkWindowObjectPath: string | null
5463
5498
  readonly icon: any
5464
5499
  readonly is_alive: boolean
5500
+ readonly isAlive: boolean
5465
5501
  readonly maximized_horizontally: boolean
5502
+ readonly maximizedHorizontally: boolean
5466
5503
  readonly maximized_vertically: boolean
5504
+ readonly maximizedVertically: boolean
5467
5505
  readonly mini_icon: any
5506
+ readonly miniIcon: any
5468
5507
  readonly minimized: boolean
5469
5508
  readonly mutter_hints: string | null
5509
+ readonly mutterHints: string | null
5470
5510
  readonly on_all_workspaces: boolean
5511
+ readonly onAllWorkspaces: boolean
5471
5512
  readonly resizeable: boolean
5472
5513
  readonly skip_taskbar: boolean
5514
+ readonly skipTaskbar: boolean
5473
5515
  readonly title: string | null
5474
5516
  readonly urgent: boolean
5475
5517
  readonly user_time: number
5518
+ readonly userTime: number
5476
5519
  readonly window_type: WindowType
5520
+ readonly windowType: WindowType
5477
5521
  readonly wm_class: string | null
5522
+ readonly wmClass: string | null
5478
5523
 
5479
5524
  // Owm methods of Meta-11.Meta.Window
5480
5525
 
@@ -5552,7 +5597,7 @@ interface Window {
5552
5597
  * @returns the wrapper object.
5553
5598
  */
5554
5599
  get_compositor_private(): GObject.Object
5555
- get_description(): string | null
5600
+ get_description(): string
5556
5601
  get_display(): Display
5557
5602
  /**
5558
5603
  * Gets a region representing the outer bounds of the window's frame.
@@ -5625,7 +5670,7 @@ interface Window {
5625
5670
  * @returns the pid, or 0 if not known.
5626
5671
  */
5627
5672
  get_pid(): number
5628
- get_role(): string | null
5673
+ get_role(): string
5629
5674
  /**
5630
5675
  * Gets an unique id for a sandboxed app (currently flatpaks and snaps are
5631
5676
  * supported).
@@ -5658,7 +5703,7 @@ interface Window {
5658
5703
  * @returns the matching tiled window or %NULL if it doesn't exist.
5659
5704
  */
5660
5705
  get_tile_match(): Window | null
5661
- get_title(): string | null
5706
+ get_title(): string
5662
5707
  /**
5663
5708
  * Returns the #MetaWindow for the window that is pointed to by the
5664
5709
  * WM_TRANSIENT_FOR hint on this window (see XGetTransientForHint()
@@ -5984,6 +6029,7 @@ module WindowActor {
5984
6029
  // Own constructor properties of Meta-11.Meta.WindowActor
5985
6030
 
5986
6031
  meta_window?: Window | null
6032
+ metaWindow?: Window | null
5987
6033
  }
5988
6034
 
5989
6035
  }
@@ -5993,6 +6039,7 @@ interface WindowActor extends Atk.ImplementorIface, Clutter.Animatable, Clutter.
5993
6039
  // Own properties of Meta-11.Meta.WindowActor
5994
6040
 
5995
6041
  readonly meta_window: Window
6042
+ readonly metaWindow: Window
5996
6043
 
5997
6044
  // Own fields of Meta-11.Meta.WindowActor
5998
6045
 
@@ -6567,7 +6614,9 @@ interface Workspace {
6567
6614
 
6568
6615
  readonly active: boolean
6569
6616
  readonly n_windows: number
6617
+ readonly nWindows: number
6570
6618
  readonly workspace_index: number
6619
+ readonly workspaceIndex: number
6571
6620
 
6572
6621
  // Owm methods of Meta-11.Meta.Workspace
6573
6622
 
@@ -6725,8 +6774,11 @@ interface WorkspaceManager {
6725
6774
  // Own properties of Meta-11.Meta.WorkspaceManager
6726
6775
 
6727
6776
  readonly layout_columns: number
6777
+ readonly layoutColumns: number
6728
6778
  readonly layout_rows: number
6779
+ readonly layoutRows: number
6729
6780
  readonly n_workspaces: number
6781
+ readonly nWorkspaces: number
6730
6782
 
6731
6783
  // Owm methods of Meta-11.Meta.WorkspaceManager
6732
6784
 
@@ -7202,7 +7254,7 @@ interface Group {
7202
7254
  // Owm methods of Meta-11.Meta.Group
7203
7255
 
7204
7256
  get_size(): number
7205
- get_startup_id(): string | null
7257
+ get_startup_id(): string
7206
7258
  list_windows(): Window[]
7207
7259
  update_layers(): void
7208
7260
  }
@@ -7250,7 +7302,7 @@ interface KeyBinding {
7250
7302
 
7251
7303
  get_mask(): number
7252
7304
  get_modifiers(): VirtualModifier
7253
- get_name(): string | null
7305
+ get_name(): string
7254
7306
  is_builtin(): boolean
7255
7307
  is_reversed(): boolean
7256
7308
  }
@@ -7356,27 +7408,27 @@ interface PluginInfo {
7356
7408
  * name of the plugin
7357
7409
  * @field
7358
7410
  */
7359
- name: string | null
7411
+ name: string
7360
7412
  /**
7361
7413
  * version of the plugin
7362
7414
  * @field
7363
7415
  */
7364
- version: string | null
7416
+ version: string
7365
7417
  /**
7366
7418
  * author of the plugin
7367
7419
  * @field
7368
7420
  */
7369
- author: string | null
7421
+ author: string
7370
7422
  /**
7371
7423
  * license of the plugin
7372
7424
  * @field
7373
7425
  */
7374
- license: string | null
7426
+ license: string
7375
7427
  /**
7376
7428
  * description of the plugin
7377
7429
  * @field
7378
7430
  */
7379
- description: string | null
7431
+ description: string
7380
7432
  }
7381
7433
 
7382
7434
  class PluginInfo {
@@ -7484,7 +7536,7 @@ interface SelectionSourceClass {
7484
7536
  activated: (source: SelectionSource) => void
7485
7537
  deactivated: (source: SelectionSource) => void
7486
7538
  get_mimetypes: (source: SelectionSource) => string[]
7487
- read_async: (source: SelectionSource, mimetype: string | null, cancellable: Gio.Cancellable | null, callback: Gio.AsyncReadyCallback | null) => void
7539
+ read_async: (source: SelectionSource, mimetype: string, cancellable: Gio.Cancellable | null, callback: Gio.AsyncReadyCallback | null) => void
7488
7540
  read_finish: (source: SelectionSource, result: Gio.AsyncResult) => Gio.InputStream
7489
7541
  }
7490
7542
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@girs/meta-11",
3
- "version": "11.0.0-3.2.5",
3
+ "version": "11.0.0-3.2.7",
4
4
  "description": "GJS TypeScript type definitions for Meta-11, generated from library version 11.0.0",
5
5
  "type": "module",
6
6
  "module": "meta-11.js",
@@ -25,29 +25,29 @@
25
25
  "test:cjs": "NODE_OPTIONS=--max_old_space_size=9216 tsc --noEmit meta-11.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-11": "^11.0.0-3.2.5",
31
- "@girs/cogl-11": "^11.0.0-3.2.5",
32
- "@girs/coglpango-11": "^11.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/gdk-3.0": "^3.24.38-3.2.5",
36
- "@girs/gdkpixbuf-2.0": "^2.0.0-3.2.5",
37
- "@girs/gio-2.0": "^2.78.0-3.2.5",
38
- "@girs/gjs": "^3.2.5",
39
- "@girs/gl-1.0": "^1.0.0-3.2.5",
40
- "@girs/glib-2.0": "^2.78.0-3.2.5",
41
- "@girs/gmodule-2.0": "^2.0.0-3.2.5",
42
- "@girs/gobject-2.0": "^2.78.0-3.2.5",
43
- "@girs/graphene-1.0": "^1.0.0-3.2.5",
44
- "@girs/gtk-3.0": "^3.24.38-3.2.5",
45
- "@girs/harfbuzz-0.0": "^8.2.1-3.2.5",
46
- "@girs/json-1.0": "^1.7.1-3.2.5",
47
- "@girs/pango-1.0": "^1.51.0-3.2.5",
48
- "@girs/pangocairo-1.0": "^1.0.0-3.2.5",
49
- "@girs/xfixes-4.0": "^4.0.0-3.2.5",
50
- "@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-11": "^11.0.0-3.2.7",
31
+ "@girs/cogl-11": "^11.0.0-3.2.7",
32
+ "@girs/coglpango-11": "^11.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/gdk-3.0": "^3.24.38-3.2.7",
36
+ "@girs/gdkpixbuf-2.0": "^2.0.0-3.2.7",
37
+ "@girs/gio-2.0": "^2.78.0-3.2.7",
38
+ "@girs/gjs": "^3.2.7",
39
+ "@girs/gl-1.0": "^1.0.0-3.2.7",
40
+ "@girs/glib-2.0": "^2.78.0-3.2.7",
41
+ "@girs/gmodule-2.0": "^2.0.0-3.2.7",
42
+ "@girs/gobject-2.0": "^2.78.0-3.2.7",
43
+ "@girs/graphene-1.0": "^1.0.0-3.2.7",
44
+ "@girs/gtk-3.0": "^3.24.38-3.2.7",
45
+ "@girs/harfbuzz-0.0": "^8.2.1-3.2.7",
46
+ "@girs/json-1.0": "^1.7.1-3.2.7",
47
+ "@girs/pango-1.0": "^1.51.0-3.2.7",
48
+ "@girs/pangocairo-1.0": "^1.0.0-3.2.7",
49
+ "@girs/xfixes-4.0": "^4.0.0-3.2.7",
50
+ "@girs/xlib-2.0": "^2.0.0-3.2.7"
51
51
  },
52
52
  "devDependencies": {
53
53
  "typescript": "*"