@gtkx/ffi 0.1.45 → 0.1.46

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
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
@@ -22,188 +22,1929 @@ import * as cairo from "../cairo/index.js";
22
22
  export declare class Widget extends GObject.InitiallyUnowned {
23
23
  constructor(...args: unknown[]);
24
24
  protected createPtr(_args: unknown[]): unknown;
25
+ /**
26
+ * Obtains the default reading direction.
27
+ *
28
+ * See [func@Gtk.Widget.set_default_direction].
29
+ */
25
30
  static getDefaultDirection(): TextDirection;
31
+ /**
32
+ * Sets the default reading direction for widgets.
33
+ *
34
+ * See [method@Gtk.Widget.set_direction].
35
+ * @param dir - the new default direction, either [enum@Gtk.TextDirection.ltr]
36
+ */
26
37
  static setDefaultDirection(dir: TextDirection): void;
38
+ /**
39
+ * Enables or disables an action installed with
40
+ * [method@Gtk.WidgetClass.install_action].
41
+ * @param actionName - action name, such as "clipboard.paste"
42
+ * @param enabled - whether the action is now enabled
43
+ */
27
44
  actionSetEnabled(actionName: string, enabled: boolean): void;
45
+ /**
46
+ * Activates the widget.
47
+ *
48
+ * The activation will emit the signal set using
49
+ * [method@Gtk.WidgetClass.set_activate_signal]
50
+ * during class initialization.
51
+ *
52
+ * Activation is what happens when you press `Enter`
53
+ * on a widget.
54
+ *
55
+ * If you wish to handle the activation keybinding yourself,
56
+ * it is recommended to use [method@Gtk.WidgetClass.add_shortcut]
57
+ * with an action created with [ctor@Gtk.SignalAction.new].
58
+ *
59
+ * If `widget` is not activatable, the function returns false.
60
+ */
28
61
  activate(): boolean;
62
+ /**
63
+ * Activates an action for the widget.
64
+ *
65
+ * The action is looked up in the action groups associated with
66
+ * `widget` and its ancestors.
67
+ *
68
+ * If the action is in an action group added with
69
+ * [method@Gtk.Widget.insert_action_group], the `name` is expected
70
+ * to be prefixed with the prefix that was used when the group was
71
+ * inserted.
72
+ *
73
+ * The arguments must match the actions expected parameter type,
74
+ * as returned by [method@Gio.Action.get_parameter_type].
75
+ * @param name - the name of the action to activate
76
+ * @param args - parameters to use
77
+ */
29
78
  activateActionVariant(name: string, args?: GLib.Variant | null): boolean;
79
+ /**
80
+ * Activates the `default.activate` action for the widget.
81
+ *
82
+ * The action is looked up in the same was as for
83
+ * [method@Gtk.Widget.activate_action].
84
+ */
30
85
  activateDefault(): void;
86
+ /**
87
+ * Adds an event controller to the widget.
88
+ *
89
+ * The event controllers of a widget handle the events that are
90
+ * propagated to the widget.
91
+ *
92
+ * You will usually want to call this function right after
93
+ * creating any kind of [class@Gtk.EventController].
94
+ * @param controller - an event controller that hasn't been
95
+ */
31
96
  addController(controller: EventController): void;
97
+ /**
98
+ * Adds a style class to the widget.
99
+ *
100
+ * After calling this function, the widget’s style will match
101
+ * for @css_class, according to CSS matching rules.
102
+ *
103
+ * Use [method@Gtk.Widget.remove_css_class] to remove the
104
+ * style again.
105
+ * @param cssClass - style class to add to @widget, without the leading period
106
+ */
32
107
  addCssClass(cssClass: string): void;
108
+ /**
109
+ * Adds a widget to the list of mnemonic labels for this widget.
110
+ *
111
+ * See [method@Gtk.Widget.list_mnemonic_labels].
112
+ *
113
+ * Note that the list of mnemonic labels for the widget is cleared
114
+ * when the widget is destroyed, so the caller must make sure
115
+ * to update its internal state at this point as well.
116
+ * @param label - a widget that acts as a mnemonic label for @widget
117
+ */
33
118
  addMnemonicLabel(label: Widget): void;
119
+ /**
120
+ * Queues an animation frame update and adds a callback to be called
121
+ * before each frame.
122
+ *
123
+ * Until the tick callback is removed, it will be called frequently
124
+ * (usually at the frame rate of the output device or as quickly as
125
+ * the application can be repainted, whichever is slower). For this
126
+ * reason, is most suitable for handling graphics that change every
127
+ * frame or every few frames.
128
+ *
129
+ * The tick callback does not automatically imply a relayout or repaint.
130
+ * If you want a repaint or relayout, and aren’t changing widget properties
131
+ * that would trigger that (for example, changing the text of a label),
132
+ * then you will have to call [method@Gtk.Widget.queue_resize] or
133
+ * [method@Gtk.Widget.queue_draw] yourself.
134
+ *
135
+ * [method@Gdk.FrameClock.get_frame_time] should generally be used
136
+ * for timing continuous animations and
137
+ * [method@Gdk.FrameTimings.get_predicted_presentation_time] should be
138
+ * used if you are trying to display isolated frames at particular times.
139
+ *
140
+ * This is a more convenient alternative to connecting directly to the
141
+ * [signal@Gdk.FrameClock::update] signal of the frame clock, since you
142
+ * don't have to worry about when a frame clock is assigned to a widget.
143
+ *
144
+ * To remove a tick callback, pass the ID that is returned by this function
145
+ * to [method@Gtk.Widget.remove_tick_callback].
146
+ * @param callback - function
147
+ * @param userData - data to pass to @callback
148
+ * @param notify - function to call to free @user_data
149
+ */
34
150
  addTickCallback(callback: (...args: unknown[]) => unknown, notify: () => void, userData?: number | null): number;
151
+ /**
152
+ * Assigns size, position, (optionally) a baseline and transform
153
+ * to a child widget.
154
+ *
155
+ * In this function, the allocation and baseline may be adjusted.
156
+ * The given allocation will be forced to be bigger than the
157
+ * widget's minimum size, as well as at least 0×0 in size.
158
+ *
159
+ * This function is only used by widget implementations.
160
+ *
161
+ * For a version that does not take a transform, see
162
+ * [method@Gtk.Widget.size_allocate].
163
+ * @param width - new width
164
+ * @param height - new height
165
+ * @param baseline - new baseline, or -1
166
+ * @param transform - transformation to be applied
167
+ */
35
168
  allocate(width: number, height: number, baseline: number, transform?: Gsk.Transform | null): void;
169
+ /**
170
+ * Called by widgets as the user moves around the window using
171
+ * keyboard shortcuts.
172
+ *
173
+ * The `direction` argument indicates what kind of motion is taking
174
+ * place (up, down, left, right, tab forward, tab backward).
175
+ *
176
+ * This function calls the [vfunc@Gtk.Widget.focus] virtual function;
177
+ * widgets can override the virtual function in order to implement
178
+ * appropriate focus behavior.
179
+ *
180
+ * The default `focus()` virtual function for a widget should return
181
+ * true if moving in `direction` left the focus on a focusable location
182
+ * inside that widget, and false if moving in `direction` moved the focus
183
+ * outside the widget. When returning true, widgets normally call
184
+ * [method@Gtk.Widget.grab_focus] to place the focus accordingly;
185
+ * when returning false, they don’t modify the current focus location.
186
+ *
187
+ * This function is used by custom widget implementations; if you're
188
+ * writing an app, you’d use [method@Gtk.Widget.grab_focus] to move
189
+ * the focus to a particular widget.
190
+ * @param direction - direction of focus movement
191
+ */
36
192
  childFocus(direction: DirectionType): boolean;
193
+ /**
194
+ * Computes the bounds for `widget` in the coordinate space of @target.
195
+ *
196
+ * The bounds of widget are (the bounding box of) the region that it is
197
+ * expected to draw in. See the coordinate system
198
+ * overview to learn more.
199
+ *
200
+ * If the operation is successful, true is returned. If `widget` has no
201
+ * bounds or the bounds cannot be expressed in @target's coordinate space
202
+ * (for example if both widgets are in different windows), false is
203
+ * returned and `bounds` is set to the zero rectangle.
204
+ *
205
+ * It is valid for `widget` and `target` to be the same widget.
206
+ * @param target - the target widget
207
+ * @param outBounds - the rectangle taking the bounds
208
+ */
37
209
  computeBounds(target: Widget, outBounds: Ref<Graphene.Rect>): boolean;
210
+ /**
211
+ * Computes whether a parent widget should give this widget
212
+ * extra space when possible.
213
+ *
214
+ * Widgets with children should check this, rather than looking at
215
+ * [method@Gtk.Widget.get_hexpand] or [method@Gtk.Widget.get_vexpand].
216
+ *
217
+ * This function already checks whether the widget is visible, so
218
+ * visibility does not need to be checked separately. Non-visible
219
+ * widgets are not expanded.
220
+ *
221
+ * The computed expand value uses either the expand setting explicitly
222
+ * set on the widget itself, or, if none has been explicitly set,
223
+ * the widget may expand if some of its children do.
224
+ * @param orientation - expand direction
225
+ */
38
226
  computeExpand(orientation: Orientation): boolean;
227
+ /**
228
+ * Translates the given `point` in @widget's coordinates to coordinates
229
+ * in @target’s coordinate system.
230
+ *
231
+ * In order to perform this operation, both widgets must share a
232
+ * a common ancestor. If that is not the case, `out_point` is set
233
+ * to (0, 0) and false is returned.
234
+ * @param target - the widget to transform into
235
+ * @param point - a point in @widget's coordinate system
236
+ * @param outPoint - set to the corresponding coordinates in
237
+ */
39
238
  computePoint(target: Widget, point: Graphene.Point, outPoint: Ref<Graphene.Point>): boolean;
239
+ /**
240
+ * Computes a matrix suitable to describe a transformation from
241
+ * @widget's coordinate system into @target's coordinate system.
242
+ *
243
+ * The transform can not be computed in certain cases, for example
244
+ * when `widget` and `target` do not share a common ancestor. In that
245
+ * case `out_transform` gets set to the identity matrix.
246
+ *
247
+ * To learn more about widget coordinate systems, see the coordinate
248
+ * system overview.
249
+ * @param target - the target widget that the matrix will transform to
250
+ * @param outTransform - location to
251
+ */
40
252
  computeTransform(target: Widget, outTransform: Ref<Graphene.Matrix>): boolean;
253
+ /**
254
+ * Tests if a given point is contained in the widget.
255
+ *
256
+ * The coordinates for (x, y) must be in widget coordinates, so
257
+ * (0, 0) is assumed to be the top left of @widget's content area.
258
+ * @param x - X coordinate to test, relative to @widget's origin
259
+ * @param y - Y coordinate to test, relative to @widget's origin
260
+ */
41
261
  contains(x: number, y: number): boolean;
262
+ /**
263
+ * Creates a new `PangoContext` that is configured for the widget.
264
+ *
265
+ * The `PangoContext` will have the appropriate font map,
266
+ * font options, font description, and base direction set.
267
+ *
268
+ * See also [method@Gtk.Widget.get_pango_context].
269
+ */
42
270
  createPangoContext(): Pango.Context;
271
+ /**
272
+ * Creates a new `PangoLayout` that is configured for the widget.
273
+ *
274
+ * The `PangoLayout` will have the appropriate font map,
275
+ * font description, and base direction set.
276
+ *
277
+ * If you keep a `PangoLayout` created in this way around,
278
+ * you need to re-create it when the widgets `PangoContext`
279
+ * is replaced. This can be tracked by listening to changes
280
+ * of the [property@Gtk.Widget:root] property on the widget.
281
+ * @param text - text to set on the layout
282
+ */
43
283
  createPangoLayout(text?: string | null): Pango.Layout;
284
+ /**
285
+ * Clears the template children for the widget.
286
+ *
287
+ * This function is the opposite of [method@Gtk.Widget.init_template],
288
+ * and it is used to clear all the template children from a widget
289
+ * instance. If you bound a template child to a field in the instance
290
+ * structure, or in the instance private data structure, the field will
291
+ * be set to `NULL` after this function returns.
292
+ *
293
+ * You should call this function inside the `GObjectClass.dispose()`
294
+ * implementation of any widget that called [method@Gtk.Widget.init_template].
295
+ * Typically, you will want to call this function last, right before
296
+ * chaining up to the parent type's dispose implementation, e.g.
297
+ *
298
+ * ```c
299
+ * static void
300
+ * some_widget_dispose (GObject *gobject)
301
+ * {
302
+ * SomeWidget *self = SOME_WIDGET (gobject);
303
+ *
304
+ * // Clear the template data for SomeWidget
305
+ * gtk_widget_dispose_template (GTK_WIDGET (self), SOME_TYPE_WIDGET);
306
+ *
307
+ * G_OBJECT_CLASS (some_widget_parent_class)->dispose (gobject);
308
+ * }
309
+ * ```
310
+ * @param widgetType - the type of the widget to finalize the template for
311
+ */
44
312
  disposeTemplate(widgetType: number): void;
313
+ /**
314
+ * Checks to see if a drag movement has passed the GTK drag threshold.
315
+ * @param startX - X coordinate of start of drag
316
+ * @param startY - Y coordinate of start of drag
317
+ * @param currentX - current X coordinate
318
+ * @param currentY - current Y coordinate
319
+ */
45
320
  dragCheckThreshold(startX: number, startY: number, currentX: number, currentY: number): boolean;
321
+ /**
322
+ * Notifies the user about an input-related error on the widget.
323
+ *
324
+ * If the [property@Gtk.Settings:gtk-error-bell] setting is true,
325
+ * it calls [method@Gdk.Surface.beep], otherwise it does nothing.
326
+ *
327
+ * Note that the effect of [method@Gdk.Surface.beep] can be configured
328
+ * in many ways, depending on the windowing backend and the desktop
329
+ * environment or window manager that is used.
330
+ */
46
331
  errorBell(): void;
332
+ /**
333
+ * Returns the baseline that has currently been allocated to the widget.
334
+ *
335
+ * This function is intended to be used when implementing handlers
336
+ * for the `GtkWidget`Class.snapshot() function, and when allocating
337
+ * child widgets in `GtkWidget`Class.size_allocate().
338
+ */
47
339
  getAllocatedBaseline(): number;
340
+ /**
341
+ * Returns the height that has currently been allocated to the widget.
342
+ *
343
+ * To learn more about widget sizes, see the coordinate
344
+ * system overview.
345
+ */
48
346
  getAllocatedHeight(): number;
347
+ /**
348
+ * Returns the width that has currently been allocated to the widget.
349
+ *
350
+ * To learn more about widget sizes, see the coordinate
351
+ * system overview.
352
+ */
49
353
  getAllocatedWidth(): number;
354
+ /**
355
+ * Retrieves the widget’s allocation.
356
+ *
357
+ * Note, when implementing a layout widget: a widget’s allocation
358
+ * will be its “adjusted” allocation, that is, the widget’s parent
359
+ * typically calls [method@Gtk.Widget.size_allocate] with an allocation,
360
+ * and that allocation is then adjusted (to handle margin
361
+ * and alignment for example) before assignment to the widget.
362
+ * [method@Gtk.Widget.get_allocation] returns the adjusted allocation that
363
+ * was actually assigned to the widget. The adjusted allocation is
364
+ * guaranteed to be completely contained within the
365
+ * [method@Gtk.Widget.size_allocate] allocation, however.
366
+ *
367
+ * So a layout widget is guaranteed that its children stay inside
368
+ * the assigned bounds, but not that they have exactly the bounds the
369
+ * widget assigned.
370
+ * @param allocation - a pointer to a `GtkAllocation` to copy to
371
+ */
50
372
  getAllocation(allocation: Ref<number>): void;
373
+ /**
374
+ * Gets the first ancestor of the widget with type @widget_type.
375
+ *
376
+ * For example, `gtk_widget_get_ancestor (widget, GTK_TYPE_BOX)`
377
+ * gets the first `GtkBox` that’s an ancestor of @widget. No
378
+ * reference will be added to the returned widget; it should
379
+ * not be unreferenced.
380
+ *
381
+ * Note that unlike [method@Gtk.Widget.is_ancestor], this function
382
+ * considers `widget` to be an ancestor of itself.
383
+ * @param widgetType - ancestor type
384
+ */
51
385
  getAncestor(widgetType: number): Widget | null;
386
+ /**
387
+ * Returns the baseline that has currently been allocated to the widget.
388
+ *
389
+ * This function is intended to be used when implementing handlers
390
+ * for the `GtkWidgetClass.snapshot()` function, and when allocating
391
+ * child widgets in `GtkWidgetClass.size_allocate()`.
392
+ */
52
393
  getBaseline(): number;
394
+ /**
395
+ * Determines whether the input focus can enter the widget or any
396
+ * of its children.
397
+ *
398
+ * See [method@Gtk.Widget.set_can_focus].
399
+ */
53
400
  getCanFocus(): boolean;
401
+ /**
402
+ * Queries whether the widget can be the target of pointer events.
403
+ */
54
404
  getCanTarget(): boolean;
405
+ /**
406
+ * Gets the value set with [method@Gtk.Widget.set_child_visible].
407
+ *
408
+ * If you feel a need to use this function, your code probably
409
+ * needs reorganization.
410
+ *
411
+ * This function is only useful for widget implementations
412
+ * and should never be called by an application.
413
+ */
55
414
  getChildVisible(): boolean;
415
+ /**
416
+ * Gets the clipboard object for the widget.
417
+ *
418
+ * This is a utility function to get the clipboard object for the
419
+ * display that `widget` is using.
420
+ *
421
+ * Note that this function always works, even when `widget` is not
422
+ * realized yet.
423
+ */
56
424
  getClipboard(): Gdk.Clipboard;
425
+ /**
426
+ * Gets the current foreground color for the widget’s style.
427
+ *
428
+ * This function should only be used in snapshot
429
+ * implementations that need to do custom drawing
430
+ * with the foreground color.
431
+ * @param color - return location for the color
432
+ */
57
433
  getColor(color: Ref<Gdk.RGBA>): void;
434
+ /**
435
+ * Returns the list of style classes applied to the widget.
436
+ */
58
437
  getCssClasses(): string[];
438
+ /**
439
+ * Returns the CSS name of the widget.
440
+ */
59
441
  getCssName(): string;
442
+ /**
443
+ * Gets the cursor set on the widget.
444
+ *
445
+ * See [method@Gtk.Widget.set_cursor] for details.
446
+ */
60
447
  getCursor(): Gdk.Cursor | null;
448
+ /**
449
+ * Gets the reading direction for the widget.
450
+ *
451
+ * See [method@Gtk.Widget.set_direction].
452
+ */
61
453
  getDirection(): TextDirection;
454
+ /**
455
+ * Get the display for the window that the widget belongs to.
456
+ *
457
+ * This function can only be called after the widget has been
458
+ * added to a widget hierarchy with a `GtkRoot` at the top.
459
+ *
460
+ * In general, you should only create display-specific
461
+ * resources when a widget has been realized, and you should
462
+ * free those resources when the widget is unrealized.
463
+ */
62
464
  getDisplay(): Gdk.Display;
465
+ /**
466
+ * Returns the widget’s first child.
467
+ *
468
+ * This function is primarily meant for widget implementations.
469
+ */
63
470
  getFirstChild(): Widget | null;
471
+ /**
472
+ * Returns the focus child of the widget.
473
+ */
64
474
  getFocusChild(): Widget | null;
475
+ /**
476
+ * Returns whether the widget should grab focus when it is clicked
477
+ * with the mouse.
478
+ *
479
+ * See [method@Gtk.Widget.set_focus_on_click].
480
+ */
65
481
  getFocusOnClick(): boolean;
482
+ /**
483
+ * Determines whether the widget can own the input focus.
484
+ *
485
+ * See [method@Gtk.Widget.set_focusable].
486
+ */
66
487
  getFocusable(): boolean;
488
+ /**
489
+ * Gets the font map of the widget.
490
+ *
491
+ * See [method@Gtk.Widget.set_font_map].
492
+ */
67
493
  getFontMap(): Pango.FontMap | null;
494
+ /**
495
+ * Returns the `cairo_font_options_t` of the widget.
496
+ *
497
+ * Seee [method@Gtk.Widget.set_font_options].
498
+ */
68
499
  getFontOptions(): cairo.FontOptions | null;
500
+ /**
501
+ * Obtains the frame clock for a widget.
502
+ *
503
+ * The frame clock is a global “ticker” that can be used to drive
504
+ * animations and repaints. The most common reason to get the frame
505
+ * clock is to call [method@Gdk.FrameClock.get_frame_time], in order
506
+ * to get a time to use for animating. For example you might record
507
+ * the start of the animation with an initial value from
508
+ * [method@Gdk.FrameClock.get_frame_time], and then update the animation
509
+ * by calling [method@Gdk.FrameClock.get_frame_time] again during each repaint.
510
+ *
511
+ * [method@Gdk.FrameClock.request_phase] will result in a new frame on the
512
+ * clock, but won’t necessarily repaint any widgets. To repaint a widget,
513
+ * you have to use [method@Gtk.Widget.queue_draw] which invalidates the
514
+ * widget (thus scheduling it to receive a draw on the next frame).
515
+ * [method@Gtk.Widget.queue_draw] will also end up requesting a frame
516
+ * on the appropriate frame clock.
517
+ *
518
+ * A widget’s frame clock will not change while the widget is mapped.
519
+ * Reparenting a widget (which implies a temporary unmap) can change
520
+ * the widget’s frame clock.
521
+ *
522
+ * Unrealized widgets do not have a frame clock.
523
+ */
69
524
  getFrameClock(): Gdk.FrameClock | null;
525
+ /**
526
+ * Gets the horizontal alignment of the widget.
527
+ *
528
+ * For backwards compatibility reasons this method will never return
529
+ * one of the baseline alignments, but instead it will convert it to
530
+ * [enum@Gtk.Align.fill] or [enum@Gtk.Align.center].
531
+ *
532
+ * Baselines are not supported for horizontal alignment.
533
+ */
70
534
  getHalign(): Align;
535
+ /**
536
+ * Returns the current value of the `has-tooltip` property.
537
+ */
71
538
  getHasTooltip(): boolean;
539
+ /**
540
+ * Returns the content height of the widget.
541
+ *
542
+ * This function returns the height passed to its
543
+ * size-allocate implementation, which is the height you
544
+ * should be using in [vfunc@Gtk.Widget.snapshot].
545
+ *
546
+ * For pointer events, see [method@Gtk.Widget.contains].
547
+ *
548
+ * To learn more about widget sizes, see the coordinate
549
+ * system overview.
550
+ */
72
551
  getHeight(): number;
552
+ /**
553
+ * Gets whether the widget would like any available extra horizontal
554
+ * space.
555
+ *
556
+ * When a user resizes a window, widgets with expand set to true generally
557
+ * receive the extra space. For example, a list or scrollable area
558
+ * or document in your window would often be set to expand.
559
+ *
560
+ * Widgets with children should use [method@Gtk.Widget.compute_expand]
561
+ * rather than this function, to see whether any of its children,
562
+ * has the expand flag set. If any child of a widget wants to
563
+ * expand, the parent may ask to expand also.
564
+ *
565
+ * This function only looks at the widget’s own hexpand flag, rather
566
+ * than computing whether the entire widget tree rooted at this widget
567
+ * wants to expand.
568
+ */
73
569
  getHexpand(): boolean;
570
+ /**
571
+ * Gets whether the `hexpand` flag has been explicitly set.
572
+ *
573
+ * If [property@Gtk.Widget:hexpand] property is set, then it
574
+ * overrides any computed expand value based on child widgets.
575
+ * If `hexpand` is not set, then the expand value depends on
576
+ * whether any children of the widget would like to expand.
577
+ *
578
+ * There are few reasons to use this function, but it’s here
579
+ * for completeness and consistency.
580
+ */
74
581
  getHexpandSet(): boolean;
582
+ /**
583
+ * Returns the widget’s last child.
584
+ *
585
+ * This function is primarily meant for widget implementations.
586
+ */
75
587
  getLastChild(): Widget | null;
588
+ /**
589
+ * Retrieves the layout manager of the widget.
590
+ *
591
+ * See [method@Gtk.Widget.set_layout_manager].
592
+ */
76
593
  getLayoutManager(): LayoutManager | null;
594
+ /**
595
+ * Gets the value of the [property@Gtk.Widget:limit-events] property.
596
+ */
77
597
  getLimitEvents(): boolean;
598
+ /**
599
+ * Returns whether the widget is mapped.
600
+ */
78
601
  getMapped(): boolean;
602
+ /**
603
+ * Gets the bottom margin of the widget.
604
+ */
79
605
  getMarginBottom(): number;
606
+ /**
607
+ * Gets the end margin of the widget.
608
+ */
80
609
  getMarginEnd(): number;
610
+ /**
611
+ * Gets the start margin of the widget.
612
+ */
81
613
  getMarginStart(): number;
614
+ /**
615
+ * Gets the top margin of the widget.
616
+ */
82
617
  getMarginTop(): number;
618
+ /**
619
+ * Retrieves the name of a widget.
620
+ *
621
+ * See [method@Gtk.Widget.set_name] for the significance of widget names.
622
+ */
83
623
  getName(): string;
624
+ /**
625
+ * Returns the nearest `GtkNative` ancestor of the widget.
626
+ *
627
+ * This function will return `NULL` if the widget is not
628
+ * contained inside a widget tree with a native ancestor.
629
+ *
630
+ * `GtkNative` widgets will return themselves here.
631
+ */
84
632
  getNative(): Native | null;
633
+ /**
634
+ * Returns the widget’s next sibling.
635
+ *
636
+ * This function is primarily meant for widget implementations.
637
+ */
85
638
  getNextSibling(): Widget | null;
639
+ /**
640
+ * Fetches the requested opacity for the widget.
641
+ *
642
+ * See [method@Gtk.Widget.set_opacity].
643
+ */
86
644
  getOpacity(): number;
645
+ /**
646
+ * Returns the widget’s overflow value.
647
+ */
87
648
  getOverflow(): Overflow;
649
+ /**
650
+ * Gets a `PangoContext` that is configured for the widget.
651
+ *
652
+ * The `PangoContext` will have the appropriate font map, font description,
653
+ * and base direction set.
654
+ *
655
+ * Unlike the context returned by [method@Gtk.Widget.create_pango_context],
656
+ * this context is owned by the widget (it can be used until the screen
657
+ * for the widget changes or the widget is removed from its toplevel),
658
+ * and will be updated to match any changes to the widget’s attributes.
659
+ * This can be tracked by listening to changes of the
660
+ * [property@Gtk.Widget:root] property on the widget.
661
+ */
88
662
  getPangoContext(): Pango.Context;
663
+ /**
664
+ * Returns the parent widget of the widget.
665
+ */
89
666
  getParent(): Widget | null;
667
+ /**
668
+ * Retrieves the minimum and natural size of a widget, taking
669
+ * into account the widget’s preference for height-for-width management.
670
+ *
671
+ * This is used to retrieve a suitable size by container widgets which do
672
+ * not impose any restrictions on the child placement. It can be used
673
+ * to deduce toplevel window and menu sizes as well as child widgets in
674
+ * free-form containers such as `GtkFixed`.
675
+ *
676
+ * Handle with care. Note that the natural height of a height-for-width
677
+ * widget will generally be a smaller size than the minimum height, since
678
+ * the required height for the natural width is generally smaller than the
679
+ * required height for the minimum width.
680
+ *
681
+ * Use [method@Gtk.Widget.measure] if you want to support baseline alignment.
682
+ * @param minimumSize - location for storing the minimum size
683
+ * @param naturalSize - location for storing the natural size
684
+ */
90
685
  getPreferredSize(minimumSize?: Ref<Requisition> | null, naturalSize?: Ref<Requisition> | null): void;
686
+ /**
687
+ * Returns the widget’s previous sibling.
688
+ *
689
+ * This function is primarily meant for widget implementations.
690
+ */
91
691
  getPrevSibling(): Widget | null;
692
+ /**
693
+ * Gets the primary clipboard of the widget.
694
+ *
695
+ * This is a utility function to get the primary clipboard object
696
+ * for the display that `widget` is using.
697
+ *
698
+ * Note that this function always works, even when `widget` is not
699
+ * realized yet.
700
+ */
92
701
  getPrimaryClipboard(): Gdk.Clipboard;
702
+ /**
703
+ * Determines whether the widget is realized.
704
+ */
93
705
  getRealized(): boolean;
706
+ /**
707
+ * Determines whether the widget is always treated as the default widget
708
+ * within its toplevel when it has the focus, even if another widget
709
+ * is the default.
710
+ *
711
+ * See [method@Gtk.Widget.set_receives_default].
712
+ */
94
713
  getReceivesDefault(): boolean;
714
+ /**
715
+ * Gets whether the widget prefers a height-for-width layout
716
+ * or a width-for-height layout.
717
+ *
718
+ * Single-child widgets generally propagate the preference of
719
+ * their child, more complex widgets need to request something
720
+ * either in context of their children or in context of their
721
+ * allocation capabilities.
722
+ */
95
723
  getRequestMode(): SizeRequestMode;
724
+ /**
725
+ * Returns the `GtkRoot` widget of the widget.
726
+ *
727
+ * This function will return `NULL` if the widget is not contained
728
+ * inside a widget tree with a root widget.
729
+ *
730
+ * `GtkRoot` widgets will return themselves here.
731
+ */
96
732
  getRoot(): Root | null;
733
+ /**
734
+ * Retrieves the internal scale factor that maps from window
735
+ * coordinates to the actual device pixels.
736
+ *
737
+ * On traditional systems this is 1, on high density outputs,
738
+ * it can be a higher value (typically 2).
739
+ *
740
+ * See [method@Gdk.Surface.get_scale_factor].
741
+ *
742
+ * Note that modern systems may support *fractional* scaling,
743
+ * where the scale factor is not an integer. On such systems,
744
+ * this function will return the next higher integer value,
745
+ * but you probably want to use [method@Gdk.Surface.get_scale]
746
+ * to get the fractional scale value.
747
+ */
97
748
  getScaleFactor(): number;
749
+ /**
750
+ * Returns the widget’s sensitivity.
751
+ *
752
+ * This function returns the value that has been set using
753
+ * [method@Gtk.Widget.set_sensitive]).
754
+ *
755
+ * The effective sensitivity of a widget is however determined
756
+ * by both its own and its parent widget’s sensitivity.
757
+ * See [method@Gtk.Widget.is_sensitive].
758
+ */
98
759
  getSensitive(): boolean;
760
+ /**
761
+ * Gets the settings object holding the settings used for the widget.
762
+ *
763
+ * Note that this function can only be called when the `GtkWidget`
764
+ * is attached to a toplevel, since the settings object is specific
765
+ * to a particular display. If you want to monitor the widget for
766
+ * changes in its settings, connect to the `notify::display` signal.
767
+ */
99
768
  getSettings(): Settings;
769
+ /**
770
+ * Returns the content width or height of the widget.
771
+ *
772
+ * Which dimension is returned depends on @orientation.
773
+ *
774
+ * This is equivalent to calling [method@Gtk.Widget.get_width]
775
+ * for [enum@Gtk.Orientation.horizontal] or [method@Gtk.Widget.get_height]
776
+ * for [enum@Gtk.Orientation.vertical], but can be used when
777
+ * writing orientation-independent code, such as when
778
+ * implementing [iface@Gtk.Orientable] widgets.
779
+ *
780
+ * To learn more about widget sizes, see the coordinate
781
+ * system overview.
782
+ * @param orientation - the orientation to query
783
+ */
100
784
  getSize(orientation: Orientation): number;
785
+ /**
786
+ * Gets the size request that was explicitly set for the widget.
787
+ *
788
+ * A value of -1 stored in `width` or `height` indicates that that
789
+ * dimension has not been set explicitly and the natural requisition
790
+ * of the widget will be used instead.
791
+ *
792
+ * See [method@Gtk.Widget.set_size_request].
793
+ *
794
+ * To get the size a widget will actually request, call
795
+ * [method@Gtk.Widget.measure] instead of this function.
796
+ * @param width - return location for width
797
+ * @param height - return location for height
798
+ */
101
799
  getSizeRequest(width?: Ref<number> | null, height?: Ref<number> | null): void;
800
+ /**
801
+ * Returns the widget state as a flag set.
802
+ *
803
+ * It is worth mentioning that the effective [flags@Gtk.StateFlags.insensitive]
804
+ * state will be returned, that is, also based on parent insensitivity,
805
+ * even if `widget` itself is sensitive.
806
+ *
807
+ * Also note that if you are looking for a way to obtain the
808
+ * [flags@Gtk.StateFlags] to pass to a [class@Gtk.StyleContext]
809
+ * method, you should look at [method@Gtk.StyleContext.get_state].
810
+ */
102
811
  getStateFlags(): StateFlags;
812
+ /**
813
+ * Returns the style context associated to the widget.
814
+ *
815
+ * The returned object is guaranteed to be the same
816
+ * for the lifetime of @widget.
817
+ */
103
818
  getStyleContext(): StyleContext;
819
+ /**
820
+ * Fetches an object build from the template XML for `widget_type` in
821
+ * the widget.
822
+ *
823
+ * This will only report children which were previously declared
824
+ * with [method@Gtk.WidgetClass.bind_template_child_full] or one of its
825
+ * variants.
826
+ *
827
+ * This function is only meant to be called for code which is private
828
+ * to the `widget_type` which declared the child and is meant for language
829
+ * bindings which cannot easily make use of the GObject structure offsets.
830
+ * @param widgetType - The `GType` to get a template child for
831
+ * @param name - ID of the child defined in the template XML
832
+ */
104
833
  getTemplateChild(widgetType: number, name: string): GObject.GObject;
834
+ /**
835
+ * Gets the contents of the tooltip for the widget.
836
+ *
837
+ * If the tooltip has not been set using
838
+ * [method@Gtk.Widget.set_tooltip_markup], this
839
+ * function returns `NULL`.
840
+ */
105
841
  getTooltipMarkup(): string | null;
842
+ /**
843
+ * Gets the contents of the tooltip for the widget.
844
+ *
845
+ * If the @widget's tooltip was set using
846
+ * [method@Gtk.Widget.set_tooltip_markup],
847
+ * this function will return the escaped text.
848
+ */
106
849
  getTooltipText(): string | null;
850
+ /**
851
+ * Gets the vertical alignment of the widget.
852
+ */
107
853
  getValign(): Align;
854
+ /**
855
+ * Gets whether the widget would like any available extra vertical
856
+ * space.
857
+ *
858
+ * See [method@Gtk.Widget.get_hexpand] for more detail.
859
+ */
108
860
  getVexpand(): boolean;
861
+ /**
862
+ * Gets whether the `vexpand` flag has been explicitly set.
863
+ *
864
+ * See [method@Gtk.Widget.get_hexpand_set] for more detail.
865
+ */
109
866
  getVexpandSet(): boolean;
867
+ /**
868
+ * Determines whether the widget is visible.
869
+ *
870
+ * If you want to take into account whether the widget’s
871
+ * parent is also marked as visible, use
872
+ * [method@Gtk.Widget.is_visible] instead.
873
+ *
874
+ * This function does not check if the widget is
875
+ * obscured in any way.
876
+ *
877
+ * See [method@Gtk.Widget.set_visible].
878
+ */
110
879
  getVisible(): boolean;
880
+ /**
881
+ * Returns the content width of the widget.
882
+ *
883
+ * This function returns the width passed to its
884
+ * size-allocate implementation, which is the width you
885
+ * should be using in [vfunc@Gtk.Widget.snapshot].
886
+ *
887
+ * For pointer events, see [method@Gtk.Widget.contains].
888
+ *
889
+ * To learn more about widget sizes, see the coordinate
890
+ * system overview.
891
+ */
111
892
  getWidth(): number;
893
+ /**
894
+ * Causes `widget` to have the keyboard focus for the window
895
+ * that it belongs to.
896
+ *
897
+ * If `widget` is not focusable, or its [vfunc@Gtk.Widget.grab_focus]
898
+ * implementation cannot transfer the focus to a descendant of `widget` that is focusable, it will not take focus and false will be returned.
899
+ *
900
+ * Calling [method@Gtk.Widget.grab_focus] on an already focused widget
901
+ * is allowed, should not have an effect, and return true.
902
+ */
112
903
  grabFocus(): boolean;
904
+ /**
905
+ * Returns whether a style class is currently applied to the widget.
906
+ * @param cssClass - style class, without the leading period
907
+ */
113
908
  hasCssClass(cssClass: string): boolean;
909
+ /**
910
+ * Determines whether the widget is the current default widget
911
+ * within its toplevel.
912
+ */
114
913
  hasDefault(): boolean;
914
+ /**
915
+ * Determines if the widget has the global input focus.
916
+ *
917
+ * See [method@Gtk.Widget.is_focus] for the difference between
918
+ * having the global input focus, and only having the focus
919
+ * within a toplevel.
920
+ */
115
921
  hasFocus(): boolean;
922
+ /**
923
+ * Determines if the widget should show a visible indication that
924
+ * it has the global input focus.
925
+ *
926
+ * This is a convenience function that takes into account whether
927
+ * focus indication should currently be shown in the toplevel window
928
+ * of @widget. See [method@Gtk.Window.get_focus_visible] for more
929
+ * information about focus indication.
930
+ *
931
+ * To find out if the widget has the global input focus, use
932
+ * [method@Gtk.Widget.has_focus].
933
+ */
116
934
  hasVisibleFocus(): boolean;
935
+ /**
936
+ * Reverses the effects of [method.Gtk.Widget.show].
937
+ *
938
+ * This is causing the widget to be hidden (invisible to the user).
939
+ */
117
940
  hide(): void;
941
+ /**
942
+ * Returns whether the widget is currently being destroyed.
943
+ *
944
+ * This information can sometimes be used to avoid doing
945
+ * unnecessary work.
946
+ */
118
947
  inDestruction(): boolean;
948
+ /**
949
+ * Creates and initializes child widgets defined in templates.
950
+ *
951
+ * This function must be called in the instance initializer
952
+ * for any class which assigned itself a template using
953
+ * [method@Gtk.WidgetClass.set_template].
954
+ *
955
+ * It is important to call this function in the instance initializer
956
+ * of a widget subclass and not in `GObject.constructed()` or
957
+ * `GObject.constructor()` for two reasons:
958
+ *
959
+ * - derived widgets will assume that the composite widgets
960
+ * defined by its parent classes have been created in their
961
+ * relative instance initializers
962
+ * - when calling `g_object_new()` on a widget with composite templates,
963
+ * it’s important to build the composite widgets before the construct
964
+ * properties are set. Properties passed to `g_object_new()` should
965
+ * take precedence over properties set in the private template XML
966
+ *
967
+ * A good rule of thumb is to call this function as the first thing in
968
+ * an instance initialization function.
969
+ */
119
970
  initTemplate(): void;
971
+ /**
972
+ * Inserts an action group into the widget's actions.
973
+ *
974
+ * Children of `widget` that implement [iface@Gtk.Actionable] can
975
+ * then be associated with actions in `group` by setting their
976
+ * “action-name” to @prefix.`action-name`.
977
+ *
978
+ * Note that inheritance is defined for individual actions. I.e.
979
+ * even if you insert a group with prefix @prefix, actions with
980
+ * the same prefix will still be inherited from the parent, unless
981
+ * the group contains an action with the same name.
982
+ *
983
+ * If `group` is `NULL`, a previously inserted group for `name` is
984
+ * removed from @widget.
985
+ * @param name - the prefix for actions in @group
986
+ * @param group - an action group
987
+ */
120
988
  insertActionGroup(name: string, group?: Gio.ActionGroup | null): void;
989
+ /**
990
+ * Sets the parent widget of the widget.
991
+ *
992
+ * In contrast to [method@Gtk.Widget.set_parent], this function
993
+ * inserts `widget` at a specific position into the list of children
994
+ * of the `parent` widget.
995
+ *
996
+ * It will be placed after @previous_sibling, or at the beginning if
997
+ * `previous_sibling` is `NULL`.
998
+ *
999
+ * After calling this function, `gtk_widget_get_prev_sibling (widget)`
1000
+ * will return @previous_sibling.
1001
+ *
1002
+ * If `parent` is already set as the parent widget of @widget, this
1003
+ * function can also be used to reorder `widget` in the child widget
1004
+ * list of @parent.
1005
+ *
1006
+ * This function is primarily meant for widget implementations; if you are
1007
+ * just using a widget, you *must* use its own API for adding children.
1008
+ * @param parent - the parent widget to insert `widget` into
1009
+ * @param previousSibling - the new previous sibling of @widget
1010
+ */
121
1011
  insertAfter(parent: Widget, previousSibling?: Widget | null): void;
1012
+ /**
1013
+ * Sets the parent widget of the widget.
1014
+ *
1015
+ * In contrast to [method@Gtk.Widget.set_parent], this function
1016
+ * inserts `widget` at a specific position into the list of children
1017
+ * of the `parent` widget.
1018
+ *
1019
+ * It will be placed before @next_sibling, or at the end if
1020
+ * `next_sibling` is `NULL`.
1021
+ *
1022
+ * After calling this function, `gtk_widget_get_next_sibling (widget)`
1023
+ * will return @next_sibling.
1024
+ *
1025
+ * If `parent` is already set as the parent widget of @widget, this function
1026
+ * can also be used to reorder `widget` in the child widget list of @parent.
1027
+ *
1028
+ * This function is primarily meant for widget implementations; if you are
1029
+ * just using a widget, you *must* use its own API for adding children.
1030
+ * @param parent - the parent widget to insert `widget` into
1031
+ * @param nextSibling - the new next sibling of @widget
1032
+ */
122
1033
  insertBefore(parent: Widget, nextSibling?: Widget | null): void;
1034
+ /**
1035
+ * Determines whether the widget is a descendent of @ancestor.
1036
+ * @param ancestor - another `GtkWidget`
1037
+ */
123
1038
  isAncestor(ancestor: Widget): boolean;
1039
+ /**
1040
+ * Determines whether the widget can be drawn to.
1041
+ *
1042
+ * A widget can be drawn if it is mapped and visible.
1043
+ */
124
1044
  isDrawable(): boolean;
1045
+ /**
1046
+ * Determines if the widget is the focus widget within its
1047
+ * toplevel.
1048
+ *
1049
+ * This does not mean that the [property@Gtk.Widget:has-focus]
1050
+ * property is necessarily set; [property@Gtk.Widget:has-focus]
1051
+ * will only be set if the toplevel widget additionally has the
1052
+ * global input focus.
1053
+ */
125
1054
  isFocus(): boolean;
1055
+ /**
1056
+ * Returns the widget’s effective sensitivity.
1057
+ *
1058
+ * This means it is sensitive itself and also its
1059
+ * parent widget is sensitive.
1060
+ */
126
1061
  isSensitive(): boolean;
1062
+ /**
1063
+ * Determines whether the widget and all its parents are marked as
1064
+ * visible.
1065
+ *
1066
+ * This function does not check if the widget is obscured in any way.
1067
+ *
1068
+ * See also [method@Gtk.Widget.get_visible] and
1069
+ * [method@Gtk.Widget.set_visible].
1070
+ */
127
1071
  isVisible(): boolean;
1072
+ /**
1073
+ * Emits the [signal@Gtk.Widget::keynav-failed] signal on the widget.
1074
+ *
1075
+ * This function should be called whenever keyboard navigation
1076
+ * within a single widget hits a boundary.
1077
+ *
1078
+ * The return value of this function should be interpreted
1079
+ * in a way similar to the return value of
1080
+ * [method@Gtk.Widget.child_focus]. When true is returned,
1081
+ * stay in the widget, the failed keyboard navigation is ok
1082
+ * and/or there is nowhere we can/should move the focus to.
1083
+ * When false is returned, the caller should continue with
1084
+ * keyboard navigation outside the widget, e.g. by calling
1085
+ * [method@Gtk.Widget.child_focus] on the widget’s toplevel.
1086
+ *
1087
+ * The default [signal@Gtk.Widget::keynav-failed] handler returns
1088
+ * false for [enum@Gtk.DirectionType.tab-forward] and
1089
+ * [enum@Gtk.DirectionType.tab-backward]. For the other values
1090
+ * of [enum@Gtk.DirectionType] it returns true.
1091
+ *
1092
+ * Whenever the default handler returns true, it also calls
1093
+ * [method@Gtk.Widget.error_bell] to notify the user of the
1094
+ * failed keyboard navigation.
1095
+ *
1096
+ * A use case for providing an own implementation of `::keynav-failed`
1097
+ * (either by connecting to it or by overriding it) would be a row of
1098
+ * [class@Gtk.Entry] widgets where the user should be able to navigate
1099
+ * the entire row with the cursor keys, as e.g. known from user
1100
+ * interfaces that require entering license keys.
1101
+ * @param direction - direction of focus movement
1102
+ */
128
1103
  keynavFailed(direction: DirectionType): boolean;
1104
+ /**
1105
+ * Returns the widgets for which this widget is the target of a
1106
+ * mnemonic.
1107
+ *
1108
+ * Typically, these widgets will be labels. See, for example,
1109
+ * [method@Gtk.Label.set_mnemonic_widget].
1110
+ *
1111
+ * The widgets in the list are not individually referenced.
1112
+ * If you want to iterate through the list and perform actions
1113
+ * involving callbacks that might destroy the widgets, you
1114
+ * must call `g_list_foreach (result, (GFunc)g_object_ref, NULL)`
1115
+ * first, and then unref all the widgets afterwards.
1116
+ */
129
1117
  listMnemonicLabels(): Widget[];
1118
+ /**
1119
+ * Causes a widget to be mapped if it isn’t already.
1120
+ *
1121
+ * This function is only for use in widget implementations.
1122
+ */
130
1123
  map(): void;
1124
+ /**
1125
+ * Measures `widget` in the orientation `orientation` and for the given @for_size.
1126
+ *
1127
+ * As an example, if `orientation` is %GTK_ORIENTATION_HORIZONTAL and `for_size` is 300, this functions will compute the minimum and natural width of `widget` if it is allocated at a height of 300 pixels.
1128
+ *
1129
+ * See GtkWidget’s geometry management section for
1130
+ * a more details on implementing `GtkWidgetClass.measure()`.
1131
+ * @param orientation - the orientation to measure
1132
+ * @param forSize - Size for the opposite of @orientation, i.e.
1133
+ * @param minimum - location to store the minimum size
1134
+ * @param natural - location to store the natural size
1135
+ * @param minimumBaseline - location to store the baseline
1136
+ * @param naturalBaseline - location to store the baseline
1137
+ */
131
1138
  measure(orientation: Orientation, forSize: number, minimum?: Ref<number> | null, natural?: Ref<number> | null, minimumBaseline?: Ref<number> | null, naturalBaseline?: Ref<number> | null): void;
1139
+ /**
1140
+ * Emits the [signal@Gtk.Widget::mnemonic-activate] signal.
1141
+ * @param groupCycling - true if there are other widgets with the same mnemonic
1142
+ */
132
1143
  mnemonicActivate(groupCycling: boolean): boolean;
1144
+ /**
1145
+ * Returns a list model to track the children of the widget.
1146
+ *
1147
+ * Calling this function will enable extra internal bookkeeping
1148
+ * to track children and emit signals on the returned listmodel.
1149
+ * It may slow down operations a lot.
1150
+ *
1151
+ * Applications should try hard to avoid calling this function
1152
+ * because of the slowdowns.
1153
+ */
133
1154
  observeChildren(): Gio.ListModel;
1155
+ /**
1156
+ * Returns a list model to track the event controllers of the widget.
1157
+ *
1158
+ * Calling this function will enable extra internal bookkeeping
1159
+ * to track controllers and emit signals on the returned listmodel.
1160
+ * It may slow down operations a lot.
1161
+ *
1162
+ * Applications should try hard to avoid calling this function
1163
+ * because of the slowdowns.
1164
+ */
134
1165
  observeControllers(): Gio.ListModel;
1166
+ /**
1167
+ * Finds the descendant of the widget closest to a point.
1168
+ *
1169
+ * The point (x, y) must be given in widget coordinates, so (0, 0)
1170
+ * is assumed to be the top left of @widget's content area.
1171
+ *
1172
+ * Usually widgets will return `NULL` if the given coordinate is not
1173
+ * contained in `widget` checked via [method@Gtk.Widget.contains].
1174
+ * Otherwise they will recursively try to find a child that does
1175
+ * not return `NULL`. Widgets are however free to customize their
1176
+ * picking algorithm.
1177
+ *
1178
+ * This function is used on the toplevel to determine the widget
1179
+ * below the mouse cursor for purposes of hover highlighting and
1180
+ * delivering events.
1181
+ * @param x - x coordinate to test, relative to @widget's origin
1182
+ * @param y - y coordinate to test, relative to @widget's origin
1183
+ * @param flags - flags to influence what is picked
1184
+ */
135
1185
  pick(x: number, y: number, flags: PickFlags): Widget | null;
1186
+ /**
1187
+ * Flags the widget for a rerun of the [vfunc@Gtk.Widget.size_allocate]
1188
+ * function.
1189
+ *
1190
+ * Use this function instead of [method@Gtk.Widget.queue_resize]
1191
+ * when the @widget's size request didn't change but it wants to
1192
+ * reposition its contents.
1193
+ *
1194
+ * An example user of this function is [method@Gtk.Widget.set_halign].
1195
+ *
1196
+ * This function is only for use in widget implementations.
1197
+ */
136
1198
  queueAllocate(): void;
1199
+ /**
1200
+ * Schedules this widget to be redrawn.
1201
+ *
1202
+ * The redraw will happen in the paint phase
1203
+ * of the current or the next frame.
1204
+ *
1205
+ * This means @widget's [vfunc@Gtk.Widget.snapshot]
1206
+ * implementation will be called.
1207
+ */
137
1208
  queueDraw(): void;
1209
+ /**
1210
+ * Flags a widget to have its size renegotiated.
1211
+ *
1212
+ * This should be called when a widget for some reason has a new
1213
+ * size request. For example, when you change the text in a
1214
+ * [class@Gtk.Label], the label queues a resize to ensure there’s
1215
+ * enough space for the new text.
1216
+ *
1217
+ * Note that you cannot call gtk_widget_queue_resize() on a widget
1218
+ * from inside its implementation of the [vfunc@Gtk.Widget.size_allocate]
1219
+ * virtual method. Calls to gtk_widget_queue_resize() from inside
1220
+ * [vfunc@Gtk.Widget.size_allocate] will be silently ignored.
1221
+ *
1222
+ * This function is only for use in widget implementations.
1223
+ */
138
1224
  queueResize(): void;
1225
+ /**
1226
+ * Creates the GDK resources associated with a widget.
1227
+ *
1228
+ * Normally realization happens implicitly; if you show a widget
1229
+ * and all its parent containers, then the widget will be realized
1230
+ * and mapped automatically.
1231
+ *
1232
+ * Realizing a widget requires all the widget’s parent widgets to be
1233
+ * realized; calling this function realizes the widget’s parents
1234
+ * in addition to `widget` itself. If a widget is not yet inside a
1235
+ * toplevel window when you realize it, bad things will happen.
1236
+ *
1237
+ * This function is primarily used in widget implementations, and
1238
+ * isn’t very useful otherwise. Many times when you think you might
1239
+ * need it, a better approach is to connect to a signal that will be
1240
+ * called after the widget is realized automatically, such as
1241
+ * [signal@Gtk.Widget::realize].
1242
+ */
139
1243
  realize(): void;
1244
+ /**
1245
+ * Removes an event controller from the widget.
1246
+ *
1247
+ * The removed event controller will not receive any more events,
1248
+ * and should not be used again.
1249
+ *
1250
+ * Widgets will remove all event controllers automatically when they
1251
+ * are destroyed, there is normally no need to call this function.
1252
+ * @param controller - an event controller
1253
+ */
140
1254
  removeController(controller: EventController): void;
1255
+ /**
1256
+ * Removes a style from the widget.
1257
+ *
1258
+ * After this, the style of `widget` will stop matching for @css_class.
1259
+ * @param cssClass - style class to remove from @widget, without the leading period
1260
+ */
141
1261
  removeCssClass(cssClass: string): void;
1262
+ /**
1263
+ * Removes a widget from the list of mnemonic labels for this widget.
1264
+ *
1265
+ * See [method@Gtk.Widget.list_mnemonic_labels].
1266
+ *
1267
+ * The widget must have previously been added to the list with
1268
+ * [method@Gtk.Widget.add_mnemonic_label].
1269
+ * @param label - a widget that is a mnemonic label for @widget
1270
+ */
142
1271
  removeMnemonicLabel(label: Widget): void;
1272
+ /**
1273
+ * Removes a tick callback previously registered with
1274
+ * [method@Gtk.Widget.add_tick_callback].
1275
+ * @param id - an ID returned by [method@Gtk.Widget.add_tick_callback]
1276
+ */
143
1277
  removeTickCallback(id: number): void;
1278
+ /**
1279
+ * Sets whether the input focus can enter the widget or
1280
+ * any of its children.
1281
+ *
1282
+ * Applications should set `can_focus` to false to mark a
1283
+ * widget as for pointer/touch use only.
1284
+ *
1285
+ * Note that having `can_focus` be true is only one of the
1286
+ * necessary conditions for being focusable. A widget must
1287
+ * also be sensitive and focusable and not have an ancestor
1288
+ * that is marked as not can-focus in order to receive input
1289
+ * focus.
1290
+ *
1291
+ * See [method@Gtk.Widget.grab_focus] for actually setting
1292
+ * the input focus on a widget.
1293
+ * @param canFocus - whether the input focus can enter
1294
+ */
144
1295
  setCanFocus(canFocus: boolean): void;
1296
+ /**
1297
+ * Sets whether the widget can be the target of pointer events.
1298
+ * @param canTarget - whether this widget should be able to
1299
+ */
145
1300
  setCanTarget(canTarget: boolean): void;
1301
+ /**
1302
+ * Sets whether the widget should be mapped along with its parent.
1303
+ *
1304
+ * The child visibility can be set for widget before it is added
1305
+ * to a container with [method@Gtk.Widget.set_parent], to avoid
1306
+ * mapping children unnecessary before immediately unmapping them.
1307
+ * However it will be reset to its default state of true when the
1308
+ * widget is removed from a container.
1309
+ *
1310
+ * Note that changing the child visibility of a widget does not
1311
+ * queue a resize on the widget. Most of the time, the size of
1312
+ * a widget is computed from all visible children, whether or
1313
+ * not they are mapped. If this is not the case, the container
1314
+ * can queue a resize itself.
1315
+ *
1316
+ * This function is only useful for widget implementations
1317
+ * and should never be called by an application.
1318
+ * @param childVisible - whether `widget` should be mapped along
1319
+ */
146
1320
  setChildVisible(childVisible: boolean): void;
1321
+ /**
1322
+ * Replaces the current style classes of the widget with @classes.
1323
+ * @param classes - `NULL`-terminated list of style classes
1324
+ */
147
1325
  setCssClasses(classes: string[]): void;
1326
+ /**
1327
+ * Sets the cursor to be shown when the pointer hovers over
1328
+ * the widget.
1329
+ *
1330
+ * If the `cursor` is `NULL`, `widget` will use the cursor
1331
+ * inherited from its parent.
1332
+ * @param cursor - the new cursor
1333
+ */
148
1334
  setCursor(cursor?: Gdk.Cursor | null): void;
1335
+ /**
1336
+ * Sets the cursor to be shown when the pointer hovers over
1337
+ * the widget.
1338
+ *
1339
+ * This is a utility function that creates a cursor via
1340
+ * [ctor@Gdk.Cursor.new_from_name] and then sets it on `widget` with [method@Gtk.Widget.set_cursor]. See those functions for
1341
+ * details.
1342
+ *
1343
+ * On top of that, this function allows `name` to be `NULL`, which
1344
+ * will do the same as calling [method@Gtk.Widget.set_cursor]
1345
+ * with a `NULL` cursor.
1346
+ * @param name - the name of the cursor
1347
+ */
149
1348
  setCursorFromName(name?: string | null): void;
1349
+ /**
1350
+ * Sets the reading direction on the widget.
1351
+ *
1352
+ * This direction controls the primary direction for widgets
1353
+ * containing text, and also the direction in which the children
1354
+ * of a container are packed. The ability to set the direction is
1355
+ * present in order so that correct localization into languages with
1356
+ * right-to-left reading directions can be done.
1357
+ *
1358
+ * Generally, applications will let the default reading direction
1359
+ * prevail, except for widgets where the children are arranged in
1360
+ * an order that is explicitly visual rather than logical (such as
1361
+ * buttons for text justification).
1362
+ *
1363
+ * If the direction is set to [enum@Gtk.TextDirection.none], then
1364
+ * the value set by [func@Gtk.Widget.set_default_direction] will be used.
1365
+ * @param dir - the new direction
1366
+ */
150
1367
  setDirection(dir: TextDirection): void;
1368
+ /**
1369
+ * Set the focus child of the widget.
1370
+ *
1371
+ * This function is only suitable for widget implementations.
1372
+ * If you want a certain widget to get the input focus, call
1373
+ * [method@Gtk.Widget.grab_focus] on it.
1374
+ * @param child - a direct child widget of `widget` or `NULL` to unset the focus child
1375
+ */
151
1376
  setFocusChild(child?: Widget | null): void;
1377
+ /**
1378
+ * Sets whether the widget should grab focus when it is clicked
1379
+ * with the mouse.
1380
+ *
1381
+ * Making mouse clicks not grab focus is useful in places like
1382
+ * toolbars where you don’t want the keyboard focus removed from
1383
+ * the main area of the application.
1384
+ * @param focusOnClick - whether the widget should grab focus when clicked
1385
+ */
152
1386
  setFocusOnClick(focusOnClick: boolean): void;
1387
+ /**
1388
+ * Sets whether the widget can own the input focus.
1389
+ *
1390
+ * Widget implementations should set `focusable` to true in
1391
+ * their init() function if they want to receive keyboard input.
1392
+ *
1393
+ * Note that having `focusable` be true is only one of the
1394
+ * necessary conditions for being focusable. A widget must
1395
+ * also be sensitive and can-focus and not have an ancestor
1396
+ * that is marked as not can-focus in order to receive input
1397
+ * focus.
1398
+ *
1399
+ * See [method@Gtk.Widget.grab_focus] for actually setting
1400
+ * the input focus on a widget.
1401
+ * @param focusable - whether or not `widget` can own the input focus
1402
+ */
153
1403
  setFocusable(focusable: boolean): void;
1404
+ /**
1405
+ * Sets the font map to use for text rendering in the widget.
1406
+ *
1407
+ * The font map is the object that is used to look up fonts.
1408
+ * Setting a custom font map can be useful in special situations,
1409
+ * e.g. when you need to add application-specific fonts to the set
1410
+ * of available fonts.
1411
+ *
1412
+ * When not set, the widget will inherit the font map from its parent.
1413
+ * @param fontMap - a `PangoFontMap`
1414
+ */
154
1415
  setFontMap(fontMap?: Pango.FontMap | null): void;
1416
+ /**
1417
+ * Sets the `cairo_font_options_t` used for text rendering
1418
+ * in the widget.
1419
+ *
1420
+ * When not set, the default font options for the `GdkDisplay`
1421
+ * will be used.
1422
+ * @param options - a `cairo_font_options_t` struct
1423
+ */
155
1424
  setFontOptions(options?: cairo.FontOptions | null): void;
1425
+ /**
1426
+ * Sets the horizontal alignment of the widget.
1427
+ * @param align - the horizontal alignment
1428
+ */
156
1429
  setHalign(align: Align): void;
1430
+ /**
1431
+ * Sets the `has-tooltip` property on the widget.
1432
+ * @param hasTooltip - whether or not `widget` has a tooltip
1433
+ */
157
1434
  setHasTooltip(hasTooltip: boolean): void;
1435
+ /**
1436
+ * Sets whether the widget would like any available extra horizontal
1437
+ * space.
1438
+ *
1439
+ * When a user resizes a window, widgets with expand set to true generally
1440
+ * receive the extra space. For example, a list or scrollable area
1441
+ * or document in your window would often be set to expand.
1442
+ *
1443
+ * Call this function to set the expand flag if you would like your
1444
+ * widget to become larger horizontally when the window has extra
1445
+ * room.
1446
+ *
1447
+ * By default, widgets automatically expand if any of their children
1448
+ * want to expand. (To see if a widget will automatically expand given
1449
+ * its current children and state, call [method@Gtk.Widget.compute_expand].
1450
+ * A widget can decide how the expandability of children affects its
1451
+ * own expansion by overriding the `compute_expand` virtual method on
1452
+ * `GtkWidget`.).
1453
+ *
1454
+ * Setting hexpand explicitly with this function will override the
1455
+ * automatic expand behavior.
1456
+ *
1457
+ * This function forces the widget to expand or not to expand,
1458
+ * regardless of children. The override occurs because
1459
+ * [method@Gtk.Widget.set_hexpand] sets the hexpand-set property (see
1460
+ * [method@Gtk.Widget.set_hexpand_set]) which causes the widget’s hexpand
1461
+ * value to be used, rather than looking at children and widget state.
1462
+ * @param expand - whether to expand
1463
+ */
158
1464
  setHexpand(expand: boolean): void;
1465
+ /**
1466
+ * Sets whether the hexpand flag will be used.
1467
+ *
1468
+ * The [property@Gtk.Widget:hexpand-set] property will be set
1469
+ * automatically when you call [method@Gtk.Widget.set_hexpand]
1470
+ * to set hexpand, so the most likely reason to use this function
1471
+ * would be to unset an explicit expand flag.
1472
+ *
1473
+ * If hexpand is set, then it overrides any computed
1474
+ * expand value based on child widgets. If hexpand is not
1475
+ * set, then the expand value depends on whether any
1476
+ * children of the widget would like to expand.
1477
+ *
1478
+ * There are few reasons to use this function, but it’s here
1479
+ * for completeness and consistency.
1480
+ * @param set - value for hexpand-set property
1481
+ */
159
1482
  setHexpandSet(set: boolean): void;
1483
+ /**
1484
+ * Sets the layout manager to use for measuring and allocating children
1485
+ * of the widget.
1486
+ * @param layoutManager - a layout manager
1487
+ */
160
1488
  setLayoutManager(layoutManager?: LayoutManager | null): void;
1489
+ /**
1490
+ * Sets whether the widget acts like a modal dialog,
1491
+ * with respect to event delivery.
1492
+ * @param limitEvents - whether to limit events
1493
+ */
161
1494
  setLimitEvents(limitEvents: boolean): void;
1495
+ /**
1496
+ * Sets the bottom margin of the widget.
1497
+ * @param margin - the bottom margin
1498
+ */
162
1499
  setMarginBottom(margin: number): void;
1500
+ /**
1501
+ * Sets the end margin of the widget.
1502
+ * @param margin - the end margin
1503
+ */
163
1504
  setMarginEnd(margin: number): void;
1505
+ /**
1506
+ * Sets the start margin of the widget.
1507
+ * @param margin - the start margin
1508
+ */
164
1509
  setMarginStart(margin: number): void;
1510
+ /**
1511
+ * Sets the top margin of the widget.
1512
+ * @param margin - the top margin
1513
+ */
165
1514
  setMarginTop(margin: number): void;
1515
+ /**
1516
+ * Sets a widgets name.
1517
+ *
1518
+ * Setting a name allows you to refer to the widget from a
1519
+ * CSS file. You can apply a style to widgets with a particular name
1520
+ * in the CSS file. See the documentation for the CSS syntax (on the
1521
+ * same page as the docs for [class@Gtk.StyleContext].
1522
+ *
1523
+ * Note that the CSS syntax has certain special characters to delimit
1524
+ * and represent elements in a selector (period, #, >, *...), so using
1525
+ * these will make your widget impossible to match by name. Any combination
1526
+ * of alphanumeric symbols, dashes and underscores will suffice.
1527
+ * @param name - name for the widget
1528
+ */
166
1529
  setName(name: string): void;
1530
+ /**
1531
+ * Requests the widget to be rendered partially transparent.
1532
+ *
1533
+ * An opacity of 0 is fully transparent and an opacity of 1
1534
+ * is fully opaque.
1535
+ *
1536
+ * Opacity works on both toplevel widgets and child widgets, although
1537
+ * there are some limitations: For toplevel widgets, applying opacity
1538
+ * depends on the capabilities of the windowing system. On X11, this
1539
+ * has any effect only on X displays with a compositing manager, see
1540
+ * [method@Gdk.Display.is_composited]. On Windows and Wayland it will
1541
+ * always work, although setting a window’s opacity after the window
1542
+ * has been shown may cause some flicker.
1543
+ *
1544
+ * Note that the opacity is inherited through inclusion — if you set
1545
+ * a toplevel to be partially translucent, all of its content will
1546
+ * appear translucent, since it is ultimatively rendered on that
1547
+ * toplevel. The opacity value itself is not inherited by child
1548
+ * widgets (since that would make widgets deeper in the hierarchy
1549
+ * progressively more translucent). As a consequence, [class@Gtk.Popover]
1550
+ * instances and other [iface@Gtk.Native] widgets with their own surface
1551
+ * will use their own opacity value, and thus by default appear
1552
+ * non-translucent, even if they are attached to a toplevel that
1553
+ * is translucent.
1554
+ * @param opacity - desired opacity, between 0 and 1
1555
+ */
167
1556
  setOpacity(opacity: number): void;
1557
+ /**
1558
+ * Sets how the widget treats content that is drawn outside the
1559
+ * it's content area.
1560
+ *
1561
+ * See the definition of [enum@Gtk.Overflow] for details.
1562
+ *
1563
+ * This setting is provided for widget implementations and
1564
+ * should not be used by application code.
1565
+ *
1566
+ * The default value is [enum@Gtk.Overflow.visible].
1567
+ * @param overflow - desired overflow value
1568
+ */
168
1569
  setOverflow(overflow: Overflow): void;
1570
+ /**
1571
+ * Sets the parent widget of the widget.
1572
+ *
1573
+ * This takes care of details such as updating the state and style
1574
+ * of the child to reflect its new location and resizing the parent.
1575
+ * The opposite function is [method@Gtk.Widget.unparent].
1576
+ *
1577
+ * This function is useful only when implementing subclasses of
1578
+ * `GtkWidget`.
1579
+ * @param parent - parent widget
1580
+ */
169
1581
  setParent(parent: Widget): void;
1582
+ /**
1583
+ * Sets whether the widget will be treated as the default
1584
+ * widget within its toplevel when it has the focus, even if
1585
+ * another widget is the default.
1586
+ * @param receivesDefault - whether or not `widget` can be a default widget
1587
+ */
170
1588
  setReceivesDefault(receivesDefault: boolean): void;
1589
+ /**
1590
+ * Sets the sensitivity of the widget.
1591
+ *
1592
+ * A widget is sensitive if the user can interact with it.
1593
+ * Insensitive widgets are “grayed out” and the user can’t
1594
+ * interact with them. Insensitive widgets are known as
1595
+ * “inactive”, “disabled”, or “ghosted” in some other toolkits.
1596
+ * @param sensitive - true to make the widget sensitive
1597
+ */
171
1598
  setSensitive(sensitive: boolean): void;
1599
+ /**
1600
+ * Sets the minimum size of the widget.
1601
+ *
1602
+ * That is, the widget’s size request will be at least `width` by @height. You can use this function to force a widget to
1603
+ * be larger than it normally would be.
1604
+ *
1605
+ * In most cases, [method@Gtk.Window.set_default_size] is a better
1606
+ * choice for toplevel windows than this function; setting the default
1607
+ * size will still allow users to shrink the window. Setting the size
1608
+ * request will force them to leave the window at least as large as
1609
+ * the size request.
1610
+ *
1611
+ * Note the inherent danger of setting any fixed size - themes,
1612
+ * translations into other languages, different fonts, and user action
1613
+ * can all change the appropriate size for a given widget. So, it is
1614
+ * basically impossible to hardcode a size that will always work.
1615
+ *
1616
+ * The size request of a widget is the smallest size a widget can
1617
+ * accept while still functioning well and drawing itself correctly.
1618
+ * However in some strange cases a widget may be allocated less than
1619
+ * its requested size, and in many cases a widget may be allocated more
1620
+ * space than it requested.
1621
+ *
1622
+ * If the size request in a given direction is -1 (unset), then
1623
+ * the “natural” size request of the widget will be used instead.
1624
+ *
1625
+ * The size request set here does not include any margin from the
1626
+ * properties
1627
+ * [property@Gtk.Widget:margin-start],
1628
+ * [property@Gtk.Widget:margin-end],
1629
+ * [property@Gtk.Widget:margin-top], and
1630
+ * [property@Gtk.Widget:margin-bottom], but it does include pretty
1631
+ * much all other padding or border properties set by any subclass
1632
+ * of `GtkWidget`.
1633
+ * @param width - width `widget` should request, or -1 to unset
1634
+ * @param height - height `widget` should request, or -1 to unset
1635
+ */
172
1636
  setSizeRequest(width: number, height: number): void;
1637
+ /**
1638
+ * Turns on flag values in the current widget state.
1639
+ *
1640
+ * Typical widget states are insensitive, prelighted, etc.
1641
+ *
1642
+ * This function accepts the values [flags@Gtk.StateFlags.dir-ltr] and
1643
+ * [flags@Gtk.StateFlags.dir-rtl] but ignores them. If you want to set
1644
+ * the widget's direction, use [method@Gtk.Widget.set_direction].
1645
+ *
1646
+ * This function is for use in widget implementations.
1647
+ * @param flags - state flags to turn on
1648
+ * @param clear - whether to clear state before turning on @flags
1649
+ */
173
1650
  setStateFlags(flags: StateFlags, clear: boolean): void;
1651
+ /**
1652
+ * Sets the contents of the tooltip for widget.
1653
+ *
1654
+ * `markup` must contain Pango markup.
1655
+ *
1656
+ * This function will take care of setting the
1657
+ * [property@Gtk.Widget:has-tooltip] as a side effect, and of the
1658
+ * default handler for the [signal@Gtk.Widget::query-tooltip] signal.
1659
+ *
1660
+ * See also [method@Gtk.Tooltip.set_markup].
1661
+ * @param markup - the contents of the tooltip for @widget
1662
+ */
174
1663
  setTooltipMarkup(markup?: string | null): void;
1664
+ /**
1665
+ * Sets the contents of the tooltip for the widget.
1666
+ *
1667
+ * If `text` contains any markup, it will be escaped.
1668
+ *
1669
+ * This function will take care of setting
1670
+ * [property@Gtk.Widget:has-tooltip] as a side effect,
1671
+ * and of the default handler for the
1672
+ * [signal@Gtk.Widget::query-tooltip] signal.
1673
+ *
1674
+ * See also [method@Gtk.Tooltip.set_text].
1675
+ * @param text - the contents of the tooltip for @widget
1676
+ */
175
1677
  setTooltipText(text?: string | null): void;
1678
+ /**
1679
+ * Sets the vertical alignment of the widget.
1680
+ * @param align - the vertical alignment
1681
+ */
176
1682
  setValign(align: Align): void;
1683
+ /**
1684
+ * Sets whether the widget would like any available extra vertical
1685
+ * space.
1686
+ *
1687
+ * See [method@Gtk.Widget.set_hexpand] for more detail.
1688
+ * @param expand - whether to expand
1689
+ */
177
1690
  setVexpand(expand: boolean): void;
1691
+ /**
1692
+ * Sets whether the vexpand flag will be used.
1693
+ *
1694
+ * See [method@Gtk.Widget.set_hexpand_set] for more detail.
1695
+ * @param set - value for vexpand-set property
1696
+ */
178
1697
  setVexpandSet(set: boolean): void;
1698
+ /**
1699
+ * Sets the visibility state of @widget.
1700
+ *
1701
+ * Note that setting this to true doesn’t mean the widget is
1702
+ * actually viewable, see [method@Gtk.Widget.get_visible].
1703
+ * @param visible - whether the widget should be shown or not
1704
+ */
179
1705
  setVisible(visible: boolean): void;
1706
+ /**
1707
+ * Returns whether the widget should contribute to
1708
+ * the measuring and allocation of its parent.
1709
+ *
1710
+ * This is false for invisible children, but also
1711
+ * for children that have their own surface, such
1712
+ * as [class@Gtk.Popover] instances.
1713
+ */
180
1714
  shouldLayout(): boolean;
1715
+ /**
1716
+ * Flags a widget to be displayed.
1717
+ *
1718
+ * Any widget that isn’t shown will not appear on the screen.
1719
+ *
1720
+ * Remember that you have to show the containers containing a widget,
1721
+ * in addition to the widget itself, before it will appear onscreen.
1722
+ *
1723
+ * When a toplevel widget is shown, it is immediately realized and
1724
+ * mapped; other shown widgets are realized and mapped when their
1725
+ * toplevel widget is realized and mapped.
1726
+ */
181
1727
  show(): void;
1728
+ /**
1729
+ * Allocates widget with a transformation that translates
1730
+ * the origin to the position in @allocation.
1731
+ *
1732
+ * This is a simple form of [method@Gtk.Widget.allocate].
1733
+ * @param allocation - position and size to be allocated to @widget
1734
+ * @param baseline - the baseline of the child, or -1
1735
+ */
182
1736
  sizeAllocate(allocation: number, baseline: number): void;
1737
+ /**
1738
+ * Snapshots a child of the widget.
1739
+ *
1740
+ * When a widget receives a call to the snapshot function,
1741
+ * it must send synthetic [vfunc@Gtk.Widget.snapshot] calls
1742
+ * to all children. This function provides a convenient way
1743
+ * of doing this. A widget, when it receives a call to its
1744
+ * [vfunc@Gtk.Widget.snapshot] function, calls
1745
+ * gtk_widget_snapshot_child() once for each child, passing in
1746
+ * the `snapshot` the widget received.
1747
+ *
1748
+ * This function takes care of translating the origin of @snapshot,
1749
+ * and deciding whether the child needs to be snapshot.
1750
+ *
1751
+ * It does nothing for children that implement `GtkNative`.
1752
+ * @param child - a child of @widget
1753
+ * @param snapshot - snapshot as passed to the widget. In particular, no
1754
+ */
183
1755
  snapshotChild(child: Widget, snapshot: Snapshot): void;
1756
+ /**
1757
+ * Translates coordinates relative to @src_widget’s allocation
1758
+ * to coordinates relative to @dest_widget’s allocations.
1759
+ *
1760
+ * In order to perform this operation, both widget must share
1761
+ * a common ancestor. If that is not the case, `dest_x` and `dest_y` are set to 0 and false is returned.
1762
+ * @param destWidget - another widget
1763
+ * @param srcX - X position in widget coordinates of @src_widget
1764
+ * @param srcY - Y position in widget coordinates of @src_widget
1765
+ * @param destX - location to store X position in widget coordinates of @dest_widget
1766
+ * @param destY - location to store Y position in widget coordinates of @dest_widget
1767
+ */
184
1768
  translateCoordinates(destWidget: Widget, srcX: number, srcY: number, destX?: Ref<number> | null, destY?: Ref<number> | null): boolean;
1769
+ /**
1770
+ * Triggers a tooltip query on the display of the widget.
1771
+ */
185
1772
  triggerTooltipQuery(): void;
1773
+ /**
1774
+ * Causes a widget to be unmapped if it’s currently mapped.
1775
+ *
1776
+ * This function is only for use in widget implementations.
1777
+ */
186
1778
  unmap(): void;
1779
+ /**
1780
+ * Removes `widget` from its parent.
1781
+ *
1782
+ * This function is only for use in widget implementations,
1783
+ * typically in dispose.
1784
+ */
187
1785
  unparent(): void;
1786
+ /**
1787
+ * Causes a widget to be unrealized.
1788
+ *
1789
+ * This frees all GDK resources associated with the widget.
1790
+ *
1791
+ * This function is only useful in widget implementations.
1792
+ */
188
1793
  unrealize(): void;
1794
+ /**
1795
+ * Turns off flag values for the current widget state.
1796
+ *
1797
+ * See [method@Gtk.Widget.set_state_flags].
1798
+ *
1799
+ * This function is for use in widget implementations.
1800
+ * @param flags - state flags to turn off
1801
+ */
189
1802
  unsetStateFlags(flags: StateFlags): void;
1803
+ /**
1804
+ * Requests the user's screen reader to announce the given message.
1805
+ *
1806
+ * This kind of notification is useful for messages that
1807
+ * either have only a visual representation or that are not
1808
+ * exposed visually at all, e.g. a notification about a
1809
+ * successful operation.
1810
+ *
1811
+ * Also, by using this API, you can ensure that the message
1812
+ * does not interrupts the user's current screen reader output.
1813
+ * @param message - the string to announce
1814
+ * @param priority - the priority of the announcement
1815
+ */
190
1816
  announce(message: string, priority: AccessibleAnnouncementPriority): void;
1817
+ /**
1818
+ * Retrieves the accessible parent for an accessible object.
1819
+ *
1820
+ * This function returns `NULL` for top level widgets.
1821
+ */
191
1822
  getAccessibleParent(): Accessible | null;
1823
+ /**
1824
+ * Retrieves the accessible role of an accessible object.
1825
+ */
192
1826
  getAccessibleRole(): AccessibleRole;
1827
+ /**
1828
+ * Retrieves the implementation for the given accessible object.
1829
+ */
193
1830
  getAtContext(): ATContext;
1831
+ /**
1832
+ * Queries the coordinates and dimensions of this accessible
1833
+ *
1834
+ * This functionality can be overridden by `GtkAccessible`
1835
+ * implementations, e.g. to get the bounds from an ignored
1836
+ * child widget.
1837
+ * @param x - the x coordinate of the top left corner of the accessible
1838
+ * @param y - the y coordinate of the top left corner of the widget
1839
+ * @param width - the width of the accessible object
1840
+ * @param height - the height of the accessible object
1841
+ */
194
1842
  getBounds(x: Ref<number>, y: Ref<number>, width: Ref<number>, height: Ref<number>): boolean;
1843
+ /**
1844
+ * Retrieves the first accessible child of an accessible object.
1845
+ */
195
1846
  getFirstAccessibleChild(): Accessible | null;
1847
+ /**
1848
+ * Retrieves the next accessible sibling of an accessible object
1849
+ */
196
1850
  getNextAccessibleSibling(): Accessible | null;
1851
+ /**
1852
+ * Queries a platform state, such as focus.
1853
+ *
1854
+ * This functionality can be overridden by `GtkAccessible`
1855
+ * implementations, e.g. to get platform state from an ignored
1856
+ * child widget, as is the case for `GtkText` wrappers.
1857
+ * @param state - platform state to query
1858
+ */
197
1859
  getPlatformState(state: AccessiblePlatformState): boolean;
1860
+ /**
1861
+ * Resets the accessible property to its default value.
1862
+ * @param property - the accessible property
1863
+ */
198
1864
  resetProperty(property: AccessibleProperty): void;
1865
+ /**
1866
+ * Resets the accessible relation to its default value.
1867
+ * @param relation - the accessible relation
1868
+ */
199
1869
  resetRelation(relation: AccessibleRelation): void;
1870
+ /**
1871
+ * Resets the accessible state to its default value.
1872
+ * @param state - the accessible state
1873
+ */
200
1874
  resetState(state: AccessibleState): void;
1875
+ /**
1876
+ * Sets the parent and sibling of an accessible object.
1877
+ *
1878
+ * This function is meant to be used by accessible implementations that are
1879
+ * not part of the widget hierarchy, and but act as a logical bridge between
1880
+ * widgets. For instance, if a widget creates an object that holds metadata
1881
+ * for each child, and you want that object to implement the `GtkAccessible`
1882
+ * interface, you will use this function to ensure that the parent of each
1883
+ * child widget is the metadata object, and the parent of each metadata
1884
+ * object is the container widget.
1885
+ * @param parent - the parent accessible object
1886
+ * @param nextSibling - the sibling accessible object
1887
+ */
201
1888
  setAccessibleParent(parent?: Accessible | null, nextSibling?: Accessible | null): void;
1889
+ /**
1890
+ * Updates the next accessible sibling.
1891
+ *
1892
+ * That might be useful when a new child of a custom accessible
1893
+ * is created, and it needs to be linked to a previous child.
1894
+ * @param newSibling - the new next accessible sibling to set
1895
+ */
202
1896
  updateNextAccessibleSibling(newSibling?: Accessible | null): void;
1897
+ /**
1898
+ * Informs ATs that the platform state has changed.
1899
+ *
1900
+ * This function should be used by `GtkAccessible` implementations that
1901
+ * have a platform state but are not widgets. Widgets handle platform
1902
+ * states automatically.
1903
+ * @param state - the platform state to update
1904
+ */
203
1905
  updatePlatformState(state: AccessiblePlatformState): void;
1906
+ /**
1907
+ * Updates an array of accessible properties.
1908
+ *
1909
+ * This function should be called by `GtkWidget` types whenever an accessible
1910
+ * property change must be communicated to assistive technologies.
1911
+ *
1912
+ * This function is meant to be used by language bindings.
1913
+ * @param nProperties - the number of accessible properties to set
1914
+ * @param properties - an array of accessible properties
1915
+ * @param values - an array of `GValues`, one for each property
1916
+ */
204
1917
  updatePropertyValue(nProperties: number, properties: AccessibleProperty[], values: GObject.Value[]): void;
1918
+ /**
1919
+ * Updates an array of accessible relations.
1920
+ *
1921
+ * This function should be called by `GtkWidget` types whenever an accessible
1922
+ * relation change must be communicated to assistive technologies.
1923
+ *
1924
+ * This function is meant to be used by language bindings.
1925
+ * @param nRelations - the number of accessible relations to set
1926
+ * @param relations - an array of accessible relations
1927
+ * @param values - an array of `GValues`, one for each relation
1928
+ */
205
1929
  updateRelationValue(nRelations: number, relations: AccessibleRelation[], values: GObject.Value[]): void;
1930
+ /**
1931
+ * Updates an array of accessible states.
1932
+ *
1933
+ * This function should be called by `GtkWidget` types whenever an accessible
1934
+ * state change must be communicated to assistive technologies.
1935
+ *
1936
+ * This function is meant to be used by language bindings.
1937
+ * @param nStates - the number of accessible states to set
1938
+ * @param states - an array of accessible states
1939
+ * @param values - an array of `GValues`, one for each state
1940
+ */
206
1941
  updateStateValue(nStates: number, states: AccessibleState[], values: GObject.Value[]): void;
1942
+ /**
1943
+ * Gets the ID of the `buildable` object.
1944
+ *
1945
+ * `GtkBuilder` sets the name based on the ID attribute
1946
+ * of the `<object>` tag used to construct the @buildable.
1947
+ */
207
1948
  getBuildableId(): string | null;
208
1949
  connect(signal: "destroy", handler: (self: Widget) => void, after?: boolean): number;
209
1950
  connect(signal: "direction-changed", handler: (self: Widget, previousDirection: TextDirection) => void, after?: boolean): number;