@gtkx/ffi 0.1.44 → 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.
Files changed (1582) hide show
  1. package/dist/cairo/cairo.d.ts +103 -0
  2. package/dist/cairo/cairo.js +103 -0
  3. package/dist/cairo/index.d.ts +13 -0
  4. package/dist/cairo/index.js +13 -0
  5. package/dist/codegen/ffi-generator.d.ts +21 -0
  6. package/dist/codegen/ffi-generator.js +14 -0
  7. package/dist/generated/gdk/app-launch-context.d.ts +74 -0
  8. package/dist/generated/gdk/app-launch-context.js +74 -0
  9. package/dist/generated/gdk/button-event.d.ts +4 -0
  10. package/dist/generated/gdk/button-event.js +4 -0
  11. package/dist/generated/gdk/cairo-context.d.ts +17 -0
  12. package/dist/generated/gdk/cairo-context.js +17 -0
  13. package/dist/generated/gdk/cicp-params.d.ts +64 -0
  14. package/dist/generated/gdk/cicp-params.js +64 -0
  15. package/dist/generated/gdk/clipboard.d.ts +71 -0
  16. package/dist/generated/gdk/clipboard.js +89 -0
  17. package/dist/generated/gdk/color-state.d.ts +96 -0
  18. package/dist/generated/gdk/color-state.js +96 -0
  19. package/dist/generated/gdk/content-deserializer.d.ts +58 -0
  20. package/dist/generated/gdk/content-deserializer.js +58 -0
  21. package/dist/generated/gdk/content-formats-builder.d.ts +38 -0
  22. package/dist/generated/gdk/content-formats-builder.js +38 -0
  23. package/dist/generated/gdk/content-formats.d.ts +144 -0
  24. package/dist/generated/gdk/content-formats.js +144 -0
  25. package/dist/generated/gdk/content-provider.d.ts +59 -0
  26. package/dist/generated/gdk/content-provider.js +64 -0
  27. package/dist/generated/gdk/content-serializer.d.ts +59 -0
  28. package/dist/generated/gdk/content-serializer.js +59 -0
  29. package/dist/generated/gdk/crossing-event.d.ts +10 -0
  30. package/dist/generated/gdk/crossing-event.js +10 -0
  31. package/dist/generated/gdk/cursor.d.ts +139 -0
  32. package/dist/generated/gdk/cursor.js +129 -0
  33. package/dist/generated/gdk/delete-event.d.ts +1 -0
  34. package/dist/generated/gdk/delete-event.js +1 -0
  35. package/dist/generated/gdk/device-pad.d.ts +40 -0
  36. package/dist/generated/gdk/device-pad.js +40 -0
  37. package/dist/generated/gdk/device-tool.d.ts +26 -0
  38. package/dist/generated/gdk/device-tool.js +26 -0
  39. package/dist/generated/gdk/device.d.ts +123 -0
  40. package/dist/generated/gdk/device.js +129 -0
  41. package/dist/generated/gdk/display-manager.d.ts +25 -0
  42. package/dist/generated/gdk/display-manager.js +70 -0
  43. package/dist/generated/gdk/display.d.ts +256 -0
  44. package/dist/generated/gdk/display.js +272 -0
  45. package/dist/generated/gdk/dmabuf-formats.d.ts +55 -0
  46. package/dist/generated/gdk/dmabuf-formats.js +55 -0
  47. package/dist/generated/gdk/dmabuf-texture-builder.d.ts +217 -0
  48. package/dist/generated/gdk/dmabuf-texture-builder.js +217 -0
  49. package/dist/generated/gdk/dmabuf-texture.d.ts +8 -0
  50. package/dist/generated/gdk/dmabuf-texture.js +8 -0
  51. package/dist/generated/gdk/dndevent.d.ts +4 -0
  52. package/dist/generated/gdk/dndevent.js +4 -0
  53. package/dist/generated/gdk/drag-surface.d.ts +6 -0
  54. package/dist/generated/gdk/drag-surface.js +6 -0
  55. package/dist/generated/gdk/drag.d.ts +74 -0
  56. package/dist/generated/gdk/drag.js +86 -0
  57. package/dist/generated/gdk/draw-context.d.ts +70 -0
  58. package/dist/generated/gdk/draw-context.js +70 -0
  59. package/dist/generated/gdk/drop.d.ts +93 -0
  60. package/dist/generated/gdk/drop.js +93 -0
  61. package/dist/generated/gdk/enums.d.ts +1069 -0
  62. package/dist/generated/gdk/enums.js +1069 -0
  63. package/dist/generated/gdk/event-sequence.d.ts +1 -0
  64. package/dist/generated/gdk/event-sequence.js +1 -0
  65. package/dist/generated/gdk/event.d.ts +142 -0
  66. package/dist/generated/gdk/event.js +142 -0
  67. package/dist/generated/gdk/file-list.d.ts +20 -0
  68. package/dist/generated/gdk/file-list.js +20 -0
  69. package/dist/generated/gdk/focus-event.d.ts +5 -0
  70. package/dist/generated/gdk/focus-event.js +5 -0
  71. package/dist/generated/gdk/frame-clock.d.ts +79 -0
  72. package/dist/generated/gdk/frame-clock.js +113 -0
  73. package/dist/generated/gdk/frame-timings.d.ts +68 -0
  74. package/dist/generated/gdk/frame-timings.js +68 -0
  75. package/dist/generated/gdk/functions.d.ts +367 -0
  76. package/dist/generated/gdk/functions.js +367 -0
  77. package/dist/generated/gdk/glcontext.d.ts +203 -0
  78. package/dist/generated/gdk/glcontext.js +203 -0
  79. package/dist/generated/gdk/gltexture-builder.d.ts +157 -0
  80. package/dist/generated/gdk/gltexture-builder.js +157 -0
  81. package/dist/generated/gdk/gltexture.d.ts +21 -0
  82. package/dist/generated/gdk/gltexture.js +8 -0
  83. package/dist/generated/gdk/grab-broken-event.d.ts +7 -0
  84. package/dist/generated/gdk/grab-broken-event.js +7 -0
  85. package/dist/generated/gdk/key-event.d.ts +39 -0
  86. package/dist/generated/gdk/key-event.js +39 -0
  87. package/dist/generated/gdk/memory-texture-builder.d.ts +131 -0
  88. package/dist/generated/gdk/memory-texture-builder.js +131 -0
  89. package/dist/generated/gdk/memory-texture.d.ts +12 -0
  90. package/dist/generated/gdk/memory-texture.js +1 -0
  91. package/dist/generated/gdk/monitor.d.ts +77 -0
  92. package/dist/generated/gdk/monitor.js +85 -0
  93. package/dist/generated/gdk/motion-event.d.ts +1 -0
  94. package/dist/generated/gdk/motion-event.js +1 -0
  95. package/dist/generated/gdk/pad-event.d.ts +15 -0
  96. package/dist/generated/gdk/pad-event.js +15 -0
  97. package/dist/generated/gdk/paintable.d.ts +155 -0
  98. package/dist/generated/gdk/paintable.js +155 -0
  99. package/dist/generated/gdk/popup-layout.d.ts +126 -0
  100. package/dist/generated/gdk/popup-layout.js +110 -0
  101. package/dist/generated/gdk/popup.d.ts +53 -0
  102. package/dist/generated/gdk/popup.js +53 -0
  103. package/dist/generated/gdk/proximity-event.d.ts +1 -0
  104. package/dist/generated/gdk/proximity-event.js +1 -0
  105. package/dist/generated/gdk/rectangle.d.ts +53 -0
  106. package/dist/generated/gdk/rectangle.js +53 -0
  107. package/dist/generated/gdk/rgba.d.ts +82 -0
  108. package/dist/generated/gdk/rgba.js +82 -0
  109. package/dist/generated/gdk/scroll-event.d.ts +32 -0
  110. package/dist/generated/gdk/scroll-event.js +32 -0
  111. package/dist/generated/gdk/seat.d.ts +19 -0
  112. package/dist/generated/gdk/seat.js +20 -0
  113. package/dist/generated/gdk/snapshot.d.ts +5 -0
  114. package/dist/generated/gdk/snapshot.js +5 -0
  115. package/dist/generated/gdk/surface.d.ts +233 -0
  116. package/dist/generated/gdk/surface.js +236 -0
  117. package/dist/generated/gdk/texture-downloader.d.ts +81 -0
  118. package/dist/generated/gdk/texture-downloader.js +74 -0
  119. package/dist/generated/gdk/texture.d.ts +307 -0
  120. package/dist/generated/gdk/texture.js +299 -0
  121. package/dist/generated/gdk/toplevel-layout.d.ts +69 -0
  122. package/dist/generated/gdk/toplevel-layout.js +69 -0
  123. package/dist/generated/gdk/toplevel.d.ts +188 -0
  124. package/dist/generated/gdk/toplevel.js +188 -0
  125. package/dist/generated/gdk/touch-event.d.ts +4 -0
  126. package/dist/generated/gdk/touch-event.js +4 -0
  127. package/dist/generated/gdk/touchpad-event.d.ts +25 -0
  128. package/dist/generated/gdk/touchpad-event.js +25 -0
  129. package/dist/generated/gdk/vulkan-context.js +10 -0
  130. package/dist/generated/gdkpixbuf/enums.d.ts +106 -0
  131. package/dist/generated/gdkpixbuf/enums.js +106 -0
  132. package/dist/generated/gdkpixbuf/pixbuf-animation-iter.d.ts +64 -0
  133. package/dist/generated/gdkpixbuf/pixbuf-animation-iter.js +64 -0
  134. package/dist/generated/gdkpixbuf/pixbuf-animation.d.ts +132 -0
  135. package/dist/generated/gdkpixbuf/pixbuf-animation.js +121 -0
  136. package/dist/generated/gdkpixbuf/pixbuf-format.d.ts +80 -0
  137. package/dist/generated/gdkpixbuf/pixbuf-format.js +80 -0
  138. package/dist/generated/gdkpixbuf/pixbuf-loader.d.ts +107 -0
  139. package/dist/generated/gdkpixbuf/pixbuf-loader.js +154 -0
  140. package/dist/generated/gdkpixbuf/pixbuf-simple-anim.d.ts +20 -0
  141. package/dist/generated/gdkpixbuf/pixbuf-simple-anim.js +14 -0
  142. package/dist/generated/gdkpixbuf/pixbuf.d.ts +842 -0
  143. package/dist/generated/gdkpixbuf/pixbuf.js +829 -0
  144. package/dist/generated/gio/action-group.d.ts +243 -0
  145. package/dist/generated/gio/action-group.js +243 -0
  146. package/dist/generated/gio/action-map.d.ts +102 -0
  147. package/dist/generated/gio/action-map.js +102 -0
  148. package/dist/generated/gio/action.d.ts +118 -0
  149. package/dist/generated/gio/action.js +118 -0
  150. package/dist/generated/gio/app-info-monitor.d.ts +15 -0
  151. package/dist/generated/gio/app-info-monitor.js +56 -0
  152. package/dist/generated/gio/app-info.d.ts +221 -0
  153. package/dist/generated/gio/app-info.js +221 -0
  154. package/dist/generated/gio/app-launch-context.d.ts +53 -0
  155. package/dist/generated/gio/app-launch-context.js +58 -0
  156. package/dist/generated/gio/application-command-line.d.ts +339 -0
  157. package/dist/generated/gio/application-command-line.js +339 -0
  158. package/dist/generated/gio/application.d.ts +903 -0
  159. package/dist/generated/gio/application.js +1017 -0
  160. package/dist/generated/gio/async-initable.d.ts +155 -0
  161. package/dist/generated/gio/async-initable.js +155 -0
  162. package/dist/generated/gio/async-result.d.ts +110 -0
  163. package/dist/generated/gio/async-result.js +110 -0
  164. package/dist/generated/gio/buffered-input-stream.d.ts +154 -0
  165. package/dist/generated/gio/buffered-input-stream.js +149 -0
  166. package/dist/generated/gio/buffered-output-stream.d.ts +83 -0
  167. package/dist/generated/gio/buffered-output-stream.js +79 -0
  168. package/dist/generated/gio/bytes-icon.d.ts +67 -0
  169. package/dist/generated/gio/bytes-icon.js +60 -0
  170. package/dist/generated/gio/cancellable.d.ts +197 -0
  171. package/dist/generated/gio/cancellable.js +204 -0
  172. package/dist/generated/gio/charset-converter.d.ts +160 -0
  173. package/dist/generated/gio/charset-converter.js +155 -0
  174. package/dist/generated/gio/converter-input-stream.d.ts +70 -0
  175. package/dist/generated/gio/converter-input-stream.js +65 -0
  176. package/dist/generated/gio/converter-output-stream.d.ts +99 -0
  177. package/dist/generated/gio/converter-output-stream.js +94 -0
  178. package/dist/generated/gio/converter.d.ts +111 -0
  179. package/dist/generated/gio/converter.js +111 -0
  180. package/dist/generated/gio/credentials.d.ts +87 -0
  181. package/dist/generated/gio/credentials.js +87 -0
  182. package/dist/generated/gio/data-input-stream.d.ts +227 -0
  183. package/dist/generated/gio/data-input-stream.js +223 -0
  184. package/dist/generated/gio/data-output-stream.d.ts +97 -0
  185. package/dist/generated/gio/data-output-stream.js +93 -0
  186. package/dist/generated/gio/datagram-based.d.ts +224 -0
  187. package/dist/generated/gio/datagram-based.js +224 -0
  188. package/dist/generated/gio/dbus-action-group.d.ts +250 -0
  189. package/dist/generated/gio/dbus-action-group.js +250 -0
  190. package/dist/generated/gio/dbus-annotation-info.d.ts +23 -0
  191. package/dist/generated/gio/dbus-annotation-info.js +23 -0
  192. package/dist/generated/gio/dbus-arg-info.d.ts +16 -0
  193. package/dist/generated/gio/dbus-arg-info.js +16 -0
  194. package/dist/generated/gio/dbus-auth-observer.d.ts +12 -0
  195. package/dist/generated/gio/dbus-auth-observer.js +77 -0
  196. package/dist/generated/gio/dbus-connection.d.ts +948 -0
  197. package/dist/generated/gio/dbus-connection.js +998 -0
  198. package/dist/generated/gio/dbus-interface-info.d.ts +72 -0
  199. package/dist/generated/gio/dbus-interface-info.js +72 -0
  200. package/dist/generated/gio/dbus-interface-skeleton.d.ts +74 -0
  201. package/dist/generated/gio/dbus-interface-skeleton.js +75 -0
  202. package/dist/generated/gio/dbus-interface.d.ts +20 -0
  203. package/dist/generated/gio/dbus-interface.js +20 -0
  204. package/dist/generated/gio/dbus-menu-model.d.ts +18 -0
  205. package/dist/generated/gio/dbus-menu-model.js +18 -0
  206. package/dist/generated/gio/dbus-message.d.ts +271 -0
  207. package/dist/generated/gio/dbus-message.js +271 -0
  208. package/dist/generated/gio/dbus-method-info.d.ts +21 -0
  209. package/dist/generated/gio/dbus-method-info.js +21 -0
  210. package/dist/generated/gio/dbus-method-invocation.d.ts +148 -0
  211. package/dist/generated/gio/dbus-method-invocation.js +148 -0
  212. package/dist/generated/gio/dbus-node-info.d.ts +48 -0
  213. package/dist/generated/gio/dbus-node-info.js +37 -0
  214. package/dist/generated/gio/dbus-object-manager-client.d.ts +205 -0
  215. package/dist/generated/gio/dbus-object-manager-client.js +281 -0
  216. package/dist/generated/gio/dbus-object-manager-server.d.ts +89 -0
  217. package/dist/generated/gio/dbus-object-manager-server.js +79 -0
  218. package/dist/generated/gio/dbus-object-manager.d.ts +25 -0
  219. package/dist/generated/gio/dbus-object-manager.js +25 -0
  220. package/dist/generated/gio/dbus-object-proxy.d.ts +26 -0
  221. package/dist/generated/gio/dbus-object-proxy.js +20 -0
  222. package/dist/generated/gio/dbus-object-skeleton.d.ts +45 -0
  223. package/dist/generated/gio/dbus-object-skeleton.js +48 -0
  224. package/dist/generated/gio/dbus-object.d.ts +17 -0
  225. package/dist/generated/gio/dbus-object.js +17 -0
  226. package/dist/generated/gio/dbus-property-info.d.ts +17 -0
  227. package/dist/generated/gio/dbus-property-info.js +17 -0
  228. package/dist/generated/gio/dbus-proxy.d.ts +434 -0
  229. package/dist/generated/gio/dbus-proxy.js +480 -0
  230. package/dist/generated/gio/dbus-server.d.ts +90 -0
  231. package/dist/generated/gio/dbus-server.js +85 -0
  232. package/dist/generated/gio/dbus-signal-info.d.ts +18 -0
  233. package/dist/generated/gio/dbus-signal-info.js +18 -0
  234. package/dist/generated/gio/debug-controller-dbus.d.ts +77 -0
  235. package/dist/generated/gio/debug-controller-dbus.js +178 -0
  236. package/dist/generated/gio/debug-controller.d.ts +25 -0
  237. package/dist/generated/gio/debug-controller.js +25 -0
  238. package/dist/generated/gio/drive.d.ts +168 -0
  239. package/dist/generated/gio/drive.js +168 -0
  240. package/dist/generated/gio/dtls-client-connection.d.ts +40 -0
  241. package/dist/generated/gio/dtls-client-connection.js +40 -0
  242. package/dist/generated/gio/dtls-connection.d.ts +305 -0
  243. package/dist/generated/gio/dtls-connection.js +305 -0
  244. package/dist/generated/gio/dtls-server-connection.d.ts +4 -0
  245. package/dist/generated/gio/dtls-server-connection.js +4 -0
  246. package/dist/generated/gio/emblem.d.ts +55 -0
  247. package/dist/generated/gio/emblem.js +51 -0
  248. package/dist/generated/gio/emblemed-icon.d.ts +58 -0
  249. package/dist/generated/gio/emblemed-icon.js +53 -0
  250. package/dist/generated/gio/enums.d.ts +1294 -0
  251. package/dist/generated/gio/enums.js +1294 -0
  252. package/dist/generated/gio/file-attribute-info-list.d.ts +30 -0
  253. package/dist/generated/gio/file-attribute-info-list.js +30 -0
  254. package/dist/generated/gio/file-attribute-matcher.d.ts +70 -0
  255. package/dist/generated/gio/file-attribute-matcher.js +48 -0
  256. package/dist/generated/gio/file-enumerator.d.ts +222 -0
  257. package/dist/generated/gio/file-enumerator.js +222 -0
  258. package/dist/generated/gio/file-icon.d.ts +66 -0
  259. package/dist/generated/gio/file-icon.js +62 -0
  260. package/dist/generated/gio/file-info.d.ts +484 -0
  261. package/dist/generated/gio/file-info.js +484 -0
  262. package/dist/generated/gio/file-input-stream.d.ts +84 -0
  263. package/dist/generated/gio/file-input-stream.js +84 -0
  264. package/dist/generated/gio/file-iostream.d.ts +107 -0
  265. package/dist/generated/gio/file-iostream.js +107 -0
  266. package/dist/generated/gio/file-monitor.d.ts +23 -0
  267. package/dist/generated/gio/file-monitor.js +38 -0
  268. package/dist/generated/gio/file-output-stream.d.ts +102 -0
  269. package/dist/generated/gio/file-output-stream.js +102 -0
  270. package/dist/generated/gio/file.d.ts +1815 -0
  271. package/dist/generated/gio/file.js +1815 -0
  272. package/dist/generated/gio/filename-completer.d.ts +22 -0
  273. package/dist/generated/gio/filename-completer.js +27 -0
  274. package/dist/generated/gio/filter-input-stream.d.ts +17 -0
  275. package/dist/generated/gio/filter-input-stream.js +17 -0
  276. package/dist/generated/gio/filter-output-stream.d.ts +17 -0
  277. package/dist/generated/gio/filter-output-stream.js +17 -0
  278. package/dist/generated/gio/functions.d.ts +1432 -0
  279. package/dist/generated/gio/functions.js +1432 -0
  280. package/dist/generated/gio/icon.d.ts +64 -0
  281. package/dist/generated/gio/icon.js +64 -0
  282. package/dist/generated/gio/inet-address-mask.d.ts +80 -0
  283. package/dist/generated/gio/inet-address-mask.js +74 -0
  284. package/dist/generated/gio/inet-address.d.ts +100 -0
  285. package/dist/generated/gio/inet-address.js +95 -0
  286. package/dist/generated/gio/inet-socket-address.d.ts +39 -0
  287. package/dist/generated/gio/inet-socket-address.js +34 -0
  288. package/dist/generated/gio/initable.d.ts +67 -0
  289. package/dist/generated/gio/initable.js +67 -0
  290. package/dist/generated/gio/input-stream.d.ts +300 -0
  291. package/dist/generated/gio/input-stream.js +300 -0
  292. package/dist/generated/gio/iomodule.d.ts +43 -0
  293. package/dist/generated/gio/iomodule.js +38 -0
  294. package/dist/generated/gio/iostream.d.ts +147 -0
  295. package/dist/generated/gio/iostream.js +147 -0
  296. package/dist/generated/gio/list-model.d.ts +123 -0
  297. package/dist/generated/gio/list-model.js +123 -0
  298. package/dist/generated/gio/list-store.d.ts +170 -0
  299. package/dist/generated/gio/list-store.js +166 -0
  300. package/dist/generated/gio/loadable-icon.d.ts +25 -0
  301. package/dist/generated/gio/loadable-icon.js +25 -0
  302. package/dist/generated/gio/memory-input-stream.d.ts +127 -0
  303. package/dist/generated/gio/memory-input-stream.js +127 -0
  304. package/dist/generated/gio/memory-monitor.d.ts +50 -0
  305. package/dist/generated/gio/memory-monitor.js +50 -0
  306. package/dist/generated/gio/memory-output-stream.d.ts +176 -0
  307. package/dist/generated/gio/memory-output-stream.js +176 -0
  308. package/dist/generated/gio/menu-attribute-iter.d.ts +45 -0
  309. package/dist/generated/gio/menu-attribute-iter.js +45 -0
  310. package/dist/generated/gio/menu-item.d.ts +243 -0
  311. package/dist/generated/gio/menu-item.js +231 -0
  312. package/dist/generated/gio/menu-link-iter.d.ts +42 -0
  313. package/dist/generated/gio/menu-link-iter.js +42 -0
  314. package/dist/generated/gio/menu-model.d.ts +68 -0
  315. package/dist/generated/gio/menu-model.js +186 -0
  316. package/dist/generated/gio/menu.d.ts +140 -0
  317. package/dist/generated/gio/menu.js +140 -0
  318. package/dist/generated/gio/mount-operation.d.ts +73 -0
  319. package/dist/generated/gio/mount-operation.js +97 -0
  320. package/dist/generated/gio/mount.d.ts +217 -0
  321. package/dist/generated/gio/mount.js +217 -0
  322. package/dist/generated/gio/native-socket-address.d.ts +11 -0
  323. package/dist/generated/gio/native-socket-address.js +6 -0
  324. package/dist/generated/gio/network-address.d.ts +105 -0
  325. package/dist/generated/gio/network-address.js +93 -0
  326. package/dist/generated/gio/network-monitor.d.ts +79 -0
  327. package/dist/generated/gio/network-monitor.js +79 -0
  328. package/dist/generated/gio/network-service.d.ts +59 -0
  329. package/dist/generated/gio/network-service.js +51 -0
  330. package/dist/generated/gio/notification.d.ts +134 -0
  331. package/dist/generated/gio/notification.js +125 -0
  332. package/dist/generated/gio/output-stream.d.ts +452 -0
  333. package/dist/generated/gio/output-stream.js +452 -0
  334. package/dist/generated/gio/permission.d.ts +112 -0
  335. package/dist/generated/gio/permission.js +112 -0
  336. package/dist/generated/gio/pollable-input-stream.d.ts +66 -0
  337. package/dist/generated/gio/pollable-input-stream.js +66 -0
  338. package/dist/generated/gio/pollable-output-stream.d.ts +95 -0
  339. package/dist/generated/gio/pollable-output-stream.js +95 -0
  340. package/dist/generated/gio/power-profile-monitor.d.ts +33 -0
  341. package/dist/generated/gio/power-profile-monitor.js +33 -0
  342. package/dist/generated/gio/property-action.d.ts +154 -0
  343. package/dist/generated/gio/property-action.js +141 -0
  344. package/dist/generated/gio/proxy-address-enumerator.d.ts +12 -0
  345. package/dist/generated/gio/proxy-address-enumerator.js +12 -0
  346. package/dist/generated/gio/proxy-address.d.ts +42 -0
  347. package/dist/generated/gio/proxy-address.js +27 -0
  348. package/dist/generated/gio/proxy-resolver.d.ts +48 -0
  349. package/dist/generated/gio/proxy-resolver.js +48 -0
  350. package/dist/generated/gio/proxy.d.ts +38 -0
  351. package/dist/generated/gio/proxy.js +38 -0
  352. package/dist/generated/gio/remote-action-group.d.ts +51 -0
  353. package/dist/generated/gio/remote-action-group.js +51 -0
  354. package/dist/generated/gio/resolver.d.ts +214 -0
  355. package/dist/generated/gio/resolver.js +235 -0
  356. package/dist/generated/gio/resource.d.ts +278 -0
  357. package/dist/generated/gio/resource.js +262 -0
  358. package/dist/generated/gio/seekable.d.ts +58 -0
  359. package/dist/generated/gio/seekable.js +58 -0
  360. package/dist/generated/gio/settings-backend.d.ts +144 -0
  361. package/dist/generated/gio/settings-backend.js +144 -0
  362. package/dist/generated/gio/settings-schema-key.d.ts +99 -0
  363. package/dist/generated/gio/settings-schema-key.js +99 -0
  364. package/dist/generated/gio/settings-schema-source.d.ts +89 -0
  365. package/dist/generated/gio/settings-schema-source.js +53 -0
  366. package/dist/generated/gio/settings-schema.d.ts +136 -0
  367. package/dist/generated/gio/settings-schema.js +136 -0
  368. package/dist/generated/gio/settings.d.ts +582 -0
  369. package/dist/generated/gio/settings.js +949 -0
  370. package/dist/generated/gio/simple-action-group.d.ts +322 -0
  371. package/dist/generated/gio/simple-action-group.js +322 -0
  372. package/dist/generated/gio/simple-action.d.ts +136 -0
  373. package/dist/generated/gio/simple-action.js +133 -0
  374. package/dist/generated/gio/simple-async-result.d.ts +302 -0
  375. package/dist/generated/gio/simple-async-result.js +286 -0
  376. package/dist/generated/gio/simple-iostream.d.ts +18 -0
  377. package/dist/generated/gio/simple-iostream.js +12 -0
  378. package/dist/generated/gio/simple-permission.d.ts +13 -0
  379. package/dist/generated/gio/simple-permission.js +8 -0
  380. package/dist/generated/gio/simple-proxy-resolver.d.ts +85 -0
  381. package/dist/generated/gio/simple-proxy-resolver.js +85 -0
  382. package/dist/generated/gio/socket-address-enumerator.d.ts +49 -0
  383. package/dist/generated/gio/socket-address-enumerator.js +49 -0
  384. package/dist/generated/gio/socket-address.d.ts +51 -0
  385. package/dist/generated/gio/socket-address.js +45 -0
  386. package/dist/generated/gio/socket-client.d.ts +337 -0
  387. package/dist/generated/gio/socket-client.js +352 -0
  388. package/dist/generated/gio/socket-connectable.d.ts +80 -0
  389. package/dist/generated/gio/socket-connectable.js +80 -0
  390. package/dist/generated/gio/socket-connection.d.ts +84 -0
  391. package/dist/generated/gio/socket-connection.js +84 -0
  392. package/dist/generated/gio/socket-control-message.d.ts +56 -0
  393. package/dist/generated/gio/socket-control-message.js +56 -0
  394. package/dist/generated/gio/socket-listener.d.ts +174 -0
  395. package/dist/generated/gio/socket-listener.js +191 -0
  396. package/dist/generated/gio/socket-service.d.ts +41 -0
  397. package/dist/generated/gio/socket-service.js +69 -0
  398. package/dist/generated/gio/socket.d.ts +999 -0
  399. package/dist/generated/gio/socket.js +981 -0
  400. package/dist/generated/gio/srv-target.d.ts +53 -0
  401. package/dist/generated/gio/srv-target.js +43 -0
  402. package/dist/generated/gio/subprocess-launcher.d.ts +226 -0
  403. package/dist/generated/gio/subprocess-launcher.js +218 -0
  404. package/dist/generated/gio/subprocess.d.ts +345 -0
  405. package/dist/generated/gio/subprocess.js +338 -0
  406. package/dist/generated/gio/task.d.ts +890 -0
  407. package/dist/generated/gio/task.js +868 -0
  408. package/dist/generated/gio/tcp-connection.d.ts +20 -0
  409. package/dist/generated/gio/tcp-connection.js +20 -0
  410. package/dist/generated/gio/tcp-wrapper-connection.d.ts +16 -0
  411. package/dist/generated/gio/tcp-wrapper-connection.js +11 -0
  412. package/dist/generated/gio/test-dbus.d.ts +131 -0
  413. package/dist/generated/gio/test-dbus.js +127 -0
  414. package/dist/generated/gio/themed-icon.d.ts +87 -0
  415. package/dist/generated/gio/themed-icon.js +83 -0
  416. package/dist/generated/gio/threaded-resolver.d.ts +4 -0
  417. package/dist/generated/gio/threaded-resolver.js +4 -0
  418. package/dist/generated/gio/threaded-socket-service.d.ts +5 -0
  419. package/dist/generated/gio/threaded-socket-service.js +18 -0
  420. package/dist/generated/gio/tls-backend.d.ts +45 -0
  421. package/dist/generated/gio/tls-backend.js +45 -0
  422. package/dist/generated/gio/tls-certificate.d.ts +190 -0
  423. package/dist/generated/gio/tls-certificate.js +178 -0
  424. package/dist/generated/gio/tls-client-connection.d.ts +88 -0
  425. package/dist/generated/gio/tls-client-connection.js +88 -0
  426. package/dist/generated/gio/tls-connection.d.ts +234 -0
  427. package/dist/generated/gio/tls-connection.js +243 -0
  428. package/dist/generated/gio/tls-database.d.ts +223 -0
  429. package/dist/generated/gio/tls-database.js +223 -0
  430. package/dist/generated/gio/tls-file-database.d.ts +5 -0
  431. package/dist/generated/gio/tls-file-database.js +5 -0
  432. package/dist/generated/gio/tls-interaction.d.ts +169 -0
  433. package/dist/generated/gio/tls-interaction.js +169 -0
  434. package/dist/generated/gio/tls-password.d.ts +67 -0
  435. package/dist/generated/gio/tls-password.js +62 -0
  436. package/dist/generated/gio/tls-server-connection.d.ts +4 -0
  437. package/dist/generated/gio/tls-server-connection.js +4 -0
  438. package/dist/generated/gio/unix-connection.d.ts +112 -0
  439. package/dist/generated/gio/unix-connection.js +112 -0
  440. package/dist/generated/gio/unix-credentials-message.d.ts +34 -0
  441. package/dist/generated/gio/unix-credentials-message.js +34 -0
  442. package/dist/generated/gio/unix-fdlist.d.ts +102 -0
  443. package/dist/generated/gio/unix-fdlist.js +102 -0
  444. package/dist/generated/gio/unix-socket-address.d.ts +90 -0
  445. package/dist/generated/gio/unix-socket-address.js +83 -0
  446. package/dist/generated/gio/vfs.d.ts +65 -0
  447. package/dist/generated/gio/vfs.js +65 -0
  448. package/dist/generated/gio/volume-monitor.d.ts +60 -0
  449. package/dist/generated/gio/volume-monitor.js +73 -0
  450. package/dist/generated/gio/volume.d.ts +164 -0
  451. package/dist/generated/gio/volume.js +164 -0
  452. package/dist/generated/gio/zlib-compressor.d.ts +131 -0
  453. package/dist/generated/gio/zlib-compressor.js +126 -0
  454. package/dist/generated/gio/zlib-decompressor.d.ts +111 -0
  455. package/dist/generated/gio/zlib-decompressor.js +107 -0
  456. package/dist/generated/glib/array.d.ts +9 -0
  457. package/dist/generated/glib/array.js +9 -0
  458. package/dist/generated/glib/bookmark-file.d.ts +513 -0
  459. package/dist/generated/glib/bookmark-file.js +513 -0
  460. package/dist/generated/glib/byte-array.d.ts +128 -0
  461. package/dist/generated/glib/byte-array.js +128 -0
  462. package/dist/generated/glib/bytes.d.ts +176 -0
  463. package/dist/generated/glib/bytes.js +176 -0
  464. package/dist/generated/glib/checksum.d.ts +64 -0
  465. package/dist/generated/glib/checksum.js +48 -0
  466. package/dist/generated/glib/date-time.d.ts +631 -0
  467. package/dist/generated/glib/date-time.js +595 -0
  468. package/dist/generated/glib/date.d.ts +393 -0
  469. package/dist/generated/glib/date.js +393 -0
  470. package/dist/generated/glib/dir.d.ts +67 -0
  471. package/dist/generated/glib/dir.js +60 -0
  472. package/dist/generated/glib/enums.d.ts +1721 -0
  473. package/dist/generated/glib/enums.js +1721 -0
  474. package/dist/generated/glib/error.d.ts +70 -0
  475. package/dist/generated/glib/error.js +61 -0
  476. package/dist/generated/glib/functions.d.ts +7786 -0
  477. package/dist/generated/glib/functions.js +7786 -0
  478. package/dist/generated/glib/hash-table.d.ts +233 -0
  479. package/dist/generated/glib/hash-table.js +233 -0
  480. package/dist/generated/glib/iochannel.d.ts +299 -0
  481. package/dist/generated/glib/iochannel.js +290 -0
  482. package/dist/generated/glib/key-file.d.ts +606 -0
  483. package/dist/generated/glib/key-file.js +606 -0
  484. package/dist/generated/glib/main-context.d.ts +346 -0
  485. package/dist/generated/glib/main-context.js +346 -0
  486. package/dist/generated/glib/main-loop.d.ts +38 -0
  487. package/dist/generated/glib/main-loop.js +33 -0
  488. package/dist/generated/glib/mapped-file.d.ts +72 -0
  489. package/dist/generated/glib/mapped-file.js +52 -0
  490. package/dist/generated/glib/markup-parse-context.d.ts +220 -0
  491. package/dist/generated/glib/markup-parse-context.js +209 -0
  492. package/dist/generated/glib/match-info.d.ts +369 -0
  493. package/dist/generated/glib/match-info.js +369 -0
  494. package/dist/generated/glib/option-group.d.ts +54 -0
  495. package/dist/generated/glib/option-group.js +41 -0
  496. package/dist/generated/glib/pattern-spec.d.ts +65 -0
  497. package/dist/generated/glib/pattern-spec.js +61 -0
  498. package/dist/generated/glib/poll-fd.d.ts +15 -0
  499. package/dist/generated/glib/poll-fd.js +15 -0
  500. package/dist/generated/glib/ptr-array.d.ts +6 -0
  501. package/dist/generated/glib/ptr-array.js +6 -0
  502. package/dist/generated/glib/rand.d.ts +61 -0
  503. package/dist/generated/glib/rand.js +61 -0
  504. package/dist/generated/glib/regex.d.ts +575 -0
  505. package/dist/generated/glib/regex.js +568 -0
  506. package/dist/generated/glib/source.d.ts +506 -0
  507. package/dist/generated/glib/source.js +492 -0
  508. package/dist/generated/glib/string.d.ts +249 -0
  509. package/dist/generated/glib/string.js +245 -0
  510. package/dist/generated/glib/strv-builder.d.ts +72 -0
  511. package/dist/generated/glib/strv-builder.js +72 -0
  512. package/dist/generated/glib/thread.d.ts +124 -0
  513. package/dist/generated/glib/thread.js +92 -0
  514. package/dist/generated/glib/time-zone.d.ts +217 -0
  515. package/dist/generated/glib/time-zone.js +209 -0
  516. package/dist/generated/glib/tree.d.ts +216 -0
  517. package/dist/generated/glib/tree.js +207 -0
  518. package/dist/generated/glib/uri.d.ts +549 -0
  519. package/dist/generated/glib/uri.js +549 -0
  520. package/dist/generated/glib/variant-builder.d.ts +113 -0
  521. package/dist/generated/glib/variant-builder.js +101 -0
  522. package/dist/generated/glib/variant-dict.d.ts +174 -0
  523. package/dist/generated/glib/variant-dict.js +161 -0
  524. package/dist/generated/glib/variant-type.d.ts +420 -0
  525. package/dist/generated/glib/variant-type.js +410 -0
  526. package/dist/generated/glib/variant.d.ts +1132 -0
  527. package/dist/generated/glib/variant.js +1112 -0
  528. package/dist/generated/gmodule/enums.d.ts +19 -0
  529. package/dist/generated/gmodule/enums.js +19 -0
  530. package/dist/generated/gmodule/functions.d.ts +23 -0
  531. package/dist/generated/gmodule/functions.js +23 -0
  532. package/dist/generated/gobject/binding-group.d.ts +59 -0
  533. package/dist/generated/gobject/binding-group.js +68 -0
  534. package/dist/generated/gobject/binding.d.ts +60 -0
  535. package/dist/generated/gobject/binding.js +137 -0
  536. package/dist/generated/gobject/closure.d.ts +187 -0
  537. package/dist/generated/gobject/closure.js +179 -0
  538. package/dist/generated/gobject/enums.d.ts +183 -0
  539. package/dist/generated/gobject/enums.js +183 -0
  540. package/dist/generated/gobject/functions.d.ts +1431 -0
  541. package/dist/generated/gobject/functions.js +1431 -0
  542. package/dist/generated/gobject/initially-unowned.js +6 -0
  543. package/dist/generated/gobject/object.d.ts +357 -0
  544. package/dist/generated/gobject/object.js +372 -0
  545. package/dist/generated/gobject/param-spec-boolean.d.ts +3 -0
  546. package/dist/generated/gobject/param-spec-boolean.js +3 -0
  547. package/dist/generated/gobject/param-spec-boxed.d.ts +3 -0
  548. package/dist/generated/gobject/param-spec-boxed.js +3 -0
  549. package/dist/generated/gobject/param-spec-char.d.ts +3 -0
  550. package/dist/generated/gobject/param-spec-char.js +3 -0
  551. package/dist/generated/gobject/param-spec-double.d.ts +3 -0
  552. package/dist/generated/gobject/param-spec-double.js +3 -0
  553. package/dist/generated/gobject/param-spec-enum.d.ts +4 -0
  554. package/dist/generated/gobject/param-spec-enum.js +4 -0
  555. package/dist/generated/gobject/param-spec-flags.d.ts +4 -0
  556. package/dist/generated/gobject/param-spec-flags.js +4 -0
  557. package/dist/generated/gobject/param-spec-float.d.ts +3 -0
  558. package/dist/generated/gobject/param-spec-float.js +3 -0
  559. package/dist/generated/gobject/param-spec-gtype.d.ts +3 -0
  560. package/dist/generated/gobject/param-spec-gtype.js +3 -0
  561. package/dist/generated/gobject/param-spec-int.d.ts +3 -0
  562. package/dist/generated/gobject/param-spec-int.js +3 -0
  563. package/dist/generated/gobject/param-spec-int64.d.ts +3 -0
  564. package/dist/generated/gobject/param-spec-int64.js +3 -0
  565. package/dist/generated/gobject/param-spec-long.d.ts +3 -0
  566. package/dist/generated/gobject/param-spec-long.js +3 -0
  567. package/dist/generated/gobject/param-spec-object.d.ts +3 -0
  568. package/dist/generated/gobject/param-spec-object.js +3 -0
  569. package/dist/generated/gobject/param-spec-override.d.ts +13 -0
  570. package/dist/generated/gobject/param-spec-override.js +13 -0
  571. package/dist/generated/gobject/param-spec-param.d.ts +4 -0
  572. package/dist/generated/gobject/param-spec-param.js +4 -0
  573. package/dist/generated/gobject/param-spec-pointer.d.ts +3 -0
  574. package/dist/generated/gobject/param-spec-pointer.js +3 -0
  575. package/dist/generated/gobject/param-spec-string.d.ts +4 -0
  576. package/dist/generated/gobject/param-spec-string.js +4 -0
  577. package/dist/generated/gobject/param-spec-uchar.d.ts +3 -0
  578. package/dist/generated/gobject/param-spec-uchar.js +3 -0
  579. package/dist/generated/gobject/param-spec-uint.d.ts +3 -0
  580. package/dist/generated/gobject/param-spec-uint.js +3 -0
  581. package/dist/generated/gobject/param-spec-uint64.d.ts +3 -0
  582. package/dist/generated/gobject/param-spec-uint64.js +3 -0
  583. package/dist/generated/gobject/param-spec-ulong.d.ts +3 -0
  584. package/dist/generated/gobject/param-spec-ulong.js +3 -0
  585. package/dist/generated/gobject/param-spec-unichar.d.ts +3 -0
  586. package/dist/generated/gobject/param-spec-unichar.js +3 -0
  587. package/dist/generated/gobject/param-spec-value-array.d.ts +3 -0
  588. package/dist/generated/gobject/param-spec-value-array.js +3 -0
  589. package/dist/generated/gobject/param-spec-variant.d.ts +9 -0
  590. package/dist/generated/gobject/param-spec-variant.js +9 -0
  591. package/dist/generated/gobject/param-spec.d.ts +82 -0
  592. package/dist/generated/gobject/param-spec.js +82 -0
  593. package/dist/generated/gobject/signal-group.d.ts +57 -0
  594. package/dist/generated/gobject/signal-group.js +74 -0
  595. package/dist/generated/gobject/type-module.d.ts +95 -0
  596. package/dist/generated/gobject/type-module.js +128 -0
  597. package/dist/generated/gobject/type-plugin.d.ts +76 -0
  598. package/dist/generated/gobject/type-plugin.js +76 -0
  599. package/dist/generated/gobject/value-array.d.ts +77 -0
  600. package/dist/generated/gobject/value-array.js +71 -0
  601. package/dist/generated/gobject/value.d.ts +353 -0
  602. package/dist/generated/gobject/value.js +353 -0
  603. package/dist/generated/graphene/box.d.ts +161 -0
  604. package/dist/generated/graphene/box.js +161 -0
  605. package/dist/generated/graphene/enums.d.ts +68 -0
  606. package/dist/generated/graphene/enums.js +68 -0
  607. package/dist/generated/graphene/euler.d.ts +147 -0
  608. package/dist/generated/graphene/euler.js +147 -0
  609. package/dist/generated/graphene/frustum.d.ts +56 -0
  610. package/dist/generated/graphene/frustum.js +56 -0
  611. package/dist/generated/graphene/functions.d.ts +108 -0
  612. package/dist/generated/graphene/functions.js +108 -0
  613. package/dist/generated/graphene/matrix.d.ts +477 -0
  614. package/dist/generated/graphene/matrix.js +477 -0
  615. package/dist/generated/graphene/plane.d.ts +85 -0
  616. package/dist/generated/graphene/plane.js +85 -0
  617. package/dist/generated/graphene/point.d.ts +79 -0
  618. package/dist/generated/graphene/point.js +79 -0
  619. package/dist/generated/graphene/point3d.d.ts +91 -0
  620. package/dist/generated/graphene/point3d.js +91 -0
  621. package/dist/generated/graphene/quad.d.ts +42 -0
  622. package/dist/generated/graphene/quad.js +42 -0
  623. package/dist/generated/graphene/quaternion.d.ts +140 -0
  624. package/dist/generated/graphene/quaternion.js +140 -0
  625. package/dist/generated/graphene/ray.d.ts +108 -0
  626. package/dist/generated/graphene/ray.js +108 -0
  627. package/dist/generated/graphene/rect.d.ts +245 -0
  628. package/dist/generated/graphene/rect.js +245 -0
  629. package/dist/generated/graphene/size.d.ts +41 -0
  630. package/dist/generated/graphene/size.js +41 -0
  631. package/dist/generated/graphene/sphere.d.ts +68 -0
  632. package/dist/generated/graphene/sphere.js +68 -0
  633. package/dist/generated/graphene/triangle.d.ts +111 -0
  634. package/dist/generated/graphene/triangle.js +111 -0
  635. package/dist/generated/graphene/vec2.d.ts +127 -0
  636. package/dist/generated/graphene/vec2.js +127 -0
  637. package/dist/generated/graphene/vec3.d.ts +169 -0
  638. package/dist/generated/graphene/vec3.js +169 -0
  639. package/dist/generated/graphene/vec4.d.ts +170 -0
  640. package/dist/generated/graphene/vec4.js +170 -0
  641. package/dist/generated/gsk/blend-node.d.ts +16 -0
  642. package/dist/generated/gsk/blend-node.js +10 -0
  643. package/dist/generated/gsk/blur-node.d.ts +12 -0
  644. package/dist/generated/gsk/blur-node.js +7 -0
  645. package/dist/generated/gsk/border-node.d.ts +19 -0
  646. package/dist/generated/gsk/border-node.js +10 -0
  647. package/dist/generated/gsk/broadway-renderer.d.ts +15 -0
  648. package/dist/generated/gsk/broadway-renderer.js +15 -0
  649. package/dist/generated/gsk/cairo-node.d.ts +18 -0
  650. package/dist/generated/gsk/cairo-node.js +11 -0
  651. package/dist/generated/gsk/cairo-renderer.d.ts +16 -0
  652. package/dist/generated/gsk/cairo-renderer.js +16 -0
  653. package/dist/generated/gsk/clip-node.d.ts +13 -0
  654. package/dist/generated/gsk/clip-node.js +7 -0
  655. package/dist/generated/gsk/color-matrix-node.d.ts +24 -0
  656. package/dist/generated/gsk/color-matrix-node.js +10 -0
  657. package/dist/generated/gsk/color-node.d.ts +13 -0
  658. package/dist/generated/gsk/color-node.js +7 -0
  659. package/dist/generated/gsk/component-transfer-node.d.ts +16 -0
  660. package/dist/generated/gsk/component-transfer-node.js +7 -0
  661. package/dist/generated/gsk/component-transfer.d.ts +107 -0
  662. package/dist/generated/gsk/component-transfer.js +89 -0
  663. package/dist/generated/gsk/conic-gradient-node.d.ts +34 -0
  664. package/dist/generated/gsk/conic-gradient-node.js +22 -0
  665. package/dist/generated/gsk/container-node.d.ts +15 -0
  666. package/dist/generated/gsk/container-node.js +8 -0
  667. package/dist/generated/gsk/cross-fade-node.d.ts +16 -0
  668. package/dist/generated/gsk/cross-fade-node.js +10 -0
  669. package/dist/generated/gsk/debug-node.d.ts +18 -0
  670. package/dist/generated/gsk/debug-node.js +10 -0
  671. package/dist/generated/gsk/enums.d.ts +313 -0
  672. package/dist/generated/gsk/enums.js +313 -0
  673. package/dist/generated/gsk/fill-node.d.ts +21 -0
  674. package/dist/generated/gsk/fill-node.js +14 -0
  675. package/dist/generated/gsk/functions.d.ts +76 -0
  676. package/dist/generated/gsk/functions.js +76 -0
  677. package/dist/generated/gsk/glrenderer.d.ts +8 -0
  678. package/dist/generated/gsk/glrenderer.js +8 -0
  679. package/dist/generated/gsk/glshader-node.d.ts +38 -0
  680. package/dist/generated/gsk/glshader-node.js +14 -0
  681. package/dist/generated/gsk/glshader.d.ts +226 -0
  682. package/dist/generated/gsk/glshader.js +222 -0
  683. package/dist/generated/gsk/inset-shadow-node.d.ts +32 -0
  684. package/dist/generated/gsk/inset-shadow-node.js +22 -0
  685. package/dist/generated/gsk/linear-gradient-node.d.ts +23 -0
  686. package/dist/generated/gsk/linear-gradient-node.js +14 -0
  687. package/dist/generated/gsk/mask-node.d.ts +20 -0
  688. package/dist/generated/gsk/mask-node.js +10 -0
  689. package/dist/generated/gsk/ngl-renderer.d.ts +8 -0
  690. package/dist/generated/gsk/ngl-renderer.js +8 -0
  691. package/dist/generated/gsk/opacity-node.d.ts +13 -0
  692. package/dist/generated/gsk/opacity-node.js +7 -0
  693. package/dist/generated/gsk/outset-shadow-node.d.ts +32 -0
  694. package/dist/generated/gsk/outset-shadow-node.js +22 -0
  695. package/dist/generated/gsk/path-builder.d.ts +336 -0
  696. package/dist/generated/gsk/path-builder.js +336 -0
  697. package/dist/generated/gsk/path-measure.d.ts +47 -0
  698. package/dist/generated/gsk/path-measure.js +42 -0
  699. package/dist/generated/gsk/path-point.d.ts +93 -0
  700. package/dist/generated/gsk/path-point.js +93 -0
  701. package/dist/generated/gsk/path.d.ts +181 -0
  702. package/dist/generated/gsk/path.js +181 -0
  703. package/dist/generated/gsk/radial-gradient-node.d.ts +37 -0
  704. package/dist/generated/gsk/radial-gradient-node.js +23 -0
  705. package/dist/generated/gsk/render-node.d.ts +83 -0
  706. package/dist/generated/gsk/render-node.js +83 -0
  707. package/dist/generated/gsk/renderer.d.ts +79 -0
  708. package/dist/generated/gsk/renderer.js +69 -0
  709. package/dist/generated/gsk/repeat-node.d.ts +14 -0
  710. package/dist/generated/gsk/repeat-node.js +7 -0
  711. package/dist/generated/gsk/repeating-linear-gradient-node.d.ts +11 -0
  712. package/dist/generated/gsk/repeating-linear-gradient-node.js +1 -0
  713. package/dist/generated/gsk/repeating-radial-gradient-node.d.ts +15 -0
  714. package/dist/generated/gsk/repeating-radial-gradient-node.js +1 -0
  715. package/dist/generated/gsk/rounded-clip-node.d.ts +13 -0
  716. package/dist/generated/gsk/rounded-clip-node.js +7 -0
  717. package/dist/generated/gsk/shader-args-builder.d.ts +77 -0
  718. package/dist/generated/gsk/shader-args-builder.js +71 -0
  719. package/dist/generated/gsk/shadow-node.d.ts +18 -0
  720. package/dist/generated/gsk/shadow-node.js +11 -0
  721. package/dist/generated/gsk/stroke-node.d.ts +23 -0
  722. package/dist/generated/gsk/stroke-node.js +14 -0
  723. package/dist/generated/gsk/stroke.d.ts +110 -0
  724. package/dist/generated/gsk/stroke.js +106 -0
  725. package/dist/generated/gsk/subsurface-node.d.ts +6 -0
  726. package/dist/generated/gsk/subsurface-node.js +6 -0
  727. package/dist/generated/gsk/text-node.d.ts +33 -0
  728. package/dist/generated/gsk/text-node.js +23 -0
  729. package/dist/generated/gsk/texture-node.d.ts +14 -0
  730. package/dist/generated/gsk/texture-node.js +4 -0
  731. package/dist/generated/gsk/texture-scale-node.d.ts +24 -0
  732. package/dist/generated/gsk/texture-scale-node.js +7 -0
  733. package/dist/generated/gsk/transform-node.d.ts +12 -0
  734. package/dist/generated/gsk/transform-node.js +7 -0
  735. package/dist/generated/gsk/transform.d.ts +282 -0
  736. package/dist/generated/gsk/transform.js +282 -0
  737. package/dist/generated/gsk/vulkan-renderer.d.ts +14 -0
  738. package/dist/generated/gsk/vulkan-renderer.js +14 -0
  739. package/dist/generated/gtk/about-dialog.d.ts +166 -0
  740. package/dist/generated/gtk/about-dialog.js +220 -0
  741. package/dist/generated/gtk/accessible-list.d.ts +14 -0
  742. package/dist/generated/gtk/accessible-list.js +14 -0
  743. package/dist/generated/gtk/accessible-range.d.ts +27 -0
  744. package/dist/generated/gtk/accessible-range.js +27 -0
  745. package/dist/generated/gtk/accessible-text.d.ts +38 -0
  746. package/dist/generated/gtk/accessible-text.js +38 -0
  747. package/dist/generated/gtk/accessible.d.ts +154 -0
  748. package/dist/generated/gtk/accessible.js +154 -0
  749. package/dist/generated/gtk/action-bar.d.ts +75 -0
  750. package/dist/generated/gtk/action-bar.js +75 -0
  751. package/dist/generated/gtk/actionable.d.ts +65 -0
  752. package/dist/generated/gtk/actionable.js +65 -0
  753. package/dist/generated/gtk/activate-action.d.ts +11 -0
  754. package/dist/generated/gtk/activate-action.js +11 -0
  755. package/dist/generated/gtk/adjustment.d.ts +121 -0
  756. package/dist/generated/gtk/adjustment.js +125 -0
  757. package/dist/generated/gtk/alert-dialog.d.ts +76 -0
  758. package/dist/generated/gtk/alert-dialog.js +76 -0
  759. package/dist/generated/gtk/alternative-trigger.d.ts +30 -0
  760. package/dist/generated/gtk/alternative-trigger.js +21 -0
  761. package/dist/generated/gtk/any-filter.d.ts +14 -0
  762. package/dist/generated/gtk/any-filter.js +14 -0
  763. package/dist/generated/gtk/app-chooser-button.d.ts +76 -0
  764. package/dist/generated/gtk/app-chooser-button.js +100 -0
  765. package/dist/generated/gtk/app-chooser-dialog.d.ts +38 -0
  766. package/dist/generated/gtk/app-chooser-dialog.js +49 -0
  767. package/dist/generated/gtk/app-chooser-widget.d.ts +69 -0
  768. package/dist/generated/gtk/app-chooser-widget.js +89 -0
  769. package/dist/generated/gtk/app-chooser.d.ts +31 -0
  770. package/dist/generated/gtk/app-chooser.js +31 -0
  771. package/dist/generated/gtk/application-window.d.ts +32 -0
  772. package/dist/generated/gtk/application-window.js +99 -0
  773. package/dist/generated/gtk/application.d.ts +191 -0
  774. package/dist/generated/gtk/application.js +239 -0
  775. package/dist/generated/gtk/aspect-frame.d.ts +65 -0
  776. package/dist/generated/gtk/aspect-frame.js +58 -0
  777. package/dist/generated/gtk/assistant-page.d.ts +4 -0
  778. package/dist/generated/gtk/assistant-page.js +4 -0
  779. package/dist/generated/gtk/assistant.d.ts +141 -0
  780. package/dist/generated/gtk/assistant.js +179 -0
  781. package/dist/generated/gtk/atcontext.d.ts +16 -0
  782. package/dist/generated/gtk/atcontext.js +13 -0
  783. package/dist/generated/gtk/bin-layout.d.ts +11 -0
  784. package/dist/generated/gtk/bin-layout.js +11 -0
  785. package/dist/generated/gtk/bitset-iter.d.ts +60 -0
  786. package/dist/generated/gtk/bitset-iter.js +60 -0
  787. package/dist/generated/gtk/bitset.d.ts +196 -0
  788. package/dist/generated/gtk/bitset.js +196 -0
  789. package/dist/generated/gtk/bookmark-list.d.ts +45 -0
  790. package/dist/generated/gtk/bookmark-list.js +40 -0
  791. package/dist/generated/gtk/bool-filter.d.ts +23 -0
  792. package/dist/generated/gtk/bool-filter.js +19 -0
  793. package/dist/generated/gtk/border.d.ts +18 -0
  794. package/dist/generated/gtk/border.js +18 -0
  795. package/dist/generated/gtk/box-layout.d.ts +62 -0
  796. package/dist/generated/gtk/box-layout.js +58 -0
  797. package/dist/generated/gtk/box.d.ts +122 -0
  798. package/dist/generated/gtk/box.js +117 -0
  799. package/dist/generated/gtk/buildable.d.ts +20 -0
  800. package/dist/generated/gtk/buildable.js +20 -0
  801. package/dist/generated/gtk/builder-cscope.d.ts +36 -0
  802. package/dist/generated/gtk/builder-cscope.js +36 -0
  803. package/dist/generated/gtk/builder-list-item-factory.d.ts +55 -0
  804. package/dist/generated/gtk/builder-list-item-factory.js +49 -0
  805. package/dist/generated/gtk/builder-scope.d.ts +19 -0
  806. package/dist/generated/gtk/builder-scope.js +19 -0
  807. package/dist/generated/gtk/builder.d.ts +613 -0
  808. package/dist/generated/gtk/builder.js +613 -0
  809. package/dist/generated/gtk/button.d.ts +152 -0
  810. package/dist/generated/gtk/button.js +189 -0
  811. package/dist/generated/gtk/calendar.d.ts +97 -0
  812. package/dist/generated/gtk/calendar.js +152 -0
  813. package/dist/generated/gtk/callback-action.d.ts +8 -0
  814. package/dist/generated/gtk/callback-action.js +1 -0
  815. package/dist/generated/gtk/cclosure-expression.d.ts +15 -0
  816. package/dist/generated/gtk/cclosure-expression.js +1 -0
  817. package/dist/generated/gtk/cell-area-box.d.ts +38 -0
  818. package/dist/generated/gtk/cell-area-box.js +38 -0
  819. package/dist/generated/gtk/cell-area-context.d.ts +133 -0
  820. package/dist/generated/gtk/cell-area-context.js +133 -0
  821. package/dist/generated/gtk/cell-area.d.ts +399 -0
  822. package/dist/generated/gtk/cell-area.js +714 -0
  823. package/dist/generated/gtk/cell-editable.d.ts +26 -0
  824. package/dist/generated/gtk/cell-editable.js +26 -0
  825. package/dist/generated/gtk/cell-layout.d.ts +176 -0
  826. package/dist/generated/gtk/cell-layout.js +176 -0
  827. package/dist/generated/gtk/cell-renderer-accel.d.ts +3 -0
  828. package/dist/generated/gtk/cell-renderer-accel.js +10 -0
  829. package/dist/generated/gtk/cell-renderer-combo.d.ts +9 -0
  830. package/dist/generated/gtk/cell-renderer-combo.js +23 -0
  831. package/dist/generated/gtk/cell-renderer-pixbuf.d.ts +25 -0
  832. package/dist/generated/gtk/cell-renderer-pixbuf.js +25 -0
  833. package/dist/generated/gtk/cell-renderer-progress.d.ts +16 -0
  834. package/dist/generated/gtk/cell-renderer-progress.js +16 -0
  835. package/dist/generated/gtk/cell-renderer-spin.d.ts +3 -0
  836. package/dist/generated/gtk/cell-renderer-spin.js +18 -0
  837. package/dist/generated/gtk/cell-renderer-spinner.d.ts +18 -0
  838. package/dist/generated/gtk/cell-renderer-spinner.js +18 -0
  839. package/dist/generated/gtk/cell-renderer-text.d.ts +19 -0
  840. package/dist/generated/gtk/cell-renderer-text.js +29 -0
  841. package/dist/generated/gtk/cell-renderer-toggle.d.ts +38 -0
  842. package/dist/generated/gtk/cell-renderer-toggle.js +46 -0
  843. package/dist/generated/gtk/cell-renderer.d.ts +160 -0
  844. package/dist/generated/gtk/cell-renderer.js +199 -0
  845. package/dist/generated/gtk/cell-view.d.ts +171 -0
  846. package/dist/generated/gtk/cell-view.js +171 -0
  847. package/dist/generated/gtk/center-box.d.ts +103 -0
  848. package/dist/generated/gtk/center-box.js +103 -0
  849. package/dist/generated/gtk/center-layout.d.ts +67 -0
  850. package/dist/generated/gtk/center-layout.js +67 -0
  851. package/dist/generated/gtk/check-button.d.ts +132 -0
  852. package/dist/generated/gtk/check-button.js +197 -0
  853. package/dist/generated/gtk/closure-expression.d.ts +14 -0
  854. package/dist/generated/gtk/closure-expression.js +4 -0
  855. package/dist/generated/gtk/color-button.d.ts +65 -0
  856. package/dist/generated/gtk/color-button.js +85 -0
  857. package/dist/generated/gtk/color-chooser-dialog.d.ts +43 -0
  858. package/dist/generated/gtk/color-chooser-dialog.js +59 -0
  859. package/dist/generated/gtk/color-chooser-widget.d.ts +75 -0
  860. package/dist/generated/gtk/color-chooser-widget.js +75 -0
  861. package/dist/generated/gtk/color-chooser.d.ts +48 -0
  862. package/dist/generated/gtk/color-chooser.js +48 -0
  863. package/dist/generated/gtk/color-dialog-button.d.ts +28 -0
  864. package/dist/generated/gtk/color-dialog-button.js +39 -0
  865. package/dist/generated/gtk/color-dialog.d.ts +47 -0
  866. package/dist/generated/gtk/color-dialog.js +47 -0
  867. package/dist/generated/gtk/column-view-cell.d.ts +17 -0
  868. package/dist/generated/gtk/column-view-cell.js +17 -0
  869. package/dist/generated/gtk/column-view-column.d.ts +127 -0
  870. package/dist/generated/gtk/column-view-column.js +112 -0
  871. package/dist/generated/gtk/column-view-row.d.ts +89 -0
  872. package/dist/generated/gtk/column-view-row.js +89 -0
  873. package/dist/generated/gtk/column-view-sorter.d.ts +67 -0
  874. package/dist/generated/gtk/column-view-sorter.js +67 -0
  875. package/dist/generated/gtk/column-view.d.ts +204 -0
  876. package/dist/generated/gtk/column-view.js +263 -0
  877. package/dist/generated/gtk/combo-box-text.d.ts +76 -0
  878. package/dist/generated/gtk/combo-box-text.js +133 -0
  879. package/dist/generated/gtk/combo-box.d.ts +261 -0
  880. package/dist/generated/gtk/combo-box.js +323 -0
  881. package/dist/generated/gtk/constant-expression.d.ts +8 -0
  882. package/dist/generated/gtk/constant-expression.js +4 -0
  883. package/dist/generated/gtk/constraint-guide.d.ts +72 -0
  884. package/dist/generated/gtk/constraint-guide.js +72 -0
  885. package/dist/generated/gtk/constraint-layout-child.d.ts +1 -0
  886. package/dist/generated/gtk/constraint-layout-child.js +1 -0
  887. package/dist/generated/gtk/constraint-layout.d.ts +319 -0
  888. package/dist/generated/gtk/constraint-layout.js +319 -0
  889. package/dist/generated/gtk/constraint-target.d.ts +6 -0
  890. package/dist/generated/gtk/constraint-target.js +6 -0
  891. package/dist/generated/gtk/constraint.d.ts +83 -0
  892. package/dist/generated/gtk/constraint.js +71 -0
  893. package/dist/generated/gtk/css-provider.d.ts +59 -0
  894. package/dist/generated/gtk/css-provider.js +89 -0
  895. package/dist/generated/gtk/css-section.d.ts +66 -0
  896. package/dist/generated/gtk/css-section.js +58 -0
  897. package/dist/generated/gtk/custom-filter.d.ts +25 -0
  898. package/dist/generated/gtk/custom-filter.js +14 -0
  899. package/dist/generated/gtk/custom-layout.d.ts +18 -0
  900. package/dist/generated/gtk/custom-layout.js +8 -0
  901. package/dist/generated/gtk/custom-sorter.d.ts +24 -0
  902. package/dist/generated/gtk/custom-sorter.js +15 -0
  903. package/dist/generated/gtk/dialog.d.ts +69 -0
  904. package/dist/generated/gtk/dialog.js +192 -0
  905. package/dist/generated/gtk/directory-list.d.ts +101 -0
  906. package/dist/generated/gtk/directory-list.js +94 -0
  907. package/dist/generated/gtk/drag-icon.d.ts +84 -0
  908. package/dist/generated/gtk/drag-icon.js +77 -0
  909. package/dist/generated/gtk/drag-source.d.ts +55 -0
  910. package/dist/generated/gtk/drag-source.js +133 -0
  911. package/dist/generated/gtk/drawing-area.d.ts +50 -0
  912. package/dist/generated/gtk/drawing-area.js +130 -0
  913. package/dist/generated/gtk/drop-controller-motion.d.ts +16 -0
  914. package/dist/generated/gtk/drop-controller-motion.js +25 -0
  915. package/dist/generated/gtk/drop-down.d.ts +92 -0
  916. package/dist/generated/gtk/drop-down.js +141 -0
  917. package/dist/generated/gtk/drop-target-async.d.ts +29 -0
  918. package/dist/generated/gtk/drop-target-async.js +59 -0
  919. package/dist/generated/gtk/drop-target.d.ts +62 -0
  920. package/dist/generated/gtk/drop-target.js +126 -0
  921. package/dist/generated/gtk/editable-label.d.ts +257 -0
  922. package/dist/generated/gtk/editable-label.js +253 -0
  923. package/dist/generated/gtk/editable.d.ts +325 -0
  924. package/dist/generated/gtk/editable.js +325 -0
  925. package/dist/generated/gtk/emoji-chooser.d.ts +3 -0
  926. package/dist/generated/gtk/emoji-chooser.js +45 -0
  927. package/dist/generated/gtk/entry-buffer.d.ts +82 -0
  928. package/dist/generated/gtk/entry-buffer.js +87 -0
  929. package/dist/generated/gtk/entry-completion.d.ts +202 -0
  930. package/dist/generated/gtk/entry-completion.js +242 -0
  931. package/dist/generated/gtk/entry.d.ts +620 -0
  932. package/dist/generated/gtk/entry.js +709 -0
  933. package/dist/generated/gtk/enums.d.ts +2192 -0
  934. package/dist/generated/gtk/enums.js +2192 -0
  935. package/dist/generated/gtk/event-controller-focus.d.ts +9 -0
  936. package/dist/generated/gtk/event-controller-focus.js +19 -0
  937. package/dist/generated/gtk/event-controller-key.d.ts +24 -0
  938. package/dist/generated/gtk/event-controller-key.js +25 -0
  939. package/dist/generated/gtk/event-controller-legacy.d.ts +3 -0
  940. package/dist/generated/gtk/event-controller-legacy.js +9 -0
  941. package/dist/generated/gtk/event-controller-motion.d.ts +9 -0
  942. package/dist/generated/gtk/event-controller-motion.js +19 -0
  943. package/dist/generated/gtk/event-controller-scroll.d.ts +18 -0
  944. package/dist/generated/gtk/event-controller-scroll.js +49 -0
  945. package/dist/generated/gtk/event-controller.d.ts +75 -0
  946. package/dist/generated/gtk/event-controller.js +75 -0
  947. package/dist/generated/gtk/every-filter.d.ts +14 -0
  948. package/dist/generated/gtk/every-filter.js +14 -0
  949. package/dist/generated/gtk/expander.d.ts +82 -0
  950. package/dist/generated/gtk/expander.js +166 -0
  951. package/dist/generated/gtk/expression-watch.d.ts +29 -0
  952. package/dist/generated/gtk/expression-watch.js +29 -0
  953. package/dist/generated/gtk/expression.d.ts +238 -0
  954. package/dist/generated/gtk/expression.js +238 -0
  955. package/dist/generated/gtk/file-chooser-dialog.d.ts +206 -0
  956. package/dist/generated/gtk/file-chooser-dialog.js +380 -0
  957. package/dist/generated/gtk/file-chooser-native.d.ts +390 -0
  958. package/dist/generated/gtk/file-chooser-native.js +382 -0
  959. package/dist/generated/gtk/file-chooser-widget.d.ts +214 -0
  960. package/dist/generated/gtk/file-chooser-widget.js +238 -0
  961. package/dist/generated/gtk/file-chooser.d.ts +248 -0
  962. package/dist/generated/gtk/file-chooser.js +248 -0
  963. package/dist/generated/gtk/file-dialog.d.ts +147 -0
  964. package/dist/generated/gtk/file-dialog.js +147 -0
  965. package/dist/generated/gtk/file-filter.d.ts +133 -0
  966. package/dist/generated/gtk/file-filter.js +133 -0
  967. package/dist/generated/gtk/file-launcher.d.ts +53 -0
  968. package/dist/generated/gtk/file-launcher.js +49 -0
  969. package/dist/generated/gtk/filter-list-model.d.ts +123 -0
  970. package/dist/generated/gtk/filter-list-model.js +117 -0
  971. package/dist/generated/gtk/filter.d.ts +30 -0
  972. package/dist/generated/gtk/filter.js +49 -0
  973. package/dist/generated/gtk/fixed-layout-child.d.ts +8 -0
  974. package/dist/generated/gtk/fixed-layout-child.js +8 -0
  975. package/dist/generated/gtk/fixed-layout.d.ts +35 -0
  976. package/dist/generated/gtk/fixed-layout.js +35 -0
  977. package/dist/generated/gtk/fixed.d.ts +81 -0
  978. package/dist/generated/gtk/fixed.js +81 -0
  979. package/dist/generated/gtk/flatten-list-model.d.ts +50 -0
  980. package/dist/generated/gtk/flatten-list-model.js +46 -0
  981. package/dist/generated/gtk/flow-box-child.d.ts +40 -0
  982. package/dist/generated/gtk/flow-box-child.js +46 -0
  983. package/dist/generated/gtk/flow-box.d.ts +243 -0
  984. package/dist/generated/gtk/flow-box.js +302 -0
  985. package/dist/generated/gtk/font-button.d.ts +129 -0
  986. package/dist/generated/gtk/font-button.js +148 -0
  987. package/dist/generated/gtk/font-chooser-dialog.d.ts +97 -0
  988. package/dist/generated/gtk/font-chooser-dialog.js +113 -0
  989. package/dist/generated/gtk/font-chooser-widget.d.ts +114 -0
  990. package/dist/generated/gtk/font-chooser-widget.js +114 -0
  991. package/dist/generated/gtk/font-chooser.d.ts +132 -0
  992. package/dist/generated/gtk/font-chooser.js +132 -0
  993. package/dist/generated/gtk/font-dialog-button.d.ts +75 -0
  994. package/dist/generated/gtk/font-dialog-button.js +85 -0
  995. package/dist/generated/gtk/font-dialog.d.ts +85 -0
  996. package/dist/generated/gtk/font-dialog.js +85 -0
  997. package/dist/generated/gtk/frame.d.ts +86 -0
  998. package/dist/generated/gtk/frame.js +80 -0
  999. package/dist/generated/gtk/functions.d.ts +769 -0
  1000. package/dist/generated/gtk/functions.js +769 -0
  1001. package/dist/generated/gtk/gesture-click.d.ts +4 -0
  1002. package/dist/generated/gtk/gesture-click.js +13 -0
  1003. package/dist/generated/gtk/gesture-drag.d.ts +21 -0
  1004. package/dist/generated/gtk/gesture-drag.js +32 -0
  1005. package/dist/generated/gtk/gesture-long-press.d.ts +13 -0
  1006. package/dist/generated/gtk/gesture-long-press.js +30 -0
  1007. package/dist/generated/gtk/gesture-pan.d.ts +11 -0
  1008. package/dist/generated/gtk/gesture-pan.js +23 -0
  1009. package/dist/generated/gtk/gesture-rotate.d.ts +11 -0
  1010. package/dist/generated/gtk/gesture-rotate.js +17 -0
  1011. package/dist/generated/gtk/gesture-single.d.ts +47 -0
  1012. package/dist/generated/gtk/gesture-single.js +62 -0
  1013. package/dist/generated/gtk/gesture-stylus.d.ts +61 -0
  1014. package/dist/generated/gtk/gesture-stylus.js +67 -0
  1015. package/dist/generated/gtk/gesture-swipe.d.ts +12 -0
  1016. package/dist/generated/gtk/gesture-swipe.js +26 -0
  1017. package/dist/generated/gtk/gesture-zoom.d.ts +12 -0
  1018. package/dist/generated/gtk/gesture-zoom.js +19 -0
  1019. package/dist/generated/gtk/gesture.d.ts +197 -0
  1020. package/dist/generated/gtk/gesture.js +288 -0
  1021. package/dist/generated/gtk/glarea.d.ts +131 -0
  1022. package/dist/generated/gtk/glarea.js +246 -0
  1023. package/dist/generated/gtk/graphics-offload.d.ts +78 -0
  1024. package/dist/generated/gtk/graphics-offload.js +74 -0
  1025. package/dist/generated/gtk/grid-layout-child.d.ts +29 -0
  1026. package/dist/generated/gtk/grid-layout-child.js +29 -0
  1027. package/dist/generated/gtk/grid-layout.d.ts +72 -0
  1028. package/dist/generated/gtk/grid-layout.js +72 -0
  1029. package/dist/generated/gtk/grid-view.d.ts +86 -0
  1030. package/dist/generated/gtk/grid-view.js +117 -0
  1031. package/dist/generated/gtk/grid.d.ts +241 -0
  1032. package/dist/generated/gtk/grid.js +241 -0
  1033. package/dist/generated/gtk/header-bar.d.ts +157 -0
  1034. package/dist/generated/gtk/header-bar.js +157 -0
  1035. package/dist/generated/gtk/icon-paintable.d.ts +47 -0
  1036. package/dist/generated/gtk/icon-paintable.js +39 -0
  1037. package/dist/generated/gtk/icon-theme.d.ts +148 -0
  1038. package/dist/generated/gtk/icon-theme.js +182 -0
  1039. package/dist/generated/gtk/icon-view.d.ts +464 -0
  1040. package/dist/generated/gtk/icon-view.js +491 -0
  1041. package/dist/generated/gtk/image.d.ts +222 -0
  1042. package/dist/generated/gtk/image.js +222 -0
  1043. package/dist/generated/gtk/imcontext-simple.d.ts +47 -0
  1044. package/dist/generated/gtk/imcontext-simple.js +47 -0
  1045. package/dist/generated/gtk/imcontext.d.ts +162 -0
  1046. package/dist/generated/gtk/imcontext.js +193 -0
  1047. package/dist/generated/gtk/immulticontext.d.ts +24 -0
  1048. package/dist/generated/gtk/immulticontext.js +24 -0
  1049. package/dist/generated/gtk/info-bar.d.ts +93 -0
  1050. package/dist/generated/gtk/info-bar.js +168 -0
  1051. package/dist/generated/gtk/inscription.d.ts +154 -0
  1052. package/dist/generated/gtk/inscription.js +150 -0
  1053. package/dist/generated/gtk/keyval-trigger.d.ts +15 -0
  1054. package/dist/generated/gtk/keyval-trigger.js +9 -0
  1055. package/dist/generated/gtk/label.d.ts +418 -0
  1056. package/dist/generated/gtk/label.js +627 -0
  1057. package/dist/generated/gtk/layout-child.d.ts +17 -0
  1058. package/dist/generated/gtk/layout-child.js +17 -0
  1059. package/dist/generated/gtk/layout-manager.d.ts +95 -0
  1060. package/dist/generated/gtk/layout-manager.js +95 -0
  1061. package/dist/generated/gtk/level-bar.d.ts +80 -0
  1062. package/dist/generated/gtk/level-bar.js +179 -0
  1063. package/dist/generated/gtk/link-button.d.ts +32 -0
  1064. package/dist/generated/gtk/link-button.js +69 -0
  1065. package/dist/generated/gtk/list-base.d.ts +96 -0
  1066. package/dist/generated/gtk/list-base.js +96 -0
  1067. package/dist/generated/gtk/list-box-row.d.ts +119 -0
  1068. package/dist/generated/gtk/list-box-row.js +125 -0
  1069. package/dist/generated/gtk/list-box.d.ts +257 -0
  1070. package/dist/generated/gtk/list-box.js +323 -0
  1071. package/dist/generated/gtk/list-header.d.ts +43 -0
  1072. package/dist/generated/gtk/list-header.js +43 -0
  1073. package/dist/generated/gtk/list-item-factory.d.ts +49 -0
  1074. package/dist/generated/gtk/list-item-factory.js +49 -0
  1075. package/dist/generated/gtk/list-item.d.ts +115 -0
  1076. package/dist/generated/gtk/list-item.js +115 -0
  1077. package/dist/generated/gtk/list-store.d.ts +580 -0
  1078. package/dist/generated/gtk/list-store.js +573 -0
  1079. package/dist/generated/gtk/list-view.d.ts +86 -0
  1080. package/dist/generated/gtk/list-view.js +179 -0
  1081. package/dist/generated/gtk/lock-button.d.ts +11 -0
  1082. package/dist/generated/gtk/lock-button.js +46 -0
  1083. package/dist/generated/gtk/map-list-model.d.ts +97 -0
  1084. package/dist/generated/gtk/map-list-model.js +90 -0
  1085. package/dist/generated/gtk/media-controls.d.ts +18 -0
  1086. package/dist/generated/gtk/media-controls.js +14 -0
  1087. package/dist/generated/gtk/media-file.d.ts +78 -0
  1088. package/dist/generated/gtk/media-file.js +78 -0
  1089. package/dist/generated/gtk/media-stream.d.ts +253 -0
  1090. package/dist/generated/gtk/media-stream.js +253 -0
  1091. package/dist/generated/gtk/menu-button.d.ts +155 -0
  1092. package/dist/generated/gtk/menu-button.js +219 -0
  1093. package/dist/generated/gtk/message-dialog.d.ts +12 -0
  1094. package/dist/generated/gtk/message-dialog.js +70 -0
  1095. package/dist/generated/gtk/mnemonic-action.d.ts +11 -0
  1096. package/dist/generated/gtk/mnemonic-action.js +11 -0
  1097. package/dist/generated/gtk/mnemonic-trigger.d.ts +17 -0
  1098. package/dist/generated/gtk/mnemonic-trigger.js +9 -0
  1099. package/dist/generated/gtk/mount-operation.d.ts +39 -0
  1100. package/dist/generated/gtk/mount-operation.js +35 -0
  1101. package/dist/generated/gtk/multi-filter.d.ts +18 -0
  1102. package/dist/generated/gtk/multi-filter.js +18 -0
  1103. package/dist/generated/gtk/multi-selection.d.ts +135 -0
  1104. package/dist/generated/gtk/multi-selection.js +131 -0
  1105. package/dist/generated/gtk/multi-sorter.d.ts +34 -0
  1106. package/dist/generated/gtk/multi-sorter.js +34 -0
  1107. package/dist/generated/gtk/named-action.d.ts +20 -0
  1108. package/dist/generated/gtk/named-action.js +10 -0
  1109. package/dist/generated/gtk/native-dialog.d.ts +67 -0
  1110. package/dist/generated/gtk/native-dialog.js +86 -0
  1111. package/dist/generated/gtk/native.d.ts +40 -0
  1112. package/dist/generated/gtk/native.js +40 -0
  1113. package/dist/generated/gtk/never-trigger.d.ts +8 -0
  1114. package/dist/generated/gtk/never-trigger.js +8 -0
  1115. package/dist/generated/gtk/no-selection.d.ts +142 -0
  1116. package/dist/generated/gtk/no-selection.js +138 -0
  1117. package/dist/generated/gtk/notebook-page.d.ts +4 -0
  1118. package/dist/generated/gtk/notebook-page.js +4 -0
  1119. package/dist/generated/gtk/notebook.d.ts +283 -0
  1120. package/dist/generated/gtk/notebook.js +401 -0
  1121. package/dist/generated/gtk/nothing-action.d.ts +7 -0
  1122. package/dist/generated/gtk/nothing-action.js +7 -0
  1123. package/dist/generated/gtk/numeric-sorter.d.ts +33 -0
  1124. package/dist/generated/gtk/numeric-sorter.js +26 -0
  1125. package/dist/generated/gtk/object-expression.d.ts +14 -0
  1126. package/dist/generated/gtk/object-expression.js +4 -0
  1127. package/dist/generated/gtk/orientable.d.ts +19 -0
  1128. package/dist/generated/gtk/orientable.js +19 -0
  1129. package/dist/generated/gtk/overlay-layout-child.d.ts +15 -0
  1130. package/dist/generated/gtk/overlay-layout-child.js +15 -0
  1131. package/dist/generated/gtk/overlay-layout.d.ts +12 -0
  1132. package/dist/generated/gtk/overlay-layout.js +12 -0
  1133. package/dist/generated/gtk/overlay.d.ts +48 -0
  1134. package/dist/generated/gtk/overlay.js +81 -0
  1135. package/dist/generated/gtk/pad-controller.d.ts +97 -0
  1136. package/dist/generated/gtk/pad-controller.js +79 -0
  1137. package/dist/generated/gtk/page-setup-unix-dialog.d.ts +21 -0
  1138. package/dist/generated/gtk/page-setup-unix-dialog.js +31 -0
  1139. package/dist/generated/gtk/page-setup.d.ts +188 -0
  1140. package/dist/generated/gtk/page-setup.js +188 -0
  1141. package/dist/generated/gtk/paned.d.ts +71 -0
  1142. package/dist/generated/gtk/paned.js +147 -0
  1143. package/dist/generated/gtk/paper-size.d.ts +141 -0
  1144. package/dist/generated/gtk/paper-size.js +132 -0
  1145. package/dist/generated/gtk/param-spec-expression.d.ts +1 -0
  1146. package/dist/generated/gtk/param-spec-expression.js +1 -0
  1147. package/dist/generated/gtk/password-entry-buffer.d.ts +9 -0
  1148. package/dist/generated/gtk/password-entry-buffer.js +9 -0
  1149. package/dist/generated/gtk/password-entry.d.ts +217 -0
  1150. package/dist/generated/gtk/password-entry.js +251 -0
  1151. package/dist/generated/gtk/picture.d.ts +204 -0
  1152. package/dist/generated/gtk/picture.js +204 -0
  1153. package/dist/generated/gtk/popover-menu-bar.d.ts +55 -0
  1154. package/dist/generated/gtk/popover-menu-bar.js +51 -0
  1155. package/dist/generated/gtk/popover-menu.d.ts +61 -0
  1156. package/dist/generated/gtk/popover-menu.js +163 -0
  1157. package/dist/generated/gtk/popover.d.ts +137 -0
  1158. package/dist/generated/gtk/popover.js +232 -0
  1159. package/dist/generated/gtk/print-context.d.ts +124 -0
  1160. package/dist/generated/gtk/print-context.js +124 -0
  1161. package/dist/generated/gtk/print-dialog.d.ts +71 -0
  1162. package/dist/generated/gtk/print-dialog.js +71 -0
  1163. package/dist/generated/gtk/print-job.d.ts +143 -0
  1164. package/dist/generated/gtk/print-job.js +148 -0
  1165. package/dist/generated/gtk/print-operation-preview.d.ts +31 -0
  1166. package/dist/generated/gtk/print-operation-preview.js +31 -0
  1167. package/dist/generated/gtk/print-operation.d.ts +300 -0
  1168. package/dist/generated/gtk/print-operation.js +364 -0
  1169. package/dist/generated/gtk/print-settings.d.ts +361 -0
  1170. package/dist/generated/gtk/print-settings.js +361 -0
  1171. package/dist/generated/gtk/print-setup.d.ts +32 -0
  1172. package/dist/generated/gtk/print-setup.js +32 -0
  1173. package/dist/generated/gtk/print-unix-dialog.d.ts +75 -0
  1174. package/dist/generated/gtk/print-unix-dialog.js +128 -0
  1175. package/dist/generated/gtk/printer.d.ts +121 -0
  1176. package/dist/generated/gtk/printer.js +126 -0
  1177. package/dist/generated/gtk/progress-bar.d.ts +149 -0
  1178. package/dist/generated/gtk/progress-bar.js +149 -0
  1179. package/dist/generated/gtk/property-expression.d.ts +36 -0
  1180. package/dist/generated/gtk/property-expression.js +21 -0
  1181. package/dist/generated/gtk/range.d.ts +162 -0
  1182. package/dist/generated/gtk/range.js +178 -0
  1183. package/dist/generated/gtk/recent-info.d.ts +123 -0
  1184. package/dist/generated/gtk/recent-info.js +123 -0
  1185. package/dist/generated/gtk/recent-manager.d.ts +81 -0
  1186. package/dist/generated/gtk/recent-manager.js +139 -0
  1187. package/dist/generated/gtk/requisition.d.ts +19 -0
  1188. package/dist/generated/gtk/requisition.js +19 -0
  1189. package/dist/generated/gtk/revealer.d.ts +73 -0
  1190. package/dist/generated/gtk/revealer.js +73 -0
  1191. package/dist/generated/gtk/root.d.ts +37 -0
  1192. package/dist/generated/gtk/root.js +37 -0
  1193. package/dist/generated/gtk/scale-button.d.ts +68 -0
  1194. package/dist/generated/gtk/scale-button.js +82 -0
  1195. package/dist/generated/gtk/scale.d.ts +115 -0
  1196. package/dist/generated/gtk/scale.js +201 -0
  1197. package/dist/generated/gtk/scroll-info.d.ts +31 -0
  1198. package/dist/generated/gtk/scroll-info.js +31 -0
  1199. package/dist/generated/gtk/scrollable.d.ts +73 -0
  1200. package/dist/generated/gtk/scrollable.js +73 -0
  1201. package/dist/generated/gtk/scrollbar.d.ts +63 -0
  1202. package/dist/generated/gtk/scrollbar.js +58 -0
  1203. package/dist/generated/gtk/scrolled-window.d.ts +180 -0
  1204. package/dist/generated/gtk/scrolled-window.js +259 -0
  1205. package/dist/generated/gtk/search-bar.d.ts +110 -0
  1206. package/dist/generated/gtk/search-bar.js +110 -0
  1207. package/dist/generated/gtk/search-entry.d.ts +251 -0
  1208. package/dist/generated/gtk/search-entry.js +305 -0
  1209. package/dist/generated/gtk/section-model.d.ts +46 -0
  1210. package/dist/generated/gtk/section-model.js +46 -0
  1211. package/dist/generated/gtk/selection-filter-model.d.ts +18 -0
  1212. package/dist/generated/gtk/selection-filter-model.js +13 -0
  1213. package/dist/generated/gtk/selection-model.d.ts +131 -0
  1214. package/dist/generated/gtk/selection-model.js +131 -0
  1215. package/dist/generated/gtk/separator.d.ts +29 -0
  1216. package/dist/generated/gtk/separator.js +25 -0
  1217. package/dist/generated/gtk/settings.d.ts +47 -0
  1218. package/dist/generated/gtk/settings.js +47 -0
  1219. package/dist/generated/gtk/shortcut-action.d.ts +70 -0
  1220. package/dist/generated/gtk/shortcut-action.js +55 -0
  1221. package/dist/generated/gtk/shortcut-controller.d.ts +110 -0
  1222. package/dist/generated/gtk/shortcut-controller.js +110 -0
  1223. package/dist/generated/gtk/shortcut-label.d.ts +23 -0
  1224. package/dist/generated/gtk/shortcut-label.js +19 -0
  1225. package/dist/generated/gtk/shortcut-manager.d.ts +13 -0
  1226. package/dist/generated/gtk/shortcut-manager.js +13 -0
  1227. package/dist/generated/gtk/shortcut-trigger.d.ts +106 -0
  1228. package/dist/generated/gtk/shortcut-trigger.js +87 -0
  1229. package/dist/generated/gtk/shortcut.d.ts +44 -0
  1230. package/dist/generated/gtk/shortcut.js +38 -0
  1231. package/dist/generated/gtk/shortcuts-group.d.ts +26 -0
  1232. package/dist/generated/gtk/shortcuts-group.js +26 -0
  1233. package/dist/generated/gtk/shortcuts-section.d.ts +10 -0
  1234. package/dist/generated/gtk/shortcuts-section.js +42 -0
  1235. package/dist/generated/gtk/shortcuts-shortcut.d.ts +6 -0
  1236. package/dist/generated/gtk/shortcuts-shortcut.js +6 -0
  1237. package/dist/generated/gtk/shortcuts-window.d.ts +10 -0
  1238. package/dist/generated/gtk/shortcuts-window.js +70 -0
  1239. package/dist/generated/gtk/signal-action.d.ts +16 -0
  1240. package/dist/generated/gtk/signal-action.js +9 -0
  1241. package/dist/generated/gtk/signal-list-item-factory.d.ts +5 -0
  1242. package/dist/generated/gtk/signal-list-item-factory.js +46 -0
  1243. package/dist/generated/gtk/single-selection.d.ts +189 -0
  1244. package/dist/generated/gtk/single-selection.js +185 -0
  1245. package/dist/generated/gtk/size-group.d.ts +150 -0
  1246. package/dist/generated/gtk/size-group.js +146 -0
  1247. package/dist/generated/gtk/slice-list-model.d.ts +76 -0
  1248. package/dist/generated/gtk/slice-list-model.js +68 -0
  1249. package/dist/generated/gtk/snapshot.d.ts +477 -0
  1250. package/dist/generated/gtk/snapshot.js +477 -0
  1251. package/dist/generated/gtk/sort-list-model.d.ts +131 -0
  1252. package/dist/generated/gtk/sort-list-model.js +126 -0
  1253. package/dist/generated/gtk/sorter.d.ts +39 -0
  1254. package/dist/generated/gtk/sorter.js +61 -0
  1255. package/dist/generated/gtk/spin-button.d.ts +378 -0
  1256. package/dist/generated/gtk/spin-button.js +491 -0
  1257. package/dist/generated/gtk/spinner.d.ts +37 -0
  1258. package/dist/generated/gtk/spinner.js +37 -0
  1259. package/dist/generated/gtk/stack-page.d.ts +171 -0
  1260. package/dist/generated/gtk/stack-page.js +171 -0
  1261. package/dist/generated/gtk/stack-sidebar.d.ts +32 -0
  1262. package/dist/generated/gtk/stack-sidebar.js +32 -0
  1263. package/dist/generated/gtk/stack-switcher.d.ts +51 -0
  1264. package/dist/generated/gtk/stack-switcher.js +51 -0
  1265. package/dist/generated/gtk/stack.d.ts +200 -0
  1266. package/dist/generated/gtk/stack.js +200 -0
  1267. package/dist/generated/gtk/statusbar.d.ts +35 -0
  1268. package/dist/generated/gtk/statusbar.js +73 -0
  1269. package/dist/generated/gtk/string-filter.d.ts +53 -0
  1270. package/dist/generated/gtk/string-filter.js +46 -0
  1271. package/dist/generated/gtk/string-list.d.ts +96 -0
  1272. package/dist/generated/gtk/string-list.js +92 -0
  1273. package/dist/generated/gtk/string-object.d.ts +14 -0
  1274. package/dist/generated/gtk/string-object.js +10 -0
  1275. package/dist/generated/gtk/string-sorter.d.ts +41 -0
  1276. package/dist/generated/gtk/string-sorter.js +33 -0
  1277. package/dist/generated/gtk/style-context.d.ts +188 -0
  1278. package/dist/generated/gtk/style-context.js +188 -0
  1279. package/dist/generated/gtk/style-provider.d.ts +10 -0
  1280. package/dist/generated/gtk/style-provider.js +10 -0
  1281. package/dist/generated/gtk/switch.d.ts +73 -0
  1282. package/dist/generated/gtk/switch.js +112 -0
  1283. package/dist/generated/gtk/symbolic-paintable.d.ts +24 -0
  1284. package/dist/generated/gtk/symbolic-paintable.js +24 -0
  1285. package/dist/generated/gtk/text-buffer.d.ts +693 -0
  1286. package/dist/generated/gtk/text-buffer.js +700 -0
  1287. package/dist/generated/gtk/text-child-anchor.d.ts +36 -0
  1288. package/dist/generated/gtk/text-child-anchor.js +36 -0
  1289. package/dist/generated/gtk/text-iter.d.ts +764 -0
  1290. package/dist/generated/gtk/text-iter.js +764 -0
  1291. package/dist/generated/gtk/text-mark.d.ts +85 -0
  1292. package/dist/generated/gtk/text-mark.js +70 -0
  1293. package/dist/generated/gtk/text-tag-table.d.ts +44 -0
  1294. package/dist/generated/gtk/text-tag-table.js +67 -0
  1295. package/dist/generated/gtk/text-tag.d.ts +52 -0
  1296. package/dist/generated/gtk/text-tag.js +48 -0
  1297. package/dist/generated/gtk/text-view.d.ts +668 -0
  1298. package/dist/generated/gtk/text-view.js +743 -0
  1299. package/dist/generated/gtk/text.d.ts +437 -0
  1300. package/dist/generated/gtk/text.js +549 -0
  1301. package/dist/generated/gtk/toggle-button.d.ts +49 -0
  1302. package/dist/generated/gtk/toggle-button.js +124 -0
  1303. package/dist/generated/gtk/tooltip.d.ts +80 -0
  1304. package/dist/generated/gtk/tooltip.js +80 -0
  1305. package/dist/generated/gtk/tree-drag-dest.d.ts +20 -0
  1306. package/dist/generated/gtk/tree-drag-dest.js +20 -0
  1307. package/dist/generated/gtk/tree-drag-source.d.ts +21 -0
  1308. package/dist/generated/gtk/tree-drag-source.js +21 -0
  1309. package/dist/generated/gtk/tree-expander.d.ts +125 -0
  1310. package/dist/generated/gtk/tree-expander.js +125 -0
  1311. package/dist/generated/gtk/tree-iter.d.ts +23 -0
  1312. package/dist/generated/gtk/tree-iter.js +23 -0
  1313. package/dist/generated/gtk/tree-list-model.d.ts +69 -0
  1314. package/dist/generated/gtk/tree-list-model.js +60 -0
  1315. package/dist/generated/gtk/tree-list-row-sorter.d.ts +32 -0
  1316. package/dist/generated/gtk/tree-list-row-sorter.js +24 -0
  1317. package/dist/generated/gtk/tree-list-row.d.ts +79 -0
  1318. package/dist/generated/gtk/tree-list-row.js +79 -0
  1319. package/dist/generated/gtk/tree-model-filter.d.ts +409 -0
  1320. package/dist/generated/gtk/tree-model-filter.js +409 -0
  1321. package/dist/generated/gtk/tree-model-sort.d.ts +436 -0
  1322. package/dist/generated/gtk/tree-model-sort.js +432 -0
  1323. package/dist/generated/gtk/tree-model.d.ts +411 -0
  1324. package/dist/generated/gtk/tree-model.js +411 -0
  1325. package/dist/generated/gtk/tree-path.d.ts +91 -0
  1326. package/dist/generated/gtk/tree-path.js +91 -0
  1327. package/dist/generated/gtk/tree-row-reference.d.ts +74 -0
  1328. package/dist/generated/gtk/tree-row-reference.js +64 -0
  1329. package/dist/generated/gtk/tree-selection.d.ts +98 -0
  1330. package/dist/generated/gtk/tree-selection.js +125 -0
  1331. package/dist/generated/gtk/tree-sortable.d.ts +58 -0
  1332. package/dist/generated/gtk/tree-sortable.js +58 -0
  1333. package/dist/generated/gtk/tree-store.d.ts +528 -0
  1334. package/dist/generated/gtk/tree-store.js +521 -0
  1335. package/dist/generated/gtk/tree-view-column.d.ts +299 -0
  1336. package/dist/generated/gtk/tree-view-column.js +311 -0
  1337. package/dist/generated/gtk/tree-view.d.ts +659 -0
  1338. package/dist/generated/gtk/tree-view.js +749 -0
  1339. package/dist/generated/gtk/uri-launcher.d.ts +38 -0
  1340. package/dist/generated/gtk/uri-launcher.js +34 -0
  1341. package/dist/generated/gtk/video.d.ts +101 -0
  1342. package/dist/generated/gtk/video.js +101 -0
  1343. package/dist/generated/gtk/viewport.d.ts +95 -0
  1344. package/dist/generated/gtk/viewport.js +87 -0
  1345. package/dist/generated/gtk/volume-button.d.ts +7 -0
  1346. package/dist/generated/gtk/volume-button.js +11 -0
  1347. package/dist/generated/gtk/widget-paintable.d.ts +32 -0
  1348. package/dist/generated/gtk/widget-paintable.js +28 -0
  1349. package/dist/generated/gtk/widget.d.ts +1741 -0
  1350. package/dist/generated/gtk/widget.js +2135 -0
  1351. package/dist/generated/gtk/window-controls.d.ts +102 -0
  1352. package/dist/generated/gtk/window-controls.js +98 -0
  1353. package/dist/generated/gtk/window-group.d.ts +35 -0
  1354. package/dist/generated/gtk/window-group.js +35 -0
  1355. package/dist/generated/gtk/window-handle.d.ts +28 -0
  1356. package/dist/generated/gtk/window-handle.js +28 -0
  1357. package/dist/generated/gtk/window.d.ts +587 -0
  1358. package/dist/generated/gtk/window.js +660 -0
  1359. package/dist/generated/gtksource/annotation-provider.d.ts +15 -0
  1360. package/dist/generated/gtksource/annotation-provider.js +23 -0
  1361. package/dist/generated/gtksource/annotation.d.ts +14 -0
  1362. package/dist/generated/gtksource/annotation.js +8 -0
  1363. package/dist/generated/gtksource/annotations.d.ts +8 -0
  1364. package/dist/generated/gtksource/annotations.js +15 -0
  1365. package/dist/generated/gtksource/buffer.d.ts +234 -0
  1366. package/dist/generated/gtksource/buffer.js +302 -0
  1367. package/dist/generated/gtksource/completion-cell.d.ts +24 -0
  1368. package/dist/generated/gtksource/completion-cell.js +24 -0
  1369. package/dist/generated/gtksource/completion-context.d.ts +64 -0
  1370. package/dist/generated/gtksource/completion-context.js +82 -0
  1371. package/dist/generated/gtksource/completion-proposal.d.ts +17 -0
  1372. package/dist/generated/gtksource/completion-proposal.js +17 -0
  1373. package/dist/generated/gtksource/completion-provider.d.ts +98 -0
  1374. package/dist/generated/gtksource/completion-provider.js +98 -0
  1375. package/dist/generated/gtksource/completion-snippets.d.ts +96 -0
  1376. package/dist/generated/gtksource/completion-snippets.js +96 -0
  1377. package/dist/generated/gtksource/completion-words.d.ts +107 -0
  1378. package/dist/generated/gtksource/completion-words.js +104 -0
  1379. package/dist/generated/gtksource/completion.d.ts +46 -0
  1380. package/dist/generated/gtksource/completion.js +77 -0
  1381. package/dist/generated/gtksource/encoding.d.ts +42 -0
  1382. package/dist/generated/gtksource/encoding.js +42 -0
  1383. package/dist/generated/gtksource/enums.d.ts +113 -0
  1384. package/dist/generated/gtksource/enums.js +113 -0
  1385. package/dist/generated/gtksource/file-loader.d.ts +58 -0
  1386. package/dist/generated/gtksource/file-loader.js +48 -0
  1387. package/dist/generated/gtksource/file-saver.d.ts +61 -0
  1388. package/dist/generated/gtksource/file-saver.js +53 -0
  1389. package/dist/generated/gtksource/file.d.ts +55 -0
  1390. package/dist/generated/gtksource/file.js +55 -0
  1391. package/dist/generated/gtksource/functions.d.ts +129 -0
  1392. package/dist/generated/gtksource/functions.js +129 -0
  1393. package/dist/generated/gtksource/gutter-lines.d.ts +120 -0
  1394. package/dist/generated/gtksource/gutter-lines.js +120 -0
  1395. package/dist/generated/gtksource/gutter-renderer-pixbuf.d.ts +37 -0
  1396. package/dist/generated/gtksource/gutter-renderer-pixbuf.js +37 -0
  1397. package/dist/generated/gtksource/gutter-renderer-text.d.ts +23 -0
  1398. package/dist/generated/gtksource/gutter-renderer-text.js +23 -0
  1399. package/dist/generated/gtksource/gutter-renderer.d.ts +94 -0
  1400. package/dist/generated/gtksource/gutter-renderer.js +128 -0
  1401. package/dist/generated/gtksource/gutter.d.ts +31 -0
  1402. package/dist/generated/gtksource/gutter.js +31 -0
  1403. package/dist/generated/gtksource/hover-context.d.ts +31 -0
  1404. package/dist/generated/gtksource/hover-context.js +31 -0
  1405. package/dist/generated/gtksource/hover-display.d.ts +10 -0
  1406. package/dist/generated/gtksource/hover-display.js +10 -0
  1407. package/dist/generated/gtksource/hover-provider.d.ts +12 -0
  1408. package/dist/generated/gtksource/hover-provider.js +12 -0
  1409. package/dist/generated/gtksource/hover.d.ts +15 -0
  1410. package/dist/generated/gtksource/hover.js +15 -0
  1411. package/dist/generated/gtksource/indenter.d.ts +66 -0
  1412. package/dist/generated/gtksource/indenter.js +66 -0
  1413. package/dist/generated/gtksource/language-manager.d.ts +117 -0
  1414. package/dist/generated/gtksource/language-manager.js +117 -0
  1415. package/dist/generated/gtksource/language.d.ts +58 -0
  1416. package/dist/generated/gtksource/language.js +58 -0
  1417. package/dist/generated/gtksource/map.d.ts +35 -0
  1418. package/dist/generated/gtksource/map.js +35 -0
  1419. package/dist/generated/gtksource/mark-attributes.d.ts +63 -0
  1420. package/dist/generated/gtksource/mark-attributes.js +96 -0
  1421. package/dist/generated/gtksource/mark.d.ts +47 -0
  1422. package/dist/generated/gtksource/mark.js +36 -0
  1423. package/dist/generated/gtksource/print-compositor.d.ts +417 -0
  1424. package/dist/generated/gtksource/print-compositor.js +413 -0
  1425. package/dist/generated/gtksource/region.d.ts +119 -0
  1426. package/dist/generated/gtksource/region.js +116 -0
  1427. package/dist/generated/gtksource/search-context.d.ts +179 -0
  1428. package/dist/generated/gtksource/search-context.js +170 -0
  1429. package/dist/generated/gtksource/search-settings.d.ts +65 -0
  1430. package/dist/generated/gtksource/search-settings.js +65 -0
  1431. package/dist/generated/gtksource/snippet-chunk.d.ts +85 -0
  1432. package/dist/generated/gtksource/snippet-chunk.js +85 -0
  1433. package/dist/generated/gtksource/snippet-context.d.ts +31 -0
  1434. package/dist/generated/gtksource/snippet-context.js +42 -0
  1435. package/dist/generated/gtksource/snippet-manager.d.ts +65 -0
  1436. package/dist/generated/gtksource/snippet-manager.js +65 -0
  1437. package/dist/generated/gtksource/snippet.d.ts +86 -0
  1438. package/dist/generated/gtksource/snippet.js +81 -0
  1439. package/dist/generated/gtksource/space-drawer.d.ts +123 -0
  1440. package/dist/generated/gtksource/space-drawer.js +123 -0
  1441. package/dist/generated/gtksource/style-scheme-chooser-button.d.ts +21 -0
  1442. package/dist/generated/gtksource/style-scheme-chooser-button.js +21 -0
  1443. package/dist/generated/gtksource/style-scheme-chooser-widget.d.ts +22 -0
  1444. package/dist/generated/gtksource/style-scheme-chooser-widget.js +22 -0
  1445. package/dist/generated/gtksource/style-scheme-chooser.d.ts +16 -0
  1446. package/dist/generated/gtksource/style-scheme-chooser.js +16 -0
  1447. package/dist/generated/gtksource/style-scheme-manager.d.ts +53 -0
  1448. package/dist/generated/gtksource/style-scheme-manager.js +53 -0
  1449. package/dist/generated/gtksource/style-scheme-preview.d.ts +8 -0
  1450. package/dist/generated/gtksource/style-scheme-preview.js +11 -0
  1451. package/dist/generated/gtksource/style-scheme.d.ts +22 -0
  1452. package/dist/generated/gtksource/style-scheme.js +22 -0
  1453. package/dist/generated/gtksource/style.d.ts +20 -0
  1454. package/dist/generated/gtksource/style.js +20 -0
  1455. package/dist/generated/gtksource/tag.d.ts +18 -0
  1456. package/dist/generated/gtksource/tag.js +9 -0
  1457. package/dist/generated/gtksource/view.d.ts +248 -0
  1458. package/dist/generated/gtksource/view.js +312 -0
  1459. package/dist/generated/gtksource/vim-imcontext.d.ts +12 -0
  1460. package/dist/generated/gtksource/vim-imcontext.js +85 -0
  1461. package/dist/generated/harfbuzz/blob-t.d.ts +5 -0
  1462. package/dist/generated/harfbuzz/blob-t.js +5 -0
  1463. package/dist/generated/harfbuzz/buffer-t.d.ts +4 -0
  1464. package/dist/generated/harfbuzz/buffer-t.js +4 -0
  1465. package/dist/generated/harfbuzz/color-line-t.d.ts +1 -0
  1466. package/dist/generated/harfbuzz/color-line-t.js +1 -0
  1467. package/dist/generated/harfbuzz/color-stop-t.d.ts +14 -0
  1468. package/dist/generated/harfbuzz/color-stop-t.js +14 -0
  1469. package/dist/generated/harfbuzz/draw-funcs-t.d.ts +8 -0
  1470. package/dist/generated/harfbuzz/draw-funcs-t.js +8 -0
  1471. package/dist/generated/harfbuzz/draw-state-t.d.ts +6 -0
  1472. package/dist/generated/harfbuzz/draw-state-t.js +6 -0
  1473. package/dist/generated/harfbuzz/enums.d.ts +1241 -0
  1474. package/dist/generated/harfbuzz/enums.js +1241 -0
  1475. package/dist/generated/harfbuzz/face-t.d.ts +1 -0
  1476. package/dist/generated/harfbuzz/face-t.js +1 -0
  1477. package/dist/generated/harfbuzz/feature-t.d.ts +25 -0
  1478. package/dist/generated/harfbuzz/feature-t.js +25 -0
  1479. package/dist/generated/harfbuzz/font-funcs-t.d.ts +10 -0
  1480. package/dist/generated/harfbuzz/font-funcs-t.js +10 -0
  1481. package/dist/generated/harfbuzz/font-t.d.ts +1 -0
  1482. package/dist/generated/harfbuzz/font-t.js +1 -0
  1483. package/dist/generated/harfbuzz/functions.d.ts +3816 -0
  1484. package/dist/generated/harfbuzz/functions.js +3816 -0
  1485. package/dist/generated/harfbuzz/glyph-info-t.d.ts +21 -0
  1486. package/dist/generated/harfbuzz/glyph-info-t.js +21 -0
  1487. package/dist/generated/harfbuzz/glyph-position-t.d.ts +21 -0
  1488. package/dist/generated/harfbuzz/glyph-position-t.js +21 -0
  1489. package/dist/generated/harfbuzz/map-t.d.ts +1 -0
  1490. package/dist/generated/harfbuzz/map-t.js +1 -0
  1491. package/dist/generated/harfbuzz/ot-math-glyph-part-t.d.ts +10 -0
  1492. package/dist/generated/harfbuzz/ot-math-glyph-part-t.js +10 -0
  1493. package/dist/generated/harfbuzz/ot-math-glyph-variant-t.d.ts +3 -0
  1494. package/dist/generated/harfbuzz/ot-math-glyph-variant-t.js +3 -0
  1495. package/dist/generated/harfbuzz/ot-var-axis-info-t.d.ts +15 -0
  1496. package/dist/generated/harfbuzz/ot-var-axis-info-t.js +15 -0
  1497. package/dist/generated/harfbuzz/paint-funcs-t.d.ts +22 -0
  1498. package/dist/generated/harfbuzz/paint-funcs-t.js +22 -0
  1499. package/dist/generated/harfbuzz/segment-properties-t.d.ts +8 -0
  1500. package/dist/generated/harfbuzz/segment-properties-t.js +8 -0
  1501. package/dist/generated/harfbuzz/set-t.d.ts +6 -0
  1502. package/dist/generated/harfbuzz/set-t.js +6 -0
  1503. package/dist/generated/harfbuzz/shape-plan-t.d.ts +11 -0
  1504. package/dist/generated/harfbuzz/shape-plan-t.js +11 -0
  1505. package/dist/generated/harfbuzz/unicode-funcs-t.d.ts +10 -0
  1506. package/dist/generated/harfbuzz/unicode-funcs-t.js +10 -0
  1507. package/dist/generated/harfbuzz/user-data-key-t.d.ts +1 -0
  1508. package/dist/generated/harfbuzz/user-data-key-t.js +1 -0
  1509. package/dist/generated/pango/attr-iterator.d.ts +48 -0
  1510. package/dist/generated/pango/attr-iterator.js +48 -0
  1511. package/dist/generated/pango/attr-list.d.ts +168 -0
  1512. package/dist/generated/pango/attr-list.js +168 -0
  1513. package/dist/generated/pango/attribute.d.ts +82 -0
  1514. package/dist/generated/pango/attribute.js +82 -0
  1515. package/dist/generated/pango/color.d.ts +55 -0
  1516. package/dist/generated/pango/color.js +55 -0
  1517. package/dist/generated/pango/context.d.ts +188 -0
  1518. package/dist/generated/pango/context.js +188 -0
  1519. package/dist/generated/pango/coverage.d.ts +50 -0
  1520. package/dist/generated/pango/coverage.js +50 -0
  1521. package/dist/generated/pango/enums.d.ts +589 -0
  1522. package/dist/generated/pango/enums.js +589 -0
  1523. package/dist/generated/pango/font-description.d.ts +374 -0
  1524. package/dist/generated/pango/font-description.js +374 -0
  1525. package/dist/generated/pango/font-face.d.ts +38 -0
  1526. package/dist/generated/pango/font-face.js +38 -0
  1527. package/dist/generated/pango/font-family.d.ts +55 -0
  1528. package/dist/generated/pango/font-family.js +55 -0
  1529. package/dist/generated/pango/font-map.d.ts +88 -0
  1530. package/dist/generated/pango/font-map.js +88 -0
  1531. package/dist/generated/pango/font-metrics.d.ts +78 -0
  1532. package/dist/generated/pango/font-metrics.js +78 -0
  1533. package/dist/generated/pango/font.d.ts +119 -0
  1534. package/dist/generated/pango/font.js +119 -0
  1535. package/dist/generated/pango/fontset-simple.d.ts +20 -0
  1536. package/dist/generated/pango/fontset-simple.js +16 -0
  1537. package/dist/generated/pango/fontset.d.ts +24 -0
  1538. package/dist/generated/pango/fontset.js +24 -0
  1539. package/dist/generated/pango/functions.d.ts +1009 -0
  1540. package/dist/generated/pango/functions.js +1009 -0
  1541. package/dist/generated/pango/glyph-item-iter.d.ts +72 -0
  1542. package/dist/generated/pango/glyph-item-iter.js +72 -0
  1543. package/dist/generated/pango/glyph-item.d.ts +82 -0
  1544. package/dist/generated/pango/glyph-item.js +82 -0
  1545. package/dist/generated/pango/glyph-string.d.ts +114 -0
  1546. package/dist/generated/pango/glyph-string.js +114 -0
  1547. package/dist/generated/pango/item.d.ts +57 -0
  1548. package/dist/generated/pango/item.js +57 -0
  1549. package/dist/generated/pango/language.d.ts +145 -0
  1550. package/dist/generated/pango/language.js +145 -0
  1551. package/dist/generated/pango/layout-iter.d.ts +153 -0
  1552. package/dist/generated/pango/layout-iter.js +153 -0
  1553. package/dist/generated/pango/layout-line.d.ts +99 -0
  1554. package/dist/generated/pango/layout-line.js +99 -0
  1555. package/dist/generated/pango/layout.d.ts +662 -0
  1556. package/dist/generated/pango/layout.js +657 -0
  1557. package/dist/generated/pango/matrix.d.ts +136 -0
  1558. package/dist/generated/pango/matrix.js +136 -0
  1559. package/dist/generated/pango/renderer.d.ts +188 -0
  1560. package/dist/generated/pango/renderer.js +188 -0
  1561. package/dist/generated/pango/script-iter.d.ts +37 -0
  1562. package/dist/generated/pango/script-iter.js +27 -0
  1563. package/dist/generated/pango/tab-array.d.ts +114 -0
  1564. package/dist/generated/pango/tab-array.js +106 -0
  1565. package/dist/generated/pangocairo/font-map.d.ts +41 -0
  1566. package/dist/generated/pangocairo/font-map.js +41 -0
  1567. package/dist/generated/pangocairo/font.d.ts +12 -0
  1568. package/dist/generated/pangocairo/font.js +12 -0
  1569. package/dist/generated/pangocairo/functions.d.ts +227 -0
  1570. package/dist/generated/pangocairo/functions.js +227 -0
  1571. package/dist/gl/constants.d.ts +4 -0
  1572. package/dist/gl/constants.js +4 -0
  1573. package/dist/gl/gl.d.ts +144 -0
  1574. package/dist/gl/gl.js +144 -0
  1575. package/dist/gl/index.d.ts +12 -0
  1576. package/dist/gl/index.js +12 -0
  1577. package/dist/native-error.d.ts +11 -0
  1578. package/dist/native-error.js +11 -0
  1579. package/dist/native.d.ts +29 -0
  1580. package/dist/native.js +29 -0
  1581. package/dist/types.d.ts +5 -0
  1582. package/package.json +3 -3
@@ -14,137 +14,1952 @@ import { Mount } from "./mount.js";
14
14
  import { MountOperation } from "./mount-operation.js";
15
15
  import * as GLib from "../glib/index.js";
16
16
  import * as GObject from "../gobject/index.js";
17
+ /**
18
+ * `GFile` is a high level abstraction for manipulating files on a
19
+ * virtual file system. `GFile`s are lightweight, immutable objects
20
+ * that do no I/O upon creation. It is necessary to understand that
21
+ * `GFile` objects do not represent files, merely an identifier for a
22
+ * file. All file content I/O is implemented as streaming operations
23
+ * (see [class@Gio.InputStream] and [class@Gio.OutputStream]).
24
+ *
25
+ * To construct a `GFile`, you can use:
26
+ *
27
+ * - [func@Gio.File.new_for_path] if you have a path.
28
+ * - [func@Gio.File.new_for_uri] if you have a URI.
29
+ * - [func@Gio.File.new_for_commandline_arg] or
30
+ * [func@Gio.File.new_for_commandline_arg_and_cwd] for a command line
31
+ * argument.
32
+ * - [func@Gio.File.new_tmp] to create a temporary file from a template.
33
+ * - [func@Gio.File.new_tmp_async] to asynchronously create a temporary file.
34
+ * - [func@Gio.File.new_tmp_dir_async] to asynchronously create a temporary
35
+ * directory.
36
+ * - [func@Gio.File.parse_name] from a UTF-8 string gotten from
37
+ * [method@Gio.File.get_parse_name].
38
+ * - [func@Gio.File.new_build_filename] or [func@Gio.File.new_build_filenamev]
39
+ * to create a file from path elements.
40
+ *
41
+ * One way to think of a `GFile` is as an abstraction of a pathname. For
42
+ * normal files the system pathname is what is stored internally, but as
43
+ * `GFile`s are extensible it could also be something else that corresponds
44
+ * to a pathname in a userspace implementation of a filesystem.
45
+ *
46
+ * `GFile`s make up hierarchies of directories and files that correspond to
47
+ * the files on a filesystem. You can move through the file system with
48
+ * `GFile` using [method@Gio.File.get_parent] to get an identifier for the
49
+ * parent directory, [method@Gio.File.get_child] to get a child within a
50
+ * directory, and [method@Gio.File.resolve_relative_path] to resolve a relative
51
+ * path between two `GFile`s. There can be multiple hierarchies, so you may not
52
+ * end up at the same root if you repeatedly call [method@Gio.File.get_parent]
53
+ * on two different files.
54
+ *
55
+ * All `GFile`s have a basename (get with [method@Gio.File.get_basename]). These
56
+ * names are byte strings that are used to identify the file on the filesystem
57
+ * (relative to its parent directory) and there is no guarantees that they
58
+ * have any particular charset encoding or even make any sense at all. If
59
+ * you want to use filenames in a user interface you should use the display
60
+ * name that you can get by requesting the
61
+ * `G_FILE_ATTRIBUTE_STANDARD_DISPLAY_NAME` attribute with
62
+ * [method@Gio.File.query_info]. This is guaranteed to be in UTF-8 and can be
63
+ * used in a user interface. But always store the real basename or the `GFile`
64
+ * to use to actually access the file, because there is no way to go from a
65
+ * display name to the actual name.
66
+ *
67
+ * Using `GFile` as an identifier has the same weaknesses as using a path
68
+ * in that there may be multiple aliases for the same file. For instance,
69
+ * hard or soft links may cause two different `GFile`s to refer to the same
70
+ * file. Other possible causes for aliases are: case insensitive filesystems,
71
+ * short and long names on FAT/NTFS, or bind mounts in Linux. If you want to
72
+ * check if two `GFile`s point to the same file you can query for the
73
+ * `G_FILE_ATTRIBUTE_ID_FILE` attribute. Note that `GFile` does some trivial
74
+ * canonicalization of pathnames passed in, so that trivial differences in
75
+ * the path string used at creation (duplicated slashes, slash at end of
76
+ * path, `.` or `..` path segments, etc) does not create different `GFile`s.
77
+ *
78
+ * Many `GFile` operations have both synchronous and asynchronous versions
79
+ * to suit your application. Asynchronous versions of synchronous functions
80
+ * simply have `_async()` appended to their function names. The asynchronous
81
+ * I/O functions call a [callback@Gio.AsyncReadyCallback] which is then used to
82
+ * finalize the operation, producing a [iface@Gio.AsyncResult] which is then
83
+ * passed to the function’s matching `_finish()` operation.
84
+ *
85
+ * It is highly recommended to use asynchronous calls when running within a
86
+ * shared main loop, such as in the main thread of an application. This avoids
87
+ * I/O operations blocking other sources on the main loop from being dispatched.
88
+ * Synchronous I/O operations should be performed from worker threads. See the
89
+ * introduction to asynchronous programming section
90
+ * for more.
91
+ *
92
+ * Some `GFile` operations almost always take a noticeable amount of time, and
93
+ * so do not have synchronous analogs. Notable cases include:
94
+ *
95
+ * - [method@Gio.File.mount_mountable] to mount a mountable file.
96
+ * - [method@Gio.File.unmount_mountable_with_operation] to unmount a mountable
97
+ * file.
98
+ * - [method@Gio.File.eject_mountable_with_operation] to eject a mountable file.
99
+ *
100
+ * ## Entity Tags
101
+ *
102
+ * One notable feature of `GFile`s are entity tags, or ‘etags’ for
103
+ * short. Entity tags are somewhat like a more abstract version of the
104
+ * traditional mtime, and can be used to quickly determine if the file
105
+ * has been modified from the version on the file system. See the
106
+ * HTTP 1.1
107
+ * specification
108
+ * for HTTP `ETag` headers, which are a very similar concept.
109
+ */
17
110
  export declare class File {
18
111
  ptr: unknown;
19
112
  protected constructor(ptr: unknown);
20
113
  static fromPtr(ptr: unknown): File;
114
+ /**
115
+ * Gets an output stream for appending data to the file.
116
+ * If the file doesn't already exist it is created.
117
+ *
118
+ * By default files created are generally readable by everyone,
119
+ * but if you pass %G_FILE_CREATE_PRIVATE in `flags` the file
120
+ * will be made readable only to the current user, to the level that
121
+ * is supported on the target filesystem.
122
+ *
123
+ * If `cancellable` is not %NULL, then the operation can be cancelled
124
+ * by triggering the cancellable object from another thread. If the
125
+ * operation was cancelled, the error %G_IO_ERROR_CANCELLED will be
126
+ * returned.
127
+ *
128
+ * Some file systems don't allow all file names, and may return an
129
+ * %G_IO_ERROR_INVALID_FILENAME error. If the file is a directory the
130
+ * %G_IO_ERROR_IS_DIRECTORY error will be returned. Other errors are
131
+ * possible too, and depend on what kind of filesystem the file is on.
132
+ * @param flags - a set of #GFileCreateFlags
133
+ * @param cancellable - optional #GCancellable object,
134
+ */
21
135
  appendTo(flags: FileCreateFlags, cancellable?: Cancellable | null): FileOutputStream;
136
+ /**
137
+ * Asynchronously opens `file` for appending.
138
+ *
139
+ * For more details, see g_file_append_to() which is
140
+ * the synchronous version of this call.
141
+ *
142
+ * When the operation is finished, `callback` will be called.
143
+ * You can then call g_file_append_to_finish() to get the result
144
+ * of the operation.
145
+ * @param flags - a set of #GFileCreateFlags
146
+ * @param ioPriority - the I/O priority of the request
147
+ * @param cancellable - optional #GCancellable object,
148
+ * @param callback - a #GAsyncReadyCallback
149
+ * @param userData - the data to pass to callback function
150
+ */
22
151
  appendToAsync(flags: FileCreateFlags, ioPriority: number, cancellable?: Cancellable | null, callback?: (...args: unknown[]) => unknown | null, userData?: number | null): void;
152
+ /**
153
+ * Finishes an asynchronous file append operation started with
154
+ * g_file_append_to_async().
155
+ * @param res - #GAsyncResult
156
+ */
23
157
  appendToFinish(res: AsyncResult): FileOutputStream;
158
+ /**
159
+ * Prepares the file attribute query string for copying to @file.
160
+ *
161
+ * This function prepares an attribute query string to be
162
+ * passed to g_file_query_info() to get a list of attributes
163
+ * normally copied with the file (see g_file_copy_attributes()
164
+ * for the detailed description). This function is used by the
165
+ * implementation of g_file_copy_attributes() and is useful
166
+ * when one needs to query and set the attributes in two
167
+ * stages (e.g., for recursive move of a directory).
168
+ * @param flags - a set of #GFileCopyFlags
169
+ * @param cancellable - optional #GCancellable object,
170
+ */
24
171
  buildAttributeListForCopy(flags: FileCopyFlags, cancellable?: Cancellable | null): string;
172
+ /**
173
+ * Copies the file `source` to the location specified by @destination.
174
+ * Can not handle recursive copies of directories.
175
+ *
176
+ * If the flag %G_FILE_COPY_OVERWRITE is specified an already
177
+ * existing `destination` file is overwritten.
178
+ *
179
+ * If the flag %G_FILE_COPY_NOFOLLOW_SYMLINKS is specified then symlinks
180
+ * will be copied as symlinks, otherwise the target of the
181
+ * `source` symlink will be copied.
182
+ *
183
+ * If the flag %G_FILE_COPY_ALL_METADATA is specified then all the metadata
184
+ * that is possible to copy is copied, not just the default subset (which,
185
+ * for instance, does not include the owner, see #GFileInfo).
186
+ *
187
+ * If `cancellable` is not %NULL, then the operation can be cancelled by
188
+ * triggering the cancellable object from another thread. If the operation
189
+ * was cancelled, the error %G_IO_ERROR_CANCELLED will be returned.
190
+ *
191
+ * If `progress_callback` is not %NULL, then the operation can be monitored
192
+ * by setting this to a #GFileProgressCallback function.
193
+ * `progress_callback_data` will be passed to this function. It is guaranteed
194
+ * that this callback will be called after all data has been transferred with
195
+ * the total number of bytes copied during the operation.
196
+ *
197
+ * If the `source` file does not exist, then the %G_IO_ERROR_NOT_FOUND error
198
+ * is returned, independent on the status of the @destination.
199
+ *
200
+ * If %G_FILE_COPY_OVERWRITE is not specified and the target exists, then
201
+ * the error %G_IO_ERROR_EXISTS is returned.
202
+ *
203
+ * If trying to overwrite a file over a directory, the %G_IO_ERROR_IS_DIRECTORY
204
+ * error is returned. If trying to overwrite a directory with a directory the
205
+ * %G_IO_ERROR_WOULD_MERGE error is returned.
206
+ *
207
+ * If the source is a directory and the target does not exist, or
208
+ * %G_FILE_COPY_OVERWRITE is specified and the target is a file, then the
209
+ * %G_IO_ERROR_WOULD_RECURSE error is returned.
210
+ *
211
+ * If you are interested in copying the #GFile object itself (not the on-disk
212
+ * file), see g_file_dup().
213
+ * @param destination - destination #GFile
214
+ * @param flags - set of #GFileCopyFlags
215
+ * @param cancellable - optional #GCancellable object,
216
+ * @param progressCallback - function to callback with
217
+ * @param progressCallbackData - user data to pass to @progress_callback
218
+ */
25
219
  copy(destination: File, flags: FileCopyFlags, cancellable?: Cancellable | null, progressCallback?: (...args: unknown[]) => unknown | null, progressCallbackData?: number | null): boolean;
220
+ /**
221
+ * Copies the file `source` to the location specified by `destination` asynchronously. For details of the behaviour, see g_file_copy().
222
+ *
223
+ * If `progress_callback` is not %NULL, then that function that will be called
224
+ * just like in g_file_copy(). The callback will run in the default main context
225
+ * of the thread calling g_file_copy_async() — the same context as `callback` is
226
+ * run in.
227
+ *
228
+ * When the operation is finished, `callback` will be called. You can then call
229
+ * g_file_copy_finish() to get the result of the operation.
230
+ * @param destination - destination #GFile
231
+ * @param flags - set of #GFileCopyFlags
232
+ * @param ioPriority - the I/O priority of the request
233
+ * @param cancellable - optional #GCancellable object,
234
+ * @param progressCallback - function to callback with progress information, or %NULL if
235
+ * @param progressCallbackData - user data to pass to @progress_callback
236
+ * @param callback - a #GAsyncReadyCallback
237
+ * @param userData - the data to pass to callback
238
+ */
26
239
  copyAsync(destination: File, flags: FileCopyFlags, ioPriority: number, cancellable?: Cancellable | null, progressCallback?: (...args: unknown[]) => unknown | null, progressCallbackData?: number | null, callback?: (...args: unknown[]) => unknown | null, userData?: number | null): void;
240
+ /**
241
+ * Version of [method@Gio.File.copy_async] using closures instead of callbacks for
242
+ * easier binding in other languages.
243
+ * @param destination - destination [type@Gio.File]
244
+ * @param flags - set of [flags@Gio.FileCopyFlags]
245
+ * @param ioPriority - the I/O priority of the request
246
+ * @param cancellable - optional [class@Gio.Cancellable] object,
247
+ * @param progressCallbackClosure - [type@GObject.Closure] to invoke with progress
248
+ * @param readyCallbackClosure - [type@GObject.Closure] to invoke when the request is satisfied
249
+ */
27
250
  copyAsyncWithClosures(destination: File, flags: FileCopyFlags, ioPriority: number, readyCallbackClosure: GObject.Closure, cancellable?: Cancellable | null, progressCallbackClosure?: GObject.Closure | null): void;
251
+ /**
252
+ * Copies the file attributes from `source` to @destination.
253
+ *
254
+ * Normally only a subset of the file attributes are copied,
255
+ * those that are copies in a normal file copy operation
256
+ * (which for instance does not include e.g. owner). However
257
+ * if %G_FILE_COPY_ALL_METADATA is specified in @flags, then
258
+ * all the metadata that is possible to copy is copied. This
259
+ * is useful when implementing move by copy + delete source.
260
+ * @param destination - a #GFile to copy attributes to
261
+ * @param flags - a set of #GFileCopyFlags
262
+ * @param cancellable - optional #GCancellable object,
263
+ */
28
264
  copyAttributes(destination: File, flags: FileCopyFlags, cancellable?: Cancellable | null): boolean;
265
+ /**
266
+ * Finishes copying the file started with g_file_copy_async().
267
+ * @param res - a #GAsyncResult
268
+ */
29
269
  copyFinish(res: AsyncResult): boolean;
270
+ /**
271
+ * Creates a new file and returns an output stream for writing to it.
272
+ * The file must not already exist.
273
+ *
274
+ * By default files created are generally readable by everyone,
275
+ * but if you pass %G_FILE_CREATE_PRIVATE in `flags` the file
276
+ * will be made readable only to the current user, to the level
277
+ * that is supported on the target filesystem.
278
+ *
279
+ * If `cancellable` is not %NULL, then the operation can be cancelled
280
+ * by triggering the cancellable object from another thread. If the
281
+ * operation was cancelled, the error %G_IO_ERROR_CANCELLED will be
282
+ * returned.
283
+ *
284
+ * If a file or directory with this name already exists the
285
+ * %G_IO_ERROR_EXISTS error will be returned. Some file systems don't
286
+ * allow all file names, and may return an %G_IO_ERROR_INVALID_FILENAME
287
+ * error, and if the name is to long %G_IO_ERROR_FILENAME_TOO_LONG will
288
+ * be returned. Other errors are possible too, and depend on what kind
289
+ * of filesystem the file is on.
290
+ * @param flags - a set of #GFileCreateFlags
291
+ * @param cancellable - optional #GCancellable object,
292
+ */
30
293
  create(flags: FileCreateFlags, cancellable?: Cancellable | null): FileOutputStream;
294
+ /**
295
+ * Asynchronously creates a new file and returns an output stream
296
+ * for writing to it. The file must not already exist.
297
+ *
298
+ * For more details, see g_file_create() which is
299
+ * the synchronous version of this call.
300
+ *
301
+ * When the operation is finished, `callback` will be called.
302
+ * You can then call g_file_create_finish() to get the result
303
+ * of the operation.
304
+ * @param flags - a set of #GFileCreateFlags
305
+ * @param ioPriority - the I/O priority of the request
306
+ * @param cancellable - optional #GCancellable object,
307
+ * @param callback - a #GAsyncReadyCallback
308
+ * @param userData - the data to pass to callback function
309
+ */
31
310
  createAsync(flags: FileCreateFlags, ioPriority: number, cancellable?: Cancellable | null, callback?: (...args: unknown[]) => unknown | null, userData?: number | null): void;
311
+ /**
312
+ * Finishes an asynchronous file create operation started with
313
+ * g_file_create_async().
314
+ * @param res - a #GAsyncResult
315
+ */
32
316
  createFinish(res: AsyncResult): FileOutputStream;
317
+ /**
318
+ * Creates a new file and returns a stream for reading and
319
+ * writing to it. The file must not already exist.
320
+ *
321
+ * By default files created are generally readable by everyone,
322
+ * but if you pass %G_FILE_CREATE_PRIVATE in `flags` the file
323
+ * will be made readable only to the current user, to the level
324
+ * that is supported on the target filesystem.
325
+ *
326
+ * If `cancellable` is not %NULL, then the operation can be cancelled
327
+ * by triggering the cancellable object from another thread. If the
328
+ * operation was cancelled, the error %G_IO_ERROR_CANCELLED will be
329
+ * returned.
330
+ *
331
+ * If a file or directory with this name already exists, the
332
+ * %G_IO_ERROR_EXISTS error will be returned. Some file systems don't
333
+ * allow all file names, and may return an %G_IO_ERROR_INVALID_FILENAME
334
+ * error, and if the name is too long, %G_IO_ERROR_FILENAME_TOO_LONG
335
+ * will be returned. Other errors are possible too, and depend on what
336
+ * kind of filesystem the file is on.
337
+ *
338
+ * Note that in many non-local file cases read and write streams are
339
+ * not supported, so make sure you really need to do read and write
340
+ * streaming, rather than just opening for reading or writing.
341
+ * @param flags - a set of #GFileCreateFlags
342
+ * @param cancellable - optional #GCancellable object,
343
+ */
33
344
  createReadwrite(flags: FileCreateFlags, cancellable?: Cancellable | null): FileIOStream;
345
+ /**
346
+ * Asynchronously creates a new file and returns a stream
347
+ * for reading and writing to it. The file must not already exist.
348
+ *
349
+ * For more details, see g_file_create_readwrite() which is
350
+ * the synchronous version of this call.
351
+ *
352
+ * When the operation is finished, `callback` will be called.
353
+ * You can then call g_file_create_readwrite_finish() to get
354
+ * the result of the operation.
355
+ * @param flags - a set of #GFileCreateFlags
356
+ * @param ioPriority - the I/O priority of the request
357
+ * @param cancellable - optional #GCancellable object,
358
+ * @param callback - a #GAsyncReadyCallback
359
+ * @param userData - the data to pass to callback function
360
+ */
34
361
  createReadwriteAsync(flags: FileCreateFlags, ioPriority: number, cancellable?: Cancellable | null, callback?: (...args: unknown[]) => unknown | null, userData?: number | null): void;
362
+ /**
363
+ * Finishes an asynchronous file create operation started with
364
+ * g_file_create_readwrite_async().
365
+ * @param res - a #GAsyncResult
366
+ */
35
367
  createReadwriteFinish(res: AsyncResult): FileIOStream;
368
+ /**
369
+ * Deletes a file. If the `file` is a directory, it will only be
370
+ * deleted if it is empty. This has the same semantics as g_unlink().
371
+ *
372
+ * If `file` doesn’t exist, %G_IO_ERROR_NOT_FOUND will be returned. This allows
373
+ * for deletion to be implemented avoiding
374
+ * [time-of-check to time-of-use races](https://en.wikipedia.org/wiki/Time-of-check_to_time-of-use):
375
+ * |[
376
+ * g_autoptr(GError) local_error = NULL;
377
+ * if (!g_file_delete (my_file, my_cancellable, &local_error) &&
378
+ * !g_error_matches (local_error, G_IO_ERROR, G_IO_ERROR_NOT_FOUND))
379
+ * {
380
+ * // deletion failed for some reason other than the file not existing:
381
+ * // so report the error
382
+ * g_warning ("Failed to delete %s: %s",
383
+ * g_file_peek_path (my_file), local_error->message);
384
+ * }
385
+ * ]|
386
+ *
387
+ * If `cancellable` is not %NULL, then the operation can be cancelled by
388
+ * triggering the cancellable object from another thread. If the operation
389
+ * was cancelled, the error %G_IO_ERROR_CANCELLED will be returned.
390
+ * @param cancellable - optional #GCancellable object,
391
+ */
36
392
  delete(cancellable?: Cancellable | null): boolean;
393
+ /**
394
+ * Asynchronously delete a file. If the `file` is a directory, it will
395
+ * only be deleted if it is empty. This has the same semantics as
396
+ * g_unlink().
397
+ * @param ioPriority - the I/O priority of the request
398
+ * @param cancellable - optional #GCancellable object,
399
+ * @param callback - a #GAsyncReadyCallback to call
400
+ * @param userData - the data to pass to callback function
401
+ */
37
402
  deleteAsync(ioPriority: number, cancellable?: Cancellable | null, callback?: (...args: unknown[]) => unknown | null, userData?: number | null): void;
403
+ /**
404
+ * Finishes deleting a file started with g_file_delete_async().
405
+ * @param result - a #GAsyncResult
406
+ */
38
407
  deleteFinish(result: AsyncResult): boolean;
408
+ /**
409
+ * Duplicates a #GFile handle. This operation does not duplicate
410
+ * the actual file or directory represented by the #GFile; see
411
+ * g_file_copy() if attempting to copy a file.
412
+ *
413
+ * g_file_dup() is useful when a second handle is needed to the same underlying
414
+ * file, for use in a separate thread (#GFile is not thread-safe). For use
415
+ * within the same thread, use g_object_ref() to increment the existing object’s
416
+ * reference count.
417
+ *
418
+ * This call does no blocking I/O.
419
+ */
39
420
  dup(): File;
421
+ /**
422
+ * Starts an asynchronous eject on a mountable.
423
+ * When this operation has completed, `callback` will be called with
424
+ * `user_user` data, and the operation can be finalized with
425
+ * g_file_eject_mountable_finish().
426
+ *
427
+ * If `cancellable` is not %NULL, then the operation can be cancelled by
428
+ * triggering the cancellable object from another thread. If the operation
429
+ * was cancelled, the error %G_IO_ERROR_CANCELLED will be returned.
430
+ * @param flags - flags affecting the operation
431
+ * @param cancellable - optional #GCancellable object,
432
+ * @param callback - a #GAsyncReadyCallback
433
+ * @param userData - the data to pass to callback function
434
+ */
40
435
  ejectMountable(flags: MountUnmountFlags, cancellable?: Cancellable | null, callback?: (...args: unknown[]) => unknown | null, userData?: number | null): void;
436
+ /**
437
+ * Finishes an asynchronous eject operation started by
438
+ * g_file_eject_mountable().
439
+ * @param result - a #GAsyncResult
440
+ */
41
441
  ejectMountableFinish(result: AsyncResult): boolean;
442
+ /**
443
+ * Starts an asynchronous eject on a mountable.
444
+ * When this operation has completed, `callback` will be called with
445
+ * `user_user` data, and the operation can be finalized with
446
+ * g_file_eject_mountable_with_operation_finish().
447
+ *
448
+ * If `cancellable` is not %NULL, then the operation can be cancelled by
449
+ * triggering the cancellable object from another thread. If the operation
450
+ * was cancelled, the error %G_IO_ERROR_CANCELLED will be returned.
451
+ * @param flags - flags affecting the operation
452
+ * @param mountOperation - a #GMountOperation,
453
+ * @param cancellable - optional #GCancellable object,
454
+ * @param callback - a #GAsyncReadyCallback
455
+ * @param userData - the data to pass to callback function
456
+ */
42
457
  ejectMountableWithOperation(flags: MountUnmountFlags, mountOperation?: MountOperation | null, cancellable?: Cancellable | null, callback?: (...args: unknown[]) => unknown | null, userData?: number | null): void;
458
+ /**
459
+ * Finishes an asynchronous eject operation started by
460
+ * g_file_eject_mountable_with_operation().
461
+ * @param result - a #GAsyncResult
462
+ */
43
463
  ejectMountableWithOperationFinish(result: AsyncResult): boolean;
464
+ /**
465
+ * Gets the requested information about the files in a directory.
466
+ * The result is a #GFileEnumerator object that will give out
467
+ * #GFileInfo objects for all the files in the directory.
468
+ *
469
+ * The `attributes` value is a string that specifies the file
470
+ * attributes that should be gathered. It is not an error if
471
+ * it's not possible to read a particular requested attribute
472
+ * from a file - it just won't be set. `attributes` should
473
+ * be a comma-separated list of attributes or attribute wildcards.
474
+ * The wildcard "*" means all attributes, and a wildcard like
475
+ * "standard::*" means all attributes in the standard namespace.
476
+ * An example attribute query be "standard::*,owner::user".
477
+ * The standard attributes are available as defines, like
478
+ * %G_FILE_ATTRIBUTE_STANDARD_NAME. %G_FILE_ATTRIBUTE_STANDARD_NAME should
479
+ * always be specified if you plan to call g_file_enumerator_get_child() or
480
+ * g_file_enumerator_iterate() on the returned enumerator.
481
+ *
482
+ * If `cancellable` is not %NULL, then the operation can be cancelled
483
+ * by triggering the cancellable object from another thread. If the
484
+ * operation was cancelled, the error %G_IO_ERROR_CANCELLED will be
485
+ * returned.
486
+ *
487
+ * If the file does not exist, the %G_IO_ERROR_NOT_FOUND error will
488
+ * be returned. If the file is not a directory, the %G_IO_ERROR_NOT_DIRECTORY
489
+ * error will be returned. Other errors are possible too.
490
+ * @param attributes - an attribute query string
491
+ * @param flags - a set of #GFileQueryInfoFlags
492
+ * @param cancellable - optional #GCancellable object,
493
+ */
44
494
  enumerateChildren(attributes: string, flags: FileQueryInfoFlags, cancellable?: Cancellable | null): FileEnumerator;
495
+ /**
496
+ * Asynchronously gets the requested information about the files
497
+ * in a directory. The result is a #GFileEnumerator object that will
498
+ * give out #GFileInfo objects for all the files in the directory.
499
+ *
500
+ * For more details, see g_file_enumerate_children() which is
501
+ * the synchronous version of this call.
502
+ *
503
+ * When the operation is finished, `callback` will be called. You can
504
+ * then call g_file_enumerate_children_finish() to get the result of
505
+ * the operation.
506
+ * @param attributes - an attribute query string
507
+ * @param flags - a set of #GFileQueryInfoFlags
508
+ * @param ioPriority - the I/O priority of the request
509
+ * @param cancellable - optional #GCancellable object,
510
+ * @param callback - a #GAsyncReadyCallback
511
+ * @param userData - the data to pass to callback function
512
+ */
45
513
  enumerateChildrenAsync(attributes: string, flags: FileQueryInfoFlags, ioPriority: number, cancellable?: Cancellable | null, callback?: (...args: unknown[]) => unknown | null, userData?: number | null): void;
514
+ /**
515
+ * Finishes an async enumerate children operation.
516
+ * See g_file_enumerate_children_async().
517
+ * @param res - a #GAsyncResult
518
+ */
46
519
  enumerateChildrenFinish(res: AsyncResult): FileEnumerator;
520
+ /**
521
+ * Checks if the two given #GFiles refer to the same file.
522
+ *
523
+ * Note that two #GFiles that differ can still refer to the same
524
+ * file on the filesystem due to various forms of filename
525
+ * aliasing.
526
+ *
527
+ * This call does no blocking I/O.
528
+ * @param file2 - the second #GFile
529
+ */
47
530
  equal(file2: File): boolean;
531
+ /**
532
+ * Gets a #GMount for the #GFile.
533
+ *
534
+ * #GMount is returned only for user interesting locations, see
535
+ * #GVolumeMonitor. If the #GFileIface for `file` does not have a #mount,
536
+ * `error` will be set to %G_IO_ERROR_NOT_FOUND and %NULL #will be returned.
537
+ *
538
+ * If `cancellable` is not %NULL, then the operation can be cancelled by
539
+ * triggering the cancellable object from another thread. If the operation
540
+ * was cancelled, the error %G_IO_ERROR_CANCELLED will be returned.
541
+ * @param cancellable - optional #GCancellable object,
542
+ */
48
543
  findEnclosingMount(cancellable?: Cancellable | null): Mount;
544
+ /**
545
+ * Asynchronously gets the mount for the file.
546
+ *
547
+ * For more details, see g_file_find_enclosing_mount() which is
548
+ * the synchronous version of this call.
549
+ *
550
+ * When the operation is finished, `callback` will be called.
551
+ * You can then call g_file_find_enclosing_mount_finish() to
552
+ * get the result of the operation.
553
+ * @param ioPriority - the I/O priority of the request
554
+ * @param cancellable - optional #GCancellable object,
555
+ * @param callback - a #GAsyncReadyCallback
556
+ * @param userData - the data to pass to callback function
557
+ */
49
558
  findEnclosingMountAsync(ioPriority: number, cancellable?: Cancellable | null, callback?: (...args: unknown[]) => unknown | null, userData?: number | null): void;
559
+ /**
560
+ * Finishes an asynchronous find mount request.
561
+ * See g_file_find_enclosing_mount_async().
562
+ * @param res - a #GAsyncResult
563
+ */
50
564
  findEnclosingMountFinish(res: AsyncResult): Mount;
565
+ /**
566
+ * Gets the base name (the last component of the path) for a given #GFile.
567
+ *
568
+ * If called for the top level of a system (such as the filesystem root
569
+ * or a uri like sftp://host/) it will return a single directory separator
570
+ * (and on Windows, possibly a drive letter).
571
+ *
572
+ * The base name is a byte string (not UTF-8). It has no defined encoding
573
+ * or rules other than it may not contain zero bytes. If you want to use
574
+ * filenames in a user interface you should use the display name that you
575
+ * can get by requesting the %G_FILE_ATTRIBUTE_STANDARD_DISPLAY_NAME
576
+ * attribute with g_file_query_info().
577
+ *
578
+ * This call does no blocking I/O.
579
+ */
51
580
  getBasename(): string | null;
581
+ /**
582
+ * Gets a child of `file` with basename equal to @name.
583
+ *
584
+ * Note that the file with that specific name might not exist, but
585
+ * you can still have a #GFile that points to it. You can use this
586
+ * for instance to create that file.
587
+ *
588
+ * This call does no blocking I/O.
589
+ * @param name - string containing the child's basename
590
+ */
52
591
  getChild(name: string): File;
592
+ /**
593
+ * Gets the child of `file` for a given `display_name` (i.e. a UTF-8
594
+ * version of the name). If this function fails, it returns %NULL
595
+ * and `error` will be set. This is very useful when constructing a
596
+ * #GFile for a new file and the user entered the filename in the
597
+ * user interface, for instance when you select a directory and
598
+ * type a filename in the file selector.
599
+ *
600
+ * This call does no blocking I/O.
601
+ * @param displayName - string to a possible child
602
+ */
53
603
  getChildForDisplayName(displayName: string): File;
604
+ /**
605
+ * Gets the parent directory for the @file.
606
+ * If the `file` represents the root directory of the
607
+ * file system, then %NULL will be returned.
608
+ *
609
+ * This call does no blocking I/O.
610
+ */
54
611
  getParent(): File | null;
612
+ /**
613
+ * Gets the parse name of the @file.
614
+ * A parse name is a UTF-8 string that describes the
615
+ * file such that one can get the #GFile back using
616
+ * g_file_parse_name().
617
+ *
618
+ * This is generally used to show the #GFile as a nice
619
+ * full-pathname kind of string in a user interface,
620
+ * like in a location entry.
621
+ *
622
+ * For local files with names that can safely be converted
623
+ * to UTF-8 the pathname is used, otherwise the IRI is used
624
+ * (a form of URI that allows UTF-8 characters unescaped).
625
+ *
626
+ * This call does no blocking I/O.
627
+ */
55
628
  getParseName(): string;
629
+ /**
630
+ * Gets the local pathname for #GFile, if one exists. If non-%NULL, this is
631
+ * guaranteed to be an absolute, canonical path. It might contain symlinks.
632
+ *
633
+ * This call does no blocking I/O.
634
+ */
56
635
  getPath(): string | null;
636
+ /**
637
+ * Gets the path for `descendant` relative to @parent.
638
+ *
639
+ * This call does no blocking I/O.
640
+ * @param descendant - input #GFile
641
+ */
57
642
  getRelativePath(descendant: File): string | null;
643
+ /**
644
+ * Gets the URI for the @file.
645
+ *
646
+ * This call does no blocking I/O.
647
+ */
58
648
  getUri(): string;
649
+ /**
650
+ * Gets the URI scheme for a #GFile.
651
+ * RFC 3986 decodes the scheme as:
652
+ * |[
653
+ * URI = scheme ":" hier-part [ "?" query ] [ "#" fragment ]
654
+ * ]|
655
+ * Common schemes include "file", "http", "ftp", etc.
656
+ *
657
+ * The scheme can be different from the one used to construct the #GFile,
658
+ * in that it might be replaced with one that is logically equivalent to the #GFile.
659
+ *
660
+ * This call does no blocking I/O.
661
+ */
59
662
  getUriScheme(): string | null;
663
+ /**
664
+ * Checks if `file` has a parent, and optionally, if it is @parent.
665
+ *
666
+ * If `parent` is %NULL then this function returns %TRUE if `file` has any
667
+ * parent at all. If `parent` is non-%NULL then %TRUE is only returned
668
+ * if `file` is an immediate child of @parent.
669
+ * @param parent - the parent to check for, or %NULL
670
+ */
60
671
  hasParent(parent?: File | null): boolean;
672
+ /**
673
+ * Checks whether `file` has the prefix specified by @prefix.
674
+ *
675
+ * In other words, if the names of initial elements of @file's
676
+ * pathname match @prefix. Only full pathname elements are matched,
677
+ * so a path like /foo is not considered a prefix of /foobar, only
678
+ * of /foo/bar.
679
+ *
680
+ * A #GFile is not a prefix of itself. If you want to check for
681
+ * equality, use g_file_equal().
682
+ *
683
+ * This call does no I/O, as it works purely on names. As such it can
684
+ * sometimes return %FALSE even if `file` is inside a `prefix` (from a
685
+ * filesystem point of view), because the prefix of `file` is an alias
686
+ * of @prefix.
687
+ * @param prefix - input #GFile
688
+ */
61
689
  hasPrefix(prefix: File): boolean;
690
+ /**
691
+ * Checks to see if a #GFile has a given URI scheme.
692
+ *
693
+ * This call does no blocking I/O.
694
+ * @param uriScheme - a string containing a URI scheme
695
+ */
62
696
  hasUriScheme(uriScheme: string): boolean;
697
+ /**
698
+ * Creates a hash value for a #GFile.
699
+ *
700
+ * This call does no blocking I/O.
701
+ */
63
702
  hash(): number;
703
+ /**
704
+ * Checks to see if a file is native to the platform.
705
+ *
706
+ * A native file is one expressed in the platform-native filename format,
707
+ * e.g. "C:\Windows" or "/usr/bin/". This does not mean the file is local,
708
+ * as it might be on a locally mounted remote filesystem.
709
+ *
710
+ * On some systems non-native files may be available using the native
711
+ * filesystem via a userspace filesystem (FUSE), in these cases this call
712
+ * will return %FALSE, but g_file_get_path() will still return a native path.
713
+ *
714
+ * This call does no blocking I/O.
715
+ */
64
716
  isNative(): boolean;
717
+ /**
718
+ * Loads the contents of `file` and returns it as #GBytes.
719
+ *
720
+ * If `file` is a resource:// based URI, the resulting bytes will reference the
721
+ * embedded resource instead of a copy. Otherwise, this is equivalent to calling
722
+ * g_file_load_contents() and g_bytes_new_take().
723
+ *
724
+ * For resources, `etag_out` will be set to %NULL.
725
+ *
726
+ * The data contained in the resulting #GBytes is always zero-terminated, but
727
+ * this is not included in the #GBytes length. The resulting #GBytes should be
728
+ * freed with g_bytes_unref() when no longer in use.
729
+ * @param cancellable - a #GCancellable or %NULL
730
+ * @param etagOut - a location to place the current
731
+ */
65
732
  loadBytes(cancellable?: Cancellable | null, etagOut?: Ref<string> | null): GLib.Bytes;
733
+ /**
734
+ * Asynchronously loads the contents of `file` as #GBytes.
735
+ *
736
+ * If `file` is a resource:// based URI, the resulting bytes will reference the
737
+ * embedded resource instead of a copy. Otherwise, this is equivalent to calling
738
+ * g_file_load_contents_async() and g_bytes_new_take().
739
+ *
740
+ * `callback` should call g_file_load_bytes_finish() to get the result of this
741
+ * asynchronous operation.
742
+ *
743
+ * See g_file_load_bytes() for more information.
744
+ * @param cancellable - a #GCancellable or %NULL
745
+ * @param callback - a #GAsyncReadyCallback
746
+ * @param userData - the data to pass to callback function
747
+ */
66
748
  loadBytesAsync(cancellable?: Cancellable | null, callback?: (...args: unknown[]) => unknown | null, userData?: number | null): void;
749
+ /**
750
+ * Completes an asynchronous request to g_file_load_bytes_async().
751
+ *
752
+ * For resources, `etag_out` will be set to %NULL.
753
+ *
754
+ * The data contained in the resulting #GBytes is always zero-terminated, but
755
+ * this is not included in the #GBytes length. The resulting #GBytes should be
756
+ * freed with g_bytes_unref() when no longer in use.
757
+ *
758
+ * See g_file_load_bytes() for more information.
759
+ * @param result - a #GAsyncResult provided to the callback
760
+ * @param etagOut - a location to place the current
761
+ */
67
762
  loadBytesFinish(result: AsyncResult, etagOut?: Ref<string> | null): GLib.Bytes;
763
+ /**
764
+ * Loads the content of the file into memory. The data is always
765
+ * zero-terminated, but this is not included in the resultant @length.
766
+ * The returned `contents` should be freed with g_free() when no longer
767
+ * needed.
768
+ *
769
+ * If `cancellable` is not %NULL, then the operation can be cancelled by
770
+ * triggering the cancellable object from another thread. If the operation
771
+ * was cancelled, the error %G_IO_ERROR_CANCELLED will be returned.
772
+ * @param cancellable - optional #GCancellable object, %NULL to ignore
773
+ * @param contents - a location to place the contents of the file
774
+ * @param length - a location to place the length of the contents of the file,
775
+ * @param etagOut - a location to place the current entity tag for the file,
776
+ */
68
777
  loadContents(contents: Ref<number[]>, cancellable?: Cancellable | null, length?: Ref<number> | null, etagOut?: Ref<string> | null): boolean;
778
+ /**
779
+ * Starts an asynchronous load of the @file's contents.
780
+ *
781
+ * For more details, see g_file_load_contents() which is
782
+ * the synchronous version of this call.
783
+ *
784
+ * When the load operation has completed, `callback` will be called
785
+ * with `user` data. To finish the operation, call
786
+ * g_file_load_contents_finish() with the #GAsyncResult returned by
787
+ * the @callback.
788
+ *
789
+ * If `cancellable` is not %NULL, then the operation can be cancelled by
790
+ * triggering the cancellable object from another thread. If the operation
791
+ * was cancelled, the error %G_IO_ERROR_CANCELLED will be returned.
792
+ * @param cancellable - optional #GCancellable object, %NULL to ignore
793
+ * @param callback - a #GAsyncReadyCallback to call when the request is satisfied
794
+ * @param userData - the data to pass to callback function
795
+ */
69
796
  loadContentsAsync(cancellable?: Cancellable | null, callback?: (...args: unknown[]) => unknown | null, userData?: number | null): void;
797
+ /**
798
+ * Finishes an asynchronous load of the @file's contents.
799
+ * The contents are placed in @contents, and `length` is set to the
800
+ * size of the `contents` string. The `contents` should be freed with
801
+ * g_free() when no longer needed. If `etag_out` is present, it will be
802
+ * set to the new entity tag for the @file.
803
+ * @param res - a #GAsyncResult
804
+ * @param contents - a location to place the contents of the file
805
+ * @param length - a location to place the length of the contents of the file,
806
+ * @param etagOut - a location to place the current entity tag for the file,
807
+ */
70
808
  loadContentsFinish(res: AsyncResult, contents: Ref<number[]>, length?: Ref<number> | null, etagOut?: Ref<string> | null): boolean;
809
+ /**
810
+ * Finishes an asynchronous partial load operation that was started
811
+ * with g_file_load_partial_contents_async(). The data is always
812
+ * zero-terminated, but this is not included in the resultant @length.
813
+ * The returned `contents` should be freed with g_free() when no longer
814
+ * needed.
815
+ * @param res - a #GAsyncResult
816
+ * @param contents - a location to place the contents of the file
817
+ * @param length - a location to place the length of the contents of the file,
818
+ * @param etagOut - a location to place the current entity tag for the file,
819
+ */
71
820
  loadPartialContentsFinish(res: AsyncResult, contents: Ref<number[]>, length?: Ref<number> | null, etagOut?: Ref<string> | null): boolean;
821
+ /**
822
+ * Creates a directory.
823
+ *
824
+ * Note that this will only create a child directory
825
+ * of the immediate parent directory of the path or URI given by the #GFile.
826
+ * To recursively create directories, see g_file_make_directory_with_parents().
827
+ *
828
+ * This function will fail if the parent directory does not exist, setting
829
+ * `error` to %G_IO_ERROR_NOT_FOUND. If the file system doesn't support
830
+ * creating directories, this function will fail, setting `error` to
831
+ * %G_IO_ERROR_NOT_SUPPORTED. If the directory already exists,
832
+ * [error@Gio.IOErrorEnum.EXISTS] will be returned.
833
+ *
834
+ * For a local #GFile the newly created directory will have the default
835
+ * (current) ownership and permissions of the current process.
836
+ *
837
+ * If `cancellable` is not %NULL, then the operation can be cancelled by
838
+ * triggering the cancellable object from another thread. If the operation
839
+ * was cancelled, the error %G_IO_ERROR_CANCELLED will be returned.
840
+ * @param cancellable - optional #GCancellable object,
841
+ */
72
842
  makeDirectory(cancellable?: Cancellable | null): boolean;
843
+ /**
844
+ * Asynchronously creates a directory.
845
+ * @param ioPriority - the I/O priority of the request
846
+ * @param cancellable - optional #GCancellable object,
847
+ * @param callback - a #GAsyncReadyCallback to call
848
+ * @param userData - the data to pass to callback function
849
+ */
73
850
  makeDirectoryAsync(ioPriority: number, cancellable?: Cancellable | null, callback?: (...args: unknown[]) => unknown | null, userData?: number | null): void;
851
+ /**
852
+ * Finishes an asynchronous directory creation, started with
853
+ * g_file_make_directory_async().
854
+ * @param result - a #GAsyncResult
855
+ */
74
856
  makeDirectoryFinish(result: AsyncResult): boolean;
857
+ /**
858
+ * Creates a directory and any parent directories that may not
859
+ * exist similar to 'mkdir -p'. If the file system does not support
860
+ * creating directories, this function will fail, setting `error` to
861
+ * %G_IO_ERROR_NOT_SUPPORTED. If the directory itself already exists,
862
+ * this function will fail setting `error` to %G_IO_ERROR_EXISTS, unlike
863
+ * the similar g_mkdir_with_parents().
864
+ *
865
+ * For a local #GFile the newly created directories will have the default
866
+ * (current) ownership and permissions of the current process.
867
+ *
868
+ * If `cancellable` is not %NULL, then the operation can be cancelled by
869
+ * triggering the cancellable object from another thread. If the operation
870
+ * was cancelled, the error %G_IO_ERROR_CANCELLED will be returned.
871
+ * @param cancellable - optional #GCancellable object,
872
+ */
75
873
  makeDirectoryWithParents(cancellable?: Cancellable | null): boolean;
874
+ /**
875
+ * Creates a symbolic link named `file` which contains the string
876
+ * @symlink_value.
877
+ *
878
+ * If `cancellable` is not %NULL, then the operation can be cancelled by
879
+ * triggering the cancellable object from another thread. If the operation
880
+ * was cancelled, the error %G_IO_ERROR_CANCELLED will be returned.
881
+ * @param symlinkValue - a string with the path for the target
882
+ * @param cancellable - optional #GCancellable object,
883
+ */
76
884
  makeSymbolicLink(symlinkValue: string, cancellable?: Cancellable | null): boolean;
885
+ /**
886
+ * Asynchronously creates a symbolic link named `file` which contains the
887
+ * string @symlink_value.
888
+ * @param symlinkValue - a string with the path for the target
889
+ * @param ioPriority - the I/O priority of the request
890
+ * @param cancellable - optional #GCancellable object,
891
+ * @param callback - a #GAsyncReadyCallback to call
892
+ * @param userData - the data to pass to callback function
893
+ */
77
894
  makeSymbolicLinkAsync(symlinkValue: string, ioPriority: number, cancellable?: Cancellable | null, callback?: (...args: unknown[]) => unknown | null, userData?: number | null): void;
895
+ /**
896
+ * Finishes an asynchronous symbolic link creation, started with
897
+ * g_file_make_symbolic_link_async().
898
+ * @param result - a #GAsyncResult
899
+ */
78
900
  makeSymbolicLinkFinish(result: AsyncResult): boolean;
901
+ /**
902
+ * Recursively measures the disk usage of @file.
903
+ *
904
+ * This is essentially an analog of the 'du' command, but it also
905
+ * reports the number of directories and non-directory files encountered
906
+ * (including things like symbolic links).
907
+ *
908
+ * By default, errors are only reported against the toplevel file
909
+ * itself. Errors found while recursing are silently ignored, unless
910
+ * %G_FILE_MEASURE_REPORT_ANY_ERROR is given in @flags.
911
+ *
912
+ * The returned size, @disk_usage, is in bytes and should be formatted
913
+ * with g_format_size() in order to get something reasonable for showing
914
+ * in a user interface.
915
+ *
916
+ * `progress_callback` and `progress_data` can be given to request
917
+ * periodic progress updates while scanning. See the documentation for
918
+ * #GFileMeasureProgressCallback for information about when and how the
919
+ * callback will be invoked.
920
+ * @param flags - #GFileMeasureFlags
921
+ * @param cancellable - optional #GCancellable
922
+ * @param progressCallback - a #GFileMeasureProgressCallback
923
+ * @param progressData - user_data for @progress_callback
924
+ * @param diskUsage - the number of bytes of disk space used
925
+ * @param numDirs - the number of directories encountered
926
+ * @param numFiles - the number of non-directories encountered
927
+ */
79
928
  measureDiskUsage(flags: FileMeasureFlags, cancellable?: Cancellable | null, progressCallback?: (...args: unknown[]) => unknown | null, progressData?: number | null, diskUsage?: Ref<number> | null, numDirs?: Ref<number> | null, numFiles?: Ref<number> | null): boolean;
929
+ /**
930
+ * Collects the results from an earlier call to
931
+ * g_file_measure_disk_usage_async(). See g_file_measure_disk_usage() for
932
+ * more information.
933
+ * @param result - the #GAsyncResult passed to your #GAsyncReadyCallback
934
+ * @param diskUsage - the number of bytes of disk space used
935
+ * @param numDirs - the number of directories encountered
936
+ * @param numFiles - the number of non-directories encountered
937
+ */
80
938
  measureDiskUsageFinish(result: AsyncResult, diskUsage?: Ref<number> | null, numDirs?: Ref<number> | null, numFiles?: Ref<number> | null): boolean;
939
+ /**
940
+ * Obtains a file or directory monitor for the given file,
941
+ * depending on the type of the file.
942
+ *
943
+ * If `cancellable` is not %NULL, then the operation can be cancelled by
944
+ * triggering the cancellable object from another thread. If the operation
945
+ * was cancelled, the error %G_IO_ERROR_CANCELLED will be returned.
946
+ * @param flags - a set of #GFileMonitorFlags
947
+ * @param cancellable - optional #GCancellable object,
948
+ */
81
949
  monitor(flags: FileMonitorFlags, cancellable?: Cancellable | null): FileMonitor;
950
+ /**
951
+ * Obtains a directory monitor for the given file.
952
+ * This may fail if directory monitoring is not supported.
953
+ *
954
+ * If `cancellable` is not %NULL, then the operation can be cancelled by
955
+ * triggering the cancellable object from another thread. If the operation
956
+ * was cancelled, the error %G_IO_ERROR_CANCELLED will be returned.
957
+ *
958
+ * It does not make sense for `flags` to contain
959
+ * %G_FILE_MONITOR_WATCH_HARD_LINKS, since hard links can not be made to
960
+ * directories. It is not possible to monitor all the files in a
961
+ * directory for changes made via hard links; if you want to do this then
962
+ * you must register individual watches with g_file_monitor().
963
+ * @param flags - a set of #GFileMonitorFlags
964
+ * @param cancellable - optional #GCancellable object,
965
+ */
82
966
  monitorDirectory(flags: FileMonitorFlags, cancellable?: Cancellable | null): FileMonitor;
967
+ /**
968
+ * Obtains a file monitor for the given file. If no file notification
969
+ * mechanism exists, then regular polling of the file is used.
970
+ *
971
+ * If `cancellable` is not %NULL, then the operation can be cancelled by
972
+ * triggering the cancellable object from another thread. If the operation
973
+ * was cancelled, the error %G_IO_ERROR_CANCELLED will be returned.
974
+ *
975
+ * If `flags` contains %G_FILE_MONITOR_WATCH_HARD_LINKS then the monitor
976
+ * will also attempt to report changes made to the file via another
977
+ * filename (ie, a hard link). Without this flag, you can only rely on
978
+ * changes made through the filename contained in `file` to be
979
+ * reported. Using this flag may result in an increase in resource
980
+ * usage, and may not have any effect depending on the #GFileMonitor
981
+ * backend and/or filesystem type.
982
+ * @param flags - a set of #GFileMonitorFlags
983
+ * @param cancellable - optional #GCancellable object,
984
+ */
83
985
  monitorFile(flags: FileMonitorFlags, cancellable?: Cancellable | null): FileMonitor;
986
+ /**
987
+ * Starts a @mount_operation, mounting the volume that contains
988
+ * the file @location.
989
+ *
990
+ * When this operation has completed, `callback` will be called with
991
+ * `user_user` data, and the operation can be finalized with
992
+ * g_file_mount_enclosing_volume_finish().
993
+ *
994
+ * If `cancellable` is not %NULL, then the operation can be cancelled by
995
+ * triggering the cancellable object from another thread. If the operation
996
+ * was cancelled, the error %G_IO_ERROR_CANCELLED will be returned.
997
+ * @param flags - flags affecting the operation
998
+ * @param mountOperation - a #GMountOperation
999
+ * @param cancellable - optional #GCancellable object,
1000
+ * @param callback - a #GAsyncReadyCallback to call
1001
+ * @param userData - the data to pass to callback function
1002
+ */
84
1003
  mountEnclosingVolume(flags: MountMountFlags, mountOperation?: MountOperation | null, cancellable?: Cancellable | null, callback?: (...args: unknown[]) => unknown | null, userData?: number | null): void;
1004
+ /**
1005
+ * Finishes a mount operation started by g_file_mount_enclosing_volume().
1006
+ * @param result - a #GAsyncResult
1007
+ */
85
1008
  mountEnclosingVolumeFinish(result: AsyncResult): boolean;
1009
+ /**
1010
+ * Mounts a file of type G_FILE_TYPE_MOUNTABLE.
1011
+ * Using @mount_operation, you can request callbacks when, for instance,
1012
+ * passwords are needed during authentication.
1013
+ *
1014
+ * If `cancellable` is not %NULL, then the operation can be cancelled by
1015
+ * triggering the cancellable object from another thread. If the operation
1016
+ * was cancelled, the error %G_IO_ERROR_CANCELLED will be returned.
1017
+ *
1018
+ * When the operation is finished, `callback` will be called.
1019
+ * You can then call g_file_mount_mountable_finish() to get
1020
+ * the result of the operation.
1021
+ * @param flags - flags affecting the operation
1022
+ * @param mountOperation - a #GMountOperation,
1023
+ * @param cancellable - optional #GCancellable object,
1024
+ * @param callback - a #GAsyncReadyCallback
1025
+ * @param userData - the data to pass to callback function
1026
+ */
86
1027
  mountMountable(flags: MountMountFlags, mountOperation?: MountOperation | null, cancellable?: Cancellable | null, callback?: (...args: unknown[]) => unknown | null, userData?: number | null): void;
1028
+ /**
1029
+ * Finishes a mount operation. See g_file_mount_mountable() for details.
1030
+ *
1031
+ * Finish an asynchronous mount operation that was started
1032
+ * with g_file_mount_mountable().
1033
+ * @param result - a #GAsyncResult
1034
+ */
87
1035
  mountMountableFinish(result: AsyncResult): File;
1036
+ /**
1037
+ * Tries to move the file or directory `source` to the location specified
1038
+ * by @destination. If native move operations are supported then this is
1039
+ * used, otherwise a copy + delete fallback is used. The native
1040
+ * implementation may support moving directories (for instance on moves
1041
+ * inside the same filesystem), but the fallback code does not.
1042
+ *
1043
+ * If the flag %G_FILE_COPY_OVERWRITE is specified an already
1044
+ * existing `destination` file is overwritten.
1045
+ *
1046
+ * If `cancellable` is not %NULL, then the operation can be cancelled by
1047
+ * triggering the cancellable object from another thread. If the operation
1048
+ * was cancelled, the error %G_IO_ERROR_CANCELLED will be returned.
1049
+ *
1050
+ * If `progress_callback` is not %NULL, then the operation can be monitored
1051
+ * by setting this to a #GFileProgressCallback function.
1052
+ * `progress_callback_data` will be passed to this function. It is
1053
+ * guaranteed that this callback will be called after all data has been
1054
+ * transferred with the total number of bytes copied during the operation.
1055
+ *
1056
+ * If the `source` file does not exist, then the %G_IO_ERROR_NOT_FOUND
1057
+ * error is returned, independent on the status of the @destination.
1058
+ *
1059
+ * If %G_FILE_COPY_OVERWRITE is not specified and the target exists,
1060
+ * then the error %G_IO_ERROR_EXISTS is returned.
1061
+ *
1062
+ * If trying to overwrite a file over a directory, the %G_IO_ERROR_IS_DIRECTORY
1063
+ * error is returned. If trying to overwrite a directory with a directory the
1064
+ * %G_IO_ERROR_WOULD_MERGE error is returned.
1065
+ *
1066
+ * If the source is a directory and the target does not exist, or
1067
+ * %G_FILE_COPY_OVERWRITE is specified and the target is a file, then
1068
+ * the %G_IO_ERROR_WOULD_RECURSE error may be returned (if the native
1069
+ * move operation isn't available).
1070
+ * @param destination - #GFile pointing to the destination location
1071
+ * @param flags - set of #GFileCopyFlags
1072
+ * @param cancellable - optional #GCancellable object,
1073
+ * @param progressCallback - #GFileProgressCallback
1074
+ * @param progressCallbackData - gpointer to user data for
1075
+ */
88
1076
  move(destination: File, flags: FileCopyFlags, cancellable?: Cancellable | null, progressCallback?: (...args: unknown[]) => unknown | null, progressCallbackData?: number | null): boolean;
1077
+ /**
1078
+ * Asynchronously moves a file `source` to the location of @destination. For details of the behaviour, see g_file_move().
1079
+ *
1080
+ * If `progress_callback` is not %NULL, then that function that will be called
1081
+ * just like in g_file_move(). The callback will run in the default main context
1082
+ * of the thread calling g_file_move_async() — the same context as `callback` is
1083
+ * run in.
1084
+ *
1085
+ * When the operation is finished, `callback` will be called. You can then call
1086
+ * g_file_move_finish() to get the result of the operation.
1087
+ * @param destination - #GFile pointing to the destination location
1088
+ * @param flags - set of #GFileCopyFlags
1089
+ * @param ioPriority - the I/O priority of the request
1090
+ * @param cancellable - optional #GCancellable object,
1091
+ * @param progressCallback - #GFileProgressCallback function for updates
1092
+ * @param progressCallbackData - gpointer to user data for the callback function
1093
+ * @param callback - a #GAsyncReadyCallback
1094
+ * @param userData - the data to pass to callback function
1095
+ */
89
1096
  moveAsync(destination: File, flags: FileCopyFlags, ioPriority: number, cancellable?: Cancellable | null, progressCallback?: (...args: unknown[]) => unknown | null, progressCallbackData?: number | null, callback?: (...args: unknown[]) => unknown | null, userData?: number | null): void;
1097
+ /**
1098
+ * Version of [method@Gio.File.move_async] using closures instead of callbacks for
1099
+ * easier binding in other languages.
1100
+ * @param destination - destination [type@Gio.File]
1101
+ * @param flags - set of [flags@Gio.FileCopyFlags]
1102
+ * @param ioPriority - the I/O priority of the request
1103
+ * @param cancellable - optional [class@Gio.Cancellable] object,
1104
+ * @param progressCallbackClosure - [type@GObject.Closure] to invoke with progress
1105
+ * @param readyCallbackClosure - [type@GObject.Closure] to invoke when the request is satisfied
1106
+ */
90
1107
  moveAsyncWithClosures(destination: File, flags: FileCopyFlags, ioPriority: number, readyCallbackClosure: GObject.Closure, cancellable?: Cancellable | null, progressCallbackClosure?: GObject.Closure | null): void;
1108
+ /**
1109
+ * Finishes an asynchronous file movement, started with
1110
+ * g_file_move_async().
1111
+ * @param result - a #GAsyncResult
1112
+ */
91
1113
  moveFinish(result: AsyncResult): boolean;
1114
+ /**
1115
+ * Opens an existing file for reading and writing. The result is
1116
+ * a #GFileIOStream that can be used to read and write the contents
1117
+ * of the file.
1118
+ *
1119
+ * If `cancellable` is not %NULL, then the operation can be cancelled
1120
+ * by triggering the cancellable object from another thread. If the
1121
+ * operation was cancelled, the error %G_IO_ERROR_CANCELLED will be
1122
+ * returned.
1123
+ *
1124
+ * If the file does not exist, the %G_IO_ERROR_NOT_FOUND error will
1125
+ * be returned. If the file is a directory, the %G_IO_ERROR_IS_DIRECTORY
1126
+ * error will be returned. Other errors are possible too, and depend on
1127
+ * what kind of filesystem the file is on. Note that in many non-local
1128
+ * file cases read and write streams are not supported, so make sure you
1129
+ * really need to do read and write streaming, rather than just opening
1130
+ * for reading or writing.
1131
+ * @param cancellable - a #GCancellable
1132
+ */
92
1133
  openReadwrite(cancellable?: Cancellable | null): FileIOStream;
1134
+ /**
1135
+ * Asynchronously opens `file` for reading and writing.
1136
+ *
1137
+ * For more details, see g_file_open_readwrite() which is
1138
+ * the synchronous version of this call.
1139
+ *
1140
+ * When the operation is finished, `callback` will be called.
1141
+ * You can then call g_file_open_readwrite_finish() to get
1142
+ * the result of the operation.
1143
+ * @param ioPriority - the I/O priority of the request
1144
+ * @param cancellable - optional #GCancellable object,
1145
+ * @param callback - a #GAsyncReadyCallback
1146
+ * @param userData - the data to pass to callback function
1147
+ */
93
1148
  openReadwriteAsync(ioPriority: number, cancellable?: Cancellable | null, callback?: (...args: unknown[]) => unknown | null, userData?: number | null): void;
1149
+ /**
1150
+ * Finishes an asynchronous file read operation started with
1151
+ * g_file_open_readwrite_async().
1152
+ * @param res - a #GAsyncResult
1153
+ */
94
1154
  openReadwriteFinish(res: AsyncResult): FileIOStream;
1155
+ /**
1156
+ * Exactly like g_file_get_path(), but caches the result via
1157
+ * g_object_set_qdata_full(). This is useful for example in C
1158
+ * applications which mix `g_file_*` APIs with native ones. It
1159
+ * also avoids an extra duplicated string when possible, so will be
1160
+ * generally more efficient.
1161
+ *
1162
+ * This call does no blocking I/O.
1163
+ */
95
1164
  peekPath(): string | null;
1165
+ /**
1166
+ * Polls a file of type %G_FILE_TYPE_MOUNTABLE.
1167
+ *
1168
+ * If `cancellable` is not %NULL, then the operation can be cancelled by
1169
+ * triggering the cancellable object from another thread. If the operation
1170
+ * was cancelled, the error %G_IO_ERROR_CANCELLED will be returned.
1171
+ *
1172
+ * When the operation is finished, `callback` will be called.
1173
+ * You can then call g_file_mount_mountable_finish() to get
1174
+ * the result of the operation.
1175
+ * @param cancellable - optional #GCancellable object, %NULL to ignore
1176
+ * @param callback - a #GAsyncReadyCallback to call
1177
+ * @param userData - the data to pass to callback function
1178
+ */
96
1179
  pollMountable(cancellable?: Cancellable | null, callback?: (...args: unknown[]) => unknown | null, userData?: number | null): void;
1180
+ /**
1181
+ * Finishes a poll operation. See g_file_poll_mountable() for details.
1182
+ *
1183
+ * Finish an asynchronous poll operation that was polled
1184
+ * with g_file_poll_mountable().
1185
+ * @param result - a #GAsyncResult
1186
+ */
97
1187
  pollMountableFinish(result: AsyncResult): boolean;
1188
+ /**
1189
+ * Returns the #GAppInfo that is registered as the default
1190
+ * application to handle the file specified by @file.
1191
+ *
1192
+ * If `cancellable` is not %NULL, then the operation can be cancelled by
1193
+ * triggering the cancellable object from another thread. If the operation
1194
+ * was cancelled, the error %G_IO_ERROR_CANCELLED will be returned.
1195
+ * @param cancellable - optional #GCancellable object, %NULL to ignore
1196
+ */
98
1197
  queryDefaultHandler(cancellable?: Cancellable | null): AppInfo;
1198
+ /**
1199
+ * Async version of g_file_query_default_handler().
1200
+ * @param ioPriority - the I/O priority of the request
1201
+ * @param cancellable - optional #GCancellable object, %NULL to ignore
1202
+ * @param callback - a #GAsyncReadyCallback to call when the request is done
1203
+ * @param userData - data to pass to @callback
1204
+ */
99
1205
  queryDefaultHandlerAsync(ioPriority: number, cancellable?: Cancellable | null, callback?: (...args: unknown[]) => unknown | null, userData?: number | null): void;
1206
+ /**
1207
+ * Finishes a g_file_query_default_handler_async() operation.
1208
+ * @param result - a #GAsyncResult
1209
+ */
100
1210
  queryDefaultHandlerFinish(result: AsyncResult): AppInfo;
1211
+ /**
1212
+ * Utility function to check if a particular file exists.
1213
+ *
1214
+ * The fallback implementation of this API is using [method@Gio.File.query_info]
1215
+ * and therefore may do blocking I/O. To asynchronously query the existence
1216
+ * of a file, use [method@Gio.File.query_info_async].
1217
+ *
1218
+ * Note that in many cases it is [racy to first check for file existence](https://en.wikipedia.org/wiki/Time_of_check_to_time_of_use)
1219
+ * and then execute something based on the outcome of that, because the
1220
+ * file might have been created or removed in between the operations. The
1221
+ * general approach to handling that is to not check, but just do the
1222
+ * operation and handle the errors as they come.
1223
+ *
1224
+ * As an example of race-free checking, take the case of reading a file,
1225
+ * and if it doesn't exist, creating it. There are two racy versions: read
1226
+ * it, and on error create it; and: check if it exists, if not create it.
1227
+ * These can both result in two processes creating the file (with perhaps
1228
+ * a partially written file as the result). The correct approach is to
1229
+ * always try to create the file with g_file_create() which will either
1230
+ * atomically create the file or fail with a %G_IO_ERROR_EXISTS error.
1231
+ *
1232
+ * However, in many cases an existence check is useful in a user interface,
1233
+ * for instance to make a menu item sensitive/insensitive, so that you don't
1234
+ * have to fool users that something is possible and then just show an error
1235
+ * dialog. If you do this, you should make sure to also handle the errors
1236
+ * that can happen due to races when you execute the operation.
1237
+ * @param cancellable - optional #GCancellable object,
1238
+ */
101
1239
  queryExists(cancellable?: Cancellable | null): boolean;
1240
+ /**
1241
+ * Utility function to inspect the #GFileType of a file. This is
1242
+ * implemented using g_file_query_info() and as such does blocking I/O.
1243
+ *
1244
+ * The primary use case of this method is to check if a file is
1245
+ * a regular file, directory, or symlink.
1246
+ * @param flags - a set of #GFileQueryInfoFlags passed to g_file_query_info()
1247
+ * @param cancellable - optional #GCancellable object,
1248
+ */
102
1249
  queryFileType(flags: FileQueryInfoFlags, cancellable?: Cancellable | null): FileType;
1250
+ /**
1251
+ * Similar to g_file_query_info(), but obtains information
1252
+ * about the filesystem the `file` is on, rather than the file itself.
1253
+ * For instance the amount of space available and the type of
1254
+ * the filesystem.
1255
+ *
1256
+ * The `attributes` value is a string that specifies the attributes
1257
+ * that should be gathered. It is not an error if it's not possible
1258
+ * to read a particular requested attribute from a file - it just
1259
+ * won't be set. `attributes` should be a comma-separated list of
1260
+ * attributes or attribute wildcards. The wildcard "*" means all
1261
+ * attributes, and a wildcard like "filesystem::*" means all attributes
1262
+ * in the filesystem namespace. The standard namespace for filesystem
1263
+ * attributes is "filesystem". Common attributes of interest are
1264
+ * %G_FILE_ATTRIBUTE_FILESYSTEM_SIZE (the total size of the filesystem
1265
+ * in bytes), %G_FILE_ATTRIBUTE_FILESYSTEM_FREE (number of bytes available),
1266
+ * and %G_FILE_ATTRIBUTE_FILESYSTEM_TYPE (type of the filesystem).
1267
+ *
1268
+ * If `cancellable` is not %NULL, then the operation can be cancelled
1269
+ * by triggering the cancellable object from another thread. If the
1270
+ * operation was cancelled, the error %G_IO_ERROR_CANCELLED will be
1271
+ * returned.
1272
+ *
1273
+ * If the file does not exist, the %G_IO_ERROR_NOT_FOUND error will
1274
+ * be returned. Other errors are possible too, and depend on what
1275
+ * kind of filesystem the file is on.
1276
+ * @param attributes - an attribute query string
1277
+ * @param cancellable - optional #GCancellable object,
1278
+ */
103
1279
  queryFilesystemInfo(attributes: string, cancellable?: Cancellable | null): FileInfo;
1280
+ /**
1281
+ * Asynchronously gets the requested information about the filesystem
1282
+ * that the specified `file` is on. The result is a #GFileInfo object
1283
+ * that contains key-value attributes (such as type or size for the
1284
+ * file).
1285
+ *
1286
+ * For more details, see g_file_query_filesystem_info() which is the
1287
+ * synchronous version of this call.
1288
+ *
1289
+ * When the operation is finished, `callback` will be called. You can
1290
+ * then call g_file_query_info_finish() to get the result of the
1291
+ * operation.
1292
+ * @param attributes - an attribute query string
1293
+ * @param ioPriority - the I/O priority of the request
1294
+ * @param cancellable - optional #GCancellable object,
1295
+ * @param callback - a #GAsyncReadyCallback
1296
+ * @param userData - the data to pass to callback function
1297
+ */
104
1298
  queryFilesystemInfoAsync(attributes: string, ioPriority: number, cancellable?: Cancellable | null, callback?: (...args: unknown[]) => unknown | null, userData?: number | null): void;
1299
+ /**
1300
+ * Finishes an asynchronous filesystem info query.
1301
+ * See g_file_query_filesystem_info_async().
1302
+ * @param res - a #GAsyncResult
1303
+ */
105
1304
  queryFilesystemInfoFinish(res: AsyncResult): FileInfo;
1305
+ /**
1306
+ * Gets the requested information about specified @file.
1307
+ *
1308
+ * The result is a [class@Gio.FileInfo] object that contains key-value
1309
+ * attributes (such as the type or size of the file).
1310
+ *
1311
+ * The `attributes` value is a string that specifies the file
1312
+ * attributes that should be gathered. It is not an error if
1313
+ * it’s not possible to read a particular requested attribute
1314
+ * from a file — it just won't be set. In particular this means that if a file
1315
+ * is inaccessible (due to being in a folder with restrictive permissions), for
1316
+ * example, you can expect the returned [class@Gio.FileInfo] to have very few
1317
+ * attributes set. You should check whether an attribute is set using
1318
+ * [method@Gio.FileInfo.has_attribute] before trying to retrieve its value.
1319
+ *
1320
+ * It is guaranteed that if any of the following attributes are listed in
1321
+ * @attributes, they will always be set in the returned [class@Gio.FileInfo],
1322
+ * even if the user doesn’t have permissions to access the file:
1323
+ *
1324
+ * - [const@Gio.FILE_ATTRIBUTE_STANDARD_NAME]
1325
+ * - [const@Gio.FILE_ATTRIBUTE_STANDARD_DISPLAY_NAME]
1326
+ *
1327
+ * `attributes` should be a comma-separated list of attributes or attribute
1328
+ * wildcards. The wildcard `"*"` means all attributes, and a wildcard like
1329
+ * `"standard::*"` means all attributes in the standard namespace.
1330
+ * An example attribute query might be `"standard::*,owner::user"`.
1331
+ * The standard attributes are available as defines, like
1332
+ * [const@Gio.FILE_ATTRIBUTE_STANDARD_NAME].
1333
+ *
1334
+ * If `cancellable` is not `NULL`, then the operation can be cancelled
1335
+ * by triggering the cancellable object from another thread. If the
1336
+ * operation was cancelled, the error [error@Gio.IOErrorEnum.CANCELLED] will be
1337
+ * returned.
1338
+ *
1339
+ * For symlinks, normally the information about the target of the
1340
+ * symlink is returned, rather than information about the symlink
1341
+ * itself. However if you pass [flags@Gio.FileQueryInfoFlags.NOFOLLOW_SYMLINKS]
1342
+ * in `flags` the information about the symlink itself will be returned.
1343
+ * Also, for symlinks that point to non-existing files the information
1344
+ * about the symlink itself will be returned.
1345
+ *
1346
+ * If the file does not exist, the [error@Gio.IOErrorEnum.NOT_FOUND] error will be
1347
+ * returned. Other errors are possible too, and depend on what kind of
1348
+ * file system the file is on.
1349
+ * @param attributes - an attribute query string
1350
+ * @param flags - flags to affect the query operation
1351
+ * @param cancellable - optional cancellable object
1352
+ */
106
1353
  queryInfo(attributes: string, flags: FileQueryInfoFlags, cancellable?: Cancellable | null): FileInfo;
1354
+ /**
1355
+ * Asynchronously gets the requested information about specified @file.
1356
+ * The result is a #GFileInfo object that contains key-value attributes
1357
+ * (such as type or size for the file).
1358
+ *
1359
+ * For more details, see g_file_query_info() which is the synchronous
1360
+ * version of this call.
1361
+ *
1362
+ * When the operation is finished, `callback` will be called. You can
1363
+ * then call g_file_query_info_finish() to get the result of the operation.
1364
+ * @param attributes - an attribute query string
1365
+ * @param flags - a set of #GFileQueryInfoFlags
1366
+ * @param ioPriority - the I/O priority of the request
1367
+ * @param cancellable - optional #GCancellable object,
1368
+ * @param callback - a #GAsyncReadyCallback
1369
+ * @param userData - the data to pass to callback function
1370
+ */
107
1371
  queryInfoAsync(attributes: string, flags: FileQueryInfoFlags, ioPriority: number, cancellable?: Cancellable | null, callback?: (...args: unknown[]) => unknown | null, userData?: number | null): void;
1372
+ /**
1373
+ * Finishes an asynchronous file info query.
1374
+ * See g_file_query_info_async().
1375
+ * @param res - a #GAsyncResult
1376
+ */
108
1377
  queryInfoFinish(res: AsyncResult): FileInfo;
1378
+ /**
1379
+ * Obtain the list of settable attributes for the file.
1380
+ *
1381
+ * Returns the type and full attribute name of all the attributes
1382
+ * that can be set on this file. This doesn't mean setting it will
1383
+ * always succeed though, you might get an access failure, or some
1384
+ * specific file may not support a specific attribute.
1385
+ *
1386
+ * If `cancellable` is not %NULL, then the operation can be cancelled by
1387
+ * triggering the cancellable object from another thread. If the operation
1388
+ * was cancelled, the error %G_IO_ERROR_CANCELLED will be returned.
1389
+ * @param cancellable - optional #GCancellable object,
1390
+ */
109
1391
  querySettableAttributes(cancellable?: Cancellable | null): FileAttributeInfoList;
1392
+ /**
1393
+ * Obtain the list of attribute namespaces where new attributes
1394
+ * can be created by a user. An example of this is extended
1395
+ * attributes (in the "xattr" namespace).
1396
+ *
1397
+ * If `cancellable` is not %NULL, then the operation can be cancelled by
1398
+ * triggering the cancellable object from another thread. If the operation
1399
+ * was cancelled, the error %G_IO_ERROR_CANCELLED will be returned.
1400
+ * @param cancellable - optional #GCancellable object,
1401
+ */
110
1402
  queryWritableNamespaces(cancellable?: Cancellable | null): FileAttributeInfoList;
1403
+ /**
1404
+ * Opens a file for reading. The result is a #GFileInputStream that
1405
+ * can be used to read the contents of the file.
1406
+ *
1407
+ * If `cancellable` is not %NULL, then the operation can be cancelled by
1408
+ * triggering the cancellable object from another thread. If the operation
1409
+ * was cancelled, the error %G_IO_ERROR_CANCELLED will be returned.
1410
+ *
1411
+ * If the file does not exist, the %G_IO_ERROR_NOT_FOUND error will be
1412
+ * returned. If the file is a directory, the %G_IO_ERROR_IS_DIRECTORY
1413
+ * error will be returned. Other errors are possible too, and depend
1414
+ * on what kind of filesystem the file is on.
1415
+ * @param cancellable - a #GCancellable
1416
+ */
111
1417
  read(cancellable?: Cancellable | null): FileInputStream;
1418
+ /**
1419
+ * Asynchronously opens `file` for reading.
1420
+ *
1421
+ * For more details, see g_file_read() which is
1422
+ * the synchronous version of this call.
1423
+ *
1424
+ * When the operation is finished, `callback` will be called.
1425
+ * You can then call g_file_read_finish() to get the result
1426
+ * of the operation.
1427
+ * @param ioPriority - the I/O priority of the request
1428
+ * @param cancellable - optional #GCancellable object,
1429
+ * @param callback - a #GAsyncReadyCallback
1430
+ * @param userData - the data to pass to callback function
1431
+ */
112
1432
  readAsync(ioPriority: number, cancellable?: Cancellable | null, callback?: (...args: unknown[]) => unknown | null, userData?: number | null): void;
1433
+ /**
1434
+ * Finishes an asynchronous file read operation started with
1435
+ * g_file_read_async().
1436
+ * @param res - a #GAsyncResult
1437
+ */
113
1438
  readFinish(res: AsyncResult): FileInputStream;
1439
+ /**
1440
+ * Returns an output stream for overwriting the file, possibly
1441
+ * creating a backup copy of the file first. If the file doesn't exist,
1442
+ * it will be created.
1443
+ *
1444
+ * This will try to replace the file in the safest way possible so
1445
+ * that any errors during the writing will not affect an already
1446
+ * existing copy of the file. For instance, for local files it
1447
+ * may write to a temporary file and then atomically rename over
1448
+ * the destination when the stream is closed.
1449
+ *
1450
+ * By default files created are generally readable by everyone,
1451
+ * but if you pass %G_FILE_CREATE_PRIVATE in `flags` the file
1452
+ * will be made readable only to the current user, to the level that
1453
+ * is supported on the target filesystem.
1454
+ *
1455
+ * If `cancellable` is not %NULL, then the operation can be cancelled
1456
+ * by triggering the cancellable object from another thread. If the
1457
+ * operation was cancelled, the error %G_IO_ERROR_CANCELLED will be
1458
+ * returned.
1459
+ *
1460
+ * If you pass in a non-%NULL `etag` value and `file` already exists, then
1461
+ * this value is compared to the current entity tag of the file, and if
1462
+ * they differ an %G_IO_ERROR_WRONG_ETAG error is returned. This
1463
+ * generally means that the file has been changed since you last read
1464
+ * it. You can get the new etag from g_file_output_stream_get_etag()
1465
+ * after you've finished writing and closed the #GFileOutputStream. When
1466
+ * you load a new file you can use g_file_input_stream_query_info() to
1467
+ * get the etag of the file.
1468
+ *
1469
+ * If `make_backup` is %TRUE, this function will attempt to make a
1470
+ * backup of the current file before overwriting it. If this fails
1471
+ * a %G_IO_ERROR_CANT_CREATE_BACKUP error will be returned. If you
1472
+ * want to replace anyway, try again with `make_backup` set to %FALSE.
1473
+ *
1474
+ * If the file is a directory the %G_IO_ERROR_IS_DIRECTORY error will
1475
+ * be returned, and if the file is some other form of non-regular file
1476
+ * then a %G_IO_ERROR_NOT_REGULAR_FILE error will be returned. Some
1477
+ * file systems don't allow all file names, and may return an
1478
+ * %G_IO_ERROR_INVALID_FILENAME error, and if the name is to long
1479
+ * %G_IO_ERROR_FILENAME_TOO_LONG will be returned. Other errors are
1480
+ * possible too, and depend on what kind of filesystem the file is on.
1481
+ * @param etag - an optional [entity tag](#entity-tags)
1482
+ * @param makeBackup - %TRUE if a backup should be created
1483
+ * @param flags - a set of #GFileCreateFlags
1484
+ * @param cancellable - optional #GCancellable object,
1485
+ */
114
1486
  replace(makeBackup: boolean, flags: FileCreateFlags, etag?: string | null, cancellable?: Cancellable | null): FileOutputStream;
1487
+ /**
1488
+ * Asynchronously overwrites the file, replacing the contents,
1489
+ * possibly creating a backup copy of the file first.
1490
+ *
1491
+ * For more details, see g_file_replace() which is
1492
+ * the synchronous version of this call.
1493
+ *
1494
+ * When the operation is finished, `callback` will be called.
1495
+ * You can then call g_file_replace_finish() to get the result
1496
+ * of the operation.
1497
+ * @param etag - an [entity tag](#entity-tags) for the current #GFile,
1498
+ * @param makeBackup - %TRUE if a backup should be created
1499
+ * @param flags - a set of #GFileCreateFlags
1500
+ * @param ioPriority - the I/O priority of the request
1501
+ * @param cancellable - optional #GCancellable object,
1502
+ * @param callback - a #GAsyncReadyCallback
1503
+ * @param userData - the data to pass to callback function
1504
+ */
115
1505
  replaceAsync(makeBackup: boolean, flags: FileCreateFlags, ioPriority: number, etag?: string | null, cancellable?: Cancellable | null, callback?: (...args: unknown[]) => unknown | null, userData?: number | null): void;
1506
+ /**
1507
+ * Replaces the contents of `file` with `contents` of `length` bytes.
1508
+ *
1509
+ * If `etag` is specified (not %NULL), any existing file must have that etag,
1510
+ * or the error %G_IO_ERROR_WRONG_ETAG will be returned.
1511
+ *
1512
+ * If `make_backup` is %TRUE, this function will attempt to make a backup
1513
+ * of @file. Internally, it uses g_file_replace(), so will try to replace the
1514
+ * file contents in the safest way possible. For example, atomic renames are
1515
+ * used when replacing local files’ contents.
1516
+ *
1517
+ * If `cancellable` is not %NULL, then the operation can be cancelled by
1518
+ * triggering the cancellable object from another thread. If the operation
1519
+ * was cancelled, the error %G_IO_ERROR_CANCELLED will be returned.
1520
+ *
1521
+ * The returned `new_etag` can be used to verify that the file hasn't
1522
+ * changed the next time it is saved over.
1523
+ * @param contents - a string containing the new contents for @file
1524
+ * @param length - the length of `contents` in bytes
1525
+ * @param etag - the old [entity-tag](#entity-tags) for the document,
1526
+ * @param makeBackup - %TRUE if a backup should be created
1527
+ * @param flags - a set of #GFileCreateFlags
1528
+ * @param newEtag - a location to a new [entity tag](#entity-tags)
1529
+ * @param cancellable - optional #GCancellable object, %NULL to ignore
1530
+ */
116
1531
  replaceContents(contents: number[], length: number, makeBackup: boolean, flags: FileCreateFlags, etag?: string | null, newEtag?: Ref<string> | null, cancellable?: Cancellable | null): boolean;
1532
+ /**
1533
+ * Starts an asynchronous replacement of `file` with the given
1534
+ * `contents` of `length` bytes. `etag` will replace the document's
1535
+ * current entity tag.
1536
+ *
1537
+ * When this operation has completed, `callback` will be called with
1538
+ * `user_user` data, and the operation can be finalized with
1539
+ * g_file_replace_contents_finish().
1540
+ *
1541
+ * If `cancellable` is not %NULL, then the operation can be cancelled by
1542
+ * triggering the cancellable object from another thread. If the operation
1543
+ * was cancelled, the error %G_IO_ERROR_CANCELLED will be returned.
1544
+ *
1545
+ * If `make_backup` is %TRUE, this function will attempt to
1546
+ * make a backup of @file.
1547
+ *
1548
+ * Note that no copy of `contents` will be made, so it must stay valid
1549
+ * until `callback` is called. See g_file_replace_contents_bytes_async()
1550
+ * for a #GBytes version that will automatically hold a reference to the
1551
+ * contents (without copying) for the duration of the call.
1552
+ * @param contents - string of contents to replace the file with
1553
+ * @param length - the length of `contents` in bytes
1554
+ * @param etag - a new [entity tag](#entity-tags) for the @file, or %NULL
1555
+ * @param makeBackup - %TRUE if a backup should be created
1556
+ * @param flags - a set of #GFileCreateFlags
1557
+ * @param cancellable - optional #GCancellable object, %NULL to ignore
1558
+ * @param callback - a #GAsyncReadyCallback to call when the request is satisfied
1559
+ * @param userData - the data to pass to callback function
1560
+ */
117
1561
  replaceContentsAsync(contents: number[], length: number, makeBackup: boolean, flags: FileCreateFlags, etag?: string | null, cancellable?: Cancellable | null, callback?: (...args: unknown[]) => unknown | null, userData?: number | null): void;
1562
+ /**
1563
+ * Same as g_file_replace_contents_async() but takes a #GBytes input instead.
1564
+ * This function will keep a ref on `contents` until the operation is done.
1565
+ * Unlike g_file_replace_contents_async() this allows forgetting about the
1566
+ * content without waiting for the callback.
1567
+ *
1568
+ * When this operation has completed, `callback` will be called with
1569
+ * `user_user` data, and the operation can be finalized with
1570
+ * g_file_replace_contents_finish().
1571
+ * @param contents - a #GBytes
1572
+ * @param etag - a new [entity tag](#entity-tags) for the @file, or %NULL
1573
+ * @param makeBackup - %TRUE if a backup should be created
1574
+ * @param flags - a set of #GFileCreateFlags
1575
+ * @param cancellable - optional #GCancellable object, %NULL to ignore
1576
+ * @param callback - a #GAsyncReadyCallback to call when the request is satisfied
1577
+ * @param userData - the data to pass to callback function
1578
+ */
118
1579
  replaceContentsBytesAsync(contents: GLib.Bytes, makeBackup: boolean, flags: FileCreateFlags, etag?: string | null, cancellable?: Cancellable | null, callback?: (...args: unknown[]) => unknown | null, userData?: number | null): void;
1580
+ /**
1581
+ * Finishes an asynchronous replace of the given @file. See
1582
+ * g_file_replace_contents_async(). Sets `new_etag` to the new entity
1583
+ * tag for the document, if present.
1584
+ * @param res - a #GAsyncResult
1585
+ * @param newEtag - a location of a new [entity tag](#entity-tags)
1586
+ */
119
1587
  replaceContentsFinish(res: AsyncResult, newEtag?: Ref<string> | null): boolean;
1588
+ /**
1589
+ * Finishes an asynchronous file replace operation started with
1590
+ * g_file_replace_async().
1591
+ * @param res - a #GAsyncResult
1592
+ */
120
1593
  replaceFinish(res: AsyncResult): FileOutputStream;
1594
+ /**
1595
+ * Returns an output stream for overwriting the file in readwrite mode,
1596
+ * possibly creating a backup copy of the file first. If the file doesn't
1597
+ * exist, it will be created.
1598
+ *
1599
+ * For details about the behaviour, see g_file_replace() which does the
1600
+ * same thing but returns an output stream only.
1601
+ *
1602
+ * Note that in many non-local file cases read and write streams are not
1603
+ * supported, so make sure you really need to do read and write streaming,
1604
+ * rather than just opening for reading or writing.
1605
+ * @param etag - an optional [entity tag](#entity-tags)
1606
+ * @param makeBackup - %TRUE if a backup should be created
1607
+ * @param flags - a set of #GFileCreateFlags
1608
+ * @param cancellable - optional #GCancellable object,
1609
+ */
121
1610
  replaceReadwrite(makeBackup: boolean, flags: FileCreateFlags, etag?: string | null, cancellable?: Cancellable | null): FileIOStream;
1611
+ /**
1612
+ * Asynchronously overwrites the file in read-write mode,
1613
+ * replacing the contents, possibly creating a backup copy
1614
+ * of the file first.
1615
+ *
1616
+ * For more details, see g_file_replace_readwrite() which is
1617
+ * the synchronous version of this call.
1618
+ *
1619
+ * When the operation is finished, `callback` will be called.
1620
+ * You can then call g_file_replace_readwrite_finish() to get
1621
+ * the result of the operation.
1622
+ * @param etag - an [entity tag](#entity-tags) for the current #GFile,
1623
+ * @param makeBackup - %TRUE if a backup should be created
1624
+ * @param flags - a set of #GFileCreateFlags
1625
+ * @param ioPriority - the I/O priority of the request
1626
+ * @param cancellable - optional #GCancellable object,
1627
+ * @param callback - a #GAsyncReadyCallback
1628
+ * @param userData - the data to pass to callback function
1629
+ */
122
1630
  replaceReadwriteAsync(makeBackup: boolean, flags: FileCreateFlags, ioPriority: number, etag?: string | null, cancellable?: Cancellable | null, callback?: (...args: unknown[]) => unknown | null, userData?: number | null): void;
1631
+ /**
1632
+ * Finishes an asynchronous file replace operation started with
1633
+ * g_file_replace_readwrite_async().
1634
+ * @param res - a #GAsyncResult
1635
+ */
123
1636
  replaceReadwriteFinish(res: AsyncResult): FileIOStream;
1637
+ /**
1638
+ * Resolves a relative path for `file` to an absolute path.
1639
+ *
1640
+ * This call does no blocking I/O.
1641
+ *
1642
+ * If the `relative_path` is an absolute path name, the resolution
1643
+ * is done absolutely (without taking `file` path as base).
1644
+ * @param relativePath - a given relative path string
1645
+ */
124
1646
  resolveRelativePath(relativePath: string): File;
1647
+ /**
1648
+ * Sets an attribute in the file with attribute name `attribute` to @value_p.
1649
+ *
1650
+ * Some attributes can be unset by setting `type` to
1651
+ * %G_FILE_ATTRIBUTE_TYPE_INVALID and `value_p` to %NULL.
1652
+ *
1653
+ * If `cancellable` is not %NULL, then the operation can be cancelled by
1654
+ * triggering the cancellable object from another thread. If the operation
1655
+ * was cancelled, the error %G_IO_ERROR_CANCELLED will be returned.
1656
+ * @param attribute - a string containing the attribute's name
1657
+ * @param type - The type of the attribute
1658
+ * @param valueP - a pointer to the value (or the pointer
1659
+ * @param flags - a set of #GFileQueryInfoFlags
1660
+ * @param cancellable - optional #GCancellable object,
1661
+ */
125
1662
  setAttribute(attribute: string, type: FileAttributeType, flags: FileQueryInfoFlags, valueP?: number | null, cancellable?: Cancellable | null): boolean;
1663
+ /**
1664
+ * Sets `attribute` of type %G_FILE_ATTRIBUTE_TYPE_BYTE_STRING to @value.
1665
+ * If `attribute` is of a different type, this operation will fail,
1666
+ * returning %FALSE.
1667
+ *
1668
+ * If `cancellable` is not %NULL, then the operation can be cancelled by
1669
+ * triggering the cancellable object from another thread. If the operation
1670
+ * was cancelled, the error %G_IO_ERROR_CANCELLED will be returned.
1671
+ * @param attribute - a string containing the attribute's name
1672
+ * @param value - a string containing the attribute's new value
1673
+ * @param flags - a #GFileQueryInfoFlags
1674
+ * @param cancellable - optional #GCancellable object,
1675
+ */
126
1676
  setAttributeByteString(attribute: string, value: string, flags: FileQueryInfoFlags, cancellable?: Cancellable | null): boolean;
1677
+ /**
1678
+ * Sets `attribute` of type %G_FILE_ATTRIBUTE_TYPE_INT32 to @value.
1679
+ * If `attribute` is of a different type, this operation will fail.
1680
+ *
1681
+ * If `cancellable` is not %NULL, then the operation can be cancelled by
1682
+ * triggering the cancellable object from another thread. If the operation
1683
+ * was cancelled, the error %G_IO_ERROR_CANCELLED will be returned.
1684
+ * @param attribute - a string containing the attribute's name
1685
+ * @param value - a #gint32 containing the attribute's new value
1686
+ * @param flags - a #GFileQueryInfoFlags
1687
+ * @param cancellable - optional #GCancellable object,
1688
+ */
127
1689
  setAttributeInt32(attribute: string, value: number, flags: FileQueryInfoFlags, cancellable?: Cancellable | null): boolean;
1690
+ /**
1691
+ * Sets `attribute` of type %G_FILE_ATTRIBUTE_TYPE_INT64 to @value.
1692
+ * If `attribute` is of a different type, this operation will fail.
1693
+ *
1694
+ * If `cancellable` is not %NULL, then the operation can be cancelled by
1695
+ * triggering the cancellable object from another thread. If the operation
1696
+ * was cancelled, the error %G_IO_ERROR_CANCELLED will be returned.
1697
+ * @param attribute - a string containing the attribute's name
1698
+ * @param value - a #guint64 containing the attribute's new value
1699
+ * @param flags - a #GFileQueryInfoFlags
1700
+ * @param cancellable - optional #GCancellable object,
1701
+ */
128
1702
  setAttributeInt64(attribute: string, value: number, flags: FileQueryInfoFlags, cancellable?: Cancellable | null): boolean;
1703
+ /**
1704
+ * Sets `attribute` of type %G_FILE_ATTRIBUTE_TYPE_STRING to @value.
1705
+ * If `attribute` is of a different type, this operation will fail.
1706
+ *
1707
+ * If `cancellable` is not %NULL, then the operation can be cancelled by
1708
+ * triggering the cancellable object from another thread. If the operation
1709
+ * was cancelled, the error %G_IO_ERROR_CANCELLED will be returned.
1710
+ * @param attribute - a string containing the attribute's name
1711
+ * @param value - a string containing the attribute's value
1712
+ * @param flags - #GFileQueryInfoFlags
1713
+ * @param cancellable - optional #GCancellable object,
1714
+ */
129
1715
  setAttributeString(attribute: string, value: string, flags: FileQueryInfoFlags, cancellable?: Cancellable | null): boolean;
1716
+ /**
1717
+ * Sets `attribute` of type %G_FILE_ATTRIBUTE_TYPE_UINT32 to @value.
1718
+ * If `attribute` is of a different type, this operation will fail.
1719
+ *
1720
+ * If `cancellable` is not %NULL, then the operation can be cancelled by
1721
+ * triggering the cancellable object from another thread. If the operation
1722
+ * was cancelled, the error %G_IO_ERROR_CANCELLED will be returned.
1723
+ * @param attribute - a string containing the attribute's name
1724
+ * @param value - a #guint32 containing the attribute's new value
1725
+ * @param flags - a #GFileQueryInfoFlags
1726
+ * @param cancellable - optional #GCancellable object,
1727
+ */
130
1728
  setAttributeUint32(attribute: string, value: number, flags: FileQueryInfoFlags, cancellable?: Cancellable | null): boolean;
1729
+ /**
1730
+ * Sets `attribute` of type %G_FILE_ATTRIBUTE_TYPE_UINT64 to @value.
1731
+ * If `attribute` is of a different type, this operation will fail.
1732
+ *
1733
+ * If `cancellable` is not %NULL, then the operation can be cancelled by
1734
+ * triggering the cancellable object from another thread. If the operation
1735
+ * was cancelled, the error %G_IO_ERROR_CANCELLED will be returned.
1736
+ * @param attribute - a string containing the attribute's name
1737
+ * @param value - a #guint64 containing the attribute's new value
1738
+ * @param flags - a #GFileQueryInfoFlags
1739
+ * @param cancellable - optional #GCancellable object,
1740
+ */
131
1741
  setAttributeUint64(attribute: string, value: number, flags: FileQueryInfoFlags, cancellable?: Cancellable | null): boolean;
1742
+ /**
1743
+ * Asynchronously sets the attributes of `file` with @info.
1744
+ *
1745
+ * For more details, see g_file_set_attributes_from_info(),
1746
+ * which is the synchronous version of this call.
1747
+ *
1748
+ * When the operation is finished, `callback` will be called.
1749
+ * You can then call g_file_set_attributes_finish() to get
1750
+ * the result of the operation.
1751
+ * @param info - a #GFileInfo
1752
+ * @param flags - a #GFileQueryInfoFlags
1753
+ * @param ioPriority - the I/O priority of the request
1754
+ * @param cancellable - optional #GCancellable object,
1755
+ * @param callback - a #GAsyncReadyCallback
1756
+ * @param userData - the data to pass to callback function
1757
+ */
132
1758
  setAttributesAsync(info: FileInfo, flags: FileQueryInfoFlags, ioPriority: number, cancellable?: Cancellable | null, callback?: (...args: unknown[]) => unknown | null, userData?: number | null): void;
1759
+ /**
1760
+ * Finishes setting an attribute started in g_file_set_attributes_async().
1761
+ * @param result - a #GAsyncResult
1762
+ * @param info - a #GFileInfo
1763
+ */
133
1764
  setAttributesFinish(result: AsyncResult, info: Ref<FileInfo>): boolean;
1765
+ /**
1766
+ * Tries to set all attributes in the #GFileInfo on the target
1767
+ * values, not stopping on the first error.
1768
+ *
1769
+ * If there is any error during this operation then `error` will
1770
+ * be set to the first error. Error on particular fields are flagged
1771
+ * by setting the "status" field in the attribute value to
1772
+ * %G_FILE_ATTRIBUTE_STATUS_ERROR_SETTING, which means you can
1773
+ * also detect further errors.
1774
+ *
1775
+ * If `cancellable` is not %NULL, then the operation can be cancelled by
1776
+ * triggering the cancellable object from another thread. If the operation
1777
+ * was cancelled, the error %G_IO_ERROR_CANCELLED will be returned.
1778
+ * @param info - a #GFileInfo
1779
+ * @param flags - #GFileQueryInfoFlags
1780
+ * @param cancellable - optional #GCancellable object,
1781
+ */
134
1782
  setAttributesFromInfo(info: FileInfo, flags: FileQueryInfoFlags, cancellable?: Cancellable | null): boolean;
1783
+ /**
1784
+ * Renames `file` to the specified display name.
1785
+ *
1786
+ * The display name is converted from UTF-8 to the correct encoding
1787
+ * for the target filesystem if possible and the `file` is renamed to this.
1788
+ *
1789
+ * If you want to implement a rename operation in the user interface the
1790
+ * edit name (%G_FILE_ATTRIBUTE_STANDARD_EDIT_NAME) should be used as the
1791
+ * initial value in the rename widget, and then the result after editing
1792
+ * should be passed to g_file_set_display_name().
1793
+ *
1794
+ * On success the resulting converted filename is returned.
1795
+ *
1796
+ * If `cancellable` is not %NULL, then the operation can be cancelled by
1797
+ * triggering the cancellable object from another thread. If the operation
1798
+ * was cancelled, the error %G_IO_ERROR_CANCELLED will be returned.
1799
+ * @param displayName - a string
1800
+ * @param cancellable - optional #GCancellable object,
1801
+ */
135
1802
  setDisplayName(displayName: string, cancellable?: Cancellable | null): File;
1803
+ /**
1804
+ * Asynchronously sets the display name for a given #GFile.
1805
+ *
1806
+ * For more details, see g_file_set_display_name() which is
1807
+ * the synchronous version of this call.
1808
+ *
1809
+ * When the operation is finished, `callback` will be called.
1810
+ * You can then call g_file_set_display_name_finish() to get
1811
+ * the result of the operation.
1812
+ * @param displayName - a string
1813
+ * @param ioPriority - the I/O priority of the request
1814
+ * @param cancellable - optional #GCancellable object,
1815
+ * @param callback - a #GAsyncReadyCallback
1816
+ * @param userData - the data to pass to callback function
1817
+ */
136
1818
  setDisplayNameAsync(displayName: string, ioPriority: number, cancellable?: Cancellable | null, callback?: (...args: unknown[]) => unknown | null, userData?: number | null): void;
1819
+ /**
1820
+ * Finishes setting a display name started with
1821
+ * g_file_set_display_name_async().
1822
+ * @param res - a #GAsyncResult
1823
+ */
137
1824
  setDisplayNameFinish(res: AsyncResult): File;
1825
+ /**
1826
+ * Starts a file of type %G_FILE_TYPE_MOUNTABLE.
1827
+ * Using @start_operation, you can request callbacks when, for instance,
1828
+ * passwords are needed during authentication.
1829
+ *
1830
+ * If `cancellable` is not %NULL, then the operation can be cancelled by
1831
+ * triggering the cancellable object from another thread. If the operation
1832
+ * was cancelled, the error %G_IO_ERROR_CANCELLED will be returned.
1833
+ *
1834
+ * When the operation is finished, `callback` will be called.
1835
+ * You can then call g_file_mount_mountable_finish() to get
1836
+ * the result of the operation.
1837
+ * @param flags - flags affecting the operation
1838
+ * @param startOperation - a #GMountOperation, or %NULL to avoid user interaction
1839
+ * @param cancellable - optional #GCancellable object, %NULL to ignore
1840
+ * @param callback - a #GAsyncReadyCallback to call when the request is satisfied, or %NULL
1841
+ * @param userData - the data to pass to callback function
1842
+ */
138
1843
  startMountable(flags: DriveStartFlags, startOperation?: MountOperation | null, cancellable?: Cancellable | null, callback?: (...args: unknown[]) => unknown | null, userData?: number | null): void;
1844
+ /**
1845
+ * Finishes a start operation. See g_file_start_mountable() for details.
1846
+ *
1847
+ * Finish an asynchronous start operation that was started
1848
+ * with g_file_start_mountable().
1849
+ * @param result - a #GAsyncResult
1850
+ */
139
1851
  startMountableFinish(result: AsyncResult): boolean;
1852
+ /**
1853
+ * Stops a file of type %G_FILE_TYPE_MOUNTABLE.
1854
+ *
1855
+ * If `cancellable` is not %NULL, then the operation can be cancelled by
1856
+ * triggering the cancellable object from another thread. If the operation
1857
+ * was cancelled, the error %G_IO_ERROR_CANCELLED will be returned.
1858
+ *
1859
+ * When the operation is finished, `callback` will be called.
1860
+ * You can then call g_file_stop_mountable_finish() to get
1861
+ * the result of the operation.
1862
+ * @param flags - flags affecting the operation
1863
+ * @param mountOperation - a #GMountOperation,
1864
+ * @param cancellable - optional #GCancellable object,
1865
+ * @param callback - a #GAsyncReadyCallback to call
1866
+ * @param userData - the data to pass to callback function
1867
+ */
140
1868
  stopMountable(flags: MountUnmountFlags, mountOperation?: MountOperation | null, cancellable?: Cancellable | null, callback?: (...args: unknown[]) => unknown | null, userData?: number | null): void;
1869
+ /**
1870
+ * Finishes a stop operation, see g_file_stop_mountable() for details.
1871
+ *
1872
+ * Finish an asynchronous stop operation that was started
1873
+ * with g_file_stop_mountable().
1874
+ * @param result - a #GAsyncResult
1875
+ */
141
1876
  stopMountableFinish(result: AsyncResult): boolean;
1877
+ /**
1878
+ * Checks if `file` supports thread-default main contexts
1879
+ * (see [method@GLib.MainContext.push_thread_default])
1880
+ * If this returns %FALSE, you cannot perform asynchronous operations on
1881
+ * `file` in a thread that has a thread-default context.
1882
+ */
142
1883
  supportsThreadContexts(): boolean;
1884
+ /**
1885
+ * Sends `file` to the "Trashcan", if possible. This is similar to
1886
+ * deleting it, but the user can recover it before emptying the trashcan.
1887
+ * Trashing is disabled for system mounts by default (see
1888
+ * g_unix_mount_entry_is_system_internal()), so this call can return the
1889
+ * %G_IO_ERROR_NOT_SUPPORTED error. Since GLib 2.66, the `x-gvfs-notrash` unix
1890
+ * mount option can be used to disable g_file_trash() support for particular
1891
+ * mounts, the %G_IO_ERROR_NOT_SUPPORTED error will be returned in that case.
1892
+ * Since 2.82, the `x-gvfs-trash` unix mount option can be used to enable
1893
+ * g_file_trash() support for particular system mounts.
1894
+ *
1895
+ * If `cancellable` is not %NULL, then the operation can be cancelled by
1896
+ * triggering the cancellable object from another thread. If the operation
1897
+ * was cancelled, the error %G_IO_ERROR_CANCELLED will be returned.
1898
+ * @param cancellable - optional #GCancellable object,
1899
+ */
143
1900
  trash(cancellable?: Cancellable | null): boolean;
1901
+ /**
1902
+ * Asynchronously sends `file` to the Trash location, if possible.
1903
+ * @param ioPriority - the I/O priority of the request
1904
+ * @param cancellable - optional #GCancellable object,
1905
+ * @param callback - a #GAsyncReadyCallback to call
1906
+ * @param userData - the data to pass to callback function
1907
+ */
144
1908
  trashAsync(ioPriority: number, cancellable?: Cancellable | null, callback?: (...args: unknown[]) => unknown | null, userData?: number | null): void;
1909
+ /**
1910
+ * Finishes an asynchronous file trashing operation, started with
1911
+ * g_file_trash_async().
1912
+ * @param result - a #GAsyncResult
1913
+ */
145
1914
  trashFinish(result: AsyncResult): boolean;
1915
+ /**
1916
+ * Unmounts a file of type G_FILE_TYPE_MOUNTABLE.
1917
+ *
1918
+ * If `cancellable` is not %NULL, then the operation can be cancelled by
1919
+ * triggering the cancellable object from another thread. If the operation
1920
+ * was cancelled, the error %G_IO_ERROR_CANCELLED will be returned.
1921
+ *
1922
+ * When the operation is finished, `callback` will be called.
1923
+ * You can then call g_file_unmount_mountable_finish() to get
1924
+ * the result of the operation.
1925
+ * @param flags - flags affecting the operation
1926
+ * @param cancellable - optional #GCancellable object,
1927
+ * @param callback - a #GAsyncReadyCallback
1928
+ * @param userData - the data to pass to callback function
1929
+ */
146
1930
  unmountMountable(flags: MountUnmountFlags, cancellable?: Cancellable | null, callback?: (...args: unknown[]) => unknown | null, userData?: number | null): void;
1931
+ /**
1932
+ * Finishes an unmount operation, see g_file_unmount_mountable() for details.
1933
+ *
1934
+ * Finish an asynchronous unmount operation that was started
1935
+ * with g_file_unmount_mountable().
1936
+ * @param result - a #GAsyncResult
1937
+ */
147
1938
  unmountMountableFinish(result: AsyncResult): boolean;
1939
+ /**
1940
+ * Unmounts a file of type %G_FILE_TYPE_MOUNTABLE.
1941
+ *
1942
+ * If `cancellable` is not %NULL, then the operation can be cancelled by
1943
+ * triggering the cancellable object from another thread. If the operation
1944
+ * was cancelled, the error %G_IO_ERROR_CANCELLED will be returned.
1945
+ *
1946
+ * When the operation is finished, `callback` will be called.
1947
+ * You can then call g_file_unmount_mountable_finish() to get
1948
+ * the result of the operation.
1949
+ * @param flags - flags affecting the operation
1950
+ * @param mountOperation - a #GMountOperation,
1951
+ * @param cancellable - optional #GCancellable object,
1952
+ * @param callback - a #GAsyncReadyCallback
1953
+ * @param userData - the data to pass to callback function
1954
+ */
148
1955
  unmountMountableWithOperation(flags: MountUnmountFlags, mountOperation?: MountOperation | null, cancellable?: Cancellable | null, callback?: (...args: unknown[]) => unknown | null, userData?: number | null): void;
1956
+ /**
1957
+ * Finishes an unmount operation,
1958
+ * see g_file_unmount_mountable_with_operation() for details.
1959
+ *
1960
+ * Finish an asynchronous unmount operation that was started
1961
+ * with g_file_unmount_mountable_with_operation().
1962
+ * @param result - a #GAsyncResult
1963
+ */
149
1964
  unmountMountableWithOperationFinish(result: AsyncResult): boolean;
150
1965
  }