@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
|
@@ -6,160 +6,1591 @@ import { GObject } from "./object.js";
|
|
|
6
6
|
import { ParamSpec } from "./param-spec.js";
|
|
7
7
|
import { TypePlugin } from "./type-plugin.js";
|
|
8
8
|
import * as GLib from "../glib/index.js";
|
|
9
|
+
/**
|
|
10
|
+
* Provide a copy of a boxed structure `src_boxed` which is of type @boxed_type.
|
|
11
|
+
* @param boxedType - The type of @src_boxed.
|
|
12
|
+
* @param srcBoxed - The boxed structure to be copied.
|
|
13
|
+
*/
|
|
9
14
|
export declare const boxedCopy: (boxedType: number, srcBoxed: number) => number;
|
|
15
|
+
/**
|
|
16
|
+
* Free the boxed structure `boxed` which is of type @boxed_type.
|
|
17
|
+
* @param boxedType - The type of @boxed.
|
|
18
|
+
* @param boxed - The boxed structure to be freed.
|
|
19
|
+
*/
|
|
10
20
|
export declare const boxedFree: (boxedType: number, boxed: number) => void;
|
|
21
|
+
/**
|
|
22
|
+
* This function creates a new %G_TYPE_BOXED derived type id for a new
|
|
23
|
+
* boxed type with name @name.
|
|
24
|
+
*
|
|
25
|
+
* Boxed type handling functions have to be provided to copy and free
|
|
26
|
+
* opaque boxed structures of this type.
|
|
27
|
+
*
|
|
28
|
+
* For the general case, it is recommended to use G_DEFINE_BOXED_TYPE()
|
|
29
|
+
* instead of calling g_boxed_type_register_static() directly. The macro
|
|
30
|
+
* will create the appropriate `*_get_type()` function for the boxed type.
|
|
31
|
+
* @param name - Name of the new boxed type.
|
|
32
|
+
* @param boxedCopy - Boxed structure copy function.
|
|
33
|
+
* @param boxedFree - Boxed structure free function.
|
|
34
|
+
*/
|
|
11
35
|
export declare const boxedTypeRegisterStatic: (name: string, boxedCopy: (...args: unknown[]) => unknown, boxedFree: (...args: unknown[]) => unknown) => number;
|
|
36
|
+
/**
|
|
37
|
+
* A #GClosureMarshal function for use with signals with handlers that
|
|
38
|
+
* take two boxed pointers as arguments and return a boolean. If you
|
|
39
|
+
* have such a signal, you will probably also need to use an
|
|
40
|
+
* accumulator, such as g_signal_accumulator_true_handled().
|
|
41
|
+
* @param closure - A #GClosure.
|
|
42
|
+
* @param returnValue - A #GValue to store the return value. May be %NULL
|
|
43
|
+
* @param nParamValues - The length of the `param_values` array.
|
|
44
|
+
* @param paramValues - An array of #GValues holding the arguments
|
|
45
|
+
* @param invocationHint - The invocation hint given as the last argument to
|
|
46
|
+
* @param marshalData - Additional data specified when registering the
|
|
47
|
+
*/
|
|
12
48
|
export declare const cclosureMarshal_BOOLEAN__BOXED_BOXED: (closure: Closure, returnValue: Value, nParamValues: number, paramValues: Value, invocationHint?: number | null, marshalData?: number | null) => void;
|
|
49
|
+
/**
|
|
50
|
+
* A #GClosureMarshal function for use with signals with handlers that
|
|
51
|
+
* take a flags type as an argument and return a boolean. If you have
|
|
52
|
+
* such a signal, you will probably also need to use an accumulator,
|
|
53
|
+
* such as g_signal_accumulator_true_handled().
|
|
54
|
+
* @param closure - A #GClosure.
|
|
55
|
+
* @param returnValue - A #GValue to store the return value. May be %NULL
|
|
56
|
+
* @param nParamValues - The length of the `param_values` array.
|
|
57
|
+
* @param paramValues - An array of #GValues holding the arguments
|
|
58
|
+
* @param invocationHint - The invocation hint given as the last argument to
|
|
59
|
+
* @param marshalData - Additional data specified when registering the
|
|
60
|
+
*/
|
|
13
61
|
export declare const cclosureMarshal_BOOLEAN__FLAGS: (closure: Closure, returnValue: Value, nParamValues: number, paramValues: Value, invocationHint?: number | null, marshalData?: number | null) => void;
|
|
62
|
+
/**
|
|
63
|
+
* A #GClosureMarshal function for use with signals with handlers that
|
|
64
|
+
* take a #GObject and a pointer and produce a string. It is highly
|
|
65
|
+
* unlikely that your signal handler fits this description.
|
|
66
|
+
* @param closure - A #GClosure.
|
|
67
|
+
* @param returnValue - A #GValue to store the return value. May be %NULL
|
|
68
|
+
* @param nParamValues - The length of the `param_values` array.
|
|
69
|
+
* @param paramValues - An array of #GValues holding the arguments
|
|
70
|
+
* @param invocationHint - The invocation hint given as the last argument to
|
|
71
|
+
* @param marshalData - Additional data specified when registering the
|
|
72
|
+
*/
|
|
14
73
|
export declare const cclosureMarshal_STRING__OBJECT_POINTER: (closure: Closure, returnValue: Value, nParamValues: number, paramValues: Value, invocationHint?: number | null, marshalData?: number | null) => void;
|
|
74
|
+
/**
|
|
75
|
+
* A #GClosureMarshal function for use with signals with a single
|
|
76
|
+
* boolean argument.
|
|
77
|
+
* @param closure - A #GClosure.
|
|
78
|
+
* @param returnValue - A #GValue to store the return value. May be %NULL
|
|
79
|
+
* @param nParamValues - The length of the `param_values` array.
|
|
80
|
+
* @param paramValues - An array of #GValues holding the arguments
|
|
81
|
+
* @param invocationHint - The invocation hint given as the last argument to
|
|
82
|
+
* @param marshalData - Additional data specified when registering the
|
|
83
|
+
*/
|
|
15
84
|
export declare const cclosureMarshal_VOID__BOOLEAN: (closure: Closure, returnValue: Value, nParamValues: number, paramValues: Value, invocationHint?: number | null, marshalData?: number | null) => void;
|
|
85
|
+
/**
|
|
86
|
+
* A #GClosureMarshal function for use with signals with a single
|
|
87
|
+
* argument which is any boxed pointer type.
|
|
88
|
+
* @param closure - A #GClosure.
|
|
89
|
+
* @param returnValue - A #GValue to store the return value. May be %NULL
|
|
90
|
+
* @param nParamValues - The length of the `param_values` array.
|
|
91
|
+
* @param paramValues - An array of #GValues holding the arguments
|
|
92
|
+
* @param invocationHint - The invocation hint given as the last argument to
|
|
93
|
+
* @param marshalData - Additional data specified when registering the
|
|
94
|
+
*/
|
|
16
95
|
export declare const cclosureMarshal_VOID__BOXED: (closure: Closure, returnValue: Value, nParamValues: number, paramValues: Value, invocationHint?: number | null, marshalData?: number | null) => void;
|
|
96
|
+
/**
|
|
97
|
+
* A #GClosureMarshal function for use with signals with a single
|
|
98
|
+
* character argument.
|
|
99
|
+
* @param closure - A #GClosure.
|
|
100
|
+
* @param returnValue - A #GValue to store the return value. May be %NULL
|
|
101
|
+
* @param nParamValues - The length of the `param_values` array.
|
|
102
|
+
* @param paramValues - An array of #GValues holding the arguments
|
|
103
|
+
* @param invocationHint - The invocation hint given as the last argument to
|
|
104
|
+
* @param marshalData - Additional data specified when registering the
|
|
105
|
+
*/
|
|
17
106
|
export declare const cclosureMarshal_VOID__CHAR: (closure: Closure, returnValue: Value, nParamValues: number, paramValues: Value, invocationHint?: number | null, marshalData?: number | null) => void;
|
|
107
|
+
/**
|
|
108
|
+
* A #GClosureMarshal function for use with signals with one
|
|
109
|
+
* double-precision floating point argument.
|
|
110
|
+
* @param closure - A #GClosure.
|
|
111
|
+
* @param returnValue - A #GValue to store the return value. May be %NULL
|
|
112
|
+
* @param nParamValues - The length of the `param_values` array.
|
|
113
|
+
* @param paramValues - An array of #GValues holding the arguments
|
|
114
|
+
* @param invocationHint - The invocation hint given as the last argument to
|
|
115
|
+
* @param marshalData - Additional data specified when registering the
|
|
116
|
+
*/
|
|
18
117
|
export declare const cclosureMarshal_VOID__DOUBLE: (closure: Closure, returnValue: Value, nParamValues: number, paramValues: Value, invocationHint?: number | null, marshalData?: number | null) => void;
|
|
118
|
+
/**
|
|
119
|
+
* A #GClosureMarshal function for use with signals with a single
|
|
120
|
+
* argument with an enumerated type.
|
|
121
|
+
* @param closure - A #GClosure.
|
|
122
|
+
* @param returnValue - A #GValue to store the return value. May be %NULL
|
|
123
|
+
* @param nParamValues - The length of the `param_values` array.
|
|
124
|
+
* @param paramValues - An array of #GValues holding the arguments
|
|
125
|
+
* @param invocationHint - The invocation hint given as the last argument to
|
|
126
|
+
* @param marshalData - Additional data specified when registering the
|
|
127
|
+
*/
|
|
19
128
|
export declare const cclosureMarshal_VOID__ENUM: (closure: Closure, returnValue: Value, nParamValues: number, paramValues: Value, invocationHint?: number | null, marshalData?: number | null) => void;
|
|
129
|
+
/**
|
|
130
|
+
* A #GClosureMarshal function for use with signals with a single
|
|
131
|
+
* argument with a flags types.
|
|
132
|
+
* @param closure - A #GClosure.
|
|
133
|
+
* @param returnValue - A #GValue to store the return value. May be %NULL
|
|
134
|
+
* @param nParamValues - The length of the `param_values` array.
|
|
135
|
+
* @param paramValues - An array of #GValues holding the arguments
|
|
136
|
+
* @param invocationHint - The invocation hint given as the last argument to
|
|
137
|
+
* @param marshalData - Additional data specified when registering the
|
|
138
|
+
*/
|
|
20
139
|
export declare const cclosureMarshal_VOID__FLAGS: (closure: Closure, returnValue: Value, nParamValues: number, paramValues: Value, invocationHint?: number | null, marshalData?: number | null) => void;
|
|
140
|
+
/**
|
|
141
|
+
* A #GClosureMarshal function for use with signals with one
|
|
142
|
+
* single-precision floating point argument.
|
|
143
|
+
* @param closure - A #GClosure.
|
|
144
|
+
* @param returnValue - A #GValue to store the return value. May be %NULL
|
|
145
|
+
* @param nParamValues - The length of the `param_values` array.
|
|
146
|
+
* @param paramValues - An array of #GValues holding the arguments
|
|
147
|
+
* @param invocationHint - The invocation hint given as the last argument to
|
|
148
|
+
* @param marshalData - Additional data specified when registering the
|
|
149
|
+
*/
|
|
21
150
|
export declare const cclosureMarshal_VOID__FLOAT: (closure: Closure, returnValue: Value, nParamValues: number, paramValues: Value, invocationHint?: number | null, marshalData?: number | null) => void;
|
|
151
|
+
/**
|
|
152
|
+
* A #GClosureMarshal function for use with signals with a single
|
|
153
|
+
* integer argument.
|
|
154
|
+
* @param closure - A #GClosure.
|
|
155
|
+
* @param returnValue - A #GValue to store the return value. May be %NULL
|
|
156
|
+
* @param nParamValues - The length of the `param_values` array.
|
|
157
|
+
* @param paramValues - An array of #GValues holding the arguments
|
|
158
|
+
* @param invocationHint - The invocation hint given as the last argument to
|
|
159
|
+
* @param marshalData - Additional data specified when registering the
|
|
160
|
+
*/
|
|
22
161
|
export declare const cclosureMarshal_VOID__INT: (closure: Closure, returnValue: Value, nParamValues: number, paramValues: Value, invocationHint?: number | null, marshalData?: number | null) => void;
|
|
162
|
+
/**
|
|
163
|
+
* A #GClosureMarshal function for use with signals with with a single
|
|
164
|
+
* long integer argument.
|
|
165
|
+
* @param closure - A #GClosure.
|
|
166
|
+
* @param returnValue - A #GValue to store the return value. May be %NULL
|
|
167
|
+
* @param nParamValues - The length of the `param_values` array.
|
|
168
|
+
* @param paramValues - An array of #GValues holding the arguments
|
|
169
|
+
* @param invocationHint - The invocation hint given as the last argument to
|
|
170
|
+
* @param marshalData - Additional data specified when registering the
|
|
171
|
+
*/
|
|
23
172
|
export declare const cclosureMarshal_VOID__LONG: (closure: Closure, returnValue: Value, nParamValues: number, paramValues: Value, invocationHint?: number | null, marshalData?: number | null) => void;
|
|
173
|
+
/**
|
|
174
|
+
* A #GClosureMarshal function for use with signals with a single
|
|
175
|
+
* #GObject argument.
|
|
176
|
+
* @param closure - A #GClosure.
|
|
177
|
+
* @param returnValue - A #GValue to store the return value. May be %NULL
|
|
178
|
+
* @param nParamValues - The length of the `param_values` array.
|
|
179
|
+
* @param paramValues - An array of #GValues holding the arguments
|
|
180
|
+
* @param invocationHint - The invocation hint given as the last argument to
|
|
181
|
+
* @param marshalData - Additional data specified when registering the
|
|
182
|
+
*/
|
|
24
183
|
export declare const cclosureMarshal_VOID__OBJECT: (closure: Closure, returnValue: Value, nParamValues: number, paramValues: Value, invocationHint?: number | null, marshalData?: number | null) => void;
|
|
184
|
+
/**
|
|
185
|
+
* A #GClosureMarshal function for use with signals with a single
|
|
186
|
+
* argument of type #GParamSpec.
|
|
187
|
+
* @param closure - A #GClosure.
|
|
188
|
+
* @param returnValue - A #GValue to store the return value. May be %NULL
|
|
189
|
+
* @param nParamValues - The length of the `param_values` array.
|
|
190
|
+
* @param paramValues - An array of #GValues holding the arguments
|
|
191
|
+
* @param invocationHint - The invocation hint given as the last argument to
|
|
192
|
+
* @param marshalData - Additional data specified when registering the
|
|
193
|
+
*/
|
|
25
194
|
export declare const cclosureMarshal_VOID__PARAM: (closure: Closure, returnValue: Value, nParamValues: number, paramValues: Value, invocationHint?: number | null, marshalData?: number | null) => void;
|
|
195
|
+
/**
|
|
196
|
+
* A #GClosureMarshal function for use with signals with a single raw
|
|
197
|
+
* pointer argument type.
|
|
198
|
+
*
|
|
199
|
+
* If it is possible, it is better to use one of the more specific
|
|
200
|
+
* functions such as g_cclosure_marshal_VOID__OBJECT() or
|
|
201
|
+
* g_cclosure_marshal_VOID__OBJECT().
|
|
202
|
+
* @param closure - A #GClosure.
|
|
203
|
+
* @param returnValue - A #GValue to store the return value. May be %NULL
|
|
204
|
+
* @param nParamValues - The length of the `param_values` array.
|
|
205
|
+
* @param paramValues - An array of #GValues holding the arguments
|
|
206
|
+
* @param invocationHint - The invocation hint given as the last argument to
|
|
207
|
+
* @param marshalData - Additional data specified when registering the
|
|
208
|
+
*/
|
|
26
209
|
export declare const cclosureMarshal_VOID__POINTER: (closure: Closure, returnValue: Value, nParamValues: number, paramValues: Value, invocationHint?: number | null, marshalData?: number | null) => void;
|
|
210
|
+
/**
|
|
211
|
+
* A #GClosureMarshal function for use with signals with a single string
|
|
212
|
+
* argument.
|
|
213
|
+
* @param closure - A #GClosure.
|
|
214
|
+
* @param returnValue - A #GValue to store the return value. May be %NULL
|
|
215
|
+
* @param nParamValues - The length of the `param_values` array.
|
|
216
|
+
* @param paramValues - An array of #GValues holding the arguments
|
|
217
|
+
* @param invocationHint - The invocation hint given as the last argument to
|
|
218
|
+
* @param marshalData - Additional data specified when registering the
|
|
219
|
+
*/
|
|
27
220
|
export declare const cclosureMarshal_VOID__STRING: (closure: Closure, returnValue: Value, nParamValues: number, paramValues: Value, invocationHint?: number | null, marshalData?: number | null) => void;
|
|
221
|
+
/**
|
|
222
|
+
* A #GClosureMarshal function for use with signals with a single
|
|
223
|
+
* unsigned character argument.
|
|
224
|
+
* @param closure - A #GClosure.
|
|
225
|
+
* @param returnValue - A #GValue to store the return value. May be %NULL
|
|
226
|
+
* @param nParamValues - The length of the `param_values` array.
|
|
227
|
+
* @param paramValues - An array of #GValues holding the arguments
|
|
228
|
+
* @param invocationHint - The invocation hint given as the last argument to
|
|
229
|
+
* @param marshalData - Additional data specified when registering the
|
|
230
|
+
*/
|
|
28
231
|
export declare const cclosureMarshal_VOID__UCHAR: (closure: Closure, returnValue: Value, nParamValues: number, paramValues: Value, invocationHint?: number | null, marshalData?: number | null) => void;
|
|
232
|
+
/**
|
|
233
|
+
* A #GClosureMarshal function for use with signals with with a single
|
|
234
|
+
* unsigned integer argument.
|
|
235
|
+
* @param closure - A #GClosure.
|
|
236
|
+
* @param returnValue - A #GValue to store the return value. May be %NULL
|
|
237
|
+
* @param nParamValues - The length of the `param_values` array.
|
|
238
|
+
* @param paramValues - An array of #GValues holding the arguments
|
|
239
|
+
* @param invocationHint - The invocation hint given as the last argument to
|
|
240
|
+
* @param marshalData - Additional data specified when registering the
|
|
241
|
+
*/
|
|
29
242
|
export declare const cclosureMarshal_VOID__UINT: (closure: Closure, returnValue: Value, nParamValues: number, paramValues: Value, invocationHint?: number | null, marshalData?: number | null) => void;
|
|
243
|
+
/**
|
|
244
|
+
* A #GClosureMarshal function for use with signals with an unsigned int
|
|
245
|
+
* and a pointer as arguments.
|
|
246
|
+
* @param closure - A #GClosure.
|
|
247
|
+
* @param returnValue - A #GValue to store the return value. May be %NULL
|
|
248
|
+
* @param nParamValues - The length of the `param_values` array.
|
|
249
|
+
* @param paramValues - An array of #GValues holding the arguments
|
|
250
|
+
* @param invocationHint - The invocation hint given as the last argument to
|
|
251
|
+
* @param marshalData - Additional data specified when registering the
|
|
252
|
+
*/
|
|
30
253
|
export declare const cclosureMarshal_VOID__UINT_POINTER: (closure: Closure, returnValue: Value, nParamValues: number, paramValues: Value, invocationHint?: number | null, marshalData?: number | null) => void;
|
|
254
|
+
/**
|
|
255
|
+
* A #GClosureMarshal function for use with signals with a single
|
|
256
|
+
* unsigned long integer argument.
|
|
257
|
+
* @param closure - A #GClosure.
|
|
258
|
+
* @param returnValue - A #GValue to store the return value. May be %NULL
|
|
259
|
+
* @param nParamValues - The length of the `param_values` array.
|
|
260
|
+
* @param paramValues - An array of #GValues holding the arguments
|
|
261
|
+
* @param invocationHint - The invocation hint given as the last argument to
|
|
262
|
+
* @param marshalData - Additional data specified when registering the
|
|
263
|
+
*/
|
|
31
264
|
export declare const cclosureMarshal_VOID__ULONG: (closure: Closure, returnValue: Value, nParamValues: number, paramValues: Value, invocationHint?: number | null, marshalData?: number | null) => void;
|
|
265
|
+
/**
|
|
266
|
+
* A #GClosureMarshal function for use with signals with a single
|
|
267
|
+
* #GVariant argument.
|
|
268
|
+
* @param closure - A #GClosure.
|
|
269
|
+
* @param returnValue - A #GValue to store the return value. May be %NULL
|
|
270
|
+
* @param nParamValues - The length of the `param_values` array.
|
|
271
|
+
* @param paramValues - An array of #GValues holding the arguments
|
|
272
|
+
* @param invocationHint - The invocation hint given as the last argument to
|
|
273
|
+
* @param marshalData - Additional data specified when registering the
|
|
274
|
+
*/
|
|
32
275
|
export declare const cclosureMarshal_VOID__VARIANT: (closure: Closure, returnValue: Value, nParamValues: number, paramValues: Value, invocationHint?: number | null, marshalData?: number | null) => void;
|
|
276
|
+
/**
|
|
277
|
+
* A #GClosureMarshal function for use with signals with no arguments.
|
|
278
|
+
* @param closure - A #GClosure.
|
|
279
|
+
* @param returnValue - A #GValue to store the return value. May be %NULL
|
|
280
|
+
* @param nParamValues - The length of the `param_values` array.
|
|
281
|
+
* @param paramValues - An array of #GValues holding the arguments
|
|
282
|
+
* @param invocationHint - The invocation hint given as the last argument to
|
|
283
|
+
* @param marshalData - Additional data specified when registering the
|
|
284
|
+
*/
|
|
33
285
|
export declare const cclosureMarshal_VOID__VOID: (closure: Closure, returnValue: Value, nParamValues: number, paramValues: Value, invocationHint?: number | null, marshalData?: number | null) => void;
|
|
286
|
+
/**
|
|
287
|
+
* A generic marshaller function implemented via
|
|
288
|
+
* [libffi](http://sourceware.org/libffi/).
|
|
289
|
+
*
|
|
290
|
+
* Normally this function is not passed explicitly to g_signal_new(),
|
|
291
|
+
* but used automatically by GLib when specifying a %NULL marshaller.
|
|
292
|
+
* @param closure - A #GClosure.
|
|
293
|
+
* @param returnGvalue - A #GValue to store the return value. May be %NULL
|
|
294
|
+
* @param nParamValues - The length of the `param_values` array.
|
|
295
|
+
* @param paramValues - An array of #GValues holding the arguments
|
|
296
|
+
* @param invocationHint - The invocation hint given as the last argument to
|
|
297
|
+
* @param marshalData - Additional data specified when registering the
|
|
298
|
+
*/
|
|
34
299
|
export declare const cclosureMarshalGeneric: (closure: Closure, returnGvalue: Value, nParamValues: number, paramValues: Value, invocationHint?: number | null, marshalData?: number | null) => void;
|
|
300
|
+
/**
|
|
301
|
+
* Disconnects a handler from `instance` so it will not be called during
|
|
302
|
+
* any future or currently ongoing emissions of the signal it has been
|
|
303
|
+
* connected to. The `handler_id_ptr` is then set to zero, which is never a valid handler ID value (see g_signal_connect()).
|
|
304
|
+
*
|
|
305
|
+
* If the handler ID is 0 then this function does nothing.
|
|
306
|
+
*
|
|
307
|
+
* There is also a macro version of this function so that the code
|
|
308
|
+
* will be inlined.
|
|
309
|
+
* @param handlerIdPtr - A pointer to a handler ID (of type #gulong) of the handler to be disconnected.
|
|
310
|
+
* @param instance - The instance to remove the signal handler from.
|
|
311
|
+
*/
|
|
35
312
|
export declare const clearSignalHandler: (handlerIdPtr: number, instance: GObject) => void;
|
|
313
|
+
/**
|
|
314
|
+
* This function is meant to be called from the `complete_type_info`
|
|
315
|
+
* function of a #GTypePlugin implementation, as in the following
|
|
316
|
+
* example:
|
|
317
|
+
*
|
|
318
|
+
* |[<!-- language="C" -->
|
|
319
|
+
* static void
|
|
320
|
+
* my_enum_complete_type_info (GTypePlugin *plugin,
|
|
321
|
+
* GType g_type,
|
|
322
|
+
* GTypeInfo *info,
|
|
323
|
+
* GTypeValueTable *value_table)
|
|
324
|
+
* {
|
|
325
|
+
* static const GEnumValue values[] = {
|
|
326
|
+
* { MY_ENUM_FOO, "MY_ENUM_FOO", "foo" },
|
|
327
|
+
* { MY_ENUM_BAR, "MY_ENUM_BAR", "bar" },
|
|
328
|
+
* { 0, NULL, NULL }
|
|
329
|
+
* };
|
|
330
|
+
*
|
|
331
|
+
* g_enum_complete_type_info (type, info, values);
|
|
332
|
+
* }
|
|
333
|
+
* ]|
|
|
334
|
+
* @param gEnumType - the type identifier of the type being completed
|
|
335
|
+
* @param info - the #GTypeInfo struct to be filled in
|
|
336
|
+
* @param constValues - An array of #GEnumValue
|
|
337
|
+
*/
|
|
36
338
|
export declare const enumCompleteTypeInfo: (gEnumType: number, info: Ref<number>, constValues: number[]) => void;
|
|
339
|
+
/**
|
|
340
|
+
* Returns the #GEnumValue for a value.
|
|
341
|
+
* @param enumClass - a #GEnumClass
|
|
342
|
+
* @param value - the value to look up
|
|
343
|
+
*/
|
|
37
344
|
export declare const enumGetValue: (enumClass: number, value: number) => number | null;
|
|
345
|
+
/**
|
|
346
|
+
* Looks up a #GEnumValue by name.
|
|
347
|
+
* @param enumClass - a #GEnumClass
|
|
348
|
+
* @param name - the name to look up
|
|
349
|
+
*/
|
|
38
350
|
export declare const enumGetValueByName: (enumClass: number, name: string) => number | null;
|
|
351
|
+
/**
|
|
352
|
+
* Looks up a #GEnumValue by nickname.
|
|
353
|
+
* @param enumClass - a #GEnumClass
|
|
354
|
+
* @param nick - the nickname to look up
|
|
355
|
+
*/
|
|
39
356
|
export declare const enumGetValueByNick: (enumClass: number, nick: string) => number | null;
|
|
357
|
+
/**
|
|
358
|
+
* Registers a new static enumeration type with the name @name.
|
|
359
|
+
*
|
|
360
|
+
* It is normally more convenient to let [glib-mkenums][glib-mkenums],
|
|
361
|
+
* generate a my_enum_get_type() function from a usual C enumeration
|
|
362
|
+
* definition than to write one yourself using g_enum_register_static().
|
|
363
|
+
* @param name - A nul-terminated string used as the name of the new type.
|
|
364
|
+
* @param constStaticValues - An array of
|
|
365
|
+
*/
|
|
40
366
|
export declare const enumRegisterStatic: (name: string, constStaticValues: number[]) => number;
|
|
367
|
+
/**
|
|
368
|
+
* Pretty-prints `value` in the form of the enum’s name.
|
|
369
|
+
*
|
|
370
|
+
* This is intended to be used for debugging purposes. The format of the output
|
|
371
|
+
* may change in the future.
|
|
372
|
+
* @param gEnumType - the type identifier of a #GEnumClass type
|
|
373
|
+
* @param value - the value
|
|
374
|
+
*/
|
|
41
375
|
export declare const enumToString: (gEnumType: number, value: number) => string;
|
|
376
|
+
/**
|
|
377
|
+
* This function is meant to be called from the complete_type_info()
|
|
378
|
+
* function of a #GTypePlugin implementation, see the example for
|
|
379
|
+
* g_enum_complete_type_info() above.
|
|
380
|
+
* @param gFlagsType - the type identifier of the type being completed
|
|
381
|
+
* @param info - the #GTypeInfo struct to be filled in
|
|
382
|
+
* @param constValues - An array of #GFlagsValue
|
|
383
|
+
*/
|
|
42
384
|
export declare const flagsCompleteTypeInfo: (gFlagsType: number, info: Ref<number>, constValues: number[]) => void;
|
|
385
|
+
/**
|
|
386
|
+
* Returns the first #GFlagsValue which is set in @value.
|
|
387
|
+
* @param flagsClass - a #GFlagsClass
|
|
388
|
+
* @param value - the value
|
|
389
|
+
*/
|
|
43
390
|
export declare const flagsGetFirstValue: (flagsClass: number, value: number) => number | null;
|
|
391
|
+
/**
|
|
392
|
+
* Looks up a #GFlagsValue by name.
|
|
393
|
+
* @param flagsClass - a #GFlagsClass
|
|
394
|
+
* @param name - the name to look up
|
|
395
|
+
*/
|
|
44
396
|
export declare const flagsGetValueByName: (flagsClass: number, name: string) => number | null;
|
|
397
|
+
/**
|
|
398
|
+
* Looks up a #GFlagsValue by nickname.
|
|
399
|
+
* @param flagsClass - a #GFlagsClass
|
|
400
|
+
* @param nick - the nickname to look up
|
|
401
|
+
*/
|
|
45
402
|
export declare const flagsGetValueByNick: (flagsClass: number, nick: string) => number | null;
|
|
403
|
+
/**
|
|
404
|
+
* Registers a new static flags type with the name @name.
|
|
405
|
+
*
|
|
406
|
+
* It is normally more convenient to let [glib-mkenums][glib-mkenums]
|
|
407
|
+
* generate a my_flags_get_type() function from a usual C enumeration
|
|
408
|
+
* definition than to write one yourself using g_flags_register_static().
|
|
409
|
+
* @param name - A nul-terminated string used as the name of the new type.
|
|
410
|
+
* @param constStaticValues - An array of
|
|
411
|
+
*/
|
|
46
412
|
export declare const flagsRegisterStatic: (name: string, constStaticValues: number[]) => number;
|
|
413
|
+
/**
|
|
414
|
+
* Pretty-prints `value` in the form of the flag names separated by ` | ` and
|
|
415
|
+
* sorted. Any extra bits will be shown at the end as a hexadecimal number.
|
|
416
|
+
*
|
|
417
|
+
* This is intended to be used for debugging purposes. The format of the output
|
|
418
|
+
* may change in the future.
|
|
419
|
+
* @param flagsType - the type identifier of a #GFlagsClass type
|
|
420
|
+
* @param value - the value
|
|
421
|
+
*/
|
|
47
422
|
export declare const flagsToString: (flagsType: number, value: number) => string;
|
|
48
423
|
export declare const gtypeGetType: () => number;
|
|
424
|
+
/**
|
|
425
|
+
* Creates a new #GParamSpecBoolean instance specifying a %G_TYPE_BOOLEAN
|
|
426
|
+
* property. In many cases, it may be more appropriate to use an enum with
|
|
427
|
+
* g_param_spec_enum(), both to improve code clarity by using explicitly named
|
|
428
|
+
* values, and to allow for more values to be added in future without breaking
|
|
429
|
+
* API.
|
|
430
|
+
*
|
|
431
|
+
* See g_param_spec_internal() for details on property names.
|
|
432
|
+
* @param name - canonical name of the property specified
|
|
433
|
+
* @param nick - nick name for the property specified
|
|
434
|
+
* @param blurb - description of the property specified
|
|
435
|
+
* @param defaultValue - default value for the property specified
|
|
436
|
+
* @param flags - flags for the property specified
|
|
437
|
+
*/
|
|
49
438
|
export declare const paramSpecBoolean: (name: string, defaultValue: boolean, flags: ParamFlags, nick?: string | null, blurb?: string | null) => ParamSpec;
|
|
439
|
+
/**
|
|
440
|
+
* Creates a new #GParamSpecBoxed instance specifying a %G_TYPE_BOXED
|
|
441
|
+
* derived property.
|
|
442
|
+
*
|
|
443
|
+
* See g_param_spec_internal() for details on property names.
|
|
444
|
+
* @param name - canonical name of the property specified
|
|
445
|
+
* @param nick - nick name for the property specified
|
|
446
|
+
* @param blurb - description of the property specified
|
|
447
|
+
* @param boxedType - %G_TYPE_BOXED derived type of this property
|
|
448
|
+
* @param flags - flags for the property specified
|
|
449
|
+
*/
|
|
50
450
|
export declare const paramSpecBoxed: (name: string, boxedType: number, flags: ParamFlags, nick?: string | null, blurb?: string | null) => ParamSpec;
|
|
451
|
+
/**
|
|
452
|
+
* Creates a new #GParamSpecChar instance specifying a %G_TYPE_CHAR property.
|
|
453
|
+
* @param name - canonical name of the property specified
|
|
454
|
+
* @param nick - nick name for the property specified
|
|
455
|
+
* @param blurb - description of the property specified
|
|
456
|
+
* @param minimum - minimum value for the property specified
|
|
457
|
+
* @param maximum - maximum value for the property specified
|
|
458
|
+
* @param defaultValue - default value for the property specified
|
|
459
|
+
* @param flags - flags for the property specified
|
|
460
|
+
*/
|
|
51
461
|
export declare const paramSpecChar: (name: string, minimum: number, maximum: number, defaultValue: number, flags: ParamFlags, nick?: string | null, blurb?: string | null) => ParamSpec;
|
|
462
|
+
/**
|
|
463
|
+
* Creates a new #GParamSpecDouble instance specifying a %G_TYPE_DOUBLE
|
|
464
|
+
* property.
|
|
465
|
+
*
|
|
466
|
+
* See g_param_spec_internal() for details on property names.
|
|
467
|
+
* @param name - canonical name of the property specified
|
|
468
|
+
* @param nick - nick name for the property specified
|
|
469
|
+
* @param blurb - description of the property specified
|
|
470
|
+
* @param minimum - minimum value for the property specified
|
|
471
|
+
* @param maximum - maximum value for the property specified
|
|
472
|
+
* @param defaultValue - default value for the property specified
|
|
473
|
+
* @param flags - flags for the property specified
|
|
474
|
+
*/
|
|
52
475
|
export declare const paramSpecDouble: (name: string, minimum: number, maximum: number, defaultValue: number, flags: ParamFlags, nick?: string | null, blurb?: string | null) => ParamSpec;
|
|
476
|
+
/**
|
|
477
|
+
* Creates a new #GParamSpecEnum instance specifying a %G_TYPE_ENUM
|
|
478
|
+
* property.
|
|
479
|
+
*
|
|
480
|
+
* See g_param_spec_internal() for details on property names.
|
|
481
|
+
* @param name - canonical name of the property specified
|
|
482
|
+
* @param nick - nick name for the property specified
|
|
483
|
+
* @param blurb - description of the property specified
|
|
484
|
+
* @param enumType - a #GType derived from %G_TYPE_ENUM
|
|
485
|
+
* @param defaultValue - default value for the property specified
|
|
486
|
+
* @param flags - flags for the property specified
|
|
487
|
+
*/
|
|
53
488
|
export declare const paramSpecEnum: (name: string, enumType: number, defaultValue: number, flags: ParamFlags, nick?: string | null, blurb?: string | null) => ParamSpec;
|
|
489
|
+
/**
|
|
490
|
+
* Creates a new #GParamSpecFlags instance specifying a %G_TYPE_FLAGS
|
|
491
|
+
* property.
|
|
492
|
+
*
|
|
493
|
+
* See g_param_spec_internal() for details on property names.
|
|
494
|
+
* @param name - canonical name of the property specified
|
|
495
|
+
* @param nick - nick name for the property specified
|
|
496
|
+
* @param blurb - description of the property specified
|
|
497
|
+
* @param flagsType - a #GType derived from %G_TYPE_FLAGS
|
|
498
|
+
* @param defaultValue - default value for the property specified
|
|
499
|
+
* @param flags - flags for the property specified
|
|
500
|
+
*/
|
|
54
501
|
export declare const paramSpecFlags: (name: string, flagsType: number, defaultValue: number, flags: ParamFlags, nick?: string | null, blurb?: string | null) => ParamSpec;
|
|
502
|
+
/**
|
|
503
|
+
* Creates a new #GParamSpecFloat instance specifying a %G_TYPE_FLOAT property.
|
|
504
|
+
*
|
|
505
|
+
* See g_param_spec_internal() for details on property names.
|
|
506
|
+
* @param name - canonical name of the property specified
|
|
507
|
+
* @param nick - nick name for the property specified
|
|
508
|
+
* @param blurb - description of the property specified
|
|
509
|
+
* @param minimum - minimum value for the property specified
|
|
510
|
+
* @param maximum - maximum value for the property specified
|
|
511
|
+
* @param defaultValue - default value for the property specified
|
|
512
|
+
* @param flags - flags for the property specified
|
|
513
|
+
*/
|
|
55
514
|
export declare const paramSpecFloat: (name: string, minimum: number, maximum: number, defaultValue: number, flags: ParamFlags, nick?: string | null, blurb?: string | null) => ParamSpec;
|
|
515
|
+
/**
|
|
516
|
+
* Creates a new #GParamSpecGType instance specifying a
|
|
517
|
+
* %G_TYPE_GTYPE property.
|
|
518
|
+
*
|
|
519
|
+
* See g_param_spec_internal() for details on property names.
|
|
520
|
+
* @param name - canonical name of the property specified
|
|
521
|
+
* @param nick - nick name for the property specified
|
|
522
|
+
* @param blurb - description of the property specified
|
|
523
|
+
* @param isAType - a #GType whose subtypes are allowed as values
|
|
524
|
+
* @param flags - flags for the property specified
|
|
525
|
+
*/
|
|
56
526
|
export declare const paramSpecGtype: (name: string, isAType: number, flags: ParamFlags, nick?: string | null, blurb?: string | null) => ParamSpec;
|
|
527
|
+
/**
|
|
528
|
+
* Creates a new #GParamSpecInt instance specifying a %G_TYPE_INT property.
|
|
529
|
+
*
|
|
530
|
+
* See g_param_spec_internal() for details on property names.
|
|
531
|
+
* @param name - canonical name of the property specified
|
|
532
|
+
* @param nick - nick name for the property specified
|
|
533
|
+
* @param blurb - description of the property specified
|
|
534
|
+
* @param minimum - minimum value for the property specified
|
|
535
|
+
* @param maximum - maximum value for the property specified
|
|
536
|
+
* @param defaultValue - default value for the property specified
|
|
537
|
+
* @param flags - flags for the property specified
|
|
538
|
+
*/
|
|
57
539
|
export declare const paramSpecInt: (name: string, minimum: number, maximum: number, defaultValue: number, flags: ParamFlags, nick?: string | null, blurb?: string | null) => ParamSpec;
|
|
540
|
+
/**
|
|
541
|
+
* Creates a new #GParamSpecInt64 instance specifying a %G_TYPE_INT64 property.
|
|
542
|
+
*
|
|
543
|
+
* See g_param_spec_internal() for details on property names.
|
|
544
|
+
* @param name - canonical name of the property specified
|
|
545
|
+
* @param nick - nick name for the property specified
|
|
546
|
+
* @param blurb - description of the property specified
|
|
547
|
+
* @param minimum - minimum value for the property specified
|
|
548
|
+
* @param maximum - maximum value for the property specified
|
|
549
|
+
* @param defaultValue - default value for the property specified
|
|
550
|
+
* @param flags - flags for the property specified
|
|
551
|
+
*/
|
|
58
552
|
export declare const paramSpecInt64: (name: string, minimum: number, maximum: number, defaultValue: number, flags: ParamFlags, nick?: string | null, blurb?: string | null) => ParamSpec;
|
|
553
|
+
/**
|
|
554
|
+
* Creates a new #GParamSpecLong instance specifying a %G_TYPE_LONG property.
|
|
555
|
+
*
|
|
556
|
+
* See g_param_spec_internal() for details on property names.
|
|
557
|
+
* @param name - canonical name of the property specified
|
|
558
|
+
* @param nick - nick name for the property specified
|
|
559
|
+
* @param blurb - description of the property specified
|
|
560
|
+
* @param minimum - minimum value for the property specified
|
|
561
|
+
* @param maximum - maximum value for the property specified
|
|
562
|
+
* @param defaultValue - default value for the property specified
|
|
563
|
+
* @param flags - flags for the property specified
|
|
564
|
+
*/
|
|
59
565
|
export declare const paramSpecLong: (name: string, minimum: number, maximum: number, defaultValue: number, flags: ParamFlags, nick?: string | null, blurb?: string | null) => ParamSpec;
|
|
566
|
+
/**
|
|
567
|
+
* Creates a new #GParamSpecBoxed instance specifying a %G_TYPE_OBJECT
|
|
568
|
+
* derived property.
|
|
569
|
+
*
|
|
570
|
+
* See g_param_spec_internal() for details on property names.
|
|
571
|
+
* @param name - canonical name of the property specified
|
|
572
|
+
* @param nick - nick name for the property specified
|
|
573
|
+
* @param blurb - description of the property specified
|
|
574
|
+
* @param objectType - %G_TYPE_OBJECT derived type of this property
|
|
575
|
+
* @param flags - flags for the property specified
|
|
576
|
+
*/
|
|
60
577
|
export declare const paramSpecObject: (name: string, objectType: number, flags: ParamFlags, nick?: string | null, blurb?: string | null) => ParamSpec;
|
|
578
|
+
/**
|
|
579
|
+
* Creates a new #GParamSpecParam instance specifying a %G_TYPE_PARAM
|
|
580
|
+
* property.
|
|
581
|
+
*
|
|
582
|
+
* See g_param_spec_internal() for details on property names.
|
|
583
|
+
* @param name - canonical name of the property specified
|
|
584
|
+
* @param nick - nick name for the property specified
|
|
585
|
+
* @param blurb - description of the property specified
|
|
586
|
+
* @param paramType - a #GType derived from %G_TYPE_PARAM
|
|
587
|
+
* @param flags - flags for the property specified
|
|
588
|
+
*/
|
|
61
589
|
export declare const paramSpecParam: (name: string, paramType: number, flags: ParamFlags, nick?: string | null, blurb?: string | null) => ParamSpec;
|
|
590
|
+
/**
|
|
591
|
+
* Creates a new #GParamSpecPointer instance specifying a pointer property.
|
|
592
|
+
* Where possible, it is better to use g_param_spec_object() or
|
|
593
|
+
* g_param_spec_boxed() to expose memory management information.
|
|
594
|
+
*
|
|
595
|
+
* See g_param_spec_internal() for details on property names.
|
|
596
|
+
* @param name - canonical name of the property specified
|
|
597
|
+
* @param nick - nick name for the property specified
|
|
598
|
+
* @param blurb - description of the property specified
|
|
599
|
+
* @param flags - flags for the property specified
|
|
600
|
+
*/
|
|
62
601
|
export declare const paramSpecPointer: (name: string, flags: ParamFlags, nick?: string | null, blurb?: string | null) => ParamSpec;
|
|
602
|
+
/**
|
|
603
|
+
* Creates a new #GParamSpecString instance.
|
|
604
|
+
*
|
|
605
|
+
* See g_param_spec_internal() for details on property names.
|
|
606
|
+
* @param name - canonical name of the property specified
|
|
607
|
+
* @param nick - nick name for the property specified
|
|
608
|
+
* @param blurb - description of the property specified
|
|
609
|
+
* @param defaultValue - default value for the property specified
|
|
610
|
+
* @param flags - flags for the property specified
|
|
611
|
+
*/
|
|
63
612
|
export declare const paramSpecString: (name: string, flags: ParamFlags, nick?: string | null, blurb?: string | null, defaultValue?: string | null) => ParamSpec;
|
|
613
|
+
/**
|
|
614
|
+
* Creates a new #GParamSpecUChar instance specifying a %G_TYPE_UCHAR property.
|
|
615
|
+
* @param name - canonical name of the property specified
|
|
616
|
+
* @param nick - nick name for the property specified
|
|
617
|
+
* @param blurb - description of the property specified
|
|
618
|
+
* @param minimum - minimum value for the property specified
|
|
619
|
+
* @param maximum - maximum value for the property specified
|
|
620
|
+
* @param defaultValue - default value for the property specified
|
|
621
|
+
* @param flags - flags for the property specified
|
|
622
|
+
*/
|
|
64
623
|
export declare const paramSpecUchar: (name: string, minimum: number, maximum: number, defaultValue: number, flags: ParamFlags, nick?: string | null, blurb?: string | null) => ParamSpec;
|
|
624
|
+
/**
|
|
625
|
+
* Creates a new #GParamSpecUInt instance specifying a %G_TYPE_UINT property.
|
|
626
|
+
*
|
|
627
|
+
* See g_param_spec_internal() for details on property names.
|
|
628
|
+
* @param name - canonical name of the property specified
|
|
629
|
+
* @param nick - nick name for the property specified
|
|
630
|
+
* @param blurb - description of the property specified
|
|
631
|
+
* @param minimum - minimum value for the property specified
|
|
632
|
+
* @param maximum - maximum value for the property specified
|
|
633
|
+
* @param defaultValue - default value for the property specified
|
|
634
|
+
* @param flags - flags for the property specified
|
|
635
|
+
*/
|
|
65
636
|
export declare const paramSpecUint: (name: string, minimum: number, maximum: number, defaultValue: number, flags: ParamFlags, nick?: string | null, blurb?: string | null) => ParamSpec;
|
|
637
|
+
/**
|
|
638
|
+
* Creates a new #GParamSpecUInt64 instance specifying a %G_TYPE_UINT64
|
|
639
|
+
* property.
|
|
640
|
+
*
|
|
641
|
+
* See g_param_spec_internal() for details on property names.
|
|
642
|
+
* @param name - canonical name of the property specified
|
|
643
|
+
* @param nick - nick name for the property specified
|
|
644
|
+
* @param blurb - description of the property specified
|
|
645
|
+
* @param minimum - minimum value for the property specified
|
|
646
|
+
* @param maximum - maximum value for the property specified
|
|
647
|
+
* @param defaultValue - default value for the property specified
|
|
648
|
+
* @param flags - flags for the property specified
|
|
649
|
+
*/
|
|
66
650
|
export declare const paramSpecUint64: (name: string, minimum: number, maximum: number, defaultValue: number, flags: ParamFlags, nick?: string | null, blurb?: string | null) => ParamSpec;
|
|
651
|
+
/**
|
|
652
|
+
* Creates a new #GParamSpecULong instance specifying a %G_TYPE_ULONG
|
|
653
|
+
* property.
|
|
654
|
+
*
|
|
655
|
+
* See g_param_spec_internal() for details on property names.
|
|
656
|
+
* @param name - canonical name of the property specified
|
|
657
|
+
* @param nick - nick name for the property specified
|
|
658
|
+
* @param blurb - description of the property specified
|
|
659
|
+
* @param minimum - minimum value for the property specified
|
|
660
|
+
* @param maximum - maximum value for the property specified
|
|
661
|
+
* @param defaultValue - default value for the property specified
|
|
662
|
+
* @param flags - flags for the property specified
|
|
663
|
+
*/
|
|
67
664
|
export declare const paramSpecUlong: (name: string, minimum: number, maximum: number, defaultValue: number, flags: ParamFlags, nick?: string | null, blurb?: string | null) => ParamSpec;
|
|
665
|
+
/**
|
|
666
|
+
* Creates a new #GParamSpecUnichar instance specifying a %G_TYPE_UINT
|
|
667
|
+
* property. #GValue structures for this property can be accessed with
|
|
668
|
+
* g_value_set_uint() and g_value_get_uint().
|
|
669
|
+
*
|
|
670
|
+
* See g_param_spec_internal() for details on property names.
|
|
671
|
+
* @param name - canonical name of the property specified
|
|
672
|
+
* @param nick - nick name for the property specified
|
|
673
|
+
* @param blurb - description of the property specified
|
|
674
|
+
* @param defaultValue - default value for the property specified
|
|
675
|
+
* @param flags - flags for the property specified
|
|
676
|
+
*/
|
|
68
677
|
export declare const paramSpecUnichar: (name: string, defaultValue: number, flags: ParamFlags, nick?: string | null, blurb?: string | null) => ParamSpec;
|
|
678
|
+
/**
|
|
679
|
+
* Creates a new #GParamSpecVariant instance specifying a #GVariant
|
|
680
|
+
* property.
|
|
681
|
+
*
|
|
682
|
+
* If `default_value` is floating, it is consumed.
|
|
683
|
+
*
|
|
684
|
+
* See g_param_spec_internal() for details on property names.
|
|
685
|
+
* @param name - canonical name of the property specified
|
|
686
|
+
* @param nick - nick name for the property specified
|
|
687
|
+
* @param blurb - description of the property specified
|
|
688
|
+
* @param type - a #GVariantType
|
|
689
|
+
* @param defaultValue - a #GVariant of type `type` to
|
|
690
|
+
* @param flags - flags for the property specified
|
|
691
|
+
*/
|
|
69
692
|
export declare const paramSpecVariant: (name: string, type: GLib.VariantType, flags: ParamFlags, nick?: string | null, blurb?: string | null, defaultValue?: GLib.Variant | null) => ParamSpec;
|
|
693
|
+
/**
|
|
694
|
+
* Registers `name` as the name of a new static type derived
|
|
695
|
+
* from %G_TYPE_PARAM.
|
|
696
|
+
*
|
|
697
|
+
* The type system uses the information contained in the #GParamSpecTypeInfo
|
|
698
|
+
* structure pointed to by `info` to manage the #GParamSpec type and its
|
|
699
|
+
* instances.
|
|
700
|
+
* @param name - 0-terminated string used as the name of the new #GParamSpec type.
|
|
701
|
+
* @param pspecInfo - The #GParamSpecTypeInfo for this #GParamSpec type.
|
|
702
|
+
*/
|
|
70
703
|
export declare const paramTypeRegisterStatic: (name: string, pspecInfo: number) => number;
|
|
704
|
+
/**
|
|
705
|
+
* Transforms `src_value` into `dest_value` if possible, and then
|
|
706
|
+
* validates @dest_value, in order for it to conform to @pspec. If
|
|
707
|
+
* `strict_validation` is %TRUE this function will only succeed if the
|
|
708
|
+
* transformed `dest_value` complied to `pspec` without modifications.
|
|
709
|
+
*
|
|
710
|
+
* See also g_value_type_transformable(), g_value_transform() and
|
|
711
|
+
* g_param_value_validate().
|
|
712
|
+
* @param pspec - a valid #GParamSpec
|
|
713
|
+
* @param srcValue - source #GValue
|
|
714
|
+
* @param destValue - destination #GValue of correct type for @pspec
|
|
715
|
+
* @param strictValidation - %TRUE requires `dest_value` to conform to `pspec` without modifications
|
|
716
|
+
*/
|
|
71
717
|
export declare const paramValueConvert: (pspec: ParamSpec, srcValue: Value, destValue: Value, strictValidation: boolean) => boolean;
|
|
718
|
+
/**
|
|
719
|
+
* Checks whether `value` contains the default value as specified in @pspec.
|
|
720
|
+
* @param pspec - a valid #GParamSpec
|
|
721
|
+
* @param value - a #GValue of correct type for @pspec
|
|
722
|
+
*/
|
|
72
723
|
export declare const paramValueDefaults: (pspec: ParamSpec, value: Value) => boolean;
|
|
724
|
+
/**
|
|
725
|
+
* Return whether the contents of `value` comply with the specifications
|
|
726
|
+
* set out by @pspec.
|
|
727
|
+
* @param pspec - a valid #GParamSpec
|
|
728
|
+
* @param value - a #GValue of correct type for @pspec
|
|
729
|
+
*/
|
|
73
730
|
export declare const paramValueIsValid: (pspec: ParamSpec, value: Value) => boolean;
|
|
731
|
+
/**
|
|
732
|
+
* Sets `value` to its default value as specified in @pspec.
|
|
733
|
+
* @param pspec - a valid #GParamSpec
|
|
734
|
+
* @param value - a #GValue of correct type for @pspec; since 2.64, you
|
|
735
|
+
*/
|
|
74
736
|
export declare const paramValueSetDefault: (pspec: ParamSpec, value: Value) => void;
|
|
737
|
+
/**
|
|
738
|
+
* Ensures that the contents of `value` comply with the specifications
|
|
739
|
+
* set out by @pspec. For example, a #GParamSpecInt might require
|
|
740
|
+
* that integers stored in `value` may not be smaller than -42 and not be
|
|
741
|
+
* greater than +42. If `value` contains an integer outside of this range,
|
|
742
|
+
* it is modified accordingly, so the resulting value will fit into the
|
|
743
|
+
* range -42 .. +42.
|
|
744
|
+
* @param pspec - a valid #GParamSpec
|
|
745
|
+
* @param value - a #GValue of correct type for @pspec
|
|
746
|
+
*/
|
|
75
747
|
export declare const paramValueValidate: (pspec: ParamSpec, value: Value) => boolean;
|
|
748
|
+
/**
|
|
749
|
+
* Compares `value1` with `value2` according to @pspec, and return -1, 0 or +1,
|
|
750
|
+
* if `value1` is found to be less than, equal to or greater than @value2,
|
|
751
|
+
* respectively.
|
|
752
|
+
* @param pspec - a valid #GParamSpec
|
|
753
|
+
* @param value1 - a #GValue of correct type for @pspec
|
|
754
|
+
* @param value2 - a #GValue of correct type for @pspec
|
|
755
|
+
*/
|
|
76
756
|
export declare const paramValuesCmp: (pspec: ParamSpec, value1: Value, value2: Value) => number;
|
|
757
|
+
/**
|
|
758
|
+
* Creates a new %G_TYPE_POINTER derived type id for a new
|
|
759
|
+
* pointer type with name @name.
|
|
760
|
+
* @param name - the name of the new pointer type.
|
|
761
|
+
*/
|
|
77
762
|
export declare const pointerTypeRegisterStatic: (name: string) => number;
|
|
763
|
+
/**
|
|
764
|
+
* A predefined #GSignalAccumulator for signals intended to be used as a
|
|
765
|
+
* hook for application code to provide a particular value. Usually
|
|
766
|
+
* only one such value is desired and multiple handlers for the same
|
|
767
|
+
* signal don't make much sense (except for the case of the default
|
|
768
|
+
* handler defined in the class structure, in which case you will
|
|
769
|
+
* usually want the signal connection to override the class handler).
|
|
770
|
+
*
|
|
771
|
+
* This accumulator will use the return value from the first signal
|
|
772
|
+
* handler that is run as the return value for the signal and not run
|
|
773
|
+
* any further handlers (ie: the first handler "wins").
|
|
774
|
+
* @param ihint - standard #GSignalAccumulator parameter
|
|
775
|
+
* @param returnAccu - standard #GSignalAccumulator parameter
|
|
776
|
+
* @param handlerReturn - standard #GSignalAccumulator parameter
|
|
777
|
+
* @param dummy - standard #GSignalAccumulator parameter
|
|
778
|
+
*/
|
|
78
779
|
export declare const signalAccumulatorFirstWins: (ihint: number, returnAccu: Value, handlerReturn: Value, dummy?: number | null) => boolean;
|
|
780
|
+
/**
|
|
781
|
+
* A predefined #GSignalAccumulator for signals that return a
|
|
782
|
+
* boolean values. The behavior that this accumulator gives is
|
|
783
|
+
* that a return of %TRUE stops the signal emission: no further
|
|
784
|
+
* callbacks will be invoked, while a return of %FALSE allows
|
|
785
|
+
* the emission to continue. The idea here is that a %TRUE return
|
|
786
|
+
* indicates that the callback handled the signal, and no further
|
|
787
|
+
* handling is needed.
|
|
788
|
+
* @param ihint - standard #GSignalAccumulator parameter
|
|
789
|
+
* @param returnAccu - standard #GSignalAccumulator parameter
|
|
790
|
+
* @param handlerReturn - standard #GSignalAccumulator parameter
|
|
791
|
+
* @param dummy - standard #GSignalAccumulator parameter
|
|
792
|
+
*/
|
|
79
793
|
export declare const signalAccumulatorTrueHandled: (ihint: number, returnAccu: Value, handlerReturn: Value, dummy?: number | null) => boolean;
|
|
794
|
+
/**
|
|
795
|
+
* Adds an emission hook for a signal, which will get called for any emission
|
|
796
|
+
* of that signal, independent of the instance. This is possible only
|
|
797
|
+
* for signals which don't have %G_SIGNAL_NO_HOOKS flag set.
|
|
798
|
+
* @param signalId - the signal identifier, as returned by g_signal_lookup().
|
|
799
|
+
* @param detail - the detail on which to call the hook.
|
|
800
|
+
* @param hookFunc - a #GSignalEmissionHook function.
|
|
801
|
+
* @param hookData - user data for @hook_func.
|
|
802
|
+
* @param dataDestroy - a #GDestroyNotify for @hook_data.
|
|
803
|
+
*/
|
|
80
804
|
export declare const signalAddEmissionHook: (signalId: number, detail: number, hookFunc: (...args: unknown[]) => unknown, hookData?: number | null, dataDestroy?: () => void | null) => number;
|
|
805
|
+
/**
|
|
806
|
+
* Calls the original class closure of a signal. This function should only
|
|
807
|
+
* be called from an overridden class closure; see
|
|
808
|
+
* g_signal_override_class_closure() and
|
|
809
|
+
* g_signal_override_class_handler().
|
|
810
|
+
* @param instanceAndParams - the argument list of the signal emission.
|
|
811
|
+
* @param returnValue - Location for the return value.
|
|
812
|
+
*/
|
|
81
813
|
export declare const signalChainFromOverridden: (instanceAndParams: Value[], returnValue: Value) => void;
|
|
814
|
+
/**
|
|
815
|
+
* Connects a closure to a signal for a particular object.
|
|
816
|
+
*
|
|
817
|
+
* If `closure` is a floating reference (see g_closure_sink()), this function
|
|
818
|
+
* takes ownership of @closure.
|
|
819
|
+
*
|
|
820
|
+
* This function cannot fail. If the given signal name doesn’t exist,
|
|
821
|
+
* a critical warning is emitted. No validation is performed on the
|
|
822
|
+
* ‘detail’ string when specified in @detailed_signal, other than a
|
|
823
|
+
* non-empty check.
|
|
824
|
+
*
|
|
825
|
+
* Refer to the signals documentation for more
|
|
826
|
+
* details.
|
|
827
|
+
* @param instance - the instance to connect to.
|
|
828
|
+
* @param detailedSignal - a string of the form "signal-name::detail".
|
|
829
|
+
* @param closure - the closure to connect.
|
|
830
|
+
* @param after - whether the handler should be called before or after the
|
|
831
|
+
*/
|
|
82
832
|
export declare const signalConnectClosure: (instance: GObject, detailedSignal: string, closure: Closure, after: boolean) => number;
|
|
833
|
+
/**
|
|
834
|
+
* Connects a closure to a signal for a particular object.
|
|
835
|
+
*
|
|
836
|
+
* If `closure` is a floating reference (see g_closure_sink()), this function
|
|
837
|
+
* takes ownership of @closure.
|
|
838
|
+
*
|
|
839
|
+
* This function cannot fail. If the given signal name doesn’t exist,
|
|
840
|
+
* a critical warning is emitted. No validation is performed on the
|
|
841
|
+
* ‘detail’ string when specified in @detailed_signal, other than a
|
|
842
|
+
* non-empty check.
|
|
843
|
+
*
|
|
844
|
+
* Refer to the signals documentation for more
|
|
845
|
+
* details.
|
|
846
|
+
* @param instance - the instance to connect to.
|
|
847
|
+
* @param signalId - the id of the signal.
|
|
848
|
+
* @param detail - the detail.
|
|
849
|
+
* @param closure - the closure to connect.
|
|
850
|
+
* @param after - whether the handler should be called before or after the
|
|
851
|
+
*/
|
|
83
852
|
export declare const signalConnectClosureById: (instance: GObject, signalId: number, detail: number, closure: Closure, after: boolean) => number;
|
|
853
|
+
/**
|
|
854
|
+
* Emits a signal. Signal emission is done synchronously.
|
|
855
|
+
* The method will only return control after all handlers are called or signal emission was stopped.
|
|
856
|
+
*
|
|
857
|
+
* Note that g_signal_emitv() doesn't change `return_value` if no handlers are
|
|
858
|
+
* connected, in contrast to g_signal_emit() and g_signal_emit_valist().
|
|
859
|
+
* @param instanceAndParams - argument list for the signal emission.
|
|
860
|
+
* @param signalId - the signal id
|
|
861
|
+
* @param detail - the detail
|
|
862
|
+
* @param returnValue - Location to
|
|
863
|
+
*/
|
|
84
864
|
export declare const signalEmitv: (instanceAndParams: Value[], signalId: number, detail: number, returnValue: Ref<Value>) => void;
|
|
865
|
+
/**
|
|
866
|
+
* Returns the invocation hint of the innermost signal emission of instance.
|
|
867
|
+
* @param instance - the instance to query
|
|
868
|
+
*/
|
|
85
869
|
export declare const signalGetInvocationHint: (instance: GObject) => number | null;
|
|
870
|
+
/**
|
|
871
|
+
* Blocks a handler of an instance so it will not be called during any
|
|
872
|
+
* signal emissions unless it is unblocked again. Thus "blocking" a
|
|
873
|
+
* signal handler means to temporarily deactivate it, a signal handler
|
|
874
|
+
* has to be unblocked exactly the same amount of times it has been
|
|
875
|
+
* blocked before to become active again.
|
|
876
|
+
*
|
|
877
|
+
* The `handler_id` has to be a valid signal handler id, connected to a
|
|
878
|
+
* signal of @instance.
|
|
879
|
+
* @param instance - The instance to block the signal handler of.
|
|
880
|
+
* @param handlerId - Handler id of the handler to be blocked.
|
|
881
|
+
*/
|
|
86
882
|
export declare const signalHandlerBlock: (instance: GObject, handlerId: number) => void;
|
|
883
|
+
/**
|
|
884
|
+
* Disconnects a handler from an instance so it will not be called during
|
|
885
|
+
* any future or currently ongoing emissions of the signal it has been
|
|
886
|
+
* connected to. The `handler_id` becomes invalid and may be reused.
|
|
887
|
+
*
|
|
888
|
+
* The `handler_id` has to be a valid signal handler id, connected to a
|
|
889
|
+
* signal of @instance.
|
|
890
|
+
* @param instance - The instance to remove the signal handler from.
|
|
891
|
+
* @param handlerId - Handler id of the handler to be disconnected.
|
|
892
|
+
*/
|
|
87
893
|
export declare const signalHandlerDisconnect: (instance: GObject, handlerId: number) => void;
|
|
894
|
+
/**
|
|
895
|
+
* Finds the first signal handler that matches certain selection criteria.
|
|
896
|
+
* The criteria mask is passed as an OR-ed combination of #GSignalMatchType
|
|
897
|
+
* flags, and the criteria values are passed as arguments.
|
|
898
|
+
* The match `mask` has to be non-0 for successful matches.
|
|
899
|
+
* If no handler was found, 0 is returned.
|
|
900
|
+
* @param instance - The instance owning the signal handler to be found.
|
|
901
|
+
* @param mask - Mask indicating which of @signal_id, @detail, @closure, `func` and/or `data` the handler has to match.
|
|
902
|
+
* @param signalId - Signal the handler has to be connected to.
|
|
903
|
+
* @param detail - Signal detail the handler has to be connected to.
|
|
904
|
+
* @param closure - The closure the handler will invoke.
|
|
905
|
+
* @param func - The C closure callback of the handler (useless for non-C closures).
|
|
906
|
+
* @param data - The closure data of the handler's closure.
|
|
907
|
+
*/
|
|
88
908
|
export declare const signalHandlerFind: (instance: GObject, mask: SignalMatchType, signalId: number, detail: number, closure?: Closure | null, func?: number | null, data?: number | null) => number;
|
|
909
|
+
/**
|
|
910
|
+
* Returns whether `handler_id` is the ID of a handler connected to @instance.
|
|
911
|
+
* @param instance - The instance where a signal handler is sought.
|
|
912
|
+
* @param handlerId - the handler ID.
|
|
913
|
+
*/
|
|
89
914
|
export declare const signalHandlerIsConnected: (instance: GObject, handlerId: number) => boolean;
|
|
915
|
+
/**
|
|
916
|
+
* Undoes the effect of a previous g_signal_handler_block() call. A
|
|
917
|
+
* blocked handler is skipped during signal emissions and will not be
|
|
918
|
+
* invoked, unblocking it (for exactly the amount of times it has been
|
|
919
|
+
* blocked before) reverts its "blocked" state, so the handler will be
|
|
920
|
+
* recognized by the signal system and is called upon future or
|
|
921
|
+
* currently ongoing signal emissions (since the order in which
|
|
922
|
+
* handlers are called during signal emissions is deterministic,
|
|
923
|
+
* whether the unblocked handler in question is called as part of a
|
|
924
|
+
* currently ongoing emission depends on how far that emission has
|
|
925
|
+
* proceeded yet).
|
|
926
|
+
*
|
|
927
|
+
* The `handler_id` has to be a valid id of a signal handler that is
|
|
928
|
+
* connected to a signal of `instance` and is currently blocked.
|
|
929
|
+
* @param instance - The instance to unblock the signal handler of.
|
|
930
|
+
* @param handlerId - Handler id of the handler to be unblocked.
|
|
931
|
+
*/
|
|
90
932
|
export declare const signalHandlerUnblock: (instance: GObject, handlerId: number) => void;
|
|
933
|
+
/**
|
|
934
|
+
* Blocks all handlers on an instance that match a certain selection criteria.
|
|
935
|
+
*
|
|
936
|
+
* The criteria mask is passed as a combination of #GSignalMatchType flags, and
|
|
937
|
+
* the criteria values are passed as arguments. A handler must match on all
|
|
938
|
+
* flags set in `mask` to be blocked (i.e. the match is conjunctive).
|
|
939
|
+
*
|
|
940
|
+
* Passing at least one of the %G_SIGNAL_MATCH_ID, %G_SIGNAL_MATCH_CLOSURE,
|
|
941
|
+
* %G_SIGNAL_MATCH_FUNC
|
|
942
|
+
* or %G_SIGNAL_MATCH_DATA match flags is required for successful matches.
|
|
943
|
+
* If no handlers were found, 0 is returned, the number of blocked handlers
|
|
944
|
+
* otherwise.
|
|
945
|
+
*
|
|
946
|
+
* Support for %G_SIGNAL_MATCH_ID was added in GLib 2.78.
|
|
947
|
+
* @param instance - The instance to block handlers from.
|
|
948
|
+
* @param mask - Mask indicating which of @signal_id, @detail, @closure, `func` and/or `data` the handlers have to match.
|
|
949
|
+
* @param signalId - Signal the handlers have to be connected to.
|
|
950
|
+
* @param detail - Signal detail the handlers have to be connected to.
|
|
951
|
+
* @param closure - The closure the handlers will invoke.
|
|
952
|
+
* @param func - The C closure callback of the handlers (useless for non-C closures).
|
|
953
|
+
* @param data - The closure data of the handlers' closures.
|
|
954
|
+
*/
|
|
91
955
|
export declare const signalHandlersBlockMatched: (instance: GObject, mask: SignalMatchType, signalId: number, detail: number, closure?: Closure | null, func?: number | null, data?: number | null) => number;
|
|
956
|
+
/**
|
|
957
|
+
* Destroy all signal handlers of a type instance. This function is
|
|
958
|
+
* an implementation detail of the #GObject dispose implementation,
|
|
959
|
+
* and should not be used outside of the type system.
|
|
960
|
+
* @param instance - The instance whose signal handlers are destroyed
|
|
961
|
+
*/
|
|
92
962
|
export declare const signalHandlersDestroy: (instance: GObject) => void;
|
|
963
|
+
/**
|
|
964
|
+
* Disconnects all handlers on an instance that match a certain
|
|
965
|
+
* selection criteria.
|
|
966
|
+
*
|
|
967
|
+
* The criteria mask is passed as a combination of #GSignalMatchType flags, and
|
|
968
|
+
* the criteria values are passed as arguments. A handler must match on all
|
|
969
|
+
* flags set in `mask` to be disconnected (i.e. the match is conjunctive).
|
|
970
|
+
*
|
|
971
|
+
* Passing at least one of the %G_SIGNAL_MATCH_ID, %G_SIGNAL_MATCH_CLOSURE,
|
|
972
|
+
* %G_SIGNAL_MATCH_FUNC or
|
|
973
|
+
* %G_SIGNAL_MATCH_DATA match flags is required for successful
|
|
974
|
+
* matches. If no handlers were found, 0 is returned, the number of
|
|
975
|
+
* disconnected handlers otherwise.
|
|
976
|
+
*
|
|
977
|
+
* Support for %G_SIGNAL_MATCH_ID was added in GLib 2.78.
|
|
978
|
+
* @param instance - The instance to remove handlers from.
|
|
979
|
+
* @param mask - Mask indicating which of @signal_id, @detail, @closure, `func` and/or `data` the handlers have to match.
|
|
980
|
+
* @param signalId - Signal the handlers have to be connected to.
|
|
981
|
+
* @param detail - Signal detail the handlers have to be connected to.
|
|
982
|
+
* @param closure - The closure the handlers will invoke.
|
|
983
|
+
* @param func - The C closure callback of the handlers (useless for non-C closures).
|
|
984
|
+
* @param data - The closure data of the handlers' closures.
|
|
985
|
+
*/
|
|
93
986
|
export declare const signalHandlersDisconnectMatched: (instance: GObject, mask: SignalMatchType, signalId: number, detail: number, closure?: Closure | null, func?: number | null, data?: number | null) => number;
|
|
987
|
+
/**
|
|
988
|
+
* Unblocks all handlers on an instance that match a certain selection
|
|
989
|
+
* criteria.
|
|
990
|
+
*
|
|
991
|
+
* The criteria mask is passed as a combination of #GSignalMatchType flags, and
|
|
992
|
+
* the criteria values are passed as arguments. A handler must match on all
|
|
993
|
+
* flags set in `mask` to be unblocked (i.e. the match is conjunctive).
|
|
994
|
+
*
|
|
995
|
+
* Passing at least one of the %G_SIGNAL_MATCH_ID, %G_SIGNAL_MATCH_CLOSURE,
|
|
996
|
+
* %G_SIGNAL_MATCH_FUNC
|
|
997
|
+
* or %G_SIGNAL_MATCH_DATA match flags is required for successful matches.
|
|
998
|
+
* If no handlers were found, 0 is returned, the number of unblocked handlers
|
|
999
|
+
* otherwise. The match criteria should not apply to any handlers that are
|
|
1000
|
+
* not currently blocked.
|
|
1001
|
+
*
|
|
1002
|
+
* Support for %G_SIGNAL_MATCH_ID was added in GLib 2.78.
|
|
1003
|
+
* @param instance - The instance to unblock handlers from.
|
|
1004
|
+
* @param mask - Mask indicating which of @signal_id, @detail, @closure, `func` and/or `data` the handlers have to match.
|
|
1005
|
+
* @param signalId - Signal the handlers have to be connected to.
|
|
1006
|
+
* @param detail - Signal detail the handlers have to be connected to.
|
|
1007
|
+
* @param closure - The closure the handlers will invoke.
|
|
1008
|
+
* @param func - The C closure callback of the handlers (useless for non-C closures).
|
|
1009
|
+
* @param data - The closure data of the handlers' closures.
|
|
1010
|
+
*/
|
|
94
1011
|
export declare const signalHandlersUnblockMatched: (instance: GObject, mask: SignalMatchType, signalId: number, detail: number, closure?: Closure | null, func?: number | null, data?: number | null) => number;
|
|
1012
|
+
/**
|
|
1013
|
+
* Returns whether there are any handlers connected to `instance` for the
|
|
1014
|
+
* given signal id and detail.
|
|
1015
|
+
*
|
|
1016
|
+
* If `detail` is 0 then it will only match handlers that were connected
|
|
1017
|
+
* without detail. If `detail` is non-zero then it will match handlers
|
|
1018
|
+
* connected both without detail and with the given detail. This is
|
|
1019
|
+
* consistent with how a signal emitted with `detail` would be delivered
|
|
1020
|
+
* to those handlers.
|
|
1021
|
+
*
|
|
1022
|
+
* Since 2.46 this also checks for a non-default class closure being
|
|
1023
|
+
* installed, as this is basically always what you want.
|
|
1024
|
+
*
|
|
1025
|
+
* One example of when you might use this is when the arguments to the
|
|
1026
|
+
* signal are difficult to compute. A class implementor may opt to not
|
|
1027
|
+
* emit the signal if no one is attached anyway, thus saving the cost
|
|
1028
|
+
* of building the arguments.
|
|
1029
|
+
* @param instance - the object whose signal handlers are sought.
|
|
1030
|
+
* @param signalId - the signal id.
|
|
1031
|
+
* @param detail - the detail.
|
|
1032
|
+
* @param mayBeBlocked - whether blocked handlers should count as match.
|
|
1033
|
+
*/
|
|
95
1034
|
export declare const signalHasHandlerPending: (instance: GObject, signalId: number, detail: number, mayBeBlocked: boolean) => boolean;
|
|
1035
|
+
/**
|
|
1036
|
+
* Validate a signal name. This can be useful for dynamically-generated signals
|
|
1037
|
+
* which need to be validated at run-time before actually trying to create them.
|
|
1038
|
+
*
|
|
1039
|
+
* See [func@GObject.signal_new] for details of the rules for valid names.
|
|
1040
|
+
* The rules for signal names are the same as those for property names.
|
|
1041
|
+
* @param name - the canonical name of the signal
|
|
1042
|
+
*/
|
|
96
1043
|
export declare const signalIsValidName: (name: string) => boolean;
|
|
1044
|
+
/**
|
|
1045
|
+
* Lists the signals by id that a certain instance or interface type
|
|
1046
|
+
* created. Further information about the signals can be acquired through
|
|
1047
|
+
* g_signal_query().
|
|
1048
|
+
* @param itype - Instance or interface type.
|
|
1049
|
+
* @param nIds - Location to store the number of signal ids for @itype.
|
|
1050
|
+
*/
|
|
97
1051
|
export declare const signalListIds: (itype: number, nIds: Ref<number>) => number[];
|
|
1052
|
+
/**
|
|
1053
|
+
* Given the name of the signal and the type of object it connects to, gets
|
|
1054
|
+
* the signal's identifying integer. Emitting the signal by number is
|
|
1055
|
+
* somewhat faster than using the name each time.
|
|
1056
|
+
*
|
|
1057
|
+
* Also tries the ancestors of the given type.
|
|
1058
|
+
*
|
|
1059
|
+
* The type class passed as `itype` must already have been instantiated (for
|
|
1060
|
+
* example, using g_type_class_ref()) for this function to work, as signals are
|
|
1061
|
+
* always installed during class initialization.
|
|
1062
|
+
*
|
|
1063
|
+
* See g_signal_new() for details on allowed signal names.
|
|
1064
|
+
* @param name - the signal's name.
|
|
1065
|
+
* @param itype - the type that the signal operates on.
|
|
1066
|
+
*/
|
|
98
1067
|
export declare const signalLookup: (name: string, itype: number) => number;
|
|
1068
|
+
/**
|
|
1069
|
+
* Given the signal's identifier, finds its name.
|
|
1070
|
+
*
|
|
1071
|
+
* Two different signals may have the same name, if they have differing types.
|
|
1072
|
+
* @param signalId - the signal's identifying number.
|
|
1073
|
+
*/
|
|
99
1074
|
export declare const signalName: (signalId: number) => string | null;
|
|
1075
|
+
/**
|
|
1076
|
+
* Overrides the class closure (i.e. the default handler) for the given signal
|
|
1077
|
+
* for emissions on instances of @instance_type. `instance_type` must be derived
|
|
1078
|
+
* from the type to which the signal belongs.
|
|
1079
|
+
*
|
|
1080
|
+
* See g_signal_chain_from_overridden() and
|
|
1081
|
+
* g_signal_chain_from_overridden_handler() for how to chain up to the
|
|
1082
|
+
* parent class closure from inside the overridden one.
|
|
1083
|
+
* @param signalId - the signal id
|
|
1084
|
+
* @param instanceType - the instance type on which to override the class closure
|
|
1085
|
+
* @param classClosure - the closure.
|
|
1086
|
+
*/
|
|
100
1087
|
export declare const signalOverrideClassClosure: (signalId: number, instanceType: number, classClosure: Closure) => void;
|
|
1088
|
+
/**
|
|
1089
|
+
* Overrides the class closure (i.e. the default handler) for the
|
|
1090
|
+
* given signal for emissions on instances of `instance_type` with
|
|
1091
|
+
* callback @class_handler. `instance_type` must be derived from the
|
|
1092
|
+
* type to which the signal belongs.
|
|
1093
|
+
*
|
|
1094
|
+
* See g_signal_chain_from_overridden() and
|
|
1095
|
+
* g_signal_chain_from_overridden_handler() for how to chain up to the
|
|
1096
|
+
* parent class closure from inside the overridden one.
|
|
1097
|
+
* @param signalName - the name for the signal
|
|
1098
|
+
* @param instanceType - the instance type on which to override the class handler
|
|
1099
|
+
* @param classHandler - the handler.
|
|
1100
|
+
*/
|
|
101
1101
|
export declare const signalOverrideClassHandler: (signalName: string, instanceType: number, classHandler: (...args: unknown[]) => unknown) => void;
|
|
1102
|
+
/**
|
|
1103
|
+
* Internal function to parse a signal name into its `signal_id` and `detail` quark.
|
|
1104
|
+
* @param detailedSignal - a string of the form "signal-name::detail".
|
|
1105
|
+
* @param itype - The interface/instance type that introduced "signal-name".
|
|
1106
|
+
* @param signalIdP - Location to store the signal id.
|
|
1107
|
+
* @param detailP - Location to store the detail quark.
|
|
1108
|
+
* @param forceDetailQuark - %TRUE forces creation of a #GQuark for the detail.
|
|
1109
|
+
*/
|
|
102
1110
|
export declare const signalParseName: (detailedSignal: string, itype: number, signalIdP: Ref<number>, detailP: Ref<number>, forceDetailQuark: boolean) => boolean;
|
|
1111
|
+
/**
|
|
1112
|
+
* Queries the signal system for in-depth information about a
|
|
1113
|
+
* specific signal. This function will fill in a user-provided
|
|
1114
|
+
* structure to hold signal-specific information. If an invalid
|
|
1115
|
+
* signal id is passed in, the `signal_id` member of the #GSignalQuery
|
|
1116
|
+
* is 0. All members filled into the #GSignalQuery structure should
|
|
1117
|
+
* be considered constant and have to be left untouched.
|
|
1118
|
+
* @param signalId - The signal id of the signal to query information for.
|
|
1119
|
+
* @param query - A user provided structure that is
|
|
1120
|
+
*/
|
|
103
1121
|
export declare const signalQuery: (signalId: number, query: Ref<number>) => void;
|
|
1122
|
+
/**
|
|
1123
|
+
* Deletes an emission hook.
|
|
1124
|
+
* @param signalId - the id of the signal
|
|
1125
|
+
* @param hookId - the id of the emission hook, as returned by
|
|
1126
|
+
*/
|
|
104
1127
|
export declare const signalRemoveEmissionHook: (signalId: number, hookId: number) => void;
|
|
1128
|
+
/**
|
|
1129
|
+
* Stops a signal's current emission.
|
|
1130
|
+
*
|
|
1131
|
+
* This will prevent the default method from running, if the signal was
|
|
1132
|
+
* %G_SIGNAL_RUN_LAST and you connected normally (i.e. without the "after"
|
|
1133
|
+
* flag).
|
|
1134
|
+
*
|
|
1135
|
+
* Prints a warning if used on a signal which isn't being emitted.
|
|
1136
|
+
* @param instance - the object whose signal handlers you wish to stop.
|
|
1137
|
+
* @param signalId - the signal identifier, as returned by g_signal_lookup().
|
|
1138
|
+
* @param detail - the detail which the signal was emitted with.
|
|
1139
|
+
*/
|
|
105
1140
|
export declare const signalStopEmission: (instance: GObject, signalId: number, detail: number) => void;
|
|
1141
|
+
/**
|
|
1142
|
+
* Stops a signal's current emission.
|
|
1143
|
+
*
|
|
1144
|
+
* This is just like g_signal_stop_emission() except it will look up the
|
|
1145
|
+
* signal id for you.
|
|
1146
|
+
* @param instance - the object whose signal handlers you wish to stop.
|
|
1147
|
+
* @param detailedSignal - a string of the form "signal-name::detail".
|
|
1148
|
+
*/
|
|
106
1149
|
export declare const signalStopEmissionByName: (instance: GObject, detailedSignal: string) => void;
|
|
1150
|
+
/**
|
|
1151
|
+
* Creates a new closure which invokes the function found at the offset
|
|
1152
|
+
* `struct_offset` in the class structure of the interface or classed type
|
|
1153
|
+
* identified by @itype.
|
|
1154
|
+
* @param itype - the #GType identifier of an interface or classed type
|
|
1155
|
+
* @param structOffset - the offset of the member function of @itype's class
|
|
1156
|
+
*/
|
|
107
1157
|
export declare const signalTypeCclosureNew: (itype: number, structOffset: number) => Closure;
|
|
1158
|
+
/**
|
|
1159
|
+
* Set the callback for a source as a #GClosure.
|
|
1160
|
+
*
|
|
1161
|
+
* If the source is not one of the standard GLib types, the `closure_callback` and `closure_marshal` fields of the #GSourceFuncs structure must have been
|
|
1162
|
+
* filled in with pointers to appropriate functions.
|
|
1163
|
+
* @param source - the source
|
|
1164
|
+
* @param closure - a #GClosure
|
|
1165
|
+
*/
|
|
108
1166
|
export declare const sourceSetClosure: (source: GLib.Source, closure: Closure) => void;
|
|
1167
|
+
/**
|
|
1168
|
+
* Sets a dummy callback for @source. The callback will do nothing, and
|
|
1169
|
+
* if the source expects a #gboolean return value, it will return %TRUE.
|
|
1170
|
+
* (If the source expects any other type of return value, it will return
|
|
1171
|
+
* a 0/%NULL value; whatever g_value_init() initializes a #GValue to for
|
|
1172
|
+
* that type.)
|
|
1173
|
+
*
|
|
1174
|
+
* If the source is not one of the standard GLib types, the
|
|
1175
|
+
* `closure_callback` and `closure_marshal` fields of the #GSourceFuncs
|
|
1176
|
+
* structure must have been filled in with pointers to appropriate
|
|
1177
|
+
* functions.
|
|
1178
|
+
* @param source - the source
|
|
1179
|
+
*/
|
|
109
1180
|
export declare const sourceSetDummyCallback: (source: GLib.Source) => void;
|
|
1181
|
+
/**
|
|
1182
|
+
* Return a newly allocated string, which describes the contents of a
|
|
1183
|
+
* #GValue. The main purpose of this function is to describe #GValue
|
|
1184
|
+
* contents for debugging output, the way in which the contents are
|
|
1185
|
+
* described may change between different GLib versions.
|
|
1186
|
+
* @param value - #GValue which contents are to be described.
|
|
1187
|
+
*/
|
|
110
1188
|
export declare const strdupValueContents: (value: Value) => string;
|
|
1189
|
+
/**
|
|
1190
|
+
* Registers a private class structure for a classed type;
|
|
1191
|
+
* when the class is allocated, the private structures for
|
|
1192
|
+
* the class and all of its parent types are allocated
|
|
1193
|
+
* sequentially in the same memory block as the public
|
|
1194
|
+
* structures, and are zero-filled.
|
|
1195
|
+
*
|
|
1196
|
+
* This function should be called in the
|
|
1197
|
+
* type's get_type() function after the type is registered.
|
|
1198
|
+
* The private structure can be retrieved using the
|
|
1199
|
+
* G_TYPE_CLASS_GET_PRIVATE() macro.
|
|
1200
|
+
* @param classType - GType of a classed type
|
|
1201
|
+
* @param privateSize - size of private structure
|
|
1202
|
+
*/
|
|
111
1203
|
export declare const typeAddClassPrivate: (classType: number, privateSize: number) => void;
|
|
112
1204
|
export declare const typeAddInstancePrivate: (classType: number, privateSize: number) => number;
|
|
1205
|
+
/**
|
|
1206
|
+
* Adds `interface_type` to the dynamic @instance_type. The information
|
|
1207
|
+
* contained in the #GTypePlugin structure pointed to by `plugin` is used to manage the relationship.
|
|
1208
|
+
* @param instanceType - #GType value of an instantiatable type
|
|
1209
|
+
* @param interfaceType - #GType value of an interface type
|
|
1210
|
+
* @param plugin - #GTypePlugin structure to retrieve the #GInterfaceInfo from
|
|
1211
|
+
*/
|
|
113
1212
|
export declare const typeAddInterfaceDynamic: (instanceType: number, interfaceType: number, plugin: TypePlugin) => void;
|
|
1213
|
+
/**
|
|
1214
|
+
* Adds `interface_type` to the static @instance_type.
|
|
1215
|
+
* The information contained in the #GInterfaceInfo structure
|
|
1216
|
+
* pointed to by `info` is used to manage the relationship.
|
|
1217
|
+
* @param instanceType - #GType value of an instantiatable type
|
|
1218
|
+
* @param interfaceType - #GType value of an interface type
|
|
1219
|
+
* @param info - #GInterfaceInfo structure for this
|
|
1220
|
+
*/
|
|
114
1221
|
export declare const typeAddInterfaceStatic: (instanceType: number, interfaceType: number, info: number) => void;
|
|
115
1222
|
export declare const typeCheckClassIsA: (gClass: number, isAType: number) => boolean;
|
|
1223
|
+
/**
|
|
1224
|
+
* Private helper function to aid implementation of the
|
|
1225
|
+
* G_TYPE_CHECK_INSTANCE() macro.
|
|
1226
|
+
* @param instance - a valid #GTypeInstance structure
|
|
1227
|
+
*/
|
|
116
1228
|
export declare const typeCheckInstance: (instance: number) => boolean;
|
|
117
1229
|
export declare const typeCheckInstanceIsA: (instance: number, ifaceType: number) => boolean;
|
|
118
1230
|
export declare const typeCheckInstanceIsFundamentallyA: (instance: number, fundamentalType: number) => boolean;
|
|
119
1231
|
export declare const typeCheckIsValueType: (type: number) => boolean;
|
|
120
1232
|
export declare const typeCheckValue: (value: Value) => boolean;
|
|
121
1233
|
export declare const typeCheckValueHolds: (value: Value, type: number) => boolean;
|
|
1234
|
+
/**
|
|
1235
|
+
* Return a newly allocated and 0-terminated array of type IDs, listing
|
|
1236
|
+
* the child types of @type.
|
|
1237
|
+
* @param type - the parent type
|
|
1238
|
+
* @param nChildren - location to store the length of
|
|
1239
|
+
*/
|
|
122
1240
|
export declare const typeChildren: (type: number, nChildren?: Ref<number> | null) => number[];
|
|
123
1241
|
export declare const typeClassAdjustPrivateOffset: (privateSizeOrOffset: number, gClass?: number | null) => void;
|
|
1242
|
+
/**
|
|
1243
|
+
* Retrieves the type class of the given @type.
|
|
1244
|
+
*
|
|
1245
|
+
* This function will create the class on demand if it does not exist
|
|
1246
|
+
* already.
|
|
1247
|
+
*
|
|
1248
|
+
* If you don't want to create the class, use g_type_class_peek() instead.
|
|
1249
|
+
* @param type - type ID of a classed type
|
|
1250
|
+
*/
|
|
124
1251
|
export declare const typeClassGet: (type: number) => number;
|
|
1252
|
+
/**
|
|
1253
|
+
* Retrieves the class for a give type.
|
|
1254
|
+
*
|
|
1255
|
+
* This function is essentially the same as g_type_class_get(),
|
|
1256
|
+
* except that the class may have not been instantiated yet.
|
|
1257
|
+
*
|
|
1258
|
+
* As a consequence, this function may return %NULL if the class
|
|
1259
|
+
* of the type passed in does not currently exist (hasn't been
|
|
1260
|
+
* referenced before).
|
|
1261
|
+
* @param type - type ID of a classed type
|
|
1262
|
+
*/
|
|
125
1263
|
export declare const typeClassPeek: (type: number) => number | null;
|
|
1264
|
+
/**
|
|
1265
|
+
* A more efficient version of g_type_class_peek() which works only for
|
|
1266
|
+
* static types.
|
|
1267
|
+
* @param type - type ID of a classed type
|
|
1268
|
+
*/
|
|
126
1269
|
export declare const typeClassPeekStatic: (type: number) => number | null;
|
|
1270
|
+
/**
|
|
1271
|
+
* Increments the reference count of the class structure belonging to
|
|
1272
|
+
* @type.
|
|
1273
|
+
*
|
|
1274
|
+
* This function will demand-create the class if it doesn't exist already.
|
|
1275
|
+
* @param type - type ID of a classed type
|
|
1276
|
+
*/
|
|
127
1277
|
export declare const typeClassRef: (type: number) => number;
|
|
1278
|
+
/**
|
|
1279
|
+
* Returns the default interface vtable for the given @g_type.
|
|
1280
|
+
*
|
|
1281
|
+
* If the type is not currently in use, then the default vtable
|
|
1282
|
+
* for the type will be created and initialized by calling
|
|
1283
|
+
* the base interface init and default vtable init functions for
|
|
1284
|
+
* the type (the `base_init` and `class_init` members of #GTypeInfo).
|
|
1285
|
+
*
|
|
1286
|
+
* If you don't want to create the interface vtable, you should use
|
|
1287
|
+
* g_type_default_interface_peek() instead.
|
|
1288
|
+
*
|
|
1289
|
+
* Calling g_type_default_interface_get() is useful when you
|
|
1290
|
+
* want to make sure that signals and properties for an interface
|
|
1291
|
+
* have been installed.
|
|
1292
|
+
* @param gType - an interface type
|
|
1293
|
+
*/
|
|
128
1294
|
export declare const typeDefaultInterfaceGet: (gType: number) => number;
|
|
1295
|
+
/**
|
|
1296
|
+
* If the interface type `g_type` is currently in use, returns its
|
|
1297
|
+
* default interface vtable.
|
|
1298
|
+
* @param gType - an interface type
|
|
1299
|
+
*/
|
|
129
1300
|
export declare const typeDefaultInterfacePeek: (gType: number) => number;
|
|
1301
|
+
/**
|
|
1302
|
+
* Increments the reference count for the interface type @g_type,
|
|
1303
|
+
* and returns the default interface vtable for the type.
|
|
1304
|
+
*
|
|
1305
|
+
* If the type is not currently in use, then the default vtable
|
|
1306
|
+
* for the type will be created and initialized by calling
|
|
1307
|
+
* the base interface init and default vtable init functions for
|
|
1308
|
+
* the type (the `base_init` and `class_init` members of #GTypeInfo).
|
|
1309
|
+
* Calling g_type_default_interface_ref() is useful when you
|
|
1310
|
+
* want to make sure that signals and properties for an interface
|
|
1311
|
+
* have been installed.
|
|
1312
|
+
* @param gType - an interface type
|
|
1313
|
+
*/
|
|
130
1314
|
export declare const typeDefaultInterfaceRef: (gType: number) => number;
|
|
1315
|
+
/**
|
|
1316
|
+
* Decrements the reference count for the type corresponding to the
|
|
1317
|
+
* interface default vtable @g_iface.
|
|
1318
|
+
*
|
|
1319
|
+
* If the type is dynamic, then when no one is using the interface and all
|
|
1320
|
+
* references have been released, the finalize function for the interface's
|
|
1321
|
+
* default vtable (the `class_finalize` member of #GTypeInfo) will be called.
|
|
1322
|
+
* @param gIface - the default vtable
|
|
1323
|
+
*/
|
|
131
1324
|
export declare const typeDefaultInterfaceUnref: (gIface: number) => void;
|
|
1325
|
+
/**
|
|
1326
|
+
* Returns the length of the ancestry of the passed in type. This
|
|
1327
|
+
* includes the type itself, so that e.g. a fundamental type has depth 1.
|
|
1328
|
+
* @param type - a #GType
|
|
1329
|
+
*/
|
|
132
1330
|
export declare const typeDepth: (type: number) => number;
|
|
1331
|
+
/**
|
|
1332
|
+
* Ensures that the indicated `type` has been registered with the
|
|
1333
|
+
* type system, and its _class_init() method has been run.
|
|
1334
|
+
*
|
|
1335
|
+
* In theory, simply calling the type's _get_type() method (or using
|
|
1336
|
+
* the corresponding macro) is supposed take care of this. However,
|
|
1337
|
+
* _get_type() methods are often marked %G_GNUC_CONST for performance
|
|
1338
|
+
* reasons, even though this is technically incorrect (since
|
|
1339
|
+
* %G_GNUC_CONST requires that the function not have side effects,
|
|
1340
|
+
* which _get_type() methods do on the first call). As a result, if
|
|
1341
|
+
* you write a bare call to a _get_type() macro, it may get optimized
|
|
1342
|
+
* out by the compiler. Using g_type_ensure() guarantees that the
|
|
1343
|
+
* type's _get_type() method is called.
|
|
1344
|
+
* @param type - a #GType
|
|
1345
|
+
*/
|
|
133
1346
|
export declare const typeEnsure: (type: number) => void;
|
|
1347
|
+
/**
|
|
1348
|
+
* Frees an instance of a type, returning it to the instance pool for
|
|
1349
|
+
* the type, if there is one.
|
|
1350
|
+
*
|
|
1351
|
+
* Like g_type_create_instance(), this function is reserved for
|
|
1352
|
+
* implementors of fundamental types.
|
|
1353
|
+
* @param instance - an instance of a type
|
|
1354
|
+
*/
|
|
134
1355
|
export declare const typeFreeInstance: (instance: number) => void;
|
|
1356
|
+
/**
|
|
1357
|
+
* Look up the type ID from a given type name, returning 0 if no type
|
|
1358
|
+
* has been registered under this name (this is the preferred method
|
|
1359
|
+
* to find out by name whether a specific type has been registered
|
|
1360
|
+
* yet).
|
|
1361
|
+
* @param name - type name to look up
|
|
1362
|
+
*/
|
|
135
1363
|
export declare const typeFromName: (name: string) => number;
|
|
1364
|
+
/**
|
|
1365
|
+
* Internal function, used to extract the fundamental type ID portion.
|
|
1366
|
+
* Use G_TYPE_FUNDAMENTAL() instead.
|
|
1367
|
+
* @param typeId - valid type ID
|
|
1368
|
+
*/
|
|
136
1369
|
export declare const typeFundamental: (typeId: number) => number;
|
|
1370
|
+
/**
|
|
1371
|
+
* Returns the next free fundamental type id which can be used to
|
|
1372
|
+
* register a new fundamental type with g_type_register_fundamental().
|
|
1373
|
+
* The returned type ID represents the highest currently registered
|
|
1374
|
+
* fundamental type identifier.
|
|
1375
|
+
*/
|
|
137
1376
|
export declare const typeFundamentalNext: () => number;
|
|
1377
|
+
/**
|
|
1378
|
+
* Returns the number of instances allocated of the particular type;
|
|
1379
|
+
* this is only available if GLib is built with debugging support and
|
|
1380
|
+
* the `instance-count` debug flag is set (by setting the `GOBJECT_DEBUG`
|
|
1381
|
+
* variable to include `instance-count`).
|
|
1382
|
+
* @param type - a #GType
|
|
1383
|
+
*/
|
|
138
1384
|
export declare const typeGetInstanceCount: (type: number) => number;
|
|
1385
|
+
/**
|
|
1386
|
+
* Returns the #GTypePlugin structure for @type.
|
|
1387
|
+
* @param type - #GType to retrieve the plugin for
|
|
1388
|
+
*/
|
|
139
1389
|
export declare const typeGetPlugin: (type: number) => TypePlugin;
|
|
1390
|
+
/**
|
|
1391
|
+
* Obtains data which has previously been attached to `type` with g_type_set_qdata().
|
|
1392
|
+
*
|
|
1393
|
+
* Note that this does not take subtyping into account; data
|
|
1394
|
+
* attached to one type with g_type_set_qdata() cannot
|
|
1395
|
+
* be retrieved from a subtype using g_type_get_qdata().
|
|
1396
|
+
* @param type - a #GType
|
|
1397
|
+
* @param quark - a #GQuark id to identify the data
|
|
1398
|
+
*/
|
|
140
1399
|
export declare const typeGetQdata: (type: number, quark: number) => number | null;
|
|
1400
|
+
/**
|
|
1401
|
+
* Returns an opaque serial number that represents the state of the set
|
|
1402
|
+
* of registered types. Any time a type is registered this serial changes,
|
|
1403
|
+
* which means you can cache information based on type lookups (such as
|
|
1404
|
+
* g_type_from_name()) and know if the cache is still valid at a later
|
|
1405
|
+
* time by comparing the current serial with the one at the type lookup.
|
|
1406
|
+
*/
|
|
141
1407
|
export declare const typeGetTypeRegistrationSerial: () => number;
|
|
1408
|
+
/**
|
|
1409
|
+
* This function used to initialise the type system. Since GLib 2.36,
|
|
1410
|
+
* the type system is initialised automatically and this function does
|
|
1411
|
+
* nothing.
|
|
1412
|
+
*/
|
|
142
1413
|
export declare const typeInit: () => void;
|
|
1414
|
+
/**
|
|
1415
|
+
* This function used to initialise the type system with debugging
|
|
1416
|
+
* flags. Since GLib 2.36, the type system is initialised automatically
|
|
1417
|
+
* and this function does nothing.
|
|
1418
|
+
*
|
|
1419
|
+
* If you need to enable debugging features, use the `GOBJECT_DEBUG`
|
|
1420
|
+
* environment variable.
|
|
1421
|
+
* @param debugFlags - bitwise combination of #GTypeDebugFlags values for
|
|
1422
|
+
*/
|
|
143
1423
|
export declare const typeInitWithDebugFlags: (debugFlags: TypeDebugFlags) => void;
|
|
1424
|
+
/**
|
|
1425
|
+
* Adds `prerequisite_type` to the list of prerequisites of @interface_type.
|
|
1426
|
+
* This means that any type implementing `interface_type` must also implement
|
|
1427
|
+
* @prerequisite_type. Prerequisites can be thought of as an alternative to
|
|
1428
|
+
* interface derivation (which GType doesn't support). An interface can have
|
|
1429
|
+
* at most one instantiatable prerequisite type.
|
|
1430
|
+
* @param interfaceType - #GType value of an interface type
|
|
1431
|
+
* @param prerequisiteType - #GType value of an interface or instantiatable type
|
|
1432
|
+
*/
|
|
144
1433
|
export declare const typeInterfaceAddPrerequisite: (interfaceType: number, prerequisiteType: number) => void;
|
|
1434
|
+
/**
|
|
1435
|
+
* Returns the #GTypePlugin structure for the dynamic interface
|
|
1436
|
+
* `interface_type` which has been added to @instance_type, or %NULL
|
|
1437
|
+
* if `interface_type` has not been added to `instance_type` or does
|
|
1438
|
+
* not have a #GTypePlugin structure. See g_type_add_interface_dynamic().
|
|
1439
|
+
* @param instanceType - #GType of an instantiatable type
|
|
1440
|
+
* @param interfaceType - #GType of an interface type
|
|
1441
|
+
*/
|
|
145
1442
|
export declare const typeInterfaceGetPlugin: (instanceType: number, interfaceType: number) => TypePlugin;
|
|
1443
|
+
/**
|
|
1444
|
+
* Returns the most specific instantiatable prerequisite of an
|
|
1445
|
+
* interface type. If the interface type has no instantiatable
|
|
1446
|
+
* prerequisite, %G_TYPE_INVALID is returned.
|
|
1447
|
+
*
|
|
1448
|
+
* See g_type_interface_add_prerequisite() for more information
|
|
1449
|
+
* about prerequisites.
|
|
1450
|
+
* @param interfaceType - an interface type
|
|
1451
|
+
*/
|
|
146
1452
|
export declare const typeInterfaceInstantiatablePrerequisite: (interfaceType: number) => number;
|
|
1453
|
+
/**
|
|
1454
|
+
* Returns the #GTypeInterface structure of an interface to which the
|
|
1455
|
+
* passed in class conforms.
|
|
1456
|
+
* @param instanceClass - a #GTypeClass structure
|
|
1457
|
+
* @param ifaceType - an interface ID which this class conforms to
|
|
1458
|
+
*/
|
|
147
1459
|
export declare const typeInterfacePeek: (instanceClass: number, ifaceType: number) => number | null;
|
|
1460
|
+
/**
|
|
1461
|
+
* Returns the prerequisites of an interfaces type.
|
|
1462
|
+
* @param interfaceType - an interface type
|
|
1463
|
+
* @param nPrerequisites - location to return the number
|
|
1464
|
+
*/
|
|
148
1465
|
export declare const typeInterfacePrerequisites: (interfaceType: number, nPrerequisites?: Ref<number> | null) => number[];
|
|
1466
|
+
/**
|
|
1467
|
+
* Return a newly allocated and 0-terminated array of type IDs, listing
|
|
1468
|
+
* the interface types that `type` conforms to.
|
|
1469
|
+
* @param type - the type to list interface types for
|
|
1470
|
+
* @param nInterfaces - location to store the length of
|
|
1471
|
+
*/
|
|
149
1472
|
export declare const typeInterfaces: (type: number, nInterfaces?: Ref<number> | null) => number[];
|
|
1473
|
+
/**
|
|
1474
|
+
* If `is_a_type` is a derivable type, check whether `type` is a
|
|
1475
|
+
* descendant of @is_a_type. If `is_a_type` is an interface, check
|
|
1476
|
+
* whether `type` conforms to it.
|
|
1477
|
+
* @param type - type to check ancestry for
|
|
1478
|
+
* @param isAType - possible ancestor of `type` or interface that `type` could conform to
|
|
1479
|
+
*/
|
|
150
1480
|
export declare const typeIsA: (type: number, isAType: number) => boolean;
|
|
1481
|
+
/**
|
|
1482
|
+
* Get the unique name that is assigned to a type ID.
|
|
1483
|
+
*
|
|
1484
|
+
* Note that this function (like all other GType API) cannot cope with
|
|
1485
|
+
* invalid type IDs. %G_TYPE_INVALID may be passed to this function, as
|
|
1486
|
+
* may be any other validly registered type ID, but randomized type IDs
|
|
1487
|
+
* should not be passed in and will most likely lead to a crash.
|
|
1488
|
+
* @param type - type to return name for
|
|
1489
|
+
*/
|
|
151
1490
|
export declare const typeName: (type: number) => string | null;
|
|
152
1491
|
export declare const typeNameFromClass: (gClass: number) => string;
|
|
153
1492
|
export declare const typeNameFromInstance: (instance: number) => string;
|
|
1493
|
+
/**
|
|
1494
|
+
* Given a `leaf_type` and a `root_type` which is contained in its
|
|
1495
|
+
* ancestry, return the type that `root_type` is the immediate parent
|
|
1496
|
+
* of. In other words, this function determines the type that is
|
|
1497
|
+
* derived directly from `root_type` which is also a base class of
|
|
1498
|
+
* @leaf_type. Given a root type and a leaf type, this function can
|
|
1499
|
+
* be used to determine the types and order in which the leaf type is
|
|
1500
|
+
* descended from the root type.
|
|
1501
|
+
* @param leafType - descendant of `root_type` and the type to be returned
|
|
1502
|
+
* @param rootType - immediate parent of the returned type
|
|
1503
|
+
*/
|
|
154
1504
|
export declare const typeNextBase: (leafType: number, rootType: number) => number;
|
|
1505
|
+
/**
|
|
1506
|
+
* Return the direct parent type of the passed in type. If the passed
|
|
1507
|
+
* in type has no parent, i.e. is a fundamental type, 0 is returned.
|
|
1508
|
+
* @param type - the derived type
|
|
1509
|
+
*/
|
|
155
1510
|
export declare const typeParent: (type: number) => number;
|
|
1511
|
+
/**
|
|
1512
|
+
* Get the corresponding quark of the type IDs name.
|
|
1513
|
+
* @param type - type to return quark of type name for
|
|
1514
|
+
*/
|
|
156
1515
|
export declare const typeQname: (type: number) => number;
|
|
1516
|
+
/**
|
|
1517
|
+
* Queries the type system for information about a specific type.
|
|
1518
|
+
*
|
|
1519
|
+
* This function will fill in a user-provided structure to hold
|
|
1520
|
+
* type-specific information. If an invalid #GType is passed in, the
|
|
1521
|
+
* `type` member of the #GTypeQuery is 0. All members filled into the
|
|
1522
|
+
* #GTypeQuery structure should be considered constant and have to be
|
|
1523
|
+
* left untouched.
|
|
1524
|
+
*
|
|
1525
|
+
* Since GLib 2.78, this function allows queries on dynamic types. Previously
|
|
1526
|
+
* it only supported static types.
|
|
1527
|
+
* @param type - #GType of a static, classed type
|
|
1528
|
+
* @param query - a user provided structure that is
|
|
1529
|
+
*/
|
|
157
1530
|
export declare const typeQuery: (type: number, query: Ref<number>) => void;
|
|
1531
|
+
/**
|
|
1532
|
+
* Registers `type_name` as the name of a new dynamic type derived from
|
|
1533
|
+
* @parent_type. The type system uses the information contained in the
|
|
1534
|
+
* #GTypePlugin structure pointed to by `plugin` to manage the type and its
|
|
1535
|
+
* instances (if not abstract). The value of `flags` determines the nature
|
|
1536
|
+
* (e.g. abstract or not) of the type.
|
|
1537
|
+
* @param parentType - type from which this type will be derived
|
|
1538
|
+
* @param typeName - 0-terminated string used as the name of the new type
|
|
1539
|
+
* @param plugin - #GTypePlugin structure to retrieve the #GTypeInfo from
|
|
1540
|
+
* @param flags - bitwise combination of #GTypeFlags values
|
|
1541
|
+
*/
|
|
158
1542
|
export declare const typeRegisterDynamic: (parentType: number, typeName: string, plugin: TypePlugin, flags: TypeFlags) => number;
|
|
1543
|
+
/**
|
|
1544
|
+
* Registers `type_id` as the predefined identifier and `type_name` as the
|
|
1545
|
+
* name of a fundamental type. If `type_id` is already registered, or a
|
|
1546
|
+
* type named `type_name` is already registered, the behaviour is undefined.
|
|
1547
|
+
* The type system uses the information contained in the #GTypeInfo structure
|
|
1548
|
+
* pointed to by `info` and the #GTypeFundamentalInfo structure pointed to by
|
|
1549
|
+
* `finfo` to manage the type and its instances. The value of `flags` determines
|
|
1550
|
+
* additional characteristics of the fundamental type.
|
|
1551
|
+
* @param typeId - a predefined type identifier
|
|
1552
|
+
* @param typeName - 0-terminated string used as the name of the new type
|
|
1553
|
+
* @param info - #GTypeInfo structure for this type
|
|
1554
|
+
* @param finfo - #GTypeFundamentalInfo structure for this type
|
|
1555
|
+
* @param flags - bitwise combination of #GTypeFlags values
|
|
1556
|
+
*/
|
|
159
1557
|
export declare const typeRegisterFundamental: (typeId: number, typeName: string, info: number, finfo: number, flags: TypeFlags) => number;
|
|
1558
|
+
/**
|
|
1559
|
+
* Registers `type_name` as the name of a new static type derived from
|
|
1560
|
+
* @parent_type. The type system uses the information contained in the
|
|
1561
|
+
* #GTypeInfo structure pointed to by `info` to manage the type and its
|
|
1562
|
+
* instances (if not abstract). The value of `flags` determines the nature
|
|
1563
|
+
* (e.g. abstract or not) of the type.
|
|
1564
|
+
* @param parentType - type from which this type will be derived
|
|
1565
|
+
* @param typeName - 0-terminated string used as the name of the new type
|
|
1566
|
+
* @param info - #GTypeInfo structure for this type
|
|
1567
|
+
* @param flags - bitwise combination of #GTypeFlags values
|
|
1568
|
+
*/
|
|
160
1569
|
export declare const typeRegisterStatic: (parentType: number, typeName: string, info: number, flags: TypeFlags) => number;
|
|
1570
|
+
/**
|
|
1571
|
+
* Attaches arbitrary data to a type.
|
|
1572
|
+
* @param type - a #GType
|
|
1573
|
+
* @param quark - a #GQuark id to identify the data
|
|
1574
|
+
* @param data - the data
|
|
1575
|
+
*/
|
|
161
1576
|
export declare const typeSetQdata: (type: number, quark: number, data?: number | null) => void;
|
|
162
1577
|
export declare const typeTestFlags: (type: number, flags: number) => boolean;
|
|
1578
|
+
/**
|
|
1579
|
+
* Checks whether a [method@GObject.Value.copy] is able to copy values of type
|
|
1580
|
+
* `src_type` into values of type @dest_type.
|
|
1581
|
+
* @param srcType - source type to be copied
|
|
1582
|
+
* @param destType - destination type for copying
|
|
1583
|
+
*/
|
|
163
1584
|
export declare const valueTypeCompatible: (srcType: number, destType: number) => boolean;
|
|
1585
|
+
/**
|
|
1586
|
+
* Checks whether [method@GObject.Value.transform] is able to transform values
|
|
1587
|
+
* of type `src_type` into values of type @dest_type.
|
|
1588
|
+
*
|
|
1589
|
+
* Note that for the types to be transformable, they must be compatible or a
|
|
1590
|
+
* transformation function must be registered using
|
|
1591
|
+
* [func@GObject.Value.register_transform_func].
|
|
1592
|
+
* @param srcType - source type
|
|
1593
|
+
* @param destType - target type
|
|
1594
|
+
*/
|
|
164
1595
|
export declare const valueTypeTransformable: (srcType: number, destType: number) => boolean;
|
|
165
1596
|
export declare const variantGetGtype: () => number;
|