@gtkx/ffi 0.1.45 → 0.1.46
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/dist/cairo/cairo.d.ts +103 -0
- package/dist/cairo/cairo.js +103 -0
- package/dist/cairo/index.d.ts +13 -0
- package/dist/cairo/index.js +13 -0
- package/dist/codegen/ffi-generator.d.ts +21 -0
- package/dist/codegen/ffi-generator.js +14 -0
- package/dist/generated/gdk/app-launch-context.d.ts +74 -0
- package/dist/generated/gdk/app-launch-context.js +74 -0
- package/dist/generated/gdk/button-event.d.ts +4 -0
- package/dist/generated/gdk/button-event.js +4 -0
- package/dist/generated/gdk/cairo-context.d.ts +17 -0
- package/dist/generated/gdk/cairo-context.js +17 -0
- package/dist/generated/gdk/cicp-params.d.ts +64 -0
- package/dist/generated/gdk/cicp-params.js +64 -0
- package/dist/generated/gdk/clipboard.d.ts +71 -0
- package/dist/generated/gdk/clipboard.js +89 -0
- package/dist/generated/gdk/color-state.d.ts +96 -0
- package/dist/generated/gdk/color-state.js +96 -0
- package/dist/generated/gdk/content-deserializer.d.ts +58 -0
- package/dist/generated/gdk/content-deserializer.js +58 -0
- package/dist/generated/gdk/content-formats-builder.d.ts +38 -0
- package/dist/generated/gdk/content-formats-builder.js +38 -0
- package/dist/generated/gdk/content-formats.d.ts +144 -0
- package/dist/generated/gdk/content-formats.js +144 -0
- package/dist/generated/gdk/content-provider.d.ts +59 -0
- package/dist/generated/gdk/content-provider.js +64 -0
- package/dist/generated/gdk/content-serializer.d.ts +59 -0
- package/dist/generated/gdk/content-serializer.js +59 -0
- package/dist/generated/gdk/crossing-event.d.ts +10 -0
- package/dist/generated/gdk/crossing-event.js +10 -0
- package/dist/generated/gdk/cursor.d.ts +139 -0
- package/dist/generated/gdk/cursor.js +129 -0
- package/dist/generated/gdk/delete-event.d.ts +1 -0
- package/dist/generated/gdk/delete-event.js +1 -0
- package/dist/generated/gdk/device-pad.d.ts +40 -0
- package/dist/generated/gdk/device-pad.js +40 -0
- package/dist/generated/gdk/device-tool.d.ts +26 -0
- package/dist/generated/gdk/device-tool.js +26 -0
- package/dist/generated/gdk/device.d.ts +123 -0
- package/dist/generated/gdk/device.js +129 -0
- package/dist/generated/gdk/display-manager.d.ts +25 -0
- package/dist/generated/gdk/display-manager.js +70 -0
- package/dist/generated/gdk/display.d.ts +256 -0
- package/dist/generated/gdk/display.js +272 -0
- package/dist/generated/gdk/dmabuf-formats.d.ts +55 -0
- package/dist/generated/gdk/dmabuf-formats.js +55 -0
- package/dist/generated/gdk/dmabuf-texture-builder.d.ts +217 -0
- package/dist/generated/gdk/dmabuf-texture-builder.js +217 -0
- package/dist/generated/gdk/dmabuf-texture.d.ts +8 -0
- package/dist/generated/gdk/dmabuf-texture.js +8 -0
- package/dist/generated/gdk/dndevent.d.ts +4 -0
- package/dist/generated/gdk/dndevent.js +4 -0
- package/dist/generated/gdk/drag-surface.d.ts +6 -0
- package/dist/generated/gdk/drag-surface.js +6 -0
- package/dist/generated/gdk/drag.d.ts +74 -0
- package/dist/generated/gdk/drag.js +86 -0
- package/dist/generated/gdk/draw-context.d.ts +70 -0
- package/dist/generated/gdk/draw-context.js +70 -0
- package/dist/generated/gdk/drop.d.ts +93 -0
- package/dist/generated/gdk/drop.js +93 -0
- package/dist/generated/gdk/enums.d.ts +1069 -0
- package/dist/generated/gdk/enums.js +1069 -0
- package/dist/generated/gdk/event-sequence.d.ts +1 -0
- package/dist/generated/gdk/event-sequence.js +1 -0
- package/dist/generated/gdk/event.d.ts +142 -0
- package/dist/generated/gdk/event.js +142 -0
- package/dist/generated/gdk/file-list.d.ts +20 -0
- package/dist/generated/gdk/file-list.js +20 -0
- package/dist/generated/gdk/focus-event.d.ts +5 -0
- package/dist/generated/gdk/focus-event.js +5 -0
- package/dist/generated/gdk/frame-clock.d.ts +79 -0
- package/dist/generated/gdk/frame-clock.js +113 -0
- package/dist/generated/gdk/frame-timings.d.ts +68 -0
- package/dist/generated/gdk/frame-timings.js +68 -0
- package/dist/generated/gdk/functions.d.ts +367 -0
- package/dist/generated/gdk/functions.js +367 -0
- package/dist/generated/gdk/glcontext.d.ts +203 -0
- package/dist/generated/gdk/glcontext.js +203 -0
- package/dist/generated/gdk/gltexture-builder.d.ts +157 -0
- package/dist/generated/gdk/gltexture-builder.js +157 -0
- package/dist/generated/gdk/gltexture.d.ts +21 -0
- package/dist/generated/gdk/gltexture.js +8 -0
- package/dist/generated/gdk/grab-broken-event.d.ts +7 -0
- package/dist/generated/gdk/grab-broken-event.js +7 -0
- package/dist/generated/gdk/key-event.d.ts +39 -0
- package/dist/generated/gdk/key-event.js +39 -0
- package/dist/generated/gdk/memory-texture-builder.d.ts +131 -0
- package/dist/generated/gdk/memory-texture-builder.js +131 -0
- package/dist/generated/gdk/memory-texture.d.ts +12 -0
- package/dist/generated/gdk/memory-texture.js +1 -0
- package/dist/generated/gdk/monitor.d.ts +77 -0
- package/dist/generated/gdk/monitor.js +85 -0
- package/dist/generated/gdk/motion-event.d.ts +1 -0
- package/dist/generated/gdk/motion-event.js +1 -0
- package/dist/generated/gdk/pad-event.d.ts +15 -0
- package/dist/generated/gdk/pad-event.js +15 -0
- package/dist/generated/gdk/paintable.d.ts +155 -0
- package/dist/generated/gdk/paintable.js +155 -0
- package/dist/generated/gdk/popup-layout.d.ts +126 -0
- package/dist/generated/gdk/popup-layout.js +110 -0
- package/dist/generated/gdk/popup.d.ts +53 -0
- package/dist/generated/gdk/popup.js +53 -0
- package/dist/generated/gdk/proximity-event.d.ts +1 -0
- package/dist/generated/gdk/proximity-event.js +1 -0
- package/dist/generated/gdk/rectangle.d.ts +53 -0
- package/dist/generated/gdk/rectangle.js +53 -0
- package/dist/generated/gdk/rgba.d.ts +82 -0
- package/dist/generated/gdk/rgba.js +82 -0
- package/dist/generated/gdk/scroll-event.d.ts +32 -0
- package/dist/generated/gdk/scroll-event.js +32 -0
- package/dist/generated/gdk/seat.d.ts +19 -0
- package/dist/generated/gdk/seat.js +20 -0
- package/dist/generated/gdk/snapshot.d.ts +5 -0
- package/dist/generated/gdk/snapshot.js +5 -0
- package/dist/generated/gdk/surface.d.ts +233 -0
- package/dist/generated/gdk/surface.js +236 -0
- package/dist/generated/gdk/texture-downloader.d.ts +81 -0
- package/dist/generated/gdk/texture-downloader.js +74 -0
- package/dist/generated/gdk/texture.d.ts +307 -0
- package/dist/generated/gdk/texture.js +299 -0
- package/dist/generated/gdk/toplevel-layout.d.ts +69 -0
- package/dist/generated/gdk/toplevel-layout.js +69 -0
- package/dist/generated/gdk/toplevel.d.ts +188 -0
- package/dist/generated/gdk/toplevel.js +188 -0
- package/dist/generated/gdk/touch-event.d.ts +4 -0
- package/dist/generated/gdk/touch-event.js +4 -0
- package/dist/generated/gdk/touchpad-event.d.ts +25 -0
- package/dist/generated/gdk/touchpad-event.js +25 -0
- package/dist/generated/gdk/vulkan-context.js +10 -0
- package/dist/generated/gdkpixbuf/enums.d.ts +106 -0
- package/dist/generated/gdkpixbuf/enums.js +106 -0
- package/dist/generated/gdkpixbuf/pixbuf-animation-iter.d.ts +64 -0
- package/dist/generated/gdkpixbuf/pixbuf-animation-iter.js +64 -0
- package/dist/generated/gdkpixbuf/pixbuf-animation.d.ts +132 -0
- package/dist/generated/gdkpixbuf/pixbuf-animation.js +121 -0
- package/dist/generated/gdkpixbuf/pixbuf-format.d.ts +80 -0
- package/dist/generated/gdkpixbuf/pixbuf-format.js +80 -0
- package/dist/generated/gdkpixbuf/pixbuf-loader.d.ts +107 -0
- package/dist/generated/gdkpixbuf/pixbuf-loader.js +154 -0
- package/dist/generated/gdkpixbuf/pixbuf-simple-anim.d.ts +20 -0
- package/dist/generated/gdkpixbuf/pixbuf-simple-anim.js +14 -0
- package/dist/generated/gdkpixbuf/pixbuf.d.ts +842 -0
- package/dist/generated/gdkpixbuf/pixbuf.js +829 -0
- package/dist/generated/gio/action-group.d.ts +243 -0
- package/dist/generated/gio/action-group.js +243 -0
- package/dist/generated/gio/action-map.d.ts +102 -0
- package/dist/generated/gio/action-map.js +102 -0
- package/dist/generated/gio/action.d.ts +118 -0
- package/dist/generated/gio/action.js +118 -0
- package/dist/generated/gio/app-info-monitor.d.ts +15 -0
- package/dist/generated/gio/app-info-monitor.js +56 -0
- package/dist/generated/gio/app-info.d.ts +221 -0
- package/dist/generated/gio/app-info.js +221 -0
- package/dist/generated/gio/app-launch-context.d.ts +53 -0
- package/dist/generated/gio/app-launch-context.js +58 -0
- package/dist/generated/gio/application-command-line.d.ts +339 -0
- package/dist/generated/gio/application-command-line.js +339 -0
- package/dist/generated/gio/application.d.ts +903 -0
- package/dist/generated/gio/application.js +1017 -0
- package/dist/generated/gio/async-initable.d.ts +155 -0
- package/dist/generated/gio/async-initable.js +155 -0
- package/dist/generated/gio/async-result.d.ts +110 -0
- package/dist/generated/gio/async-result.js +110 -0
- package/dist/generated/gio/buffered-input-stream.d.ts +154 -0
- package/dist/generated/gio/buffered-input-stream.js +149 -0
- package/dist/generated/gio/buffered-output-stream.d.ts +83 -0
- package/dist/generated/gio/buffered-output-stream.js +79 -0
- package/dist/generated/gio/bytes-icon.d.ts +67 -0
- package/dist/generated/gio/bytes-icon.js +60 -0
- package/dist/generated/gio/cancellable.d.ts +197 -0
- package/dist/generated/gio/cancellable.js +204 -0
- package/dist/generated/gio/charset-converter.d.ts +160 -0
- package/dist/generated/gio/charset-converter.js +155 -0
- package/dist/generated/gio/converter-input-stream.d.ts +70 -0
- package/dist/generated/gio/converter-input-stream.js +65 -0
- package/dist/generated/gio/converter-output-stream.d.ts +99 -0
- package/dist/generated/gio/converter-output-stream.js +94 -0
- package/dist/generated/gio/converter.d.ts +111 -0
- package/dist/generated/gio/converter.js +111 -0
- package/dist/generated/gio/credentials.d.ts +87 -0
- package/dist/generated/gio/credentials.js +87 -0
- package/dist/generated/gio/data-input-stream.d.ts +227 -0
- package/dist/generated/gio/data-input-stream.js +223 -0
- package/dist/generated/gio/data-output-stream.d.ts +97 -0
- package/dist/generated/gio/data-output-stream.js +93 -0
- package/dist/generated/gio/datagram-based.d.ts +224 -0
- package/dist/generated/gio/datagram-based.js +224 -0
- package/dist/generated/gio/dbus-action-group.d.ts +250 -0
- package/dist/generated/gio/dbus-action-group.js +250 -0
- package/dist/generated/gio/dbus-annotation-info.d.ts +23 -0
- package/dist/generated/gio/dbus-annotation-info.js +23 -0
- package/dist/generated/gio/dbus-arg-info.d.ts +16 -0
- package/dist/generated/gio/dbus-arg-info.js +16 -0
- package/dist/generated/gio/dbus-auth-observer.d.ts +12 -0
- package/dist/generated/gio/dbus-auth-observer.js +77 -0
- package/dist/generated/gio/dbus-connection.d.ts +948 -0
- package/dist/generated/gio/dbus-connection.js +998 -0
- package/dist/generated/gio/dbus-interface-info.d.ts +72 -0
- package/dist/generated/gio/dbus-interface-info.js +72 -0
- package/dist/generated/gio/dbus-interface-skeleton.d.ts +74 -0
- package/dist/generated/gio/dbus-interface-skeleton.js +75 -0
- package/dist/generated/gio/dbus-interface.d.ts +20 -0
- package/dist/generated/gio/dbus-interface.js +20 -0
- package/dist/generated/gio/dbus-menu-model.d.ts +18 -0
- package/dist/generated/gio/dbus-menu-model.js +18 -0
- package/dist/generated/gio/dbus-message.d.ts +271 -0
- package/dist/generated/gio/dbus-message.js +271 -0
- package/dist/generated/gio/dbus-method-info.d.ts +21 -0
- package/dist/generated/gio/dbus-method-info.js +21 -0
- package/dist/generated/gio/dbus-method-invocation.d.ts +148 -0
- package/dist/generated/gio/dbus-method-invocation.js +148 -0
- package/dist/generated/gio/dbus-node-info.d.ts +48 -0
- package/dist/generated/gio/dbus-node-info.js +37 -0
- package/dist/generated/gio/dbus-object-manager-client.d.ts +205 -0
- package/dist/generated/gio/dbus-object-manager-client.js +281 -0
- package/dist/generated/gio/dbus-object-manager-server.d.ts +89 -0
- package/dist/generated/gio/dbus-object-manager-server.js +79 -0
- package/dist/generated/gio/dbus-object-manager.d.ts +25 -0
- package/dist/generated/gio/dbus-object-manager.js +25 -0
- package/dist/generated/gio/dbus-object-proxy.d.ts +26 -0
- package/dist/generated/gio/dbus-object-proxy.js +20 -0
- package/dist/generated/gio/dbus-object-skeleton.d.ts +45 -0
- package/dist/generated/gio/dbus-object-skeleton.js +48 -0
- package/dist/generated/gio/dbus-object.d.ts +17 -0
- package/dist/generated/gio/dbus-object.js +17 -0
- package/dist/generated/gio/dbus-property-info.d.ts +17 -0
- package/dist/generated/gio/dbus-property-info.js +17 -0
- package/dist/generated/gio/dbus-proxy.d.ts +434 -0
- package/dist/generated/gio/dbus-proxy.js +480 -0
- package/dist/generated/gio/dbus-server.d.ts +90 -0
- package/dist/generated/gio/dbus-server.js +85 -0
- package/dist/generated/gio/dbus-signal-info.d.ts +18 -0
- package/dist/generated/gio/dbus-signal-info.js +18 -0
- package/dist/generated/gio/debug-controller-dbus.d.ts +77 -0
- package/dist/generated/gio/debug-controller-dbus.js +178 -0
- package/dist/generated/gio/debug-controller.d.ts +25 -0
- package/dist/generated/gio/debug-controller.js +25 -0
- package/dist/generated/gio/drive.d.ts +168 -0
- package/dist/generated/gio/drive.js +168 -0
- package/dist/generated/gio/dtls-client-connection.d.ts +40 -0
- package/dist/generated/gio/dtls-client-connection.js +40 -0
- package/dist/generated/gio/dtls-connection.d.ts +305 -0
- package/dist/generated/gio/dtls-connection.js +305 -0
- package/dist/generated/gio/dtls-server-connection.d.ts +4 -0
- package/dist/generated/gio/dtls-server-connection.js +4 -0
- package/dist/generated/gio/emblem.d.ts +55 -0
- package/dist/generated/gio/emblem.js +51 -0
- package/dist/generated/gio/emblemed-icon.d.ts +58 -0
- package/dist/generated/gio/emblemed-icon.js +53 -0
- package/dist/generated/gio/enums.d.ts +1294 -0
- package/dist/generated/gio/enums.js +1294 -0
- package/dist/generated/gio/file-attribute-info-list.d.ts +30 -0
- package/dist/generated/gio/file-attribute-info-list.js +30 -0
- package/dist/generated/gio/file-attribute-matcher.d.ts +70 -0
- package/dist/generated/gio/file-attribute-matcher.js +48 -0
- package/dist/generated/gio/file-enumerator.d.ts +222 -0
- package/dist/generated/gio/file-enumerator.js +222 -0
- package/dist/generated/gio/file-icon.d.ts +66 -0
- package/dist/generated/gio/file-icon.js +62 -0
- package/dist/generated/gio/file-info.d.ts +484 -0
- package/dist/generated/gio/file-info.js +484 -0
- package/dist/generated/gio/file-input-stream.d.ts +84 -0
- package/dist/generated/gio/file-input-stream.js +84 -0
- package/dist/generated/gio/file-iostream.d.ts +107 -0
- package/dist/generated/gio/file-iostream.js +107 -0
- package/dist/generated/gio/file-monitor.d.ts +23 -0
- package/dist/generated/gio/file-monitor.js +38 -0
- package/dist/generated/gio/file-output-stream.d.ts +102 -0
- package/dist/generated/gio/file-output-stream.js +102 -0
- package/dist/generated/gio/file.d.ts +1815 -0
- package/dist/generated/gio/file.js +1815 -0
- package/dist/generated/gio/filename-completer.d.ts +22 -0
- package/dist/generated/gio/filename-completer.js +27 -0
- package/dist/generated/gio/filter-input-stream.d.ts +17 -0
- package/dist/generated/gio/filter-input-stream.js +17 -0
- package/dist/generated/gio/filter-output-stream.d.ts +17 -0
- package/dist/generated/gio/filter-output-stream.js +17 -0
- package/dist/generated/gio/functions.d.ts +1432 -0
- package/dist/generated/gio/functions.js +1432 -0
- package/dist/generated/gio/icon.d.ts +64 -0
- package/dist/generated/gio/icon.js +64 -0
- package/dist/generated/gio/inet-address-mask.d.ts +80 -0
- package/dist/generated/gio/inet-address-mask.js +74 -0
- package/dist/generated/gio/inet-address.d.ts +100 -0
- package/dist/generated/gio/inet-address.js +95 -0
- package/dist/generated/gio/inet-socket-address.d.ts +39 -0
- package/dist/generated/gio/inet-socket-address.js +34 -0
- package/dist/generated/gio/initable.d.ts +67 -0
- package/dist/generated/gio/initable.js +67 -0
- package/dist/generated/gio/input-stream.d.ts +300 -0
- package/dist/generated/gio/input-stream.js +300 -0
- package/dist/generated/gio/iomodule.d.ts +43 -0
- package/dist/generated/gio/iomodule.js +38 -0
- package/dist/generated/gio/iostream.d.ts +147 -0
- package/dist/generated/gio/iostream.js +147 -0
- package/dist/generated/gio/list-model.d.ts +123 -0
- package/dist/generated/gio/list-model.js +123 -0
- package/dist/generated/gio/list-store.d.ts +170 -0
- package/dist/generated/gio/list-store.js +166 -0
- package/dist/generated/gio/loadable-icon.d.ts +25 -0
- package/dist/generated/gio/loadable-icon.js +25 -0
- package/dist/generated/gio/memory-input-stream.d.ts +127 -0
- package/dist/generated/gio/memory-input-stream.js +127 -0
- package/dist/generated/gio/memory-monitor.d.ts +50 -0
- package/dist/generated/gio/memory-monitor.js +50 -0
- package/dist/generated/gio/memory-output-stream.d.ts +176 -0
- package/dist/generated/gio/memory-output-stream.js +176 -0
- package/dist/generated/gio/menu-attribute-iter.d.ts +45 -0
- package/dist/generated/gio/menu-attribute-iter.js +45 -0
- package/dist/generated/gio/menu-item.d.ts +243 -0
- package/dist/generated/gio/menu-item.js +231 -0
- package/dist/generated/gio/menu-link-iter.d.ts +42 -0
- package/dist/generated/gio/menu-link-iter.js +42 -0
- package/dist/generated/gio/menu-model.d.ts +68 -0
- package/dist/generated/gio/menu-model.js +186 -0
- package/dist/generated/gio/menu.d.ts +140 -0
- package/dist/generated/gio/menu.js +140 -0
- package/dist/generated/gio/mount-operation.d.ts +73 -0
- package/dist/generated/gio/mount-operation.js +97 -0
- package/dist/generated/gio/mount.d.ts +217 -0
- package/dist/generated/gio/mount.js +217 -0
- package/dist/generated/gio/native-socket-address.d.ts +11 -0
- package/dist/generated/gio/native-socket-address.js +6 -0
- package/dist/generated/gio/network-address.d.ts +105 -0
- package/dist/generated/gio/network-address.js +93 -0
- package/dist/generated/gio/network-monitor.d.ts +79 -0
- package/dist/generated/gio/network-monitor.js +79 -0
- package/dist/generated/gio/network-service.d.ts +59 -0
- package/dist/generated/gio/network-service.js +51 -0
- package/dist/generated/gio/notification.d.ts +134 -0
- package/dist/generated/gio/notification.js +125 -0
- package/dist/generated/gio/output-stream.d.ts +452 -0
- package/dist/generated/gio/output-stream.js +452 -0
- package/dist/generated/gio/permission.d.ts +112 -0
- package/dist/generated/gio/permission.js +112 -0
- package/dist/generated/gio/pollable-input-stream.d.ts +66 -0
- package/dist/generated/gio/pollable-input-stream.js +66 -0
- package/dist/generated/gio/pollable-output-stream.d.ts +95 -0
- package/dist/generated/gio/pollable-output-stream.js +95 -0
- package/dist/generated/gio/power-profile-monitor.d.ts +33 -0
- package/dist/generated/gio/power-profile-monitor.js +33 -0
- package/dist/generated/gio/property-action.d.ts +154 -0
- package/dist/generated/gio/property-action.js +141 -0
- package/dist/generated/gio/proxy-address-enumerator.d.ts +12 -0
- package/dist/generated/gio/proxy-address-enumerator.js +12 -0
- package/dist/generated/gio/proxy-address.d.ts +42 -0
- package/dist/generated/gio/proxy-address.js +27 -0
- package/dist/generated/gio/proxy-resolver.d.ts +48 -0
- package/dist/generated/gio/proxy-resolver.js +48 -0
- package/dist/generated/gio/proxy.d.ts +38 -0
- package/dist/generated/gio/proxy.js +38 -0
- package/dist/generated/gio/remote-action-group.d.ts +51 -0
- package/dist/generated/gio/remote-action-group.js +51 -0
- package/dist/generated/gio/resolver.d.ts +214 -0
- package/dist/generated/gio/resolver.js +235 -0
- package/dist/generated/gio/resource.d.ts +278 -0
- package/dist/generated/gio/resource.js +262 -0
- package/dist/generated/gio/seekable.d.ts +58 -0
- package/dist/generated/gio/seekable.js +58 -0
- package/dist/generated/gio/settings-backend.d.ts +144 -0
- package/dist/generated/gio/settings-backend.js +144 -0
- package/dist/generated/gio/settings-schema-key.d.ts +99 -0
- package/dist/generated/gio/settings-schema-key.js +99 -0
- package/dist/generated/gio/settings-schema-source.d.ts +89 -0
- package/dist/generated/gio/settings-schema-source.js +53 -0
- package/dist/generated/gio/settings-schema.d.ts +136 -0
- package/dist/generated/gio/settings-schema.js +136 -0
- package/dist/generated/gio/settings.d.ts +582 -0
- package/dist/generated/gio/settings.js +949 -0
- package/dist/generated/gio/simple-action-group.d.ts +322 -0
- package/dist/generated/gio/simple-action-group.js +322 -0
- package/dist/generated/gio/simple-action.d.ts +136 -0
- package/dist/generated/gio/simple-action.js +133 -0
- package/dist/generated/gio/simple-async-result.d.ts +302 -0
- package/dist/generated/gio/simple-async-result.js +286 -0
- package/dist/generated/gio/simple-iostream.d.ts +18 -0
- package/dist/generated/gio/simple-iostream.js +12 -0
- package/dist/generated/gio/simple-permission.d.ts +13 -0
- package/dist/generated/gio/simple-permission.js +8 -0
- package/dist/generated/gio/simple-proxy-resolver.d.ts +85 -0
- package/dist/generated/gio/simple-proxy-resolver.js +85 -0
- package/dist/generated/gio/socket-address-enumerator.d.ts +49 -0
- package/dist/generated/gio/socket-address-enumerator.js +49 -0
- package/dist/generated/gio/socket-address.d.ts +51 -0
- package/dist/generated/gio/socket-address.js +45 -0
- package/dist/generated/gio/socket-client.d.ts +337 -0
- package/dist/generated/gio/socket-client.js +352 -0
- package/dist/generated/gio/socket-connectable.d.ts +80 -0
- package/dist/generated/gio/socket-connectable.js +80 -0
- package/dist/generated/gio/socket-connection.d.ts +84 -0
- package/dist/generated/gio/socket-connection.js +84 -0
- package/dist/generated/gio/socket-control-message.d.ts +56 -0
- package/dist/generated/gio/socket-control-message.js +56 -0
- package/dist/generated/gio/socket-listener.d.ts +174 -0
- package/dist/generated/gio/socket-listener.js +191 -0
- package/dist/generated/gio/socket-service.d.ts +41 -0
- package/dist/generated/gio/socket-service.js +69 -0
- package/dist/generated/gio/socket.d.ts +999 -0
- package/dist/generated/gio/socket.js +981 -0
- package/dist/generated/gio/srv-target.d.ts +53 -0
- package/dist/generated/gio/srv-target.js +43 -0
- package/dist/generated/gio/subprocess-launcher.d.ts +226 -0
- package/dist/generated/gio/subprocess-launcher.js +218 -0
- package/dist/generated/gio/subprocess.d.ts +345 -0
- package/dist/generated/gio/subprocess.js +338 -0
- package/dist/generated/gio/task.d.ts +890 -0
- package/dist/generated/gio/task.js +868 -0
- package/dist/generated/gio/tcp-connection.d.ts +20 -0
- package/dist/generated/gio/tcp-connection.js +20 -0
- package/dist/generated/gio/tcp-wrapper-connection.d.ts +16 -0
- package/dist/generated/gio/tcp-wrapper-connection.js +11 -0
- package/dist/generated/gio/test-dbus.d.ts +131 -0
- package/dist/generated/gio/test-dbus.js +127 -0
- package/dist/generated/gio/themed-icon.d.ts +87 -0
- package/dist/generated/gio/themed-icon.js +83 -0
- package/dist/generated/gio/threaded-resolver.d.ts +4 -0
- package/dist/generated/gio/threaded-resolver.js +4 -0
- package/dist/generated/gio/threaded-socket-service.d.ts +5 -0
- package/dist/generated/gio/threaded-socket-service.js +18 -0
- package/dist/generated/gio/tls-backend.d.ts +45 -0
- package/dist/generated/gio/tls-backend.js +45 -0
- package/dist/generated/gio/tls-certificate.d.ts +190 -0
- package/dist/generated/gio/tls-certificate.js +178 -0
- package/dist/generated/gio/tls-client-connection.d.ts +88 -0
- package/dist/generated/gio/tls-client-connection.js +88 -0
- package/dist/generated/gio/tls-connection.d.ts +234 -0
- package/dist/generated/gio/tls-connection.js +243 -0
- package/dist/generated/gio/tls-database.d.ts +223 -0
- package/dist/generated/gio/tls-database.js +223 -0
- package/dist/generated/gio/tls-file-database.d.ts +5 -0
- package/dist/generated/gio/tls-file-database.js +5 -0
- package/dist/generated/gio/tls-interaction.d.ts +169 -0
- package/dist/generated/gio/tls-interaction.js +169 -0
- package/dist/generated/gio/tls-password.d.ts +67 -0
- package/dist/generated/gio/tls-password.js +62 -0
- package/dist/generated/gio/tls-server-connection.d.ts +4 -0
- package/dist/generated/gio/tls-server-connection.js +4 -0
- package/dist/generated/gio/unix-connection.d.ts +112 -0
- package/dist/generated/gio/unix-connection.js +112 -0
- package/dist/generated/gio/unix-credentials-message.d.ts +34 -0
- package/dist/generated/gio/unix-credentials-message.js +34 -0
- package/dist/generated/gio/unix-fdlist.d.ts +102 -0
- package/dist/generated/gio/unix-fdlist.js +102 -0
- package/dist/generated/gio/unix-socket-address.d.ts +90 -0
- package/dist/generated/gio/unix-socket-address.js +83 -0
- package/dist/generated/gio/vfs.d.ts +65 -0
- package/dist/generated/gio/vfs.js +65 -0
- package/dist/generated/gio/volume-monitor.d.ts +60 -0
- package/dist/generated/gio/volume-monitor.js +73 -0
- package/dist/generated/gio/volume.d.ts +164 -0
- package/dist/generated/gio/volume.js +164 -0
- package/dist/generated/gio/zlib-compressor.d.ts +131 -0
- package/dist/generated/gio/zlib-compressor.js +126 -0
- package/dist/generated/gio/zlib-decompressor.d.ts +111 -0
- package/dist/generated/gio/zlib-decompressor.js +107 -0
- package/dist/generated/glib/array.d.ts +9 -0
- package/dist/generated/glib/array.js +9 -0
- package/dist/generated/glib/bookmark-file.d.ts +513 -0
- package/dist/generated/glib/bookmark-file.js +513 -0
- package/dist/generated/glib/byte-array.d.ts +128 -0
- package/dist/generated/glib/byte-array.js +128 -0
- package/dist/generated/glib/bytes.d.ts +176 -0
- package/dist/generated/glib/bytes.js +176 -0
- package/dist/generated/glib/checksum.d.ts +64 -0
- package/dist/generated/glib/checksum.js +48 -0
- package/dist/generated/glib/date-time.d.ts +631 -0
- package/dist/generated/glib/date-time.js +595 -0
- package/dist/generated/glib/date.d.ts +393 -0
- package/dist/generated/glib/date.js +393 -0
- package/dist/generated/glib/dir.d.ts +67 -0
- package/dist/generated/glib/dir.js +60 -0
- package/dist/generated/glib/enums.d.ts +1721 -0
- package/dist/generated/glib/enums.js +1721 -0
- package/dist/generated/glib/error.d.ts +70 -0
- package/dist/generated/glib/error.js +61 -0
- package/dist/generated/glib/functions.d.ts +7786 -0
- package/dist/generated/glib/functions.js +7786 -0
- package/dist/generated/glib/hash-table.d.ts +233 -0
- package/dist/generated/glib/hash-table.js +233 -0
- package/dist/generated/glib/iochannel.d.ts +299 -0
- package/dist/generated/glib/iochannel.js +290 -0
- package/dist/generated/glib/key-file.d.ts +606 -0
- package/dist/generated/glib/key-file.js +606 -0
- package/dist/generated/glib/main-context.d.ts +346 -0
- package/dist/generated/glib/main-context.js +346 -0
- package/dist/generated/glib/main-loop.d.ts +38 -0
- package/dist/generated/glib/main-loop.js +33 -0
- package/dist/generated/glib/mapped-file.d.ts +72 -0
- package/dist/generated/glib/mapped-file.js +52 -0
- package/dist/generated/glib/markup-parse-context.d.ts +220 -0
- package/dist/generated/glib/markup-parse-context.js +209 -0
- package/dist/generated/glib/match-info.d.ts +369 -0
- package/dist/generated/glib/match-info.js +369 -0
- package/dist/generated/glib/option-group.d.ts +54 -0
- package/dist/generated/glib/option-group.js +41 -0
- package/dist/generated/glib/pattern-spec.d.ts +65 -0
- package/dist/generated/glib/pattern-spec.js +61 -0
- package/dist/generated/glib/poll-fd.d.ts +15 -0
- package/dist/generated/glib/poll-fd.js +15 -0
- package/dist/generated/glib/ptr-array.d.ts +6 -0
- package/dist/generated/glib/ptr-array.js +6 -0
- package/dist/generated/glib/rand.d.ts +61 -0
- package/dist/generated/glib/rand.js +61 -0
- package/dist/generated/glib/regex.d.ts +575 -0
- package/dist/generated/glib/regex.js +568 -0
- package/dist/generated/glib/source.d.ts +506 -0
- package/dist/generated/glib/source.js +492 -0
- package/dist/generated/glib/string.d.ts +249 -0
- package/dist/generated/glib/string.js +245 -0
- package/dist/generated/glib/strv-builder.d.ts +72 -0
- package/dist/generated/glib/strv-builder.js +72 -0
- package/dist/generated/glib/thread.d.ts +124 -0
- package/dist/generated/glib/thread.js +92 -0
- package/dist/generated/glib/time-zone.d.ts +217 -0
- package/dist/generated/glib/time-zone.js +209 -0
- package/dist/generated/glib/tree.d.ts +216 -0
- package/dist/generated/glib/tree.js +207 -0
- package/dist/generated/glib/uri.d.ts +549 -0
- package/dist/generated/glib/uri.js +549 -0
- package/dist/generated/glib/variant-builder.d.ts +113 -0
- package/dist/generated/glib/variant-builder.js +101 -0
- package/dist/generated/glib/variant-dict.d.ts +174 -0
- package/dist/generated/glib/variant-dict.js +161 -0
- package/dist/generated/glib/variant-type.d.ts +420 -0
- package/dist/generated/glib/variant-type.js +410 -0
- package/dist/generated/glib/variant.d.ts +1132 -0
- package/dist/generated/glib/variant.js +1112 -0
- package/dist/generated/gmodule/enums.d.ts +19 -0
- package/dist/generated/gmodule/enums.js +19 -0
- package/dist/generated/gmodule/functions.d.ts +23 -0
- package/dist/generated/gmodule/functions.js +23 -0
- package/dist/generated/gobject/binding-group.d.ts +59 -0
- package/dist/generated/gobject/binding-group.js +68 -0
- package/dist/generated/gobject/binding.d.ts +60 -0
- package/dist/generated/gobject/binding.js +137 -0
- package/dist/generated/gobject/closure.d.ts +187 -0
- package/dist/generated/gobject/closure.js +179 -0
- package/dist/generated/gobject/enums.d.ts +183 -0
- package/dist/generated/gobject/enums.js +183 -0
- package/dist/generated/gobject/functions.d.ts +1431 -0
- package/dist/generated/gobject/functions.js +1431 -0
- package/dist/generated/gobject/initially-unowned.js +6 -0
- package/dist/generated/gobject/object.d.ts +357 -0
- package/dist/generated/gobject/object.js +372 -0
- package/dist/generated/gobject/param-spec-boolean.d.ts +3 -0
- package/dist/generated/gobject/param-spec-boolean.js +3 -0
- package/dist/generated/gobject/param-spec-boxed.d.ts +3 -0
- package/dist/generated/gobject/param-spec-boxed.js +3 -0
- package/dist/generated/gobject/param-spec-char.d.ts +3 -0
- package/dist/generated/gobject/param-spec-char.js +3 -0
- package/dist/generated/gobject/param-spec-double.d.ts +3 -0
- package/dist/generated/gobject/param-spec-double.js +3 -0
- package/dist/generated/gobject/param-spec-enum.d.ts +4 -0
- package/dist/generated/gobject/param-spec-enum.js +4 -0
- package/dist/generated/gobject/param-spec-flags.d.ts +4 -0
- package/dist/generated/gobject/param-spec-flags.js +4 -0
- package/dist/generated/gobject/param-spec-float.d.ts +3 -0
- package/dist/generated/gobject/param-spec-float.js +3 -0
- package/dist/generated/gobject/param-spec-gtype.d.ts +3 -0
- package/dist/generated/gobject/param-spec-gtype.js +3 -0
- package/dist/generated/gobject/param-spec-int.d.ts +3 -0
- package/dist/generated/gobject/param-spec-int.js +3 -0
- package/dist/generated/gobject/param-spec-int64.d.ts +3 -0
- package/dist/generated/gobject/param-spec-int64.js +3 -0
- package/dist/generated/gobject/param-spec-long.d.ts +3 -0
- package/dist/generated/gobject/param-spec-long.js +3 -0
- package/dist/generated/gobject/param-spec-object.d.ts +3 -0
- package/dist/generated/gobject/param-spec-object.js +3 -0
- package/dist/generated/gobject/param-spec-override.d.ts +13 -0
- package/dist/generated/gobject/param-spec-override.js +13 -0
- package/dist/generated/gobject/param-spec-param.d.ts +4 -0
- package/dist/generated/gobject/param-spec-param.js +4 -0
- package/dist/generated/gobject/param-spec-pointer.d.ts +3 -0
- package/dist/generated/gobject/param-spec-pointer.js +3 -0
- package/dist/generated/gobject/param-spec-string.d.ts +4 -0
- package/dist/generated/gobject/param-spec-string.js +4 -0
- package/dist/generated/gobject/param-spec-uchar.d.ts +3 -0
- package/dist/generated/gobject/param-spec-uchar.js +3 -0
- package/dist/generated/gobject/param-spec-uint.d.ts +3 -0
- package/dist/generated/gobject/param-spec-uint.js +3 -0
- package/dist/generated/gobject/param-spec-uint64.d.ts +3 -0
- package/dist/generated/gobject/param-spec-uint64.js +3 -0
- package/dist/generated/gobject/param-spec-ulong.d.ts +3 -0
- package/dist/generated/gobject/param-spec-ulong.js +3 -0
- package/dist/generated/gobject/param-spec-unichar.d.ts +3 -0
- package/dist/generated/gobject/param-spec-unichar.js +3 -0
- package/dist/generated/gobject/param-spec-value-array.d.ts +3 -0
- package/dist/generated/gobject/param-spec-value-array.js +3 -0
- package/dist/generated/gobject/param-spec-variant.d.ts +9 -0
- package/dist/generated/gobject/param-spec-variant.js +9 -0
- package/dist/generated/gobject/param-spec.d.ts +82 -0
- package/dist/generated/gobject/param-spec.js +82 -0
- package/dist/generated/gobject/signal-group.d.ts +57 -0
- package/dist/generated/gobject/signal-group.js +74 -0
- package/dist/generated/gobject/type-module.d.ts +95 -0
- package/dist/generated/gobject/type-module.js +128 -0
- package/dist/generated/gobject/type-plugin.d.ts +76 -0
- package/dist/generated/gobject/type-plugin.js +76 -0
- package/dist/generated/gobject/value-array.d.ts +77 -0
- package/dist/generated/gobject/value-array.js +71 -0
- package/dist/generated/gobject/value.d.ts +353 -0
- package/dist/generated/gobject/value.js +353 -0
- package/dist/generated/graphene/box.d.ts +161 -0
- package/dist/generated/graphene/box.js +161 -0
- package/dist/generated/graphene/enums.d.ts +68 -0
- package/dist/generated/graphene/enums.js +68 -0
- package/dist/generated/graphene/euler.d.ts +147 -0
- package/dist/generated/graphene/euler.js +147 -0
- package/dist/generated/graphene/frustum.d.ts +56 -0
- package/dist/generated/graphene/frustum.js +56 -0
- package/dist/generated/graphene/functions.d.ts +108 -0
- package/dist/generated/graphene/functions.js +108 -0
- package/dist/generated/graphene/matrix.d.ts +477 -0
- package/dist/generated/graphene/matrix.js +477 -0
- package/dist/generated/graphene/plane.d.ts +85 -0
- package/dist/generated/graphene/plane.js +85 -0
- package/dist/generated/graphene/point.d.ts +79 -0
- package/dist/generated/graphene/point.js +79 -0
- package/dist/generated/graphene/point3d.d.ts +91 -0
- package/dist/generated/graphene/point3d.js +91 -0
- package/dist/generated/graphene/quad.d.ts +42 -0
- package/dist/generated/graphene/quad.js +42 -0
- package/dist/generated/graphene/quaternion.d.ts +140 -0
- package/dist/generated/graphene/quaternion.js +140 -0
- package/dist/generated/graphene/ray.d.ts +108 -0
- package/dist/generated/graphene/ray.js +108 -0
- package/dist/generated/graphene/rect.d.ts +245 -0
- package/dist/generated/graphene/rect.js +245 -0
- package/dist/generated/graphene/size.d.ts +41 -0
- package/dist/generated/graphene/size.js +41 -0
- package/dist/generated/graphene/sphere.d.ts +68 -0
- package/dist/generated/graphene/sphere.js +68 -0
- package/dist/generated/graphene/triangle.d.ts +111 -0
- package/dist/generated/graphene/triangle.js +111 -0
- package/dist/generated/graphene/vec2.d.ts +127 -0
- package/dist/generated/graphene/vec2.js +127 -0
- package/dist/generated/graphene/vec3.d.ts +169 -0
- package/dist/generated/graphene/vec3.js +169 -0
- package/dist/generated/graphene/vec4.d.ts +170 -0
- package/dist/generated/graphene/vec4.js +170 -0
- package/dist/generated/gsk/blend-node.d.ts +16 -0
- package/dist/generated/gsk/blend-node.js +10 -0
- package/dist/generated/gsk/blur-node.d.ts +12 -0
- package/dist/generated/gsk/blur-node.js +7 -0
- package/dist/generated/gsk/border-node.d.ts +19 -0
- package/dist/generated/gsk/border-node.js +10 -0
- package/dist/generated/gsk/broadway-renderer.d.ts +15 -0
- package/dist/generated/gsk/broadway-renderer.js +15 -0
- package/dist/generated/gsk/cairo-node.d.ts +18 -0
- package/dist/generated/gsk/cairo-node.js +11 -0
- package/dist/generated/gsk/cairo-renderer.d.ts +16 -0
- package/dist/generated/gsk/cairo-renderer.js +16 -0
- package/dist/generated/gsk/clip-node.d.ts +13 -0
- package/dist/generated/gsk/clip-node.js +7 -0
- package/dist/generated/gsk/color-matrix-node.d.ts +24 -0
- package/dist/generated/gsk/color-matrix-node.js +10 -0
- package/dist/generated/gsk/color-node.d.ts +13 -0
- package/dist/generated/gsk/color-node.js +7 -0
- package/dist/generated/gsk/component-transfer-node.d.ts +16 -0
- package/dist/generated/gsk/component-transfer-node.js +7 -0
- package/dist/generated/gsk/component-transfer.d.ts +107 -0
- package/dist/generated/gsk/component-transfer.js +89 -0
- package/dist/generated/gsk/conic-gradient-node.d.ts +34 -0
- package/dist/generated/gsk/conic-gradient-node.js +22 -0
- package/dist/generated/gsk/container-node.d.ts +15 -0
- package/dist/generated/gsk/container-node.js +8 -0
- package/dist/generated/gsk/cross-fade-node.d.ts +16 -0
- package/dist/generated/gsk/cross-fade-node.js +10 -0
- package/dist/generated/gsk/debug-node.d.ts +18 -0
- package/dist/generated/gsk/debug-node.js +10 -0
- package/dist/generated/gsk/enums.d.ts +313 -0
- package/dist/generated/gsk/enums.js +313 -0
- package/dist/generated/gsk/fill-node.d.ts +21 -0
- package/dist/generated/gsk/fill-node.js +14 -0
- package/dist/generated/gsk/functions.d.ts +76 -0
- package/dist/generated/gsk/functions.js +76 -0
- package/dist/generated/gsk/glrenderer.d.ts +8 -0
- package/dist/generated/gsk/glrenderer.js +8 -0
- package/dist/generated/gsk/glshader-node.d.ts +38 -0
- package/dist/generated/gsk/glshader-node.js +14 -0
- package/dist/generated/gsk/glshader.d.ts +226 -0
- package/dist/generated/gsk/glshader.js +222 -0
- package/dist/generated/gsk/inset-shadow-node.d.ts +32 -0
- package/dist/generated/gsk/inset-shadow-node.js +22 -0
- package/dist/generated/gsk/linear-gradient-node.d.ts +23 -0
- package/dist/generated/gsk/linear-gradient-node.js +14 -0
- package/dist/generated/gsk/mask-node.d.ts +20 -0
- package/dist/generated/gsk/mask-node.js +10 -0
- package/dist/generated/gsk/ngl-renderer.d.ts +8 -0
- package/dist/generated/gsk/ngl-renderer.js +8 -0
- package/dist/generated/gsk/opacity-node.d.ts +13 -0
- package/dist/generated/gsk/opacity-node.js +7 -0
- package/dist/generated/gsk/outset-shadow-node.d.ts +32 -0
- package/dist/generated/gsk/outset-shadow-node.js +22 -0
- package/dist/generated/gsk/path-builder.d.ts +336 -0
- package/dist/generated/gsk/path-builder.js +336 -0
- package/dist/generated/gsk/path-measure.d.ts +47 -0
- package/dist/generated/gsk/path-measure.js +42 -0
- package/dist/generated/gsk/path-point.d.ts +93 -0
- package/dist/generated/gsk/path-point.js +93 -0
- package/dist/generated/gsk/path.d.ts +181 -0
- package/dist/generated/gsk/path.js +181 -0
- package/dist/generated/gsk/radial-gradient-node.d.ts +37 -0
- package/dist/generated/gsk/radial-gradient-node.js +23 -0
- package/dist/generated/gsk/render-node.d.ts +83 -0
- package/dist/generated/gsk/render-node.js +83 -0
- package/dist/generated/gsk/renderer.d.ts +79 -0
- package/dist/generated/gsk/renderer.js +69 -0
- package/dist/generated/gsk/repeat-node.d.ts +14 -0
- package/dist/generated/gsk/repeat-node.js +7 -0
- package/dist/generated/gsk/repeating-linear-gradient-node.d.ts +11 -0
- package/dist/generated/gsk/repeating-linear-gradient-node.js +1 -0
- package/dist/generated/gsk/repeating-radial-gradient-node.d.ts +15 -0
- package/dist/generated/gsk/repeating-radial-gradient-node.js +1 -0
- package/dist/generated/gsk/rounded-clip-node.d.ts +13 -0
- package/dist/generated/gsk/rounded-clip-node.js +7 -0
- package/dist/generated/gsk/shader-args-builder.d.ts +77 -0
- package/dist/generated/gsk/shader-args-builder.js +71 -0
- package/dist/generated/gsk/shadow-node.d.ts +18 -0
- package/dist/generated/gsk/shadow-node.js +11 -0
- package/dist/generated/gsk/stroke-node.d.ts +23 -0
- package/dist/generated/gsk/stroke-node.js +14 -0
- package/dist/generated/gsk/stroke.d.ts +110 -0
- package/dist/generated/gsk/stroke.js +106 -0
- package/dist/generated/gsk/subsurface-node.d.ts +6 -0
- package/dist/generated/gsk/subsurface-node.js +6 -0
- package/dist/generated/gsk/text-node.d.ts +33 -0
- package/dist/generated/gsk/text-node.js +23 -0
- package/dist/generated/gsk/texture-node.d.ts +14 -0
- package/dist/generated/gsk/texture-node.js +4 -0
- package/dist/generated/gsk/texture-scale-node.d.ts +24 -0
- package/dist/generated/gsk/texture-scale-node.js +7 -0
- package/dist/generated/gsk/transform-node.d.ts +12 -0
- package/dist/generated/gsk/transform-node.js +7 -0
- package/dist/generated/gsk/transform.d.ts +282 -0
- package/dist/generated/gsk/transform.js +282 -0
- package/dist/generated/gsk/vulkan-renderer.d.ts +14 -0
- package/dist/generated/gsk/vulkan-renderer.js +14 -0
- package/dist/generated/gtk/about-dialog.d.ts +166 -0
- package/dist/generated/gtk/about-dialog.js +220 -0
- package/dist/generated/gtk/accessible-list.d.ts +14 -0
- package/dist/generated/gtk/accessible-list.js +14 -0
- package/dist/generated/gtk/accessible-range.d.ts +27 -0
- package/dist/generated/gtk/accessible-range.js +27 -0
- package/dist/generated/gtk/accessible-text.d.ts +38 -0
- package/dist/generated/gtk/accessible-text.js +38 -0
- package/dist/generated/gtk/accessible.d.ts +154 -0
- package/dist/generated/gtk/accessible.js +154 -0
- package/dist/generated/gtk/action-bar.d.ts +75 -0
- package/dist/generated/gtk/action-bar.js +75 -0
- package/dist/generated/gtk/actionable.d.ts +65 -0
- package/dist/generated/gtk/actionable.js +65 -0
- package/dist/generated/gtk/activate-action.d.ts +11 -0
- package/dist/generated/gtk/activate-action.js +11 -0
- package/dist/generated/gtk/adjustment.d.ts +121 -0
- package/dist/generated/gtk/adjustment.js +125 -0
- package/dist/generated/gtk/alert-dialog.d.ts +76 -0
- package/dist/generated/gtk/alert-dialog.js +76 -0
- package/dist/generated/gtk/alternative-trigger.d.ts +30 -0
- package/dist/generated/gtk/alternative-trigger.js +21 -0
- package/dist/generated/gtk/any-filter.d.ts +14 -0
- package/dist/generated/gtk/any-filter.js +14 -0
- package/dist/generated/gtk/app-chooser-button.d.ts +76 -0
- package/dist/generated/gtk/app-chooser-button.js +100 -0
- package/dist/generated/gtk/app-chooser-dialog.d.ts +38 -0
- package/dist/generated/gtk/app-chooser-dialog.js +49 -0
- package/dist/generated/gtk/app-chooser-widget.d.ts +69 -0
- package/dist/generated/gtk/app-chooser-widget.js +89 -0
- package/dist/generated/gtk/app-chooser.d.ts +31 -0
- package/dist/generated/gtk/app-chooser.js +31 -0
- package/dist/generated/gtk/application-window.d.ts +32 -0
- package/dist/generated/gtk/application-window.js +99 -0
- package/dist/generated/gtk/application.d.ts +191 -0
- package/dist/generated/gtk/application.js +239 -0
- package/dist/generated/gtk/aspect-frame.d.ts +65 -0
- package/dist/generated/gtk/aspect-frame.js +58 -0
- package/dist/generated/gtk/assistant-page.d.ts +4 -0
- package/dist/generated/gtk/assistant-page.js +4 -0
- package/dist/generated/gtk/assistant.d.ts +141 -0
- package/dist/generated/gtk/assistant.js +179 -0
- package/dist/generated/gtk/atcontext.d.ts +16 -0
- package/dist/generated/gtk/atcontext.js +13 -0
- package/dist/generated/gtk/bin-layout.d.ts +11 -0
- package/dist/generated/gtk/bin-layout.js +11 -0
- package/dist/generated/gtk/bitset-iter.d.ts +60 -0
- package/dist/generated/gtk/bitset-iter.js +60 -0
- package/dist/generated/gtk/bitset.d.ts +196 -0
- package/dist/generated/gtk/bitset.js +196 -0
- package/dist/generated/gtk/bookmark-list.d.ts +45 -0
- package/dist/generated/gtk/bookmark-list.js +40 -0
- package/dist/generated/gtk/bool-filter.d.ts +23 -0
- package/dist/generated/gtk/bool-filter.js +19 -0
- package/dist/generated/gtk/border.d.ts +18 -0
- package/dist/generated/gtk/border.js +18 -0
- package/dist/generated/gtk/box-layout.d.ts +62 -0
- package/dist/generated/gtk/box-layout.js +58 -0
- package/dist/generated/gtk/box.d.ts +122 -0
- package/dist/generated/gtk/box.js +117 -0
- package/dist/generated/gtk/buildable.d.ts +20 -0
- package/dist/generated/gtk/buildable.js +20 -0
- package/dist/generated/gtk/builder-cscope.d.ts +36 -0
- package/dist/generated/gtk/builder-cscope.js +36 -0
- package/dist/generated/gtk/builder-list-item-factory.d.ts +55 -0
- package/dist/generated/gtk/builder-list-item-factory.js +49 -0
- package/dist/generated/gtk/builder-scope.d.ts +19 -0
- package/dist/generated/gtk/builder-scope.js +19 -0
- package/dist/generated/gtk/builder.d.ts +613 -0
- package/dist/generated/gtk/builder.js +613 -0
- package/dist/generated/gtk/button.d.ts +152 -0
- package/dist/generated/gtk/button.js +189 -0
- package/dist/generated/gtk/calendar.d.ts +97 -0
- package/dist/generated/gtk/calendar.js +152 -0
- package/dist/generated/gtk/callback-action.d.ts +8 -0
- package/dist/generated/gtk/callback-action.js +1 -0
- package/dist/generated/gtk/cclosure-expression.d.ts +15 -0
- package/dist/generated/gtk/cclosure-expression.js +1 -0
- package/dist/generated/gtk/cell-area-box.d.ts +38 -0
- package/dist/generated/gtk/cell-area-box.js +38 -0
- package/dist/generated/gtk/cell-area-context.d.ts +133 -0
- package/dist/generated/gtk/cell-area-context.js +133 -0
- package/dist/generated/gtk/cell-area.d.ts +399 -0
- package/dist/generated/gtk/cell-area.js +714 -0
- package/dist/generated/gtk/cell-editable.d.ts +26 -0
- package/dist/generated/gtk/cell-editable.js +26 -0
- package/dist/generated/gtk/cell-layout.d.ts +176 -0
- package/dist/generated/gtk/cell-layout.js +176 -0
- package/dist/generated/gtk/cell-renderer-accel.d.ts +3 -0
- package/dist/generated/gtk/cell-renderer-accel.js +10 -0
- package/dist/generated/gtk/cell-renderer-combo.d.ts +9 -0
- package/dist/generated/gtk/cell-renderer-combo.js +23 -0
- package/dist/generated/gtk/cell-renderer-pixbuf.d.ts +25 -0
- package/dist/generated/gtk/cell-renderer-pixbuf.js +25 -0
- package/dist/generated/gtk/cell-renderer-progress.d.ts +16 -0
- package/dist/generated/gtk/cell-renderer-progress.js +16 -0
- package/dist/generated/gtk/cell-renderer-spin.d.ts +3 -0
- package/dist/generated/gtk/cell-renderer-spin.js +18 -0
- package/dist/generated/gtk/cell-renderer-spinner.d.ts +18 -0
- package/dist/generated/gtk/cell-renderer-spinner.js +18 -0
- package/dist/generated/gtk/cell-renderer-text.d.ts +19 -0
- package/dist/generated/gtk/cell-renderer-text.js +29 -0
- package/dist/generated/gtk/cell-renderer-toggle.d.ts +38 -0
- package/dist/generated/gtk/cell-renderer-toggle.js +46 -0
- package/dist/generated/gtk/cell-renderer.d.ts +160 -0
- package/dist/generated/gtk/cell-renderer.js +199 -0
- package/dist/generated/gtk/cell-view.d.ts +171 -0
- package/dist/generated/gtk/cell-view.js +171 -0
- package/dist/generated/gtk/center-box.d.ts +103 -0
- package/dist/generated/gtk/center-box.js +103 -0
- package/dist/generated/gtk/center-layout.d.ts +67 -0
- package/dist/generated/gtk/center-layout.js +67 -0
- package/dist/generated/gtk/check-button.d.ts +132 -0
- package/dist/generated/gtk/check-button.js +197 -0
- package/dist/generated/gtk/closure-expression.d.ts +14 -0
- package/dist/generated/gtk/closure-expression.js +4 -0
- package/dist/generated/gtk/color-button.d.ts +65 -0
- package/dist/generated/gtk/color-button.js +85 -0
- package/dist/generated/gtk/color-chooser-dialog.d.ts +43 -0
- package/dist/generated/gtk/color-chooser-dialog.js +59 -0
- package/dist/generated/gtk/color-chooser-widget.d.ts +75 -0
- package/dist/generated/gtk/color-chooser-widget.js +75 -0
- package/dist/generated/gtk/color-chooser.d.ts +48 -0
- package/dist/generated/gtk/color-chooser.js +48 -0
- package/dist/generated/gtk/color-dialog-button.d.ts +28 -0
- package/dist/generated/gtk/color-dialog-button.js +39 -0
- package/dist/generated/gtk/color-dialog.d.ts +47 -0
- package/dist/generated/gtk/color-dialog.js +47 -0
- package/dist/generated/gtk/column-view-cell.d.ts +17 -0
- package/dist/generated/gtk/column-view-cell.js +17 -0
- package/dist/generated/gtk/column-view-column.d.ts +127 -0
- package/dist/generated/gtk/column-view-column.js +112 -0
- package/dist/generated/gtk/column-view-row.d.ts +89 -0
- package/dist/generated/gtk/column-view-row.js +89 -0
- package/dist/generated/gtk/column-view-sorter.d.ts +67 -0
- package/dist/generated/gtk/column-view-sorter.js +67 -0
- package/dist/generated/gtk/column-view.d.ts +204 -0
- package/dist/generated/gtk/column-view.js +263 -0
- package/dist/generated/gtk/combo-box-text.d.ts +76 -0
- package/dist/generated/gtk/combo-box-text.js +133 -0
- package/dist/generated/gtk/combo-box.d.ts +261 -0
- package/dist/generated/gtk/combo-box.js +323 -0
- package/dist/generated/gtk/constant-expression.d.ts +8 -0
- package/dist/generated/gtk/constant-expression.js +4 -0
- package/dist/generated/gtk/constraint-guide.d.ts +72 -0
- package/dist/generated/gtk/constraint-guide.js +72 -0
- package/dist/generated/gtk/constraint-layout-child.d.ts +1 -0
- package/dist/generated/gtk/constraint-layout-child.js +1 -0
- package/dist/generated/gtk/constraint-layout.d.ts +319 -0
- package/dist/generated/gtk/constraint-layout.js +319 -0
- package/dist/generated/gtk/constraint-target.d.ts +6 -0
- package/dist/generated/gtk/constraint-target.js +6 -0
- package/dist/generated/gtk/constraint.d.ts +83 -0
- package/dist/generated/gtk/constraint.js +71 -0
- package/dist/generated/gtk/css-provider.d.ts +59 -0
- package/dist/generated/gtk/css-provider.js +89 -0
- package/dist/generated/gtk/css-section.d.ts +66 -0
- package/dist/generated/gtk/css-section.js +58 -0
- package/dist/generated/gtk/custom-filter.d.ts +25 -0
- package/dist/generated/gtk/custom-filter.js +14 -0
- package/dist/generated/gtk/custom-layout.d.ts +18 -0
- package/dist/generated/gtk/custom-layout.js +8 -0
- package/dist/generated/gtk/custom-sorter.d.ts +24 -0
- package/dist/generated/gtk/custom-sorter.js +15 -0
- package/dist/generated/gtk/dialog.d.ts +69 -0
- package/dist/generated/gtk/dialog.js +192 -0
- package/dist/generated/gtk/directory-list.d.ts +101 -0
- package/dist/generated/gtk/directory-list.js +94 -0
- package/dist/generated/gtk/drag-icon.d.ts +84 -0
- package/dist/generated/gtk/drag-icon.js +77 -0
- package/dist/generated/gtk/drag-source.d.ts +55 -0
- package/dist/generated/gtk/drag-source.js +133 -0
- package/dist/generated/gtk/drawing-area.d.ts +50 -0
- package/dist/generated/gtk/drawing-area.js +130 -0
- package/dist/generated/gtk/drop-controller-motion.d.ts +16 -0
- package/dist/generated/gtk/drop-controller-motion.js +25 -0
- package/dist/generated/gtk/drop-down.d.ts +92 -0
- package/dist/generated/gtk/drop-down.js +141 -0
- package/dist/generated/gtk/drop-target-async.d.ts +29 -0
- package/dist/generated/gtk/drop-target-async.js +59 -0
- package/dist/generated/gtk/drop-target.d.ts +62 -0
- package/dist/generated/gtk/drop-target.js +126 -0
- package/dist/generated/gtk/editable-label.d.ts +257 -0
- package/dist/generated/gtk/editable-label.js +253 -0
- package/dist/generated/gtk/editable.d.ts +325 -0
- package/dist/generated/gtk/editable.js +325 -0
- package/dist/generated/gtk/emoji-chooser.d.ts +3 -0
- package/dist/generated/gtk/emoji-chooser.js +45 -0
- package/dist/generated/gtk/entry-buffer.d.ts +82 -0
- package/dist/generated/gtk/entry-buffer.js +87 -0
- package/dist/generated/gtk/entry-completion.d.ts +202 -0
- package/dist/generated/gtk/entry-completion.js +242 -0
- package/dist/generated/gtk/entry.d.ts +620 -0
- package/dist/generated/gtk/entry.js +709 -0
- package/dist/generated/gtk/enums.d.ts +2192 -0
- package/dist/generated/gtk/enums.js +2192 -0
- package/dist/generated/gtk/event-controller-focus.d.ts +9 -0
- package/dist/generated/gtk/event-controller-focus.js +19 -0
- package/dist/generated/gtk/event-controller-key.d.ts +24 -0
- package/dist/generated/gtk/event-controller-key.js +25 -0
- package/dist/generated/gtk/event-controller-legacy.d.ts +3 -0
- package/dist/generated/gtk/event-controller-legacy.js +9 -0
- package/dist/generated/gtk/event-controller-motion.d.ts +9 -0
- package/dist/generated/gtk/event-controller-motion.js +19 -0
- package/dist/generated/gtk/event-controller-scroll.d.ts +18 -0
- package/dist/generated/gtk/event-controller-scroll.js +49 -0
- package/dist/generated/gtk/event-controller.d.ts +75 -0
- package/dist/generated/gtk/event-controller.js +75 -0
- package/dist/generated/gtk/every-filter.d.ts +14 -0
- package/dist/generated/gtk/every-filter.js +14 -0
- package/dist/generated/gtk/expander.d.ts +82 -0
- package/dist/generated/gtk/expander.js +166 -0
- package/dist/generated/gtk/expression-watch.d.ts +29 -0
- package/dist/generated/gtk/expression-watch.js +29 -0
- package/dist/generated/gtk/expression.d.ts +238 -0
- package/dist/generated/gtk/expression.js +238 -0
- package/dist/generated/gtk/file-chooser-dialog.d.ts +206 -0
- package/dist/generated/gtk/file-chooser-dialog.js +380 -0
- package/dist/generated/gtk/file-chooser-native.d.ts +390 -0
- package/dist/generated/gtk/file-chooser-native.js +382 -0
- package/dist/generated/gtk/file-chooser-widget.d.ts +214 -0
- package/dist/generated/gtk/file-chooser-widget.js +238 -0
- package/dist/generated/gtk/file-chooser.d.ts +248 -0
- package/dist/generated/gtk/file-chooser.js +248 -0
- package/dist/generated/gtk/file-dialog.d.ts +147 -0
- package/dist/generated/gtk/file-dialog.js +147 -0
- package/dist/generated/gtk/file-filter.d.ts +133 -0
- package/dist/generated/gtk/file-filter.js +133 -0
- package/dist/generated/gtk/file-launcher.d.ts +53 -0
- package/dist/generated/gtk/file-launcher.js +49 -0
- package/dist/generated/gtk/filter-list-model.d.ts +123 -0
- package/dist/generated/gtk/filter-list-model.js +117 -0
- package/dist/generated/gtk/filter.d.ts +30 -0
- package/dist/generated/gtk/filter.js +49 -0
- package/dist/generated/gtk/fixed-layout-child.d.ts +8 -0
- package/dist/generated/gtk/fixed-layout-child.js +8 -0
- package/dist/generated/gtk/fixed-layout.d.ts +35 -0
- package/dist/generated/gtk/fixed-layout.js +35 -0
- package/dist/generated/gtk/fixed.d.ts +81 -0
- package/dist/generated/gtk/fixed.js +81 -0
- package/dist/generated/gtk/flatten-list-model.d.ts +50 -0
- package/dist/generated/gtk/flatten-list-model.js +46 -0
- package/dist/generated/gtk/flow-box-child.d.ts +40 -0
- package/dist/generated/gtk/flow-box-child.js +46 -0
- package/dist/generated/gtk/flow-box.d.ts +243 -0
- package/dist/generated/gtk/flow-box.js +302 -0
- package/dist/generated/gtk/font-button.d.ts +129 -0
- package/dist/generated/gtk/font-button.js +148 -0
- package/dist/generated/gtk/font-chooser-dialog.d.ts +97 -0
- package/dist/generated/gtk/font-chooser-dialog.js +113 -0
- package/dist/generated/gtk/font-chooser-widget.d.ts +114 -0
- package/dist/generated/gtk/font-chooser-widget.js +114 -0
- package/dist/generated/gtk/font-chooser.d.ts +132 -0
- package/dist/generated/gtk/font-chooser.js +132 -0
- package/dist/generated/gtk/font-dialog-button.d.ts +75 -0
- package/dist/generated/gtk/font-dialog-button.js +85 -0
- package/dist/generated/gtk/font-dialog.d.ts +85 -0
- package/dist/generated/gtk/font-dialog.js +85 -0
- package/dist/generated/gtk/frame.d.ts +86 -0
- package/dist/generated/gtk/frame.js +80 -0
- package/dist/generated/gtk/functions.d.ts +769 -0
- package/dist/generated/gtk/functions.js +769 -0
- package/dist/generated/gtk/gesture-click.d.ts +4 -0
- package/dist/generated/gtk/gesture-click.js +13 -0
- package/dist/generated/gtk/gesture-drag.d.ts +21 -0
- package/dist/generated/gtk/gesture-drag.js +32 -0
- package/dist/generated/gtk/gesture-long-press.d.ts +13 -0
- package/dist/generated/gtk/gesture-long-press.js +30 -0
- package/dist/generated/gtk/gesture-pan.d.ts +11 -0
- package/dist/generated/gtk/gesture-pan.js +23 -0
- package/dist/generated/gtk/gesture-rotate.d.ts +11 -0
- package/dist/generated/gtk/gesture-rotate.js +17 -0
- package/dist/generated/gtk/gesture-single.d.ts +47 -0
- package/dist/generated/gtk/gesture-single.js +62 -0
- package/dist/generated/gtk/gesture-stylus.d.ts +61 -0
- package/dist/generated/gtk/gesture-stylus.js +67 -0
- package/dist/generated/gtk/gesture-swipe.d.ts +12 -0
- package/dist/generated/gtk/gesture-swipe.js +26 -0
- package/dist/generated/gtk/gesture-zoom.d.ts +12 -0
- package/dist/generated/gtk/gesture-zoom.js +19 -0
- package/dist/generated/gtk/gesture.d.ts +197 -0
- package/dist/generated/gtk/gesture.js +288 -0
- package/dist/generated/gtk/glarea.d.ts +131 -0
- package/dist/generated/gtk/glarea.js +246 -0
- package/dist/generated/gtk/graphics-offload.d.ts +78 -0
- package/dist/generated/gtk/graphics-offload.js +74 -0
- package/dist/generated/gtk/grid-layout-child.d.ts +29 -0
- package/dist/generated/gtk/grid-layout-child.js +29 -0
- package/dist/generated/gtk/grid-layout.d.ts +72 -0
- package/dist/generated/gtk/grid-layout.js +72 -0
- package/dist/generated/gtk/grid-view.d.ts +86 -0
- package/dist/generated/gtk/grid-view.js +117 -0
- package/dist/generated/gtk/grid.d.ts +241 -0
- package/dist/generated/gtk/grid.js +241 -0
- package/dist/generated/gtk/header-bar.d.ts +157 -0
- package/dist/generated/gtk/header-bar.js +157 -0
- package/dist/generated/gtk/icon-paintable.d.ts +47 -0
- package/dist/generated/gtk/icon-paintable.js +39 -0
- package/dist/generated/gtk/icon-theme.d.ts +148 -0
- package/dist/generated/gtk/icon-theme.js +182 -0
- package/dist/generated/gtk/icon-view.d.ts +464 -0
- package/dist/generated/gtk/icon-view.js +491 -0
- package/dist/generated/gtk/image.d.ts +222 -0
- package/dist/generated/gtk/image.js +222 -0
- package/dist/generated/gtk/imcontext-simple.d.ts +47 -0
- package/dist/generated/gtk/imcontext-simple.js +47 -0
- package/dist/generated/gtk/imcontext.d.ts +162 -0
- package/dist/generated/gtk/imcontext.js +193 -0
- package/dist/generated/gtk/immulticontext.d.ts +24 -0
- package/dist/generated/gtk/immulticontext.js +24 -0
- package/dist/generated/gtk/info-bar.d.ts +93 -0
- package/dist/generated/gtk/info-bar.js +168 -0
- package/dist/generated/gtk/inscription.d.ts +154 -0
- package/dist/generated/gtk/inscription.js +150 -0
- package/dist/generated/gtk/keyval-trigger.d.ts +15 -0
- package/dist/generated/gtk/keyval-trigger.js +9 -0
- package/dist/generated/gtk/label.d.ts +418 -0
- package/dist/generated/gtk/label.js +627 -0
- package/dist/generated/gtk/layout-child.d.ts +17 -0
- package/dist/generated/gtk/layout-child.js +17 -0
- package/dist/generated/gtk/layout-manager.d.ts +95 -0
- package/dist/generated/gtk/layout-manager.js +95 -0
- package/dist/generated/gtk/level-bar.d.ts +80 -0
- package/dist/generated/gtk/level-bar.js +179 -0
- package/dist/generated/gtk/link-button.d.ts +32 -0
- package/dist/generated/gtk/link-button.js +69 -0
- package/dist/generated/gtk/list-base.d.ts +96 -0
- package/dist/generated/gtk/list-base.js +96 -0
- package/dist/generated/gtk/list-box-row.d.ts +119 -0
- package/dist/generated/gtk/list-box-row.js +125 -0
- package/dist/generated/gtk/list-box.d.ts +257 -0
- package/dist/generated/gtk/list-box.js +323 -0
- package/dist/generated/gtk/list-header.d.ts +43 -0
- package/dist/generated/gtk/list-header.js +43 -0
- package/dist/generated/gtk/list-item-factory.d.ts +49 -0
- package/dist/generated/gtk/list-item-factory.js +49 -0
- package/dist/generated/gtk/list-item.d.ts +115 -0
- package/dist/generated/gtk/list-item.js +115 -0
- package/dist/generated/gtk/list-store.d.ts +580 -0
- package/dist/generated/gtk/list-store.js +573 -0
- package/dist/generated/gtk/list-view.d.ts +86 -0
- package/dist/generated/gtk/list-view.js +179 -0
- package/dist/generated/gtk/lock-button.d.ts +11 -0
- package/dist/generated/gtk/lock-button.js +46 -0
- package/dist/generated/gtk/map-list-model.d.ts +97 -0
- package/dist/generated/gtk/map-list-model.js +90 -0
- package/dist/generated/gtk/media-controls.d.ts +18 -0
- package/dist/generated/gtk/media-controls.js +14 -0
- package/dist/generated/gtk/media-file.d.ts +78 -0
- package/dist/generated/gtk/media-file.js +78 -0
- package/dist/generated/gtk/media-stream.d.ts +253 -0
- package/dist/generated/gtk/media-stream.js +253 -0
- package/dist/generated/gtk/menu-button.d.ts +155 -0
- package/dist/generated/gtk/menu-button.js +219 -0
- package/dist/generated/gtk/message-dialog.d.ts +12 -0
- package/dist/generated/gtk/message-dialog.js +70 -0
- package/dist/generated/gtk/mnemonic-action.d.ts +11 -0
- package/dist/generated/gtk/mnemonic-action.js +11 -0
- package/dist/generated/gtk/mnemonic-trigger.d.ts +17 -0
- package/dist/generated/gtk/mnemonic-trigger.js +9 -0
- package/dist/generated/gtk/mount-operation.d.ts +39 -0
- package/dist/generated/gtk/mount-operation.js +35 -0
- package/dist/generated/gtk/multi-filter.d.ts +18 -0
- package/dist/generated/gtk/multi-filter.js +18 -0
- package/dist/generated/gtk/multi-selection.d.ts +135 -0
- package/dist/generated/gtk/multi-selection.js +131 -0
- package/dist/generated/gtk/multi-sorter.d.ts +34 -0
- package/dist/generated/gtk/multi-sorter.js +34 -0
- package/dist/generated/gtk/named-action.d.ts +20 -0
- package/dist/generated/gtk/named-action.js +10 -0
- package/dist/generated/gtk/native-dialog.d.ts +67 -0
- package/dist/generated/gtk/native-dialog.js +86 -0
- package/dist/generated/gtk/native.d.ts +40 -0
- package/dist/generated/gtk/native.js +40 -0
- package/dist/generated/gtk/never-trigger.d.ts +8 -0
- package/dist/generated/gtk/never-trigger.js +8 -0
- package/dist/generated/gtk/no-selection.d.ts +142 -0
- package/dist/generated/gtk/no-selection.js +138 -0
- package/dist/generated/gtk/notebook-page.d.ts +4 -0
- package/dist/generated/gtk/notebook-page.js +4 -0
- package/dist/generated/gtk/notebook.d.ts +283 -0
- package/dist/generated/gtk/notebook.js +401 -0
- package/dist/generated/gtk/nothing-action.d.ts +7 -0
- package/dist/generated/gtk/nothing-action.js +7 -0
- package/dist/generated/gtk/numeric-sorter.d.ts +33 -0
- package/dist/generated/gtk/numeric-sorter.js +26 -0
- package/dist/generated/gtk/object-expression.d.ts +14 -0
- package/dist/generated/gtk/object-expression.js +4 -0
- package/dist/generated/gtk/orientable.d.ts +19 -0
- package/dist/generated/gtk/orientable.js +19 -0
- package/dist/generated/gtk/overlay-layout-child.d.ts +15 -0
- package/dist/generated/gtk/overlay-layout-child.js +15 -0
- package/dist/generated/gtk/overlay-layout.d.ts +12 -0
- package/dist/generated/gtk/overlay-layout.js +12 -0
- package/dist/generated/gtk/overlay.d.ts +48 -0
- package/dist/generated/gtk/overlay.js +81 -0
- package/dist/generated/gtk/pad-controller.d.ts +97 -0
- package/dist/generated/gtk/pad-controller.js +79 -0
- package/dist/generated/gtk/page-setup-unix-dialog.d.ts +21 -0
- package/dist/generated/gtk/page-setup-unix-dialog.js +31 -0
- package/dist/generated/gtk/page-setup.d.ts +188 -0
- package/dist/generated/gtk/page-setup.js +188 -0
- package/dist/generated/gtk/paned.d.ts +71 -0
- package/dist/generated/gtk/paned.js +147 -0
- package/dist/generated/gtk/paper-size.d.ts +141 -0
- package/dist/generated/gtk/paper-size.js +132 -0
- package/dist/generated/gtk/param-spec-expression.d.ts +1 -0
- package/dist/generated/gtk/param-spec-expression.js +1 -0
- package/dist/generated/gtk/password-entry-buffer.d.ts +9 -0
- package/dist/generated/gtk/password-entry-buffer.js +9 -0
- package/dist/generated/gtk/password-entry.d.ts +217 -0
- package/dist/generated/gtk/password-entry.js +251 -0
- package/dist/generated/gtk/picture.d.ts +204 -0
- package/dist/generated/gtk/picture.js +204 -0
- package/dist/generated/gtk/popover-menu-bar.d.ts +55 -0
- package/dist/generated/gtk/popover-menu-bar.js +51 -0
- package/dist/generated/gtk/popover-menu.d.ts +61 -0
- package/dist/generated/gtk/popover-menu.js +163 -0
- package/dist/generated/gtk/popover.d.ts +137 -0
- package/dist/generated/gtk/popover.js +232 -0
- package/dist/generated/gtk/print-context.d.ts +124 -0
- package/dist/generated/gtk/print-context.js +124 -0
- package/dist/generated/gtk/print-dialog.d.ts +71 -0
- package/dist/generated/gtk/print-dialog.js +71 -0
- package/dist/generated/gtk/print-job.d.ts +143 -0
- package/dist/generated/gtk/print-job.js +148 -0
- package/dist/generated/gtk/print-operation-preview.d.ts +31 -0
- package/dist/generated/gtk/print-operation-preview.js +31 -0
- package/dist/generated/gtk/print-operation.d.ts +300 -0
- package/dist/generated/gtk/print-operation.js +364 -0
- package/dist/generated/gtk/print-settings.d.ts +361 -0
- package/dist/generated/gtk/print-settings.js +361 -0
- package/dist/generated/gtk/print-setup.d.ts +32 -0
- package/dist/generated/gtk/print-setup.js +32 -0
- package/dist/generated/gtk/print-unix-dialog.d.ts +75 -0
- package/dist/generated/gtk/print-unix-dialog.js +128 -0
- package/dist/generated/gtk/printer.d.ts +121 -0
- package/dist/generated/gtk/printer.js +126 -0
- package/dist/generated/gtk/progress-bar.d.ts +149 -0
- package/dist/generated/gtk/progress-bar.js +149 -0
- package/dist/generated/gtk/property-expression.d.ts +36 -0
- package/dist/generated/gtk/property-expression.js +21 -0
- package/dist/generated/gtk/range.d.ts +162 -0
- package/dist/generated/gtk/range.js +178 -0
- package/dist/generated/gtk/recent-info.d.ts +123 -0
- package/dist/generated/gtk/recent-info.js +123 -0
- package/dist/generated/gtk/recent-manager.d.ts +81 -0
- package/dist/generated/gtk/recent-manager.js +139 -0
- package/dist/generated/gtk/requisition.d.ts +19 -0
- package/dist/generated/gtk/requisition.js +19 -0
- package/dist/generated/gtk/revealer.d.ts +73 -0
- package/dist/generated/gtk/revealer.js +73 -0
- package/dist/generated/gtk/root.d.ts +37 -0
- package/dist/generated/gtk/root.js +37 -0
- package/dist/generated/gtk/scale-button.d.ts +68 -0
- package/dist/generated/gtk/scale-button.js +82 -0
- package/dist/generated/gtk/scale.d.ts +115 -0
- package/dist/generated/gtk/scale.js +201 -0
- package/dist/generated/gtk/scroll-info.d.ts +31 -0
- package/dist/generated/gtk/scroll-info.js +31 -0
- package/dist/generated/gtk/scrollable.d.ts +73 -0
- package/dist/generated/gtk/scrollable.js +73 -0
- package/dist/generated/gtk/scrollbar.d.ts +63 -0
- package/dist/generated/gtk/scrollbar.js +58 -0
- package/dist/generated/gtk/scrolled-window.d.ts +180 -0
- package/dist/generated/gtk/scrolled-window.js +259 -0
- package/dist/generated/gtk/search-bar.d.ts +110 -0
- package/dist/generated/gtk/search-bar.js +110 -0
- package/dist/generated/gtk/search-entry.d.ts +251 -0
- package/dist/generated/gtk/search-entry.js +305 -0
- package/dist/generated/gtk/section-model.d.ts +46 -0
- package/dist/generated/gtk/section-model.js +46 -0
- package/dist/generated/gtk/selection-filter-model.d.ts +18 -0
- package/dist/generated/gtk/selection-filter-model.js +13 -0
- package/dist/generated/gtk/selection-model.d.ts +131 -0
- package/dist/generated/gtk/selection-model.js +131 -0
- package/dist/generated/gtk/separator.d.ts +29 -0
- package/dist/generated/gtk/separator.js +25 -0
- package/dist/generated/gtk/settings.d.ts +47 -0
- package/dist/generated/gtk/settings.js +47 -0
- package/dist/generated/gtk/shortcut-action.d.ts +70 -0
- package/dist/generated/gtk/shortcut-action.js +55 -0
- package/dist/generated/gtk/shortcut-controller.d.ts +110 -0
- package/dist/generated/gtk/shortcut-controller.js +110 -0
- package/dist/generated/gtk/shortcut-label.d.ts +23 -0
- package/dist/generated/gtk/shortcut-label.js +19 -0
- package/dist/generated/gtk/shortcut-manager.d.ts +13 -0
- package/dist/generated/gtk/shortcut-manager.js +13 -0
- package/dist/generated/gtk/shortcut-trigger.d.ts +106 -0
- package/dist/generated/gtk/shortcut-trigger.js +87 -0
- package/dist/generated/gtk/shortcut.d.ts +44 -0
- package/dist/generated/gtk/shortcut.js +38 -0
- package/dist/generated/gtk/shortcuts-group.d.ts +26 -0
- package/dist/generated/gtk/shortcuts-group.js +26 -0
- package/dist/generated/gtk/shortcuts-section.d.ts +10 -0
- package/dist/generated/gtk/shortcuts-section.js +42 -0
- package/dist/generated/gtk/shortcuts-shortcut.d.ts +6 -0
- package/dist/generated/gtk/shortcuts-shortcut.js +6 -0
- package/dist/generated/gtk/shortcuts-window.d.ts +10 -0
- package/dist/generated/gtk/shortcuts-window.js +70 -0
- package/dist/generated/gtk/signal-action.d.ts +16 -0
- package/dist/generated/gtk/signal-action.js +9 -0
- package/dist/generated/gtk/signal-list-item-factory.d.ts +5 -0
- package/dist/generated/gtk/signal-list-item-factory.js +46 -0
- package/dist/generated/gtk/single-selection.d.ts +189 -0
- package/dist/generated/gtk/single-selection.js +185 -0
- package/dist/generated/gtk/size-group.d.ts +150 -0
- package/dist/generated/gtk/size-group.js +146 -0
- package/dist/generated/gtk/slice-list-model.d.ts +76 -0
- package/dist/generated/gtk/slice-list-model.js +68 -0
- package/dist/generated/gtk/snapshot.d.ts +477 -0
- package/dist/generated/gtk/snapshot.js +477 -0
- package/dist/generated/gtk/sort-list-model.d.ts +131 -0
- package/dist/generated/gtk/sort-list-model.js +126 -0
- package/dist/generated/gtk/sorter.d.ts +39 -0
- package/dist/generated/gtk/sorter.js +61 -0
- package/dist/generated/gtk/spin-button.d.ts +378 -0
- package/dist/generated/gtk/spin-button.js +491 -0
- package/dist/generated/gtk/spinner.d.ts +37 -0
- package/dist/generated/gtk/spinner.js +37 -0
- package/dist/generated/gtk/stack-page.d.ts +171 -0
- package/dist/generated/gtk/stack-page.js +171 -0
- package/dist/generated/gtk/stack-sidebar.d.ts +32 -0
- package/dist/generated/gtk/stack-sidebar.js +32 -0
- package/dist/generated/gtk/stack-switcher.d.ts +51 -0
- package/dist/generated/gtk/stack-switcher.js +51 -0
- package/dist/generated/gtk/stack.d.ts +200 -0
- package/dist/generated/gtk/stack.js +200 -0
- package/dist/generated/gtk/statusbar.d.ts +35 -0
- package/dist/generated/gtk/statusbar.js +73 -0
- package/dist/generated/gtk/string-filter.d.ts +53 -0
- package/dist/generated/gtk/string-filter.js +46 -0
- package/dist/generated/gtk/string-list.d.ts +96 -0
- package/dist/generated/gtk/string-list.js +92 -0
- package/dist/generated/gtk/string-object.d.ts +14 -0
- package/dist/generated/gtk/string-object.js +10 -0
- package/dist/generated/gtk/string-sorter.d.ts +41 -0
- package/dist/generated/gtk/string-sorter.js +33 -0
- package/dist/generated/gtk/style-context.d.ts +188 -0
- package/dist/generated/gtk/style-context.js +188 -0
- package/dist/generated/gtk/style-provider.d.ts +10 -0
- package/dist/generated/gtk/style-provider.js +10 -0
- package/dist/generated/gtk/switch.d.ts +73 -0
- package/dist/generated/gtk/switch.js +112 -0
- package/dist/generated/gtk/symbolic-paintable.d.ts +24 -0
- package/dist/generated/gtk/symbolic-paintable.js +24 -0
- package/dist/generated/gtk/text-buffer.d.ts +693 -0
- package/dist/generated/gtk/text-buffer.js +700 -0
- package/dist/generated/gtk/text-child-anchor.d.ts +36 -0
- package/dist/generated/gtk/text-child-anchor.js +36 -0
- package/dist/generated/gtk/text-iter.d.ts +764 -0
- package/dist/generated/gtk/text-iter.js +764 -0
- package/dist/generated/gtk/text-mark.d.ts +85 -0
- package/dist/generated/gtk/text-mark.js +70 -0
- package/dist/generated/gtk/text-tag-table.d.ts +44 -0
- package/dist/generated/gtk/text-tag-table.js +67 -0
- package/dist/generated/gtk/text-tag.d.ts +52 -0
- package/dist/generated/gtk/text-tag.js +48 -0
- package/dist/generated/gtk/text-view.d.ts +668 -0
- package/dist/generated/gtk/text-view.js +743 -0
- package/dist/generated/gtk/text.d.ts +437 -0
- package/dist/generated/gtk/text.js +549 -0
- package/dist/generated/gtk/toggle-button.d.ts +49 -0
- package/dist/generated/gtk/toggle-button.js +124 -0
- package/dist/generated/gtk/tooltip.d.ts +80 -0
- package/dist/generated/gtk/tooltip.js +80 -0
- package/dist/generated/gtk/tree-drag-dest.d.ts +20 -0
- package/dist/generated/gtk/tree-drag-dest.js +20 -0
- package/dist/generated/gtk/tree-drag-source.d.ts +21 -0
- package/dist/generated/gtk/tree-drag-source.js +21 -0
- package/dist/generated/gtk/tree-expander.d.ts +125 -0
- package/dist/generated/gtk/tree-expander.js +125 -0
- package/dist/generated/gtk/tree-iter.d.ts +23 -0
- package/dist/generated/gtk/tree-iter.js +23 -0
- package/dist/generated/gtk/tree-list-model.d.ts +69 -0
- package/dist/generated/gtk/tree-list-model.js +60 -0
- package/dist/generated/gtk/tree-list-row-sorter.d.ts +32 -0
- package/dist/generated/gtk/tree-list-row-sorter.js +24 -0
- package/dist/generated/gtk/tree-list-row.d.ts +79 -0
- package/dist/generated/gtk/tree-list-row.js +79 -0
- package/dist/generated/gtk/tree-model-filter.d.ts +409 -0
- package/dist/generated/gtk/tree-model-filter.js +409 -0
- package/dist/generated/gtk/tree-model-sort.d.ts +436 -0
- package/dist/generated/gtk/tree-model-sort.js +432 -0
- package/dist/generated/gtk/tree-model.d.ts +411 -0
- package/dist/generated/gtk/tree-model.js +411 -0
- package/dist/generated/gtk/tree-path.d.ts +91 -0
- package/dist/generated/gtk/tree-path.js +91 -0
- package/dist/generated/gtk/tree-row-reference.d.ts +74 -0
- package/dist/generated/gtk/tree-row-reference.js +64 -0
- package/dist/generated/gtk/tree-selection.d.ts +98 -0
- package/dist/generated/gtk/tree-selection.js +125 -0
- package/dist/generated/gtk/tree-sortable.d.ts +58 -0
- package/dist/generated/gtk/tree-sortable.js +58 -0
- package/dist/generated/gtk/tree-store.d.ts +528 -0
- package/dist/generated/gtk/tree-store.js +521 -0
- package/dist/generated/gtk/tree-view-column.d.ts +299 -0
- package/dist/generated/gtk/tree-view-column.js +311 -0
- package/dist/generated/gtk/tree-view.d.ts +659 -0
- package/dist/generated/gtk/tree-view.js +749 -0
- package/dist/generated/gtk/uri-launcher.d.ts +38 -0
- package/dist/generated/gtk/uri-launcher.js +34 -0
- package/dist/generated/gtk/video.d.ts +101 -0
- package/dist/generated/gtk/video.js +101 -0
- package/dist/generated/gtk/viewport.d.ts +95 -0
- package/dist/generated/gtk/viewport.js +87 -0
- package/dist/generated/gtk/volume-button.d.ts +7 -0
- package/dist/generated/gtk/volume-button.js +11 -0
- package/dist/generated/gtk/widget-paintable.d.ts +32 -0
- package/dist/generated/gtk/widget-paintable.js +28 -0
- package/dist/generated/gtk/widget.d.ts +1741 -0
- package/dist/generated/gtk/widget.js +2135 -0
- package/dist/generated/gtk/window-controls.d.ts +102 -0
- package/dist/generated/gtk/window-controls.js +98 -0
- package/dist/generated/gtk/window-group.d.ts +35 -0
- package/dist/generated/gtk/window-group.js +35 -0
- package/dist/generated/gtk/window-handle.d.ts +28 -0
- package/dist/generated/gtk/window-handle.js +28 -0
- package/dist/generated/gtk/window.d.ts +587 -0
- package/dist/generated/gtk/window.js +660 -0
- package/dist/generated/gtksource/annotation-provider.d.ts +15 -0
- package/dist/generated/gtksource/annotation-provider.js +23 -0
- package/dist/generated/gtksource/annotation.d.ts +14 -0
- package/dist/generated/gtksource/annotation.js +8 -0
- package/dist/generated/gtksource/annotations.d.ts +8 -0
- package/dist/generated/gtksource/annotations.js +15 -0
- package/dist/generated/gtksource/buffer.d.ts +234 -0
- package/dist/generated/gtksource/buffer.js +302 -0
- package/dist/generated/gtksource/completion-cell.d.ts +24 -0
- package/dist/generated/gtksource/completion-cell.js +24 -0
- package/dist/generated/gtksource/completion-context.d.ts +64 -0
- package/dist/generated/gtksource/completion-context.js +82 -0
- package/dist/generated/gtksource/completion-proposal.d.ts +17 -0
- package/dist/generated/gtksource/completion-proposal.js +17 -0
- package/dist/generated/gtksource/completion-provider.d.ts +98 -0
- package/dist/generated/gtksource/completion-provider.js +98 -0
- package/dist/generated/gtksource/completion-snippets.d.ts +96 -0
- package/dist/generated/gtksource/completion-snippets.js +96 -0
- package/dist/generated/gtksource/completion-words.d.ts +107 -0
- package/dist/generated/gtksource/completion-words.js +104 -0
- package/dist/generated/gtksource/completion.d.ts +46 -0
- package/dist/generated/gtksource/completion.js +77 -0
- package/dist/generated/gtksource/encoding.d.ts +42 -0
- package/dist/generated/gtksource/encoding.js +42 -0
- package/dist/generated/gtksource/enums.d.ts +113 -0
- package/dist/generated/gtksource/enums.js +113 -0
- package/dist/generated/gtksource/file-loader.d.ts +58 -0
- package/dist/generated/gtksource/file-loader.js +48 -0
- package/dist/generated/gtksource/file-saver.d.ts +61 -0
- package/dist/generated/gtksource/file-saver.js +53 -0
- package/dist/generated/gtksource/file.d.ts +55 -0
- package/dist/generated/gtksource/file.js +55 -0
- package/dist/generated/gtksource/functions.d.ts +129 -0
- package/dist/generated/gtksource/functions.js +129 -0
- package/dist/generated/gtksource/gutter-lines.d.ts +120 -0
- package/dist/generated/gtksource/gutter-lines.js +120 -0
- package/dist/generated/gtksource/gutter-renderer-pixbuf.d.ts +37 -0
- package/dist/generated/gtksource/gutter-renderer-pixbuf.js +37 -0
- package/dist/generated/gtksource/gutter-renderer-text.d.ts +23 -0
- package/dist/generated/gtksource/gutter-renderer-text.js +23 -0
- package/dist/generated/gtksource/gutter-renderer.d.ts +94 -0
- package/dist/generated/gtksource/gutter-renderer.js +128 -0
- package/dist/generated/gtksource/gutter.d.ts +31 -0
- package/dist/generated/gtksource/gutter.js +31 -0
- package/dist/generated/gtksource/hover-context.d.ts +31 -0
- package/dist/generated/gtksource/hover-context.js +31 -0
- package/dist/generated/gtksource/hover-display.d.ts +10 -0
- package/dist/generated/gtksource/hover-display.js +10 -0
- package/dist/generated/gtksource/hover-provider.d.ts +12 -0
- package/dist/generated/gtksource/hover-provider.js +12 -0
- package/dist/generated/gtksource/hover.d.ts +15 -0
- package/dist/generated/gtksource/hover.js +15 -0
- package/dist/generated/gtksource/indenter.d.ts +66 -0
- package/dist/generated/gtksource/indenter.js +66 -0
- package/dist/generated/gtksource/language-manager.d.ts +117 -0
- package/dist/generated/gtksource/language-manager.js +117 -0
- package/dist/generated/gtksource/language.d.ts +58 -0
- package/dist/generated/gtksource/language.js +58 -0
- package/dist/generated/gtksource/map.d.ts +35 -0
- package/dist/generated/gtksource/map.js +35 -0
- package/dist/generated/gtksource/mark-attributes.d.ts +63 -0
- package/dist/generated/gtksource/mark-attributes.js +96 -0
- package/dist/generated/gtksource/mark.d.ts +47 -0
- package/dist/generated/gtksource/mark.js +36 -0
- package/dist/generated/gtksource/print-compositor.d.ts +417 -0
- package/dist/generated/gtksource/print-compositor.js +413 -0
- package/dist/generated/gtksource/region.d.ts +119 -0
- package/dist/generated/gtksource/region.js +116 -0
- package/dist/generated/gtksource/search-context.d.ts +179 -0
- package/dist/generated/gtksource/search-context.js +170 -0
- package/dist/generated/gtksource/search-settings.d.ts +65 -0
- package/dist/generated/gtksource/search-settings.js +65 -0
- package/dist/generated/gtksource/snippet-chunk.d.ts +85 -0
- package/dist/generated/gtksource/snippet-chunk.js +85 -0
- package/dist/generated/gtksource/snippet-context.d.ts +31 -0
- package/dist/generated/gtksource/snippet-context.js +42 -0
- package/dist/generated/gtksource/snippet-manager.d.ts +65 -0
- package/dist/generated/gtksource/snippet-manager.js +65 -0
- package/dist/generated/gtksource/snippet.d.ts +86 -0
- package/dist/generated/gtksource/snippet.js +81 -0
- package/dist/generated/gtksource/space-drawer.d.ts +123 -0
- package/dist/generated/gtksource/space-drawer.js +123 -0
- package/dist/generated/gtksource/style-scheme-chooser-button.d.ts +21 -0
- package/dist/generated/gtksource/style-scheme-chooser-button.js +21 -0
- package/dist/generated/gtksource/style-scheme-chooser-widget.d.ts +22 -0
- package/dist/generated/gtksource/style-scheme-chooser-widget.js +22 -0
- package/dist/generated/gtksource/style-scheme-chooser.d.ts +16 -0
- package/dist/generated/gtksource/style-scheme-chooser.js +16 -0
- package/dist/generated/gtksource/style-scheme-manager.d.ts +53 -0
- package/dist/generated/gtksource/style-scheme-manager.js +53 -0
- package/dist/generated/gtksource/style-scheme-preview.d.ts +8 -0
- package/dist/generated/gtksource/style-scheme-preview.js +11 -0
- package/dist/generated/gtksource/style-scheme.d.ts +22 -0
- package/dist/generated/gtksource/style-scheme.js +22 -0
- package/dist/generated/gtksource/style.d.ts +20 -0
- package/dist/generated/gtksource/style.js +20 -0
- package/dist/generated/gtksource/tag.d.ts +18 -0
- package/dist/generated/gtksource/tag.js +9 -0
- package/dist/generated/gtksource/view.d.ts +248 -0
- package/dist/generated/gtksource/view.js +312 -0
- package/dist/generated/gtksource/vim-imcontext.d.ts +12 -0
- package/dist/generated/gtksource/vim-imcontext.js +85 -0
- package/dist/generated/harfbuzz/blob-t.d.ts +5 -0
- package/dist/generated/harfbuzz/blob-t.js +5 -0
- package/dist/generated/harfbuzz/buffer-t.d.ts +4 -0
- package/dist/generated/harfbuzz/buffer-t.js +4 -0
- package/dist/generated/harfbuzz/color-line-t.d.ts +1 -0
- package/dist/generated/harfbuzz/color-line-t.js +1 -0
- package/dist/generated/harfbuzz/color-stop-t.d.ts +14 -0
- package/dist/generated/harfbuzz/color-stop-t.js +14 -0
- package/dist/generated/harfbuzz/draw-funcs-t.d.ts +8 -0
- package/dist/generated/harfbuzz/draw-funcs-t.js +8 -0
- package/dist/generated/harfbuzz/draw-state-t.d.ts +6 -0
- package/dist/generated/harfbuzz/draw-state-t.js +6 -0
- package/dist/generated/harfbuzz/enums.d.ts +1241 -0
- package/dist/generated/harfbuzz/enums.js +1241 -0
- package/dist/generated/harfbuzz/face-t.d.ts +1 -0
- package/dist/generated/harfbuzz/face-t.js +1 -0
- package/dist/generated/harfbuzz/feature-t.d.ts +25 -0
- package/dist/generated/harfbuzz/feature-t.js +25 -0
- package/dist/generated/harfbuzz/font-funcs-t.d.ts +10 -0
- package/dist/generated/harfbuzz/font-funcs-t.js +10 -0
- package/dist/generated/harfbuzz/font-t.d.ts +1 -0
- package/dist/generated/harfbuzz/font-t.js +1 -0
- package/dist/generated/harfbuzz/functions.d.ts +3816 -0
- package/dist/generated/harfbuzz/functions.js +3816 -0
- package/dist/generated/harfbuzz/glyph-info-t.d.ts +21 -0
- package/dist/generated/harfbuzz/glyph-info-t.js +21 -0
- package/dist/generated/harfbuzz/glyph-position-t.d.ts +21 -0
- package/dist/generated/harfbuzz/glyph-position-t.js +21 -0
- package/dist/generated/harfbuzz/map-t.d.ts +1 -0
- package/dist/generated/harfbuzz/map-t.js +1 -0
- package/dist/generated/harfbuzz/ot-math-glyph-part-t.d.ts +10 -0
- package/dist/generated/harfbuzz/ot-math-glyph-part-t.js +10 -0
- package/dist/generated/harfbuzz/ot-math-glyph-variant-t.d.ts +3 -0
- package/dist/generated/harfbuzz/ot-math-glyph-variant-t.js +3 -0
- package/dist/generated/harfbuzz/ot-var-axis-info-t.d.ts +15 -0
- package/dist/generated/harfbuzz/ot-var-axis-info-t.js +15 -0
- package/dist/generated/harfbuzz/paint-funcs-t.d.ts +22 -0
- package/dist/generated/harfbuzz/paint-funcs-t.js +22 -0
- package/dist/generated/harfbuzz/segment-properties-t.d.ts +8 -0
- package/dist/generated/harfbuzz/segment-properties-t.js +8 -0
- package/dist/generated/harfbuzz/set-t.d.ts +6 -0
- package/dist/generated/harfbuzz/set-t.js +6 -0
- package/dist/generated/harfbuzz/shape-plan-t.d.ts +11 -0
- package/dist/generated/harfbuzz/shape-plan-t.js +11 -0
- package/dist/generated/harfbuzz/unicode-funcs-t.d.ts +10 -0
- package/dist/generated/harfbuzz/unicode-funcs-t.js +10 -0
- package/dist/generated/harfbuzz/user-data-key-t.d.ts +1 -0
- package/dist/generated/harfbuzz/user-data-key-t.js +1 -0
- package/dist/generated/pango/attr-iterator.d.ts +48 -0
- package/dist/generated/pango/attr-iterator.js +48 -0
- package/dist/generated/pango/attr-list.d.ts +168 -0
- package/dist/generated/pango/attr-list.js +168 -0
- package/dist/generated/pango/attribute.d.ts +82 -0
- package/dist/generated/pango/attribute.js +82 -0
- package/dist/generated/pango/color.d.ts +55 -0
- package/dist/generated/pango/color.js +55 -0
- package/dist/generated/pango/context.d.ts +188 -0
- package/dist/generated/pango/context.js +188 -0
- package/dist/generated/pango/coverage.d.ts +50 -0
- package/dist/generated/pango/coverage.js +50 -0
- package/dist/generated/pango/enums.d.ts +589 -0
- package/dist/generated/pango/enums.js +589 -0
- package/dist/generated/pango/font-description.d.ts +374 -0
- package/dist/generated/pango/font-description.js +374 -0
- package/dist/generated/pango/font-face.d.ts +38 -0
- package/dist/generated/pango/font-face.js +38 -0
- package/dist/generated/pango/font-family.d.ts +55 -0
- package/dist/generated/pango/font-family.js +55 -0
- package/dist/generated/pango/font-map.d.ts +88 -0
- package/dist/generated/pango/font-map.js +88 -0
- package/dist/generated/pango/font-metrics.d.ts +78 -0
- package/dist/generated/pango/font-metrics.js +78 -0
- package/dist/generated/pango/font.d.ts +119 -0
- package/dist/generated/pango/font.js +119 -0
- package/dist/generated/pango/fontset-simple.d.ts +20 -0
- package/dist/generated/pango/fontset-simple.js +16 -0
- package/dist/generated/pango/fontset.d.ts +24 -0
- package/dist/generated/pango/fontset.js +24 -0
- package/dist/generated/pango/functions.d.ts +1009 -0
- package/dist/generated/pango/functions.js +1009 -0
- package/dist/generated/pango/glyph-item-iter.d.ts +72 -0
- package/dist/generated/pango/glyph-item-iter.js +72 -0
- package/dist/generated/pango/glyph-item.d.ts +82 -0
- package/dist/generated/pango/glyph-item.js +82 -0
- package/dist/generated/pango/glyph-string.d.ts +114 -0
- package/dist/generated/pango/glyph-string.js +114 -0
- package/dist/generated/pango/item.d.ts +57 -0
- package/dist/generated/pango/item.js +57 -0
- package/dist/generated/pango/language.d.ts +145 -0
- package/dist/generated/pango/language.js +145 -0
- package/dist/generated/pango/layout-iter.d.ts +153 -0
- package/dist/generated/pango/layout-iter.js +153 -0
- package/dist/generated/pango/layout-line.d.ts +99 -0
- package/dist/generated/pango/layout-line.js +99 -0
- package/dist/generated/pango/layout.d.ts +662 -0
- package/dist/generated/pango/layout.js +657 -0
- package/dist/generated/pango/matrix.d.ts +136 -0
- package/dist/generated/pango/matrix.js +136 -0
- package/dist/generated/pango/renderer.d.ts +188 -0
- package/dist/generated/pango/renderer.js +188 -0
- package/dist/generated/pango/script-iter.d.ts +37 -0
- package/dist/generated/pango/script-iter.js +27 -0
- package/dist/generated/pango/tab-array.d.ts +114 -0
- package/dist/generated/pango/tab-array.js +106 -0
- package/dist/generated/pangocairo/font-map.d.ts +41 -0
- package/dist/generated/pangocairo/font-map.js +41 -0
- package/dist/generated/pangocairo/font.d.ts +12 -0
- package/dist/generated/pangocairo/font.js +12 -0
- package/dist/generated/pangocairo/functions.d.ts +227 -0
- package/dist/generated/pangocairo/functions.js +227 -0
- package/dist/gl/constants.d.ts +4 -0
- package/dist/gl/constants.js +4 -0
- package/dist/gl/gl.d.ts +144 -0
- package/dist/gl/gl.js +144 -0
- package/dist/gl/index.d.ts +12 -0
- package/dist/gl/index.js +12 -0
- package/dist/native-error.d.ts +11 -0
- package/dist/native-error.js +11 -0
- package/dist/native.d.ts +29 -0
- package/dist/native.js +29 -0
- package/dist/types.d.ts +5 -0
- package/package.json +3 -3
|
@@ -5,6 +5,131 @@ import { DBusConnection } from "./dbus-connection.js";
|
|
|
5
5
|
import { ApplicationCommandLine } from "./application-command-line.js";
|
|
6
6
|
import * as GLib from "../glib/index.js";
|
|
7
7
|
import * as GObject from "../gobject/index.js";
|
|
8
|
+
/**
|
|
9
|
+
* `GApplication` is the core class for application support.
|
|
10
|
+
*
|
|
11
|
+
* A `GApplication` is the foundation of an application. It wraps some
|
|
12
|
+
* low-level platform-specific services and is intended to act as the
|
|
13
|
+
* foundation for higher-level application classes such as
|
|
14
|
+
* `GtkApplication` or `MxApplication`. In general, you should not use
|
|
15
|
+
* this class outside of a higher level framework.
|
|
16
|
+
*
|
|
17
|
+
* `GApplication` provides convenient life-cycle management by maintaining
|
|
18
|
+
* a "use count" for the primary application instance. The use count can
|
|
19
|
+
* be changed using [method@Gio.Application.hold] and
|
|
20
|
+
* [method@Gio.Application.release]. If it drops to zero, the application
|
|
21
|
+
* exits. Higher-level classes such as `GtkApplication` employ the use count
|
|
22
|
+
* to ensure that the application stays alive as long as it has any opened
|
|
23
|
+
* windows.
|
|
24
|
+
*
|
|
25
|
+
* Another feature that `GApplication` (optionally) provides is process
|
|
26
|
+
* uniqueness. Applications can make use of this functionality by
|
|
27
|
+
* providing a unique application ID. If given, only one application
|
|
28
|
+
* with this ID can be running at a time per session. The session
|
|
29
|
+
* concept is platform-dependent, but corresponds roughly to a graphical
|
|
30
|
+
* desktop login. When your application is launched again, its
|
|
31
|
+
* arguments are passed through platform communication to the already
|
|
32
|
+
* running program. The already running instance of the program is
|
|
33
|
+
* called the "primary instance"; for non-unique applications this is
|
|
34
|
+
* always the current instance. On Linux, the D-Bus session bus
|
|
35
|
+
* is used for communication.
|
|
36
|
+
*
|
|
37
|
+
* The use of `GApplication` differs from some other commonly-used
|
|
38
|
+
* uniqueness libraries (such as libunique) in important ways. The
|
|
39
|
+
* application is not expected to manually register itself and check
|
|
40
|
+
* if it is the primary instance. Instead, the main() function of a
|
|
41
|
+
* `GApplication` should do very little more than instantiating the
|
|
42
|
+
* application instance, possibly connecting signal handlers, then
|
|
43
|
+
* calling [method@Gio.Application.run]. All checks for uniqueness are done
|
|
44
|
+
* internally. If the application is the primary instance then the
|
|
45
|
+
* startup signal is emitted and the mainloop runs. If the application
|
|
46
|
+
* is not the primary instance then a signal is sent to the primary
|
|
47
|
+
* instance and [method@Gio.Application.run] promptly returns. See the code
|
|
48
|
+
* examples below.
|
|
49
|
+
*
|
|
50
|
+
* If used, the expected form of an application identifier is the
|
|
51
|
+
* same as that of a
|
|
52
|
+
* D-Bus well-known bus name.
|
|
53
|
+
* Examples include: `com.example.MyApp`, `org.example.internal_apps.Calculator`,
|
|
54
|
+
* `org._7_zip.Archiver`.
|
|
55
|
+
* For details on valid application identifiers, see [func@Gio.Application.id_is_valid].
|
|
56
|
+
*
|
|
57
|
+
* On Linux, the application identifier is claimed as a well-known bus name
|
|
58
|
+
* on the user's session bus. This means that the uniqueness of your
|
|
59
|
+
* application is scoped to the current session. It also means that your
|
|
60
|
+
* application may provide additional services (through registration of other
|
|
61
|
+
* object paths) at that bus name. The registration of these object paths
|
|
62
|
+
* should be done with the shared GDBus session bus. Note that due to the
|
|
63
|
+
* internal architecture of GDBus, method calls can be dispatched at any time
|
|
64
|
+
* (even if a main loop is not running). For this reason, you must ensure that
|
|
65
|
+
* any object paths that you wish to register are registered before #GApplication
|
|
66
|
+
* attempts to acquire the bus name of your application (which happens in
|
|
67
|
+
* [method@Gio.Application.register]). Unfortunately, this means that you cannot
|
|
68
|
+
* use [property@Gio.Application:is-remote] to decide if you want to register
|
|
69
|
+
* object paths.
|
|
70
|
+
*
|
|
71
|
+
* `GApplication` also implements the [iface@Gio.ActionGroup] and [iface@Gio.ActionMap]
|
|
72
|
+
* interfaces and lets you easily export actions by adding them with
|
|
73
|
+
* [method@Gio.ActionMap.add_action]. When invoking an action by calling
|
|
74
|
+
* [method@Gio.ActionGroup.activate_action] on the application, it is always
|
|
75
|
+
* invoked in the primary instance. The actions are also exported on
|
|
76
|
+
* the session bus, and GIO provides the [class@Gio.DBusActionGroup] wrapper to
|
|
77
|
+
* conveniently access them remotely. GIO provides a [class@Gio.DBusMenuModel] wrapper
|
|
78
|
+
* for remote access to exported [class@Gio.MenuModel]s.
|
|
79
|
+
*
|
|
80
|
+
* Note: Due to the fact that actions are exported on the session bus,
|
|
81
|
+
* using `maybe` parameters is not supported, since D-Bus does not support
|
|
82
|
+
* `maybe` types.
|
|
83
|
+
*
|
|
84
|
+
* There is a number of different entry points into a `GApplication`:
|
|
85
|
+
*
|
|
86
|
+
* - via 'Activate' (i.e. just starting the application)
|
|
87
|
+
*
|
|
88
|
+
* - via 'Open' (i.e. opening some files)
|
|
89
|
+
*
|
|
90
|
+
* - by handling a command-line
|
|
91
|
+
*
|
|
92
|
+
* - via activating an action
|
|
93
|
+
*
|
|
94
|
+
* The [signal@Gio.Application::startup] signal lets you handle the application
|
|
95
|
+
* initialization for all of these in a single place.
|
|
96
|
+
*
|
|
97
|
+
* Regardless of which of these entry points is used to start the
|
|
98
|
+
* application, `GApplication` passes some ‘platform data’ from the
|
|
99
|
+
* launching instance to the primary instance, in the form of a
|
|
100
|
+
* [struct@GLib.Variant] dictionary mapping strings to variants. To use platform
|
|
101
|
+
* data, override the [vfunc@Gio.Application.before_emit] or
|
|
102
|
+
* [vfunc@Gio.Application.after_emit] virtual functions
|
|
103
|
+
* in your `GApplication` subclass. When dealing with
|
|
104
|
+
* [class@Gio.ApplicationCommandLine] objects, the platform data is
|
|
105
|
+
* directly available via [method@Gio.ApplicationCommandLine.get_cwd],
|
|
106
|
+
* [method@Gio.ApplicationCommandLine.get_environ] and
|
|
107
|
+
* [method@Gio.ApplicationCommandLine.get_platform_data].
|
|
108
|
+
*
|
|
109
|
+
* As the name indicates, the platform data may vary depending on the
|
|
110
|
+
* operating system, but it always includes the current directory (key
|
|
111
|
+
* `cwd`), and optionally the environment (ie the set of environment
|
|
112
|
+
* variables and their values) of the calling process (key `environ`).
|
|
113
|
+
* The environment is only added to the platform data if the
|
|
114
|
+
* `G_APPLICATION_SEND_ENVIRONMENT` flag is set. `GApplication` subclasses
|
|
115
|
+
* can add their own platform data by overriding the
|
|
116
|
+
* [vfunc@Gio.Application.add_platform_data] virtual function. For instance,
|
|
117
|
+
* `GtkApplication` adds startup notification data in this way.
|
|
118
|
+
*
|
|
119
|
+
* To parse commandline arguments you may handle the
|
|
120
|
+
* [signal@Gio.Application::command-line] signal or override the
|
|
121
|
+
* [vfunc@Gio.Application.local_command_line] virtual function, to parse them in
|
|
122
|
+
* either the primary instance or the local instance, respectively.
|
|
123
|
+
*
|
|
124
|
+
* For an example of opening files with a `GApplication`, see
|
|
125
|
+
* [gapplication-example-open.c](https://gitlab.gnome.org/GNOME/glib/-/blob/HEAD/gio/tests/gapplication-example-open.c).
|
|
126
|
+
*
|
|
127
|
+
* For an example of using actions with `GApplication`, see
|
|
128
|
+
* [gapplication-example-actions.c](https://gitlab.gnome.org/GNOME/glib/-/blob/HEAD/gio/tests/gapplication-example-actions.c).
|
|
129
|
+
*
|
|
130
|
+
* For an example of using extra D-Bus hooks with `GApplication`, see
|
|
131
|
+
* [gapplication-example-dbushooks.c](https://gitlab.gnome.org/GNOME/glib/-/blob/HEAD/gio/tests/gapplication-example-dbushooks.c).
|
|
132
|
+
*/
|
|
8
133
|
const SIGNAL_META = {
|
|
9
134
|
activate: { params: [], returnType: { type: "undefined" } },
|
|
10
135
|
"command-line": {
|
|
@@ -54,6 +179,15 @@ export class Application extends GObject.GObject {
|
|
|
54
179
|
},
|
|
55
180
|
], { type: "gobject", borrowed: false });
|
|
56
181
|
}
|
|
182
|
+
/**
|
|
183
|
+
* Returns the default #GApplication instance for this process.
|
|
184
|
+
*
|
|
185
|
+
* Normally there is only one #GApplication per process and it becomes
|
|
186
|
+
* the default when it is created. You can exercise more control over
|
|
187
|
+
* this by using g_application_set_default().
|
|
188
|
+
*
|
|
189
|
+
* If there is no default application then %NULL is returned.
|
|
190
|
+
*/
|
|
57
191
|
static getDefault() {
|
|
58
192
|
const ptr = call("libgio-2.0.so.0", "g_application_get_default", [], {
|
|
59
193
|
type: "gobject",
|
|
@@ -61,6 +195,54 @@ export class Application extends GObject.GObject {
|
|
|
61
195
|
});
|
|
62
196
|
return getObject(ptr, Application);
|
|
63
197
|
}
|
|
198
|
+
/**
|
|
199
|
+
* Checks if `application_id` is a valid application identifier.
|
|
200
|
+
*
|
|
201
|
+
* A valid ID is required for calls to g_application_new() and
|
|
202
|
+
* g_application_set_application_id().
|
|
203
|
+
*
|
|
204
|
+
* Application identifiers follow the same format as
|
|
205
|
+
* D-Bus well-known bus names.
|
|
206
|
+
* For convenience, the restrictions on application identifiers are
|
|
207
|
+
* reproduced here:
|
|
208
|
+
*
|
|
209
|
+
* - Application identifiers are composed of 1 or more elements separated by a
|
|
210
|
+
* period (`.`) character. All elements must contain at least one character.
|
|
211
|
+
*
|
|
212
|
+
* - Each element must only contain the ASCII characters `[A-Z][a-z][0-9]_-`,
|
|
213
|
+
* with `-` discouraged in new application identifiers. Each element must not
|
|
214
|
+
* begin with a digit.
|
|
215
|
+
*
|
|
216
|
+
* - Application identifiers must contain at least one `.` (period) character
|
|
217
|
+
* (and thus at least two elements).
|
|
218
|
+
*
|
|
219
|
+
* - Application identifiers must not begin with a `.` (period) character.
|
|
220
|
+
*
|
|
221
|
+
* - Application identifiers must not exceed 255 characters.
|
|
222
|
+
*
|
|
223
|
+
* Note that the hyphen (`-`) character is allowed in application identifiers,
|
|
224
|
+
* but is problematic or not allowed in various specifications and APIs that
|
|
225
|
+
* refer to D-Bus, such as
|
|
226
|
+
* Flatpak application IDs,
|
|
227
|
+
* the
|
|
228
|
+
* `DBusActivatable` interface in the Desktop Entry Specification,
|
|
229
|
+
* and the convention that an application's "main" interface and object path
|
|
230
|
+
* resemble its application identifier and bus name. To avoid situations that
|
|
231
|
+
* require special-case handling, it is recommended that new application
|
|
232
|
+
* identifiers consistently replace hyphens with underscores.
|
|
233
|
+
*
|
|
234
|
+
* Like D-Bus interface names, application identifiers should start with the
|
|
235
|
+
* reversed DNS domain name of the author of the interface (in lower-case), and
|
|
236
|
+
* it is conventional for the rest of the application identifier to consist of
|
|
237
|
+
* words run together, with initial capital letters.
|
|
238
|
+
*
|
|
239
|
+
* As with D-Bus interface names, if the author's DNS domain name contains
|
|
240
|
+
* hyphen/minus characters they should be replaced by underscores, and if it
|
|
241
|
+
* contains leading digits they should be escaped by prepending an underscore.
|
|
242
|
+
* For example, if the owner of 7-zip.org used an application identifier for an
|
|
243
|
+
* archiving application, it might be named `org._7_zip.Archiver`.
|
|
244
|
+
* @param applicationId - a potential application identifier
|
|
245
|
+
*/
|
|
64
246
|
static idIsValid(applicationId) {
|
|
65
247
|
return call("libgio-2.0.so.0", "g_application_id_is_valid", [
|
|
66
248
|
{
|
|
@@ -69,6 +251,14 @@ export class Application extends GObject.GObject {
|
|
|
69
251
|
},
|
|
70
252
|
], { type: "boolean" });
|
|
71
253
|
}
|
|
254
|
+
/**
|
|
255
|
+
* Activates the application.
|
|
256
|
+
*
|
|
257
|
+
* In essence, this results in the #GApplication::activate signal being
|
|
258
|
+
* emitted in the primary instance.
|
|
259
|
+
*
|
|
260
|
+
* The application must be registered before calling this function.
|
|
261
|
+
*/
|
|
72
262
|
activate() {
|
|
73
263
|
call("libgio-2.0.so.0", "g_application_activate", [
|
|
74
264
|
{
|
|
@@ -77,6 +267,27 @@ export class Application extends GObject.GObject {
|
|
|
77
267
|
},
|
|
78
268
|
], { type: "undefined" });
|
|
79
269
|
}
|
|
270
|
+
/**
|
|
271
|
+
* Add an option to be handled by @application.
|
|
272
|
+
*
|
|
273
|
+
* Calling this function is the equivalent of calling
|
|
274
|
+
* g_application_add_main_option_entries() with a single #GOptionEntry
|
|
275
|
+
* that has its arg_data member set to %NULL.
|
|
276
|
+
*
|
|
277
|
+
* The parsed arguments will be packed into a #GVariantDict which
|
|
278
|
+
* is passed to #GApplication::handle-local-options. If
|
|
279
|
+
* %G_APPLICATION_HANDLES_COMMAND_LINE is set, then it will also
|
|
280
|
+
* be sent to the primary instance. See
|
|
281
|
+
* g_application_add_main_option_entries() for more details.
|
|
282
|
+
*
|
|
283
|
+
* See #GOptionEntry for more documentation of the arguments.
|
|
284
|
+
* @param longName - the long name of an option used to specify it in a commandline
|
|
285
|
+
* @param shortName - the short name of an option
|
|
286
|
+
* @param flags - flags from #GOptionFlags
|
|
287
|
+
* @param arg - the type of the option, as a #GOptionArg
|
|
288
|
+
* @param description - the description for the option in `--help` output
|
|
289
|
+
* @param argDescription - the placeholder to use for the extra argument
|
|
290
|
+
*/
|
|
80
291
|
addMainOption(longName, shortName, flags, arg, description, argDescription) {
|
|
81
292
|
call("libgio-2.0.so.0", "g_application_add_main_option", [
|
|
82
293
|
{
|
|
@@ -110,6 +321,64 @@ export class Application extends GObject.GObject {
|
|
|
110
321
|
},
|
|
111
322
|
], { type: "undefined" });
|
|
112
323
|
}
|
|
324
|
+
/**
|
|
325
|
+
* Adds main option entries to be handled by @application.
|
|
326
|
+
*
|
|
327
|
+
* This function is comparable to g_option_context_add_main_entries().
|
|
328
|
+
*
|
|
329
|
+
* After the commandline arguments are parsed, the
|
|
330
|
+
* #GApplication::handle-local-options signal will be emitted. At this
|
|
331
|
+
* point, the application can inspect the values pointed to by `arg_data` in the given #GOptionEntrys.
|
|
332
|
+
*
|
|
333
|
+
* Unlike #GOptionContext, #GApplication supports giving a %NULL
|
|
334
|
+
* `arg_data` for a non-callback #GOptionEntry. This results in the
|
|
335
|
+
* argument in question being packed into a #GVariantDict which is also
|
|
336
|
+
* passed to #GApplication::handle-local-options, where it can be
|
|
337
|
+
* inspected and modified. If %G_APPLICATION_HANDLES_COMMAND_LINE is
|
|
338
|
+
* set, then the resulting dictionary is sent to the primary instance,
|
|
339
|
+
* where g_application_command_line_get_options_dict() will return it.
|
|
340
|
+
* As it has been passed outside the process at this point, the types of all
|
|
341
|
+
* values in the options dict must be checked before being used.
|
|
342
|
+
* This "packing" is done according to the type of the argument --
|
|
343
|
+
* booleans for normal flags, strings for strings, bytestrings for
|
|
344
|
+
* filenames, etc. The packing only occurs if the flag is given (ie: we
|
|
345
|
+
* do not pack a "false" #GVariant in the case that a flag is missing).
|
|
346
|
+
*
|
|
347
|
+
* In general, it is recommended that all commandline arguments are
|
|
348
|
+
* parsed locally. The options dictionary should then be used to
|
|
349
|
+
* transmit the result of the parsing to the primary instance, where
|
|
350
|
+
* g_variant_dict_lookup() can be used. For local options, it is
|
|
351
|
+
* possible to either use `arg_data` in the usual way, or to consult (and
|
|
352
|
+
* potentially remove) the option from the options dictionary.
|
|
353
|
+
*
|
|
354
|
+
* This function is new in GLib 2.40. Before then, the only real choice
|
|
355
|
+
* was to send all of the commandline arguments (options and all) to the
|
|
356
|
+
* primary instance for handling. #GApplication ignored them completely
|
|
357
|
+
* on the local side. Calling this function "opts in" to the new
|
|
358
|
+
* behaviour, and in particular, means that unrecognized options will be
|
|
359
|
+
* treated as errors. Unrecognized options have never been ignored when
|
|
360
|
+
* %G_APPLICATION_HANDLES_COMMAND_LINE is unset.
|
|
361
|
+
*
|
|
362
|
+
* If #GApplication::handle-local-options needs to see the list of
|
|
363
|
+
* filenames, then the use of %G_OPTION_REMAINING is recommended. If
|
|
364
|
+
* `arg_data` is %NULL then %G_OPTION_REMAINING can be used as a key into
|
|
365
|
+
* the options dictionary. If you do use %G_OPTION_REMAINING then you
|
|
366
|
+
* need to handle these arguments for yourself because once they are
|
|
367
|
+
* consumed, they will no longer be visible to the default handling
|
|
368
|
+
* (which treats them as filenames to be opened).
|
|
369
|
+
*
|
|
370
|
+
* It is important to use the proper GVariant format when retrieving
|
|
371
|
+
* the options with g_variant_dict_lookup():
|
|
372
|
+
* - for %G_OPTION_ARG_NONE, use `b`
|
|
373
|
+
* - for %G_OPTION_ARG_STRING, use `&s`
|
|
374
|
+
* - for %G_OPTION_ARG_INT, use `i`
|
|
375
|
+
* - for %G_OPTION_ARG_INT64, use `x`
|
|
376
|
+
* - for %G_OPTION_ARG_DOUBLE, use `d`
|
|
377
|
+
* - for %G_OPTION_ARG_FILENAME, use `^&ay`
|
|
378
|
+
* - for %G_OPTION_ARG_STRING_ARRAY, use `^a&s`
|
|
379
|
+
* - for %G_OPTION_ARG_FILENAME_ARRAY, use `^a&ay`
|
|
380
|
+
* @param entries - the
|
|
381
|
+
*/
|
|
113
382
|
addMainOptionEntries(entries) {
|
|
114
383
|
call("libgio-2.0.so.0", "g_application_add_main_option_entries", [
|
|
115
384
|
{
|
|
@@ -125,6 +394,34 @@ export class Application extends GObject.GObject {
|
|
|
125
394
|
},
|
|
126
395
|
], { type: "undefined" });
|
|
127
396
|
}
|
|
397
|
+
/**
|
|
398
|
+
* Adds a #GOptionGroup to the commandline handling of @application.
|
|
399
|
+
*
|
|
400
|
+
* This function is comparable to g_option_context_add_group().
|
|
401
|
+
*
|
|
402
|
+
* Unlike g_application_add_main_option_entries(), this function does
|
|
403
|
+
* not deal with %NULL `arg_data` and never transmits options to the
|
|
404
|
+
* primary instance.
|
|
405
|
+
*
|
|
406
|
+
* The reason for that is because, by the time the options arrive at the
|
|
407
|
+
* primary instance, it is typically too late to do anything with them.
|
|
408
|
+
* Taking the GTK option group as an example: GTK will already have been
|
|
409
|
+
* initialised by the time the #GApplication::command-line handler runs.
|
|
410
|
+
* In the case that this is not the first-running instance of the
|
|
411
|
+
* application, the existing instance may already have been running for
|
|
412
|
+
* a very long time.
|
|
413
|
+
*
|
|
414
|
+
* This means that the options from #GOptionGroup are only really usable
|
|
415
|
+
* in the case that the instance of the application being run is the
|
|
416
|
+
* first instance. Passing options like `--display=` or `--gdk-debug=`
|
|
417
|
+
* on future runs will have no effect on the existing primary instance.
|
|
418
|
+
*
|
|
419
|
+
* Calling this function will cause the options in the supplied option
|
|
420
|
+
* group to be parsed, but it does not cause you to be "opted in" to the
|
|
421
|
+
* new functionality whereby unrecognized options are rejected even if
|
|
422
|
+
* %G_APPLICATION_HANDLES_COMMAND_LINE was given.
|
|
423
|
+
* @param group - a #GOptionGroup
|
|
424
|
+
*/
|
|
128
425
|
addOptionGroup(group) {
|
|
129
426
|
call("libgio-2.0.so.0", "g_application_add_option_group", [
|
|
130
427
|
{
|
|
@@ -141,6 +438,16 @@ export class Application extends GObject.GObject {
|
|
|
141
438
|
},
|
|
142
439
|
], { type: "undefined" });
|
|
143
440
|
}
|
|
441
|
+
/**
|
|
442
|
+
* Marks `application` as busy (see g_application_mark_busy()) while
|
|
443
|
+
* `property` on `object` is %TRUE.
|
|
444
|
+
*
|
|
445
|
+
* The binding holds a reference to `application` while it is active, but
|
|
446
|
+
* not to @object. Instead, the binding is destroyed when `object` is
|
|
447
|
+
* finalized.
|
|
448
|
+
* @param object - a #GObject
|
|
449
|
+
* @param property - the name of a boolean property of @object
|
|
450
|
+
*/
|
|
144
451
|
bindBusyProperty(object, property) {
|
|
145
452
|
call("libgio-2.0.so.0", "g_application_bind_busy_property", [
|
|
146
453
|
{
|
|
@@ -157,6 +464,9 @@ export class Application extends GObject.GObject {
|
|
|
157
464
|
},
|
|
158
465
|
], { type: "undefined" });
|
|
159
466
|
}
|
|
467
|
+
/**
|
|
468
|
+
* Gets the unique identifier for @application.
|
|
469
|
+
*/
|
|
160
470
|
getApplicationId() {
|
|
161
471
|
return call("libgio-2.0.so.0", "g_application_get_application_id", [
|
|
162
472
|
{
|
|
@@ -165,6 +475,21 @@ export class Application extends GObject.GObject {
|
|
|
165
475
|
},
|
|
166
476
|
], { type: "string", borrowed: true });
|
|
167
477
|
}
|
|
478
|
+
/**
|
|
479
|
+
* Gets the #GDBusConnection being used by the application, or %NULL.
|
|
480
|
+
*
|
|
481
|
+
* If #GApplication is using its D-Bus backend then this function will
|
|
482
|
+
* return the #GDBusConnection being used for uniqueness and
|
|
483
|
+
* communication with the desktop environment and other instances of the
|
|
484
|
+
* application.
|
|
485
|
+
*
|
|
486
|
+
* If #GApplication is not using D-Bus then this function will return
|
|
487
|
+
* %NULL. This includes the situation where the D-Bus backend would
|
|
488
|
+
* normally be in use but we were unable to connect to the bus.
|
|
489
|
+
*
|
|
490
|
+
* This function must not be called before the application has been
|
|
491
|
+
* registered. See g_application_get_is_registered().
|
|
492
|
+
*/
|
|
168
493
|
getDbusConnection() {
|
|
169
494
|
const ptr = call("libgio-2.0.so.0", "g_application_get_dbus_connection", [
|
|
170
495
|
{
|
|
@@ -176,6 +501,22 @@ export class Application extends GObject.GObject {
|
|
|
176
501
|
return null;
|
|
177
502
|
return getObject(ptr, DBusConnection);
|
|
178
503
|
}
|
|
504
|
+
/**
|
|
505
|
+
* Gets the D-Bus object path being used by the application, or %NULL.
|
|
506
|
+
*
|
|
507
|
+
* If #GApplication is using its D-Bus backend then this function will
|
|
508
|
+
* return the D-Bus object path that #GApplication is using. If the
|
|
509
|
+
* application is the primary instance then there is an object published
|
|
510
|
+
* at this path. If the application is not the primary instance then
|
|
511
|
+
* the result of this function is undefined.
|
|
512
|
+
*
|
|
513
|
+
* If #GApplication is not using D-Bus then this function will return
|
|
514
|
+
* %NULL. This includes the situation where the D-Bus backend would
|
|
515
|
+
* normally be in use but we were unable to connect to the bus.
|
|
516
|
+
*
|
|
517
|
+
* This function must not be called before the application has been
|
|
518
|
+
* registered. See g_application_get_is_registered().
|
|
519
|
+
*/
|
|
179
520
|
getDbusObjectPath() {
|
|
180
521
|
return call("libgio-2.0.so.0", "g_application_get_dbus_object_path", [
|
|
181
522
|
{
|
|
@@ -184,6 +525,11 @@ export class Application extends GObject.GObject {
|
|
|
184
525
|
},
|
|
185
526
|
], { type: "string", borrowed: true });
|
|
186
527
|
}
|
|
528
|
+
/**
|
|
529
|
+
* Gets the flags for @application.
|
|
530
|
+
*
|
|
531
|
+
* See #GApplicationFlags.
|
|
532
|
+
*/
|
|
187
533
|
getFlags() {
|
|
188
534
|
return call("libgio-2.0.so.0", "g_application_get_flags", [
|
|
189
535
|
{
|
|
@@ -192,6 +538,12 @@ export class Application extends GObject.GObject {
|
|
|
192
538
|
},
|
|
193
539
|
], { type: "int", size: 32, unsigned: false });
|
|
194
540
|
}
|
|
541
|
+
/**
|
|
542
|
+
* Gets the current inactivity timeout for the application.
|
|
543
|
+
*
|
|
544
|
+
* This is the amount of time (in milliseconds) after the last call to
|
|
545
|
+
* g_application_release() before the application stops running.
|
|
546
|
+
*/
|
|
195
547
|
getInactivityTimeout() {
|
|
196
548
|
return call("libgio-2.0.so.0", "g_application_get_inactivity_timeout", [
|
|
197
549
|
{
|
|
@@ -200,6 +552,10 @@ export class Application extends GObject.GObject {
|
|
|
200
552
|
},
|
|
201
553
|
], { type: "int", size: 32, unsigned: true });
|
|
202
554
|
}
|
|
555
|
+
/**
|
|
556
|
+
* Gets the application's current busy state, as set through
|
|
557
|
+
* g_application_mark_busy() or g_application_bind_busy_property().
|
|
558
|
+
*/
|
|
203
559
|
getIsBusy() {
|
|
204
560
|
return call("libgio-2.0.so.0", "g_application_get_is_busy", [
|
|
205
561
|
{
|
|
@@ -208,6 +564,12 @@ export class Application extends GObject.GObject {
|
|
|
208
564
|
},
|
|
209
565
|
], { type: "boolean" });
|
|
210
566
|
}
|
|
567
|
+
/**
|
|
568
|
+
* Checks if `application` is registered.
|
|
569
|
+
*
|
|
570
|
+
* An application is registered if g_application_register() has been
|
|
571
|
+
* successfully called.
|
|
572
|
+
*/
|
|
211
573
|
getIsRegistered() {
|
|
212
574
|
return call("libgio-2.0.so.0", "g_application_get_is_registered", [
|
|
213
575
|
{
|
|
@@ -216,6 +578,18 @@ export class Application extends GObject.GObject {
|
|
|
216
578
|
},
|
|
217
579
|
], { type: "boolean" });
|
|
218
580
|
}
|
|
581
|
+
/**
|
|
582
|
+
* Checks if `application` is remote.
|
|
583
|
+
*
|
|
584
|
+
* If `application` is remote then it means that another instance of
|
|
585
|
+
* application already exists (the 'primary' instance). Calls to
|
|
586
|
+
* perform actions on `application` will result in the actions being
|
|
587
|
+
* performed by the primary instance.
|
|
588
|
+
*
|
|
589
|
+
* The value of this property cannot be accessed before
|
|
590
|
+
* g_application_register() has been called. See
|
|
591
|
+
* g_application_get_is_registered().
|
|
592
|
+
*/
|
|
219
593
|
getIsRemote() {
|
|
220
594
|
return call("libgio-2.0.so.0", "g_application_get_is_remote", [
|
|
221
595
|
{
|
|
@@ -224,6 +598,11 @@ export class Application extends GObject.GObject {
|
|
|
224
598
|
},
|
|
225
599
|
], { type: "boolean" });
|
|
226
600
|
}
|
|
601
|
+
/**
|
|
602
|
+
* Gets the resource base path of @application.
|
|
603
|
+
*
|
|
604
|
+
* See g_application_set_resource_base_path() for more information.
|
|
605
|
+
*/
|
|
227
606
|
getResourceBasePath() {
|
|
228
607
|
return call("libgio-2.0.so.0", "g_application_get_resource_base_path", [
|
|
229
608
|
{
|
|
@@ -232,6 +611,9 @@ export class Application extends GObject.GObject {
|
|
|
232
611
|
},
|
|
233
612
|
], { type: "string", borrowed: true });
|
|
234
613
|
}
|
|
614
|
+
/**
|
|
615
|
+
* Gets the version of @application.
|
|
616
|
+
*/
|
|
235
617
|
getVersion() {
|
|
236
618
|
return call("libgio-2.0.so.0", "g_application_get_version", [
|
|
237
619
|
{
|
|
@@ -240,6 +622,15 @@ export class Application extends GObject.GObject {
|
|
|
240
622
|
},
|
|
241
623
|
], { type: "string", borrowed: true });
|
|
242
624
|
}
|
|
625
|
+
/**
|
|
626
|
+
* Increases the use count of @application.
|
|
627
|
+
*
|
|
628
|
+
* Use this function to indicate that the application has a reason to
|
|
629
|
+
* continue to run. For example, g_application_hold() is called by GTK
|
|
630
|
+
* when a toplevel window is on the screen.
|
|
631
|
+
*
|
|
632
|
+
* To cancel the hold, call g_application_release().
|
|
633
|
+
*/
|
|
243
634
|
hold() {
|
|
244
635
|
call("libgio-2.0.so.0", "g_application_hold", [
|
|
245
636
|
{
|
|
@@ -248,6 +639,20 @@ export class Application extends GObject.GObject {
|
|
|
248
639
|
},
|
|
249
640
|
], { type: "undefined" });
|
|
250
641
|
}
|
|
642
|
+
/**
|
|
643
|
+
* Increases the busy count of @application.
|
|
644
|
+
*
|
|
645
|
+
* Use this function to indicate that the application is busy, for instance
|
|
646
|
+
* while a long running operation is pending.
|
|
647
|
+
*
|
|
648
|
+
* The busy state will be exposed to other processes, so a session shell will
|
|
649
|
+
* use that information to indicate the state to the user (e.g. with a
|
|
650
|
+
* spinner).
|
|
651
|
+
*
|
|
652
|
+
* To cancel the busy indication, use g_application_unmark_busy().
|
|
653
|
+
*
|
|
654
|
+
* The application must be registered before calling this function.
|
|
655
|
+
*/
|
|
251
656
|
markBusy() {
|
|
252
657
|
call("libgio-2.0.so.0", "g_application_mark_busy", [
|
|
253
658
|
{
|
|
@@ -256,6 +661,25 @@ export class Application extends GObject.GObject {
|
|
|
256
661
|
},
|
|
257
662
|
], { type: "undefined" });
|
|
258
663
|
}
|
|
664
|
+
/**
|
|
665
|
+
* Opens the given files.
|
|
666
|
+
*
|
|
667
|
+
* In essence, this results in the #GApplication::open signal being emitted
|
|
668
|
+
* in the primary instance.
|
|
669
|
+
*
|
|
670
|
+
* `n_files` must be greater than zero.
|
|
671
|
+
*
|
|
672
|
+
* `hint` is simply passed through to the ::open signal. It is
|
|
673
|
+
* intended to be used by applications that have multiple modes for
|
|
674
|
+
* opening files (eg: "view" vs "edit", etc). Unless you have a need
|
|
675
|
+
* for this functionality, you should use "".
|
|
676
|
+
*
|
|
677
|
+
* The application must be registered before calling this function
|
|
678
|
+
* and it must have the %G_APPLICATION_HANDLES_OPEN flag set.
|
|
679
|
+
* @param files - an array of #GFiles to open
|
|
680
|
+
* @param nFiles - the length of the `files` array
|
|
681
|
+
* @param hint - a hint (or ""), but never %NULL
|
|
682
|
+
*/
|
|
259
683
|
open(files, nFiles, hint) {
|
|
260
684
|
call("libgio-2.0.so.0", "g_application_open", [
|
|
261
685
|
{
|
|
@@ -276,6 +700,21 @@ export class Application extends GObject.GObject {
|
|
|
276
700
|
},
|
|
277
701
|
], { type: "undefined" });
|
|
278
702
|
}
|
|
703
|
+
/**
|
|
704
|
+
* Immediately quits the application.
|
|
705
|
+
*
|
|
706
|
+
* Upon return to the mainloop, g_application_run() will return,
|
|
707
|
+
* calling only the 'shutdown' function before doing so.
|
|
708
|
+
*
|
|
709
|
+
* The hold count is ignored.
|
|
710
|
+
* Take care if your code has called g_application_hold() on the application and
|
|
711
|
+
* is therefore still expecting it to exist.
|
|
712
|
+
* (Note that you may have called g_application_hold() indirectly, for example
|
|
713
|
+
* through gtk_application_add_window().)
|
|
714
|
+
*
|
|
715
|
+
* The result of calling g_application_run() again after it returns is
|
|
716
|
+
* unspecified.
|
|
717
|
+
*/
|
|
279
718
|
quit() {
|
|
280
719
|
call("libgio-2.0.so.0", "g_application_quit", [
|
|
281
720
|
{
|
|
@@ -284,6 +723,38 @@ export class Application extends GObject.GObject {
|
|
|
284
723
|
},
|
|
285
724
|
], { type: "undefined" });
|
|
286
725
|
}
|
|
726
|
+
/**
|
|
727
|
+
* Attempts registration of the application.
|
|
728
|
+
*
|
|
729
|
+
* This is the point at which the application discovers if it is the
|
|
730
|
+
* primary instance or merely acting as a remote for an already-existing
|
|
731
|
+
* primary instance. This is implemented by attempting to acquire the
|
|
732
|
+
* application identifier as a unique bus name on the session bus using
|
|
733
|
+
* GDBus.
|
|
734
|
+
*
|
|
735
|
+
* If there is no application ID or if %G_APPLICATION_NON_UNIQUE was
|
|
736
|
+
* given, then this process will always become the primary instance.
|
|
737
|
+
*
|
|
738
|
+
* Due to the internal architecture of GDBus, method calls can be
|
|
739
|
+
* dispatched at any time (even if a main loop is not running). For
|
|
740
|
+
* this reason, you must ensure that any object paths that you wish to
|
|
741
|
+
* register are registered before calling this function.
|
|
742
|
+
*
|
|
743
|
+
* If the application has already been registered then %TRUE is
|
|
744
|
+
* returned with no work performed.
|
|
745
|
+
*
|
|
746
|
+
* The #GApplication::startup signal is emitted if registration succeeds
|
|
747
|
+
* and `application` is the primary instance (including the non-unique
|
|
748
|
+
* case).
|
|
749
|
+
*
|
|
750
|
+
* In the event of an error (such as `cancellable` being cancelled, or a
|
|
751
|
+
* failure to connect to the session bus), %FALSE is returned and `error` is set appropriately.
|
|
752
|
+
*
|
|
753
|
+
* Note: the return value of this function is not an indicator that this
|
|
754
|
+
* instance is or is not the primary instance of the application. See
|
|
755
|
+
* g_application_get_is_remote() for that.
|
|
756
|
+
* @param cancellable - a #GCancellable, or %NULL
|
|
757
|
+
*/
|
|
287
758
|
register(cancellable) {
|
|
288
759
|
const error = { value: null };
|
|
289
760
|
const result = call("libgio-2.0.so.0", "g_application_register", [
|
|
@@ -313,6 +784,14 @@ export class Application extends GObject.GObject {
|
|
|
313
784
|
}
|
|
314
785
|
return result;
|
|
315
786
|
}
|
|
787
|
+
/**
|
|
788
|
+
* Decrease the use count of @application.
|
|
789
|
+
*
|
|
790
|
+
* When the use count reaches zero, the application will stop running.
|
|
791
|
+
*
|
|
792
|
+
* Never call this function except to cancel the effect of a previous
|
|
793
|
+
* call to g_application_hold().
|
|
794
|
+
*/
|
|
316
795
|
release() {
|
|
317
796
|
call("libgio-2.0.so.0", "g_application_release", [
|
|
318
797
|
{
|
|
@@ -321,6 +800,85 @@ export class Application extends GObject.GObject {
|
|
|
321
800
|
},
|
|
322
801
|
], { type: "undefined" });
|
|
323
802
|
}
|
|
803
|
+
/**
|
|
804
|
+
* Runs the application.
|
|
805
|
+
*
|
|
806
|
+
* This function is intended to be run from main() and its return value
|
|
807
|
+
* is intended to be returned by main(). Although you are expected to pass
|
|
808
|
+
* the @argc, `argv` parameters from main() to this function, it is possible
|
|
809
|
+
* to pass %NULL if `argv` is not available or commandline handling is not
|
|
810
|
+
* required. Note that on Windows, `argc` and `argv` are ignored, and
|
|
811
|
+
* g_win32_get_command_line() is called internally (for proper support
|
|
812
|
+
* of Unicode commandline arguments).
|
|
813
|
+
*
|
|
814
|
+
* #GApplication will attempt to parse the commandline arguments. You
|
|
815
|
+
* can add commandline flags to the list of recognised options by way of
|
|
816
|
+
* g_application_add_main_option_entries(). After this, the
|
|
817
|
+
* #GApplication::handle-local-options signal is emitted, from which the
|
|
818
|
+
* application can inspect the values of its #GOptionEntrys.
|
|
819
|
+
*
|
|
820
|
+
* #GApplication::handle-local-options is a good place to handle options
|
|
821
|
+
* such as `--version`, where an immediate reply from the local process is
|
|
822
|
+
* desired (instead of communicating with an already-running instance).
|
|
823
|
+
* A #GApplication::handle-local-options handler can stop further processing
|
|
824
|
+
* by returning a non-negative value, which then becomes the exit status of
|
|
825
|
+
* the process.
|
|
826
|
+
*
|
|
827
|
+
* What happens next depends on the flags: if
|
|
828
|
+
* %G_APPLICATION_HANDLES_COMMAND_LINE was specified then the remaining
|
|
829
|
+
* commandline arguments are sent to the primary instance, where a
|
|
830
|
+
* #GApplication::command-line signal is emitted. Otherwise, the
|
|
831
|
+
* remaining commandline arguments are assumed to be a list of files.
|
|
832
|
+
* If there are no files listed, the application is activated via the
|
|
833
|
+
* #GApplication::activate signal. If there are one or more files, and
|
|
834
|
+
* %G_APPLICATION_HANDLES_OPEN was specified then the files are opened
|
|
835
|
+
* via the #GApplication::open signal.
|
|
836
|
+
*
|
|
837
|
+
* If you are interested in doing more complicated local handling of the
|
|
838
|
+
* commandline then you should implement your own #GApplication subclass
|
|
839
|
+
* and override local_command_line(). In this case, you most likely want
|
|
840
|
+
* to return %TRUE from your local_command_line() implementation to
|
|
841
|
+
* suppress the default handling. See
|
|
842
|
+
* [gapplication-example-cmdline2.c][https://gitlab.gnome.org/GNOME/glib/-/blob/HEAD/gio/tests/gapplication-example-cmdline2.c]
|
|
843
|
+
* for an example.
|
|
844
|
+
*
|
|
845
|
+
* If, after the above is done, the use count of the application is zero
|
|
846
|
+
* then the exit status is returned immediately. If the use count is
|
|
847
|
+
* non-zero then the default main context is iterated until the use count
|
|
848
|
+
* falls to zero, at which point 0 is returned.
|
|
849
|
+
*
|
|
850
|
+
* If the %G_APPLICATION_IS_SERVICE flag is set, then the service will
|
|
851
|
+
* run for as much as 10 seconds with a use count of zero while waiting
|
|
852
|
+
* for the message that caused the activation to arrive. After that,
|
|
853
|
+
* if the use count falls to zero the application will exit immediately,
|
|
854
|
+
* except in the case that g_application_set_inactivity_timeout() is in
|
|
855
|
+
* use.
|
|
856
|
+
*
|
|
857
|
+
* This function sets the prgname (g_set_prgname()), if not already set,
|
|
858
|
+
* to the basename of argv[0].
|
|
859
|
+
*
|
|
860
|
+
* Much like g_main_loop_run(), this function will acquire the main context
|
|
861
|
+
* for the duration that the application is running.
|
|
862
|
+
*
|
|
863
|
+
* Since 2.40, applications that are not explicitly flagged as services
|
|
864
|
+
* or launchers (ie: neither %G_APPLICATION_IS_SERVICE or
|
|
865
|
+
* %G_APPLICATION_IS_LAUNCHER are given as flags) will check (from the
|
|
866
|
+
* default handler for local_command_line) if "--gapplication-service"
|
|
867
|
+
* was given in the command line. If this flag is present then normal
|
|
868
|
+
* commandline processing is interrupted and the
|
|
869
|
+
* %G_APPLICATION_IS_SERVICE flag is set. This provides a "compromise"
|
|
870
|
+
* solution whereby running an application directly from the commandline
|
|
871
|
+
* will invoke it in the normal way (which can be useful for debugging)
|
|
872
|
+
* while still allowing applications to be D-Bus activated in service
|
|
873
|
+
* mode. The D-Bus service file should invoke the executable with
|
|
874
|
+
* "--gapplication-service" as the sole commandline argument. This
|
|
875
|
+
* approach is suitable for use by most graphical applications but
|
|
876
|
+
* should not be used from applications like editors that need precise
|
|
877
|
+
* control over when processes invoked via the commandline will exit and
|
|
878
|
+
* what their exit status will be.
|
|
879
|
+
* @param argc - the argc from main() (or 0 if `argv` is %NULL)
|
|
880
|
+
* @param argv - the argv from main(), or %NULL
|
|
881
|
+
*/
|
|
324
882
|
run(argc, argv) {
|
|
325
883
|
return call("libgio-2.0.so.0", "g_application_run", [
|
|
326
884
|
{
|
|
@@ -338,6 +896,39 @@ export class Application extends GObject.GObject {
|
|
|
338
896
|
},
|
|
339
897
|
], { type: "int", size: 32, unsigned: false });
|
|
340
898
|
}
|
|
899
|
+
/**
|
|
900
|
+
* Sends a notification on behalf of `application` to the desktop shell.
|
|
901
|
+
* There is no guarantee that the notification is displayed immediately,
|
|
902
|
+
* or even at all.
|
|
903
|
+
*
|
|
904
|
+
* Notifications may persist after the application exits. It will be
|
|
905
|
+
* D-Bus-activated when the notification or one of its actions is
|
|
906
|
+
* activated.
|
|
907
|
+
*
|
|
908
|
+
* Modifying `notification` after this call has no effect. However, the
|
|
909
|
+
* object can be reused for a later call to this function.
|
|
910
|
+
*
|
|
911
|
+
* `id` may be any string that uniquely identifies the event for the
|
|
912
|
+
* application. It does not need to be in any special format. For
|
|
913
|
+
* example, "new-message" might be appropriate for a notification about
|
|
914
|
+
* new messages.
|
|
915
|
+
*
|
|
916
|
+
* If a previous notification was sent with the same @id, it will be
|
|
917
|
+
* replaced with `notification` and shown again as if it was a new
|
|
918
|
+
* notification. This works even for notifications sent from a previous
|
|
919
|
+
* execution of the application, as long as `id` is the same string.
|
|
920
|
+
*
|
|
921
|
+
* `id` may be `NULL`, but it is impossible to replace or withdraw
|
|
922
|
+
* notifications without an id.
|
|
923
|
+
*
|
|
924
|
+
* If `notification` is no longer relevant, it can be withdrawn with
|
|
925
|
+
* [method@Gio.Application.withdraw_notification].
|
|
926
|
+
*
|
|
927
|
+
* It is an error to call this function if `application` has no
|
|
928
|
+
* application ID.
|
|
929
|
+
* @param id - id of the notification, or %NULL
|
|
930
|
+
* @param notification - the #GNotification to send
|
|
931
|
+
*/
|
|
341
932
|
sendNotification(notification, id) {
|
|
342
933
|
call("libgio-2.0.so.0", "g_application_send_notification", [
|
|
343
934
|
{
|
|
@@ -355,6 +946,11 @@ export class Application extends GObject.GObject {
|
|
|
355
946
|
},
|
|
356
947
|
], { type: "undefined" });
|
|
357
948
|
}
|
|
949
|
+
/**
|
|
950
|
+
* This used to be how actions were associated with a #GApplication.
|
|
951
|
+
* Now there is #GActionMap for that.
|
|
952
|
+
* @param actionGroup - a #GActionGroup, or %NULL
|
|
953
|
+
*/
|
|
358
954
|
setActionGroup(actionGroup) {
|
|
359
955
|
call("libgio-2.0.so.0", "g_application_set_action_group", [
|
|
360
956
|
{
|
|
@@ -368,6 +964,16 @@ export class Application extends GObject.GObject {
|
|
|
368
964
|
},
|
|
369
965
|
], { type: "undefined" });
|
|
370
966
|
}
|
|
967
|
+
/**
|
|
968
|
+
* Sets the unique identifier for @application.
|
|
969
|
+
*
|
|
970
|
+
* The application id can only be modified if `application` has not yet
|
|
971
|
+
* been registered.
|
|
972
|
+
*
|
|
973
|
+
* If non-%NULL, the application id must be valid. See
|
|
974
|
+
* g_application_id_is_valid().
|
|
975
|
+
* @param applicationId - the identifier for @application
|
|
976
|
+
*/
|
|
371
977
|
setApplicationId(applicationId) {
|
|
372
978
|
call("libgio-2.0.so.0", "g_application_set_application_id", [
|
|
373
979
|
{
|
|
@@ -381,6 +987,14 @@ export class Application extends GObject.GObject {
|
|
|
381
987
|
},
|
|
382
988
|
], { type: "undefined" });
|
|
383
989
|
}
|
|
990
|
+
/**
|
|
991
|
+
* Sets or unsets the default application for the process, as returned
|
|
992
|
+
* by g_application_get_default().
|
|
993
|
+
*
|
|
994
|
+
* This function does not take its own reference on @application. If
|
|
995
|
+
* `application` is destroyed then the default application will revert
|
|
996
|
+
* back to %NULL.
|
|
997
|
+
*/
|
|
384
998
|
setDefault() {
|
|
385
999
|
call("libgio-2.0.so.0", "g_application_set_default", [
|
|
386
1000
|
{
|
|
@@ -389,6 +1003,15 @@ export class Application extends GObject.GObject {
|
|
|
389
1003
|
},
|
|
390
1004
|
], { type: "undefined" });
|
|
391
1005
|
}
|
|
1006
|
+
/**
|
|
1007
|
+
* Sets the flags for @application.
|
|
1008
|
+
*
|
|
1009
|
+
* The flags can only be modified if `application` has not yet been
|
|
1010
|
+
* registered.
|
|
1011
|
+
*
|
|
1012
|
+
* See #GApplicationFlags.
|
|
1013
|
+
* @param flags - the flags for @application
|
|
1014
|
+
*/
|
|
392
1015
|
setFlags(flags) {
|
|
393
1016
|
call("libgio-2.0.so.0", "g_application_set_flags", [
|
|
394
1017
|
{
|
|
@@ -401,6 +1024,17 @@ export class Application extends GObject.GObject {
|
|
|
401
1024
|
},
|
|
402
1025
|
], { type: "undefined" });
|
|
403
1026
|
}
|
|
1027
|
+
/**
|
|
1028
|
+
* Sets the current inactivity timeout for the application.
|
|
1029
|
+
*
|
|
1030
|
+
* This is the amount of time (in milliseconds) after the last call to
|
|
1031
|
+
* g_application_release() before the application stops running.
|
|
1032
|
+
*
|
|
1033
|
+
* This call has no side effects of its own. The value set here is only
|
|
1034
|
+
* used for next time g_application_release() drops the use count to
|
|
1035
|
+
* zero. Any timeouts currently in progress are not impacted.
|
|
1036
|
+
* @param inactivityTimeout - the timeout, in milliseconds
|
|
1037
|
+
*/
|
|
404
1038
|
setInactivityTimeout(inactivityTimeout) {
|
|
405
1039
|
call("libgio-2.0.so.0", "g_application_set_inactivity_timeout", [
|
|
406
1040
|
{
|
|
@@ -413,6 +1047,12 @@ export class Application extends GObject.GObject {
|
|
|
413
1047
|
},
|
|
414
1048
|
], { type: "undefined" });
|
|
415
1049
|
}
|
|
1050
|
+
/**
|
|
1051
|
+
* Adds a description to the `application` option context.
|
|
1052
|
+
*
|
|
1053
|
+
* See g_option_context_set_description() for more information.
|
|
1054
|
+
* @param description - a string to be shown in `--help` output
|
|
1055
|
+
*/
|
|
416
1056
|
setOptionContextDescription(description) {
|
|
417
1057
|
call("libgio-2.0.so.0", "g_application_set_option_context_description", [
|
|
418
1058
|
{
|
|
@@ -426,6 +1066,15 @@ export class Application extends GObject.GObject {
|
|
|
426
1066
|
},
|
|
427
1067
|
], { type: "undefined" });
|
|
428
1068
|
}
|
|
1069
|
+
/**
|
|
1070
|
+
* Sets the parameter string to be used by the commandline handling of @application.
|
|
1071
|
+
*
|
|
1072
|
+
* This function registers the argument to be passed to g_option_context_new()
|
|
1073
|
+
* when the internal #GOptionContext of `application` is created.
|
|
1074
|
+
*
|
|
1075
|
+
* See g_option_context_new() for more information about @parameter_string.
|
|
1076
|
+
* @param parameterString - a string which is displayed
|
|
1077
|
+
*/
|
|
429
1078
|
setOptionContextParameterString(parameterString) {
|
|
430
1079
|
call("libgio-2.0.so.0", "g_application_set_option_context_parameter_string", [
|
|
431
1080
|
{
|
|
@@ -439,6 +1088,12 @@ export class Application extends GObject.GObject {
|
|
|
439
1088
|
},
|
|
440
1089
|
], { type: "undefined" });
|
|
441
1090
|
}
|
|
1091
|
+
/**
|
|
1092
|
+
* Adds a summary to the `application` option context.
|
|
1093
|
+
*
|
|
1094
|
+
* See g_option_context_set_summary() for more information.
|
|
1095
|
+
* @param summary - a string to be shown in `--help` output
|
|
1096
|
+
*/
|
|
442
1097
|
setOptionContextSummary(summary) {
|
|
443
1098
|
call("libgio-2.0.so.0", "g_application_set_option_context_summary", [
|
|
444
1099
|
{
|
|
@@ -452,6 +1107,42 @@ export class Application extends GObject.GObject {
|
|
|
452
1107
|
},
|
|
453
1108
|
], { type: "undefined" });
|
|
454
1109
|
}
|
|
1110
|
+
/**
|
|
1111
|
+
* Sets (or unsets) the base resource path of @application.
|
|
1112
|
+
*
|
|
1113
|
+
* The path is used to automatically load various
|
|
1114
|
+
* [application resources][struct@Gio.Resource] such as menu layouts and
|
|
1115
|
+
* action descriptions. The various types of resources will be found at
|
|
1116
|
+
* fixed names relative to the given base path.
|
|
1117
|
+
*
|
|
1118
|
+
* By default, the resource base path is determined from the application
|
|
1119
|
+
* ID by prefixing '/' and replacing each '.' with '/'. This is done at
|
|
1120
|
+
* the time that the #GApplication object is constructed. Changes to
|
|
1121
|
+
* the application ID after that point will not have an impact on the
|
|
1122
|
+
* resource base path.
|
|
1123
|
+
*
|
|
1124
|
+
* As an example, if the application has an ID of "org.example.app" then
|
|
1125
|
+
* the default resource base path will be "/org/example/app". If this
|
|
1126
|
+
* is a #GtkApplication (and you have not manually changed the path)
|
|
1127
|
+
* then Gtk will then search for the menus of the application at
|
|
1128
|
+
* "/org/example/app/gtk/menus.ui".
|
|
1129
|
+
*
|
|
1130
|
+
* See #GResource for more information about adding resources to your
|
|
1131
|
+
* application.
|
|
1132
|
+
*
|
|
1133
|
+
* You can disable automatic resource loading functionality by setting
|
|
1134
|
+
* the path to %NULL.
|
|
1135
|
+
*
|
|
1136
|
+
* Changing the resource base path once the application is running is
|
|
1137
|
+
* not recommended. The point at which the resource path is consulted
|
|
1138
|
+
* for forming paths for various purposes is unspecified. When writing
|
|
1139
|
+
* a sub-class of #GApplication you should either set the
|
|
1140
|
+
* #GApplication:resource-base-path property at construction time, or call
|
|
1141
|
+
* this function during the instance initialization. Alternatively, you
|
|
1142
|
+
* can call this function in the #GApplicationClass.startup virtual function,
|
|
1143
|
+
* before chaining up to the parent implementation.
|
|
1144
|
+
* @param resourcePath - the resource path to use
|
|
1145
|
+
*/
|
|
455
1146
|
setResourceBasePath(resourcePath) {
|
|
456
1147
|
call("libgio-2.0.so.0", "g_application_set_resource_base_path", [
|
|
457
1148
|
{
|
|
@@ -465,6 +1156,14 @@ export class Application extends GObject.GObject {
|
|
|
465
1156
|
},
|
|
466
1157
|
], { type: "undefined" });
|
|
467
1158
|
}
|
|
1159
|
+
/**
|
|
1160
|
+
* Sets the version number of @application. This will be used to implement
|
|
1161
|
+
* a `--version` command line argument
|
|
1162
|
+
*
|
|
1163
|
+
* The application version can only be modified if `application` has not yet
|
|
1164
|
+
* been registered.
|
|
1165
|
+
* @param version - the version of @application
|
|
1166
|
+
*/
|
|
468
1167
|
setVersion(version) {
|
|
469
1168
|
call("libgio-2.0.so.0", "g_application_set_version", [
|
|
470
1169
|
{
|
|
@@ -477,6 +1176,13 @@ export class Application extends GObject.GObject {
|
|
|
477
1176
|
},
|
|
478
1177
|
], { type: "undefined" });
|
|
479
1178
|
}
|
|
1179
|
+
/**
|
|
1180
|
+
* Destroys a binding between `property` and the busy state of
|
|
1181
|
+
* `application` that was previously created with
|
|
1182
|
+
* g_application_bind_busy_property().
|
|
1183
|
+
* @param object - a #GObject
|
|
1184
|
+
* @param property - the name of a boolean property of @object
|
|
1185
|
+
*/
|
|
480
1186
|
unbindBusyProperty(object, property) {
|
|
481
1187
|
call("libgio-2.0.so.0", "g_application_unbind_busy_property", [
|
|
482
1188
|
{
|
|
@@ -493,6 +1199,15 @@ export class Application extends GObject.GObject {
|
|
|
493
1199
|
},
|
|
494
1200
|
], { type: "undefined" });
|
|
495
1201
|
}
|
|
1202
|
+
/**
|
|
1203
|
+
* Decreases the busy count of @application.
|
|
1204
|
+
*
|
|
1205
|
+
* When the busy count reaches zero, the new state will be propagated
|
|
1206
|
+
* to other processes.
|
|
1207
|
+
*
|
|
1208
|
+
* This function must only be called to cancel the effect of a previous
|
|
1209
|
+
* call to g_application_mark_busy().
|
|
1210
|
+
*/
|
|
496
1211
|
unmarkBusy() {
|
|
497
1212
|
call("libgio-2.0.so.0", "g_application_unmark_busy", [
|
|
498
1213
|
{
|
|
@@ -501,6 +1216,22 @@ export class Application extends GObject.GObject {
|
|
|
501
1216
|
},
|
|
502
1217
|
], { type: "undefined" });
|
|
503
1218
|
}
|
|
1219
|
+
/**
|
|
1220
|
+
* Withdraws a notification that was sent with
|
|
1221
|
+
* g_application_send_notification().
|
|
1222
|
+
*
|
|
1223
|
+
* This call does nothing if a notification with `id` doesn't exist or
|
|
1224
|
+
* the notification was never sent.
|
|
1225
|
+
*
|
|
1226
|
+
* This function works even for notifications sent in previous
|
|
1227
|
+
* executions of this application, as long `id` is the same as it was for
|
|
1228
|
+
* the sent notification.
|
|
1229
|
+
*
|
|
1230
|
+
* Note that notifications are dismissed when the user clicks on one
|
|
1231
|
+
* of the buttons in a notification or triggers its default action, so
|
|
1232
|
+
* there is no need to explicitly withdraw the notification in that case.
|
|
1233
|
+
* @param id - id of a previously sent notification
|
|
1234
|
+
*/
|
|
504
1235
|
withdrawNotification(id) {
|
|
505
1236
|
call("libgio-2.0.so.0", "g_application_withdraw_notification", [
|
|
506
1237
|
{
|
|
@@ -513,6 +1244,12 @@ export class Application extends GObject.GObject {
|
|
|
513
1244
|
},
|
|
514
1245
|
], { type: "undefined" });
|
|
515
1246
|
}
|
|
1247
|
+
/**
|
|
1248
|
+
* Emits the [signal@Gio.ActionGroup::action-added] signal on @action_group.
|
|
1249
|
+
*
|
|
1250
|
+
* This function should only be called by [type@Gio.ActionGroup] implementations.
|
|
1251
|
+
* @param actionName - the name of an action in the group
|
|
1252
|
+
*/
|
|
516
1253
|
actionAdded(actionName) {
|
|
517
1254
|
call("libgio-2.0.so.0", "g_action_group_action_added", [
|
|
518
1255
|
{
|
|
@@ -525,6 +1262,13 @@ export class Application extends GObject.GObject {
|
|
|
525
1262
|
},
|
|
526
1263
|
], { type: "undefined" });
|
|
527
1264
|
}
|
|
1265
|
+
/**
|
|
1266
|
+
* Emits the [signal@Gio.ActionGroup::action-enabled-changed] signal on @action_group.
|
|
1267
|
+
*
|
|
1268
|
+
* This function should only be called by [type@Gio.ActionGroup] implementations.
|
|
1269
|
+
* @param actionName - the name of an action in the group
|
|
1270
|
+
* @param enabled - whether the action is now enabled
|
|
1271
|
+
*/
|
|
528
1272
|
actionEnabledChanged(actionName, enabled) {
|
|
529
1273
|
call("libgio-2.0.so.0", "g_action_group_action_enabled_changed", [
|
|
530
1274
|
{
|
|
@@ -541,6 +1285,12 @@ export class Application extends GObject.GObject {
|
|
|
541
1285
|
},
|
|
542
1286
|
], { type: "undefined" });
|
|
543
1287
|
}
|
|
1288
|
+
/**
|
|
1289
|
+
* Emits the [signal@Gio.ActionGroup::action-removed] signal on @action_group.
|
|
1290
|
+
*
|
|
1291
|
+
* This function should only be called by [type@Gio.ActionGroup] implementations.
|
|
1292
|
+
* @param actionName - the name of an action in the group
|
|
1293
|
+
*/
|
|
544
1294
|
actionRemoved(actionName) {
|
|
545
1295
|
call("libgio-2.0.so.0", "g_action_group_action_removed", [
|
|
546
1296
|
{
|
|
@@ -553,6 +1303,13 @@ export class Application extends GObject.GObject {
|
|
|
553
1303
|
},
|
|
554
1304
|
], { type: "undefined" });
|
|
555
1305
|
}
|
|
1306
|
+
/**
|
|
1307
|
+
* Emits the [signal@Gio.ActionGroup::action-state-changed] signal on @action_group.
|
|
1308
|
+
*
|
|
1309
|
+
* This function should only be called by [type@Gio.ActionGroup] implementations.
|
|
1310
|
+
* @param actionName - the name of an action in the group
|
|
1311
|
+
* @param state - the new state of the named action
|
|
1312
|
+
*/
|
|
556
1313
|
actionStateChanged(actionName, state) {
|
|
557
1314
|
call("libgio-2.0.so.0", "g_action_group_action_state_changed", [
|
|
558
1315
|
{
|
|
@@ -574,6 +1331,43 @@ export class Application extends GObject.GObject {
|
|
|
574
1331
|
},
|
|
575
1332
|
], { type: "undefined" });
|
|
576
1333
|
}
|
|
1334
|
+
/**
|
|
1335
|
+
* Activate the named action within @action_group.
|
|
1336
|
+
*
|
|
1337
|
+
* If the action is expecting a parameter, then the correct type of
|
|
1338
|
+
* parameter must be given as @parameter. If the action is expecting no
|
|
1339
|
+
* parameters then `parameter` must be `NULL`. See
|
|
1340
|
+
* [method@Gio.ActionGroup.get_action_parameter_type].
|
|
1341
|
+
*
|
|
1342
|
+
* If the [type@Gio.ActionGroup] implementation supports asynchronous remote
|
|
1343
|
+
* activation over D-Bus, this call may return before the relevant
|
|
1344
|
+
* D-Bus traffic has been sent, or any replies have been received. In
|
|
1345
|
+
* order to block on such asynchronous activation calls,
|
|
1346
|
+
* [method@Gio.DBusConnection.flush] should be called prior to the code, which
|
|
1347
|
+
* depends on the result of the action activation. Without flushing
|
|
1348
|
+
* the D-Bus connection, there is no guarantee that the action would
|
|
1349
|
+
* have been activated.
|
|
1350
|
+
*
|
|
1351
|
+
* The following code which runs in a remote app instance, shows an
|
|
1352
|
+
* example of a ‘quit’ action being activated on the primary app
|
|
1353
|
+
* instance over D-Bus. Here [method@Gio.DBusConnection.flush] is called
|
|
1354
|
+
* before `exit()`. Without `g_dbus_connection_flush()`, the ‘quit’ action
|
|
1355
|
+
* may fail to be activated on the primary instance.
|
|
1356
|
+
*
|
|
1357
|
+
* ```c
|
|
1358
|
+
* // call ‘quit’ action on primary instance
|
|
1359
|
+
* g_action_group_activate_action (G_ACTION_GROUP (app), "quit", NULL);
|
|
1360
|
+
*
|
|
1361
|
+
* // make sure the action is activated now
|
|
1362
|
+
* g_dbus_connection_flush (…);
|
|
1363
|
+
*
|
|
1364
|
+
* g_debug ("Application has been terminated. Exiting.");
|
|
1365
|
+
*
|
|
1366
|
+
* exit (0);
|
|
1367
|
+
* ```
|
|
1368
|
+
* @param actionName - the name of the action to activate
|
|
1369
|
+
* @param parameter - parameters to the activation
|
|
1370
|
+
*/
|
|
577
1371
|
activateAction(actionName, parameter) {
|
|
578
1372
|
call("libgio-2.0.so.0", "g_action_group_activate_action", [
|
|
579
1373
|
{
|
|
@@ -596,6 +1390,21 @@ export class Application extends GObject.GObject {
|
|
|
596
1390
|
},
|
|
597
1391
|
], { type: "undefined" });
|
|
598
1392
|
}
|
|
1393
|
+
/**
|
|
1394
|
+
* Request for the state of the named action within `action_group` to be
|
|
1395
|
+
* changed to @value.
|
|
1396
|
+
*
|
|
1397
|
+
* The action must be stateful and `value` must be of the correct type.
|
|
1398
|
+
* See [method@Gio.ActionGroup.get_action_state_type].
|
|
1399
|
+
*
|
|
1400
|
+
* This call merely requests a change. The action may refuse to change
|
|
1401
|
+
* its state or may change its state to something other than @value.
|
|
1402
|
+
* See [method@Gio.ActionGroup.get_action_state_hint].
|
|
1403
|
+
*
|
|
1404
|
+
* If the `value` GVariant is floating, it is consumed.
|
|
1405
|
+
* @param actionName - the name of the action to request the change on
|
|
1406
|
+
* @param value - the new state
|
|
1407
|
+
*/
|
|
599
1408
|
changeActionState(actionName, value) {
|
|
600
1409
|
call("libgio-2.0.so.0", "g_action_group_change_action_state", [
|
|
601
1410
|
{
|
|
@@ -617,6 +1426,13 @@ export class Application extends GObject.GObject {
|
|
|
617
1426
|
},
|
|
618
1427
|
], { type: "undefined" });
|
|
619
1428
|
}
|
|
1429
|
+
/**
|
|
1430
|
+
* Checks if the named action within `action_group` is currently enabled.
|
|
1431
|
+
*
|
|
1432
|
+
* An action must be enabled in order to be activated or in order to
|
|
1433
|
+
* have its state changed from outside callers.
|
|
1434
|
+
* @param actionName - the name of the action to query
|
|
1435
|
+
*/
|
|
620
1436
|
getActionEnabled(actionName) {
|
|
621
1437
|
return call("libgio-2.0.so.0", "g_action_group_get_action_enabled", [
|
|
622
1438
|
{
|
|
@@ -629,6 +1445,22 @@ export class Application extends GObject.GObject {
|
|
|
629
1445
|
},
|
|
630
1446
|
], { type: "boolean" });
|
|
631
1447
|
}
|
|
1448
|
+
/**
|
|
1449
|
+
* Queries the type of the parameter that must be given when activating
|
|
1450
|
+
* the named action within @action_group.
|
|
1451
|
+
*
|
|
1452
|
+
* When activating the action using [method@Gio.ActionGroup.activate_action],
|
|
1453
|
+
* the [type@GLib.Variant] given to that function must be of the type returned
|
|
1454
|
+
* by this function.
|
|
1455
|
+
*
|
|
1456
|
+
* In the case that this function returns `NULL`, you must not give any
|
|
1457
|
+
* [type@GLib.Variant], but `NULL` instead.
|
|
1458
|
+
*
|
|
1459
|
+
* The parameter type of a particular action will never change but it is
|
|
1460
|
+
* possible for an action to be removed and for a new action to be added
|
|
1461
|
+
* with the same name but a different parameter type.
|
|
1462
|
+
* @param actionName - the name of the action to query
|
|
1463
|
+
*/
|
|
632
1464
|
getActionParameterType(actionName) {
|
|
633
1465
|
const ptr = call("libgio-2.0.so.0", "g_action_group_get_action_parameter_type", [
|
|
634
1466
|
{
|
|
@@ -649,6 +1481,17 @@ export class Application extends GObject.GObject {
|
|
|
649
1481
|
return null;
|
|
650
1482
|
return getObject(ptr, GLib.VariantType);
|
|
651
1483
|
}
|
|
1484
|
+
/**
|
|
1485
|
+
* Queries the current state of the named action within @action_group.
|
|
1486
|
+
*
|
|
1487
|
+
* If the action is not stateful then `NULL` will be returned. If the
|
|
1488
|
+
* action is stateful then the type of the return value is the type
|
|
1489
|
+
* given by [method@Gio.ActionGroup.get_action_state_type].
|
|
1490
|
+
*
|
|
1491
|
+
* The return value (if non-`NULL`) should be freed with
|
|
1492
|
+
* [method@GLib.Variant.unref] when it is no longer required.
|
|
1493
|
+
* @param actionName - the name of the action to query
|
|
1494
|
+
*/
|
|
652
1495
|
getActionState(actionName) {
|
|
653
1496
|
const ptr = call("libgio-2.0.so.0", "g_action_group_get_action_state", [
|
|
654
1497
|
{
|
|
@@ -669,6 +1512,27 @@ export class Application extends GObject.GObject {
|
|
|
669
1512
|
return null;
|
|
670
1513
|
return getObject(ptr, GLib.Variant);
|
|
671
1514
|
}
|
|
1515
|
+
/**
|
|
1516
|
+
* Requests a hint about the valid range of values for the state of the
|
|
1517
|
+
* named action within @action_group.
|
|
1518
|
+
*
|
|
1519
|
+
* If `NULL` is returned it either means that the action is not stateful
|
|
1520
|
+
* or that there is no hint about the valid range of values for the
|
|
1521
|
+
* state of the action.
|
|
1522
|
+
*
|
|
1523
|
+
* If a [type@GLib.Variant] array is returned then each item in the array is a
|
|
1524
|
+
* possible value for the state. If a [type@GLib.Variant] pair (ie: two-tuple) is
|
|
1525
|
+
* returned then the tuple specifies the inclusive lower and upper bound
|
|
1526
|
+
* of valid values for the state.
|
|
1527
|
+
*
|
|
1528
|
+
* In any case, the information is merely a hint. It may be possible to
|
|
1529
|
+
* have a state value outside of the hinted range and setting a value
|
|
1530
|
+
* within the range may fail.
|
|
1531
|
+
*
|
|
1532
|
+
* The return value (if non-`NULL`) should be freed with
|
|
1533
|
+
* [method@GLib.Variant.unref] when it is no longer required.
|
|
1534
|
+
* @param actionName - the name of the action to query
|
|
1535
|
+
*/
|
|
672
1536
|
getActionStateHint(actionName) {
|
|
673
1537
|
const ptr = call("libgio-2.0.so.0", "g_action_group_get_action_state_hint", [
|
|
674
1538
|
{
|
|
@@ -689,6 +1553,25 @@ export class Application extends GObject.GObject {
|
|
|
689
1553
|
return null;
|
|
690
1554
|
return getObject(ptr, GLib.Variant);
|
|
691
1555
|
}
|
|
1556
|
+
/**
|
|
1557
|
+
* Queries the type of the state of the named action within
|
|
1558
|
+
* @action_group.
|
|
1559
|
+
*
|
|
1560
|
+
* If the action is stateful then this function returns the
|
|
1561
|
+
* [type@GLib.VariantType] of the state. All calls to
|
|
1562
|
+
* [method@Gio.ActionGroup.change_action_state] must give a [type@GLib.Variant] of this
|
|
1563
|
+
* type and [method@Gio.ActionGroup.get_action_state] will return a [type@GLib.Variant]
|
|
1564
|
+
* of the same type.
|
|
1565
|
+
*
|
|
1566
|
+
* If the action is not stateful then this function will return `NULL`.
|
|
1567
|
+
* In that case, [method@Gio.ActionGroup.get_action_state] will return `NULL`
|
|
1568
|
+
* and you must not call [method@Gio.ActionGroup.change_action_state].
|
|
1569
|
+
*
|
|
1570
|
+
* The state type of a particular action will never change but it is
|
|
1571
|
+
* possible for an action to be removed and for a new action to be added
|
|
1572
|
+
* with the same name but a different state type.
|
|
1573
|
+
* @param actionName - the name of the action to query
|
|
1574
|
+
*/
|
|
692
1575
|
getActionStateType(actionName) {
|
|
693
1576
|
const ptr = call("libgio-2.0.so.0", "g_action_group_get_action_state_type", [
|
|
694
1577
|
{
|
|
@@ -709,6 +1592,10 @@ export class Application extends GObject.GObject {
|
|
|
709
1592
|
return null;
|
|
710
1593
|
return getObject(ptr, GLib.VariantType);
|
|
711
1594
|
}
|
|
1595
|
+
/**
|
|
1596
|
+
* Checks if the named action exists within @action_group.
|
|
1597
|
+
* @param actionName - the name of the action to check for
|
|
1598
|
+
*/
|
|
712
1599
|
hasAction(actionName) {
|
|
713
1600
|
return call("libgio-2.0.so.0", "g_action_group_has_action", [
|
|
714
1601
|
{
|
|
@@ -721,6 +1608,12 @@ export class Application extends GObject.GObject {
|
|
|
721
1608
|
},
|
|
722
1609
|
], { type: "boolean" });
|
|
723
1610
|
}
|
|
1611
|
+
/**
|
|
1612
|
+
* Lists the actions contained within @action_group.
|
|
1613
|
+
*
|
|
1614
|
+
* The caller is responsible for freeing the list with [func@GLib.strfreev] when
|
|
1615
|
+
* it is no longer required.
|
|
1616
|
+
*/
|
|
724
1617
|
listActions() {
|
|
725
1618
|
return call("libgio-2.0.so.0", "g_action_group_list_actions", [
|
|
726
1619
|
{
|
|
@@ -729,6 +1622,41 @@ export class Application extends GObject.GObject {
|
|
|
729
1622
|
},
|
|
730
1623
|
], { type: "array", itemType: { type: "string" } });
|
|
731
1624
|
}
|
|
1625
|
+
/**
|
|
1626
|
+
* Queries all aspects of the named action within an @action_group.
|
|
1627
|
+
*
|
|
1628
|
+
* This function acquires the information available from
|
|
1629
|
+
* [method@Gio.ActionGroup.has_action], [method@Gio.ActionGroup.get_action_enabled],
|
|
1630
|
+
* [method@Gio.ActionGroup.get_action_parameter_type],
|
|
1631
|
+
* [method@Gio.ActionGroup.get_action_state_type],
|
|
1632
|
+
* [method@Gio.ActionGroup.get_action_state_hint] and
|
|
1633
|
+
* [method@Gio.ActionGroup.get_action_state] with a single function call.
|
|
1634
|
+
*
|
|
1635
|
+
* This provides two main benefits.
|
|
1636
|
+
*
|
|
1637
|
+
* The first is the improvement in efficiency that comes with not having
|
|
1638
|
+
* to perform repeated lookups of the action in order to discover
|
|
1639
|
+
* different things about it. The second is that implementing
|
|
1640
|
+
* [type@Gio.ActionGroup] can now be done by only overriding this one virtual
|
|
1641
|
+
* function.
|
|
1642
|
+
*
|
|
1643
|
+
* The interface provides a default implementation of this function that
|
|
1644
|
+
* calls the individual functions, as required, to fetch the
|
|
1645
|
+
* information. The interface also provides default implementations of
|
|
1646
|
+
* those functions that call this function. All implementations,
|
|
1647
|
+
* therefore, must override either this function or all of the others.
|
|
1648
|
+
*
|
|
1649
|
+
* If the action exists, `TRUE` is returned and any of the requested
|
|
1650
|
+
* fields (as indicated by having a non-`NULL` reference passed in) are
|
|
1651
|
+
* filled. If the action doesn’t exist, `FALSE` is returned and the
|
|
1652
|
+
* fields may or may not have been modified.
|
|
1653
|
+
* @param actionName - the name of an action in the group
|
|
1654
|
+
* @param enabled - if the action is presently enabled
|
|
1655
|
+
* @param parameterType - the parameter type, or `NULL` if none needed
|
|
1656
|
+
* @param stateType - the state type, or `NULL` if stateless
|
|
1657
|
+
* @param stateHint - the state hint, or `NULL` if none
|
|
1658
|
+
* @param state - the current state, or `NULL` if stateless
|
|
1659
|
+
*/
|
|
732
1660
|
queryAction(actionName, enabled, parameterType, stateType, stateHint, state) {
|
|
733
1661
|
return call("libgio-2.0.so.0", "g_action_group_query_action", [
|
|
734
1662
|
{
|
|
@@ -793,6 +1721,15 @@ export class Application extends GObject.GObject {
|
|
|
793
1721
|
},
|
|
794
1722
|
], { type: "boolean" });
|
|
795
1723
|
}
|
|
1724
|
+
/**
|
|
1725
|
+
* Adds an action to the @action_map.
|
|
1726
|
+
*
|
|
1727
|
+
* If the action map already contains an action with the same name
|
|
1728
|
+
* as `action` then the old action is dropped from the action map.
|
|
1729
|
+
*
|
|
1730
|
+
* The action map takes its own reference on @action.
|
|
1731
|
+
* @param action - a [iface@Gio.Action]
|
|
1732
|
+
*/
|
|
796
1733
|
addAction(action) {
|
|
797
1734
|
call("libgio-2.0.so.0", "g_action_map_add_action", [
|
|
798
1735
|
{
|
|
@@ -805,6 +1742,48 @@ export class Application extends GObject.GObject {
|
|
|
805
1742
|
},
|
|
806
1743
|
], { type: "undefined" });
|
|
807
1744
|
}
|
|
1745
|
+
/**
|
|
1746
|
+
* A convenience function for creating multiple [class@Gio.SimpleAction]
|
|
1747
|
+
* instances and adding them to a [iface@Gio.ActionMap].
|
|
1748
|
+
*
|
|
1749
|
+
* Each action is constructed as per one [struct@Gio.ActionEntry].
|
|
1750
|
+
*
|
|
1751
|
+
* ```c
|
|
1752
|
+
* static void
|
|
1753
|
+
* activate_quit (GSimpleAction *simple,
|
|
1754
|
+
* GVariant *parameter,
|
|
1755
|
+
* gpointer user_data)
|
|
1756
|
+
* {
|
|
1757
|
+
* exit (0);
|
|
1758
|
+
* }
|
|
1759
|
+
*
|
|
1760
|
+
* static void
|
|
1761
|
+
* activate_print_string (GSimpleAction *simple,
|
|
1762
|
+
* GVariant *parameter,
|
|
1763
|
+
* gpointer user_data)
|
|
1764
|
+
* {
|
|
1765
|
+
* g_print ("%s\n", g_variant_get_string (parameter, NULL));
|
|
1766
|
+
* }
|
|
1767
|
+
*
|
|
1768
|
+
* static GActionGroup *
|
|
1769
|
+
* create_action_group (void)
|
|
1770
|
+
* {
|
|
1771
|
+
* const GActionEntry entries[] = {
|
|
1772
|
+
* { "quit", activate_quit },
|
|
1773
|
+
* { "print-string", activate_print_string, "s" }
|
|
1774
|
+
* };
|
|
1775
|
+
* GSimpleActionGroup *group;
|
|
1776
|
+
*
|
|
1777
|
+
* group = g_simple_action_group_new ();
|
|
1778
|
+
* g_action_map_add_action_entries (G_ACTION_MAP (group), entries, G_N_ELEMENTS (entries), NULL);
|
|
1779
|
+
*
|
|
1780
|
+
* return G_ACTION_GROUP (group);
|
|
1781
|
+
* }
|
|
1782
|
+
* ```
|
|
1783
|
+
* @param entries - a pointer to
|
|
1784
|
+
* @param nEntries - the length of @entries, or -1 if `entries` is `NULL`-terminated
|
|
1785
|
+
* @param userData - the user data for signal connections
|
|
1786
|
+
*/
|
|
808
1787
|
addActionEntries(entries, nEntries, userData) {
|
|
809
1788
|
call("libgio-2.0.so.0", "g_action_map_add_action_entries", [
|
|
810
1789
|
{
|
|
@@ -829,6 +1808,12 @@ export class Application extends GObject.GObject {
|
|
|
829
1808
|
},
|
|
830
1809
|
], { type: "undefined" });
|
|
831
1810
|
}
|
|
1811
|
+
/**
|
|
1812
|
+
* Looks up the action with the name `action_name` in @action_map.
|
|
1813
|
+
*
|
|
1814
|
+
* If no such action exists, returns `NULL`.
|
|
1815
|
+
* @param actionName - the name of an action
|
|
1816
|
+
*/
|
|
832
1817
|
lookupAction(actionName) {
|
|
833
1818
|
const ptr = call("libgio-2.0.so.0", "g_action_map_lookup_action", [
|
|
834
1819
|
{
|
|
@@ -844,6 +1829,12 @@ export class Application extends GObject.GObject {
|
|
|
844
1829
|
return null;
|
|
845
1830
|
return getObject(ptr, Action);
|
|
846
1831
|
}
|
|
1832
|
+
/**
|
|
1833
|
+
* Removes the named action from the action map.
|
|
1834
|
+
*
|
|
1835
|
+
* If no action of this name is in the map then nothing happens.
|
|
1836
|
+
* @param actionName - the name of the action
|
|
1837
|
+
*/
|
|
847
1838
|
removeAction(actionName) {
|
|
848
1839
|
call("libgio-2.0.so.0", "g_action_map_remove_action", [
|
|
849
1840
|
{
|
|
@@ -856,6 +1847,32 @@ export class Application extends GObject.GObject {
|
|
|
856
1847
|
},
|
|
857
1848
|
], { type: "undefined" });
|
|
858
1849
|
}
|
|
1850
|
+
/**
|
|
1851
|
+
* Remove actions from a [iface@Gio.ActionMap]. This is meant as the reverse of
|
|
1852
|
+
* [method@Gio.ActionMap.add_action_entries].
|
|
1853
|
+
*
|
|
1854
|
+
*
|
|
1855
|
+
* ```c
|
|
1856
|
+
* static const GActionEntry entries[] = {
|
|
1857
|
+
* { "quit", activate_quit },
|
|
1858
|
+
* { "print-string", activate_print_string, "s" }
|
|
1859
|
+
* };
|
|
1860
|
+
*
|
|
1861
|
+
* void
|
|
1862
|
+
* add_actions (GActionMap *map)
|
|
1863
|
+
* {
|
|
1864
|
+
* g_action_map_add_action_entries (map, entries, G_N_ELEMENTS (entries), NULL);
|
|
1865
|
+
* }
|
|
1866
|
+
*
|
|
1867
|
+
* void
|
|
1868
|
+
* remove_actions (GActionMap *map)
|
|
1869
|
+
* {
|
|
1870
|
+
* g_action_map_remove_action_entries (map, entries, G_N_ELEMENTS (entries));
|
|
1871
|
+
* }
|
|
1872
|
+
* ```
|
|
1873
|
+
* @param entries - a pointer to
|
|
1874
|
+
* @param nEntries - the length of @entries, or -1 if `entries` is `NULL`-terminated
|
|
1875
|
+
*/
|
|
859
1876
|
removeActionEntries(entries, nEntries) {
|
|
860
1877
|
call("libgio-2.0.so.0", "g_action_map_remove_action_entries", [
|
|
861
1878
|
{
|