@girs/meta-12 12.0.0-3.2.6 → 12.0.0-3.2.8
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 +1 -1
- package/meta-12-ambient.js +2 -0
- package/meta-12-import.js +3 -0
- package/meta-12.d.cts +57 -104
- package/meta-12.d.ts +57 -104
- package/package.json +29 -23
package/README.md
CHANGED
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|

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