@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
|
@@ -3,6 +3,11 @@ import { getObject } from "@gtkx/ffi";
|
|
|
3
3
|
import { Closure } from "./closure.js";
|
|
4
4
|
import { ParamSpec } from "./param-spec.js";
|
|
5
5
|
import { TypePlugin } from "./type-plugin.js";
|
|
6
|
+
/**
|
|
7
|
+
* Provide a copy of a boxed structure `src_boxed` which is of type @boxed_type.
|
|
8
|
+
* @param boxedType - The type of @src_boxed.
|
|
9
|
+
* @param srcBoxed - The boxed structure to be copied.
|
|
10
|
+
*/
|
|
6
11
|
export const boxedCopy = (boxedType, srcBoxed) => {
|
|
7
12
|
return call("libgobject-2.0.so.0", "g_boxed_copy", [
|
|
8
13
|
{
|
|
@@ -15,6 +20,11 @@ export const boxedCopy = (boxedType, srcBoxed) => {
|
|
|
15
20
|
},
|
|
16
21
|
], { type: "int", size: 64, unsigned: true });
|
|
17
22
|
};
|
|
23
|
+
/**
|
|
24
|
+
* Free the boxed structure `boxed` which is of type @boxed_type.
|
|
25
|
+
* @param boxedType - The type of @boxed.
|
|
26
|
+
* @param boxed - The boxed structure to be freed.
|
|
27
|
+
*/
|
|
18
28
|
export const boxedFree = (boxedType, boxed) => {
|
|
19
29
|
call("libgobject-2.0.so.0", "g_boxed_free", [
|
|
20
30
|
{
|
|
@@ -27,6 +37,20 @@ export const boxedFree = (boxedType, boxed) => {
|
|
|
27
37
|
},
|
|
28
38
|
], { type: "undefined" });
|
|
29
39
|
};
|
|
40
|
+
/**
|
|
41
|
+
* This function creates a new %G_TYPE_BOXED derived type id for a new
|
|
42
|
+
* boxed type with name @name.
|
|
43
|
+
*
|
|
44
|
+
* Boxed type handling functions have to be provided to copy and free
|
|
45
|
+
* opaque boxed structures of this type.
|
|
46
|
+
*
|
|
47
|
+
* For the general case, it is recommended to use G_DEFINE_BOXED_TYPE()
|
|
48
|
+
* instead of calling g_boxed_type_register_static() directly. The macro
|
|
49
|
+
* will create the appropriate `*_get_type()` function for the boxed type.
|
|
50
|
+
* @param name - Name of the new boxed type.
|
|
51
|
+
* @param boxedCopy - Boxed structure copy function.
|
|
52
|
+
* @param boxedFree - Boxed structure free function.
|
|
53
|
+
*/
|
|
30
54
|
export const boxedTypeRegisterStatic = (name, boxedCopy, boxedFree) => {
|
|
31
55
|
return call("libgobject-2.0.so.0", "g_boxed_type_register_static", [
|
|
32
56
|
{
|
|
@@ -43,6 +67,18 @@ export const boxedTypeRegisterStatic = (name, boxedCopy, boxedFree) => {
|
|
|
43
67
|
},
|
|
44
68
|
], { type: "int", size: 64, unsigned: true });
|
|
45
69
|
};
|
|
70
|
+
/**
|
|
71
|
+
* A #GClosureMarshal function for use with signals with handlers that
|
|
72
|
+
* take two boxed pointers as arguments and return a boolean. If you
|
|
73
|
+
* have such a signal, you will probably also need to use an
|
|
74
|
+
* accumulator, such as g_signal_accumulator_true_handled().
|
|
75
|
+
* @param closure - A #GClosure.
|
|
76
|
+
* @param returnValue - A #GValue to store the return value. May be %NULL
|
|
77
|
+
* @param nParamValues - The length of the `param_values` array.
|
|
78
|
+
* @param paramValues - An array of #GValues holding the arguments
|
|
79
|
+
* @param invocationHint - The invocation hint given as the last argument to
|
|
80
|
+
* @param marshalData - Additional data specified when registering the
|
|
81
|
+
*/
|
|
46
82
|
export const cclosureMarshal_BOOLEAN__BOXED_BOXED = (closure, returnValue, nParamValues, paramValues, invocationHint, marshalData) => {
|
|
47
83
|
call("libgobject-2.0.so.0", "g_cclosure_marshal_BOOLEAN__BOXED_BOXED", [
|
|
48
84
|
{
|
|
@@ -88,6 +124,18 @@ export const cclosureMarshal_BOOLEAN__BOXED_BOXED = (closure, returnValue, nPara
|
|
|
88
124
|
},
|
|
89
125
|
], { type: "undefined" });
|
|
90
126
|
};
|
|
127
|
+
/**
|
|
128
|
+
* A #GClosureMarshal function for use with signals with handlers that
|
|
129
|
+
* take a flags type as an argument and return a boolean. If you have
|
|
130
|
+
* such a signal, you will probably also need to use an accumulator,
|
|
131
|
+
* such as g_signal_accumulator_true_handled().
|
|
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
|
+
*/
|
|
91
139
|
export const cclosureMarshal_BOOLEAN__FLAGS = (closure, returnValue, nParamValues, paramValues, invocationHint, marshalData) => {
|
|
92
140
|
call("libgobject-2.0.so.0", "g_cclosure_marshal_BOOLEAN__FLAGS", [
|
|
93
141
|
{
|
|
@@ -133,6 +181,17 @@ export const cclosureMarshal_BOOLEAN__FLAGS = (closure, returnValue, nParamValue
|
|
|
133
181
|
},
|
|
134
182
|
], { type: "undefined" });
|
|
135
183
|
};
|
|
184
|
+
/**
|
|
185
|
+
* A #GClosureMarshal function for use with signals with handlers that
|
|
186
|
+
* take a #GObject and a pointer and produce a string. It is highly
|
|
187
|
+
* unlikely that your signal handler fits this description.
|
|
188
|
+
* @param closure - A #GClosure.
|
|
189
|
+
* @param returnValue - A #GValue to store the return value. May be %NULL
|
|
190
|
+
* @param nParamValues - The length of the `param_values` array.
|
|
191
|
+
* @param paramValues - An array of #GValues holding the arguments
|
|
192
|
+
* @param invocationHint - The invocation hint given as the last argument to
|
|
193
|
+
* @param marshalData - Additional data specified when registering the
|
|
194
|
+
*/
|
|
136
195
|
export const cclosureMarshal_STRING__OBJECT_POINTER = (closure, returnValue, nParamValues, paramValues, invocationHint, marshalData) => {
|
|
137
196
|
call("libgobject-2.0.so.0", "g_cclosure_marshal_STRING__OBJECT_POINTER", [
|
|
138
197
|
{
|
|
@@ -178,6 +237,16 @@ export const cclosureMarshal_STRING__OBJECT_POINTER = (closure, returnValue, nPa
|
|
|
178
237
|
},
|
|
179
238
|
], { type: "undefined" });
|
|
180
239
|
};
|
|
240
|
+
/**
|
|
241
|
+
* A #GClosureMarshal function for use with signals with a single
|
|
242
|
+
* boolean argument.
|
|
243
|
+
* @param closure - A #GClosure.
|
|
244
|
+
* @param returnValue - A #GValue to store the return value. May be %NULL
|
|
245
|
+
* @param nParamValues - The length of the `param_values` array.
|
|
246
|
+
* @param paramValues - An array of #GValues holding the arguments
|
|
247
|
+
* @param invocationHint - The invocation hint given as the last argument to
|
|
248
|
+
* @param marshalData - Additional data specified when registering the
|
|
249
|
+
*/
|
|
181
250
|
export const cclosureMarshal_VOID__BOOLEAN = (closure, returnValue, nParamValues, paramValues, invocationHint, marshalData) => {
|
|
182
251
|
call("libgobject-2.0.so.0", "g_cclosure_marshal_VOID__BOOLEAN", [
|
|
183
252
|
{
|
|
@@ -223,6 +292,16 @@ export const cclosureMarshal_VOID__BOOLEAN = (closure, returnValue, nParamValues
|
|
|
223
292
|
},
|
|
224
293
|
], { type: "undefined" });
|
|
225
294
|
};
|
|
295
|
+
/**
|
|
296
|
+
* A #GClosureMarshal function for use with signals with a single
|
|
297
|
+
* argument which is any boxed pointer type.
|
|
298
|
+
* @param closure - A #GClosure.
|
|
299
|
+
* @param returnValue - A #GValue to store the return value. May be %NULL
|
|
300
|
+
* @param nParamValues - The length of the `param_values` array.
|
|
301
|
+
* @param paramValues - An array of #GValues holding the arguments
|
|
302
|
+
* @param invocationHint - The invocation hint given as the last argument to
|
|
303
|
+
* @param marshalData - Additional data specified when registering the
|
|
304
|
+
*/
|
|
226
305
|
export const cclosureMarshal_VOID__BOXED = (closure, returnValue, nParamValues, paramValues, invocationHint, marshalData) => {
|
|
227
306
|
call("libgobject-2.0.so.0", "g_cclosure_marshal_VOID__BOXED", [
|
|
228
307
|
{
|
|
@@ -268,6 +347,16 @@ export const cclosureMarshal_VOID__BOXED = (closure, returnValue, nParamValues,
|
|
|
268
347
|
},
|
|
269
348
|
], { type: "undefined" });
|
|
270
349
|
};
|
|
350
|
+
/**
|
|
351
|
+
* A #GClosureMarshal function for use with signals with a single
|
|
352
|
+
* character argument.
|
|
353
|
+
* @param closure - A #GClosure.
|
|
354
|
+
* @param returnValue - A #GValue to store the return value. May be %NULL
|
|
355
|
+
* @param nParamValues - The length of the `param_values` array.
|
|
356
|
+
* @param paramValues - An array of #GValues holding the arguments
|
|
357
|
+
* @param invocationHint - The invocation hint given as the last argument to
|
|
358
|
+
* @param marshalData - Additional data specified when registering the
|
|
359
|
+
*/
|
|
271
360
|
export const cclosureMarshal_VOID__CHAR = (closure, returnValue, nParamValues, paramValues, invocationHint, marshalData) => {
|
|
272
361
|
call("libgobject-2.0.so.0", "g_cclosure_marshal_VOID__CHAR", [
|
|
273
362
|
{
|
|
@@ -313,6 +402,16 @@ export const cclosureMarshal_VOID__CHAR = (closure, returnValue, nParamValues, p
|
|
|
313
402
|
},
|
|
314
403
|
], { type: "undefined" });
|
|
315
404
|
};
|
|
405
|
+
/**
|
|
406
|
+
* A #GClosureMarshal function for use with signals with one
|
|
407
|
+
* double-precision floating point argument.
|
|
408
|
+
* @param closure - A #GClosure.
|
|
409
|
+
* @param returnValue - A #GValue to store the return value. May be %NULL
|
|
410
|
+
* @param nParamValues - The length of the `param_values` array.
|
|
411
|
+
* @param paramValues - An array of #GValues holding the arguments
|
|
412
|
+
* @param invocationHint - The invocation hint given as the last argument to
|
|
413
|
+
* @param marshalData - Additional data specified when registering the
|
|
414
|
+
*/
|
|
316
415
|
export const cclosureMarshal_VOID__DOUBLE = (closure, returnValue, nParamValues, paramValues, invocationHint, marshalData) => {
|
|
317
416
|
call("libgobject-2.0.so.0", "g_cclosure_marshal_VOID__DOUBLE", [
|
|
318
417
|
{
|
|
@@ -358,6 +457,16 @@ export const cclosureMarshal_VOID__DOUBLE = (closure, returnValue, nParamValues,
|
|
|
358
457
|
},
|
|
359
458
|
], { type: "undefined" });
|
|
360
459
|
};
|
|
460
|
+
/**
|
|
461
|
+
* A #GClosureMarshal function for use with signals with a single
|
|
462
|
+
* argument with an enumerated type.
|
|
463
|
+
* @param closure - A #GClosure.
|
|
464
|
+
* @param returnValue - A #GValue to store the return value. May be %NULL
|
|
465
|
+
* @param nParamValues - The length of the `param_values` array.
|
|
466
|
+
* @param paramValues - An array of #GValues holding the arguments
|
|
467
|
+
* @param invocationHint - The invocation hint given as the last argument to
|
|
468
|
+
* @param marshalData - Additional data specified when registering the
|
|
469
|
+
*/
|
|
361
470
|
export const cclosureMarshal_VOID__ENUM = (closure, returnValue, nParamValues, paramValues, invocationHint, marshalData) => {
|
|
362
471
|
call("libgobject-2.0.so.0", "g_cclosure_marshal_VOID__ENUM", [
|
|
363
472
|
{
|
|
@@ -403,6 +512,16 @@ export const cclosureMarshal_VOID__ENUM = (closure, returnValue, nParamValues, p
|
|
|
403
512
|
},
|
|
404
513
|
], { type: "undefined" });
|
|
405
514
|
};
|
|
515
|
+
/**
|
|
516
|
+
* A #GClosureMarshal function for use with signals with a single
|
|
517
|
+
* argument with a flags types.
|
|
518
|
+
* @param closure - A #GClosure.
|
|
519
|
+
* @param returnValue - A #GValue to store the return value. May be %NULL
|
|
520
|
+
* @param nParamValues - The length of the `param_values` array.
|
|
521
|
+
* @param paramValues - An array of #GValues holding the arguments
|
|
522
|
+
* @param invocationHint - The invocation hint given as the last argument to
|
|
523
|
+
* @param marshalData - Additional data specified when registering the
|
|
524
|
+
*/
|
|
406
525
|
export const cclosureMarshal_VOID__FLAGS = (closure, returnValue, nParamValues, paramValues, invocationHint, marshalData) => {
|
|
407
526
|
call("libgobject-2.0.so.0", "g_cclosure_marshal_VOID__FLAGS", [
|
|
408
527
|
{
|
|
@@ -448,6 +567,16 @@ export const cclosureMarshal_VOID__FLAGS = (closure, returnValue, nParamValues,
|
|
|
448
567
|
},
|
|
449
568
|
], { type: "undefined" });
|
|
450
569
|
};
|
|
570
|
+
/**
|
|
571
|
+
* A #GClosureMarshal function for use with signals with one
|
|
572
|
+
* single-precision floating point argument.
|
|
573
|
+
* @param closure - A #GClosure.
|
|
574
|
+
* @param returnValue - A #GValue to store the return value. May be %NULL
|
|
575
|
+
* @param nParamValues - The length of the `param_values` array.
|
|
576
|
+
* @param paramValues - An array of #GValues holding the arguments
|
|
577
|
+
* @param invocationHint - The invocation hint given as the last argument to
|
|
578
|
+
* @param marshalData - Additional data specified when registering the
|
|
579
|
+
*/
|
|
451
580
|
export const cclosureMarshal_VOID__FLOAT = (closure, returnValue, nParamValues, paramValues, invocationHint, marshalData) => {
|
|
452
581
|
call("libgobject-2.0.so.0", "g_cclosure_marshal_VOID__FLOAT", [
|
|
453
582
|
{
|
|
@@ -493,6 +622,16 @@ export const cclosureMarshal_VOID__FLOAT = (closure, returnValue, nParamValues,
|
|
|
493
622
|
},
|
|
494
623
|
], { type: "undefined" });
|
|
495
624
|
};
|
|
625
|
+
/**
|
|
626
|
+
* A #GClosureMarshal function for use with signals with a single
|
|
627
|
+
* integer argument.
|
|
628
|
+
* @param closure - A #GClosure.
|
|
629
|
+
* @param returnValue - A #GValue to store the return value. May be %NULL
|
|
630
|
+
* @param nParamValues - The length of the `param_values` array.
|
|
631
|
+
* @param paramValues - An array of #GValues holding the arguments
|
|
632
|
+
* @param invocationHint - The invocation hint given as the last argument to
|
|
633
|
+
* @param marshalData - Additional data specified when registering the
|
|
634
|
+
*/
|
|
496
635
|
export const cclosureMarshal_VOID__INT = (closure, returnValue, nParamValues, paramValues, invocationHint, marshalData) => {
|
|
497
636
|
call("libgobject-2.0.so.0", "g_cclosure_marshal_VOID__INT", [
|
|
498
637
|
{
|
|
@@ -538,6 +677,16 @@ export const cclosureMarshal_VOID__INT = (closure, returnValue, nParamValues, pa
|
|
|
538
677
|
},
|
|
539
678
|
], { type: "undefined" });
|
|
540
679
|
};
|
|
680
|
+
/**
|
|
681
|
+
* A #GClosureMarshal function for use with signals with with a single
|
|
682
|
+
* long integer argument.
|
|
683
|
+
* @param closure - A #GClosure.
|
|
684
|
+
* @param returnValue - A #GValue to store the return value. May be %NULL
|
|
685
|
+
* @param nParamValues - The length of the `param_values` array.
|
|
686
|
+
* @param paramValues - An array of #GValues holding the arguments
|
|
687
|
+
* @param invocationHint - The invocation hint given as the last argument to
|
|
688
|
+
* @param marshalData - Additional data specified when registering the
|
|
689
|
+
*/
|
|
541
690
|
export const cclosureMarshal_VOID__LONG = (closure, returnValue, nParamValues, paramValues, invocationHint, marshalData) => {
|
|
542
691
|
call("libgobject-2.0.so.0", "g_cclosure_marshal_VOID__LONG", [
|
|
543
692
|
{
|
|
@@ -583,6 +732,16 @@ export const cclosureMarshal_VOID__LONG = (closure, returnValue, nParamValues, p
|
|
|
583
732
|
},
|
|
584
733
|
], { type: "undefined" });
|
|
585
734
|
};
|
|
735
|
+
/**
|
|
736
|
+
* A #GClosureMarshal function for use with signals with a single
|
|
737
|
+
* #GObject argument.
|
|
738
|
+
* @param closure - A #GClosure.
|
|
739
|
+
* @param returnValue - A #GValue to store the return value. May be %NULL
|
|
740
|
+
* @param nParamValues - The length of the `param_values` array.
|
|
741
|
+
* @param paramValues - An array of #GValues holding the arguments
|
|
742
|
+
* @param invocationHint - The invocation hint given as the last argument to
|
|
743
|
+
* @param marshalData - Additional data specified when registering the
|
|
744
|
+
*/
|
|
586
745
|
export const cclosureMarshal_VOID__OBJECT = (closure, returnValue, nParamValues, paramValues, invocationHint, marshalData) => {
|
|
587
746
|
call("libgobject-2.0.so.0", "g_cclosure_marshal_VOID__OBJECT", [
|
|
588
747
|
{
|
|
@@ -628,6 +787,16 @@ export const cclosureMarshal_VOID__OBJECT = (closure, returnValue, nParamValues,
|
|
|
628
787
|
},
|
|
629
788
|
], { type: "undefined" });
|
|
630
789
|
};
|
|
790
|
+
/**
|
|
791
|
+
* A #GClosureMarshal function for use with signals with a single
|
|
792
|
+
* argument of type #GParamSpec.
|
|
793
|
+
* @param closure - A #GClosure.
|
|
794
|
+
* @param returnValue - A #GValue to store the return value. May be %NULL
|
|
795
|
+
* @param nParamValues - The length of the `param_values` array.
|
|
796
|
+
* @param paramValues - An array of #GValues holding the arguments
|
|
797
|
+
* @param invocationHint - The invocation hint given as the last argument to
|
|
798
|
+
* @param marshalData - Additional data specified when registering the
|
|
799
|
+
*/
|
|
631
800
|
export const cclosureMarshal_VOID__PARAM = (closure, returnValue, nParamValues, paramValues, invocationHint, marshalData) => {
|
|
632
801
|
call("libgobject-2.0.so.0", "g_cclosure_marshal_VOID__PARAM", [
|
|
633
802
|
{
|
|
@@ -673,6 +842,20 @@ export const cclosureMarshal_VOID__PARAM = (closure, returnValue, nParamValues,
|
|
|
673
842
|
},
|
|
674
843
|
], { type: "undefined" });
|
|
675
844
|
};
|
|
845
|
+
/**
|
|
846
|
+
* A #GClosureMarshal function for use with signals with a single raw
|
|
847
|
+
* pointer argument type.
|
|
848
|
+
*
|
|
849
|
+
* If it is possible, it is better to use one of the more specific
|
|
850
|
+
* functions such as g_cclosure_marshal_VOID__OBJECT() or
|
|
851
|
+
* g_cclosure_marshal_VOID__OBJECT().
|
|
852
|
+
* @param closure - A #GClosure.
|
|
853
|
+
* @param returnValue - A #GValue to store the return value. May be %NULL
|
|
854
|
+
* @param nParamValues - The length of the `param_values` array.
|
|
855
|
+
* @param paramValues - An array of #GValues holding the arguments
|
|
856
|
+
* @param invocationHint - The invocation hint given as the last argument to
|
|
857
|
+
* @param marshalData - Additional data specified when registering the
|
|
858
|
+
*/
|
|
676
859
|
export const cclosureMarshal_VOID__POINTER = (closure, returnValue, nParamValues, paramValues, invocationHint, marshalData) => {
|
|
677
860
|
call("libgobject-2.0.so.0", "g_cclosure_marshal_VOID__POINTER", [
|
|
678
861
|
{
|
|
@@ -718,6 +901,16 @@ export const cclosureMarshal_VOID__POINTER = (closure, returnValue, nParamValues
|
|
|
718
901
|
},
|
|
719
902
|
], { type: "undefined" });
|
|
720
903
|
};
|
|
904
|
+
/**
|
|
905
|
+
* A #GClosureMarshal function for use with signals with a single string
|
|
906
|
+
* argument.
|
|
907
|
+
* @param closure - A #GClosure.
|
|
908
|
+
* @param returnValue - A #GValue to store the return value. May be %NULL
|
|
909
|
+
* @param nParamValues - The length of the `param_values` array.
|
|
910
|
+
* @param paramValues - An array of #GValues holding the arguments
|
|
911
|
+
* @param invocationHint - The invocation hint given as the last argument to
|
|
912
|
+
* @param marshalData - Additional data specified when registering the
|
|
913
|
+
*/
|
|
721
914
|
export const cclosureMarshal_VOID__STRING = (closure, returnValue, nParamValues, paramValues, invocationHint, marshalData) => {
|
|
722
915
|
call("libgobject-2.0.so.0", "g_cclosure_marshal_VOID__STRING", [
|
|
723
916
|
{
|
|
@@ -763,6 +956,16 @@ export const cclosureMarshal_VOID__STRING = (closure, returnValue, nParamValues,
|
|
|
763
956
|
},
|
|
764
957
|
], { type: "undefined" });
|
|
765
958
|
};
|
|
959
|
+
/**
|
|
960
|
+
* A #GClosureMarshal function for use with signals with a single
|
|
961
|
+
* unsigned character argument.
|
|
962
|
+
* @param closure - A #GClosure.
|
|
963
|
+
* @param returnValue - A #GValue to store the return value. May be %NULL
|
|
964
|
+
* @param nParamValues - The length of the `param_values` array.
|
|
965
|
+
* @param paramValues - An array of #GValues holding the arguments
|
|
966
|
+
* @param invocationHint - The invocation hint given as the last argument to
|
|
967
|
+
* @param marshalData - Additional data specified when registering the
|
|
968
|
+
*/
|
|
766
969
|
export const cclosureMarshal_VOID__UCHAR = (closure, returnValue, nParamValues, paramValues, invocationHint, marshalData) => {
|
|
767
970
|
call("libgobject-2.0.so.0", "g_cclosure_marshal_VOID__UCHAR", [
|
|
768
971
|
{
|
|
@@ -808,6 +1011,16 @@ export const cclosureMarshal_VOID__UCHAR = (closure, returnValue, nParamValues,
|
|
|
808
1011
|
},
|
|
809
1012
|
], { type: "undefined" });
|
|
810
1013
|
};
|
|
1014
|
+
/**
|
|
1015
|
+
* A #GClosureMarshal function for use with signals with with a single
|
|
1016
|
+
* unsigned integer argument.
|
|
1017
|
+
* @param closure - A #GClosure.
|
|
1018
|
+
* @param returnValue - A #GValue to store the return value. May be %NULL
|
|
1019
|
+
* @param nParamValues - The length of the `param_values` array.
|
|
1020
|
+
* @param paramValues - An array of #GValues holding the arguments
|
|
1021
|
+
* @param invocationHint - The invocation hint given as the last argument to
|
|
1022
|
+
* @param marshalData - Additional data specified when registering the
|
|
1023
|
+
*/
|
|
811
1024
|
export const cclosureMarshal_VOID__UINT = (closure, returnValue, nParamValues, paramValues, invocationHint, marshalData) => {
|
|
812
1025
|
call("libgobject-2.0.so.0", "g_cclosure_marshal_VOID__UINT", [
|
|
813
1026
|
{
|
|
@@ -853,6 +1066,16 @@ export const cclosureMarshal_VOID__UINT = (closure, returnValue, nParamValues, p
|
|
|
853
1066
|
},
|
|
854
1067
|
], { type: "undefined" });
|
|
855
1068
|
};
|
|
1069
|
+
/**
|
|
1070
|
+
* A #GClosureMarshal function for use with signals with an unsigned int
|
|
1071
|
+
* and a pointer as arguments.
|
|
1072
|
+
* @param closure - A #GClosure.
|
|
1073
|
+
* @param returnValue - A #GValue to store the return value. May be %NULL
|
|
1074
|
+
* @param nParamValues - The length of the `param_values` array.
|
|
1075
|
+
* @param paramValues - An array of #GValues holding the arguments
|
|
1076
|
+
* @param invocationHint - The invocation hint given as the last argument to
|
|
1077
|
+
* @param marshalData - Additional data specified when registering the
|
|
1078
|
+
*/
|
|
856
1079
|
export const cclosureMarshal_VOID__UINT_POINTER = (closure, returnValue, nParamValues, paramValues, invocationHint, marshalData) => {
|
|
857
1080
|
call("libgobject-2.0.so.0", "g_cclosure_marshal_VOID__UINT_POINTER", [
|
|
858
1081
|
{
|
|
@@ -898,6 +1121,16 @@ export const cclosureMarshal_VOID__UINT_POINTER = (closure, returnValue, nParamV
|
|
|
898
1121
|
},
|
|
899
1122
|
], { type: "undefined" });
|
|
900
1123
|
};
|
|
1124
|
+
/**
|
|
1125
|
+
* A #GClosureMarshal function for use with signals with a single
|
|
1126
|
+
* unsigned long integer argument.
|
|
1127
|
+
* @param closure - A #GClosure.
|
|
1128
|
+
* @param returnValue - A #GValue to store the return value. May be %NULL
|
|
1129
|
+
* @param nParamValues - The length of the `param_values` array.
|
|
1130
|
+
* @param paramValues - An array of #GValues holding the arguments
|
|
1131
|
+
* @param invocationHint - The invocation hint given as the last argument to
|
|
1132
|
+
* @param marshalData - Additional data specified when registering the
|
|
1133
|
+
*/
|
|
901
1134
|
export const cclosureMarshal_VOID__ULONG = (closure, returnValue, nParamValues, paramValues, invocationHint, marshalData) => {
|
|
902
1135
|
call("libgobject-2.0.so.0", "g_cclosure_marshal_VOID__ULONG", [
|
|
903
1136
|
{
|
|
@@ -943,6 +1176,16 @@ export const cclosureMarshal_VOID__ULONG = (closure, returnValue, nParamValues,
|
|
|
943
1176
|
},
|
|
944
1177
|
], { type: "undefined" });
|
|
945
1178
|
};
|
|
1179
|
+
/**
|
|
1180
|
+
* A #GClosureMarshal function for use with signals with a single
|
|
1181
|
+
* #GVariant argument.
|
|
1182
|
+
* @param closure - A #GClosure.
|
|
1183
|
+
* @param returnValue - A #GValue to store the return value. May be %NULL
|
|
1184
|
+
* @param nParamValues - The length of the `param_values` array.
|
|
1185
|
+
* @param paramValues - An array of #GValues holding the arguments
|
|
1186
|
+
* @param invocationHint - The invocation hint given as the last argument to
|
|
1187
|
+
* @param marshalData - Additional data specified when registering the
|
|
1188
|
+
*/
|
|
946
1189
|
export const cclosureMarshal_VOID__VARIANT = (closure, returnValue, nParamValues, paramValues, invocationHint, marshalData) => {
|
|
947
1190
|
call("libgobject-2.0.so.0", "g_cclosure_marshal_VOID__VARIANT", [
|
|
948
1191
|
{
|
|
@@ -988,6 +1231,15 @@ export const cclosureMarshal_VOID__VARIANT = (closure, returnValue, nParamValues
|
|
|
988
1231
|
},
|
|
989
1232
|
], { type: "undefined" });
|
|
990
1233
|
};
|
|
1234
|
+
/**
|
|
1235
|
+
* A #GClosureMarshal function for use with signals with no arguments.
|
|
1236
|
+
* @param closure - A #GClosure.
|
|
1237
|
+
* @param returnValue - A #GValue to store the return value. May be %NULL
|
|
1238
|
+
* @param nParamValues - The length of the `param_values` array.
|
|
1239
|
+
* @param paramValues - An array of #GValues holding the arguments
|
|
1240
|
+
* @param invocationHint - The invocation hint given as the last argument to
|
|
1241
|
+
* @param marshalData - Additional data specified when registering the
|
|
1242
|
+
*/
|
|
991
1243
|
export const cclosureMarshal_VOID__VOID = (closure, returnValue, nParamValues, paramValues, invocationHint, marshalData) => {
|
|
992
1244
|
call("libgobject-2.0.so.0", "g_cclosure_marshal_VOID__VOID", [
|
|
993
1245
|
{
|
|
@@ -1033,6 +1285,19 @@ export const cclosureMarshal_VOID__VOID = (closure, returnValue, nParamValues, p
|
|
|
1033
1285
|
},
|
|
1034
1286
|
], { type: "undefined" });
|
|
1035
1287
|
};
|
|
1288
|
+
/**
|
|
1289
|
+
* A generic marshaller function implemented via
|
|
1290
|
+
* [libffi](http://sourceware.org/libffi/).
|
|
1291
|
+
*
|
|
1292
|
+
* Normally this function is not passed explicitly to g_signal_new(),
|
|
1293
|
+
* but used automatically by GLib when specifying a %NULL marshaller.
|
|
1294
|
+
* @param closure - A #GClosure.
|
|
1295
|
+
* @param returnGvalue - A #GValue to store the return value. May be %NULL
|
|
1296
|
+
* @param nParamValues - The length of the `param_values` array.
|
|
1297
|
+
* @param paramValues - An array of #GValues holding the arguments
|
|
1298
|
+
* @param invocationHint - The invocation hint given as the last argument to
|
|
1299
|
+
* @param marshalData - Additional data specified when registering the
|
|
1300
|
+
*/
|
|
1036
1301
|
export const cclosureMarshalGeneric = (closure, returnGvalue, nParamValues, paramValues, invocationHint, marshalData) => {
|
|
1037
1302
|
call("libgobject-2.0.so.0", "g_cclosure_marshal_generic", [
|
|
1038
1303
|
{
|
|
@@ -1078,6 +1343,18 @@ export const cclosureMarshalGeneric = (closure, returnGvalue, nParamValues, para
|
|
|
1078
1343
|
},
|
|
1079
1344
|
], { type: "undefined" });
|
|
1080
1345
|
};
|
|
1346
|
+
/**
|
|
1347
|
+
* Disconnects a handler from `instance` so it will not be called during
|
|
1348
|
+
* any future or currently ongoing emissions of the signal it has been
|
|
1349
|
+
* connected to. The `handler_id_ptr` is then set to zero, which is never a valid handler ID value (see g_signal_connect()).
|
|
1350
|
+
*
|
|
1351
|
+
* If the handler ID is 0 then this function does nothing.
|
|
1352
|
+
*
|
|
1353
|
+
* There is also a macro version of this function so that the code
|
|
1354
|
+
* will be inlined.
|
|
1355
|
+
* @param handlerIdPtr - A pointer to a handler ID (of type #gulong) of the handler to be disconnected.
|
|
1356
|
+
* @param instance - The instance to remove the signal handler from.
|
|
1357
|
+
*/
|
|
1081
1358
|
export const clearSignalHandler = (handlerIdPtr, instance) => {
|
|
1082
1359
|
call("libgobject-2.0.so.0", "g_clear_signal_handler", [
|
|
1083
1360
|
{
|
|
@@ -1090,6 +1367,31 @@ export const clearSignalHandler = (handlerIdPtr, instance) => {
|
|
|
1090
1367
|
},
|
|
1091
1368
|
], { type: "undefined" });
|
|
1092
1369
|
};
|
|
1370
|
+
/**
|
|
1371
|
+
* This function is meant to be called from the `complete_type_info`
|
|
1372
|
+
* function of a #GTypePlugin implementation, as in the following
|
|
1373
|
+
* example:
|
|
1374
|
+
*
|
|
1375
|
+
* |[<!-- language="C" -->
|
|
1376
|
+
* static void
|
|
1377
|
+
* my_enum_complete_type_info (GTypePlugin *plugin,
|
|
1378
|
+
* GType g_type,
|
|
1379
|
+
* GTypeInfo *info,
|
|
1380
|
+
* GTypeValueTable *value_table)
|
|
1381
|
+
* {
|
|
1382
|
+
* static const GEnumValue values[] = {
|
|
1383
|
+
* { MY_ENUM_FOO, "MY_ENUM_FOO", "foo" },
|
|
1384
|
+
* { MY_ENUM_BAR, "MY_ENUM_BAR", "bar" },
|
|
1385
|
+
* { 0, NULL, NULL }
|
|
1386
|
+
* };
|
|
1387
|
+
*
|
|
1388
|
+
* g_enum_complete_type_info (type, info, values);
|
|
1389
|
+
* }
|
|
1390
|
+
* ]|
|
|
1391
|
+
* @param gEnumType - the type identifier of the type being completed
|
|
1392
|
+
* @param info - the #GTypeInfo struct to be filled in
|
|
1393
|
+
* @param constValues - An array of #GEnumValue
|
|
1394
|
+
*/
|
|
1093
1395
|
export const enumCompleteTypeInfo = (gEnumType, info, constValues) => {
|
|
1094
1396
|
call("libgobject-2.0.so.0", "g_enum_complete_type_info", [
|
|
1095
1397
|
{
|
|
@@ -1112,6 +1414,11 @@ export const enumCompleteTypeInfo = (gEnumType, info, constValues) => {
|
|
|
1112
1414
|
},
|
|
1113
1415
|
], { type: "undefined" });
|
|
1114
1416
|
};
|
|
1417
|
+
/**
|
|
1418
|
+
* Returns the #GEnumValue for a value.
|
|
1419
|
+
* @param enumClass - a #GEnumClass
|
|
1420
|
+
* @param value - the value to look up
|
|
1421
|
+
*/
|
|
1115
1422
|
export const enumGetValue = (enumClass, value) => {
|
|
1116
1423
|
return call("libgobject-2.0.so.0", "g_enum_get_value", [
|
|
1117
1424
|
{
|
|
@@ -1124,6 +1431,11 @@ export const enumGetValue = (enumClass, value) => {
|
|
|
1124
1431
|
},
|
|
1125
1432
|
], { type: "int", size: 64, unsigned: true });
|
|
1126
1433
|
};
|
|
1434
|
+
/**
|
|
1435
|
+
* Looks up a #GEnumValue by name.
|
|
1436
|
+
* @param enumClass - a #GEnumClass
|
|
1437
|
+
* @param name - the name to look up
|
|
1438
|
+
*/
|
|
1127
1439
|
export const enumGetValueByName = (enumClass, name) => {
|
|
1128
1440
|
return call("libgobject-2.0.so.0", "g_enum_get_value_by_name", [
|
|
1129
1441
|
{
|
|
@@ -1136,6 +1448,11 @@ export const enumGetValueByName = (enumClass, name) => {
|
|
|
1136
1448
|
},
|
|
1137
1449
|
], { type: "int", size: 64, unsigned: true });
|
|
1138
1450
|
};
|
|
1451
|
+
/**
|
|
1452
|
+
* Looks up a #GEnumValue by nickname.
|
|
1453
|
+
* @param enumClass - a #GEnumClass
|
|
1454
|
+
* @param nick - the nickname to look up
|
|
1455
|
+
*/
|
|
1139
1456
|
export const enumGetValueByNick = (enumClass, nick) => {
|
|
1140
1457
|
return call("libgobject-2.0.so.0", "g_enum_get_value_by_nick", [
|
|
1141
1458
|
{
|
|
@@ -1148,6 +1465,15 @@ export const enumGetValueByNick = (enumClass, nick) => {
|
|
|
1148
1465
|
},
|
|
1149
1466
|
], { type: "int", size: 64, unsigned: true });
|
|
1150
1467
|
};
|
|
1468
|
+
/**
|
|
1469
|
+
* Registers a new static enumeration type with the name @name.
|
|
1470
|
+
*
|
|
1471
|
+
* It is normally more convenient to let [glib-mkenums][glib-mkenums],
|
|
1472
|
+
* generate a my_enum_get_type() function from a usual C enumeration
|
|
1473
|
+
* definition than to write one yourself using g_enum_register_static().
|
|
1474
|
+
* @param name - A nul-terminated string used as the name of the new type.
|
|
1475
|
+
* @param constStaticValues - An array of
|
|
1476
|
+
*/
|
|
1151
1477
|
export const enumRegisterStatic = (name, constStaticValues) => {
|
|
1152
1478
|
return call("libgobject-2.0.so.0", "g_enum_register_static", [
|
|
1153
1479
|
{
|
|
@@ -1163,6 +1489,14 @@ export const enumRegisterStatic = (name, constStaticValues) => {
|
|
|
1163
1489
|
},
|
|
1164
1490
|
], { type: "int", size: 64, unsigned: true });
|
|
1165
1491
|
};
|
|
1492
|
+
/**
|
|
1493
|
+
* Pretty-prints `value` in the form of the enum’s name.
|
|
1494
|
+
*
|
|
1495
|
+
* This is intended to be used for debugging purposes. The format of the output
|
|
1496
|
+
* may change in the future.
|
|
1497
|
+
* @param gEnumType - the type identifier of a #GEnumClass type
|
|
1498
|
+
* @param value - the value
|
|
1499
|
+
*/
|
|
1166
1500
|
export const enumToString = (gEnumType, value) => {
|
|
1167
1501
|
return call("libgobject-2.0.so.0", "g_enum_to_string", [
|
|
1168
1502
|
{
|
|
@@ -1175,6 +1509,14 @@ export const enumToString = (gEnumType, value) => {
|
|
|
1175
1509
|
},
|
|
1176
1510
|
], { type: "string" });
|
|
1177
1511
|
};
|
|
1512
|
+
/**
|
|
1513
|
+
* This function is meant to be called from the complete_type_info()
|
|
1514
|
+
* function of a #GTypePlugin implementation, see the example for
|
|
1515
|
+
* g_enum_complete_type_info() above.
|
|
1516
|
+
* @param gFlagsType - the type identifier of the type being completed
|
|
1517
|
+
* @param info - the #GTypeInfo struct to be filled in
|
|
1518
|
+
* @param constValues - An array of #GFlagsValue
|
|
1519
|
+
*/
|
|
1178
1520
|
export const flagsCompleteTypeInfo = (gFlagsType, info, constValues) => {
|
|
1179
1521
|
call("libgobject-2.0.so.0", "g_flags_complete_type_info", [
|
|
1180
1522
|
{
|
|
@@ -1197,6 +1539,11 @@ export const flagsCompleteTypeInfo = (gFlagsType, info, constValues) => {
|
|
|
1197
1539
|
},
|
|
1198
1540
|
], { type: "undefined" });
|
|
1199
1541
|
};
|
|
1542
|
+
/**
|
|
1543
|
+
* Returns the first #GFlagsValue which is set in @value.
|
|
1544
|
+
* @param flagsClass - a #GFlagsClass
|
|
1545
|
+
* @param value - the value
|
|
1546
|
+
*/
|
|
1200
1547
|
export const flagsGetFirstValue = (flagsClass, value) => {
|
|
1201
1548
|
return call("libgobject-2.0.so.0", "g_flags_get_first_value", [
|
|
1202
1549
|
{
|
|
@@ -1209,6 +1556,11 @@ export const flagsGetFirstValue = (flagsClass, value) => {
|
|
|
1209
1556
|
},
|
|
1210
1557
|
], { type: "int", size: 64, unsigned: true });
|
|
1211
1558
|
};
|
|
1559
|
+
/**
|
|
1560
|
+
* Looks up a #GFlagsValue by name.
|
|
1561
|
+
* @param flagsClass - a #GFlagsClass
|
|
1562
|
+
* @param name - the name to look up
|
|
1563
|
+
*/
|
|
1212
1564
|
export const flagsGetValueByName = (flagsClass, name) => {
|
|
1213
1565
|
return call("libgobject-2.0.so.0", "g_flags_get_value_by_name", [
|
|
1214
1566
|
{
|
|
@@ -1221,6 +1573,11 @@ export const flagsGetValueByName = (flagsClass, name) => {
|
|
|
1221
1573
|
},
|
|
1222
1574
|
], { type: "int", size: 64, unsigned: true });
|
|
1223
1575
|
};
|
|
1576
|
+
/**
|
|
1577
|
+
* Looks up a #GFlagsValue by nickname.
|
|
1578
|
+
* @param flagsClass - a #GFlagsClass
|
|
1579
|
+
* @param nick - the nickname to look up
|
|
1580
|
+
*/
|
|
1224
1581
|
export const flagsGetValueByNick = (flagsClass, nick) => {
|
|
1225
1582
|
return call("libgobject-2.0.so.0", "g_flags_get_value_by_nick", [
|
|
1226
1583
|
{
|
|
@@ -1233,6 +1590,15 @@ export const flagsGetValueByNick = (flagsClass, nick) => {
|
|
|
1233
1590
|
},
|
|
1234
1591
|
], { type: "int", size: 64, unsigned: true });
|
|
1235
1592
|
};
|
|
1593
|
+
/**
|
|
1594
|
+
* Registers a new static flags type with the name @name.
|
|
1595
|
+
*
|
|
1596
|
+
* It is normally more convenient to let [glib-mkenums][glib-mkenums]
|
|
1597
|
+
* generate a my_flags_get_type() function from a usual C enumeration
|
|
1598
|
+
* definition than to write one yourself using g_flags_register_static().
|
|
1599
|
+
* @param name - A nul-terminated string used as the name of the new type.
|
|
1600
|
+
* @param constStaticValues - An array of
|
|
1601
|
+
*/
|
|
1236
1602
|
export const flagsRegisterStatic = (name, constStaticValues) => {
|
|
1237
1603
|
return call("libgobject-2.0.so.0", "g_flags_register_static", [
|
|
1238
1604
|
{
|
|
@@ -1248,6 +1614,15 @@ export const flagsRegisterStatic = (name, constStaticValues) => {
|
|
|
1248
1614
|
},
|
|
1249
1615
|
], { type: "int", size: 64, unsigned: true });
|
|
1250
1616
|
};
|
|
1617
|
+
/**
|
|
1618
|
+
* Pretty-prints `value` in the form of the flag names separated by ` | ` and
|
|
1619
|
+
* sorted. Any extra bits will be shown at the end as a hexadecimal number.
|
|
1620
|
+
*
|
|
1621
|
+
* This is intended to be used for debugging purposes. The format of the output
|
|
1622
|
+
* may change in the future.
|
|
1623
|
+
* @param flagsType - the type identifier of a #GFlagsClass type
|
|
1624
|
+
* @param value - the value
|
|
1625
|
+
*/
|
|
1251
1626
|
export const flagsToString = (flagsType, value) => {
|
|
1252
1627
|
return call("libgobject-2.0.so.0", "g_flags_to_string", [
|
|
1253
1628
|
{
|
|
@@ -1267,6 +1642,20 @@ export const gtypeGetType = () => {
|
|
|
1267
1642
|
unsigned: true,
|
|
1268
1643
|
});
|
|
1269
1644
|
};
|
|
1645
|
+
/**
|
|
1646
|
+
* Creates a new #GParamSpecBoolean instance specifying a %G_TYPE_BOOLEAN
|
|
1647
|
+
* property. In many cases, it may be more appropriate to use an enum with
|
|
1648
|
+
* g_param_spec_enum(), both to improve code clarity by using explicitly named
|
|
1649
|
+
* values, and to allow for more values to be added in future without breaking
|
|
1650
|
+
* API.
|
|
1651
|
+
*
|
|
1652
|
+
* See g_param_spec_internal() for details on property names.
|
|
1653
|
+
* @param name - canonical name of the property specified
|
|
1654
|
+
* @param nick - nick name for the property specified
|
|
1655
|
+
* @param blurb - description of the property specified
|
|
1656
|
+
* @param defaultValue - default value for the property specified
|
|
1657
|
+
* @param flags - flags for the property specified
|
|
1658
|
+
*/
|
|
1270
1659
|
export const paramSpecBoolean = (name, defaultValue, flags, nick, blurb) => {
|
|
1271
1660
|
const ptr = call("libgobject-2.0.so.0", "g_param_spec_boolean", [
|
|
1272
1661
|
{
|
|
@@ -1294,6 +1683,17 @@ export const paramSpecBoolean = (name, defaultValue, flags, nick, blurb) => {
|
|
|
1294
1683
|
], { type: "gobject", borrowed: true });
|
|
1295
1684
|
return getObject(ptr, ParamSpec);
|
|
1296
1685
|
};
|
|
1686
|
+
/**
|
|
1687
|
+
* Creates a new #GParamSpecBoxed instance specifying a %G_TYPE_BOXED
|
|
1688
|
+
* derived property.
|
|
1689
|
+
*
|
|
1690
|
+
* See g_param_spec_internal() for details on property names.
|
|
1691
|
+
* @param name - canonical name of the property specified
|
|
1692
|
+
* @param nick - nick name for the property specified
|
|
1693
|
+
* @param blurb - description of the property specified
|
|
1694
|
+
* @param boxedType - %G_TYPE_BOXED derived type of this property
|
|
1695
|
+
* @param flags - flags for the property specified
|
|
1696
|
+
*/
|
|
1297
1697
|
export const paramSpecBoxed = (name, boxedType, flags, nick, blurb) => {
|
|
1298
1698
|
const ptr = call("libgobject-2.0.so.0", "g_param_spec_boxed", [
|
|
1299
1699
|
{
|
|
@@ -1321,6 +1721,16 @@ export const paramSpecBoxed = (name, boxedType, flags, nick, blurb) => {
|
|
|
1321
1721
|
], { type: "gobject", borrowed: true });
|
|
1322
1722
|
return getObject(ptr, ParamSpec);
|
|
1323
1723
|
};
|
|
1724
|
+
/**
|
|
1725
|
+
* Creates a new #GParamSpecChar instance specifying a %G_TYPE_CHAR property.
|
|
1726
|
+
* @param name - canonical name of the property specified
|
|
1727
|
+
* @param nick - nick name for the property specified
|
|
1728
|
+
* @param blurb - description of the property specified
|
|
1729
|
+
* @param minimum - minimum value for the property specified
|
|
1730
|
+
* @param maximum - maximum value for the property specified
|
|
1731
|
+
* @param defaultValue - default value for the property specified
|
|
1732
|
+
* @param flags - flags for the property specified
|
|
1733
|
+
*/
|
|
1324
1734
|
export const paramSpecChar = (name, minimum, maximum, defaultValue, flags, nick, blurb) => {
|
|
1325
1735
|
const ptr = call("libgobject-2.0.so.0", "g_param_spec_char", [
|
|
1326
1736
|
{
|
|
@@ -1356,6 +1766,19 @@ export const paramSpecChar = (name, minimum, maximum, defaultValue, flags, nick,
|
|
|
1356
1766
|
], { type: "gobject", borrowed: true });
|
|
1357
1767
|
return getObject(ptr, ParamSpec);
|
|
1358
1768
|
};
|
|
1769
|
+
/**
|
|
1770
|
+
* Creates a new #GParamSpecDouble instance specifying a %G_TYPE_DOUBLE
|
|
1771
|
+
* property.
|
|
1772
|
+
*
|
|
1773
|
+
* See g_param_spec_internal() for details on property names.
|
|
1774
|
+
* @param name - canonical name of the property specified
|
|
1775
|
+
* @param nick - nick name for the property specified
|
|
1776
|
+
* @param blurb - description of the property specified
|
|
1777
|
+
* @param minimum - minimum value for the property specified
|
|
1778
|
+
* @param maximum - maximum value for the property specified
|
|
1779
|
+
* @param defaultValue - default value for the property specified
|
|
1780
|
+
* @param flags - flags for the property specified
|
|
1781
|
+
*/
|
|
1359
1782
|
export const paramSpecDouble = (name, minimum, maximum, defaultValue, flags, nick, blurb) => {
|
|
1360
1783
|
const ptr = call("libgobject-2.0.so.0", "g_param_spec_double", [
|
|
1361
1784
|
{
|
|
@@ -1391,6 +1814,18 @@ export const paramSpecDouble = (name, minimum, maximum, defaultValue, flags, nic
|
|
|
1391
1814
|
], { type: "gobject", borrowed: true });
|
|
1392
1815
|
return getObject(ptr, ParamSpec);
|
|
1393
1816
|
};
|
|
1817
|
+
/**
|
|
1818
|
+
* Creates a new #GParamSpecEnum instance specifying a %G_TYPE_ENUM
|
|
1819
|
+
* property.
|
|
1820
|
+
*
|
|
1821
|
+
* See g_param_spec_internal() for details on property names.
|
|
1822
|
+
* @param name - canonical name of the property specified
|
|
1823
|
+
* @param nick - nick name for the property specified
|
|
1824
|
+
* @param blurb - description of the property specified
|
|
1825
|
+
* @param enumType - a #GType derived from %G_TYPE_ENUM
|
|
1826
|
+
* @param defaultValue - default value for the property specified
|
|
1827
|
+
* @param flags - flags for the property specified
|
|
1828
|
+
*/
|
|
1394
1829
|
export const paramSpecEnum = (name, enumType, defaultValue, flags, nick, blurb) => {
|
|
1395
1830
|
const ptr = call("libgobject-2.0.so.0", "g_param_spec_enum", [
|
|
1396
1831
|
{
|
|
@@ -1422,6 +1857,18 @@ export const paramSpecEnum = (name, enumType, defaultValue, flags, nick, blurb)
|
|
|
1422
1857
|
], { type: "gobject", borrowed: true });
|
|
1423
1858
|
return getObject(ptr, ParamSpec);
|
|
1424
1859
|
};
|
|
1860
|
+
/**
|
|
1861
|
+
* Creates a new #GParamSpecFlags instance specifying a %G_TYPE_FLAGS
|
|
1862
|
+
* property.
|
|
1863
|
+
*
|
|
1864
|
+
* See g_param_spec_internal() for details on property names.
|
|
1865
|
+
* @param name - canonical name of the property specified
|
|
1866
|
+
* @param nick - nick name for the property specified
|
|
1867
|
+
* @param blurb - description of the property specified
|
|
1868
|
+
* @param flagsType - a #GType derived from %G_TYPE_FLAGS
|
|
1869
|
+
* @param defaultValue - default value for the property specified
|
|
1870
|
+
* @param flags - flags for the property specified
|
|
1871
|
+
*/
|
|
1425
1872
|
export const paramSpecFlags = (name, flagsType, defaultValue, flags, nick, blurb) => {
|
|
1426
1873
|
const ptr = call("libgobject-2.0.so.0", "g_param_spec_flags", [
|
|
1427
1874
|
{
|
|
@@ -1453,6 +1900,18 @@ export const paramSpecFlags = (name, flagsType, defaultValue, flags, nick, blurb
|
|
|
1453
1900
|
], { type: "gobject", borrowed: true });
|
|
1454
1901
|
return getObject(ptr, ParamSpec);
|
|
1455
1902
|
};
|
|
1903
|
+
/**
|
|
1904
|
+
* Creates a new #GParamSpecFloat instance specifying a %G_TYPE_FLOAT property.
|
|
1905
|
+
*
|
|
1906
|
+
* See g_param_spec_internal() for details on property names.
|
|
1907
|
+
* @param name - canonical name of the property specified
|
|
1908
|
+
* @param nick - nick name for the property specified
|
|
1909
|
+
* @param blurb - description of the property specified
|
|
1910
|
+
* @param minimum - minimum value for the property specified
|
|
1911
|
+
* @param maximum - maximum value for the property specified
|
|
1912
|
+
* @param defaultValue - default value for the property specified
|
|
1913
|
+
* @param flags - flags for the property specified
|
|
1914
|
+
*/
|
|
1456
1915
|
export const paramSpecFloat = (name, minimum, maximum, defaultValue, flags, nick, blurb) => {
|
|
1457
1916
|
const ptr = call("libgobject-2.0.so.0", "g_param_spec_float", [
|
|
1458
1917
|
{
|
|
@@ -1488,6 +1947,17 @@ export const paramSpecFloat = (name, minimum, maximum, defaultValue, flags, nick
|
|
|
1488
1947
|
], { type: "gobject", borrowed: true });
|
|
1489
1948
|
return getObject(ptr, ParamSpec);
|
|
1490
1949
|
};
|
|
1950
|
+
/**
|
|
1951
|
+
* Creates a new #GParamSpecGType instance specifying a
|
|
1952
|
+
* %G_TYPE_GTYPE property.
|
|
1953
|
+
*
|
|
1954
|
+
* See g_param_spec_internal() for details on property names.
|
|
1955
|
+
* @param name - canonical name of the property specified
|
|
1956
|
+
* @param nick - nick name for the property specified
|
|
1957
|
+
* @param blurb - description of the property specified
|
|
1958
|
+
* @param isAType - a #GType whose subtypes are allowed as values
|
|
1959
|
+
* @param flags - flags for the property specified
|
|
1960
|
+
*/
|
|
1491
1961
|
export const paramSpecGtype = (name, isAType, flags, nick, blurb) => {
|
|
1492
1962
|
const ptr = call("libgobject-2.0.so.0", "g_param_spec_gtype", [
|
|
1493
1963
|
{
|
|
@@ -1515,6 +1985,18 @@ export const paramSpecGtype = (name, isAType, flags, nick, blurb) => {
|
|
|
1515
1985
|
], { type: "gobject", borrowed: true });
|
|
1516
1986
|
return getObject(ptr, ParamSpec);
|
|
1517
1987
|
};
|
|
1988
|
+
/**
|
|
1989
|
+
* Creates a new #GParamSpecInt instance specifying a %G_TYPE_INT property.
|
|
1990
|
+
*
|
|
1991
|
+
* See g_param_spec_internal() for details on property names.
|
|
1992
|
+
* @param name - canonical name of the property specified
|
|
1993
|
+
* @param nick - nick name for the property specified
|
|
1994
|
+
* @param blurb - description of the property specified
|
|
1995
|
+
* @param minimum - minimum value for the property specified
|
|
1996
|
+
* @param maximum - maximum value for the property specified
|
|
1997
|
+
* @param defaultValue - default value for the property specified
|
|
1998
|
+
* @param flags - flags for the property specified
|
|
1999
|
+
*/
|
|
1518
2000
|
export const paramSpecInt = (name, minimum, maximum, defaultValue, flags, nick, blurb) => {
|
|
1519
2001
|
const ptr = call("libgobject-2.0.so.0", "g_param_spec_int", [
|
|
1520
2002
|
{
|
|
@@ -1550,6 +2032,18 @@ export const paramSpecInt = (name, minimum, maximum, defaultValue, flags, nick,
|
|
|
1550
2032
|
], { type: "gobject", borrowed: true });
|
|
1551
2033
|
return getObject(ptr, ParamSpec);
|
|
1552
2034
|
};
|
|
2035
|
+
/**
|
|
2036
|
+
* Creates a new #GParamSpecInt64 instance specifying a %G_TYPE_INT64 property.
|
|
2037
|
+
*
|
|
2038
|
+
* See g_param_spec_internal() for details on property names.
|
|
2039
|
+
* @param name - canonical name of the property specified
|
|
2040
|
+
* @param nick - nick name for the property specified
|
|
2041
|
+
* @param blurb - description of the property specified
|
|
2042
|
+
* @param minimum - minimum value for the property specified
|
|
2043
|
+
* @param maximum - maximum value for the property specified
|
|
2044
|
+
* @param defaultValue - default value for the property specified
|
|
2045
|
+
* @param flags - flags for the property specified
|
|
2046
|
+
*/
|
|
1553
2047
|
export const paramSpecInt64 = (name, minimum, maximum, defaultValue, flags, nick, blurb) => {
|
|
1554
2048
|
const ptr = call("libgobject-2.0.so.0", "g_param_spec_int64", [
|
|
1555
2049
|
{
|
|
@@ -1585,6 +2079,18 @@ export const paramSpecInt64 = (name, minimum, maximum, defaultValue, flags, nick
|
|
|
1585
2079
|
], { type: "gobject", borrowed: true });
|
|
1586
2080
|
return getObject(ptr, ParamSpec);
|
|
1587
2081
|
};
|
|
2082
|
+
/**
|
|
2083
|
+
* Creates a new #GParamSpecLong instance specifying a %G_TYPE_LONG property.
|
|
2084
|
+
*
|
|
2085
|
+
* See g_param_spec_internal() for details on property names.
|
|
2086
|
+
* @param name - canonical name of the property specified
|
|
2087
|
+
* @param nick - nick name for the property specified
|
|
2088
|
+
* @param blurb - description of the property specified
|
|
2089
|
+
* @param minimum - minimum value for the property specified
|
|
2090
|
+
* @param maximum - maximum value for the property specified
|
|
2091
|
+
* @param defaultValue - default value for the property specified
|
|
2092
|
+
* @param flags - flags for the property specified
|
|
2093
|
+
*/
|
|
1588
2094
|
export const paramSpecLong = (name, minimum, maximum, defaultValue, flags, nick, blurb) => {
|
|
1589
2095
|
const ptr = call("libgobject-2.0.so.0", "g_param_spec_long", [
|
|
1590
2096
|
{
|
|
@@ -1620,6 +2126,17 @@ export const paramSpecLong = (name, minimum, maximum, defaultValue, flags, nick,
|
|
|
1620
2126
|
], { type: "gobject", borrowed: true });
|
|
1621
2127
|
return getObject(ptr, ParamSpec);
|
|
1622
2128
|
};
|
|
2129
|
+
/**
|
|
2130
|
+
* Creates a new #GParamSpecBoxed instance specifying a %G_TYPE_OBJECT
|
|
2131
|
+
* derived property.
|
|
2132
|
+
*
|
|
2133
|
+
* See g_param_spec_internal() for details on property names.
|
|
2134
|
+
* @param name - canonical name of the property specified
|
|
2135
|
+
* @param nick - nick name for the property specified
|
|
2136
|
+
* @param blurb - description of the property specified
|
|
2137
|
+
* @param objectType - %G_TYPE_OBJECT derived type of this property
|
|
2138
|
+
* @param flags - flags for the property specified
|
|
2139
|
+
*/
|
|
1623
2140
|
export const paramSpecObject = (name, objectType, flags, nick, blurb) => {
|
|
1624
2141
|
const ptr = call("libgobject-2.0.so.0", "g_param_spec_object", [
|
|
1625
2142
|
{
|
|
@@ -1647,6 +2164,17 @@ export const paramSpecObject = (name, objectType, flags, nick, blurb) => {
|
|
|
1647
2164
|
], { type: "gobject", borrowed: true });
|
|
1648
2165
|
return getObject(ptr, ParamSpec);
|
|
1649
2166
|
};
|
|
2167
|
+
/**
|
|
2168
|
+
* Creates a new #GParamSpecParam instance specifying a %G_TYPE_PARAM
|
|
2169
|
+
* property.
|
|
2170
|
+
*
|
|
2171
|
+
* See g_param_spec_internal() for details on property names.
|
|
2172
|
+
* @param name - canonical name of the property specified
|
|
2173
|
+
* @param nick - nick name for the property specified
|
|
2174
|
+
* @param blurb - description of the property specified
|
|
2175
|
+
* @param paramType - a #GType derived from %G_TYPE_PARAM
|
|
2176
|
+
* @param flags - flags for the property specified
|
|
2177
|
+
*/
|
|
1650
2178
|
export const paramSpecParam = (name, paramType, flags, nick, blurb) => {
|
|
1651
2179
|
const ptr = call("libgobject-2.0.so.0", "g_param_spec_param", [
|
|
1652
2180
|
{
|
|
@@ -1674,6 +2202,17 @@ export const paramSpecParam = (name, paramType, flags, nick, blurb) => {
|
|
|
1674
2202
|
], { type: "gobject", borrowed: true });
|
|
1675
2203
|
return getObject(ptr, ParamSpec);
|
|
1676
2204
|
};
|
|
2205
|
+
/**
|
|
2206
|
+
* Creates a new #GParamSpecPointer instance specifying a pointer property.
|
|
2207
|
+
* Where possible, it is better to use g_param_spec_object() or
|
|
2208
|
+
* g_param_spec_boxed() to expose memory management information.
|
|
2209
|
+
*
|
|
2210
|
+
* See g_param_spec_internal() for details on property names.
|
|
2211
|
+
* @param name - canonical name of the property specified
|
|
2212
|
+
* @param nick - nick name for the property specified
|
|
2213
|
+
* @param blurb - description of the property specified
|
|
2214
|
+
* @param flags - flags for the property specified
|
|
2215
|
+
*/
|
|
1677
2216
|
export const paramSpecPointer = (name, flags, nick, blurb) => {
|
|
1678
2217
|
const ptr = call("libgobject-2.0.so.0", "g_param_spec_pointer", [
|
|
1679
2218
|
{
|
|
@@ -1697,6 +2236,16 @@ export const paramSpecPointer = (name, flags, nick, blurb) => {
|
|
|
1697
2236
|
], { type: "gobject", borrowed: true });
|
|
1698
2237
|
return getObject(ptr, ParamSpec);
|
|
1699
2238
|
};
|
|
2239
|
+
/**
|
|
2240
|
+
* Creates a new #GParamSpecString instance.
|
|
2241
|
+
*
|
|
2242
|
+
* See g_param_spec_internal() for details on property names.
|
|
2243
|
+
* @param name - canonical name of the property specified
|
|
2244
|
+
* @param nick - nick name for the property specified
|
|
2245
|
+
* @param blurb - description of the property specified
|
|
2246
|
+
* @param defaultValue - default value for the property specified
|
|
2247
|
+
* @param flags - flags for the property specified
|
|
2248
|
+
*/
|
|
1700
2249
|
export const paramSpecString = (name, flags, nick, blurb, defaultValue) => {
|
|
1701
2250
|
const ptr = call("libgobject-2.0.so.0", "g_param_spec_string", [
|
|
1702
2251
|
{
|
|
@@ -1725,6 +2274,16 @@ export const paramSpecString = (name, flags, nick, blurb, defaultValue) => {
|
|
|
1725
2274
|
], { type: "gobject", borrowed: true });
|
|
1726
2275
|
return getObject(ptr, ParamSpec);
|
|
1727
2276
|
};
|
|
2277
|
+
/**
|
|
2278
|
+
* Creates a new #GParamSpecUChar instance specifying a %G_TYPE_UCHAR property.
|
|
2279
|
+
* @param name - canonical name of the property specified
|
|
2280
|
+
* @param nick - nick name for the property specified
|
|
2281
|
+
* @param blurb - description of the property specified
|
|
2282
|
+
* @param minimum - minimum value for the property specified
|
|
2283
|
+
* @param maximum - maximum value for the property specified
|
|
2284
|
+
* @param defaultValue - default value for the property specified
|
|
2285
|
+
* @param flags - flags for the property specified
|
|
2286
|
+
*/
|
|
1728
2287
|
export const paramSpecUchar = (name, minimum, maximum, defaultValue, flags, nick, blurb) => {
|
|
1729
2288
|
const ptr = call("libgobject-2.0.so.0", "g_param_spec_uchar", [
|
|
1730
2289
|
{
|
|
@@ -1760,6 +2319,18 @@ export const paramSpecUchar = (name, minimum, maximum, defaultValue, flags, nick
|
|
|
1760
2319
|
], { type: "gobject", borrowed: true });
|
|
1761
2320
|
return getObject(ptr, ParamSpec);
|
|
1762
2321
|
};
|
|
2322
|
+
/**
|
|
2323
|
+
* Creates a new #GParamSpecUInt instance specifying a %G_TYPE_UINT property.
|
|
2324
|
+
*
|
|
2325
|
+
* See g_param_spec_internal() for details on property names.
|
|
2326
|
+
* @param name - canonical name of the property specified
|
|
2327
|
+
* @param nick - nick name for the property specified
|
|
2328
|
+
* @param blurb - description of the property specified
|
|
2329
|
+
* @param minimum - minimum value for the property specified
|
|
2330
|
+
* @param maximum - maximum value for the property specified
|
|
2331
|
+
* @param defaultValue - default value for the property specified
|
|
2332
|
+
* @param flags - flags for the property specified
|
|
2333
|
+
*/
|
|
1763
2334
|
export const paramSpecUint = (name, minimum, maximum, defaultValue, flags, nick, blurb) => {
|
|
1764
2335
|
const ptr = call("libgobject-2.0.so.0", "g_param_spec_uint", [
|
|
1765
2336
|
{
|
|
@@ -1795,6 +2366,19 @@ export const paramSpecUint = (name, minimum, maximum, defaultValue, flags, nick,
|
|
|
1795
2366
|
], { type: "gobject", borrowed: true });
|
|
1796
2367
|
return getObject(ptr, ParamSpec);
|
|
1797
2368
|
};
|
|
2369
|
+
/**
|
|
2370
|
+
* Creates a new #GParamSpecUInt64 instance specifying a %G_TYPE_UINT64
|
|
2371
|
+
* property.
|
|
2372
|
+
*
|
|
2373
|
+
* See g_param_spec_internal() for details on property names.
|
|
2374
|
+
* @param name - canonical name of the property specified
|
|
2375
|
+
* @param nick - nick name for the property specified
|
|
2376
|
+
* @param blurb - description of the property specified
|
|
2377
|
+
* @param minimum - minimum value for the property specified
|
|
2378
|
+
* @param maximum - maximum value for the property specified
|
|
2379
|
+
* @param defaultValue - default value for the property specified
|
|
2380
|
+
* @param flags - flags for the property specified
|
|
2381
|
+
*/
|
|
1798
2382
|
export const paramSpecUint64 = (name, minimum, maximum, defaultValue, flags, nick, blurb) => {
|
|
1799
2383
|
const ptr = call("libgobject-2.0.so.0", "g_param_spec_uint64", [
|
|
1800
2384
|
{
|
|
@@ -1830,6 +2414,19 @@ export const paramSpecUint64 = (name, minimum, maximum, defaultValue, flags, nic
|
|
|
1830
2414
|
], { type: "gobject", borrowed: true });
|
|
1831
2415
|
return getObject(ptr, ParamSpec);
|
|
1832
2416
|
};
|
|
2417
|
+
/**
|
|
2418
|
+
* Creates a new #GParamSpecULong instance specifying a %G_TYPE_ULONG
|
|
2419
|
+
* property.
|
|
2420
|
+
*
|
|
2421
|
+
* See g_param_spec_internal() for details on property names.
|
|
2422
|
+
* @param name - canonical name of the property specified
|
|
2423
|
+
* @param nick - nick name for the property specified
|
|
2424
|
+
* @param blurb - description of the property specified
|
|
2425
|
+
* @param minimum - minimum value for the property specified
|
|
2426
|
+
* @param maximum - maximum value for the property specified
|
|
2427
|
+
* @param defaultValue - default value for the property specified
|
|
2428
|
+
* @param flags - flags for the property specified
|
|
2429
|
+
*/
|
|
1833
2430
|
export const paramSpecUlong = (name, minimum, maximum, defaultValue, flags, nick, blurb) => {
|
|
1834
2431
|
const ptr = call("libgobject-2.0.so.0", "g_param_spec_ulong", [
|
|
1835
2432
|
{
|
|
@@ -1865,6 +2462,18 @@ export const paramSpecUlong = (name, minimum, maximum, defaultValue, flags, nick
|
|
|
1865
2462
|
], { type: "gobject", borrowed: true });
|
|
1866
2463
|
return getObject(ptr, ParamSpec);
|
|
1867
2464
|
};
|
|
2465
|
+
/**
|
|
2466
|
+
* Creates a new #GParamSpecUnichar instance specifying a %G_TYPE_UINT
|
|
2467
|
+
* property. #GValue structures for this property can be accessed with
|
|
2468
|
+
* g_value_set_uint() and g_value_get_uint().
|
|
2469
|
+
*
|
|
2470
|
+
* See g_param_spec_internal() for details on property names.
|
|
2471
|
+
* @param name - canonical name of the property specified
|
|
2472
|
+
* @param nick - nick name for the property specified
|
|
2473
|
+
* @param blurb - description of the property specified
|
|
2474
|
+
* @param defaultValue - default value for the property specified
|
|
2475
|
+
* @param flags - flags for the property specified
|
|
2476
|
+
*/
|
|
1868
2477
|
export const paramSpecUnichar = (name, defaultValue, flags, nick, blurb) => {
|
|
1869
2478
|
const ptr = call("libgobject-2.0.so.0", "g_param_spec_unichar", [
|
|
1870
2479
|
{
|
|
@@ -1892,6 +2501,20 @@ export const paramSpecUnichar = (name, defaultValue, flags, nick, blurb) => {
|
|
|
1892
2501
|
], { type: "gobject", borrowed: true });
|
|
1893
2502
|
return getObject(ptr, ParamSpec);
|
|
1894
2503
|
};
|
|
2504
|
+
/**
|
|
2505
|
+
* Creates a new #GParamSpecVariant instance specifying a #GVariant
|
|
2506
|
+
* property.
|
|
2507
|
+
*
|
|
2508
|
+
* If `default_value` is floating, it is consumed.
|
|
2509
|
+
*
|
|
2510
|
+
* See g_param_spec_internal() for details on property names.
|
|
2511
|
+
* @param name - canonical name of the property specified
|
|
2512
|
+
* @param nick - nick name for the property specified
|
|
2513
|
+
* @param blurb - description of the property specified
|
|
2514
|
+
* @param type - a #GVariantType
|
|
2515
|
+
* @param defaultValue - a #GVariant of type `type` to
|
|
2516
|
+
* @param flags - flags for the property specified
|
|
2517
|
+
*/
|
|
1895
2518
|
export const paramSpecVariant = (name, type, flags, nick, blurb, defaultValue) => {
|
|
1896
2519
|
const ptr = call("libgobject-2.0.so.0", "g_param_spec_variant", [
|
|
1897
2520
|
{
|
|
@@ -1933,6 +2556,16 @@ export const paramSpecVariant = (name, type, flags, nick, blurb, defaultValue) =
|
|
|
1933
2556
|
], { type: "gobject", borrowed: true });
|
|
1934
2557
|
return getObject(ptr, ParamSpec);
|
|
1935
2558
|
};
|
|
2559
|
+
/**
|
|
2560
|
+
* Registers `name` as the name of a new static type derived
|
|
2561
|
+
* from %G_TYPE_PARAM.
|
|
2562
|
+
*
|
|
2563
|
+
* The type system uses the information contained in the #GParamSpecTypeInfo
|
|
2564
|
+
* structure pointed to by `info` to manage the #GParamSpec type and its
|
|
2565
|
+
* instances.
|
|
2566
|
+
* @param name - 0-terminated string used as the name of the new #GParamSpec type.
|
|
2567
|
+
* @param pspecInfo - The #GParamSpecTypeInfo for this #GParamSpec type.
|
|
2568
|
+
*/
|
|
1936
2569
|
export const paramTypeRegisterStatic = (name, pspecInfo) => {
|
|
1937
2570
|
return call("libgobject-2.0.so.0", "g_param_type_register_static", [
|
|
1938
2571
|
{
|
|
@@ -1945,6 +2578,19 @@ export const paramTypeRegisterStatic = (name, pspecInfo) => {
|
|
|
1945
2578
|
},
|
|
1946
2579
|
], { type: "int", size: 64, unsigned: true });
|
|
1947
2580
|
};
|
|
2581
|
+
/**
|
|
2582
|
+
* Transforms `src_value` into `dest_value` if possible, and then
|
|
2583
|
+
* validates @dest_value, in order for it to conform to @pspec. If
|
|
2584
|
+
* `strict_validation` is %TRUE this function will only succeed if the
|
|
2585
|
+
* transformed `dest_value` complied to `pspec` without modifications.
|
|
2586
|
+
*
|
|
2587
|
+
* See also g_value_type_transformable(), g_value_transform() and
|
|
2588
|
+
* g_param_value_validate().
|
|
2589
|
+
* @param pspec - a valid #GParamSpec
|
|
2590
|
+
* @param srcValue - source #GValue
|
|
2591
|
+
* @param destValue - destination #GValue of correct type for @pspec
|
|
2592
|
+
* @param strictValidation - %TRUE requires `dest_value` to conform to `pspec` without modifications
|
|
2593
|
+
*/
|
|
1948
2594
|
export const paramValueConvert = (pspec, srcValue, destValue, strictValidation) => {
|
|
1949
2595
|
return call("libgobject-2.0.so.0", "g_param_value_convert", [
|
|
1950
2596
|
{
|
|
@@ -1975,6 +2621,11 @@ export const paramValueConvert = (pspec, srcValue, destValue, strictValidation)
|
|
|
1975
2621
|
},
|
|
1976
2622
|
], { type: "boolean" });
|
|
1977
2623
|
};
|
|
2624
|
+
/**
|
|
2625
|
+
* Checks whether `value` contains the default value as specified in @pspec.
|
|
2626
|
+
* @param pspec - a valid #GParamSpec
|
|
2627
|
+
* @param value - a #GValue of correct type for @pspec
|
|
2628
|
+
*/
|
|
1978
2629
|
export const paramValueDefaults = (pspec, value) => {
|
|
1979
2630
|
return call("libgobject-2.0.so.0", "g_param_value_defaults", [
|
|
1980
2631
|
{
|
|
@@ -1992,6 +2643,12 @@ export const paramValueDefaults = (pspec, value) => {
|
|
|
1992
2643
|
},
|
|
1993
2644
|
], { type: "boolean" });
|
|
1994
2645
|
};
|
|
2646
|
+
/**
|
|
2647
|
+
* Return whether the contents of `value` comply with the specifications
|
|
2648
|
+
* set out by @pspec.
|
|
2649
|
+
* @param pspec - a valid #GParamSpec
|
|
2650
|
+
* @param value - a #GValue of correct type for @pspec
|
|
2651
|
+
*/
|
|
1995
2652
|
export const paramValueIsValid = (pspec, value) => {
|
|
1996
2653
|
return call("libgobject-2.0.so.0", "g_param_value_is_valid", [
|
|
1997
2654
|
{
|
|
@@ -2009,6 +2666,11 @@ export const paramValueIsValid = (pspec, value) => {
|
|
|
2009
2666
|
},
|
|
2010
2667
|
], { type: "boolean" });
|
|
2011
2668
|
};
|
|
2669
|
+
/**
|
|
2670
|
+
* Sets `value` to its default value as specified in @pspec.
|
|
2671
|
+
* @param pspec - a valid #GParamSpec
|
|
2672
|
+
* @param value - a #GValue of correct type for @pspec; since 2.64, you
|
|
2673
|
+
*/
|
|
2012
2674
|
export const paramValueSetDefault = (pspec, value) => {
|
|
2013
2675
|
call("libgobject-2.0.so.0", "g_param_value_set_default", [
|
|
2014
2676
|
{
|
|
@@ -2026,6 +2688,16 @@ export const paramValueSetDefault = (pspec, value) => {
|
|
|
2026
2688
|
},
|
|
2027
2689
|
], { type: "undefined" });
|
|
2028
2690
|
};
|
|
2691
|
+
/**
|
|
2692
|
+
* Ensures that the contents of `value` comply with the specifications
|
|
2693
|
+
* set out by @pspec. For example, a #GParamSpecInt might require
|
|
2694
|
+
* that integers stored in `value` may not be smaller than -42 and not be
|
|
2695
|
+
* greater than +42. If `value` contains an integer outside of this range,
|
|
2696
|
+
* it is modified accordingly, so the resulting value will fit into the
|
|
2697
|
+
* range -42 .. +42.
|
|
2698
|
+
* @param pspec - a valid #GParamSpec
|
|
2699
|
+
* @param value - a #GValue of correct type for @pspec
|
|
2700
|
+
*/
|
|
2029
2701
|
export const paramValueValidate = (pspec, value) => {
|
|
2030
2702
|
return call("libgobject-2.0.so.0", "g_param_value_validate", [
|
|
2031
2703
|
{
|
|
@@ -2043,6 +2715,14 @@ export const paramValueValidate = (pspec, value) => {
|
|
|
2043
2715
|
},
|
|
2044
2716
|
], { type: "boolean" });
|
|
2045
2717
|
};
|
|
2718
|
+
/**
|
|
2719
|
+
* Compares `value1` with `value2` according to @pspec, and return -1, 0 or +1,
|
|
2720
|
+
* if `value1` is found to be less than, equal to or greater than @value2,
|
|
2721
|
+
* respectively.
|
|
2722
|
+
* @param pspec - a valid #GParamSpec
|
|
2723
|
+
* @param value1 - a #GValue of correct type for @pspec
|
|
2724
|
+
* @param value2 - a #GValue of correct type for @pspec
|
|
2725
|
+
*/
|
|
2046
2726
|
export const paramValuesCmp = (pspec, value1, value2) => {
|
|
2047
2727
|
return call("libgobject-2.0.so.0", "g_param_values_cmp", [
|
|
2048
2728
|
{
|
|
@@ -2069,6 +2749,11 @@ export const paramValuesCmp = (pspec, value1, value2) => {
|
|
|
2069
2749
|
},
|
|
2070
2750
|
], { type: "int", size: 32, unsigned: false });
|
|
2071
2751
|
};
|
|
2752
|
+
/**
|
|
2753
|
+
* Creates a new %G_TYPE_POINTER derived type id for a new
|
|
2754
|
+
* pointer type with name @name.
|
|
2755
|
+
* @param name - the name of the new pointer type.
|
|
2756
|
+
*/
|
|
2072
2757
|
export const pointerTypeRegisterStatic = (name) => {
|
|
2073
2758
|
return call("libgobject-2.0.so.0", "g_pointer_type_register_static", [
|
|
2074
2759
|
{
|
|
@@ -2077,6 +2762,22 @@ export const pointerTypeRegisterStatic = (name) => {
|
|
|
2077
2762
|
},
|
|
2078
2763
|
], { type: "int", size: 64, unsigned: true });
|
|
2079
2764
|
};
|
|
2765
|
+
/**
|
|
2766
|
+
* A predefined #GSignalAccumulator for signals intended to be used as a
|
|
2767
|
+
* hook for application code to provide a particular value. Usually
|
|
2768
|
+
* only one such value is desired and multiple handlers for the same
|
|
2769
|
+
* signal don't make much sense (except for the case of the default
|
|
2770
|
+
* handler defined in the class structure, in which case you will
|
|
2771
|
+
* usually want the signal connection to override the class handler).
|
|
2772
|
+
*
|
|
2773
|
+
* This accumulator will use the return value from the first signal
|
|
2774
|
+
* handler that is run as the return value for the signal and not run
|
|
2775
|
+
* any further handlers (ie: the first handler "wins").
|
|
2776
|
+
* @param ihint - standard #GSignalAccumulator parameter
|
|
2777
|
+
* @param returnAccu - standard #GSignalAccumulator parameter
|
|
2778
|
+
* @param handlerReturn - standard #GSignalAccumulator parameter
|
|
2779
|
+
* @param dummy - standard #GSignalAccumulator parameter
|
|
2780
|
+
*/
|
|
2080
2781
|
export const signalAccumulatorFirstWins = (ihint, returnAccu, handlerReturn, dummy) => {
|
|
2081
2782
|
return call("libgobject-2.0.so.0", "g_signal_accumulator_first_wins", [
|
|
2082
2783
|
{
|
|
@@ -2108,6 +2809,19 @@ export const signalAccumulatorFirstWins = (ihint, returnAccu, handlerReturn, dum
|
|
|
2108
2809
|
},
|
|
2109
2810
|
], { type: "boolean" });
|
|
2110
2811
|
};
|
|
2812
|
+
/**
|
|
2813
|
+
* A predefined #GSignalAccumulator for signals that return a
|
|
2814
|
+
* boolean values. The behavior that this accumulator gives is
|
|
2815
|
+
* that a return of %TRUE stops the signal emission: no further
|
|
2816
|
+
* callbacks will be invoked, while a return of %FALSE allows
|
|
2817
|
+
* the emission to continue. The idea here is that a %TRUE return
|
|
2818
|
+
* indicates that the callback handled the signal, and no further
|
|
2819
|
+
* handling is needed.
|
|
2820
|
+
* @param ihint - standard #GSignalAccumulator parameter
|
|
2821
|
+
* @param returnAccu - standard #GSignalAccumulator parameter
|
|
2822
|
+
* @param handlerReturn - standard #GSignalAccumulator parameter
|
|
2823
|
+
* @param dummy - standard #GSignalAccumulator parameter
|
|
2824
|
+
*/
|
|
2111
2825
|
export const signalAccumulatorTrueHandled = (ihint, returnAccu, handlerReturn, dummy) => {
|
|
2112
2826
|
return call("libgobject-2.0.so.0", "g_signal_accumulator_true_handled", [
|
|
2113
2827
|
{
|
|
@@ -2139,6 +2853,16 @@ export const signalAccumulatorTrueHandled = (ihint, returnAccu, handlerReturn, d
|
|
|
2139
2853
|
},
|
|
2140
2854
|
], { type: "boolean" });
|
|
2141
2855
|
};
|
|
2856
|
+
/**
|
|
2857
|
+
* Adds an emission hook for a signal, which will get called for any emission
|
|
2858
|
+
* of that signal, independent of the instance. This is possible only
|
|
2859
|
+
* for signals which don't have %G_SIGNAL_NO_HOOKS flag set.
|
|
2860
|
+
* @param signalId - the signal identifier, as returned by g_signal_lookup().
|
|
2861
|
+
* @param detail - the detail on which to call the hook.
|
|
2862
|
+
* @param hookFunc - a #GSignalEmissionHook function.
|
|
2863
|
+
* @param hookData - user data for @hook_func.
|
|
2864
|
+
* @param dataDestroy - a #GDestroyNotify for @hook_data.
|
|
2865
|
+
*/
|
|
2142
2866
|
export const signalAddEmissionHook = (signalId, detail, hookFunc, hookData, dataDestroy) => {
|
|
2143
2867
|
return call("libgobject-2.0.so.0", "g_signal_add_emission_hook", [
|
|
2144
2868
|
{
|
|
@@ -2165,6 +2889,14 @@ export const signalAddEmissionHook = (signalId, detail, hookFunc, hookData, data
|
|
|
2165
2889
|
},
|
|
2166
2890
|
], { type: "int", size: 64, unsigned: true });
|
|
2167
2891
|
};
|
|
2892
|
+
/**
|
|
2893
|
+
* Calls the original class closure of a signal. This function should only
|
|
2894
|
+
* be called from an overridden class closure; see
|
|
2895
|
+
* g_signal_override_class_closure() and
|
|
2896
|
+
* g_signal_override_class_handler().
|
|
2897
|
+
* @param instanceAndParams - the argument list of the signal emission.
|
|
2898
|
+
* @param returnValue - Location for the return value.
|
|
2899
|
+
*/
|
|
2168
2900
|
export const signalChainFromOverridden = (instanceAndParams, returnValue) => {
|
|
2169
2901
|
call("libgobject-2.0.so.0", "g_signal_chain_from_overridden", [
|
|
2170
2902
|
{
|
|
@@ -2189,6 +2921,24 @@ export const signalChainFromOverridden = (instanceAndParams, returnValue) => {
|
|
|
2189
2921
|
},
|
|
2190
2922
|
], { type: "undefined" });
|
|
2191
2923
|
};
|
|
2924
|
+
/**
|
|
2925
|
+
* Connects a closure to a signal for a particular object.
|
|
2926
|
+
*
|
|
2927
|
+
* If `closure` is a floating reference (see g_closure_sink()), this function
|
|
2928
|
+
* takes ownership of @closure.
|
|
2929
|
+
*
|
|
2930
|
+
* This function cannot fail. If the given signal name doesn’t exist,
|
|
2931
|
+
* a critical warning is emitted. No validation is performed on the
|
|
2932
|
+
* ‘detail’ string when specified in @detailed_signal, other than a
|
|
2933
|
+
* non-empty check.
|
|
2934
|
+
*
|
|
2935
|
+
* Refer to the signals documentation for more
|
|
2936
|
+
* details.
|
|
2937
|
+
* @param instance - the instance to connect to.
|
|
2938
|
+
* @param detailedSignal - a string of the form "signal-name::detail".
|
|
2939
|
+
* @param closure - the closure to connect.
|
|
2940
|
+
* @param after - whether the handler should be called before or after the
|
|
2941
|
+
*/
|
|
2192
2942
|
export const signalConnectClosure = (instance, detailedSignal, closure, after) => {
|
|
2193
2943
|
return call("libgobject-2.0.so.0", "g_signal_connect_closure", [
|
|
2194
2944
|
{
|
|
@@ -2214,6 +2964,25 @@ export const signalConnectClosure = (instance, detailedSignal, closure, after) =
|
|
|
2214
2964
|
},
|
|
2215
2965
|
], { type: "int", size: 64, unsigned: true });
|
|
2216
2966
|
};
|
|
2967
|
+
/**
|
|
2968
|
+
* Connects a closure to a signal for a particular object.
|
|
2969
|
+
*
|
|
2970
|
+
* If `closure` is a floating reference (see g_closure_sink()), this function
|
|
2971
|
+
* takes ownership of @closure.
|
|
2972
|
+
*
|
|
2973
|
+
* This function cannot fail. If the given signal name doesn’t exist,
|
|
2974
|
+
* a critical warning is emitted. No validation is performed on the
|
|
2975
|
+
* ‘detail’ string when specified in @detailed_signal, other than a
|
|
2976
|
+
* non-empty check.
|
|
2977
|
+
*
|
|
2978
|
+
* Refer to the signals documentation for more
|
|
2979
|
+
* details.
|
|
2980
|
+
* @param instance - the instance to connect to.
|
|
2981
|
+
* @param signalId - the id of the signal.
|
|
2982
|
+
* @param detail - the detail.
|
|
2983
|
+
* @param closure - the closure to connect.
|
|
2984
|
+
* @param after - whether the handler should be called before or after the
|
|
2985
|
+
*/
|
|
2217
2986
|
export const signalConnectClosureById = (instance, signalId, detail, closure, after) => {
|
|
2218
2987
|
return call("libgobject-2.0.so.0", "g_signal_connect_closure_by_id", [
|
|
2219
2988
|
{
|
|
@@ -2243,6 +3012,17 @@ export const signalConnectClosureById = (instance, signalId, detail, closure, af
|
|
|
2243
3012
|
},
|
|
2244
3013
|
], { type: "int", size: 64, unsigned: true });
|
|
2245
3014
|
};
|
|
3015
|
+
/**
|
|
3016
|
+
* Emits a signal. Signal emission is done synchronously.
|
|
3017
|
+
* The method will only return control after all handlers are called or signal emission was stopped.
|
|
3018
|
+
*
|
|
3019
|
+
* Note that g_signal_emitv() doesn't change `return_value` if no handlers are
|
|
3020
|
+
* connected, in contrast to g_signal_emit() and g_signal_emit_valist().
|
|
3021
|
+
* @param instanceAndParams - argument list for the signal emission.
|
|
3022
|
+
* @param signalId - the signal id
|
|
3023
|
+
* @param detail - the detail
|
|
3024
|
+
* @param returnValue - Location to
|
|
3025
|
+
*/
|
|
2246
3026
|
export const signalEmitv = (instanceAndParams, signalId, detail, returnValue) => {
|
|
2247
3027
|
call("libgobject-2.0.so.0", "g_signal_emitv", [
|
|
2248
3028
|
{
|
|
@@ -2277,6 +3057,10 @@ export const signalEmitv = (instanceAndParams, signalId, detail, returnValue) =>
|
|
|
2277
3057
|
},
|
|
2278
3058
|
], { type: "undefined" });
|
|
2279
3059
|
};
|
|
3060
|
+
/**
|
|
3061
|
+
* Returns the invocation hint of the innermost signal emission of instance.
|
|
3062
|
+
* @param instance - the instance to query
|
|
3063
|
+
*/
|
|
2280
3064
|
export const signalGetInvocationHint = (instance) => {
|
|
2281
3065
|
return call("libgobject-2.0.so.0", "g_signal_get_invocation_hint", [
|
|
2282
3066
|
{
|
|
@@ -2285,6 +3069,18 @@ export const signalGetInvocationHint = (instance) => {
|
|
|
2285
3069
|
},
|
|
2286
3070
|
], { type: "int", size: 64, unsigned: true });
|
|
2287
3071
|
};
|
|
3072
|
+
/**
|
|
3073
|
+
* Blocks a handler of an instance so it will not be called during any
|
|
3074
|
+
* signal emissions unless it is unblocked again. Thus "blocking" a
|
|
3075
|
+
* signal handler means to temporarily deactivate it, a signal handler
|
|
3076
|
+
* has to be unblocked exactly the same amount of times it has been
|
|
3077
|
+
* blocked before to become active again.
|
|
3078
|
+
*
|
|
3079
|
+
* The `handler_id` has to be a valid signal handler id, connected to a
|
|
3080
|
+
* signal of @instance.
|
|
3081
|
+
* @param instance - The instance to block the signal handler of.
|
|
3082
|
+
* @param handlerId - Handler id of the handler to be blocked.
|
|
3083
|
+
*/
|
|
2288
3084
|
export const signalHandlerBlock = (instance, handlerId) => {
|
|
2289
3085
|
call("libgobject-2.0.so.0", "g_signal_handler_block", [
|
|
2290
3086
|
{
|
|
@@ -2297,6 +3093,16 @@ export const signalHandlerBlock = (instance, handlerId) => {
|
|
|
2297
3093
|
},
|
|
2298
3094
|
], { type: "undefined" });
|
|
2299
3095
|
};
|
|
3096
|
+
/**
|
|
3097
|
+
* Disconnects a handler from an instance so it will not be called during
|
|
3098
|
+
* any future or currently ongoing emissions of the signal it has been
|
|
3099
|
+
* connected to. The `handler_id` becomes invalid and may be reused.
|
|
3100
|
+
*
|
|
3101
|
+
* The `handler_id` has to be a valid signal handler id, connected to a
|
|
3102
|
+
* signal of @instance.
|
|
3103
|
+
* @param instance - The instance to remove the signal handler from.
|
|
3104
|
+
* @param handlerId - Handler id of the handler to be disconnected.
|
|
3105
|
+
*/
|
|
2300
3106
|
export const signalHandlerDisconnect = (instance, handlerId) => {
|
|
2301
3107
|
call("libgobject-2.0.so.0", "g_signal_handler_disconnect", [
|
|
2302
3108
|
{
|
|
@@ -2309,6 +3115,20 @@ export const signalHandlerDisconnect = (instance, handlerId) => {
|
|
|
2309
3115
|
},
|
|
2310
3116
|
], { type: "undefined" });
|
|
2311
3117
|
};
|
|
3118
|
+
/**
|
|
3119
|
+
* Finds the first signal handler that matches certain selection criteria.
|
|
3120
|
+
* The criteria mask is passed as an OR-ed combination of #GSignalMatchType
|
|
3121
|
+
* flags, and the criteria values are passed as arguments.
|
|
3122
|
+
* The match `mask` has to be non-0 for successful matches.
|
|
3123
|
+
* If no handler was found, 0 is returned.
|
|
3124
|
+
* @param instance - The instance owning the signal handler to be found.
|
|
3125
|
+
* @param mask - Mask indicating which of @signal_id, @detail, @closure, `func` and/or `data` the handler has to match.
|
|
3126
|
+
* @param signalId - Signal the handler has to be connected to.
|
|
3127
|
+
* @param detail - Signal detail the handler has to be connected to.
|
|
3128
|
+
* @param closure - The closure the handler will invoke.
|
|
3129
|
+
* @param func - The C closure callback of the handler (useless for non-C closures).
|
|
3130
|
+
* @param data - The closure data of the handler's closure.
|
|
3131
|
+
*/
|
|
2312
3132
|
export const signalHandlerFind = (instance, mask, signalId, detail, closure, func, data) => {
|
|
2313
3133
|
return call("libgobject-2.0.so.0", "g_signal_handler_find", [
|
|
2314
3134
|
{
|
|
@@ -2349,6 +3169,11 @@ export const signalHandlerFind = (instance, mask, signalId, detail, closure, fun
|
|
|
2349
3169
|
},
|
|
2350
3170
|
], { type: "int", size: 64, unsigned: true });
|
|
2351
3171
|
};
|
|
3172
|
+
/**
|
|
3173
|
+
* Returns whether `handler_id` is the ID of a handler connected to @instance.
|
|
3174
|
+
* @param instance - The instance where a signal handler is sought.
|
|
3175
|
+
* @param handlerId - the handler ID.
|
|
3176
|
+
*/
|
|
2352
3177
|
export const signalHandlerIsConnected = (instance, handlerId) => {
|
|
2353
3178
|
return call("libgobject-2.0.so.0", "g_signal_handler_is_connected", [
|
|
2354
3179
|
{
|
|
@@ -2361,6 +3186,23 @@ export const signalHandlerIsConnected = (instance, handlerId) => {
|
|
|
2361
3186
|
},
|
|
2362
3187
|
], { type: "boolean" });
|
|
2363
3188
|
};
|
|
3189
|
+
/**
|
|
3190
|
+
* Undoes the effect of a previous g_signal_handler_block() call. A
|
|
3191
|
+
* blocked handler is skipped during signal emissions and will not be
|
|
3192
|
+
* invoked, unblocking it (for exactly the amount of times it has been
|
|
3193
|
+
* blocked before) reverts its "blocked" state, so the handler will be
|
|
3194
|
+
* recognized by the signal system and is called upon future or
|
|
3195
|
+
* currently ongoing signal emissions (since the order in which
|
|
3196
|
+
* handlers are called during signal emissions is deterministic,
|
|
3197
|
+
* whether the unblocked handler in question is called as part of a
|
|
3198
|
+
* currently ongoing emission depends on how far that emission has
|
|
3199
|
+
* proceeded yet).
|
|
3200
|
+
*
|
|
3201
|
+
* The `handler_id` has to be a valid id of a signal handler that is
|
|
3202
|
+
* connected to a signal of `instance` and is currently blocked.
|
|
3203
|
+
* @param instance - The instance to unblock the signal handler of.
|
|
3204
|
+
* @param handlerId - Handler id of the handler to be unblocked.
|
|
3205
|
+
*/
|
|
2364
3206
|
export const signalHandlerUnblock = (instance, handlerId) => {
|
|
2365
3207
|
call("libgobject-2.0.so.0", "g_signal_handler_unblock", [
|
|
2366
3208
|
{
|
|
@@ -2373,6 +3215,28 @@ export const signalHandlerUnblock = (instance, handlerId) => {
|
|
|
2373
3215
|
},
|
|
2374
3216
|
], { type: "undefined" });
|
|
2375
3217
|
};
|
|
3218
|
+
/**
|
|
3219
|
+
* Blocks all handlers on an instance that match a certain selection criteria.
|
|
3220
|
+
*
|
|
3221
|
+
* The criteria mask is passed as a combination of #GSignalMatchType flags, and
|
|
3222
|
+
* the criteria values are passed as arguments. A handler must match on all
|
|
3223
|
+
* flags set in `mask` to be blocked (i.e. the match is conjunctive).
|
|
3224
|
+
*
|
|
3225
|
+
* Passing at least one of the %G_SIGNAL_MATCH_ID, %G_SIGNAL_MATCH_CLOSURE,
|
|
3226
|
+
* %G_SIGNAL_MATCH_FUNC
|
|
3227
|
+
* or %G_SIGNAL_MATCH_DATA match flags is required for successful matches.
|
|
3228
|
+
* If no handlers were found, 0 is returned, the number of blocked handlers
|
|
3229
|
+
* otherwise.
|
|
3230
|
+
*
|
|
3231
|
+
* Support for %G_SIGNAL_MATCH_ID was added in GLib 2.78.
|
|
3232
|
+
* @param instance - The instance to block handlers from.
|
|
3233
|
+
* @param mask - Mask indicating which of @signal_id, @detail, @closure, `func` and/or `data` the handlers have to match.
|
|
3234
|
+
* @param signalId - Signal the handlers have to be connected to.
|
|
3235
|
+
* @param detail - Signal detail the handlers have to be connected to.
|
|
3236
|
+
* @param closure - The closure the handlers will invoke.
|
|
3237
|
+
* @param func - The C closure callback of the handlers (useless for non-C closures).
|
|
3238
|
+
* @param data - The closure data of the handlers' closures.
|
|
3239
|
+
*/
|
|
2376
3240
|
export const signalHandlersBlockMatched = (instance, mask, signalId, detail, closure, func, data) => {
|
|
2377
3241
|
return call("libgobject-2.0.so.0", "g_signal_handlers_block_matched", [
|
|
2378
3242
|
{
|
|
@@ -2413,6 +3277,12 @@ export const signalHandlersBlockMatched = (instance, mask, signalId, detail, clo
|
|
|
2413
3277
|
},
|
|
2414
3278
|
], { type: "int", size: 32, unsigned: true });
|
|
2415
3279
|
};
|
|
3280
|
+
/**
|
|
3281
|
+
* Destroy all signal handlers of a type instance. This function is
|
|
3282
|
+
* an implementation detail of the #GObject dispose implementation,
|
|
3283
|
+
* and should not be used outside of the type system.
|
|
3284
|
+
* @param instance - The instance whose signal handlers are destroyed
|
|
3285
|
+
*/
|
|
2416
3286
|
export const signalHandlersDestroy = (instance) => {
|
|
2417
3287
|
call("libgobject-2.0.so.0", "g_signal_handlers_destroy", [
|
|
2418
3288
|
{
|
|
@@ -2421,6 +3291,29 @@ export const signalHandlersDestroy = (instance) => {
|
|
|
2421
3291
|
},
|
|
2422
3292
|
], { type: "undefined" });
|
|
2423
3293
|
};
|
|
3294
|
+
/**
|
|
3295
|
+
* Disconnects all handlers on an instance that match a certain
|
|
3296
|
+
* selection criteria.
|
|
3297
|
+
*
|
|
3298
|
+
* The criteria mask is passed as a combination of #GSignalMatchType flags, and
|
|
3299
|
+
* the criteria values are passed as arguments. A handler must match on all
|
|
3300
|
+
* flags set in `mask` to be disconnected (i.e. the match is conjunctive).
|
|
3301
|
+
*
|
|
3302
|
+
* Passing at least one of the %G_SIGNAL_MATCH_ID, %G_SIGNAL_MATCH_CLOSURE,
|
|
3303
|
+
* %G_SIGNAL_MATCH_FUNC or
|
|
3304
|
+
* %G_SIGNAL_MATCH_DATA match flags is required for successful
|
|
3305
|
+
* matches. If no handlers were found, 0 is returned, the number of
|
|
3306
|
+
* disconnected handlers otherwise.
|
|
3307
|
+
*
|
|
3308
|
+
* Support for %G_SIGNAL_MATCH_ID was added in GLib 2.78.
|
|
3309
|
+
* @param instance - The instance to remove handlers from.
|
|
3310
|
+
* @param mask - Mask indicating which of @signal_id, @detail, @closure, `func` and/or `data` the handlers have to match.
|
|
3311
|
+
* @param signalId - Signal the handlers have to be connected to.
|
|
3312
|
+
* @param detail - Signal detail the handlers have to be connected to.
|
|
3313
|
+
* @param closure - The closure the handlers will invoke.
|
|
3314
|
+
* @param func - The C closure callback of the handlers (useless for non-C closures).
|
|
3315
|
+
* @param data - The closure data of the handlers' closures.
|
|
3316
|
+
*/
|
|
2424
3317
|
export const signalHandlersDisconnectMatched = (instance, mask, signalId, detail, closure, func, data) => {
|
|
2425
3318
|
return call("libgobject-2.0.so.0", "g_signal_handlers_disconnect_matched", [
|
|
2426
3319
|
{
|
|
@@ -2461,6 +3354,30 @@ export const signalHandlersDisconnectMatched = (instance, mask, signalId, detail
|
|
|
2461
3354
|
},
|
|
2462
3355
|
], { type: "int", size: 32, unsigned: true });
|
|
2463
3356
|
};
|
|
3357
|
+
/**
|
|
3358
|
+
* Unblocks all handlers on an instance that match a certain selection
|
|
3359
|
+
* criteria.
|
|
3360
|
+
*
|
|
3361
|
+
* The criteria mask is passed as a combination of #GSignalMatchType flags, and
|
|
3362
|
+
* the criteria values are passed as arguments. A handler must match on all
|
|
3363
|
+
* flags set in `mask` to be unblocked (i.e. the match is conjunctive).
|
|
3364
|
+
*
|
|
3365
|
+
* Passing at least one of the %G_SIGNAL_MATCH_ID, %G_SIGNAL_MATCH_CLOSURE,
|
|
3366
|
+
* %G_SIGNAL_MATCH_FUNC
|
|
3367
|
+
* or %G_SIGNAL_MATCH_DATA match flags is required for successful matches.
|
|
3368
|
+
* If no handlers were found, 0 is returned, the number of unblocked handlers
|
|
3369
|
+
* otherwise. The match criteria should not apply to any handlers that are
|
|
3370
|
+
* not currently blocked.
|
|
3371
|
+
*
|
|
3372
|
+
* Support for %G_SIGNAL_MATCH_ID was added in GLib 2.78.
|
|
3373
|
+
* @param instance - The instance to unblock handlers from.
|
|
3374
|
+
* @param mask - Mask indicating which of @signal_id, @detail, @closure, `func` and/or `data` the handlers have to match.
|
|
3375
|
+
* @param signalId - Signal the handlers have to be connected to.
|
|
3376
|
+
* @param detail - Signal detail the handlers have to be connected to.
|
|
3377
|
+
* @param closure - The closure the handlers will invoke.
|
|
3378
|
+
* @param func - The C closure callback of the handlers (useless for non-C closures).
|
|
3379
|
+
* @param data - The closure data of the handlers' closures.
|
|
3380
|
+
*/
|
|
2464
3381
|
export const signalHandlersUnblockMatched = (instance, mask, signalId, detail, closure, func, data) => {
|
|
2465
3382
|
return call("libgobject-2.0.so.0", "g_signal_handlers_unblock_matched", [
|
|
2466
3383
|
{
|
|
@@ -2501,6 +3418,28 @@ export const signalHandlersUnblockMatched = (instance, mask, signalId, detail, c
|
|
|
2501
3418
|
},
|
|
2502
3419
|
], { type: "int", size: 32, unsigned: true });
|
|
2503
3420
|
};
|
|
3421
|
+
/**
|
|
3422
|
+
* Returns whether there are any handlers connected to `instance` for the
|
|
3423
|
+
* given signal id and detail.
|
|
3424
|
+
*
|
|
3425
|
+
* If `detail` is 0 then it will only match handlers that were connected
|
|
3426
|
+
* without detail. If `detail` is non-zero then it will match handlers
|
|
3427
|
+
* connected both without detail and with the given detail. This is
|
|
3428
|
+
* consistent with how a signal emitted with `detail` would be delivered
|
|
3429
|
+
* to those handlers.
|
|
3430
|
+
*
|
|
3431
|
+
* Since 2.46 this also checks for a non-default class closure being
|
|
3432
|
+
* installed, as this is basically always what you want.
|
|
3433
|
+
*
|
|
3434
|
+
* One example of when you might use this is when the arguments to the
|
|
3435
|
+
* signal are difficult to compute. A class implementor may opt to not
|
|
3436
|
+
* emit the signal if no one is attached anyway, thus saving the cost
|
|
3437
|
+
* of building the arguments.
|
|
3438
|
+
* @param instance - the object whose signal handlers are sought.
|
|
3439
|
+
* @param signalId - the signal id.
|
|
3440
|
+
* @param detail - the detail.
|
|
3441
|
+
* @param mayBeBlocked - whether blocked handlers should count as match.
|
|
3442
|
+
*/
|
|
2504
3443
|
export const signalHasHandlerPending = (instance, signalId, detail, mayBeBlocked) => {
|
|
2505
3444
|
return call("libgobject-2.0.so.0", "g_signal_has_handler_pending", [
|
|
2506
3445
|
{
|
|
@@ -2521,6 +3460,14 @@ export const signalHasHandlerPending = (instance, signalId, detail, mayBeBlocked
|
|
|
2521
3460
|
},
|
|
2522
3461
|
], { type: "boolean" });
|
|
2523
3462
|
};
|
|
3463
|
+
/**
|
|
3464
|
+
* Validate a signal name. This can be useful for dynamically-generated signals
|
|
3465
|
+
* which need to be validated at run-time before actually trying to create them.
|
|
3466
|
+
*
|
|
3467
|
+
* See [func@GObject.signal_new] for details of the rules for valid names.
|
|
3468
|
+
* The rules for signal names are the same as those for property names.
|
|
3469
|
+
* @param name - the canonical name of the signal
|
|
3470
|
+
*/
|
|
2524
3471
|
export const signalIsValidName = (name) => {
|
|
2525
3472
|
return call("libgobject-2.0.so.0", "g_signal_is_valid_name", [
|
|
2526
3473
|
{
|
|
@@ -2529,6 +3476,13 @@ export const signalIsValidName = (name) => {
|
|
|
2529
3476
|
},
|
|
2530
3477
|
], { type: "boolean" });
|
|
2531
3478
|
};
|
|
3479
|
+
/**
|
|
3480
|
+
* Lists the signals by id that a certain instance or interface type
|
|
3481
|
+
* created. Further information about the signals can be acquired through
|
|
3482
|
+
* g_signal_query().
|
|
3483
|
+
* @param itype - Instance or interface type.
|
|
3484
|
+
* @param nIds - Location to store the number of signal ids for @itype.
|
|
3485
|
+
*/
|
|
2532
3486
|
export const signalListIds = (itype, nIds) => {
|
|
2533
3487
|
return call("libgobject-2.0.so.0", "g_signal_list_ids", [
|
|
2534
3488
|
{
|
|
@@ -2544,6 +3498,21 @@ export const signalListIds = (itype, nIds) => {
|
|
|
2544
3498
|
},
|
|
2545
3499
|
], { type: "array", itemType: { type: "int", size: 32, unsigned: true } });
|
|
2546
3500
|
};
|
|
3501
|
+
/**
|
|
3502
|
+
* Given the name of the signal and the type of object it connects to, gets
|
|
3503
|
+
* the signal's identifying integer. Emitting the signal by number is
|
|
3504
|
+
* somewhat faster than using the name each time.
|
|
3505
|
+
*
|
|
3506
|
+
* Also tries the ancestors of the given type.
|
|
3507
|
+
*
|
|
3508
|
+
* The type class passed as `itype` must already have been instantiated (for
|
|
3509
|
+
* example, using g_type_class_ref()) for this function to work, as signals are
|
|
3510
|
+
* always installed during class initialization.
|
|
3511
|
+
*
|
|
3512
|
+
* See g_signal_new() for details on allowed signal names.
|
|
3513
|
+
* @param name - the signal's name.
|
|
3514
|
+
* @param itype - the type that the signal operates on.
|
|
3515
|
+
*/
|
|
2547
3516
|
export const signalLookup = (name, itype) => {
|
|
2548
3517
|
return call("libgobject-2.0.so.0", "g_signal_lookup", [
|
|
2549
3518
|
{
|
|
@@ -2556,6 +3525,12 @@ export const signalLookup = (name, itype) => {
|
|
|
2556
3525
|
},
|
|
2557
3526
|
], { type: "int", size: 32, unsigned: true });
|
|
2558
3527
|
};
|
|
3528
|
+
/**
|
|
3529
|
+
* Given the signal's identifier, finds its name.
|
|
3530
|
+
*
|
|
3531
|
+
* Two different signals may have the same name, if they have differing types.
|
|
3532
|
+
* @param signalId - the signal's identifying number.
|
|
3533
|
+
*/
|
|
2559
3534
|
export const signalName = (signalId) => {
|
|
2560
3535
|
return call("libgobject-2.0.so.0", "g_signal_name", [
|
|
2561
3536
|
{
|
|
@@ -2564,6 +3539,18 @@ export const signalName = (signalId) => {
|
|
|
2564
3539
|
},
|
|
2565
3540
|
], { type: "string", borrowed: true });
|
|
2566
3541
|
};
|
|
3542
|
+
/**
|
|
3543
|
+
* Overrides the class closure (i.e. the default handler) for the given signal
|
|
3544
|
+
* for emissions on instances of @instance_type. `instance_type` must be derived
|
|
3545
|
+
* from the type to which the signal belongs.
|
|
3546
|
+
*
|
|
3547
|
+
* See g_signal_chain_from_overridden() and
|
|
3548
|
+
* g_signal_chain_from_overridden_handler() for how to chain up to the
|
|
3549
|
+
* parent class closure from inside the overridden one.
|
|
3550
|
+
* @param signalId - the signal id
|
|
3551
|
+
* @param instanceType - the instance type on which to override the class closure
|
|
3552
|
+
* @param classClosure - the closure.
|
|
3553
|
+
*/
|
|
2567
3554
|
export const signalOverrideClassClosure = (signalId, instanceType, classClosure) => {
|
|
2568
3555
|
call("libgobject-2.0.so.0", "g_signal_override_class_closure", [
|
|
2569
3556
|
{
|
|
@@ -2585,6 +3572,19 @@ export const signalOverrideClassClosure = (signalId, instanceType, classClosure)
|
|
|
2585
3572
|
},
|
|
2586
3573
|
], { type: "undefined" });
|
|
2587
3574
|
};
|
|
3575
|
+
/**
|
|
3576
|
+
* Overrides the class closure (i.e. the default handler) for the
|
|
3577
|
+
* given signal for emissions on instances of `instance_type` with
|
|
3578
|
+
* callback @class_handler. `instance_type` must be derived from the
|
|
3579
|
+
* type to which the signal belongs.
|
|
3580
|
+
*
|
|
3581
|
+
* See g_signal_chain_from_overridden() and
|
|
3582
|
+
* g_signal_chain_from_overridden_handler() for how to chain up to the
|
|
3583
|
+
* parent class closure from inside the overridden one.
|
|
3584
|
+
* @param signalName - the name for the signal
|
|
3585
|
+
* @param instanceType - the instance type on which to override the class handler
|
|
3586
|
+
* @param classHandler - the handler.
|
|
3587
|
+
*/
|
|
2588
3588
|
export const signalOverrideClassHandler = (signalName, instanceType, classHandler) => {
|
|
2589
3589
|
call("libgobject-2.0.so.0", "g_signal_override_class_handler", [
|
|
2590
3590
|
{
|
|
@@ -2601,6 +3601,14 @@ export const signalOverrideClassHandler = (signalName, instanceType, classHandle
|
|
|
2601
3601
|
},
|
|
2602
3602
|
], { type: "undefined" });
|
|
2603
3603
|
};
|
|
3604
|
+
/**
|
|
3605
|
+
* Internal function to parse a signal name into its `signal_id` and `detail` quark.
|
|
3606
|
+
* @param detailedSignal - a string of the form "signal-name::detail".
|
|
3607
|
+
* @param itype - The interface/instance type that introduced "signal-name".
|
|
3608
|
+
* @param signalIdP - Location to store the signal id.
|
|
3609
|
+
* @param detailP - Location to store the detail quark.
|
|
3610
|
+
* @param forceDetailQuark - %TRUE forces creation of a #GQuark for the detail.
|
|
3611
|
+
*/
|
|
2604
3612
|
export const signalParseName = (detailedSignal, itype, signalIdP, detailP, forceDetailQuark) => {
|
|
2605
3613
|
return call("libgobject-2.0.so.0", "g_signal_parse_name", [
|
|
2606
3614
|
{
|
|
@@ -2631,6 +3639,16 @@ export const signalParseName = (detailedSignal, itype, signalIdP, detailP, force
|
|
|
2631
3639
|
},
|
|
2632
3640
|
], { type: "boolean" });
|
|
2633
3641
|
};
|
|
3642
|
+
/**
|
|
3643
|
+
* Queries the signal system for in-depth information about a
|
|
3644
|
+
* specific signal. This function will fill in a user-provided
|
|
3645
|
+
* structure to hold signal-specific information. If an invalid
|
|
3646
|
+
* signal id is passed in, the `signal_id` member of the #GSignalQuery
|
|
3647
|
+
* is 0. All members filled into the #GSignalQuery structure should
|
|
3648
|
+
* be considered constant and have to be left untouched.
|
|
3649
|
+
* @param signalId - The signal id of the signal to query information for.
|
|
3650
|
+
* @param query - A user provided structure that is
|
|
3651
|
+
*/
|
|
2634
3652
|
export const signalQuery = (signalId, query) => {
|
|
2635
3653
|
call("libgobject-2.0.so.0", "g_signal_query", [
|
|
2636
3654
|
{
|
|
@@ -2646,6 +3664,11 @@ export const signalQuery = (signalId, query) => {
|
|
|
2646
3664
|
},
|
|
2647
3665
|
], { type: "undefined" });
|
|
2648
3666
|
};
|
|
3667
|
+
/**
|
|
3668
|
+
* Deletes an emission hook.
|
|
3669
|
+
* @param signalId - the id of the signal
|
|
3670
|
+
* @param hookId - the id of the emission hook, as returned by
|
|
3671
|
+
*/
|
|
2649
3672
|
export const signalRemoveEmissionHook = (signalId, hookId) => {
|
|
2650
3673
|
call("libgobject-2.0.so.0", "g_signal_remove_emission_hook", [
|
|
2651
3674
|
{
|
|
@@ -2658,6 +3681,18 @@ export const signalRemoveEmissionHook = (signalId, hookId) => {
|
|
|
2658
3681
|
},
|
|
2659
3682
|
], { type: "undefined" });
|
|
2660
3683
|
};
|
|
3684
|
+
/**
|
|
3685
|
+
* Stops a signal's current emission.
|
|
3686
|
+
*
|
|
3687
|
+
* This will prevent the default method from running, if the signal was
|
|
3688
|
+
* %G_SIGNAL_RUN_LAST and you connected normally (i.e. without the "after"
|
|
3689
|
+
* flag).
|
|
3690
|
+
*
|
|
3691
|
+
* Prints a warning if used on a signal which isn't being emitted.
|
|
3692
|
+
* @param instance - the object whose signal handlers you wish to stop.
|
|
3693
|
+
* @param signalId - the signal identifier, as returned by g_signal_lookup().
|
|
3694
|
+
* @param detail - the detail which the signal was emitted with.
|
|
3695
|
+
*/
|
|
2661
3696
|
export const signalStopEmission = (instance, signalId, detail) => {
|
|
2662
3697
|
call("libgobject-2.0.so.0", "g_signal_stop_emission", [
|
|
2663
3698
|
{
|
|
@@ -2674,6 +3709,14 @@ export const signalStopEmission = (instance, signalId, detail) => {
|
|
|
2674
3709
|
},
|
|
2675
3710
|
], { type: "undefined" });
|
|
2676
3711
|
};
|
|
3712
|
+
/**
|
|
3713
|
+
* Stops a signal's current emission.
|
|
3714
|
+
*
|
|
3715
|
+
* This is just like g_signal_stop_emission() except it will look up the
|
|
3716
|
+
* signal id for you.
|
|
3717
|
+
* @param instance - the object whose signal handlers you wish to stop.
|
|
3718
|
+
* @param detailedSignal - a string of the form "signal-name::detail".
|
|
3719
|
+
*/
|
|
2677
3720
|
export const signalStopEmissionByName = (instance, detailedSignal) => {
|
|
2678
3721
|
call("libgobject-2.0.so.0", "g_signal_stop_emission_by_name", [
|
|
2679
3722
|
{
|
|
@@ -2686,6 +3729,13 @@ export const signalStopEmissionByName = (instance, detailedSignal) => {
|
|
|
2686
3729
|
},
|
|
2687
3730
|
], { type: "undefined" });
|
|
2688
3731
|
};
|
|
3732
|
+
/**
|
|
3733
|
+
* Creates a new closure which invokes the function found at the offset
|
|
3734
|
+
* `struct_offset` in the class structure of the interface or classed type
|
|
3735
|
+
* identified by @itype.
|
|
3736
|
+
* @param itype - the #GType identifier of an interface or classed type
|
|
3737
|
+
* @param structOffset - the offset of the member function of @itype's class
|
|
3738
|
+
*/
|
|
2689
3739
|
export const signalTypeCclosureNew = (itype, structOffset) => {
|
|
2690
3740
|
const ptr = call("libgobject-2.0.so.0", "g_signal_type_cclosure_new", [
|
|
2691
3741
|
{
|
|
@@ -2704,6 +3754,14 @@ export const signalTypeCclosureNew = (itype, structOffset) => {
|
|
|
2704
3754
|
});
|
|
2705
3755
|
return getObject(ptr, Closure);
|
|
2706
3756
|
};
|
|
3757
|
+
/**
|
|
3758
|
+
* Set the callback for a source as a #GClosure.
|
|
3759
|
+
*
|
|
3760
|
+
* 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
|
|
3761
|
+
* filled in with pointers to appropriate functions.
|
|
3762
|
+
* @param source - the source
|
|
3763
|
+
* @param closure - a #GClosure
|
|
3764
|
+
*/
|
|
2707
3765
|
export const sourceSetClosure = (source, closure) => {
|
|
2708
3766
|
call("libgobject-2.0.so.0", "g_source_set_closure", [
|
|
2709
3767
|
{
|
|
@@ -2726,6 +3784,19 @@ export const sourceSetClosure = (source, closure) => {
|
|
|
2726
3784
|
},
|
|
2727
3785
|
], { type: "undefined" });
|
|
2728
3786
|
};
|
|
3787
|
+
/**
|
|
3788
|
+
* Sets a dummy callback for @source. The callback will do nothing, and
|
|
3789
|
+
* if the source expects a #gboolean return value, it will return %TRUE.
|
|
3790
|
+
* (If the source expects any other type of return value, it will return
|
|
3791
|
+
* a 0/%NULL value; whatever g_value_init() initializes a #GValue to for
|
|
3792
|
+
* that type.)
|
|
3793
|
+
*
|
|
3794
|
+
* If the source is not one of the standard GLib types, the
|
|
3795
|
+
* `closure_callback` and `closure_marshal` fields of the #GSourceFuncs
|
|
3796
|
+
* structure must have been filled in with pointers to appropriate
|
|
3797
|
+
* functions.
|
|
3798
|
+
* @param source - the source
|
|
3799
|
+
*/
|
|
2729
3800
|
export const sourceSetDummyCallback = (source) => {
|
|
2730
3801
|
call("libgobject-2.0.so.0", "g_source_set_dummy_callback", [
|
|
2731
3802
|
{
|
|
@@ -2739,6 +3810,13 @@ export const sourceSetDummyCallback = (source) => {
|
|
|
2739
3810
|
},
|
|
2740
3811
|
], { type: "undefined" });
|
|
2741
3812
|
};
|
|
3813
|
+
/**
|
|
3814
|
+
* Return a newly allocated string, which describes the contents of a
|
|
3815
|
+
* #GValue. The main purpose of this function is to describe #GValue
|
|
3816
|
+
* contents for debugging output, the way in which the contents are
|
|
3817
|
+
* described may change between different GLib versions.
|
|
3818
|
+
* @param value - #GValue which contents are to be described.
|
|
3819
|
+
*/
|
|
2742
3820
|
export const strdupValueContents = (value) => {
|
|
2743
3821
|
return call("libgobject-2.0.so.0", "g_strdup_value_contents", [
|
|
2744
3822
|
{
|
|
@@ -2752,6 +3830,20 @@ export const strdupValueContents = (value) => {
|
|
|
2752
3830
|
},
|
|
2753
3831
|
], { type: "string" });
|
|
2754
3832
|
};
|
|
3833
|
+
/**
|
|
3834
|
+
* Registers a private class structure for a classed type;
|
|
3835
|
+
* when the class is allocated, the private structures for
|
|
3836
|
+
* the class and all of its parent types are allocated
|
|
3837
|
+
* sequentially in the same memory block as the public
|
|
3838
|
+
* structures, and are zero-filled.
|
|
3839
|
+
*
|
|
3840
|
+
* This function should be called in the
|
|
3841
|
+
* type's get_type() function after the type is registered.
|
|
3842
|
+
* The private structure can be retrieved using the
|
|
3843
|
+
* G_TYPE_CLASS_GET_PRIVATE() macro.
|
|
3844
|
+
* @param classType - GType of a classed type
|
|
3845
|
+
* @param privateSize - size of private structure
|
|
3846
|
+
*/
|
|
2755
3847
|
export const typeAddClassPrivate = (classType, privateSize) => {
|
|
2756
3848
|
call("libgobject-2.0.so.0", "g_type_add_class_private", [
|
|
2757
3849
|
{
|
|
@@ -2776,6 +3868,13 @@ export const typeAddInstancePrivate = (classType, privateSize) => {
|
|
|
2776
3868
|
},
|
|
2777
3869
|
], { type: "int", size: 32, unsigned: false });
|
|
2778
3870
|
};
|
|
3871
|
+
/**
|
|
3872
|
+
* Adds `interface_type` to the dynamic @instance_type. The information
|
|
3873
|
+
* contained in the #GTypePlugin structure pointed to by `plugin` is used to manage the relationship.
|
|
3874
|
+
* @param instanceType - #GType value of an instantiatable type
|
|
3875
|
+
* @param interfaceType - #GType value of an interface type
|
|
3876
|
+
* @param plugin - #GTypePlugin structure to retrieve the #GInterfaceInfo from
|
|
3877
|
+
*/
|
|
2779
3878
|
export const typeAddInterfaceDynamic = (instanceType, interfaceType, plugin) => {
|
|
2780
3879
|
call("libgobject-2.0.so.0", "g_type_add_interface_dynamic", [
|
|
2781
3880
|
{
|
|
@@ -2792,6 +3891,14 @@ export const typeAddInterfaceDynamic = (instanceType, interfaceType, plugin) =>
|
|
|
2792
3891
|
},
|
|
2793
3892
|
], { type: "undefined" });
|
|
2794
3893
|
};
|
|
3894
|
+
/**
|
|
3895
|
+
* Adds `interface_type` to the static @instance_type.
|
|
3896
|
+
* The information contained in the #GInterfaceInfo structure
|
|
3897
|
+
* pointed to by `info` is used to manage the relationship.
|
|
3898
|
+
* @param instanceType - #GType value of an instantiatable type
|
|
3899
|
+
* @param interfaceType - #GType value of an interface type
|
|
3900
|
+
* @param info - #GInterfaceInfo structure for this
|
|
3901
|
+
*/
|
|
2795
3902
|
export const typeAddInterfaceStatic = (instanceType, interfaceType, info) => {
|
|
2796
3903
|
call("libgobject-2.0.so.0", "g_type_add_interface_static", [
|
|
2797
3904
|
{
|
|
@@ -2820,6 +3927,11 @@ export const typeCheckClassIsA = (gClass, isAType) => {
|
|
|
2820
3927
|
},
|
|
2821
3928
|
], { type: "boolean" });
|
|
2822
3929
|
};
|
|
3930
|
+
/**
|
|
3931
|
+
* Private helper function to aid implementation of the
|
|
3932
|
+
* G_TYPE_CHECK_INSTANCE() macro.
|
|
3933
|
+
* @param instance - a valid #GTypeInstance structure
|
|
3934
|
+
*/
|
|
2823
3935
|
export const typeCheckInstance = (instance) => {
|
|
2824
3936
|
return call("libgobject-2.0.so.0", "g_type_check_instance", [
|
|
2825
3937
|
{
|
|
@@ -2890,6 +4002,12 @@ export const typeCheckValueHolds = (value, type) => {
|
|
|
2890
4002
|
},
|
|
2891
4003
|
], { type: "boolean" });
|
|
2892
4004
|
};
|
|
4005
|
+
/**
|
|
4006
|
+
* Return a newly allocated and 0-terminated array of type IDs, listing
|
|
4007
|
+
* the child types of @type.
|
|
4008
|
+
* @param type - the parent type
|
|
4009
|
+
* @param nChildren - location to store the length of
|
|
4010
|
+
*/
|
|
2893
4011
|
export const typeChildren = (type, nChildren) => {
|
|
2894
4012
|
return call("libgobject-2.0.so.0", "g_type_children", [
|
|
2895
4013
|
{
|
|
@@ -2919,6 +4037,15 @@ export const typeClassAdjustPrivateOffset = (privateSizeOrOffset, gClass) => {
|
|
|
2919
4037
|
},
|
|
2920
4038
|
], { type: "undefined" });
|
|
2921
4039
|
};
|
|
4040
|
+
/**
|
|
4041
|
+
* Retrieves the type class of the given @type.
|
|
4042
|
+
*
|
|
4043
|
+
* This function will create the class on demand if it does not exist
|
|
4044
|
+
* already.
|
|
4045
|
+
*
|
|
4046
|
+
* If you don't want to create the class, use g_type_class_peek() instead.
|
|
4047
|
+
* @param type - type ID of a classed type
|
|
4048
|
+
*/
|
|
2922
4049
|
export const typeClassGet = (type) => {
|
|
2923
4050
|
return call("libgobject-2.0.so.0", "g_type_class_get", [
|
|
2924
4051
|
{
|
|
@@ -2927,6 +4054,17 @@ export const typeClassGet = (type) => {
|
|
|
2927
4054
|
},
|
|
2928
4055
|
], { type: "int", size: 64, unsigned: true });
|
|
2929
4056
|
};
|
|
4057
|
+
/**
|
|
4058
|
+
* Retrieves the class for a give type.
|
|
4059
|
+
*
|
|
4060
|
+
* This function is essentially the same as g_type_class_get(),
|
|
4061
|
+
* except that the class may have not been instantiated yet.
|
|
4062
|
+
*
|
|
4063
|
+
* As a consequence, this function may return %NULL if the class
|
|
4064
|
+
* of the type passed in does not currently exist (hasn't been
|
|
4065
|
+
* referenced before).
|
|
4066
|
+
* @param type - type ID of a classed type
|
|
4067
|
+
*/
|
|
2930
4068
|
export const typeClassPeek = (type) => {
|
|
2931
4069
|
return call("libgobject-2.0.so.0", "g_type_class_peek", [
|
|
2932
4070
|
{
|
|
@@ -2935,6 +4073,11 @@ export const typeClassPeek = (type) => {
|
|
|
2935
4073
|
},
|
|
2936
4074
|
], { type: "int", size: 64, unsigned: true });
|
|
2937
4075
|
};
|
|
4076
|
+
/**
|
|
4077
|
+
* A more efficient version of g_type_class_peek() which works only for
|
|
4078
|
+
* static types.
|
|
4079
|
+
* @param type - type ID of a classed type
|
|
4080
|
+
*/
|
|
2938
4081
|
export const typeClassPeekStatic = (type) => {
|
|
2939
4082
|
return call("libgobject-2.0.so.0", "g_type_class_peek_static", [
|
|
2940
4083
|
{
|
|
@@ -2943,6 +4086,13 @@ export const typeClassPeekStatic = (type) => {
|
|
|
2943
4086
|
},
|
|
2944
4087
|
], { type: "int", size: 64, unsigned: true });
|
|
2945
4088
|
};
|
|
4089
|
+
/**
|
|
4090
|
+
* Increments the reference count of the class structure belonging to
|
|
4091
|
+
* @type.
|
|
4092
|
+
*
|
|
4093
|
+
* This function will demand-create the class if it doesn't exist already.
|
|
4094
|
+
* @param type - type ID of a classed type
|
|
4095
|
+
*/
|
|
2946
4096
|
export const typeClassRef = (type) => {
|
|
2947
4097
|
return call("libgobject-2.0.so.0", "g_type_class_ref", [
|
|
2948
4098
|
{
|
|
@@ -2951,6 +4101,22 @@ export const typeClassRef = (type) => {
|
|
|
2951
4101
|
},
|
|
2952
4102
|
], { type: "int", size: 64, unsigned: true });
|
|
2953
4103
|
};
|
|
4104
|
+
/**
|
|
4105
|
+
* Returns the default interface vtable for the given @g_type.
|
|
4106
|
+
*
|
|
4107
|
+
* If the type is not currently in use, then the default vtable
|
|
4108
|
+
* for the type will be created and initialized by calling
|
|
4109
|
+
* the base interface init and default vtable init functions for
|
|
4110
|
+
* the type (the `base_init` and `class_init` members of #GTypeInfo).
|
|
4111
|
+
*
|
|
4112
|
+
* If you don't want to create the interface vtable, you should use
|
|
4113
|
+
* g_type_default_interface_peek() instead.
|
|
4114
|
+
*
|
|
4115
|
+
* Calling g_type_default_interface_get() is useful when you
|
|
4116
|
+
* want to make sure that signals and properties for an interface
|
|
4117
|
+
* have been installed.
|
|
4118
|
+
* @param gType - an interface type
|
|
4119
|
+
*/
|
|
2954
4120
|
export const typeDefaultInterfaceGet = (gType) => {
|
|
2955
4121
|
return call("libgobject-2.0.so.0", "g_type_default_interface_get", [
|
|
2956
4122
|
{
|
|
@@ -2959,6 +4125,11 @@ export const typeDefaultInterfaceGet = (gType) => {
|
|
|
2959
4125
|
},
|
|
2960
4126
|
], { type: "int", size: 64, unsigned: true });
|
|
2961
4127
|
};
|
|
4128
|
+
/**
|
|
4129
|
+
* If the interface type `g_type` is currently in use, returns its
|
|
4130
|
+
* default interface vtable.
|
|
4131
|
+
* @param gType - an interface type
|
|
4132
|
+
*/
|
|
2962
4133
|
export const typeDefaultInterfacePeek = (gType) => {
|
|
2963
4134
|
return call("libgobject-2.0.so.0", "g_type_default_interface_peek", [
|
|
2964
4135
|
{
|
|
@@ -2967,6 +4138,19 @@ export const typeDefaultInterfacePeek = (gType) => {
|
|
|
2967
4138
|
},
|
|
2968
4139
|
], { type: "int", size: 64, unsigned: true });
|
|
2969
4140
|
};
|
|
4141
|
+
/**
|
|
4142
|
+
* Increments the reference count for the interface type @g_type,
|
|
4143
|
+
* and returns the default interface vtable for the type.
|
|
4144
|
+
*
|
|
4145
|
+
* If the type is not currently in use, then the default vtable
|
|
4146
|
+
* for the type will be created and initialized by calling
|
|
4147
|
+
* the base interface init and default vtable init functions for
|
|
4148
|
+
* the type (the `base_init` and `class_init` members of #GTypeInfo).
|
|
4149
|
+
* Calling g_type_default_interface_ref() is useful when you
|
|
4150
|
+
* want to make sure that signals and properties for an interface
|
|
4151
|
+
* have been installed.
|
|
4152
|
+
* @param gType - an interface type
|
|
4153
|
+
*/
|
|
2970
4154
|
export const typeDefaultInterfaceRef = (gType) => {
|
|
2971
4155
|
return call("libgobject-2.0.so.0", "g_type_default_interface_ref", [
|
|
2972
4156
|
{
|
|
@@ -2975,6 +4159,15 @@ export const typeDefaultInterfaceRef = (gType) => {
|
|
|
2975
4159
|
},
|
|
2976
4160
|
], { type: "int", size: 64, unsigned: true });
|
|
2977
4161
|
};
|
|
4162
|
+
/**
|
|
4163
|
+
* Decrements the reference count for the type corresponding to the
|
|
4164
|
+
* interface default vtable @g_iface.
|
|
4165
|
+
*
|
|
4166
|
+
* If the type is dynamic, then when no one is using the interface and all
|
|
4167
|
+
* references have been released, the finalize function for the interface's
|
|
4168
|
+
* default vtable (the `class_finalize` member of #GTypeInfo) will be called.
|
|
4169
|
+
* @param gIface - the default vtable
|
|
4170
|
+
*/
|
|
2978
4171
|
export const typeDefaultInterfaceUnref = (gIface) => {
|
|
2979
4172
|
call("libgobject-2.0.so.0", "g_type_default_interface_unref", [
|
|
2980
4173
|
{
|
|
@@ -2983,6 +4176,11 @@ export const typeDefaultInterfaceUnref = (gIface) => {
|
|
|
2983
4176
|
},
|
|
2984
4177
|
], { type: "undefined" });
|
|
2985
4178
|
};
|
|
4179
|
+
/**
|
|
4180
|
+
* Returns the length of the ancestry of the passed in type. This
|
|
4181
|
+
* includes the type itself, so that e.g. a fundamental type has depth 1.
|
|
4182
|
+
* @param type - a #GType
|
|
4183
|
+
*/
|
|
2986
4184
|
export const typeDepth = (type) => {
|
|
2987
4185
|
return call("libgobject-2.0.so.0", "g_type_depth", [
|
|
2988
4186
|
{
|
|
@@ -2991,6 +4189,21 @@ export const typeDepth = (type) => {
|
|
|
2991
4189
|
},
|
|
2992
4190
|
], { type: "int", size: 32, unsigned: true });
|
|
2993
4191
|
};
|
|
4192
|
+
/**
|
|
4193
|
+
* Ensures that the indicated `type` has been registered with the
|
|
4194
|
+
* type system, and its _class_init() method has been run.
|
|
4195
|
+
*
|
|
4196
|
+
* In theory, simply calling the type's _get_type() method (or using
|
|
4197
|
+
* the corresponding macro) is supposed take care of this. However,
|
|
4198
|
+
* _get_type() methods are often marked %G_GNUC_CONST for performance
|
|
4199
|
+
* reasons, even though this is technically incorrect (since
|
|
4200
|
+
* %G_GNUC_CONST requires that the function not have side effects,
|
|
4201
|
+
* which _get_type() methods do on the first call). As a result, if
|
|
4202
|
+
* you write a bare call to a _get_type() macro, it may get optimized
|
|
4203
|
+
* out by the compiler. Using g_type_ensure() guarantees that the
|
|
4204
|
+
* type's _get_type() method is called.
|
|
4205
|
+
* @param type - a #GType
|
|
4206
|
+
*/
|
|
2994
4207
|
export const typeEnsure = (type) => {
|
|
2995
4208
|
call("libgobject-2.0.so.0", "g_type_ensure", [
|
|
2996
4209
|
{
|
|
@@ -2999,6 +4212,14 @@ export const typeEnsure = (type) => {
|
|
|
2999
4212
|
},
|
|
3000
4213
|
], { type: "undefined" });
|
|
3001
4214
|
};
|
|
4215
|
+
/**
|
|
4216
|
+
* Frees an instance of a type, returning it to the instance pool for
|
|
4217
|
+
* the type, if there is one.
|
|
4218
|
+
*
|
|
4219
|
+
* Like g_type_create_instance(), this function is reserved for
|
|
4220
|
+
* implementors of fundamental types.
|
|
4221
|
+
* @param instance - an instance of a type
|
|
4222
|
+
*/
|
|
3002
4223
|
export const typeFreeInstance = (instance) => {
|
|
3003
4224
|
call("libgobject-2.0.so.0", "g_type_free_instance", [
|
|
3004
4225
|
{
|
|
@@ -3007,6 +4228,13 @@ export const typeFreeInstance = (instance) => {
|
|
|
3007
4228
|
},
|
|
3008
4229
|
], { type: "undefined" });
|
|
3009
4230
|
};
|
|
4231
|
+
/**
|
|
4232
|
+
* Look up the type ID from a given type name, returning 0 if no type
|
|
4233
|
+
* has been registered under this name (this is the preferred method
|
|
4234
|
+
* to find out by name whether a specific type has been registered
|
|
4235
|
+
* yet).
|
|
4236
|
+
* @param name - type name to look up
|
|
4237
|
+
*/
|
|
3010
4238
|
export const typeFromName = (name) => {
|
|
3011
4239
|
return call("libgobject-2.0.so.0", "g_type_from_name", [
|
|
3012
4240
|
{
|
|
@@ -3015,6 +4243,11 @@ export const typeFromName = (name) => {
|
|
|
3015
4243
|
},
|
|
3016
4244
|
], { type: "int", size: 64, unsigned: true });
|
|
3017
4245
|
};
|
|
4246
|
+
/**
|
|
4247
|
+
* Internal function, used to extract the fundamental type ID portion.
|
|
4248
|
+
* Use G_TYPE_FUNDAMENTAL() instead.
|
|
4249
|
+
* @param typeId - valid type ID
|
|
4250
|
+
*/
|
|
3018
4251
|
export const typeFundamental = (typeId) => {
|
|
3019
4252
|
return call("libgobject-2.0.so.0", "g_type_fundamental", [
|
|
3020
4253
|
{
|
|
@@ -3023,6 +4256,12 @@ export const typeFundamental = (typeId) => {
|
|
|
3023
4256
|
},
|
|
3024
4257
|
], { type: "int", size: 64, unsigned: true });
|
|
3025
4258
|
};
|
|
4259
|
+
/**
|
|
4260
|
+
* Returns the next free fundamental type id which can be used to
|
|
4261
|
+
* register a new fundamental type with g_type_register_fundamental().
|
|
4262
|
+
* The returned type ID represents the highest currently registered
|
|
4263
|
+
* fundamental type identifier.
|
|
4264
|
+
*/
|
|
3026
4265
|
export const typeFundamentalNext = () => {
|
|
3027
4266
|
return call("libgobject-2.0.so.0", "g_type_fundamental_next", [], {
|
|
3028
4267
|
type: "int",
|
|
@@ -3030,6 +4269,13 @@ export const typeFundamentalNext = () => {
|
|
|
3030
4269
|
unsigned: true,
|
|
3031
4270
|
});
|
|
3032
4271
|
};
|
|
4272
|
+
/**
|
|
4273
|
+
* Returns the number of instances allocated of the particular type;
|
|
4274
|
+
* this is only available if GLib is built with debugging support and
|
|
4275
|
+
* the `instance-count` debug flag is set (by setting the `GOBJECT_DEBUG`
|
|
4276
|
+
* variable to include `instance-count`).
|
|
4277
|
+
* @param type - a #GType
|
|
4278
|
+
*/
|
|
3033
4279
|
export const typeGetInstanceCount = (type) => {
|
|
3034
4280
|
return call("libgobject-2.0.so.0", "g_type_get_instance_count", [
|
|
3035
4281
|
{
|
|
@@ -3038,6 +4284,10 @@ export const typeGetInstanceCount = (type) => {
|
|
|
3038
4284
|
},
|
|
3039
4285
|
], { type: "int", size: 32, unsigned: false });
|
|
3040
4286
|
};
|
|
4287
|
+
/**
|
|
4288
|
+
* Returns the #GTypePlugin structure for @type.
|
|
4289
|
+
* @param type - #GType to retrieve the plugin for
|
|
4290
|
+
*/
|
|
3041
4291
|
export const typeGetPlugin = (type) => {
|
|
3042
4292
|
const ptr = call("libgobject-2.0.so.0", "g_type_get_plugin", [
|
|
3043
4293
|
{
|
|
@@ -3047,6 +4297,15 @@ export const typeGetPlugin = (type) => {
|
|
|
3047
4297
|
], { type: "gobject", borrowed: true });
|
|
3048
4298
|
return getObject(ptr, TypePlugin);
|
|
3049
4299
|
};
|
|
4300
|
+
/**
|
|
4301
|
+
* Obtains data which has previously been attached to `type` with g_type_set_qdata().
|
|
4302
|
+
*
|
|
4303
|
+
* Note that this does not take subtyping into account; data
|
|
4304
|
+
* attached to one type with g_type_set_qdata() cannot
|
|
4305
|
+
* be retrieved from a subtype using g_type_get_qdata().
|
|
4306
|
+
* @param type - a #GType
|
|
4307
|
+
* @param quark - a #GQuark id to identify the data
|
|
4308
|
+
*/
|
|
3050
4309
|
export const typeGetQdata = (type, quark) => {
|
|
3051
4310
|
return call("libgobject-2.0.so.0", "g_type_get_qdata", [
|
|
3052
4311
|
{
|
|
@@ -3059,12 +4318,33 @@ export const typeGetQdata = (type, quark) => {
|
|
|
3059
4318
|
},
|
|
3060
4319
|
], { type: "int", size: 64, unsigned: true });
|
|
3061
4320
|
};
|
|
4321
|
+
/**
|
|
4322
|
+
* Returns an opaque serial number that represents the state of the set
|
|
4323
|
+
* of registered types. Any time a type is registered this serial changes,
|
|
4324
|
+
* which means you can cache information based on type lookups (such as
|
|
4325
|
+
* g_type_from_name()) and know if the cache is still valid at a later
|
|
4326
|
+
* time by comparing the current serial with the one at the type lookup.
|
|
4327
|
+
*/
|
|
3062
4328
|
export const typeGetTypeRegistrationSerial = () => {
|
|
3063
4329
|
return call("libgobject-2.0.so.0", "g_type_get_type_registration_serial", [], { type: "int", size: 32, unsigned: true });
|
|
3064
4330
|
};
|
|
4331
|
+
/**
|
|
4332
|
+
* This function used to initialise the type system. Since GLib 2.36,
|
|
4333
|
+
* the type system is initialised automatically and this function does
|
|
4334
|
+
* nothing.
|
|
4335
|
+
*/
|
|
3065
4336
|
export const typeInit = () => {
|
|
3066
4337
|
call("libgobject-2.0.so.0", "g_type_init", [], { type: "undefined" });
|
|
3067
4338
|
};
|
|
4339
|
+
/**
|
|
4340
|
+
* This function used to initialise the type system with debugging
|
|
4341
|
+
* flags. Since GLib 2.36, the type system is initialised automatically
|
|
4342
|
+
* and this function does nothing.
|
|
4343
|
+
*
|
|
4344
|
+
* If you need to enable debugging features, use the `GOBJECT_DEBUG`
|
|
4345
|
+
* environment variable.
|
|
4346
|
+
* @param debugFlags - bitwise combination of #GTypeDebugFlags values for
|
|
4347
|
+
*/
|
|
3068
4348
|
export const typeInitWithDebugFlags = (debugFlags) => {
|
|
3069
4349
|
call("libgobject-2.0.so.0", "g_type_init_with_debug_flags", [
|
|
3070
4350
|
{
|
|
@@ -3073,6 +4353,15 @@ export const typeInitWithDebugFlags = (debugFlags) => {
|
|
|
3073
4353
|
},
|
|
3074
4354
|
], { type: "undefined" });
|
|
3075
4355
|
};
|
|
4356
|
+
/**
|
|
4357
|
+
* Adds `prerequisite_type` to the list of prerequisites of @interface_type.
|
|
4358
|
+
* This means that any type implementing `interface_type` must also implement
|
|
4359
|
+
* @prerequisite_type. Prerequisites can be thought of as an alternative to
|
|
4360
|
+
* interface derivation (which GType doesn't support). An interface can have
|
|
4361
|
+
* at most one instantiatable prerequisite type.
|
|
4362
|
+
* @param interfaceType - #GType value of an interface type
|
|
4363
|
+
* @param prerequisiteType - #GType value of an interface or instantiatable type
|
|
4364
|
+
*/
|
|
3076
4365
|
export const typeInterfaceAddPrerequisite = (interfaceType, prerequisiteType) => {
|
|
3077
4366
|
call("libgobject-2.0.so.0", "g_type_interface_add_prerequisite", [
|
|
3078
4367
|
{
|
|
@@ -3085,6 +4374,14 @@ export const typeInterfaceAddPrerequisite = (interfaceType, prerequisiteType) =>
|
|
|
3085
4374
|
},
|
|
3086
4375
|
], { type: "undefined" });
|
|
3087
4376
|
};
|
|
4377
|
+
/**
|
|
4378
|
+
* Returns the #GTypePlugin structure for the dynamic interface
|
|
4379
|
+
* `interface_type` which has been added to @instance_type, or %NULL
|
|
4380
|
+
* if `interface_type` has not been added to `instance_type` or does
|
|
4381
|
+
* not have a #GTypePlugin structure. See g_type_add_interface_dynamic().
|
|
4382
|
+
* @param instanceType - #GType of an instantiatable type
|
|
4383
|
+
* @param interfaceType - #GType of an interface type
|
|
4384
|
+
*/
|
|
3088
4385
|
export const typeInterfaceGetPlugin = (instanceType, interfaceType) => {
|
|
3089
4386
|
const ptr = call("libgobject-2.0.so.0", "g_type_interface_get_plugin", [
|
|
3090
4387
|
{
|
|
@@ -3098,6 +4395,15 @@ export const typeInterfaceGetPlugin = (instanceType, interfaceType) => {
|
|
|
3098
4395
|
], { type: "gobject", borrowed: true });
|
|
3099
4396
|
return getObject(ptr, TypePlugin);
|
|
3100
4397
|
};
|
|
4398
|
+
/**
|
|
4399
|
+
* Returns the most specific instantiatable prerequisite of an
|
|
4400
|
+
* interface type. If the interface type has no instantiatable
|
|
4401
|
+
* prerequisite, %G_TYPE_INVALID is returned.
|
|
4402
|
+
*
|
|
4403
|
+
* See g_type_interface_add_prerequisite() for more information
|
|
4404
|
+
* about prerequisites.
|
|
4405
|
+
* @param interfaceType - an interface type
|
|
4406
|
+
*/
|
|
3101
4407
|
export const typeInterfaceInstantiatablePrerequisite = (interfaceType) => {
|
|
3102
4408
|
return call("libgobject-2.0.so.0", "g_type_interface_instantiatable_prerequisite", [
|
|
3103
4409
|
{
|
|
@@ -3106,6 +4412,12 @@ export const typeInterfaceInstantiatablePrerequisite = (interfaceType) => {
|
|
|
3106
4412
|
},
|
|
3107
4413
|
], { type: "int", size: 64, unsigned: true });
|
|
3108
4414
|
};
|
|
4415
|
+
/**
|
|
4416
|
+
* Returns the #GTypeInterface structure of an interface to which the
|
|
4417
|
+
* passed in class conforms.
|
|
4418
|
+
* @param instanceClass - a #GTypeClass structure
|
|
4419
|
+
* @param ifaceType - an interface ID which this class conforms to
|
|
4420
|
+
*/
|
|
3109
4421
|
export const typeInterfacePeek = (instanceClass, ifaceType) => {
|
|
3110
4422
|
return call("libgobject-2.0.so.0", "g_type_interface_peek", [
|
|
3111
4423
|
{
|
|
@@ -3118,6 +4430,11 @@ export const typeInterfacePeek = (instanceClass, ifaceType) => {
|
|
|
3118
4430
|
},
|
|
3119
4431
|
], { type: "int", size: 64, unsigned: true });
|
|
3120
4432
|
};
|
|
4433
|
+
/**
|
|
4434
|
+
* Returns the prerequisites of an interfaces type.
|
|
4435
|
+
* @param interfaceType - an interface type
|
|
4436
|
+
* @param nPrerequisites - location to return the number
|
|
4437
|
+
*/
|
|
3121
4438
|
export const typeInterfacePrerequisites = (interfaceType, nPrerequisites) => {
|
|
3122
4439
|
return call("libgobject-2.0.so.0", "g_type_interface_prerequisites", [
|
|
3123
4440
|
{
|
|
@@ -3134,6 +4451,12 @@ export const typeInterfacePrerequisites = (interfaceType, nPrerequisites) => {
|
|
|
3134
4451
|
},
|
|
3135
4452
|
], { type: "array", itemType: { type: "int", size: 64, unsigned: true } });
|
|
3136
4453
|
};
|
|
4454
|
+
/**
|
|
4455
|
+
* Return a newly allocated and 0-terminated array of type IDs, listing
|
|
4456
|
+
* the interface types that `type` conforms to.
|
|
4457
|
+
* @param type - the type to list interface types for
|
|
4458
|
+
* @param nInterfaces - location to store the length of
|
|
4459
|
+
*/
|
|
3137
4460
|
export const typeInterfaces = (type, nInterfaces) => {
|
|
3138
4461
|
return call("libgobject-2.0.so.0", "g_type_interfaces", [
|
|
3139
4462
|
{
|
|
@@ -3150,6 +4473,13 @@ export const typeInterfaces = (type, nInterfaces) => {
|
|
|
3150
4473
|
},
|
|
3151
4474
|
], { type: "array", itemType: { type: "int", size: 64, unsigned: true } });
|
|
3152
4475
|
};
|
|
4476
|
+
/**
|
|
4477
|
+
* If `is_a_type` is a derivable type, check whether `type` is a
|
|
4478
|
+
* descendant of @is_a_type. If `is_a_type` is an interface, check
|
|
4479
|
+
* whether `type` conforms to it.
|
|
4480
|
+
* @param type - type to check ancestry for
|
|
4481
|
+
* @param isAType - possible ancestor of `type` or interface that `type` could conform to
|
|
4482
|
+
*/
|
|
3153
4483
|
export const typeIsA = (type, isAType) => {
|
|
3154
4484
|
return call("libgobject-2.0.so.0", "g_type_is_a", [
|
|
3155
4485
|
{
|
|
@@ -3162,6 +4492,15 @@ export const typeIsA = (type, isAType) => {
|
|
|
3162
4492
|
},
|
|
3163
4493
|
], { type: "boolean" });
|
|
3164
4494
|
};
|
|
4495
|
+
/**
|
|
4496
|
+
* Get the unique name that is assigned to a type ID.
|
|
4497
|
+
*
|
|
4498
|
+
* Note that this function (like all other GType API) cannot cope with
|
|
4499
|
+
* invalid type IDs. %G_TYPE_INVALID may be passed to this function, as
|
|
4500
|
+
* may be any other validly registered type ID, but randomized type IDs
|
|
4501
|
+
* should not be passed in and will most likely lead to a crash.
|
|
4502
|
+
* @param type - type to return name for
|
|
4503
|
+
*/
|
|
3165
4504
|
export const typeName = (type) => {
|
|
3166
4505
|
return call("libgobject-2.0.so.0", "g_type_name", [
|
|
3167
4506
|
{
|
|
@@ -3186,6 +4525,17 @@ export const typeNameFromInstance = (instance) => {
|
|
|
3186
4525
|
},
|
|
3187
4526
|
], { type: "string", borrowed: true });
|
|
3188
4527
|
};
|
|
4528
|
+
/**
|
|
4529
|
+
* Given a `leaf_type` and a `root_type` which is contained in its
|
|
4530
|
+
* ancestry, return the type that `root_type` is the immediate parent
|
|
4531
|
+
* of. In other words, this function determines the type that is
|
|
4532
|
+
* derived directly from `root_type` which is also a base class of
|
|
4533
|
+
* @leaf_type. Given a root type and a leaf type, this function can
|
|
4534
|
+
* be used to determine the types and order in which the leaf type is
|
|
4535
|
+
* descended from the root type.
|
|
4536
|
+
* @param leafType - descendant of `root_type` and the type to be returned
|
|
4537
|
+
* @param rootType - immediate parent of the returned type
|
|
4538
|
+
*/
|
|
3189
4539
|
export const typeNextBase = (leafType, rootType) => {
|
|
3190
4540
|
return call("libgobject-2.0.so.0", "g_type_next_base", [
|
|
3191
4541
|
{
|
|
@@ -3198,6 +4548,11 @@ export const typeNextBase = (leafType, rootType) => {
|
|
|
3198
4548
|
},
|
|
3199
4549
|
], { type: "int", size: 64, unsigned: true });
|
|
3200
4550
|
};
|
|
4551
|
+
/**
|
|
4552
|
+
* Return the direct parent type of the passed in type. If the passed
|
|
4553
|
+
* in type has no parent, i.e. is a fundamental type, 0 is returned.
|
|
4554
|
+
* @param type - the derived type
|
|
4555
|
+
*/
|
|
3201
4556
|
export const typeParent = (type) => {
|
|
3202
4557
|
return call("libgobject-2.0.so.0", "g_type_parent", [
|
|
3203
4558
|
{
|
|
@@ -3206,6 +4561,10 @@ export const typeParent = (type) => {
|
|
|
3206
4561
|
},
|
|
3207
4562
|
], { type: "int", size: 64, unsigned: true });
|
|
3208
4563
|
};
|
|
4564
|
+
/**
|
|
4565
|
+
* Get the corresponding quark of the type IDs name.
|
|
4566
|
+
* @param type - type to return quark of type name for
|
|
4567
|
+
*/
|
|
3209
4568
|
export const typeQname = (type) => {
|
|
3210
4569
|
return call("libgobject-2.0.so.0", "g_type_qname", [
|
|
3211
4570
|
{
|
|
@@ -3214,6 +4573,20 @@ export const typeQname = (type) => {
|
|
|
3214
4573
|
},
|
|
3215
4574
|
], { type: "int", size: 32, unsigned: true });
|
|
3216
4575
|
};
|
|
4576
|
+
/**
|
|
4577
|
+
* Queries the type system for information about a specific type.
|
|
4578
|
+
*
|
|
4579
|
+
* This function will fill in a user-provided structure to hold
|
|
4580
|
+
* type-specific information. If an invalid #GType is passed in, the
|
|
4581
|
+
* `type` member of the #GTypeQuery is 0. All members filled into the
|
|
4582
|
+
* #GTypeQuery structure should be considered constant and have to be
|
|
4583
|
+
* left untouched.
|
|
4584
|
+
*
|
|
4585
|
+
* Since GLib 2.78, this function allows queries on dynamic types. Previously
|
|
4586
|
+
* it only supported static types.
|
|
4587
|
+
* @param type - #GType of a static, classed type
|
|
4588
|
+
* @param query - a user provided structure that is
|
|
4589
|
+
*/
|
|
3217
4590
|
export const typeQuery = (type, query) => {
|
|
3218
4591
|
call("libgobject-2.0.so.0", "g_type_query", [
|
|
3219
4592
|
{
|
|
@@ -3229,6 +4602,17 @@ export const typeQuery = (type, query) => {
|
|
|
3229
4602
|
},
|
|
3230
4603
|
], { type: "undefined" });
|
|
3231
4604
|
};
|
|
4605
|
+
/**
|
|
4606
|
+
* Registers `type_name` as the name of a new dynamic type derived from
|
|
4607
|
+
* @parent_type. The type system uses the information contained in the
|
|
4608
|
+
* #GTypePlugin structure pointed to by `plugin` to manage the type and its
|
|
4609
|
+
* instances (if not abstract). The value of `flags` determines the nature
|
|
4610
|
+
* (e.g. abstract or not) of the type.
|
|
4611
|
+
* @param parentType - type from which this type will be derived
|
|
4612
|
+
* @param typeName - 0-terminated string used as the name of the new type
|
|
4613
|
+
* @param plugin - #GTypePlugin structure to retrieve the #GTypeInfo from
|
|
4614
|
+
* @param flags - bitwise combination of #GTypeFlags values
|
|
4615
|
+
*/
|
|
3232
4616
|
export const typeRegisterDynamic = (parentType, typeName, plugin, flags) => {
|
|
3233
4617
|
return call("libgobject-2.0.so.0", "g_type_register_dynamic", [
|
|
3234
4618
|
{
|
|
@@ -3249,6 +4633,20 @@ export const typeRegisterDynamic = (parentType, typeName, plugin, flags) => {
|
|
|
3249
4633
|
},
|
|
3250
4634
|
], { type: "int", size: 64, unsigned: true });
|
|
3251
4635
|
};
|
|
4636
|
+
/**
|
|
4637
|
+
* Registers `type_id` as the predefined identifier and `type_name` as the
|
|
4638
|
+
* name of a fundamental type. If `type_id` is already registered, or a
|
|
4639
|
+
* type named `type_name` is already registered, the behaviour is undefined.
|
|
4640
|
+
* The type system uses the information contained in the #GTypeInfo structure
|
|
4641
|
+
* pointed to by `info` and the #GTypeFundamentalInfo structure pointed to by
|
|
4642
|
+
* `finfo` to manage the type and its instances. The value of `flags` determines
|
|
4643
|
+
* additional characteristics of the fundamental type.
|
|
4644
|
+
* @param typeId - a predefined type identifier
|
|
4645
|
+
* @param typeName - 0-terminated string used as the name of the new type
|
|
4646
|
+
* @param info - #GTypeInfo structure for this type
|
|
4647
|
+
* @param finfo - #GTypeFundamentalInfo structure for this type
|
|
4648
|
+
* @param flags - bitwise combination of #GTypeFlags values
|
|
4649
|
+
*/
|
|
3252
4650
|
export const typeRegisterFundamental = (typeId, typeName, info, finfo, flags) => {
|
|
3253
4651
|
return call("libgobject-2.0.so.0", "g_type_register_fundamental", [
|
|
3254
4652
|
{
|
|
@@ -3273,6 +4671,17 @@ export const typeRegisterFundamental = (typeId, typeName, info, finfo, flags) =>
|
|
|
3273
4671
|
},
|
|
3274
4672
|
], { type: "int", size: 64, unsigned: true });
|
|
3275
4673
|
};
|
|
4674
|
+
/**
|
|
4675
|
+
* Registers `type_name` as the name of a new static type derived from
|
|
4676
|
+
* @parent_type. The type system uses the information contained in the
|
|
4677
|
+
* #GTypeInfo structure pointed to by `info` to manage the type and its
|
|
4678
|
+
* instances (if not abstract). The value of `flags` determines the nature
|
|
4679
|
+
* (e.g. abstract or not) of the type.
|
|
4680
|
+
* @param parentType - type from which this type will be derived
|
|
4681
|
+
* @param typeName - 0-terminated string used as the name of the new type
|
|
4682
|
+
* @param info - #GTypeInfo structure for this type
|
|
4683
|
+
* @param flags - bitwise combination of #GTypeFlags values
|
|
4684
|
+
*/
|
|
3276
4685
|
export const typeRegisterStatic = (parentType, typeName, info, flags) => {
|
|
3277
4686
|
return call("libgobject-2.0.so.0", "g_type_register_static", [
|
|
3278
4687
|
{
|
|
@@ -3293,6 +4702,12 @@ export const typeRegisterStatic = (parentType, typeName, info, flags) => {
|
|
|
3293
4702
|
},
|
|
3294
4703
|
], { type: "int", size: 64, unsigned: true });
|
|
3295
4704
|
};
|
|
4705
|
+
/**
|
|
4706
|
+
* Attaches arbitrary data to a type.
|
|
4707
|
+
* @param type - a #GType
|
|
4708
|
+
* @param quark - a #GQuark id to identify the data
|
|
4709
|
+
* @param data - the data
|
|
4710
|
+
*/
|
|
3296
4711
|
export const typeSetQdata = (type, quark, data) => {
|
|
3297
4712
|
call("libgobject-2.0.so.0", "g_type_set_qdata", [
|
|
3298
4713
|
{
|
|
@@ -3322,6 +4737,12 @@ export const typeTestFlags = (type, flags) => {
|
|
|
3322
4737
|
},
|
|
3323
4738
|
], { type: "boolean" });
|
|
3324
4739
|
};
|
|
4740
|
+
/**
|
|
4741
|
+
* Checks whether a [method@GObject.Value.copy] is able to copy values of type
|
|
4742
|
+
* `src_type` into values of type @dest_type.
|
|
4743
|
+
* @param srcType - source type to be copied
|
|
4744
|
+
* @param destType - destination type for copying
|
|
4745
|
+
*/
|
|
3325
4746
|
export const valueTypeCompatible = (srcType, destType) => {
|
|
3326
4747
|
return call("libgobject-2.0.so.0", "g_value_type_compatible", [
|
|
3327
4748
|
{
|
|
@@ -3334,6 +4755,16 @@ export const valueTypeCompatible = (srcType, destType) => {
|
|
|
3334
4755
|
},
|
|
3335
4756
|
], { type: "boolean" });
|
|
3336
4757
|
};
|
|
4758
|
+
/**
|
|
4759
|
+
* Checks whether [method@GObject.Value.transform] is able to transform values
|
|
4760
|
+
* of type `src_type` into values of type @dest_type.
|
|
4761
|
+
*
|
|
4762
|
+
* Note that for the types to be transformable, they must be compatible or a
|
|
4763
|
+
* transformation function must be registered using
|
|
4764
|
+
* [func@GObject.Value.register_transform_func].
|
|
4765
|
+
* @param srcType - source type
|
|
4766
|
+
* @param destType - target type
|
|
4767
|
+
*/
|
|
3337
4768
|
export const valueTypeTransformable = (srcType, destType) => {
|
|
3338
4769
|
return call("libgobject-2.0.so.0", "g_value_type_transformable", [
|
|
3339
4770
|
{
|