@girs/meta-13 13.0.0-3.2.6 → 13.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-13-ambient.js +2 -0
- package/meta-13-import.js +3 -0
- package/meta-13.d.cts +58 -104
- package/meta-13.d.ts +58 -104
- package/package.json +30 -24
package/README.md
CHANGED
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|

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