@girs/meta-10 10.0.0-3.2.5 → 10.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-10)
6
6
 
7
7
 
8
- GJS TypeScript type definitions for Meta-10, generated from library version 10.0.0 using [ts-for-gir](https://github.com/gjsify/ts-for-gir) v3.2.5.
8
+ GJS TypeScript type definitions for Meta-10, generated from library version 10.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-10.d.cts CHANGED
@@ -1458,7 +1458,7 @@ export enum VirtualModifier {
1458
1458
  MOD5_MASK,
1459
1459
  }
1460
1460
  export const CURRENT_TIME: number
1461
- export const DEFAULT_ICON_NAME: string | null
1461
+ export const DEFAULT_ICON_NAME: string
1462
1462
  export const ICON_HEIGHT: number
1463
1463
  export const ICON_WIDTH: number
1464
1464
  export const MINI_ICON_HEIGHT: number
@@ -1483,7 +1483,7 @@ export function clutter_init(): void
1483
1483
  * @param name Human readable name of display server or window manager
1484
1484
  * @returns A new context instance.
1485
1485
  */
1486
- export function create_context(name: string | null): Context
1486
+ export function create_context(name: string): Context
1487
1487
  /**
1488
1488
  * Disables unredirection, can be useful in situations where having
1489
1489
  * unredirected windows is undesirable like when recording a video.
@@ -1504,8 +1504,8 @@ export function focus_stage_window(display: Display, timestamp: number): void
1504
1504
  * @param type a #MetaFrameType
1505
1505
  * @returns the string value
1506
1506
  */
1507
- export function frame_type_to_string(type: FrameType): string | null
1508
- export function g_utf8_strndup(src: string | null, n: number): string | null
1507
+ export function frame_type_to_string(type: FrameType): string
1508
+ export function g_utf8_strndup(src: string, n: number): string | null
1509
1509
  /**
1510
1510
  * Accessor for the singleton MetaBackend.
1511
1511
  * @returns The only #MetaBackend there is.
@@ -1519,7 +1519,7 @@ export function get_stage_for_display(display: Display): Clutter.Actor
1519
1519
  export function get_top_window_group_for_display(display: Display): Clutter.Actor
1520
1520
  export function get_window_actors(display: Display): Clutter.Actor[]
1521
1521
  export function get_window_group_for_display(display: Display): Clutter.Actor
1522
- export function gravity_to_string(gravity: Gravity): string | null
1522
+ export function gravity_to_string(gravity: Gravity): string
1523
1523
  /**
1524
1524
  * Returns %TRUE if this instance of Mutter comes from Mutter
1525
1525
  * restarting itself (for example to enable/disable stereo.)
@@ -1547,7 +1547,7 @@ export function is_wayland_compositor(): boolean
1547
1547
  * @param handler The new handler function
1548
1548
  * @returns %TRUE if the binding known as @name was found, %FALSE otherwise.
1549
1549
  */
1550
- export function keybindings_set_custom_handler(name: string | null, handler: KeyHandlerFunc | null): boolean
1550
+ export function keybindings_set_custom_handler(name: string, handler: KeyHandlerFunc | null): boolean
1551
1551
  /**
1552
1552
  * Sets up a callback to be called at some later time. `when` determines the
1553
1553
  * particular later occasion at which it is called. This is much like g_idle_add(),
@@ -1566,9 +1566,9 @@ export function later_add(when: LaterType, func: GLib.SourceFunc): number
1566
1566
  */
1567
1567
  export function later_remove(later_id: number): void
1568
1568
  export function pop_no_msg_prefix(): void
1569
- export function preference_to_string(pref: Preference): string | null
1569
+ export function preference_to_string(pref: Preference): string
1570
1570
  export function prefs_bell_is_audible(): boolean
1571
- export function prefs_change_workspace_name(i: number, name: string | null): void
1571
+ export function prefs_change_workspace_name(i: number, name: string): void
1572
1572
  export function prefs_get_action_double_click_titlebar(): GDesktopEnums.TitlebarAction
1573
1573
  export function prefs_get_action_middle_click_titlebar(): GDesktopEnums.TitlebarAction
1574
1574
  export function prefs_get_action_right_click_titlebar(): GDesktopEnums.TitlebarAction
@@ -1581,7 +1581,7 @@ export function prefs_get_center_new_windows(): boolean
1581
1581
  export function prefs_get_check_alive_timeout(): number
1582
1582
  export function prefs_get_compositing_manager(): boolean
1583
1583
  export function prefs_get_cursor_size(): number
1584
- export function prefs_get_cursor_theme(): string | null
1584
+ export function prefs_get_cursor_theme(): string
1585
1585
  export function prefs_get_disable_workarounds(): boolean
1586
1586
  export function prefs_get_drag_threshold(): number
1587
1587
  export function prefs_get_draggable_border_width(): number
@@ -1593,7 +1593,7 @@ export function prefs_get_focus_new_windows(): GDesktopEnums.FocusNewWindows
1593
1593
  export function prefs_get_force_fullscreen(): boolean
1594
1594
  export function prefs_get_gnome_accessibility(): boolean
1595
1595
  export function prefs_get_gnome_animations(): boolean
1596
- export function prefs_get_keybinding_action(name: string | null): KeyBindingAction
1596
+ export function prefs_get_keybinding_action(name: string): KeyBindingAction
1597
1597
  export function prefs_get_mouse_button_menu(): number
1598
1598
  export function prefs_get_mouse_button_mods(): VirtualModifier
1599
1599
  export function prefs_get_mouse_button_resize(): number
@@ -1603,7 +1603,7 @@ export function prefs_get_show_fallback_app_menu(): boolean
1603
1603
  export function prefs_get_titlebar_font(): Pango.FontDescription
1604
1604
  export function prefs_get_visual_bell(): boolean
1605
1605
  export function prefs_get_visual_bell_type(): GDesktopEnums.VisualBellType
1606
- export function prefs_get_workspace_name(i: number): string | null
1606
+ export function prefs_get_workspace_name(i: number): string
1607
1607
  export function prefs_get_workspaces_only_on_primary(): boolean
1608
1608
  export function prefs_set_force_fullscreen(whether: boolean): void
1609
1609
  export function prefs_set_num_workspaces(n_workspaces: number): void
@@ -1632,7 +1632,7 @@ export function remove_verbose_topic(topic: DebugTopic): void
1632
1632
  * @param message message to display to the user, or %NULL
1633
1633
  */
1634
1634
  export function restart(message: string | null): void
1635
- export function topic_to_string(topic: DebugTopic): string | null
1635
+ export function topic_to_string(topic: DebugTopic): string
1636
1636
  export function unsigned_long_equal(v1: any | null, v2: any | null): number
1637
1637
  export function unsigned_long_hash(v: any | null): number
1638
1638
  export function x11_error_trap_pop(x11_display: X11Display): void
@@ -1926,7 +1926,7 @@ export interface Backend extends Gio.Initable {
1926
1926
  is_headless(): boolean
1927
1927
  is_rendering_hardware_accelerated(): boolean
1928
1928
  lock_layout_group(idx: number): void
1929
- set_keymap(layouts: string | null, variants: string | null, options: string | null): void
1929
+ set_keymap(layouts: string, variants: string, options: string): void
1930
1930
 
1931
1931
  // Own signals of Meta-10.Meta.Backend
1932
1932
 
@@ -1992,6 +1992,7 @@ export module Background {
1992
1992
  // Own constructor properties of Meta-10.Meta.Background
1993
1993
 
1994
1994
  meta_display?: Display | null
1995
+ metaDisplay?: Display | null
1995
1996
  }
1996
1997
 
1997
1998
  }
@@ -2001,6 +2002,7 @@ export interface Background {
2001
2002
  // Own properties of Meta-10.Meta.Background
2002
2003
 
2003
2004
  readonly meta_display: Display
2005
+ readonly metaDisplay: Display
2004
2006
 
2005
2007
  // Owm methods of Meta-10.Meta.Background
2006
2008
 
@@ -2063,6 +2065,7 @@ export module BackgroundActor {
2063
2065
 
2064
2066
  meta_display?: Display | null
2065
2067
  monitor?: number | null
2068
+ metaDisplay?: Display | null
2066
2069
  }
2067
2070
 
2068
2071
  }
@@ -2072,6 +2075,7 @@ export interface BackgroundActor extends Atk.ImplementorIface, Clutter.Animatabl
2072
2075
  // Own properties of Meta-10.Meta.BackgroundActor
2073
2076
 
2074
2077
  readonly meta_display: Display
2078
+ readonly metaDisplay: Display
2075
2079
  readonly monitor: number
2076
2080
 
2077
2081
  // Class property signals of Meta-10.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-10.Meta.BackgroundContent
2386
2400
 
@@ -3037,6 +3051,7 @@ export module Context {
3037
3051
 
3038
3052
  name?: string | null
3039
3053
  unsafe_mode?: boolean | null
3054
+ unsafeMode?: boolean | null
3040
3055
  }
3041
3056
 
3042
3057
  }
@@ -3047,6 +3062,7 @@ export interface Context {
3047
3062
 
3048
3063
  readonly name: string | null
3049
3064
  unsafe_mode: boolean
3065
+ unsafeMode: boolean
3050
3066
 
3051
3067
  // Own fields of Meta-10.Meta.Context
3052
3068
 
@@ -3081,9 +3097,9 @@ export interface Context {
3081
3097
  */
3082
3098
  restore_rlimit_nofile(): boolean
3083
3099
  run_main_loop(): boolean
3084
- set_gnome_wm_keybindings(wm_keybindings: string | null): void
3100
+ set_gnome_wm_keybindings(wm_keybindings: string): void
3085
3101
  set_plugin_gtype(plugin_gtype: GObject.GType): void
3086
- set_plugin_name(plugin_name: string | null): void
3102
+ set_plugin_name(plugin_name: string): void
3087
3103
  setup(): boolean
3088
3104
  start(): boolean
3089
3105
  terminate(): void
@@ -3429,7 +3445,9 @@ export interface Display {
3429
3445
  // Own properties of Meta-10.Meta.Display
3430
3446
 
3431
3447
  readonly compositor_modifiers: Clutter.ModifierType
3448
+ readonly compositorModifiers: Clutter.ModifierType
3432
3449
  readonly focus_window: Window
3450
+ readonly focusWindow: Window
3433
3451
 
3434
3452
  // Owm methods of Meta-10.Meta.Display
3435
3453
 
@@ -3458,7 +3476,7 @@ export interface Display {
3458
3476
  * @param handler function to run when the keybinding is invoked
3459
3477
  * @returns the corresponding keybinding action if the keybinding was added successfully, otherwise %META_KEYBINDING_ACTION_NONE
3460
3478
  */
3461
- add_keybinding(name: string | null, settings: Gio.Settings, flags: KeyBindingFlags, handler: KeyHandlerFunc): number
3479
+ add_keybinding(name: string, settings: Gio.Settings, flags: KeyBindingFlags, handler: KeyHandlerFunc): number
3462
3480
  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
3463
3481
  /**
3464
3482
  * Sets the mouse-mode flag to %FALSE, which means that motion events are
@@ -3573,7 +3591,7 @@ export interface Display {
3573
3591
  */
3574
3592
  get_tab_next(type: TabList, workspace: Workspace, window: Window | null, backward: boolean): Window
3575
3593
  get_workspace_manager(): WorkspaceManager
3576
- grab_accelerator(accelerator: string | null, flags: KeyBindingFlags): number
3594
+ grab_accelerator(accelerator: string, flags: KeyBindingFlags): number
3577
3595
  /**
3578
3596
  * Tells whether the event sequence is the used for pointer emulation
3579
3597
  * and single-touch interaction.
@@ -3593,7 +3611,7 @@ export interface Display {
3593
3611
  * @param name name of the keybinding to remove
3594
3612
  * @returns %TRUE if the binding has been removed successfully, otherwise %FALSE
3595
3613
  */
3596
- remove_keybinding(name: string | null): boolean
3614
+ remove_keybinding(name: string): boolean
3597
3615
  request_pad_osd(pad: Clutter.InputDevice, edition_mode: boolean): void
3598
3616
  set_cursor(cursor: Cursor): void
3599
3617
  set_input_focus(window: Window, focus_frame: boolean, timestamp: number): void
@@ -3985,7 +4003,9 @@ export interface MonitorManager {
3985
4003
 
3986
4004
  readonly backend: Backend
3987
4005
  readonly has_builtin_panel: boolean
4006
+ readonly hasBuiltinPanel: boolean
3988
4007
  readonly panel_orientation_managed: boolean
4008
+ readonly panelOrientationManaged: boolean
3989
4009
 
3990
4010
  // Owm methods of Meta-10.Meta.MonitorManager
3991
4011
 
@@ -3994,7 +4014,7 @@ export interface MonitorManager {
3994
4014
  * Returns whether the built-in display (i.e. a laptop panel) is turned on.
3995
4015
  */
3996
4016
  get_is_builtin_display_on(): boolean
3997
- get_monitor_for_connector(connector: string | null): number
4017
+ get_monitor_for_connector(connector: string): number
3998
4018
  get_panel_orientation_managed(): boolean
3999
4019
  get_switch_config(): MonitorSwitchConfigType
4000
4020
  switch_config(config_type: MonitorSwitchConfigType): void
@@ -4276,6 +4296,7 @@ export module RemoteAccessHandle {
4276
4296
  // Own constructor properties of Meta-10.Meta.RemoteAccessHandle
4277
4297
 
4278
4298
  is_recording?: boolean | null
4299
+ isRecording?: boolean | null
4279
4300
  }
4280
4301
 
4281
4302
  }
@@ -4285,6 +4306,7 @@ export interface RemoteAccessHandle {
4285
4306
  // Own properties of Meta-10.Meta.RemoteAccessHandle
4286
4307
 
4287
4308
  readonly is_recording: boolean
4309
+ readonly isRecording: boolean
4288
4310
 
4289
4311
  // Own fields of Meta-10.Meta.RemoteAccessHandle
4290
4312
 
@@ -4382,7 +4404,7 @@ export interface Selection {
4382
4404
  * @param cancellable Cancellable
4383
4405
  * @param callback User callback
4384
4406
  */
4385
- transfer_async(selection_type: SelectionType, mimetype: string | null, size: number, output: Gio.OutputStream, cancellable: Gio.Cancellable | null, callback: Gio.AsyncReadyCallback<this> | null): void
4407
+ transfer_async(selection_type: SelectionType, mimetype: string, size: number, output: Gio.OutputStream, cancellable: Gio.Cancellable | null, callback: Gio.AsyncReadyCallback<this> | null): void
4386
4408
 
4387
4409
  // Overloads of transfer_async
4388
4410
 
@@ -4398,7 +4420,7 @@ export interface Selection {
4398
4420
  * @param cancellable Cancellable
4399
4421
  * @returns A Promise of: #TRUE if the transfer was successful.
4400
4422
  */
4401
- transfer_async(selection_type: SelectionType, mimetype: string | null, size: number, output: Gio.OutputStream, cancellable: Gio.Cancellable | null): globalThis.Promise<boolean>
4423
+ transfer_async(selection_type: SelectionType, mimetype: string, size: number, output: Gio.OutputStream, cancellable: Gio.Cancellable | null): globalThis.Promise<boolean>
4402
4424
  /**
4403
4425
  * Finishes the transfer of a queried mimetype.
4404
4426
  * @param result The async result
@@ -4486,7 +4508,7 @@ export interface SelectionSource {
4486
4508
  * @returns #TRUE if the source owns a selection.
4487
4509
  */
4488
4510
  is_active(): boolean
4489
- read_async(mimetype: string | null, cancellable: Gio.Cancellable | null, callback: Gio.AsyncReadyCallback<this> | null): void
4511
+ read_async(mimetype: string, cancellable: Gio.Cancellable | null, callback: Gio.AsyncReadyCallback<this> | null): void
4490
4512
 
4491
4513
  // Overloads of read_async
4492
4514
 
@@ -4498,7 +4520,7 @@ export interface SelectionSource {
4498
4520
  * @param cancellable
4499
4521
  * @returns A Promise of: The resulting #GInputStream
4500
4522
  */
4501
- read_async(mimetype: string | null, cancellable: Gio.Cancellable | null): globalThis.Promise<Gio.InputStream>
4523
+ read_async(mimetype: string, cancellable: Gio.Cancellable | null): globalThis.Promise<Gio.InputStream>
4502
4524
  /**
4503
4525
  * Finishes a read from the selection source.
4504
4526
  * @param result The async result
@@ -4516,7 +4538,7 @@ export interface SelectionSource {
4516
4538
  * @returns The supported mimetypes
4517
4539
  */
4518
4540
  vfunc_get_mimetypes(): string[]
4519
- vfunc_read_async(mimetype: string | null, cancellable: Gio.Cancellable | null, callback: Gio.AsyncReadyCallback<this> | null): void
4541
+ vfunc_read_async(mimetype: string, cancellable: Gio.Cancellable | null, callback: Gio.AsyncReadyCallback<this> | null): void
4520
4542
  /**
4521
4543
  * Finishes a read from the selection source.
4522
4544
  * @virtual
@@ -4584,8 +4606,8 @@ export class SelectionSourceMemory extends SelectionSource {
4584
4606
  // Constructors of Meta-10.Meta.SelectionSourceMemory
4585
4607
 
4586
4608
  constructor(config?: SelectionSourceMemory.ConstructorProperties)
4587
- constructor(mimetype: string | null, content: GLib.Bytes)
4588
- static new(mimetype: string | null, content: GLib.Bytes): SelectionSourceMemory
4609
+ constructor(mimetype: string, content: GLib.Bytes)
4610
+ static new(mimetype: string, content: GLib.Bytes): SelectionSourceMemory
4589
4611
  _init(config?: SelectionSourceMemory.ConstructorProperties): void
4590
4612
  }
4591
4613
 
@@ -4620,7 +4642,7 @@ export interface ShadowFactory {
4620
4642
  * @param class_name name of the class of shadow to get the params for
4621
4643
  * @param focused whether the shadow is for a focused window
4622
4644
  */
4623
- get_params(class_name: string | null, focused: boolean): /* params */ ShadowParams
4645
+ get_params(class_name: string, focused: boolean): /* params */ ShadowParams
4624
4646
  /**
4625
4647
  * Gets the appropriate shadow object for drawing shadows for the
4626
4648
  * specified window shape. The region that we are shadowing is specified
@@ -4634,7 +4656,7 @@ export interface ShadowFactory {
4634
4656
  * @param focused whether the shadow is for a focused window
4635
4657
  * @returns a newly referenced #MetaShadow; unref with meta_shadow_unref()
4636
4658
  */
4637
- get_shadow(shape: WindowShape, width: number, height: number, class_name: string | null, focused: boolean): Shadow
4659
+ get_shadow(shape: WindowShape, width: number, height: number, class_name: string, focused: boolean): Shadow
4638
4660
  /**
4639
4661
  * Updates the shadow parameters for a particular class of shadows
4640
4662
  * for either the focused or unfocused state. If the class name
@@ -4645,7 +4667,7 @@ export interface ShadowFactory {
4645
4667
  * @param focused whether the shadow is for a focused window
4646
4668
  * @param params new parameter values
4647
4669
  */
4648
- set_params(class_name: string | null, focused: boolean, params: ShadowParams): void
4670
+ set_params(class_name: string, focused: boolean, params: ShadowParams): void
4649
4671
 
4650
4672
  // Own signals of Meta-10.Meta.ShadowFactory
4651
4673
 
@@ -4764,14 +4786,14 @@ export interface SoundPlayer {
4764
4786
  * @param description description of the played sound
4765
4787
  * @param cancellable cancellable for the request
4766
4788
  */
4767
- play_from_file(file: Gio.File, description: string | null, cancellable: Gio.Cancellable | null): void
4789
+ play_from_file(file: Gio.File, description: string, cancellable: Gio.Cancellable | null): void
4768
4790
  /**
4769
4791
  * Plays a sound from the sound theme.
4770
4792
  * @param name sound theme name of the event
4771
4793
  * @param description description of the event
4772
4794
  * @param cancellable cancellable for the request
4773
4795
  */
4774
- play_from_theme(name: string | null, description: string | null, cancellable: Gio.Cancellable | null): void
4796
+ play_from_theme(name: string, description: string, cancellable: Gio.Cancellable | null): void
4775
4797
 
4776
4798
  // Class property signals of Meta-10.Meta.SoundPlayer
4777
4799
 
@@ -5166,6 +5188,8 @@ export module StartupSequence {
5166
5188
  timestamp?: number | null
5167
5189
  wmclass?: string | null
5168
5190
  workspace?: number | null
5191
+ applicationId?: string | null
5192
+ iconName?: string | null
5169
5193
  }
5170
5194
 
5171
5195
  }
@@ -5175,7 +5199,9 @@ export interface StartupSequence {
5175
5199
  // Own properties of Meta-10.Meta.StartupSequence
5176
5200
 
5177
5201
  readonly application_id: string | null
5202
+ readonly applicationId: string | null
5178
5203
  readonly icon_name: string | null
5204
+ readonly iconName: string | null
5179
5205
  readonly id: string | null
5180
5206
  readonly name: string | null
5181
5207
  readonly timestamp: number
@@ -5200,8 +5226,8 @@ export interface StartupSequence {
5200
5226
  * @returns the icon name or %NULL.
5201
5227
  */
5202
5228
  get_icon_name(): string | null
5203
- get_id(): string | null
5204
- get_name(): string | null
5229
+ get_id(): string
5230
+ get_name(): string
5205
5231
  get_timestamp(): number
5206
5232
  /**
5207
5233
  * Get the wmclass of the startup sequence.
@@ -5410,30 +5436,48 @@ export interface Window {
5410
5436
 
5411
5437
  readonly above: boolean
5412
5438
  readonly appears_focused: boolean
5439
+ readonly appearsFocused: boolean
5413
5440
  readonly decorated: boolean
5414
5441
  readonly demands_attention: boolean
5442
+ readonly demandsAttention: boolean
5415
5443
  readonly fullscreen: boolean
5416
5444
  readonly gtk_app_menu_object_path: string | null
5445
+ readonly gtkAppMenuObjectPath: string | null
5417
5446
  readonly gtk_application_id: string | null
5447
+ readonly gtkApplicationId: string | null
5418
5448
  readonly gtk_application_object_path: string | null
5449
+ readonly gtkApplicationObjectPath: string | null
5419
5450
  readonly gtk_menubar_object_path: string | null
5451
+ readonly gtkMenubarObjectPath: string | null
5420
5452
  readonly gtk_unique_bus_name: string | null
5453
+ readonly gtkUniqueBusName: string | null
5421
5454
  readonly gtk_window_object_path: string | null
5455
+ readonly gtkWindowObjectPath: string | null
5422
5456
  readonly icon: any
5423
5457
  readonly is_alive: boolean
5458
+ readonly isAlive: boolean
5424
5459
  readonly maximized_horizontally: boolean
5460
+ readonly maximizedHorizontally: boolean
5425
5461
  readonly maximized_vertically: boolean
5462
+ readonly maximizedVertically: boolean
5426
5463
  readonly mini_icon: any
5464
+ readonly miniIcon: any
5427
5465
  readonly minimized: boolean
5428
5466
  readonly mutter_hints: string | null
5467
+ readonly mutterHints: string | null
5429
5468
  readonly on_all_workspaces: boolean
5469
+ readonly onAllWorkspaces: boolean
5430
5470
  readonly resizeable: boolean
5431
5471
  readonly skip_taskbar: boolean
5472
+ readonly skipTaskbar: boolean
5432
5473
  readonly title: string | null
5433
5474
  readonly urgent: boolean
5434
5475
  readonly user_time: number
5476
+ readonly userTime: number
5435
5477
  readonly window_type: WindowType
5478
+ readonly windowType: WindowType
5436
5479
  readonly wm_class: string | null
5480
+ readonly wmClass: string | null
5437
5481
 
5438
5482
  // Owm methods of Meta-10.Meta.Window
5439
5483
 
@@ -5511,7 +5555,7 @@ export interface Window {
5511
5555
  * @returns the wrapper object.
5512
5556
  */
5513
5557
  get_compositor_private(): GObject.Object
5514
- get_description(): string | null
5558
+ get_description(): string
5515
5559
  get_display(): Display
5516
5560
  /**
5517
5561
  * Gets a region representing the outer bounds of the window's frame.
@@ -5584,7 +5628,7 @@ export interface Window {
5584
5628
  * @returns the pid, or 0 if not known.
5585
5629
  */
5586
5630
  get_pid(): number
5587
- get_role(): string | null
5631
+ get_role(): string
5588
5632
  /**
5589
5633
  * Gets an unique id for a sandboxed app (currently flatpaks and snaps are
5590
5634
  * supported).
@@ -5617,7 +5661,7 @@ export interface Window {
5617
5661
  * @returns the matching tiled window or %NULL if it doesn't exist.
5618
5662
  */
5619
5663
  get_tile_match(): Window | null
5620
- get_title(): string | null
5664
+ get_title(): string
5621
5665
  /**
5622
5666
  * Returns the #MetaWindow for the window that is pointed to by the
5623
5667
  * WM_TRANSIENT_FOR hint on this window (see XGetTransientForHint()
@@ -5943,6 +5987,7 @@ export module WindowActor {
5943
5987
  // Own constructor properties of Meta-10.Meta.WindowActor
5944
5988
 
5945
5989
  meta_window?: Window | null
5990
+ metaWindow?: Window | null
5946
5991
  }
5947
5992
 
5948
5993
  }
@@ -5952,6 +5997,7 @@ export interface WindowActor extends Atk.ImplementorIface, Clutter.Animatable, C
5952
5997
  // Own properties of Meta-10.Meta.WindowActor
5953
5998
 
5954
5999
  readonly meta_window: Window
6000
+ readonly metaWindow: Window
5955
6001
 
5956
6002
  // Own fields of Meta-10.Meta.WindowActor
5957
6003
 
@@ -6520,7 +6566,9 @@ export interface Workspace {
6520
6566
 
6521
6567
  readonly active: boolean
6522
6568
  readonly n_windows: number
6569
+ readonly nWindows: number
6523
6570
  readonly workspace_index: number
6571
+ readonly workspaceIndex: number
6524
6572
 
6525
6573
  // Owm methods of Meta-10.Meta.Workspace
6526
6574
 
@@ -6678,8 +6726,11 @@ export interface WorkspaceManager {
6678
6726
  // Own properties of Meta-10.Meta.WorkspaceManager
6679
6727
 
6680
6728
  readonly layout_columns: number
6729
+ readonly layoutColumns: number
6681
6730
  readonly layout_rows: number
6731
+ readonly layoutRows: number
6682
6732
  readonly n_workspaces: number
6733
+ readonly nWorkspaces: number
6683
6734
 
6684
6735
  // Owm methods of Meta-10.Meta.WorkspaceManager
6685
6736
 
@@ -7166,7 +7217,7 @@ export interface Group {
7166
7217
  // Owm methods of Meta-10.Meta.Group
7167
7218
 
7168
7219
  get_size(): number
7169
- get_startup_id(): string | null
7220
+ get_startup_id(): string
7170
7221
  list_windows(): Window[]
7171
7222
  update_layers(): void
7172
7223
  }
@@ -7214,7 +7265,7 @@ export interface KeyBinding {
7214
7265
 
7215
7266
  get_mask(): number
7216
7267
  get_modifiers(): VirtualModifier
7217
- get_name(): string | null
7268
+ get_name(): string
7218
7269
  is_builtin(): boolean
7219
7270
  is_reversed(): boolean
7220
7271
  }
@@ -7320,27 +7371,27 @@ export interface PluginInfo {
7320
7371
  * name of the plugin
7321
7372
  * @field
7322
7373
  */
7323
- name: string | null
7374
+ name: string
7324
7375
  /**
7325
7376
  * version of the plugin
7326
7377
  * @field
7327
7378
  */
7328
- version: string | null
7379
+ version: string
7329
7380
  /**
7330
7381
  * author of the plugin
7331
7382
  * @field
7332
7383
  */
7333
- author: string | null
7384
+ author: string
7334
7385
  /**
7335
7386
  * license of the plugin
7336
7387
  * @field
7337
7388
  */
7338
- license: string | null
7389
+ license: string
7339
7390
  /**
7340
7391
  * description of the plugin
7341
7392
  * @field
7342
7393
  */
7343
- description: string | null
7394
+ description: string
7344
7395
  }
7345
7396
 
7346
7397
  export class PluginInfo {
@@ -7448,7 +7499,7 @@ export interface SelectionSourceClass {
7448
7499
  activated: (source: SelectionSource) => void
7449
7500
  deactivated: (source: SelectionSource) => void
7450
7501
  get_mimetypes: (source: SelectionSource) => string[]
7451
- read_async: (source: SelectionSource, mimetype: string | null, cancellable: Gio.Cancellable | null, callback: Gio.AsyncReadyCallback | null) => void
7502
+ read_async: (source: SelectionSource, mimetype: string, cancellable: Gio.Cancellable | null, callback: Gio.AsyncReadyCallback | null) => void
7452
7503
  read_finish: (source: SelectionSource, result: Gio.AsyncResult) => Gio.InputStream
7453
7504
  }
7454
7505
 
package/meta-10.d.ts CHANGED
@@ -1460,7 +1460,7 @@ enum VirtualModifier {
1460
1460
  MOD5_MASK,
1461
1461
  }
1462
1462
  const CURRENT_TIME: number
1463
- const DEFAULT_ICON_NAME: string | null
1463
+ const DEFAULT_ICON_NAME: string
1464
1464
  const ICON_HEIGHT: number
1465
1465
  const ICON_WIDTH: number
1466
1466
  const MINI_ICON_HEIGHT: number
@@ -1485,7 +1485,7 @@ function clutter_init(): void
1485
1485
  * @param name Human readable name of display server or window manager
1486
1486
  * @returns A new context instance.
1487
1487
  */
1488
- function create_context(name: string | null): Context
1488
+ function create_context(name: string): Context
1489
1489
  /**
1490
1490
  * Disables unredirection, can be useful in situations where having
1491
1491
  * unredirected windows is undesirable like when recording a video.
@@ -1506,8 +1506,8 @@ function focus_stage_window(display: Display, timestamp: number): void
1506
1506
  * @param type a #MetaFrameType
1507
1507
  * @returns the string value
1508
1508
  */
1509
- function frame_type_to_string(type: FrameType): string | null
1510
- function g_utf8_strndup(src: string | null, n: number): string | null
1509
+ function frame_type_to_string(type: FrameType): string
1510
+ function g_utf8_strndup(src: string, n: number): string | null
1511
1511
  /**
1512
1512
  * Accessor for the singleton MetaBackend.
1513
1513
  * @returns The only #MetaBackend there is.
@@ -1521,7 +1521,7 @@ function get_stage_for_display(display: Display): Clutter.Actor
1521
1521
  function get_top_window_group_for_display(display: Display): Clutter.Actor
1522
1522
  function get_window_actors(display: Display): Clutter.Actor[]
1523
1523
  function get_window_group_for_display(display: Display): Clutter.Actor
1524
- function gravity_to_string(gravity: Gravity): string | null
1524
+ function gravity_to_string(gravity: Gravity): string
1525
1525
  /**
1526
1526
  * Returns %TRUE if this instance of Mutter comes from Mutter
1527
1527
  * restarting itself (for example to enable/disable stereo.)
@@ -1549,7 +1549,7 @@ function is_wayland_compositor(): boolean
1549
1549
  * @param handler The new handler function
1550
1550
  * @returns %TRUE if the binding known as @name was found, %FALSE otherwise.
1551
1551
  */
1552
- function keybindings_set_custom_handler(name: string | null, handler: KeyHandlerFunc | null): boolean
1552
+ function keybindings_set_custom_handler(name: string, handler: KeyHandlerFunc | null): boolean
1553
1553
  /**
1554
1554
  * Sets up a callback to be called at some later time. `when` determines the
1555
1555
  * particular later occasion at which it is called. This is much like g_idle_add(),
@@ -1568,9 +1568,9 @@ function later_add(when: LaterType, func: GLib.SourceFunc): number
1568
1568
  */
1569
1569
  function later_remove(later_id: number): void
1570
1570
  function pop_no_msg_prefix(): void
1571
- function preference_to_string(pref: Preference): string | null
1571
+ function preference_to_string(pref: Preference): string
1572
1572
  function prefs_bell_is_audible(): boolean
1573
- function prefs_change_workspace_name(i: number, name: string | null): void
1573
+ function prefs_change_workspace_name(i: number, name: string): void
1574
1574
  function prefs_get_action_double_click_titlebar(): GDesktopEnums.TitlebarAction
1575
1575
  function prefs_get_action_middle_click_titlebar(): GDesktopEnums.TitlebarAction
1576
1576
  function prefs_get_action_right_click_titlebar(): GDesktopEnums.TitlebarAction
@@ -1583,7 +1583,7 @@ function prefs_get_center_new_windows(): boolean
1583
1583
  function prefs_get_check_alive_timeout(): number
1584
1584
  function prefs_get_compositing_manager(): boolean
1585
1585
  function prefs_get_cursor_size(): number
1586
- function prefs_get_cursor_theme(): string | null
1586
+ function prefs_get_cursor_theme(): string
1587
1587
  function prefs_get_disable_workarounds(): boolean
1588
1588
  function prefs_get_drag_threshold(): number
1589
1589
  function prefs_get_draggable_border_width(): number
@@ -1595,7 +1595,7 @@ function prefs_get_focus_new_windows(): GDesktopEnums.FocusNewWindows
1595
1595
  function prefs_get_force_fullscreen(): boolean
1596
1596
  function prefs_get_gnome_accessibility(): boolean
1597
1597
  function prefs_get_gnome_animations(): boolean
1598
- function prefs_get_keybinding_action(name: string | null): KeyBindingAction
1598
+ function prefs_get_keybinding_action(name: string): KeyBindingAction
1599
1599
  function prefs_get_mouse_button_menu(): number
1600
1600
  function prefs_get_mouse_button_mods(): VirtualModifier
1601
1601
  function prefs_get_mouse_button_resize(): number
@@ -1605,7 +1605,7 @@ function prefs_get_show_fallback_app_menu(): boolean
1605
1605
  function prefs_get_titlebar_font(): Pango.FontDescription
1606
1606
  function prefs_get_visual_bell(): boolean
1607
1607
  function prefs_get_visual_bell_type(): GDesktopEnums.VisualBellType
1608
- function prefs_get_workspace_name(i: number): string | null
1608
+ function prefs_get_workspace_name(i: number): string
1609
1609
  function prefs_get_workspaces_only_on_primary(): boolean
1610
1610
  function prefs_set_force_fullscreen(whether: boolean): void
1611
1611
  function prefs_set_num_workspaces(n_workspaces: number): void
@@ -1634,7 +1634,7 @@ function remove_verbose_topic(topic: DebugTopic): void
1634
1634
  * @param message message to display to the user, or %NULL
1635
1635
  */
1636
1636
  function restart(message: string | null): void
1637
- function topic_to_string(topic: DebugTopic): string | null
1637
+ function topic_to_string(topic: DebugTopic): string
1638
1638
  function unsigned_long_equal(v1: any | null, v2: any | null): number
1639
1639
  function unsigned_long_hash(v: any | null): number
1640
1640
  function x11_error_trap_pop(x11_display: X11Display): void
@@ -1928,7 +1928,7 @@ interface Backend extends Gio.Initable {
1928
1928
  is_headless(): boolean
1929
1929
  is_rendering_hardware_accelerated(): boolean
1930
1930
  lock_layout_group(idx: number): void
1931
- set_keymap(layouts: string | null, variants: string | null, options: string | null): void
1931
+ set_keymap(layouts: string, variants: string, options: string): void
1932
1932
 
1933
1933
  // Own signals of Meta-10.Meta.Backend
1934
1934
 
@@ -1994,6 +1994,7 @@ module Background {
1994
1994
  // Own constructor properties of Meta-10.Meta.Background
1995
1995
 
1996
1996
  meta_display?: Display | null
1997
+ metaDisplay?: Display | null
1997
1998
  }
1998
1999
 
1999
2000
  }
@@ -2003,6 +2004,7 @@ interface Background {
2003
2004
  // Own properties of Meta-10.Meta.Background
2004
2005
 
2005
2006
  readonly meta_display: Display
2007
+ readonly metaDisplay: Display
2006
2008
 
2007
2009
  // Owm methods of Meta-10.Meta.Background
2008
2010
 
@@ -2065,6 +2067,7 @@ module BackgroundActor {
2065
2067
 
2066
2068
  meta_display?: Display | null
2067
2069
  monitor?: number | null
2070
+ metaDisplay?: Display | null
2068
2071
  }
2069
2072
 
2070
2073
  }
@@ -2074,6 +2077,7 @@ interface BackgroundActor extends Atk.ImplementorIface, Clutter.Animatable, Clut
2074
2077
  // Own properties of Meta-10.Meta.BackgroundActor
2075
2078
 
2076
2079
  readonly meta_display: Display
2080
+ readonly metaDisplay: Display
2077
2081
  readonly monitor: number
2078
2082
 
2079
2083
  // Class property signals of Meta-10.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-10.Meta.BackgroundContent
2388
2402
 
@@ -3039,6 +3053,7 @@ module Context {
3039
3053
 
3040
3054
  name?: string | null
3041
3055
  unsafe_mode?: boolean | null
3056
+ unsafeMode?: boolean | null
3042
3057
  }
3043
3058
 
3044
3059
  }
@@ -3049,6 +3064,7 @@ interface Context {
3049
3064
 
3050
3065
  readonly name: string | null
3051
3066
  unsafe_mode: boolean
3067
+ unsafeMode: boolean
3052
3068
 
3053
3069
  // Own fields of Meta-10.Meta.Context
3054
3070
 
@@ -3083,9 +3099,9 @@ interface Context {
3083
3099
  */
3084
3100
  restore_rlimit_nofile(): boolean
3085
3101
  run_main_loop(): boolean
3086
- set_gnome_wm_keybindings(wm_keybindings: string | null): void
3102
+ set_gnome_wm_keybindings(wm_keybindings: string): void
3087
3103
  set_plugin_gtype(plugin_gtype: GObject.GType): void
3088
- set_plugin_name(plugin_name: string | null): void
3104
+ set_plugin_name(plugin_name: string): void
3089
3105
  setup(): boolean
3090
3106
  start(): boolean
3091
3107
  terminate(): void
@@ -3431,7 +3447,9 @@ interface Display {
3431
3447
  // Own properties of Meta-10.Meta.Display
3432
3448
 
3433
3449
  readonly compositor_modifiers: Clutter.ModifierType
3450
+ readonly compositorModifiers: Clutter.ModifierType
3434
3451
  readonly focus_window: Window
3452
+ readonly focusWindow: Window
3435
3453
 
3436
3454
  // Owm methods of Meta-10.Meta.Display
3437
3455
 
@@ -3460,7 +3478,7 @@ interface Display {
3460
3478
  * @param handler function to run when the keybinding is invoked
3461
3479
  * @returns the corresponding keybinding action if the keybinding was added successfully, otherwise %META_KEYBINDING_ACTION_NONE
3462
3480
  */
3463
- add_keybinding(name: string | null, settings: Gio.Settings, flags: KeyBindingFlags, handler: KeyHandlerFunc): number
3481
+ add_keybinding(name: string, settings: Gio.Settings, flags: KeyBindingFlags, handler: KeyHandlerFunc): number
3464
3482
  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
3465
3483
  /**
3466
3484
  * Sets the mouse-mode flag to %FALSE, which means that motion events are
@@ -3575,7 +3593,7 @@ interface Display {
3575
3593
  */
3576
3594
  get_tab_next(type: TabList, workspace: Workspace, window: Window | null, backward: boolean): Window
3577
3595
  get_workspace_manager(): WorkspaceManager
3578
- grab_accelerator(accelerator: string | null, flags: KeyBindingFlags): number
3596
+ grab_accelerator(accelerator: string, flags: KeyBindingFlags): number
3579
3597
  /**
3580
3598
  * Tells whether the event sequence is the used for pointer emulation
3581
3599
  * and single-touch interaction.
@@ -3595,7 +3613,7 @@ interface Display {
3595
3613
  * @param name name of the keybinding to remove
3596
3614
  * @returns %TRUE if the binding has been removed successfully, otherwise %FALSE
3597
3615
  */
3598
- remove_keybinding(name: string | null): boolean
3616
+ remove_keybinding(name: string): boolean
3599
3617
  request_pad_osd(pad: Clutter.InputDevice, edition_mode: boolean): void
3600
3618
  set_cursor(cursor: Cursor): void
3601
3619
  set_input_focus(window: Window, focus_frame: boolean, timestamp: number): void
@@ -3987,7 +4005,9 @@ interface MonitorManager {
3987
4005
 
3988
4006
  readonly backend: Backend
3989
4007
  readonly has_builtin_panel: boolean
4008
+ readonly hasBuiltinPanel: boolean
3990
4009
  readonly panel_orientation_managed: boolean
4010
+ readonly panelOrientationManaged: boolean
3991
4011
 
3992
4012
  // Owm methods of Meta-10.Meta.MonitorManager
3993
4013
 
@@ -3996,7 +4016,7 @@ interface MonitorManager {
3996
4016
  * Returns whether the built-in display (i.e. a laptop panel) is turned on.
3997
4017
  */
3998
4018
  get_is_builtin_display_on(): boolean
3999
- get_monitor_for_connector(connector: string | null): number
4019
+ get_monitor_for_connector(connector: string): number
4000
4020
  get_panel_orientation_managed(): boolean
4001
4021
  get_switch_config(): MonitorSwitchConfigType
4002
4022
  switch_config(config_type: MonitorSwitchConfigType): void
@@ -4278,6 +4298,7 @@ module RemoteAccessHandle {
4278
4298
  // Own constructor properties of Meta-10.Meta.RemoteAccessHandle
4279
4299
 
4280
4300
  is_recording?: boolean | null
4301
+ isRecording?: boolean | null
4281
4302
  }
4282
4303
 
4283
4304
  }
@@ -4287,6 +4308,7 @@ interface RemoteAccessHandle {
4287
4308
  // Own properties of Meta-10.Meta.RemoteAccessHandle
4288
4309
 
4289
4310
  readonly is_recording: boolean
4311
+ readonly isRecording: boolean
4290
4312
 
4291
4313
  // Own fields of Meta-10.Meta.RemoteAccessHandle
4292
4314
 
@@ -4384,7 +4406,7 @@ interface Selection {
4384
4406
  * @param cancellable Cancellable
4385
4407
  * @param callback User callback
4386
4408
  */
4387
- transfer_async(selection_type: SelectionType, mimetype: string | null, size: number, output: Gio.OutputStream, cancellable: Gio.Cancellable | null, callback: Gio.AsyncReadyCallback<this> | null): void
4409
+ transfer_async(selection_type: SelectionType, mimetype: string, size: number, output: Gio.OutputStream, cancellable: Gio.Cancellable | null, callback: Gio.AsyncReadyCallback<this> | null): void
4388
4410
 
4389
4411
  // Overloads of transfer_async
4390
4412
 
@@ -4400,7 +4422,7 @@ interface Selection {
4400
4422
  * @param cancellable Cancellable
4401
4423
  * @returns A Promise of: #TRUE if the transfer was successful.
4402
4424
  */
4403
- transfer_async(selection_type: SelectionType, mimetype: string | null, size: number, output: Gio.OutputStream, cancellable: Gio.Cancellable | null): globalThis.Promise<boolean>
4425
+ transfer_async(selection_type: SelectionType, mimetype: string, size: number, output: Gio.OutputStream, cancellable: Gio.Cancellable | null): globalThis.Promise<boolean>
4404
4426
  /**
4405
4427
  * Finishes the transfer of a queried mimetype.
4406
4428
  * @param result The async result
@@ -4488,7 +4510,7 @@ interface SelectionSource {
4488
4510
  * @returns #TRUE if the source owns a selection.
4489
4511
  */
4490
4512
  is_active(): boolean
4491
- read_async(mimetype: string | null, cancellable: Gio.Cancellable | null, callback: Gio.AsyncReadyCallback<this> | null): void
4513
+ read_async(mimetype: string, cancellable: Gio.Cancellable | null, callback: Gio.AsyncReadyCallback<this> | null): void
4492
4514
 
4493
4515
  // Overloads of read_async
4494
4516
 
@@ -4500,7 +4522,7 @@ interface SelectionSource {
4500
4522
  * @param cancellable
4501
4523
  * @returns A Promise of: The resulting #GInputStream
4502
4524
  */
4503
- read_async(mimetype: string | null, cancellable: Gio.Cancellable | null): globalThis.Promise<Gio.InputStream>
4525
+ read_async(mimetype: string, cancellable: Gio.Cancellable | null): globalThis.Promise<Gio.InputStream>
4504
4526
  /**
4505
4527
  * Finishes a read from the selection source.
4506
4528
  * @param result The async result
@@ -4518,7 +4540,7 @@ interface SelectionSource {
4518
4540
  * @returns The supported mimetypes
4519
4541
  */
4520
4542
  vfunc_get_mimetypes(): string[]
4521
- vfunc_read_async(mimetype: string | null, cancellable: Gio.Cancellable | null, callback: Gio.AsyncReadyCallback<this> | null): void
4543
+ vfunc_read_async(mimetype: string, cancellable: Gio.Cancellable | null, callback: Gio.AsyncReadyCallback<this> | null): void
4522
4544
  /**
4523
4545
  * Finishes a read from the selection source.
4524
4546
  * @virtual
@@ -4586,8 +4608,8 @@ class SelectionSourceMemory extends SelectionSource {
4586
4608
  // Constructors of Meta-10.Meta.SelectionSourceMemory
4587
4609
 
4588
4610
  constructor(config?: SelectionSourceMemory.ConstructorProperties)
4589
- constructor(mimetype: string | null, content: GLib.Bytes)
4590
- static new(mimetype: string | null, content: GLib.Bytes): SelectionSourceMemory
4611
+ constructor(mimetype: string, content: GLib.Bytes)
4612
+ static new(mimetype: string, content: GLib.Bytes): SelectionSourceMemory
4591
4613
  _init(config?: SelectionSourceMemory.ConstructorProperties): void
4592
4614
  }
4593
4615
 
@@ -4622,7 +4644,7 @@ interface ShadowFactory {
4622
4644
  * @param class_name name of the class of shadow to get the params for
4623
4645
  * @param focused whether the shadow is for a focused window
4624
4646
  */
4625
- get_params(class_name: string | null, focused: boolean): /* params */ ShadowParams
4647
+ get_params(class_name: string, focused: boolean): /* params */ ShadowParams
4626
4648
  /**
4627
4649
  * Gets the appropriate shadow object for drawing shadows for the
4628
4650
  * specified window shape. The region that we are shadowing is specified
@@ -4636,7 +4658,7 @@ interface ShadowFactory {
4636
4658
  * @param focused whether the shadow is for a focused window
4637
4659
  * @returns a newly referenced #MetaShadow; unref with meta_shadow_unref()
4638
4660
  */
4639
- get_shadow(shape: WindowShape, width: number, height: number, class_name: string | null, focused: boolean): Shadow
4661
+ get_shadow(shape: WindowShape, width: number, height: number, class_name: string, focused: boolean): Shadow
4640
4662
  /**
4641
4663
  * Updates the shadow parameters for a particular class of shadows
4642
4664
  * for either the focused or unfocused state. If the class name
@@ -4647,7 +4669,7 @@ interface ShadowFactory {
4647
4669
  * @param focused whether the shadow is for a focused window
4648
4670
  * @param params new parameter values
4649
4671
  */
4650
- set_params(class_name: string | null, focused: boolean, params: ShadowParams): void
4672
+ set_params(class_name: string, focused: boolean, params: ShadowParams): void
4651
4673
 
4652
4674
  // Own signals of Meta-10.Meta.ShadowFactory
4653
4675
 
@@ -4766,14 +4788,14 @@ interface SoundPlayer {
4766
4788
  * @param description description of the played sound
4767
4789
  * @param cancellable cancellable for the request
4768
4790
  */
4769
- play_from_file(file: Gio.File, description: string | null, cancellable: Gio.Cancellable | null): void
4791
+ play_from_file(file: Gio.File, description: string, cancellable: Gio.Cancellable | null): void
4770
4792
  /**
4771
4793
  * Plays a sound from the sound theme.
4772
4794
  * @param name sound theme name of the event
4773
4795
  * @param description description of the event
4774
4796
  * @param cancellable cancellable for the request
4775
4797
  */
4776
- play_from_theme(name: string | null, description: string | null, cancellable: Gio.Cancellable | null): void
4798
+ play_from_theme(name: string, description: string, cancellable: Gio.Cancellable | null): void
4777
4799
 
4778
4800
  // Class property signals of Meta-10.Meta.SoundPlayer
4779
4801
 
@@ -5168,6 +5190,8 @@ module StartupSequence {
5168
5190
  timestamp?: number | null
5169
5191
  wmclass?: string | null
5170
5192
  workspace?: number | null
5193
+ applicationId?: string | null
5194
+ iconName?: string | null
5171
5195
  }
5172
5196
 
5173
5197
  }
@@ -5177,7 +5201,9 @@ interface StartupSequence {
5177
5201
  // Own properties of Meta-10.Meta.StartupSequence
5178
5202
 
5179
5203
  readonly application_id: string | null
5204
+ readonly applicationId: string | null
5180
5205
  readonly icon_name: string | null
5206
+ readonly iconName: string | null
5181
5207
  readonly id: string | null
5182
5208
  readonly name: string | null
5183
5209
  readonly timestamp: number
@@ -5202,8 +5228,8 @@ interface StartupSequence {
5202
5228
  * @returns the icon name or %NULL.
5203
5229
  */
5204
5230
  get_icon_name(): string | null
5205
- get_id(): string | null
5206
- get_name(): string | null
5231
+ get_id(): string
5232
+ get_name(): string
5207
5233
  get_timestamp(): number
5208
5234
  /**
5209
5235
  * Get the wmclass of the startup sequence.
@@ -5412,30 +5438,48 @@ interface Window {
5412
5438
 
5413
5439
  readonly above: boolean
5414
5440
  readonly appears_focused: boolean
5441
+ readonly appearsFocused: boolean
5415
5442
  readonly decorated: boolean
5416
5443
  readonly demands_attention: boolean
5444
+ readonly demandsAttention: boolean
5417
5445
  readonly fullscreen: boolean
5418
5446
  readonly gtk_app_menu_object_path: string | null
5447
+ readonly gtkAppMenuObjectPath: string | null
5419
5448
  readonly gtk_application_id: string | null
5449
+ readonly gtkApplicationId: string | null
5420
5450
  readonly gtk_application_object_path: string | null
5451
+ readonly gtkApplicationObjectPath: string | null
5421
5452
  readonly gtk_menubar_object_path: string | null
5453
+ readonly gtkMenubarObjectPath: string | null
5422
5454
  readonly gtk_unique_bus_name: string | null
5455
+ readonly gtkUniqueBusName: string | null
5423
5456
  readonly gtk_window_object_path: string | null
5457
+ readonly gtkWindowObjectPath: string | null
5424
5458
  readonly icon: any
5425
5459
  readonly is_alive: boolean
5460
+ readonly isAlive: boolean
5426
5461
  readonly maximized_horizontally: boolean
5462
+ readonly maximizedHorizontally: boolean
5427
5463
  readonly maximized_vertically: boolean
5464
+ readonly maximizedVertically: boolean
5428
5465
  readonly mini_icon: any
5466
+ readonly miniIcon: any
5429
5467
  readonly minimized: boolean
5430
5468
  readonly mutter_hints: string | null
5469
+ readonly mutterHints: string | null
5431
5470
  readonly on_all_workspaces: boolean
5471
+ readonly onAllWorkspaces: boolean
5432
5472
  readonly resizeable: boolean
5433
5473
  readonly skip_taskbar: boolean
5474
+ readonly skipTaskbar: boolean
5434
5475
  readonly title: string | null
5435
5476
  readonly urgent: boolean
5436
5477
  readonly user_time: number
5478
+ readonly userTime: number
5437
5479
  readonly window_type: WindowType
5480
+ readonly windowType: WindowType
5438
5481
  readonly wm_class: string | null
5482
+ readonly wmClass: string | null
5439
5483
 
5440
5484
  // Owm methods of Meta-10.Meta.Window
5441
5485
 
@@ -5513,7 +5557,7 @@ interface Window {
5513
5557
  * @returns the wrapper object.
5514
5558
  */
5515
5559
  get_compositor_private(): GObject.Object
5516
- get_description(): string | null
5560
+ get_description(): string
5517
5561
  get_display(): Display
5518
5562
  /**
5519
5563
  * Gets a region representing the outer bounds of the window's frame.
@@ -5586,7 +5630,7 @@ interface Window {
5586
5630
  * @returns the pid, or 0 if not known.
5587
5631
  */
5588
5632
  get_pid(): number
5589
- get_role(): string | null
5633
+ get_role(): string
5590
5634
  /**
5591
5635
  * Gets an unique id for a sandboxed app (currently flatpaks and snaps are
5592
5636
  * supported).
@@ -5619,7 +5663,7 @@ interface Window {
5619
5663
  * @returns the matching tiled window or %NULL if it doesn't exist.
5620
5664
  */
5621
5665
  get_tile_match(): Window | null
5622
- get_title(): string | null
5666
+ get_title(): string
5623
5667
  /**
5624
5668
  * Returns the #MetaWindow for the window that is pointed to by the
5625
5669
  * WM_TRANSIENT_FOR hint on this window (see XGetTransientForHint()
@@ -5945,6 +5989,7 @@ module WindowActor {
5945
5989
  // Own constructor properties of Meta-10.Meta.WindowActor
5946
5990
 
5947
5991
  meta_window?: Window | null
5992
+ metaWindow?: Window | null
5948
5993
  }
5949
5994
 
5950
5995
  }
@@ -5954,6 +5999,7 @@ interface WindowActor extends Atk.ImplementorIface, Clutter.Animatable, Clutter.
5954
5999
  // Own properties of Meta-10.Meta.WindowActor
5955
6000
 
5956
6001
  readonly meta_window: Window
6002
+ readonly metaWindow: Window
5957
6003
 
5958
6004
  // Own fields of Meta-10.Meta.WindowActor
5959
6005
 
@@ -6522,7 +6568,9 @@ interface Workspace {
6522
6568
 
6523
6569
  readonly active: boolean
6524
6570
  readonly n_windows: number
6571
+ readonly nWindows: number
6525
6572
  readonly workspace_index: number
6573
+ readonly workspaceIndex: number
6526
6574
 
6527
6575
  // Owm methods of Meta-10.Meta.Workspace
6528
6576
 
@@ -6680,8 +6728,11 @@ interface WorkspaceManager {
6680
6728
  // Own properties of Meta-10.Meta.WorkspaceManager
6681
6729
 
6682
6730
  readonly layout_columns: number
6731
+ readonly layoutColumns: number
6683
6732
  readonly layout_rows: number
6733
+ readonly layoutRows: number
6684
6734
  readonly n_workspaces: number
6735
+ readonly nWorkspaces: number
6685
6736
 
6686
6737
  // Owm methods of Meta-10.Meta.WorkspaceManager
6687
6738
 
@@ -7168,7 +7219,7 @@ interface Group {
7168
7219
  // Owm methods of Meta-10.Meta.Group
7169
7220
 
7170
7221
  get_size(): number
7171
- get_startup_id(): string | null
7222
+ get_startup_id(): string
7172
7223
  list_windows(): Window[]
7173
7224
  update_layers(): void
7174
7225
  }
@@ -7216,7 +7267,7 @@ interface KeyBinding {
7216
7267
 
7217
7268
  get_mask(): number
7218
7269
  get_modifiers(): VirtualModifier
7219
- get_name(): string | null
7270
+ get_name(): string
7220
7271
  is_builtin(): boolean
7221
7272
  is_reversed(): boolean
7222
7273
  }
@@ -7322,27 +7373,27 @@ interface PluginInfo {
7322
7373
  * name of the plugin
7323
7374
  * @field
7324
7375
  */
7325
- name: string | null
7376
+ name: string
7326
7377
  /**
7327
7378
  * version of the plugin
7328
7379
  * @field
7329
7380
  */
7330
- version: string | null
7381
+ version: string
7331
7382
  /**
7332
7383
  * author of the plugin
7333
7384
  * @field
7334
7385
  */
7335
- author: string | null
7386
+ author: string
7336
7387
  /**
7337
7388
  * license of the plugin
7338
7389
  * @field
7339
7390
  */
7340
- license: string | null
7391
+ license: string
7341
7392
  /**
7342
7393
  * description of the plugin
7343
7394
  * @field
7344
7395
  */
7345
- description: string | null
7396
+ description: string
7346
7397
  }
7347
7398
 
7348
7399
  class PluginInfo {
@@ -7450,7 +7501,7 @@ interface SelectionSourceClass {
7450
7501
  activated: (source: SelectionSource) => void
7451
7502
  deactivated: (source: SelectionSource) => void
7452
7503
  get_mimetypes: (source: SelectionSource) => string[]
7453
- read_async: (source: SelectionSource, mimetype: string | null, cancellable: Gio.Cancellable | null, callback: Gio.AsyncReadyCallback | null) => void
7504
+ read_async: (source: SelectionSource, mimetype: string, cancellable: Gio.Cancellable | null, callback: Gio.AsyncReadyCallback | null) => void
7454
7505
  read_finish: (source: SelectionSource, result: Gio.AsyncResult) => Gio.InputStream
7455
7506
  }
7456
7507
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@girs/meta-10",
3
- "version": "10.0.0-3.2.5",
3
+ "version": "10.0.0-3.2.7",
4
4
  "description": "GJS TypeScript type definitions for Meta-10, generated from library version 10.0.0",
5
5
  "type": "module",
6
6
  "module": "meta-10.js",
@@ -25,29 +25,29 @@
25
25
  "test:cjs": "NODE_OPTIONS=--max_old_space_size=9216 tsc --noEmit meta-10.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-10": "^10.0.0-3.2.5",
31
- "@girs/cogl-10": "^10.0.0-3.2.5",
32
- "@girs/coglpango-10": "^10.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-10": "^10.0.0-3.2.7",
31
+ "@girs/cogl-10": "^10.0.0-3.2.7",
32
+ "@girs/coglpango-10": "^10.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": "*"