chore(build): repair vendored baseline
- commit
- d4952b41d17da47c4f9870c27e97820adf5202e5
- author
- brice · · 2026-07-14 05:44 UTC
- parent
- ae333bf
- signature
- GPG Verified
CD88F9E564E0102646FB6077A1A07C7C7C3E349D· arch-gpg Verified for the committer email
3316 files · +1391338 -4
M Makefile +2 -2
| @@ -239,13 +239,13 @@ flatpak-deps: ## Install Flatpak build dependencies (Arch) | |||
| 239 | 239 | ||
| 240 | 240 | flatpak-build: ## Build Flatpak bundle locally | |
| 241 | 241 | @echo "Building Flatpak bundle..." | |
| 242 | - | flatpak-builder --force-clean --user --repo=flatpak-repo flatpak-build dev.bnema.Dumber.yml | |
| 242 | + | flatpak-builder --force-clean --user --repo=flatpak-repo flatpak-build flatpak/dev.bnema.Dumber.yml | |
| 243 | 243 | flatpak build-bundle flatpak-repo dumber.flatpak dev.bnema.Dumber | |
| 244 | 244 | @echo "Flatpak bundle created: dumber.flatpak" | |
| 245 | 245 | ||
| 246 | 246 | flatpak-install: ## Install Flatpak locally for testing | |
| 247 | 247 | @echo "Installing Flatpak locally..." | |
| 248 | - | flatpak-builder --force-clean --user --install flatpak-build dev.bnema.Dumber.yml | |
| 248 | + | flatpak-builder --force-clean --user --install flatpak-build flatpak/dev.bnema.Dumber.yml | |
| 249 | 249 | @echo "Flatpak installed! Run with: make flatpak-run" | |
| 250 | 250 | ||
| 251 | 251 | flatpak-run: ## Run the installed Flatpak | |
| @@ -239,13 +239,13 @@ flatpak-deps: ## Install Flatpak build dependencies (Arch) | |||||
| 239 | 239 | ||||
| 240 | flatpak-build: ## Build Flatpak bundle locally | 240 | flatpak-build: ## Build Flatpak bundle locally | ||
| 241 | @echo "Building Flatpak bundle..." | 241 | @echo "Building Flatpak bundle..." | ||
| 242 | - | flatpak-builder --force-clean --user --repo=flatpak-repo flatpak-build dev.bnema.Dumber.yml | 242 | + | flatpak-builder --force-clean --user --repo=flatpak-repo flatpak-build flatpak/dev.bnema.Dumber.yml |
| 243 | flatpak build-bundle flatpak-repo dumber.flatpak dev.bnema.Dumber | 243 | flatpak build-bundle flatpak-repo dumber.flatpak dev.bnema.Dumber | ||
| 244 | @echo "Flatpak bundle created: dumber.flatpak" | 244 | @echo "Flatpak bundle created: dumber.flatpak" | ||
| 245 | 245 | ||||
| 246 | flatpak-install: ## Install Flatpak locally for testing | 246 | flatpak-install: ## Install Flatpak locally for testing | ||
| 247 | @echo "Installing Flatpak locally..." | 247 | @echo "Installing Flatpak locally..." | ||
| 248 | - | flatpak-builder --force-clean --user --install flatpak-build dev.bnema.Dumber.yml | 248 | + | flatpak-builder --force-clean --user --install flatpak-build flatpak/dev.bnema.Dumber.yml |
| 249 | @echo "Flatpak installed! Run with: make flatpak-run" | 249 | @echo "Flatpak installed! Run with: make flatpak-run" | ||
| 250 | 250 | ||||
| 251 | flatpak-run: ## Run the installed Flatpak | 251 | flatpak-run: ## Run the installed Flatpak | ||
M flatpak/dev.bnema.Dumber.yml +2 -2
| @@ -53,10 +53,10 @@ modules: | |||
| 53 | 53 | path: dev.bnema.Dumber.desktop | |
| 54 | 54 | # Icons | |
| 55 | 55 | - type: file | |
| 56 | - | path: assets/logo.svg | |
| 56 | + | path: ../assets/logo.svg | |
| 57 | 57 | dest-filename: logo.svg | |
| 58 | 58 | - type: file | |
| 59 | - | path: assets/logo-512.png | |
| 59 | + | path: ../assets/logo-512.png | |
| 60 | 60 | dest-filename: logo-512.png | |
| 61 | 61 | # Metainfo | |
| 62 | 62 | - type: file | |
| @@ -53,10 +53,10 @@ modules: | |||||
| 53 | path: dev.bnema.Dumber.desktop | 53 | path: dev.bnema.Dumber.desktop | ||
| 54 | # Icons | 54 | # Icons | ||
| 55 | - type: file | 55 | - type: file | ||
| 56 | - | path: assets/logo.svg | 56 | + | path: ../assets/logo.svg |
| 57 | dest-filename: logo.svg | 57 | dest-filename: logo.svg | ||
| 58 | - type: file | 58 | - type: file | ||
| 59 | - | path: assets/logo-512.png | 59 | + | path: ../assets/logo-512.png |
| 60 | dest-filename: logo-512.png | 60 | dest-filename: logo-512.png | ||
| 61 | # Metainfo | 61 | # Metainfo | ||
| 62 | - type: file | 62 | - type: file | ||
A vendor/github.com/a-h/parse/.gitignore +1 -0 generated file: collapsed
A vendor/github.com/a-h/parse/LICENSE +21 -0 generated file: collapsed
A vendor/github.com/a-h/parse/README.md +145 -0 generated file: collapsed
A vendor/github.com/a-h/parse/all.go +26 -0 generated file: collapsed
A vendor/github.com/a-h/parse/any.go +22 -0 generated file: collapsed
A vendor/github.com/a-h/parse/convert.go +14 -0 generated file: collapsed
A vendor/github.com/a-h/parse/digits.go +4 -0 generated file: collapsed
A vendor/github.com/a-h/parse/eof.go +15 -0 generated file: collapsed
A vendor/github.com/a-h/parse/error.go +21 -0 generated file: collapsed
A vendor/github.com/a-h/parse/input.go +79 -0 generated file: collapsed
A vendor/github.com/a-h/parse/optional.go +26 -0 generated file: collapsed
A vendor/github.com/a-h/parse/or.go +37 -0 generated file: collapsed
A vendor/github.com/a-h/parse/regexp.go +46 -0 generated file: collapsed
A vendor/github.com/a-h/parse/rune.go +58 -0 generated file: collapsed
A vendor/github.com/a-h/parse/sequenceof2.go +27 -0 generated file: collapsed
A vendor/github.com/a-h/parse/sequenceof3.go +35 -0 generated file: collapsed
A vendor/github.com/a-h/parse/sequenceof4.go +41 -0 generated file: collapsed
A vendor/github.com/a-h/parse/sequenceof5.go +48 -0 generated file: collapsed
A vendor/github.com/a-h/parse/sequenceof6.go +55 -0 generated file: collapsed
A vendor/github.com/a-h/parse/sequenceof7.go +62 -0 generated file: collapsed
A vendor/github.com/a-h/parse/sequenceof8.go +69 -0 generated file: collapsed
A vendor/github.com/a-h/parse/sequenceof9.go +76 -0 generated file: collapsed
A vendor/github.com/a-h/parse/string.go +40 -0 generated file: collapsed
A vendor/github.com/a-h/parse/stringfrom.go +30 -0 generated file: collapsed
A vendor/github.com/a-h/parse/stringuntil.go +49 -0 generated file: collapsed
A vendor/github.com/a-h/parse/then.go +9 -0 generated file: collapsed
A vendor/github.com/a-h/parse/times.go +83 -0 generated file: collapsed
A vendor/github.com/a-h/parse/tuples.go +69 -0 generated file: collapsed
A vendor/github.com/a-h/parse/types.go +33 -0 generated file: collapsed
A vendor/github.com/a-h/parse/until.go +68 -0 generated file: collapsed
A vendor/github.com/a-h/parse/whitespace.go +29 -0 generated file: collapsed
A vendor/github.com/a-h/templ/.dockerignore +3 -0 generated file: collapsed
A vendor/github.com/a-h/templ/.envrc +1 -0 generated file: collapsed
A vendor/github.com/a-h/templ/.gitignore +40 -0 generated file: collapsed
A vendor/github.com/a-h/templ/.goreleaser.yaml +72 -0 generated file: collapsed
A vendor/github.com/a-h/templ/.ignore +9 -0 generated file: collapsed
A vendor/github.com/a-h/templ/.version +1 -0 generated file: collapsed
A vendor/github.com/a-h/templ/CODE_OF_CONDUCT.md +128 -0 generated file: collapsed
A vendor/github.com/a-h/templ/CONTRIBUTING.md +247 -0 generated file: collapsed
A vendor/github.com/a-h/templ/LICENSE +21 -0 generated file: collapsed
A vendor/github.com/a-h/templ/README.md +194 -0 generated file: collapsed
A vendor/github.com/a-h/templ/SECURITY.md +9 -0 generated file: collapsed
A vendor/github.com/a-h/templ/cmd/templ/fmtcmd/main.go +132 -0 generated file: collapsed
A vendor/github.com/a-h/templ/cmd/templ/fmtcmd/testdata.txtar +66 -0 generated file: collapsed
A vendor/github.com/a-h/templ/cmd/templ/generatecmd/cmd.go +452 -0 generated file: collapsed
A vendor/github.com/a-h/templ/cmd/templ/generatecmd/eventhandler.go +349 -0 generated file: collapsed
A vendor/github.com/a-h/templ/cmd/templ/generatecmd/fatalerror.go +23 -0 generated file: collapsed
A vendor/github.com/a-h/templ/cmd/templ/generatecmd/main.go +237 -0 generated file: collapsed
A vendor/github.com/a-h/templ/cmd/templ/generatecmd/modcheck/modcheck.go +82 -0 generated file: collapsed
A vendor/github.com/a-h/templ/cmd/templ/generatecmd/proxy/proxy.go +385 -0 generated file: collapsed
A vendor/github.com/a-h/templ/cmd/templ/generatecmd/proxy/script.js +10 -0 generated file: collapsed
A vendor/github.com/a-h/templ/cmd/templ/generatecmd/run/run_unix.go +88 -0 generated file: collapsed
A vendor/github.com/a-h/templ/cmd/templ/generatecmd/run/run_windows.go +75 -0 generated file: collapsed
A vendor/github.com/a-h/templ/cmd/templ/generatecmd/sse/server.go +84 -0 generated file: collapsed
A vendor/github.com/a-h/templ/cmd/templ/generatecmd/watcher/watch.go +166 -0 generated file: collapsed
A vendor/github.com/a-h/templ/cmd/templ/infocmd/main.go +195 -0 generated file: collapsed
A vendor/github.com/a-h/templ/cmd/templ/lspcmd/httpdebug/handler.go +130 -0 generated file: collapsed
A vendor/github.com/a-h/templ/cmd/templ/lspcmd/httpdebug/list.templ +22 -0 generated file: collapsed
A vendor/github.com/a-h/templ/cmd/templ/lspcmd/httpdebug/list_templ.go +114 -0 generated file: collapsed
A vendor/github.com/a-h/templ/cmd/templ/lspcmd/main.go +145 -0 generated file: collapsed
A vendor/github.com/a-h/templ/cmd/templ/lspcmd/pls/main.go +128 -0 generated file: collapsed
A vendor/github.com/a-h/templ/cmd/templ/lspcmd/proxy/client.go +146 -0 generated file: collapsed
A vendor/github.com/a-h/templ/cmd/templ/lspcmd/proxy/diagnosticcache.go +61 -0 generated file: collapsed
A vendor/github.com/a-h/templ/cmd/templ/lspcmd/proxy/documentcontents.go +215 -0 generated file: collapsed
A vendor/github.com/a-h/templ/cmd/templ/lspcmd/proxy/rewrite.go +24 -0 generated file: collapsed
A vendor/github.com/a-h/templ/cmd/templ/lspcmd/proxy/server.go +1464 -0 generated file: collapsed
A vendor/github.com/a-h/templ/cmd/templ/lspcmd/proxy/snippets.go +111 -0 generated file: collapsed
A vendor/github.com/a-h/templ/cmd/templ/lspcmd/proxy/sourcemapcache.go +60 -0 generated file: collapsed
A vendor/github.com/a-h/templ/cmd/templ/lspcmd/stdrwc.go +50 -0 generated file: collapsed
A vendor/github.com/a-h/templ/cmd/templ/main.go +280 -0 generated file: collapsed
A vendor/github.com/a-h/templ/cmd/templ/processor/processor.go +66 -0 generated file: collapsed
A vendor/github.com/a-h/templ/cmd/templ/sloghandler/handler.go +120 -0 generated file: collapsed
A vendor/github.com/a-h/templ/cmd/templ/visualize/sourcemapvisualisation.templ +68 -0 generated file: collapsed
A vendor/github.com/a-h/templ/cmd/templ/visualize/sourcemapvisualisation_templ.go +295 -0 generated file: collapsed
A vendor/github.com/a-h/templ/cmd/templ/visualize/types.go +87 -0 generated file: collapsed
A vendor/github.com/a-h/templ/cosign.pub +4 -0 generated file: collapsed
A vendor/github.com/a-h/templ/flake.lock +87 -0 generated file: collapsed
A vendor/github.com/a-h/templ/flake.nix +99 -0 generated file: collapsed
A vendor/github.com/a-h/templ/flush.go +36 -0 generated file: collapsed
A vendor/github.com/a-h/templ/fragment.go +73 -0 generated file: collapsed
A vendor/github.com/a-h/templ/generator/generator.go +1829 -0 generated file: collapsed
A vendor/github.com/a-h/templ/generator/rangewriter.go +122 -0 generated file: collapsed
A vendor/github.com/a-h/templ/handler.go +163 -0 generated file: collapsed
A vendor/github.com/a-h/templ/ide-demo.gif +0 -0 binary file: no text diff
binary file: no text diff
A vendor/github.com/a-h/templ/internal/format/scriptelement.go +96 -0 generated file: collapsed
A vendor/github.com/a-h/templ/internal/format/styleelement.go +25 -0 generated file: collapsed
A vendor/github.com/a-h/templ/internal/format/templ.go +102 -0 generated file: collapsed
A vendor/github.com/a-h/templ/internal/htmlfind/htmlfind.go +67 -0 generated file: collapsed
A vendor/github.com/a-h/templ/internal/imports/process.go +218 -0 generated file: collapsed
A vendor/github.com/a-h/templ/internal/lazyloader/docheader.go +27 -0 generated file: collapsed
A vendor/github.com/a-h/templ/internal/lazyloader/docheaderparser.go +53 -0 generated file: collapsed
A vendor/github.com/a-h/templ/internal/lazyloader/pkgloader.go +55 -0 generated file: collapsed
A vendor/github.com/a-h/templ/internal/lazyloader/pkgtraverser.go +110 -0 generated file: collapsed
A vendor/github.com/a-h/templ/internal/lazyloader/templdoclazyloader.go +161 -0 generated file: collapsed
A vendor/github.com/a-h/templ/internal/prettier/prettier.go +133 -0 generated file: collapsed
A vendor/github.com/a-h/templ/internal/prettier/testdata.txtar +12 -0 generated file: collapsed
A vendor/github.com/a-h/templ/internal/skipdir/skipdir.go +20 -0 generated file: collapsed
A vendor/github.com/a-h/templ/internal/syncmap/map.go +49 -0 generated file: collapsed
A vendor/github.com/a-h/templ/internal/syncset/set.go +42 -0 generated file: collapsed
A vendor/github.com/a-h/templ/join.go +19 -0 generated file: collapsed
A vendor/github.com/a-h/templ/js.go +40 -0 generated file: collapsed
A vendor/github.com/a-h/templ/jsonscript.go +85 -0 generated file: collapsed
A vendor/github.com/a-h/templ/jsonstring.go +14 -0 generated file: collapsed
A vendor/github.com/a-h/templ/lsp/LICENSE +29 -0 generated file: collapsed
A vendor/github.com/a-h/templ/lsp/jsonrpc2/codes.go +86 -0 generated file: collapsed
A vendor/github.com/a-h/templ/lsp/jsonrpc2/conn.go +244 -0 generated file: collapsed
A vendor/github.com/a-h/templ/lsp/jsonrpc2/errors.go +70 -0 generated file: collapsed
A vendor/github.com/a-h/templ/lsp/jsonrpc2/handler.go +120 -0 generated file: collapsed
A vendor/github.com/a-h/templ/lsp/jsonrpc2/jsonrpc2.go +7 -0 generated file: collapsed
A vendor/github.com/a-h/templ/lsp/jsonrpc2/message.go +354 -0 generated file: collapsed
A vendor/github.com/a-h/templ/lsp/jsonrpc2/serve.go +131 -0 generated file: collapsed
A vendor/github.com/a-h/templ/lsp/jsonrpc2/stream.go +225 -0 generated file: collapsed
A vendor/github.com/a-h/templ/lsp/jsonrpc2/wire.go +140 -0 generated file: collapsed
A vendor/github.com/a-h/templ/lsp/protocol/base.go +95 -0 generated file: collapsed
A vendor/github.com/a-h/templ/lsp/protocol/basic.go +705 -0 generated file: collapsed
A vendor/github.com/a-h/templ/lsp/protocol/callhierarchy.go +103 -0 generated file: collapsed
A vendor/github.com/a-h/templ/lsp/protocol/capabilities_client.go +1068 -0 generated file: collapsed
A vendor/github.com/a-h/templ/lsp/protocol/capabilities_server.go +523 -0 generated file: collapsed
A vendor/github.com/a-h/templ/lsp/protocol/client.go +412 -0 generated file: collapsed
A vendor/github.com/a-h/templ/lsp/protocol/context.go +26 -0 generated file: collapsed
A vendor/github.com/a-h/templ/lsp/protocol/deprecated.go +264 -0 generated file: collapsed
A vendor/github.com/a-h/templ/lsp/protocol/diagnostics.go +149 -0 generated file: collapsed
A vendor/github.com/a-h/templ/lsp/protocol/doc.go +23 -0 generated file: collapsed
A vendor/github.com/a-h/templ/lsp/protocol/errors.go +40 -0 generated file: collapsed
A vendor/github.com/a-h/templ/lsp/protocol/general.go +461 -0 generated file: collapsed
A vendor/github.com/a-h/templ/lsp/protocol/handler.go +88 -0 generated file: collapsed
A vendor/github.com/a-h/templ/lsp/protocol/language.go +1401 -0 generated file: collapsed
A vendor/github.com/a-h/templ/lsp/protocol/progress.go +119 -0 generated file: collapsed
A vendor/github.com/a-h/templ/lsp/protocol/protocol.go +41 -0 generated file: collapsed
A vendor/github.com/a-h/templ/lsp/protocol/registration.go +44 -0 generated file: collapsed
A vendor/github.com/a-h/templ/lsp/protocol/selectionrange.go +110 -0 generated file: collapsed
A vendor/github.com/a-h/templ/lsp/protocol/semantic_token.go +179 -0 generated file: collapsed
A vendor/github.com/a-h/templ/lsp/protocol/server.go +1893 -0 generated file: collapsed
A vendor/github.com/a-h/templ/lsp/protocol/text.go +111 -0 generated file: collapsed
A vendor/github.com/a-h/templ/lsp/protocol/util.go +9 -0 generated file: collapsed
A vendor/github.com/a-h/templ/lsp/protocol/version.go +7 -0 generated file: collapsed
A vendor/github.com/a-h/templ/lsp/protocol/window.go +111 -0 generated file: collapsed
A vendor/github.com/a-h/templ/lsp/protocol/workspace.go +213 -0 generated file: collapsed
A vendor/github.com/a-h/templ/lsp/uri/uri.go +245 -0 generated file: collapsed
A vendor/github.com/a-h/templ/lsp/xcontext/xcontext.go +22 -0 generated file: collapsed
A vendor/github.com/a-h/templ/once.go +63 -0 generated file: collapsed
A vendor/github.com/a-h/templ/parser/v2/calltemplateparser.go +37 -0 generated file: collapsed
A vendor/github.com/a-h/templ/parser/v2/childrenparser.go +25 -0 generated file: collapsed
A vendor/github.com/a-h/templ/parser/v2/conditionalattributeparser.go +103 -0 generated file: collapsed
A vendor/github.com/a-h/templ/parser/v2/cssparser.go +200 -0 generated file: collapsed
A vendor/github.com/a-h/templ/parser/v2/diagnostics.go +64 -0 generated file: collapsed
A vendor/github.com/a-h/templ/parser/v2/doctypeparser.go +33 -0 generated file: collapsed
A vendor/github.com/a-h/templ/parser/v2/elementparser.go +605 -0 generated file: collapsed
A vendor/github.com/a-h/templ/parser/v2/expressionparser.go +246 -0 generated file: collapsed
A vendor/github.com/a-h/templ/parser/v2/fallthroughparser.go +26 -0 generated file: collapsed
A vendor/github.com/a-h/templ/parser/v2/forexpressionparser.go +57 -0 generated file: collapsed
A vendor/github.com/a-h/templ/parser/v2/fuzz.sh +5 -0 generated file: collapsed
A vendor/github.com/a-h/templ/parser/v2/gocodeparser.go +64 -0 generated file: collapsed
A vendor/github.com/a-h/templ/parser/v2/gocommentparser.go +66 -0 generated file: collapsed
A vendor/github.com/a-h/templ/parser/v2/goexpression/fuzz.sh +19 -0 generated file: collapsed
A vendor/github.com/a-h/templ/parser/v2/goexpression/parse.go +343 -0 generated file: collapsed
A vendor/github.com/a-h/templ/parser/v2/goexpression/scanner.go +180 -0 generated file: collapsed
A vendor/github.com/a-h/templ/parser/v2/goparser.go +70 -0 generated file: collapsed
A vendor/github.com/a-h/templ/parser/v2/htmlcommentparser.go +40 -0 generated file: collapsed
A vendor/github.com/a-h/templ/parser/v2/ifexpressionparser.go +144 -0 generated file: collapsed
A vendor/github.com/a-h/templ/parser/v2/packageparser.go +32 -0 generated file: collapsed
A vendor/github.com/a-h/templ/parser/v2/parser.go +55 -0 generated file: collapsed
A vendor/github.com/a-h/templ/parser/v2/raw.go +67 -0 generated file: collapsed
A vendor/github.com/a-h/templ/parser/v2/scriptparser.go +336 -0 generated file: collapsed
A vendor/github.com/a-h/templ/parser/v2/scripttemplateparser.go +91 -0 generated file: collapsed
A vendor/github.com/a-h/templ/parser/v2/sourcemap.go +134 -0 generated file: collapsed
A vendor/github.com/a-h/templ/parser/v2/stringexpressionparser.go +44 -0 generated file: collapsed
A vendor/github.com/a-h/templ/parser/v2/structure.go +43 -0 generated file: collapsed
A vendor/github.com/a-h/templ/parser/v2/switchexpressionparser.go +171 -0 generated file: collapsed
A vendor/github.com/a-h/templ/parser/v2/templatefile.go +195 -0 generated file: collapsed
A vendor/github.com/a-h/templ/parser/v2/templateparser.go +154 -0 generated file: collapsed
A vendor/github.com/a-h/templ/parser/v2/templelementparser.go +59 -0 generated file: collapsed
A vendor/github.com/a-h/templ/parser/v2/textparser.go +53 -0 generated file: collapsed
A vendor/github.com/a-h/templ/parser/v2/types.go +1537 -0 generated file: collapsed
A vendor/github.com/a-h/templ/parser/v2/visitor.go +36 -0 generated file: collapsed
A vendor/github.com/a-h/templ/parser/v2/visitor/visitor.go +357 -0 generated file: collapsed
A vendor/github.com/a-h/templ/parser/v2/whitespaceparser.go +14 -0 generated file: collapsed
A vendor/github.com/a-h/templ/runtime.go +736 -0 generated file: collapsed
A vendor/github.com/a-h/templ/runtime/buffer.go +62 -0 generated file: collapsed
A vendor/github.com/a-h/templ/runtime/bufferpool.go +38 -0 generated file: collapsed
A vendor/github.com/a-h/templ/runtime/builder.go +8 -0 generated file: collapsed
A vendor/github.com/a-h/templ/runtime/runtime.go +21 -0 generated file: collapsed
A vendor/github.com/a-h/templ/runtime/scriptelement.go +107 -0 generated file: collapsed
A vendor/github.com/a-h/templ/runtime/styleattribute.go +217 -0 generated file: collapsed
A vendor/github.com/a-h/templ/runtime/watchmode.go +181 -0 generated file: collapsed
A vendor/github.com/a-h/templ/safehtml/style.go +199 -0 generated file: collapsed
A vendor/github.com/a-h/templ/scripttemplate.go +150 -0 generated file: collapsed
A vendor/github.com/a-h/templ/templ.png +0 -0 binary file: no text diff
binary file: no text diff
A vendor/github.com/a-h/templ/url.go +31 -0 generated file: collapsed
A vendor/github.com/a-h/templ/version.go +10 -0 generated file: collapsed
A vendor/github.com/a-h/templ/watchmode.go +105 -0 generated file: collapsed
A vendor/github.com/andybalholm/brotli/.gitignore +2 -0 generated file: collapsed
A vendor/github.com/andybalholm/brotli/LICENSE +19 -0 generated file: collapsed
A vendor/github.com/andybalholm/brotli/README.md +19 -0 generated file: collapsed
A vendor/github.com/andybalholm/brotli/backward_references.go +185 -0 generated file: collapsed
A vendor/github.com/andybalholm/brotli/backward_references_hq.go +796 -0 generated file: collapsed
A vendor/github.com/andybalholm/brotli/bit_cost.go +436 -0 generated file: collapsed
A vendor/github.com/andybalholm/brotli/bit_reader.go +266 -0 generated file: collapsed
A vendor/github.com/andybalholm/brotli/bitwriter.go +56 -0 generated file: collapsed
A vendor/github.com/andybalholm/brotli/block_splitter.go +144 -0 generated file: collapsed
A vendor/github.com/andybalholm/brotli/block_splitter_command.go +434 -0 generated file: collapsed
A vendor/github.com/andybalholm/brotli/block_splitter_distance.go +433 -0 generated file: collapsed
A vendor/github.com/andybalholm/brotli/block_splitter_literal.go +433 -0 generated file: collapsed
A vendor/github.com/andybalholm/brotli/brotli_bit_stream.go +1435 -0 generated file: collapsed
A vendor/github.com/andybalholm/brotli/cluster.go +30 -0 generated file: collapsed
A vendor/github.com/andybalholm/brotli/cluster_command.go +164 -0 generated file: collapsed
A vendor/github.com/andybalholm/brotli/cluster_distance.go +326 -0 generated file: collapsed
A vendor/github.com/andybalholm/brotli/cluster_literal.go +326 -0 generated file: collapsed
A vendor/github.com/andybalholm/brotli/command.go +254 -0 generated file: collapsed
A vendor/github.com/andybalholm/brotli/compress_fragment.go +834 -0 generated file: collapsed
A vendor/github.com/andybalholm/brotli/compress_fragment_two_pass.go +775 -0 generated file: collapsed
A vendor/github.com/andybalholm/brotli/constants.go +77 -0 generated file: collapsed
A vendor/github.com/andybalholm/brotli/context.go +2176 -0 generated file: collapsed
A vendor/github.com/andybalholm/brotli/decode.go +2570 -0 generated file: collapsed
A vendor/github.com/andybalholm/brotli/dictionary.go +122890 -0 generated file: collapsed
A vendor/github.com/andybalholm/brotli/dictionary_hash.go +32779 -0 generated file: collapsed
A vendor/github.com/andybalholm/brotli/encode.go +1220 -0 generated file: collapsed
A vendor/github.com/andybalholm/brotli/encoder.go +177 -0 generated file: collapsed
A vendor/github.com/andybalholm/brotli/encoder_dict.go +22 -0 generated file: collapsed
A vendor/github.com/andybalholm/brotli/encoder_fast.go +197 -0 generated file: collapsed
A vendor/github.com/andybalholm/brotli/entropy_encode.go +592 -0 generated file: collapsed
A vendor/github.com/andybalholm/brotli/entropy_encode_static.go +4399 -0 generated file: collapsed
A vendor/github.com/andybalholm/brotli/fast_log.go +290 -0 generated file: collapsed
A vendor/github.com/andybalholm/brotli/find_match_length.go +45 -0 generated file: collapsed
A vendor/github.com/andybalholm/brotli/flate/LICENSE +27 -0 generated file: collapsed
A vendor/github.com/andybalholm/brotli/flate/README.md +2 -0 generated file: collapsed
A vendor/github.com/andybalholm/brotli/flate/gzip.go +65 -0 generated file: collapsed
A vendor/github.com/andybalholm/brotli/flate/huffman_bit_writer.go +517 -0 generated file: collapsed
A vendor/github.com/andybalholm/brotli/flate/huffman_code.go +346 -0 generated file: collapsed
A vendor/github.com/andybalholm/brotli/flate/token.go +80 -0 generated file: collapsed
A vendor/github.com/andybalholm/brotli/flate/writer.go +66 -0 generated file: collapsed
A vendor/github.com/andybalholm/brotli/h10.go +287 -0 generated file: collapsed
A vendor/github.com/andybalholm/brotli/h5.go +214 -0 generated file: collapsed
A vendor/github.com/andybalholm/brotli/h6.go +216 -0 generated file: collapsed
A vendor/github.com/andybalholm/brotli/hash.go +342 -0 generated file: collapsed
A vendor/github.com/andybalholm/brotli/hash_composite.go +93 -0 generated file: collapsed
A vendor/github.com/andybalholm/brotli/hash_forgetful_chain.go +252 -0 generated file: collapsed
A vendor/github.com/andybalholm/brotli/hash_longest_match_quickly.go +214 -0 generated file: collapsed
A vendor/github.com/andybalholm/brotli/hash_rolling.go +168 -0 generated file: collapsed
A vendor/github.com/andybalholm/brotli/histogram.go +226 -0 generated file: collapsed
A vendor/github.com/andybalholm/brotli/http.go +189 -0 generated file: collapsed
A vendor/github.com/andybalholm/brotli/huffman.go +653 -0 generated file: collapsed
A vendor/github.com/andybalholm/brotli/literal_cost.go +182 -0 generated file: collapsed
A vendor/github.com/andybalholm/brotli/matchfinder/bargain1.go +212 -0 generated file: collapsed
A vendor/github.com/andybalholm/brotli/matchfinder/bargain2.go +248 -0 generated file: collapsed
A vendor/github.com/andybalholm/brotli/matchfinder/bargain3.go +278 -0 generated file: collapsed
A vendor/github.com/andybalholm/brotli/matchfinder/emitter.go +34 -0 generated file: collapsed
A vendor/github.com/andybalholm/brotli/matchfinder/m0.go +175 -0 generated file: collapsed
A vendor/github.com/andybalholm/brotli/matchfinder/m4.go +339 -0 generated file: collapsed
A vendor/github.com/andybalholm/brotli/matchfinder/matchfinder.go +103 -0 generated file: collapsed
A vendor/github.com/andybalholm/brotli/matchfinder/pathfinder.go +328 -0 generated file: collapsed
A vendor/github.com/andybalholm/brotli/matchfinder/textencoder.go +53 -0 generated file: collapsed
A vendor/github.com/andybalholm/brotli/matchfinder/trio.go +326 -0 generated file: collapsed
A vendor/github.com/andybalholm/brotli/matchfinder/zdfast.go +258 -0 generated file: collapsed
A vendor/github.com/andybalholm/brotli/matchfinder/zfast.go +206 -0 generated file: collapsed
A vendor/github.com/andybalholm/brotli/matchfinder/zm.go +301 -0 generated file: collapsed
A vendor/github.com/andybalholm/brotli/memory.go +66 -0 generated file: collapsed
A vendor/github.com/andybalholm/brotli/metablock.go +574 -0 generated file: collapsed
A vendor/github.com/andybalholm/brotli/metablock_command.go +165 -0 generated file: collapsed
A vendor/github.com/andybalholm/brotli/metablock_distance.go +165 -0 generated file: collapsed
A vendor/github.com/andybalholm/brotli/metablock_literal.go +165 -0 generated file: collapsed
A vendor/github.com/andybalholm/brotli/params.go +37 -0 generated file: collapsed
A vendor/github.com/andybalholm/brotli/platform.go +103 -0 generated file: collapsed
A vendor/github.com/andybalholm/brotli/prefix.go +30 -0 generated file: collapsed
A vendor/github.com/andybalholm/brotli/prefix_dec.go +723 -0 generated file: collapsed
A vendor/github.com/andybalholm/brotli/quality.go +196 -0 generated file: collapsed
A vendor/github.com/andybalholm/brotli/reader.go +126 -0 generated file: collapsed
A vendor/github.com/andybalholm/brotli/ringbuffer.go +134 -0 generated file: collapsed
A vendor/github.com/andybalholm/brotli/state.go +313 -0 generated file: collapsed
A vendor/github.com/andybalholm/brotli/static_dict.go +662 -0 generated file: collapsed
A vendor/github.com/andybalholm/brotli/static_dict_lut.go +75094 -0 generated file: collapsed
A vendor/github.com/andybalholm/brotli/symbol_list.go +22 -0 generated file: collapsed
A vendor/github.com/andybalholm/brotli/transform.go +641 -0 generated file: collapsed
A vendor/github.com/andybalholm/brotli/utf8_util.go +70 -0 generated file: collapsed
A vendor/github.com/andybalholm/brotli/util.go +7 -0 generated file: collapsed
A vendor/github.com/andybalholm/brotli/write_bits.go +52 -0 generated file: collapsed
A vendor/github.com/andybalholm/brotli/writer.go +162 -0 generated file: collapsed
A vendor/github.com/atotto/clipboard/.travis.yml +22 -0 generated file: collapsed
A vendor/github.com/atotto/clipboard/LICENSE +27 -0 generated file: collapsed
A vendor/github.com/atotto/clipboard/README.md +48 -0 generated file: collapsed
A vendor/github.com/atotto/clipboard/clipboard.go +20 -0 generated file: collapsed
A vendor/github.com/atotto/clipboard/clipboard_darwin.go +52 -0 generated file: collapsed
A vendor/github.com/atotto/clipboard/clipboard_plan9.go +42 -0 generated file: collapsed
A vendor/github.com/atotto/clipboard/clipboard_unix.go +149 -0 generated file: collapsed
A vendor/github.com/atotto/clipboard/clipboard_windows.go +157 -0 generated file: collapsed
A vendor/github.com/aymanbagabas/go-osc52/v2/LICENSE +21 -0 generated file: collapsed
A vendor/github.com/aymanbagabas/go-osc52/v2/README.md +83 -0 generated file: collapsed
A vendor/github.com/aymanbagabas/go-osc52/v2/osc52.go +305 -0 generated file: collapsed
A vendor/github.com/bnema/purego-cef/LICENSE +21 -0 generated file: collapsed
A vendor/github.com/bnema/purego-cef/cef/bridge.go +779 -0 generated file: collapsed
A vendor/github.com/bnema/purego-cef/cef/cef_accessibility_handler_gen.go +135 -0 generated file: collapsed
A vendor/github.com/bnema/purego-cef/cef/cef_app_gen.go +255 -0 generated file: collapsed
A vendor/github.com/bnema/purego-cef/cef/cef_audio_handler_gen.go +222 -0 generated file: collapsed
A vendor/github.com/bnema/purego-cef/cef/cef_auth_callback_gen.go +80 -0 generated file: collapsed
A vendor/github.com/bnema/purego-cef/cef/cef_base_gen.go +13 -0 generated file: collapsed
A vendor/github.com/bnema/purego-cef/cef/cef_browser_gen.go +1327 -0 generated file: collapsed
A vendor/github.com/bnema/purego-cef/cef/cef_browser_process_handler_gen.go +280 -0 generated file: collapsed
A vendor/github.com/bnema/purego-cef/cef/cef_callback_gen.go +173 -0 generated file: collapsed
A vendor/github.com/bnema/purego-cef/cef/cef_client_gen.go +691 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego-cef/cef/cef_command_handler_gen.go +228 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego-cef/cef/cef_command_line_gen.go +269 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego-cef/cef/cef_context_menu_handler_gen.go +633 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego-cef/cef/cef_cookie_gen.go +417 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego-cef/cef/cef_crash_util_gen.go +24 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego-cef/cef/cef_devtools_message_observer_gen.go +219 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego-cef/cef/cef_dialog_handler_gen.go +186 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego-cef/cef/cef_display_handler_gen.go +440 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego-cef/cef/cef_dom_gen.go +578 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego-cef/cef/cef_download_handler_gen.go +308 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego-cef/cef/cef_download_item_gen.go +255 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego-cef/cef/cef_drag_data_gen.go +316 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego-cef/cef/cef_drag_handler_gen.go +144 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego-cef/cef/cef_file_util_gen.go +74 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego-cef/cef/cef_find_handler_gen.go +116 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego-cef/cef/cef_focus_handler_gen.go +162 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego-cef/cef/cef_frame_gen.go +284 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego-cef/cef/cef_frame_handler_gen.go +214 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego-cef/cef/cef_i18n_util_gen.go +13 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego-cef/cef/cef_image_gen.go +228 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego-cef/cef/cef_jsdialog_handler_gen.go +262 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego-cef/cef/cef_keyboard_handler_gen.go +142 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego-cef/cef/cef_life_span_handler_gen.go +261 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego-cef/cef/cef_load_handler_gen.go +198 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego-cef/cef/cef_media_router_gen.go +788 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego-cef/cef/cef_menu_model_delegate_gen.go +262 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego-cef/cef/cef_menu_model_gen.go +594 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego-cef/cef/cef_navigation_entry_gen.go +150 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego-cef/cef/cef_origin_whitelist_gen.go +39 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego-cef/cef/cef_parser_gen.go +114 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego-cef/cef/cef_path_util_gen.go +15 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego-cef/cef/cef_permission_handler_gen.go +303 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego-cef/cef/cef_preference_gen.go +276 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego-cef/cef/cef_print_handler_gen.go +364 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego-cef/cef/cef_print_settings_gen.go +270 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego-cef/cef/cef_process_message_gen.go +122 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego-cef/cef/cef_process_util_gen.go +13 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego-cef/cef/cef_registration_gen.go +60 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego-cef/cef/cef_render_handler_gen.go +562 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego-cef/cef/cef_render_process_handler_gen.go +325 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego-cef/cef/cef_request_context_gen.go +502 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego-cef/cef/cef_request_context_handler_gen.go +150 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego-cef/cef/cef_request_gen.go +537 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego-cef/cef/cef_request_handler_gen.go +490 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego-cef/cef/cef_resource_bundle_gen.go +93 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego-cef/cef/cef_resource_bundle_handler_gen.go +168 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego-cef/cef/cef_resource_handler_gen.go +392 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego-cef/cef/cef_resource_request_handler_gen.go +469 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego-cef/cef/cef_response_filter_gen.go +141 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego-cef/cef/cef_response_gen.go +224 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego-cef/cef/cef_scheme_gen.go +175 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego-cef/cef/cef_server_gen.go +470 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego-cef/cef/cef_shared_memory_region_gen.go +87 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego-cef/cef/cef_shared_process_message_builder_gen.go +104 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego-cef/cef/cef_ssl_info_gen.go +84 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego-cef/cef/cef_ssl_status_gen.go +105 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego-cef/cef/cef_stream_gen.go +669 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego-cef/cef/cef_string_visitor_gen.go +113 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego-cef/cef/cef_task_gen.go +237 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego-cef/cef/cef_task_manager_gen.go +137 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego-cef/cef/cef_thread_gen.go +103 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego-cef/cef/cef_trace_gen.go +135 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego-cef/cef/cef_types_color_gen.go +14 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego-cef/cef/cef_types_content_settings_gen.go +162 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego-cef/cef/cef_types_gen.go +1624 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego-cef/cef/cef_types_geometry_gen.go +19 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego-cef/cef/cef_types_linux_gen.go +41 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego-cef/cef/cef_types_osr_gen.go +19 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego-cef/cef/cef_types_runtime_gen.go +14 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego-cef/cef/cef_unresponsive_process_callback_gen.go +76 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego-cef/cef/cef_urlrequest_gen.go +350 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego-cef/cef/cef_v8_gen.go +1678 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego-cef/cef/cef_values_gen.go +1084 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego-cef/cef/cef_waitable_event_gen.go +113 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego-cef/cef/cef_x509_certificate_gen.go +300 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego-cef/cef/cef_xml_reader_gen.go +341 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego-cef/cef/cef_zip_reader_gen.go +188 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego-cef/cef/doc.go +26 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego-cef/cef/init.go +191 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego-cef/cef/mocks/.gitkeep +0 -0
no textual change.
A vendor/github.com/bnema/purego-cef/cef/mocks/mock_app.go +261 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego-cef/cef/mocks/mock_browser.go +929 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego-cef/cef/mocks/mock_browser_process_handler.go +345 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego-cef/cef/mocks/mock_client.go +934 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego-cef/cef/mocks/mock_context_menu_handler.go +487 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego-cef/cef/mocks/mock_dialog_handler.go +130 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego-cef/cef/mocks/mock_display_handler.go +743 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego-cef/cef/mocks/mock_focus_handler.go +180 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego-cef/cef/mocks/mock_frame.go +1093 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego-cef/cef/mocks/mock_keyboard_handler.go +169 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego-cef/cef/mocks/mock_life_span_handler.go +407 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego-cef/cef/mocks/mock_load_handler.go +263 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego-cef/cef/mocks/mock_process_message.go +307 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego-cef/cef/mocks/mock_raw_client.go +934 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego-cef/cef/mocks/mock_raw_life_span_handler.go +409 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego-cef/cef/mocks/mock_render_handler.go +959 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego-cef/cef/mocks/mock_render_process_handler.go +491 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego-cef/cef/mocks/mock_request.go +1010 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego-cef/cef/mocks/mock_request_context.go +1167 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego-cef/cef/mocks/mock_request_handler.go +760 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego-cef/cef/mocks/mock_response.go +768 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego-cef/cef/opaque_types.go +12 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego-cef/cef/string_list.go +46 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego-cef/cef/test_cef_api_version_test__gen.go +2176 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego-cef/cef/test_cef_test_helpers_gen.go +31 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego-cef/cef/test_cef_test_server_gen.go +269 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego-cef/cef/test_cef_translator_test__gen.go +1492 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego-cef/cef/views_cef_box_layout_gen.go +76 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego-cef/cef/views_cef_browser_view_delegate_gen.go +348 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego-cef/cef/views_cef_browser_view_gen.go +109 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego-cef/cef/views_cef_button_delegate_gen.go +135 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego-cef/cef/views_cef_button_gen.go +114 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego-cef/cef/views_cef_display_gen.go +182 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego-cef/cef/views_cef_fill_layout_gen.go +60 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego-cef/cef/views_cef_label_button_gen.go +163 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego-cef/cef/views_cef_layout_gen.go +87 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego-cef/cef/views_cef_menu_button_delegate_gen.go +160 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego-cef/cef/views_cef_menu_button_gen.go +84 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego-cef/cef/views_cef_overlay_controller_gen.go +224 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego-cef/cef/views_cef_panel_delegate_gen.go +87 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego-cef/cef/views_cef_panel_gen.go +168 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego-cef/cef/views_cef_scroll_view_gen.go +128 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego-cef/cef/views_cef_textfield_delegate_gen.go +137 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego-cef/cef/views_cef_textfield_gen.go +338 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego-cef/cef/views_cef_view_delegate_gen.go +362 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego-cef/cef/views_cef_view_gen.go +515 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego-cef/cef/views_cef_window_delegate_gen.go +682 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego-cef/cef/views_cef_window_gen.go +423 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego-cef/cef/window_info_helpers.go +25 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego-cef/internal/capi/bridge.go +151 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego-cef/internal/capi/cef_accessibility_handler_gen.go +43 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego-cef/internal/capi/cef_app_gen.go +99 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego-cef/internal/capi/cef_audio_handler_gen.go +72 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego-cef/internal/capi/cef_auth_callback_gen.go +39 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego-cef/internal/capi/cef_base_gen.go +77 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego-cef/internal/capi/cef_browser_gen.go +1091 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego-cef/internal/capi/cef_browser_process_handler_gen.go +106 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego-cef/internal/capi/cef_callback_gen.go +55 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego-cef/internal/capi/cef_client_gen.go +226 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego-cef/internal/capi/cef_command_handler_gen.go +80 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego-cef/internal/capi/cef_command_line_gen.go +255 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego-cef/internal/capi/cef_context_menu_handler_gen.go +381 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego-cef/internal/capi/cef_cookie_gen.go +124 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego-cef/internal/capi/cef_crash_util_gen.go +16 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego-cef/internal/capi/cef_devtools_message_observer_gen.go +78 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego-cef/internal/capi/cef_dialog_handler_gen.go +55 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego-cef/internal/capi/cef_display_handler_gen.go +168 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego-cef/internal/capi/cef_dom_gen.go +478 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego-cef/internal/capi/cef_download_handler_gen.go +104 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego-cef/internal/capi/cef_download_item_gen.go +237 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego-cef/internal/capi/cef_drag_data_gen.go +318 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego-cef/internal/capi/cef_drag_handler_gen.go +41 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego-cef/internal/capi/cef_file_util_gen.go +34 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego-cef/internal/capi/cef_find_handler_gen.go +28 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego-cef/internal/capi/cef_focus_handler_gen.go +50 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego-cef/internal/capi/cef_frame_gen.go +303 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego-cef/internal/capi/cef_frame_handler_gen.go +72 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego-cef/internal/capi/cef_i18n_util_gen.go +9 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego-cef/internal/capi/cef_image_gen.go +164 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego-cef/internal/capi/cef_jsdialog_handler_gen.go +77 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego-cef/internal/capi/cef_keyboard_handler_gen.go +39 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego-cef/internal/capi/cef_life_span_handler_gen.go +83 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego-cef/internal/capi/cef_load_handler_gen.go +61 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego-cef/internal/capi/cef_media_router_gen.go +341 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego-cef/internal/capi/cef_menu_model_delegate_gen.go +96 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego-cef/internal/capi/cef_menu_model_gen.go +637 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego-cef/internal/capi/cef_navigation_entry_gen.go +127 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego-cef/internal/capi/cef_origin_whitelist_gen.go +19 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego-cef/internal/capi/cef_parser_gen.go +52 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego-cef/internal/capi/cef_path_util_gen.go +13 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego-cef/internal/capi/cef_permission_handler_gen.go +99 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego-cef/internal/capi/cef_preference_gen.go +127 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego-cef/internal/capi/cef_print_handler_gen.go +126 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego-cef/internal/capi/cef_print_settings_gen.go +265 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego-cef/internal/capi/cef_process_message_gen.go +87 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego-cef/internal/capi/cef_process_util_gen.go +13 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego-cef/internal/capi/cef_registration_gen.go +14 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego-cef/internal/capi/cef_render_handler_gen.go +212 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego-cef/internal/capi/cef_render_process_handler_gen.go +124 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego-cef/internal/capi/cef_request_context_gen.go +326 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego-cef/internal/capi/cef_request_context_handler_gen.go +43 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego-cef/internal/capi/cef_request_gen.go +444 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego-cef/internal/capi/cef_request_handler_gen.go +166 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego-cef/internal/capi/cef_resource_bundle_gen.go +56 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego-cef/internal/capi/cef_resource_bundle_handler_gen.go +52 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego-cef/internal/capi/cef_resource_handler_gen.go +126 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego-cef/internal/capi/cef_resource_request_handler_gen.go +148 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego-cef/internal/capi/cef_response_filter_gen.go +39 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego-cef/internal/capi/cef_response_gen.go +208 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego-cef/internal/capi/cef_scheme_gen.go +51 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego-cef/internal/capi/cef_server_gen.go +257 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego-cef/internal/capi/cef_shared_memory_region_gen.go +50 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego-cef/internal/capi/cef_shared_process_message_builder_gen.go +65 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego-cef/internal/capi/cef_ssl_info_gen.go +43 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego-cef/internal/capi/cef_ssl_status_gen.go +72 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego-cef/internal/capi/cef_stream_gen.go +268 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego-cef/internal/capi/cef_string_visitor_gen.go +28 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego-cef/internal/capi/cef_task_gen.go +104 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego-cef/internal/capi/cef_task_manager_gen.go +76 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego-cef/internal/capi/cef_thread_gen.go +65 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego-cef/internal/capi/cef_trace_gen.go +40 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego-cef/internal/capi/cef_types_color_gen.go +7 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego-cef/internal/capi/cef_types_content_settings_gen.go +9 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego-cef/internal/capi/cef_types_gen.go +482 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego-cef/internal/capi/cef_types_geometry_gen.go +37 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego-cef/internal/capi/cef_types_linux_gen.go +51 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego-cef/internal/capi/cef_types_osr_gen.go +26 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego-cef/internal/capi/cef_types_runtime_gen.go +7 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego-cef/internal/capi/cef_unresponsive_process_callback_gen.go +39 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego-cef/internal/capi/cef_urlrequest_gen.go +158 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego-cef/internal/capi/cef_v8_gen.go +1093 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego-cef/internal/capi/cef_values_gen.go +1002 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego-cef/internal/capi/cef_waitable_event_gen.go +76 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego-cef/internal/capi/cef_x509_certificate_gen.go +217 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego-cef/internal/capi/cef_xml_reader_gen.go +340 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego-cef/internal/capi/cef_zip_reader_gen.go +153 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego-cef/internal/capi/doc.go +25 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego-cef/internal/capi/register.go +15 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego-cef/internal/capi/register_gen.go +117 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego-cef/internal/capi/register_platform_darwin_gen.go +7 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego-cef/internal/capi/register_platform_default_gen.go +6 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego-cef/internal/capi/register_platform_linux_gen.go +8 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego-cef/internal/capi/register_platform_windows_gen.go +7 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego-cef/internal/capi/test_cef_api_version_test__gen.go +1231 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego-cef/internal/capi/test_cef_test_helpers_gen.go +19 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego-cef/internal/capi/test_cef_test_server_gen.go +114 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego-cef/internal/capi/test_cef_translator_test__gen.go +967 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego-cef/internal/capi/views_cef_box_layout_gen.go +39 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego-cef/internal/capi/views_cef_browser_view_delegate_gen.go +141 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego-cef/internal/capi/views_cef_browser_view_gen.go +68 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego-cef/internal/capi/views_cef_button_delegate_gen.go +39 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego-cef/internal/capi/views_cef_button_gen.go +83 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego-cef/internal/capi/views_cef_display_gen.go +122 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego-cef/internal/capi/views_cef_fill_layout_gen.go +14 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego-cef/internal/capi/views_cef_label_button_gen.go +142 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego-cef/internal/capi/views_cef_layout_gen.go +50 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego-cef/internal/capi/views_cef_menu_button_delegate_gen.go +33 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego-cef/internal/capi/views_cef_menu_button_gen.go +43 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego-cef/internal/capi/views_cef_overlay_controller_gen.go +226 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego-cef/internal/capi/views_cef_panel_delegate_gen.go +14 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego-cef/internal/capi/views_cef_panel_gen.go +153 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego-cef/internal/capi/views_cef_scroll_view_gen.go +102 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego-cef/internal/capi/views_cef_textfield_delegate_gen.go +39 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego-cef/internal/capi/views_cef_textfield_gen.go +366 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego-cef/internal/capi/views_cef_view_delegate_gen.go +138 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego-cef/internal/capi/views_cef_view_gen.go +589 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego-cef/internal/capi/views_cef_window_delegate_gen.go +278 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego-cef/internal/capi/views_cef_window_gen.go +485 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego-cef/internal/core/engine.go +29 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego-cef/internal/core/helpers.go +20 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego-cef/internal/core/init.go +158 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego-cef/internal/core/marshal.go +146 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego-cef/internal/core/refcount.go +185 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego-cef/internal/loader/loader.go +115 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego-cef/internal/ports/in/cef_accessibility_handler_gen.go +9 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego-cef/internal/ports/in/cef_app_gen.go +12 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego-cef/internal/ports/in/cef_audio_handler_gen.go +16 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego-cef/internal/ports/in/cef_auth_callback_gen.go +9 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego-cef/internal/ports/in/cef_base_gen.go +13 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego-cef/internal/ports/in/cef_browser_gen.go +124 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego-cef/internal/ports/in/cef_browser_process_handler_gen.go +14 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego-cef/internal/ports/in/cef_callback_gen.go +14 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego-cef/internal/ports/in/cef_client_gen.go +26 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego-cef/internal/ports/in/cef_command_handler_gen.go +12 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego-cef/internal/ports/in/cef_command_line_gen.go +32 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego-cef/internal/ports/in/cef_context_menu_handler_gen.go +50 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego-cef/internal/ports/in/cef_cookie_gen.go +27 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego-cef/internal/ports/in/cef_devtools_message_observer_gen.go +16 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego-cef/internal/ports/in/cef_dialog_handler_gen.go +14 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego-cef/internal/ports/in/cef_display_handler_gen.go +20 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego-cef/internal/ports/in/cef_dom_gen.go +56 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego-cef/internal/ports/in/cef_download_handler_gen.go +22 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego-cef/internal/ports/in/cef_download_item_gen.go +27 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego-cef/internal/ports/in/cef_drag_data_gen.go +34 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego-cef/internal/ports/in/cef_drag_handler_gen.go +9 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego-cef/internal/ports/in/cef_find_handler_gen.go +8 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego-cef/internal/ports/in/cef_focus_handler_gen.go +10 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego-cef/internal/ports/in/cef_frame_gen.go +33 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego-cef/internal/ports/in/cef_frame_handler_gen.go +12 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego-cef/internal/ports/in/cef_image_gen.go +24 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego-cef/internal/ports/in/cef_jsdialog_handler_gen.go +16 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego-cef/internal/ports/in/cef_keyboard_handler_gen.go +9 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego-cef/internal/ports/in/cef_life_span_handler_gen.go +17 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego-cef/internal/ports/in/cef_load_handler_gen.go +11 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego-cef/internal/ports/in/cef_media_router_gen.go +61 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego-cef/internal/ports/in/cef_menu_model_delegate_gen.go +14 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego-cef/internal/ports/in/cef_menu_model_gen.go +63 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego-cef/internal/ports/in/cef_navigation_entry_gen.go +17 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego-cef/internal/ports/in/cef_permission_handler_gen.go +21 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego-cef/internal/ports/in/cef_preference_gen.go +23 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego-cef/internal/ports/in/cef_print_handler_gen.go +24 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego-cef/internal/ports/in/cef_print_settings_gen.go +29 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego-cef/internal/ports/in/cef_process_message_gen.go +13 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego-cef/internal/ports/in/cef_registration_gen.go +7 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego-cef/internal/ports/in/cef_render_handler_gen.go +24 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego-cef/internal/ports/in/cef_render_process_handler_gen.go +16 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego-cef/internal/ports/in/cef_request_context_gen.go +40 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego-cef/internal/ports/in/cef_request_context_handler_gen.go +9 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego-cef/internal/ports/in/cef_request_gen.go +56 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego-cef/internal/ports/in/cef_request_handler_gen.go +23 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego-cef/internal/ports/in/cef_resource_bundle_gen.go +10 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego-cef/internal/ports/in/cef_resource_bundle_handler_gen.go +14 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego-cef/internal/ports/in/cef_resource_handler_gen.go +28 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego-cef/internal/ports/in/cef_resource_request_handler_gen.go +21 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego-cef/internal/ports/in/cef_response_filter_gen.go +13 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego-cef/internal/ports/in/cef_response_gen.go +24 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego-cef/internal/ports/in/cef_scheme_gen.go +13 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego-cef/internal/ports/in/cef_server_gen.go +36 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego-cef/internal/ports/in/cef_shared_memory_region_gen.go +14 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego-cef/internal/ports/in/cef_shared_process_message_builder_gen.go +15 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego-cef/internal/ports/in/cef_ssl_info_gen.go +9 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego-cef/internal/ports/in/cef_ssl_status_gen.go +12 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego-cef/internal/ports/in/cef_stream_gen.go +43 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego-cef/internal/ports/in/cef_string_visitor_gen.go +8 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego-cef/internal/ports/in/cef_task_gen.go +17 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego-cef/internal/ports/in/cef_task_manager_gen.go +12 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego-cef/internal/ports/in/cef_thread_gen.go +11 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego-cef/internal/ports/in/cef_trace_gen.go +8 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego-cef/internal/ports/in/cef_types_color_gen.go +5 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego-cef/internal/ports/in/cef_types_content_settings_gen.go +7 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego-cef/internal/ports/in/cef_types_gen.go +256 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego-cef/internal/ports/in/cef_types_geometry_gen.go +19 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego-cef/internal/ports/in/cef_types_linux_gen.go +19 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego-cef/internal/ports/in/cef_types_osr_gen.go +10 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego-cef/internal/ports/in/cef_types_runtime_gen.go +5 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego-cef/internal/ports/in/cef_unresponsive_process_callback_gen.go +9 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego-cef/internal/ports/in/cef_urlrequest_gen.go +27 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego-cef/internal/ports/in/cef_v8_gen.go +131 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego-cef/internal/ports/in/cef_values_gen.go +110 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego-cef/internal/ports/in/cef_waitable_event_gen.go +12 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego-cef/internal/ports/in/cef_x509_certificate_gen.go +28 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego-cef/internal/ports/in/cef_xml_reader_gen.go +36 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego-cef/internal/ports/in/cef_zip_reader_gen.go +23 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego-cef/internal/ports/in/opaque_types.go +13 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego-cef/internal/ports/in/test_cef_api_version_test__gen.go +160 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego-cef/internal/ports/in/test_cef_test_server_gen.go +26 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego-cef/internal/ports/in/test_cef_translator_test__gen.go +123 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego-cef/internal/ports/in/views_cef_box_layout_gen.go +9 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego-cef/internal/ports/in/views_cef_browser_view_delegate_gen.go +17 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego-cef/internal/ports/in/views_cef_browser_view_gen.go +11 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego-cef/internal/ports/in/views_cef_button_delegate_gen.go +9 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego-cef/internal/ports/in/views_cef_button_gen.go +13 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego-cef/internal/ports/in/views_cef_display_gen.go +14 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego-cef/internal/ports/in/views_cef_fill_layout_gen.go +7 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego-cef/internal/ports/in/views_cef_label_button_gen.go +18 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego-cef/internal/ports/in/views_cef_layout_gen.go +10 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego-cef/internal/ports/in/views_cef_menu_button_delegate_gen.go +12 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego-cef/internal/ports/in/views_cef_menu_button_gen.go +9 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego-cef/internal/ports/in/views_cef_overlay_controller_gen.go +26 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego-cef/internal/ports/in/views_cef_panel_delegate_gen.go +7 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego-cef/internal/ports/in/views_cef_panel_gen.go +19 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego-cef/internal/ports/in/views_cef_scroll_view_gen.go +14 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego-cef/internal/ports/in/views_cef_textfield_delegate_gen.go +9 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego-cef/internal/ports/in/views_cef_textfield_gen.go +38 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego-cef/internal/ports/in/views_cef_view_delegate_gen.go +18 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego-cef/internal/ports/in/views_cef_view_gen.go +59 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego-cef/internal/ports/in/views_cef_window_delegate_gen.go +30 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego-cef/internal/ports/in/views_cef_window_gen.go +49 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego-cef/internal/ports/out/capi.go +25 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego-cef/internal/ports/out/cef_app_gen.go +20 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego-cef/internal/ports/out/cef_auth_callback_gen.go +14 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego-cef/internal/ports/out/cef_browser_gen.go +112 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego-cef/internal/ports/out/cef_callback_gen.go +14 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego-cef/internal/ports/out/cef_command_line_gen.go +39 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego-cef/internal/ports/out/cef_context_menu_handler_gen.go +44 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego-cef/internal/ports/out/cef_cookie_gen.go +22 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego-cef/internal/ports/out/cef_crash_util_gen.go +14 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego-cef/internal/ports/out/cef_dialog_handler_gen.go +14 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego-cef/internal/ports/out/cef_dom_gen.go +56 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego-cef/internal/ports/out/cef_download_handler_gen.go +20 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego-cef/internal/ports/out/cef_download_item_gen.go +32 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego-cef/internal/ports/out/cef_drag_data_gen.go +44 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego-cef/internal/ports/out/cef_file_util_gen.go +20 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego-cef/internal/ports/out/cef_frame_gen.go +38 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego-cef/internal/ports/out/cef_i18n_util_gen.go +13 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego-cef/internal/ports/out/cef_image_gen.go +30 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego-cef/internal/ports/out/cef_jsdialog_handler_gen.go +13 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego-cef/internal/ports/out/cef_media_router_gen.go +49 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego-cef/internal/ports/out/cef_menu_model_gen.go +73 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego-cef/internal/ports/out/cef_navigation_entry_gen.go +22 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego-cef/internal/ports/out/cef_origin_whitelist_gen.go +15 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego-cef/internal/ports/out/cef_parser_gen.go +26 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego-cef/internal/ports/out/cef_path_util_gen.go +13 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego-cef/internal/ports/out/cef_permission_handler_gen.go +19 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego-cef/internal/ports/out/cef_preference_gen.go +30 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego-cef/internal/ports/out/cef_print_handler_gen.go +19 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego-cef/internal/ports/out/cef_print_settings_gen.go +39 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego-cef/internal/ports/out/cef_process_message_gen.go +23 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego-cef/internal/ports/out/cef_process_util_gen.go +13 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego-cef/internal/ports/out/cef_registration_gen.go +12 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego-cef/internal/ports/out/cef_request_context_gen.go +42 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego-cef/internal/ports/out/cef_request_gen.go +64 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego-cef/internal/ports/out/cef_request_handler_gen.go +13 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego-cef/internal/ports/out/cef_resource_bundle_gen.go +20 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego-cef/internal/ports/out/cef_resource_handler_gen.go +18 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego-cef/internal/ports/out/cef_response_gen.go +34 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego-cef/internal/ports/out/cef_scheme_gen.go +19 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego-cef/internal/ports/out/cef_server_gen.go +30 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego-cef/internal/ports/out/cef_shared_memory_region_gen.go +15 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego-cef/internal/ports/out/cef_shared_process_message_builder_gen.go +21 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego-cef/internal/ports/out/cef_ssl_info_gen.go +19 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego-cef/internal/ports/out/cef_ssl_status_gen.go +17 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego-cef/internal/ports/out/cef_stream_gen.go +35 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego-cef/internal/ports/out/cef_task_gen.go +26 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego-cef/internal/ports/out/cef_task_manager_gen.go +22 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego-cef/internal/ports/out/cef_thread_gen.go +21 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego-cef/internal/ports/out/cef_trace_gen.go +15 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego-cef/internal/ports/out/cef_types_linux_gen.go +13 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego-cef/internal/ports/out/cef_unresponsive_process_callback_gen.go +14 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego-cef/internal/ports/out/cef_urlrequest_gen.go +24 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego-cef/internal/ports/out/cef_v8_gen.go +131 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego-cef/internal/ports/out/cef_values_gen.go +119 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego-cef/internal/ports/out/cef_waitable_event_gen.go +22 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego-cef/internal/ports/out/cef_x509_certificate_gen.go +33 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego-cef/internal/ports/out/cef_xml_reader_gen.go +46 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego-cef/internal/ports/out/cef_zip_reader_gen.go +29 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego-cef/internal/ports/out/test_cef_api_version_test__gen.go +146 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego-cef/internal/ports/out/test_cef_test_helpers_gen.go +15 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego-cef/internal/ports/out/test_cef_test_server_gen.go +27 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego-cef/internal/ports/out/test_cef_translator_test__gen.go +119 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego-cef/internal/ports/out/views_cef_box_layout_gen.go +14 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego-cef/internal/ports/out/views_cef_browser_view_gen.go +22 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego-cef/internal/ports/out/views_cef_button_gen.go +18 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego-cef/internal/ports/out/views_cef_display_gen.go +32 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego-cef/internal/ports/out/views_cef_fill_layout_gen.go +12 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego-cef/internal/ports/out/views_cef_label_button_gen.go +28 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego-cef/internal/ports/out/views_cef_layout_gen.go +15 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego-cef/internal/ports/out/views_cef_menu_button_delegate_gen.go +12 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego-cef/internal/ports/out/views_cef_menu_button_gen.go +19 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego-cef/internal/ports/out/views_cef_overlay_controller_gen.go +31 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego-cef/internal/ports/out/views_cef_panel_gen.go +29 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego-cef/internal/ports/out/views_cef_scroll_view_gen.go +24 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego-cef/internal/ports/out/views_cef_textfield_gen.go +48 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego-cef/internal/ports/out/views_cef_view_gen.go +64 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego-cef/internal/ports/out/views_cef_window_gen.go +59 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego-cef2gtk/.gitignore +14 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego-cef2gtk/LICENSE +21 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego-cef2gtk/Makefile +29 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego-cef2gtk/README.md +124 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego-cef2gtk/browser_settings.go +20 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego-cef2gtk/command_line.go +23 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego-cef2gtk/diagnostics.go +137 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego-cef2gtk/doc.go +13 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego-cef2gtk/handlers.go +197 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego-cef2gtk/input.go +277 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego-cef2gtk/internal/cefadapter/accelerated_paint.go +85 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego-cef2gtk/internal/cefadapter/command_line.go +108 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego-cef2gtk/internal/cefadapter/window_info.go +12 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego-cef2gtk/internal/cutil/cstring.go +18 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego-cef2gtk/internal/dmabuf/format.go +48 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego-cef2gtk/internal/dmabuf/frame.go +125 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego-cef2gtk/internal/dmabuf/modifier.go +19 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego-cef2gtk/internal/egl/attrs.go +82 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego-cef2gtk/internal/egl/display.go +70 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego-cef2gtk/internal/egl/extensions.go +47 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego-cef2gtk/internal/egl/importer.go +165 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego-cef2gtk/internal/egl/loader.go +104 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego-cef2gtk/internal/egl/types.go +18 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego-cef2gtk/internal/gl/copy.go +513 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego-cef2gtk/internal/gl/loader.go +262 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego-cef2gtk/internal/gl/timer_query.go +96 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego-cef2gtk/internal/gtkgdk/renderer.go +922 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego-cef2gtk/internal/gtkgl/accelerated_renderer.go +470 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego-cef2gtk/internal/gtkgl/context.go +172 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego-cef2gtk/internal/gtkgl/gl.go +95 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego-cef2gtk/internal/gtkgl/glib.go +14 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego-cef2gtk/internal/gtkgl/input_bridge.go +1037 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego-cef2gtk/internal/gtkgl/main_thread.go +39 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego-cef2gtk/internal/gtkgl/render_signal.go +17 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego-cef2gtk/internal/profile/recorder.go +352 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego-cef2gtk/options.go +158 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego-cef2gtk/osr_backing_scale.go +135 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego-cef2gtk/profile.go +50 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego-cef2gtk/refresh_rate.go +56 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego-cef2gtk/render_stack.go +68 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego-cef2gtk/size_observation.go +88 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego-cef2gtk/view.go +966 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego-cef2gtk/window_info.go +19 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego-pipewire/internal/capi/.gitkeep +0 -0
no textual change.
A vendor/github.com/bnema/purego-pipewire/internal/capi/adapters_gen.go +93 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego-pipewire/internal/capi/init_gen.go +30 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego-pipewire/internal/capi/loop_gen.go +53 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego-pipewire/internal/capi/loop_lock.go +40 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego-pipewire/internal/capi/register.go +41 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego-pipewire/internal/capi/register_all.go +13 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego-pipewire/internal/capi/stream_ops.go +272 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego-pipewire/internal/capi/stream_params.go +172 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego-pipewire/internal/capi/stream_playback_gen.go +79 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego-pipewire/internal/core/context.go +31 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego-pipewire/internal/core/core.go +29 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego-pipewire/internal/core/loop.go +35 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego-pipewire/internal/core/player.go +435 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego-pipewire/internal/core/player_rt.go +203 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego-pipewire/internal/core/player_state.go +15 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego-pipewire/internal/core/pwbuffer.go +139 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego-pipewire/internal/core/registry.go +30 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego-pipewire/internal/core/runtime.go +82 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego-pipewire/internal/core/stream.go +38 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego-pipewire/internal/loader/loader.go +43 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego-pipewire/internal/ports/out/.gitkeep +0 -0
no textual change.
A vendor/github.com/bnema/purego-pipewire/internal/ports/out/capi.go +5 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego-pipewire/internal/ports/out/capi_gen.go +10 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego-pipewire/internal/ports/out/init_gen.go +9 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego-pipewire/internal/ports/out/loop_gen.go +14 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego-pipewire/internal/ports/out/stream_ops.go +56 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego-pipewire/internal/ports/out/stream_playback_gen.go +17 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego-pipewire/pipewire/context.go +8 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego-pipewire/pipewire/core.go +13 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego-pipewire/pipewire/interfaces.go +14 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego-pipewire/pipewire/player.go +218 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego-pipewire/pipewire/registry.go +12 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego-pipewire/pipewire/runtime.go +60 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego-pipewire/pipewire/stream.go +13 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego-sqlite/LICENSE +21 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego-sqlite/driver/driver.go +185 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego-sqlite/driver/register.go +10 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego-sqlite/internal/capi/bridge.go +1461 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego-sqlite/internal/capi/enums_gen.go +863 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego-sqlite/internal/capi/functions_gen.go +358 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego-sqlite/internal/capi/register_gen.go +377 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego-sqlite/internal/capi/variadic_gen.go +141 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego-sqlite/internal/core/db.go +122 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego-sqlite/internal/core/errors.go +51 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego-sqlite/internal/core/rows.go +181 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego-sqlite/internal/core/stmt.go +128 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego-sqlite/internal/loader/loader.go +22 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego-sqlite/internal/ports/in/ports_gen.go +33 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego-sqlite/internal/ports/out/auth_gen.go +11 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego-sqlite/internal/ports/out/backup_gen.go +15 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego-sqlite/internal/ports/out/bind_gen.go +27 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego-sqlite/internal/ports/out/blob_gen.go +16 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego-sqlite/internal/ports/out/capi_gen.go +29 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego-sqlite/internal/ports/out/column_gen.go +32 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego-sqlite/internal/ports/out/config_gen.go +14 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego-sqlite/internal/ports/out/context_gen.go +12 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego-sqlite/internal/ports/out/exec_gen.go +13 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego-sqlite/internal/ports/out/func_gen.go +17 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego-sqlite/internal/ports/out/hook_gen.go +20 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego-sqlite/internal/ports/out/lifecycle_gen.go +19 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego-sqlite/internal/ports/out/memory_gen.go +25 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego-sqlite/internal/ports/out/metadata_gen.go +22 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego-sqlite/internal/ports/out/misc_gen.go +151 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego-sqlite/internal/ports/out/prepare_gen.go +31 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego-sqlite/internal/ports/out/result_gen.go +31 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego-sqlite/internal/ports/out/serialize_gen.go +12 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego-sqlite/internal/ports/out/str_gen.go +22 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego-sqlite/internal/ports/out/trace_gen.go +13 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego-sqlite/internal/ports/out/value_gen.go +29 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego-sqlite/internal/ports/out/vfs_gen.go +13 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego-sqlite/internal/ports/out/vtab_gen.go +20 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego-sqlite/internal/ports/out/wal_gen.go +14 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego-sqlite/sqlite/sqlite_gen.go +49 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego/.gitignore +1 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego/LICENSE +201 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego/README.md +147 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego/abi_amd64.h +99 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego/abi_arm64.h +39 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego/abi_loong64.h +60 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego/cgo.go +19 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego/dlerror.go +17 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego/dlfcn.go +99 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego/dlfcn_android.go +34 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego/dlfcn_darwin.go +20 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego/dlfcn_freebsd.go +14 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego/dlfcn_linux.go +16 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego/dlfcn_netbsd.go +15 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego/dlfcn_nocgo_freebsd.go +11 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego/dlfcn_nocgo_linux.go +19 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego/dlfcn_nocgo_netbsd.go +11 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego/dlfcn_playground.go +24 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego/dlfcn_stubs.s +22 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego/func.go +677 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego/gen.go +6 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego/go_runtime.go +13 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego/hostlayout_go123.go +12 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego/hostlayout_nogo123.go +11 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego/internal/cgo/dlfcn_cgo_unix.go +56 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego/internal/cgo/empty.go +6 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego/internal/cgo/syscall_cgo_unix.go +55 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego/internal/fakecgo/abi_amd64.h +99 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego/internal/fakecgo/abi_arm64.h +39 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego/internal/fakecgo/abi_loong64.h +60 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego/internal/fakecgo/abi_ppc64x.h +195 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego/internal/fakecgo/abi_riscv64.h +72 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego/internal/fakecgo/asm_386.s +29 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego/internal/fakecgo/asm_amd64.s +39 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego/internal/fakecgo/asm_arm.s +52 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego/internal/fakecgo/asm_arm64.s +36 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego/internal/fakecgo/asm_loong64.s +40 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego/internal/fakecgo/asm_ppc64le.s +82 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego/internal/fakecgo/asm_riscv64.s +37 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego/internal/fakecgo/asm_s390x.s +55 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego/internal/fakecgo/callbacks.go +93 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego/internal/fakecgo/doc.go +32 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego/internal/fakecgo/fakecgo.go +14 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego/internal/fakecgo/freebsd.go +27 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego/internal/fakecgo/go_darwin.go +88 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego/internal/fakecgo/go_freebsd.go +79 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego/internal/fakecgo/go_libinit.go +72 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego/internal/fakecgo/go_linux.go +79 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego/internal/fakecgo/go_netbsd.go +85 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego/internal/fakecgo/go_setenv.go +18 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego/internal/fakecgo/go_util.go +38 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego/internal/fakecgo/iscgo.go +19 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego/internal/fakecgo/libcgo.go +39 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego/internal/fakecgo/libcgo_darwin.go +26 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego/internal/fakecgo/libcgo_freebsd.go +20 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego/internal/fakecgo/libcgo_linux.go +20 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego/internal/fakecgo/libcgo_netbsd.go +26 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego/internal/fakecgo/linux.go +184 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego/internal/fakecgo/netbsd.go +23 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego/internal/fakecgo/setenv.go +19 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego/internal/fakecgo/trampolines_386.s +121 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego/internal/fakecgo/trampolines_amd64.s +107 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego/internal/fakecgo/trampolines_arm.s +122 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego/internal/fakecgo/trampolines_arm64.s +81 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego/internal/fakecgo/trampolines_linux_386.s +78 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego/internal/fakecgo/trampolines_linux_amd64.s +69 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego/internal/fakecgo/trampolines_linux_arm.s +69 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego/internal/fakecgo/trampolines_linux_arm64.s +60 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego/internal/fakecgo/trampolines_linux_loong64.s +60 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego/internal/fakecgo/trampolines_linux_ppc64le.s +69 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego/internal/fakecgo/trampolines_linux_riscv64.s +60 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego/internal/fakecgo/trampolines_loong64.s +78 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego/internal/fakecgo/trampolines_ppc64le.s +128 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego/internal/fakecgo/trampolines_riscv64.s +76 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego/internal/fakecgo/zsymbols.go +165 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego/internal/fakecgo/zsymbols_darwin.go +59 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego/internal/fakecgo/zsymbols_freebsd.go +48 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego/internal/fakecgo/zsymbols_linux.go +158 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego/internal/fakecgo/zsymbols_netbsd.go +59 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego/internal/fakecgo/ztrampolines_darwin.s +19 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego/internal/fakecgo/ztrampolines_freebsd.s +16 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego/internal/fakecgo/ztrampolines_linux.s +46 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego/internal/fakecgo/ztrampolines_netbsd.s +19 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego/internal/fakecgo/ztrampolines_stubs.s +55 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego/internal/strings/strings.go +40 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego/internal/xreflect/reflect_go124.go +15 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego/internal/xreflect/reflect_go125.go +12 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego/is_ios.go +13 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego/nocgo.go +25 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego/struct_386.go +52 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego/struct_abi_helpers.go +38 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego/struct_amd64.go +443 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego/struct_arm.go +98 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego/struct_arm64.go +759 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego/struct_loong64.go +216 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego/struct_ppc64le.go +151 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego/struct_riscv64.go +151 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego/struct_s390x.go +151 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego/sys_386.s +147 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego/sys_amd64.s +170 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego/sys_arm.s +142 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego/sys_arm64.s +98 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego/sys_loong64.s +96 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego/sys_ppc64le.s +120 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego/sys_riscv64.s +101 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego/sys_s390x.s +114 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego/sys_unix_386.s +226 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego/sys_unix_arm.s +89 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego/sys_unix_arm64.s +75 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego/sys_unix_loong64.s +79 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego/sys_unix_ppc64le.s +114 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego/sys_unix_riscv64.s +79 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego/sys_unix_s390x.s +109 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego/syscall.go +108 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego/syscall_32bit.go +115 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego/syscall_cgo_linux.go +21 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego/syscall_notstackargs.go +38 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego/syscall_stackargs.go +43 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego/syscall_unix.go +693 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego/syscall_windows.go +112 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego/zcallback_386.s +4014 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego/zcallback_amd64.s +2014 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego/zcallback_arm.s +4014 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego/zcallback_arm64.s +4014 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego/zcallback_loong64.s +4014 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego/zcallback_ppc64le.s +4014 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego/zcallback_riscv64.s +4051 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego/zcallback_s390x.s +4015 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/LICENSE +21 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/internal/core/core.go +322 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/pkg/core/core.go +20 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/adw/adw-about-dialog.go +2021 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/adw/adw-about-window.go +2050 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/adw/adw-accent-color.go +88 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/adw/adw-action-row.go +808 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/adw/adw-alert-dialog.go +1195 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/adw/adw-animation-target.go +330 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/adw/adw-animation-util.go +43 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/adw/adw-animation.go +390 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/adw/adw-application-window.go +977 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/adw/adw-application.go +505 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/adw/adw-avatar.go +596 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/adw/adw-banner.go +707 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/adw/adw-bin.go +393 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/adw/adw-bottom-sheet.go +1010 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/adw/adw-breakpoint-bin.go +532 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/adw/adw-breakpoint.go +566 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/adw/adw-button-content.go +572 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/adw/adw-button-row.go +580 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/adw/adw-carousel-indicator-dots.go +410 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/adw/adw-carousel-indicator-lines.go +409 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/adw/adw-carousel.go +861 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/adw/adw-clamp-layout.go +264 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/adw/adw-clamp-scrollable.go +610 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/adw/adw-clamp.go +553 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/adw/adw-combo-row.go +815 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/adw/adw-dialog.go +947 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/adw/adw-easing.go +154 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/adw/adw-entry-row.go +1070 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/adw/adw-enum-list-model.go +309 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/adw/adw-expander-row.go +784 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/adw/adw-flap.go +1036 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/adw/adw-fold-threshold-policy.go +21 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/adw/adw-header-bar.go +812 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/adw/adw-inline-view-switcher.go +572 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/adw/adw-layout-slot.go +389 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/adw/adw-layout.go +157 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/adw/adw-leaflet.go +1283 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/adw/adw-length-unit.go +70 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/adw/adw-main.go +49 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/adw/adw-message-dialog.go +1199 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/adw/adw-multi-layout-view.go +565 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/adw/adw-navigation-direction.go +21 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/adw/adw-navigation-split-view.go +855 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/adw/adw-navigation-view.go +1895 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/adw/adw-overlay-split-view.go +989 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/adw/adw-password-entry-row.go +701 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/adw/adw-preferences-dialog.go +522 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/adw/adw-preferences-group.go +588 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/adw/adw-preferences-page.go +667 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/adw/adw-preferences-row.go +607 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/adw/adw-preferences-window.go +713 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/adw/adw-shortcut-label.go +488 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/adw/adw-shortcuts-dialog.go +452 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/adw/adw-shortcuts-item.go +287 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/adw/adw-shortcuts-section.go +255 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/adw/adw-sidebar-item.go +553 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/adw/adw-sidebar-section.go +389 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/adw/adw-sidebar.go +1142 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/adw/adw-spin-row.go +1112 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/adw/adw-spinner-paintable.go +300 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/adw/adw-spinner.go +392 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/adw/adw-split-button.go +884 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/adw/adw-spring-animation.go +473 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/adw/adw-spring-params.go +179 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/adw/adw-squeezer.go +966 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/adw/adw-status-page.go +563 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/adw/adw-style-manager.go +423 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/adw/adw-swipe-tracker.go +516 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/adw/adw-swipeable.go +275 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/adw/adw-switch-row.go +501 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/adw/adw-tab-bar.go +799 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/adw/adw-tab-button.go +540 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/adw/adw-tab-overview.go +962 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/adw/adw-tab-view.go +2291 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/adw/adw-timed-animation.go +385 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/adw/adw-toast-overlay.go +452 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/adw/adw-toast.go +712 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/adw/adw-toggle-group.go +1183 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/adw/adw-toolbar-view.go +933 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/adw/adw-version.go +81 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/adw/adw-view-stack.go +1874 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/adw/adw-view-switcher-bar.go +479 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/adw/adw-view-switcher-sidebar.go +554 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/adw/adw-view-switcher-title.go +603 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/adw/adw-view-switcher.go +490 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/adw/adw-window-title.go +451 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/adw/adw-window.go +693 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/adw/adw-wrap-box.go +925 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/adw/adw-wrap-layout.go +676 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/cairo/main.go +990 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/gdk/gdkapplaunchcontext.go +160 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/gdk/gdkcairo.go +101 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/gdk/gdkcairocontext.go +78 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/gdk/gdkcicpparams.go +334 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/gdk/gdkclipboard.go +412 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/gdk/gdkcolorstate.go +131 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/gdk/gdkcontentdeserializer.go +279 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/gdk/gdkcontentformats.go +248 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/gdk/gdkcontentprovider.go +522 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/gdk/gdkcontentserializer.go +280 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/gdk/gdkcursor.go +340 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/gdk/gdkdevice.go +616 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/gdk/gdkdevicepad.go +151 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/gdk/gdkdevicetool.go +168 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/gdk/gdkdisplay.go +733 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/gdk/gdkdisplaymanager.go +254 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/gdk/gdkdmabuftexture.go +309 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/gdk/gdkdmabuftexturebuilder.go +613 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/gdk/gdkdmabuftexturebuilder_extra.go +41 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/gdk/gdkdrag.go +374 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/gdk/gdkdragsurface.go +81 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/gdk/gdkdragsurfacesize.go +58 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/gdk/gdkdrawcontext.go +178 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/gdk/gdkdrop.go +297 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/gdk/gdkenums.go +876 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/gdk/gdkevents.go +1447 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/gdk/gdkframeclock.go +476 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/gdk/gdkframetimings.go +165 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/gdk/gdkglcontext.go +420 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/gdk/gdkgltexture.go +329 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/gdk/gdkgltexturebuilder.go +502 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/gdk/gdkkeys.go +116 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/gdk/gdkkeysyms.go +4904 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/gdk/gdkmemorytexture.go +315 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/gdk/gdkmemorytexturebuilder.go +453 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/gdk/gdkmonitor.go +382 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/gdk/gdkpaintable.go +545 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/gdk/gdkpango.go +72 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/gdk/gdkpixbuf.go +67 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/gdk/gdkpopup.go +193 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/gdk/gdkpopuplayout.go +307 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/gdk/gdkrgba.go +192 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/gdk/gdkseat.go +272 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/gdk/gdksnapshot.go +56 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/gdk/gdksurface.go +704 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/gdk/gdktexture.go +720 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/gdk/gdktoplevel.go +660 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/gdk/gdktoplevellayout.go +197 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/gdk/gdktoplevelsize.go +108 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/gdk/gdktypes.go +830 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/gdk/gdkvulkancontext.go +96 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/gdkpixbuf/gdk-pixbuf-animation.go +752 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/gdkpixbuf/gdk-pixbuf-core.go +107 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/gdkpixbuf/gdk-pixbuf-features.go +19 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/gdkpixbuf/gdk-pixbuf-io.go +547 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/gdkpixbuf/gdk-pixbuf-loader.go +561 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/gdkpixbuf/gdk-pixbuf-simple-anim.go +134 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/gdkpixbuf/gdk-pixbuf-transform.go +73 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/gdkpixbuf/gdk-pixbuf.go +1760 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/gdkpixbuf/main.go +106 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/gio/gaction.go +635 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/gio/gactiongroup.go +795 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/gio/gactionmap.go +422 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/gio/gappinfo.go +2114 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/gio/gapplication.go +2189 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/gio/gapplicationcommandline.go +711 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/gio/gasyncinitable.go +336 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/gio/gasyncresult.go +318 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/gio/gbufferedinputstream.go +559 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/gio/gbufferedoutputstream.go +321 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/gio/gbytesicon.go +197 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/gio/gcancellable.go +618 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/gio/gcharsetconverter.go +336 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/gio/gcontenttype.go +239 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/gio/gconverter.go +263 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/gio/gconverterinputstream.go +327 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/gio/gconverteroutputstream.go +360 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/gio/gcredentials.go +244 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/gio/gdatagrambased.go +481 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/gio/gdatainputstream.go +678 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/gio/gdataoutputstream.go +425 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/gio/gdbusactiongroup.go +341 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/gio/gdbusaddress.go +159 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/gio/gdbusauthobserver.go +209 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/gio/gdbusconnection.go +1898 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/gio/gdbuserror.go +184 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/gio/gdbusinterface.go +284 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/gio/gdbusinterfaceskeleton.go +541 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/gio/gdbusintrospection.go +581 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/gio/gdbusmenumodel.go +81 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/gio/gdbusmessage.go +729 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/gio/gdbusmethodinvocation.go +387 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/gio/gdbusnameowning.go +136 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/gio/gdbusnamewatching.go +115 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/gio/gdbusobject.go +272 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/gio/gdbusobjectmanager.go +383 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/gio/gdbusobjectmanagerclient.go +726 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/gio/gdbusobjectmanagerserver.go +275 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/gio/gdbusobjectproxy.go +181 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/gio/gdbusobjectskeleton.go +273 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/gio/gdbusproxy.go +1098 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/gio/gdbusserver.go +317 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/gio/gdbusutils.go +211 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/gio/gdebugcontroller.go +138 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/gio/gdebugcontrollerdbus.go +371 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/gio/gdrive.go +1327 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/gio/gdtlsclientconnection.go +176 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/gio/gdtlsconnection.go +914 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/gio/gdtlsserverconnection.go +96 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/gio/gemblem.go +186 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/gio/gemblemedicon.go +206 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/gio/gfile.go +6341 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/gio/gfileattribute.go +145 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/gio/gfileenumerator.go +769 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/gio/gfileicon.go +202 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/gio/gfileinfo.go +1628 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/gio/gfileinputstream.go +519 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/gio/gfileiostream.go +623 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/gio/gfilemonitor.go +394 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/gio/gfilenamecompleter.go +251 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/gio/gfileoutputstream.go +618 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/gio/gfilterinputstream.go +205 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/gio/gfilteroutputstream.go +205 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/gio/gicon.go +371 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/gio/ginetaddress.go +550 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/gio/ginetaddressmask.go +269 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/gio/ginetsocketaddress.go +289 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/gio/ginitable.go +202 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/gio/ginputstream.go +865 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/gio/gioenums.go +2321 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/gio/gioerror.go +68 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/gio/giomodule.go +350 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/gio/gioscheduler.go +48 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/gio/giostream.go +727 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/gio/giotypes.go +1134 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/gio/giptosmessage.go +122 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/gio/gipv6tclassmessage.go +122 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/gio/glistmodel.go +336 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/gio/gliststore.go +328 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/gio/gloadableicon.go +232 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/gio/gmemoryinputstream.go +420 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/gio/gmemorymonitor.go +177 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/gio/gmemoryoutputstream.go +616 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/gio/gmenu.go +760 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/gio/gmenuexporter.go +10 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/gio/gmenumodel.go +995 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/gio/gmount.go +1293 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/gio/gmountoperation.go +1009 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/gio/gnativesocketaddress.go +155 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/gio/gnativevolumemonitor.go +94 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/gio/gnetworkaddress.go +346 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/gio/gnetworking.go +32 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/gio/gnetworkmonitor.go +394 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/gio/gnetworkservice.go +279 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/gio/gnotification.go +283 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/gio/goutputstream.go +1258 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/gio/gpermission.go +443 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/gio/gpollableinputstream.go +297 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/gio/gpollableoutputstream.go +370 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/gio/gpollableutils.go +132 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/gio/gpowerprofilemonitor.go +145 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/gio/gpropertyaction.go +337 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/gio/gproxy.go +307 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/gio/gproxyaddress.go +357 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/gio/gproxyaddressenumerator.go +294 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/gio/gproxyresolver.go +290 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/gio/gremoteactiongroup.go +183 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/gio/gresolver.go +1045 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/gio/gresource.go +254 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/gio/gseekable.go +302 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/gio/gsettings.go +1830 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/gio/gsettingsbackend.go +681 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/gio/gsettingsschema.go +587 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/gio/gsimpleaction.go +442 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/gio/gsimpleactiongroup.go +498 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/gio/gsimpleasyncresult.go +612 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/gio/gsimpleiostream.go +79 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/gio/gsimplepermission.go +75 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/gio/gsimpleproxyresolver.go +454 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/gio/gsocket.go +1992 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/gio/gsocketaddress.go +257 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/gio/gsocketaddressenumerator.go +260 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/gio/gsocketclient.go +945 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/gio/gsocketconnectable.go +296 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/gio/gsocketconnection.go +404 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/gio/gsocketcontrolmessage.go +447 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/gio/gsocketlistener.go +626 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/gio/gsocketservice.go +414 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/gio/gsrvtarget.go +36 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/gio/gsubprocess.go +632 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/gio/gsubprocesslauncher.go +409 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/gio/gtask.go +1334 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/gio/gtcpconnection.go +134 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/gio/gtcpwrapperconnection.go +131 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/gio/gtestdbus.go +234 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/gio/gthemedicon.go +300 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/gio/gthreadedresolver.go +56 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/gio/gthreadedsocketservice.go +319 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/gio/gtlsbackend.go +463 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/gio/gtlscertificate.go +768 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/gio/gtlsclientconnection.go +293 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/gio/gtlsconnection.go +826 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/gio/gtlsdatabase.go +883 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/gio/gtlsfiledatabase.go +130 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/gio/gtlsinteraction.go +522 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/gio/gtlspassword.go +330 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/gio/gtlsserverconnection.go +101 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/gio/gunixconnection.go +276 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/gio/gunixcredentialsmessage.go +222 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/gio/gunixfdlist.go +378 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/gio/gunixsocketaddress.go +349 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/gio/gvfs.go +704 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/gio/gvolume.go +1055 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/gio/gvolumemonitor.go +1190 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/gio/gzlibcompressor.go +316 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/gio/gzlibdecompressor.go +225 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/gio/main.go +30 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/glib/gallocator.go +184 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/glib/garray.go +794 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/glib/gasyncqueue.go +431 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/glib/gatomic.go +395 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/glib/gbacktrace.go +101 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/glib/gbase64.go +110 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/glib/gbitlock.go +187 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/glib/gbookmarkfile.go +950 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/glib/gcache.go +123 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/glib/gcharset.go +144 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/glib/gchecksum.go +224 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/glib/gcompletion.go +159 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/glib/gconvert.go +460 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/glib/gdataset.go +278 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/glib/gdate.go +812 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/glib/gdatetime.go +1043 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/glib/gdir.go +145 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/glib/genviron.go +151 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/glib/gerror.go +284 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/glib/gfileutils.go +799 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/glib/ggettext.go +150 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/glib/ghash.go +714 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/glib/ghmac.go +208 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/glib/ghook.go +258 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/glib/ghostutils.go +90 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/glib/giochannel.go +1123 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/glib/gkeyfile.go +1164 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/glib/glib-types.go +38 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/glib/glibconfig.go +116 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/glib/glist.go +57 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/glib/gmacros.go +30 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/glib/gmain.go +2504 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/glib/gmappedfile.go +184 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/glib/gmarkup.go +780 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/glib/gmem.go +519 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/glib/gmessages.go +1005 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/glib/gnode.go +424 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/glib/goption.go +652 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/glib/gpathbuf.go +314 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/glib/gpattern.go +209 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/glib/gpoll.go +86 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/glib/gprimes.go +35 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/glib/gprintf.go +121 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/glib/gqsort.go +45 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/glib/gquark.go +159 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/glib/gqueue.go +471 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/glib/grand.go +223 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/glib/grcbox.go +198 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/glib/grefcount.go +138 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/glib/grefstring.go +108 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/glib/gregex.go +1610 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/glib/grel.go +205 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/glib/gscanner.go +473 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/glib/gsequence.go +578 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/glib/gshell.go +123 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/glib/gslice.go +142 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/glib/gslist.go +56 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/glib/gspawn.go +618 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/glib/gstdio.go +375 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/glib/gstrfuncs.go +1120 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/glib/gstring.go +596 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/glib/gstringchunk.go +140 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/glib/gstrvbuilder.go +179 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/glib/gtestutils.go +1439 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/glib/gthread.go +2438 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/glib/gthreadpool.go +277 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/glib/gtimer.go +164 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/glib/gtimezone.go +377 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/glib/gtrashstack.go +94 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/glib/gtree.go +503 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/glib/gtypes.go +258 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/glib/gunicode.go +1656 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/glib/guri.go +1099 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/glib/gutils.go +745 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/glib/guuid.go +48 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/glib/gvariant-parser.go +30 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/glib/gvariant.go +3035 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/glib/gvarianttype.go +712 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/glib/gversion.go +44 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/glib/gversionmacros.go +18 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/glib/main.go +141 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/glib/more.go +366 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/glib/more_other.go +8 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/glib/more_sysv.go +29 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/glib/more_windows.go +6 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/gmodule/gmodule.go +172 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/gmodule/gmoduleconf.go +12 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/gmodule/main.go +30 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/gobject/gbinding.go +369 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/gobject/gbindinggroup.go +150 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/gobject/gboxed.go +65 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/gobject/gclosure.go +543 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/gobject/genums.go +290 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/gobject/glib-types.go +34 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/gobject/gmarshal.go +227 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/gobject/gobject.go +2233 -0
| @@ -0,0 +1,2233 @@ | |||
| 1 | + | // Package gobject was automatically generated by github.com/bnema/puregotk DO NOT EDIT | |
| 2 | + | package gobject | |
| 3 | + | ||
| 4 | + | import ( | |
| 5 | + | "structs" | |
| 6 | + | "unsafe" | |
| 7 | + | ||
| 8 | + | "github.com/bnema/purego" | |
| 9 | + | "github.com/bnema/puregotk/pkg/core" | |
| 10 | + | "github.com/bnema/puregotk/v4/glib" | |
| 11 | + | "github.com/bnema/puregotk/v4/gobject/types" | |
| 12 | + | ) | |
| 13 | + | ||
| 14 | + | // The type of the @finalize function of #GObjectClass. | |
| 15 | + | type ObjectFinalizeFunc func(uintptr) | |
| 16 | + | ||
| 17 | + | // The type of the @get_property function of #GObjectClass. | |
| 18 | + | type ObjectGetPropertyFunc func(uintptr, uint, *Value, uintptr) | |
| 19 | + | ||
| 20 | + | // The type of the @set_property function of #GObjectClass. | |
| 21 | + | type ObjectSetPropertyFunc func(uintptr, uint, *Value, uintptr) | |
| 22 | + | ||
| 23 | + | // A callback function used for notification when the state | |
| 24 | + | // of a toggle reference changes. | |
| 25 | + | // | |
| 26 | + | // See also: g_object_add_toggle_ref() | |
| 27 | + | type ToggleNotify func(uintptr, uintptr, bool) | |
| 28 | + | ||
| 29 | + | // A #GWeakNotify function can be added to an object as a callback that gets | |
| 30 | + | // triggered when the object is finalized. | |
| 31 | + | // | |
| 32 | + | // Since the object is already being disposed when the #GWeakNotify is called, | |
| 33 | + | // there's not much you could do with the object, apart from e.g. using its | |
| 34 | + | // address as hash-index or the like. | |
| 35 | + | // | |
| 36 | + | // In particular, this means it’s invalid to call g_object_ref(), | |
| 37 | + | // g_weak_ref_init(), g_weak_ref_set(), g_object_add_toggle_ref(), | |
| 38 | + | // g_object_weak_ref(), g_object_add_weak_pointer() or any function which calls | |
| 39 | + | // them on the object from this callback. | |
| 40 | + | type WeakNotify func(uintptr, uintptr) | |
| 41 | + | ||
| 42 | + | // The class structure for the GInitiallyUnowned type. | |
| 43 | + | type InitiallyUnownedClass struct { | |
| 44 | + | _ structs.HostLayout | |
| 45 | + | ||
| 46 | + | GTypeClass uintptr | |
| 47 | + | ||
| 48 | + | ConstructProperties *glib.SList | |
| 49 | + | ||
| 50 | + | xConstructor uintptr | |
| 51 | + | ||
| 52 | + | xSetProperty uintptr | |
| 53 | + | ||
| 54 | + | xGetProperty uintptr | |
| 55 | + | ||
| 56 | + | xDispose uintptr | |
| 57 | + | ||
| 58 | + | xFinalize uintptr | |
| 59 | + | ||
| 60 | + | xDispatchPropertiesChanged uintptr | |
| 61 | + | ||
| 62 | + | xNotify uintptr | |
| 63 | + | ||
| 64 | + | xConstructed uintptr | |
| 65 | + | ||
| 66 | + | Flags uint | |
| 67 | + | ||
| 68 | + | NConstructProperties uint | |
| 69 | + | ||
| 70 | + | Pspecs uintptr | |
| 71 | + | ||
| 72 | + | NPspecs uint | |
| 73 | + | ||
| 74 | + | Pdummy [3]uintptr | |
| 75 | + | } | |
| 76 | + | ||
| 77 | + | func (x *InitiallyUnownedClass) GoPointer() uintptr { | |
| 78 | + | return uintptr(unsafe.Pointer(x)) | |
| 79 | + | } | |
| 80 | + | ||
| 81 | + | func InitiallyUnownedClassNewFromInternalPtr(ptr uintptr) *InitiallyUnownedClass { | |
| 82 | + | if ptr == 0 { | |
| 83 | + | return nil | |
| 84 | + | } | |
| 85 | + | rawPtr := *(*unsafe.Pointer)(unsafe.Pointer(&ptr)) | |
| 86 | + | return (*InitiallyUnownedClass)(rawPtr) | |
| 87 | + | } | |
| 88 | + | ||
| 89 | + | // OverrideConstructor sets the "constructor" callback function. | |
| 90 | + | // the @constructor function is called by g_object_new () to | |
| 91 | + | // | |
| 92 | + | // complete the object initialization after all the construction properties are | |
| 93 | + | // set. The first thing a @constructor implementation must do is chain up to the | |
| 94 | + | // @constructor of the parent class. Overriding @constructor should be rarely | |
| 95 | + | // needed, e.g. to handle construct properties, or to implement singletons. | |
| 96 | + | func (x *InitiallyUnownedClass) OverrideConstructor(cb func(types.GType, uint, *ObjectConstructParam) *Object) { | |
| 97 | + | if cb == nil { | |
| 98 | + | x.xConstructor = 0 | |
| 99 | + | } else { | |
| 100 | + | x.xConstructor = purego.NewCallback(func(TypeVarp types.GType, NConstructPropertiesVarp uint, ConstructPropertiesVarp *ObjectConstructParam) uintptr { | |
| 101 | + | ret := cb(TypeVarp, NConstructPropertiesVarp, ConstructPropertiesVarp) | |
| 102 | + | if ret == nil { | |
| 103 | + | return 0 | |
| 104 | + | } | |
| 105 | + | return ret.GoPointer() | |
| 106 | + | }) | |
| 107 | + | } | |
| 108 | + | } | |
| 109 | + | ||
| 110 | + | // GetConstructor gets the "constructor" callback function. | |
| 111 | + | // the @constructor function is called by g_object_new () to | |
| 112 | + | // | |
| 113 | + | // complete the object initialization after all the construction properties are | |
| 114 | + | // set. The first thing a @constructor implementation must do is chain up to the | |
| 115 | + | // @constructor of the parent class. Overriding @constructor should be rarely | |
| 116 | + | // needed, e.g. to handle construct properties, or to implement singletons. | |
| 117 | + | func (x *InitiallyUnownedClass) GetConstructor() func(types.GType, uint, *ObjectConstructParam) *Object { | |
| 118 | + | if x.xConstructor == 0 { | |
| 119 | + | return nil | |
| 120 | + | } | |
| 121 | + | var rawCallback func(TypeVarp types.GType, NConstructPropertiesVarp uint, ConstructPropertiesVarp *ObjectConstructParam) uintptr | |
| 122 | + | purego.RegisterFunc(&rawCallback, x.xConstructor) | |
| 123 | + | return func(TypeVar types.GType, NConstructPropertiesVar uint, ConstructPropertiesVar *ObjectConstructParam) *Object { | |
| 124 | + | rawRet := rawCallback(TypeVar, NConstructPropertiesVar, ConstructPropertiesVar) | |
| 125 | + | if rawRet == 0 { | |
| 126 | + | return nil | |
| 127 | + | } | |
| 128 | + | ret := &Object{} | |
| 129 | + | ret.Ptr = rawRet | |
| 130 | + | return ret | |
| 131 | + | } | |
| 132 | + | } | |
| 133 | + | ||
| 134 | + | // OverrideSetProperty sets the "set_property" callback function. | |
| 135 | + | // the generic setter for all properties of this type. Should be | |
| 136 | + | // | |
| 137 | + | // overridden for every type with properties. If implementations of | |
| 138 | + | // @set_property don't emit property change notification explicitly, this will | |
| 139 | + | // be done implicitly by the type system. However, if the notify signal is | |
| 140 | + | // emitted explicitly, the type system will not emit it a second time. | |
| 141 | + | func (x *InitiallyUnownedClass) OverrideSetProperty(cb func(*Object, uint, *Value, *ParamSpec)) { | |
| 142 | + | if cb == nil { | |
| 143 | + | x.xSetProperty = 0 | |
| 144 | + | } else { | |
| 145 | + | x.xSetProperty = purego.NewCallback(func(ObjectVarp uintptr, PropertyIdVarp uint, ValueVarp *Value, PspecVarp uintptr) { | |
| 146 | + | cb(ObjectNewFromInternalPtr(ObjectVarp), PropertyIdVarp, ValueVarp, ParamSpecNewFromInternalPtr(PspecVarp)) | |
| 147 | + | }) | |
| 148 | + | } | |
| 149 | + | } | |
| 150 | + | ||
| 151 | + | // GetSetProperty gets the "set_property" callback function. | |
| 152 | + | // the generic setter for all properties of this type. Should be | |
| 153 | + | // | |
| 154 | + | // overridden for every type with properties. If implementations of | |
| 155 | + | // @set_property don't emit property change notification explicitly, this will | |
| 156 | + | // be done implicitly by the type system. However, if the notify signal is | |
| 157 | + | // emitted explicitly, the type system will not emit it a second time. | |
| 158 | + | func (x *InitiallyUnownedClass) GetSetProperty() func(*Object, uint, *Value, *ParamSpec) { | |
| 159 | + | if x.xSetProperty == 0 { | |
| 160 | + | return nil | |
| 161 | + | } | |
| 162 | + | var rawCallback func(ObjectVarp uintptr, PropertyIdVarp uint, ValueVarp *Value, PspecVarp uintptr) | |
| 163 | + | purego.RegisterFunc(&rawCallback, x.xSetProperty) | |
| 164 | + | return func(ObjectVar *Object, PropertyIdVar uint, ValueVar *Value, PspecVar *ParamSpec) { | |
| 165 | + | rawCallback(ObjectVar.GoPointer(), PropertyIdVar, ValueVar, PspecVar.GoPointer()) | |
| 166 | + | } | |
| 167 | + | } | |
| 168 | + | ||
| 169 | + | // OverrideGetProperty sets the "get_property" callback function. | |
| 170 | + | // the generic getter for all properties of this type. Should be | |
| 171 | + | // | |
| 172 | + | // overridden for every type with properties. | |
| 173 | + | func (x *InitiallyUnownedClass) OverrideGetProperty(cb func(*Object, uint, *Value, *ParamSpec)) { | |
| 174 | + | if cb == nil { | |
| 175 | + | x.xGetProperty = 0 | |
| 176 | + | } else { | |
| 177 | + | x.xGetProperty = purego.NewCallback(func(ObjectVarp uintptr, PropertyIdVarp uint, ValueVarp *Value, PspecVarp uintptr) { | |
| 178 | + | cb(ObjectNewFromInternalPtr(ObjectVarp), PropertyIdVarp, ValueVarp, ParamSpecNewFromInternalPtr(PspecVarp)) | |
| 179 | + | }) | |
| 180 | + | } | |
| 181 | + | } | |
| 182 | + | ||
| 183 | + | // GetGetProperty gets the "get_property" callback function. | |
| 184 | + | // the generic getter for all properties of this type. Should be | |
| 185 | + | // | |
| 186 | + | // overridden for every type with properties. | |
| 187 | + | func (x *InitiallyUnownedClass) GetGetProperty() func(*Object, uint, *Value, *ParamSpec) { | |
| 188 | + | if x.xGetProperty == 0 { | |
| 189 | + | return nil | |
| 190 | + | } | |
| 191 | + | var rawCallback func(ObjectVarp uintptr, PropertyIdVarp uint, ValueVarp *Value, PspecVarp uintptr) | |
| 192 | + | purego.RegisterFunc(&rawCallback, x.xGetProperty) | |
| 193 | + | return func(ObjectVar *Object, PropertyIdVar uint, ValueVar *Value, PspecVar *ParamSpec) { | |
| 194 | + | rawCallback(ObjectVar.GoPointer(), PropertyIdVar, ValueVar, PspecVar.GoPointer()) | |
| 195 | + | } | |
| 196 | + | } | |
| 197 | + | ||
| 198 | + | // OverrideDispose sets the "dispose" callback function. | |
| 199 | + | // the @dispose function is supposed to drop all references to other | |
| 200 | + | // | |
| 201 | + | // objects, but keep the instance otherwise intact, so that client method | |
| 202 | + | // invocations still work. It may be run multiple times (due to reference | |
| 203 | + | // loops). Before returning, @dispose should chain up to the @dispose method | |
| 204 | + | // of the parent class. | |
| 205 | + | func (x *InitiallyUnownedClass) OverrideDispose(cb func(*Object)) { | |
| 206 | + | if cb == nil { | |
| 207 | + | x.xDispose = 0 | |
| 208 | + | } else { | |
| 209 | + | x.xDispose = purego.NewCallback(func(ObjectVarp uintptr) { | |
| 210 | + | cb(ObjectNewFromInternalPtr(ObjectVarp)) | |
| 211 | + | }) | |
| 212 | + | } | |
| 213 | + | } | |
| 214 | + | ||
| 215 | + | // GetDispose gets the "dispose" callback function. | |
| 216 | + | // the @dispose function is supposed to drop all references to other | |
| 217 | + | // | |
| 218 | + | // objects, but keep the instance otherwise intact, so that client method | |
| 219 | + | // invocations still work. It may be run multiple times (due to reference | |
| 220 | + | // loops). Before returning, @dispose should chain up to the @dispose method | |
| 221 | + | // of the parent class. | |
| 222 | + | func (x *InitiallyUnownedClass) GetDispose() func(*Object) { | |
| 223 | + | if x.xDispose == 0 { | |
| 224 | + | return nil | |
| 225 | + | } | |
| 226 | + | var rawCallback func(ObjectVarp uintptr) | |
| 227 | + | purego.RegisterFunc(&rawCallback, x.xDispose) | |
| 228 | + | return func(ObjectVar *Object) { | |
| 229 | + | rawCallback(ObjectVar.GoPointer()) | |
| 230 | + | } | |
| 231 | + | } | |
| 232 | + | ||
| 233 | + | // OverrideFinalize sets the "finalize" callback function. | |
| 234 | + | // instance finalization function, should finish the finalization of | |
| 235 | + | // | |
| 236 | + | // the instance begun in @dispose and chain up to the @finalize method of the | |
| 237 | + | // parent class. | |
| 238 | + | func (x *InitiallyUnownedClass) OverrideFinalize(cb func(*Object)) { | |
| 239 | + | if cb == nil { | |
| 240 | + | x.xFinalize = 0 | |
| 241 | + | } else { | |
| 242 | + | x.xFinalize = purego.NewCallback(func(ObjectVarp uintptr) { | |
| 243 | + | cb(ObjectNewFromInternalPtr(ObjectVarp)) | |
| 244 | + | }) | |
| 245 | + | } | |
| 246 | + | } | |
| 247 | + | ||
| 248 | + | // GetFinalize gets the "finalize" callback function. | |
| 249 | + | // instance finalization function, should finish the finalization of | |
| 250 | + | // | |
| 251 | + | // the instance begun in @dispose and chain up to the @finalize method of the | |
| 252 | + | // parent class. | |
| 253 | + | func (x *InitiallyUnownedClass) GetFinalize() func(*Object) { | |
| 254 | + | if x.xFinalize == 0 { | |
| 255 | + | return nil | |
| 256 | + | } | |
| 257 | + | var rawCallback func(ObjectVarp uintptr) | |
| 258 | + | purego.RegisterFunc(&rawCallback, x.xFinalize) | |
| 259 | + | return func(ObjectVar *Object) { | |
| 260 | + | rawCallback(ObjectVar.GoPointer()) | |
| 261 | + | } | |
| 262 | + | } | |
| 263 | + | ||
| 264 | + | // OverrideDispatchPropertiesChanged sets the "dispatch_properties_changed" callback function. | |
| 265 | + | // emits property change notification for a bunch | |
| 266 | + | // | |
| 267 | + | // of properties. Overriding @dispatch_properties_changed should be rarely | |
| 268 | + | // needed. | |
| 269 | + | func (x *InitiallyUnownedClass) OverrideDispatchPropertiesChanged(cb func(*Object, uint, **ParamSpec)) { | |
| 270 | + | if cb == nil { | |
| 271 | + | x.xDispatchPropertiesChanged = 0 | |
| 272 | + | } else { | |
| 273 | + | x.xDispatchPropertiesChanged = purego.NewCallback(func(ObjectVarp uintptr, NPspecsVarp uint, PspecsVarp uintptr) { | |
| 274 | + | cb(ObjectNewFromInternalPtr(ObjectVarp), NPspecsVarp, (**ParamSpec)(unsafe.Pointer(PspecsVarp))) | |
| 275 | + | }) | |
| 276 | + | } | |
| 277 | + | } | |
| 278 | + | ||
| 279 | + | // GetDispatchPropertiesChanged gets the "dispatch_properties_changed" callback function. | |
| 280 | + | // emits property change notification for a bunch | |
| 281 | + | // | |
| 282 | + | // of properties. Overriding @dispatch_properties_changed should be rarely | |
| 283 | + | // needed. | |
| 284 | + | func (x *InitiallyUnownedClass) GetDispatchPropertiesChanged() func(*Object, uint, **ParamSpec) { | |
| 285 | + | if x.xDispatchPropertiesChanged == 0 { | |
| 286 | + | return nil | |
| 287 | + | } | |
| 288 | + | var rawCallback func(ObjectVarp uintptr, NPspecsVarp uint, PspecsVarp uintptr) | |
| 289 | + | purego.RegisterFunc(&rawCallback, x.xDispatchPropertiesChanged) | |
| 290 | + | return func(ObjectVar *Object, NPspecsVar uint, PspecsVar **ParamSpec) { | |
| 291 | + | rawCallback(ObjectVar.GoPointer(), NPspecsVar, *ConvertPtr(PspecsVar)) | |
| 292 | + | } | |
| 293 | + | } | |
| 294 | + | ||
| 295 | + | // OverrideNotify sets the "notify" callback function. | |
| 296 | + | // the class closure for the notify signal | |
| 297 | + | func (x *InitiallyUnownedClass) OverrideNotify(cb func(*Object, *ParamSpec)) { | |
| 298 | + | if cb == nil { | |
| 299 | + | x.xNotify = 0 | |
| 300 | + | } else { | |
| 301 | + | x.xNotify = purego.NewCallback(func(ObjectVarp uintptr, PspecVarp uintptr) { | |
| 302 | + | cb(ObjectNewFromInternalPtr(ObjectVarp), ParamSpecNewFromInternalPtr(PspecVarp)) | |
| 303 | + | }) | |
| 304 | + | } | |
| 305 | + | } | |
| 306 | + | ||
| 307 | + | // GetNotify gets the "notify" callback function. | |
| 308 | + | // the class closure for the notify signal | |
| 309 | + | func (x *InitiallyUnownedClass) GetNotify() func(*Object, *ParamSpec) { | |
| 310 | + | if x.xNotify == 0 { | |
| 311 | + | return nil | |
| 312 | + | } | |
| 313 | + | var rawCallback func(ObjectVarp uintptr, PspecVarp uintptr) | |
| 314 | + | purego.RegisterFunc(&rawCallback, x.xNotify) | |
| 315 | + | return func(ObjectVar *Object, PspecVar *ParamSpec) { | |
| 316 | + | rawCallback(ObjectVar.GoPointer(), PspecVar.GoPointer()) | |
| 317 | + | } | |
| 318 | + | } | |
| 319 | + | ||
| 320 | + | // OverrideConstructed sets the "constructed" callback function. | |
| 321 | + | // the @constructed function is called by g_object_new() as the | |
| 322 | + | // | |
| 323 | + | // final step of the object creation process. At the point of the call, all | |
| 324 | + | // construction properties have been set on the object. The purpose of this | |
| 325 | + | // call is to allow for object initialisation steps that can only be performed | |
| 326 | + | // after construction properties have been set. @constructed implementors | |
| 327 | + | // should chain up to the @constructed call of their parent class to allow it | |
| 328 | + | // to complete its initialisation. | |
| 329 | + | func (x *InitiallyUnownedClass) OverrideConstructed(cb func(*Object)) { | |
| 330 | + | if cb == nil { | |
| 331 | + | x.xConstructed = 0 | |
| 332 | + | } else { | |
| 333 | + | x.xConstructed = purego.NewCallback(func(ObjectVarp uintptr) { | |
| 334 | + | cb(ObjectNewFromInternalPtr(ObjectVarp)) | |
| 335 | + | }) | |
| 336 | + | } | |
| 337 | + | } | |
| 338 | + | ||
| 339 | + | // GetConstructed gets the "constructed" callback function. | |
| 340 | + | // the @constructed function is called by g_object_new() as the | |
| 341 | + | // | |
| 342 | + | // final step of the object creation process. At the point of the call, all | |
| 343 | + | // construction properties have been set on the object. The purpose of this | |
| 344 | + | // call is to allow for object initialisation steps that can only be performed | |
| 345 | + | // after construction properties have been set. @constructed implementors | |
| 346 | + | // should chain up to the @constructed call of their parent class to allow it | |
| 347 | + | // to complete its initialisation. | |
| 348 | + | func (x *InitiallyUnownedClass) GetConstructed() func(*Object) { | |
| 349 | + | if x.xConstructed == 0 { | |
| 350 | + | return nil | |
| 351 | + | } | |
| 352 | + | var rawCallback func(ObjectVarp uintptr) | |
| 353 | + | purego.RegisterFunc(&rawCallback, x.xConstructed) | |
| 354 | + | return func(ObjectVar *Object) { | |
| 355 | + | rawCallback(ObjectVar.GoPointer()) | |
| 356 | + | } | |
| 357 | + | } | |
| 358 | + | ||
| 359 | + | // The class structure for the GObject type. | |
| 360 | + | // | |
| 361 | + | // |[<!-- language="C" --> | |
| 362 | + | // // Example of implementing a singleton using a constructor. | |
| 363 | + | // static MySingleton *the_singleton = NULL; | |
| 364 | + | // | |
| 365 | + | // static GObject* | |
| 366 | + | // my_singleton_constructor (GType type, | |
| 367 | + | // | |
| 368 | + | // guint n_construct_params, | |
| 369 | + | // GObjectConstructParam *construct_params) | |
| 370 | + | // | |
| 371 | + | // { | |
| 372 | + | // GObject *object; | |
| 373 | + | // | |
| 374 | + | // if (!the_singleton) | |
| 375 | + | // { | |
| 376 | + | // object = G_OBJECT_CLASS (parent_class)->constructor (type, | |
| 377 | + | // n_construct_params, | |
| 378 | + | // construct_params); | |
| 379 | + | // the_singleton = MY_SINGLETON (object); | |
| 380 | + | // } | |
| 381 | + | // else | |
| 382 | + | // object = g_object_ref (G_OBJECT (the_singleton)); | |
| 383 | + | // | |
| 384 | + | // return object; | |
| 385 | + | // } | |
| 386 | + | // | |
| 387 | + | // ]| | |
| 388 | + | type ObjectClass struct { | |
| 389 | + | _ structs.HostLayout | |
| 390 | + | ||
| 391 | + | GTypeClass uintptr | |
| 392 | + | ||
| 393 | + | ConstructProperties *glib.SList | |
| 394 | + | ||
| 395 | + | xConstructor uintptr | |
| 396 | + | ||
| 397 | + | xSetProperty uintptr | |
| 398 | + | ||
| 399 | + | xGetProperty uintptr | |
| 400 | + | ||
| 401 | + | xDispose uintptr | |
| 402 | + | ||
| 403 | + | xFinalize uintptr | |
| 404 | + | ||
| 405 | + | xDispatchPropertiesChanged uintptr | |
| 406 | + | ||
| 407 | + | xNotify uintptr | |
| 408 | + | ||
| 409 | + | xConstructed uintptr | |
| 410 | + | ||
| 411 | + | Flags uint | |
| 412 | + | ||
| 413 | + | NConstructProperties uint | |
| 414 | + | ||
| 415 | + | Pspecs uintptr | |
| 416 | + | ||
| 417 | + | NPspecs uint | |
| 418 | + | ||
| 419 | + | Pdummy [3]uintptr | |
| 420 | + | } | |
| 421 | + | ||
| 422 | + | func (x *ObjectClass) GoPointer() uintptr { | |
| 423 | + | return uintptr(unsafe.Pointer(x)) | |
| 424 | + | } | |
| 425 | + | ||
| 426 | + | func ObjectClassNewFromInternalPtr(ptr uintptr) *ObjectClass { | |
| 427 | + | if ptr == 0 { | |
| 428 | + | return nil | |
| 429 | + | } | |
| 430 | + | rawPtr := *(*unsafe.Pointer)(unsafe.Pointer(&ptr)) | |
| 431 | + | return (*ObjectClass)(rawPtr) | |
| 432 | + | } | |
| 433 | + | ||
| 434 | + | var xObjectClassFindProperty func(uintptr, string) uintptr | |
| 435 | + | ||
| 436 | + | // Looks up the #GParamSpec for a property of a class. | |
| 437 | + | func (x *ObjectClass) FindProperty(PropertyNameVar string) *ParamSpec { | |
| 438 | + | var cls *ParamSpec | |
| 439 | + | ||
| 440 | + | cret := xObjectClassFindProperty(x.GoPointer(), PropertyNameVar) | |
| 441 | + | ||
| 442 | + | if cret == 0 { | |
| 443 | + | return nil | |
| 444 | + | } | |
| 445 | + | IncreaseRef(cret) | |
| 446 | + | cls = &ParamSpec{} | |
| 447 | + | cls.Ptr = cret | |
| 448 | + | return cls | |
| 449 | + | } | |
| 450 | + | ||
| 451 | + | var xObjectClassInstallProperties func(uintptr, uint, uintptr) | |
| 452 | + | ||
| 453 | + | // Installs new properties from an array of #GParamSpecs. | |
| 454 | + | // | |
| 455 | + | // All properties should be installed during the class initializer. It | |
| 456 | + | // is possible to install properties after that, but doing so is not | |
| 457 | + | // recommend, and specifically, is not guaranteed to be thread-safe vs. | |
| 458 | + | // use of properties on the same type on other threads. | |
| 459 | + | // | |
| 460 | + | // The property id of each property is the index of each #GParamSpec in | |
| 461 | + | // the @pspecs array. | |
| 462 | + | // | |
| 463 | + | // The property id of 0 is treated specially by #GObject and it should not | |
| 464 | + | // be used to store a #GParamSpec. | |
| 465 | + | // | |
| 466 | + | // This function should be used if you plan to use a static array of | |
| 467 | + | // #GParamSpecs and g_object_notify_by_pspec(). For instance, this | |
| 468 | + | // class initialization: | |
| 469 | + | // | |
| 470 | + | // |[<!-- language="C" --> | |
| 471 | + | // | |
| 472 | + | // typedef enum { | |
| 473 | + | // PROP_FOO = 1, | |
| 474 | + | // PROP_BAR, | |
| 475 | + | // N_PROPERTIES | |
| 476 | + | // } MyObjectProperty; | |
| 477 | + | // | |
| 478 | + | // static GParamSpec *obj_properties[N_PROPERTIES] = { NULL, }; | |
| 479 | + | // | |
| 480 | + | // static void | |
| 481 | + | // my_object_class_init (MyObjectClass *klass) | |
| 482 | + | // | |
| 483 | + | // { | |
| 484 | + | // GObjectClass *gobject_class = G_OBJECT_CLASS (klass); | |
| 485 | + | // | |
| 486 | + | // obj_properties[PROP_FOO] = | |
| 487 | + | // g_param_spec_int ("foo", NULL, NULL, | |
| 488 | + | // -1, G_MAXINT, | |
| 489 | + | // 0, | |
| 490 | + | // G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS); | |
| 491 | + | // | |
| 492 | + | // obj_properties[PROP_BAR] = | |
| 493 | + | // g_param_spec_string ("bar", NULL, NULL, | |
| 494 | + | // NULL, | |
| 495 | + | // G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS); | |
| 496 | + | // | |
| 497 | + | // gobject_class->set_property = my_object_set_property; | |
| 498 | + | // gobject_class->get_property = my_object_get_property; | |
| 499 | + | // g_object_class_install_properties (gobject_class, | |
| 500 | + | // G_N_ELEMENTS (obj_properties), | |
| 501 | + | // obj_properties); | |
| 502 | + | // } | |
| 503 | + | // | |
| 504 | + | // ]| | |
| 505 | + | // | |
| 506 | + | // allows calling g_object_notify_by_pspec() to notify of property changes: | |
| 507 | + | // | |
| 508 | + | // |[<!-- language="C" --> | |
| 509 | + | // void | |
| 510 | + | // my_object_set_foo (MyObject *self, gint foo) | |
| 511 | + | // | |
| 512 | + | // { | |
| 513 | + | // if (self->foo != foo) | |
| 514 | + | // { | |
| 515 | + | // self->foo = foo; | |
| 516 | + | // g_object_notify_by_pspec (G_OBJECT (self), obj_properties[PROP_FOO]); | |
| 517 | + | // } | |
| 518 | + | // } | |
| 519 | + | // | |
| 520 | + | // ]| | |
| 521 | + | func (x *ObjectClass) InstallProperties(NPspecsVar uint, PspecsVar uintptr) { | |
| 522 | + | xObjectClassInstallProperties(x.GoPointer(), NPspecsVar, PspecsVar) | |
| 523 | + | } | |
| 524 | + | ||
| 525 | + | var xObjectClassInstallProperty func(uintptr, uint, uintptr) | |
| 526 | + | ||
| 527 | + | // Installs a new property. | |
| 528 | + | // | |
| 529 | + | // All properties should be installed during the class initializer. It | |
| 530 | + | // is possible to install properties after that, but doing so is not | |
| 531 | + | // recommend, and specifically, is not guaranteed to be thread-safe vs. | |
| 532 | + | // use of properties on the same type on other threads. | |
| 533 | + | // | |
| 534 | + | // Note that it is possible to redefine a property in a derived class, | |
| 535 | + | // by installing a property with the same name. This can be useful at times, | |
| 536 | + | // e.g. to change the range of allowed values or the default value. | |
| 537 | + | func (x *ObjectClass) InstallProperty(PropertyIdVar uint, PspecVar *ParamSpec) { | |
| 538 | + | xObjectClassInstallProperty(x.GoPointer(), PropertyIdVar, PspecVar.GoPointer()) | |
| 539 | + | } | |
| 540 | + | ||
| 541 | + | var xObjectClassListProperties func(uintptr, *uint) uintptr | |
| 542 | + | ||
| 543 | + | // Get an array of #GParamSpec* for all properties of a class. | |
| 544 | + | func (x *ObjectClass) ListProperties(NPropertiesVar *uint) uintptr { | |
| 545 | + | cret := xObjectClassListProperties(x.GoPointer(), NPropertiesVar) | |
| 546 | + | return cret | |
| 547 | + | } | |
| 548 | + | ||
| 549 | + | var xObjectClassOverrideProperty func(uintptr, uint, string) | |
| 550 | + | ||
| 551 | + | // Registers @property_id as referring to a property with the name | |
| 552 | + | // @name in a parent class or in an interface implemented by @oclass. | |
| 553 | + | // This allows this class to "override" a property implementation in | |
| 554 | + | // a parent class or to provide the implementation of a property from | |
| 555 | + | // an interface. | |
| 556 | + | // | |
| 557 | + | // Internally, overriding is implemented by creating a property of type | |
| 558 | + | // #GParamSpecOverride; generally operations that query the properties of | |
| 559 | + | // the object class, such as g_object_class_find_property() or | |
| 560 | + | // g_object_class_list_properties() will return the overridden | |
| 561 | + | // property. However, in one case, the @construct_properties argument of | |
| 562 | + | // the @constructor virtual function, the #GParamSpecOverride is passed | |
| 563 | + | // instead, so that the @param_id field of the #GParamSpec will be | |
| 564 | + | // correct. For virtually all uses, this makes no difference. If you | |
| 565 | + | // need to get the overridden property, you can call | |
| 566 | + | // g_param_spec_get_redirect_target(). | |
| 567 | + | func (x *ObjectClass) OverrideProperty(PropertyIdVar uint, NameVar string) { | |
| 568 | + | xObjectClassOverrideProperty(x.GoPointer(), PropertyIdVar, NameVar) | |
| 569 | + | } | |
| 570 | + | ||
| 571 | + | // OverrideConstructor sets the "constructor" callback function. | |
| 572 | + | // the @constructor function is called by g_object_new () to | |
| 573 | + | // | |
| 574 | + | // complete the object initialization after all the construction properties are | |
| 575 | + | // set. The first thing a @constructor implementation must do is chain up to the | |
| 576 | + | // @constructor of the parent class. Overriding @constructor should be rarely | |
| 577 | + | // needed, e.g. to handle construct properties, or to implement singletons. | |
| 578 | + | func (x *ObjectClass) OverrideConstructor(cb func(types.GType, uint, *ObjectConstructParam) *Object) { | |
| 579 | + | if cb == nil { | |
| 580 | + | x.xConstructor = 0 | |
| 581 | + | } else { | |
| 582 | + | x.xConstructor = purego.NewCallback(func(TypeVarp types.GType, NConstructPropertiesVarp uint, ConstructPropertiesVarp *ObjectConstructParam) uintptr { | |
| 583 | + | ret := cb(TypeVarp, NConstructPropertiesVarp, ConstructPropertiesVarp) | |
| 584 | + | if ret == nil { | |
| 585 | + | return 0 | |
| 586 | + | } | |
| 587 | + | return ret.GoPointer() | |
| 588 | + | }) | |
| 589 | + | } | |
| 590 | + | } | |
| 591 | + | ||
| 592 | + | // GetConstructor gets the "constructor" callback function. | |
| 593 | + | // the @constructor function is called by g_object_new () to | |
| 594 | + | // | |
| 595 | + | // complete the object initialization after all the construction properties are | |
| 596 | + | // set. The first thing a @constructor implementation must do is chain up to the | |
| 597 | + | // @constructor of the parent class. Overriding @constructor should be rarely | |
| 598 | + | // needed, e.g. to handle construct properties, or to implement singletons. | |
| 599 | + | func (x *ObjectClass) GetConstructor() func(types.GType, uint, *ObjectConstructParam) *Object { | |
| 600 | + | if x.xConstructor == 0 { | |
| 601 | + | return nil | |
| 602 | + | } | |
| 603 | + | var rawCallback func(TypeVarp types.GType, NConstructPropertiesVarp uint, ConstructPropertiesVarp *ObjectConstructParam) uintptr | |
| 604 | + | purego.RegisterFunc(&rawCallback, x.xConstructor) | |
| 605 | + | return func(TypeVar types.GType, NConstructPropertiesVar uint, ConstructPropertiesVar *ObjectConstructParam) *Object { | |
| 606 | + | rawRet := rawCallback(TypeVar, NConstructPropertiesVar, ConstructPropertiesVar) | |
| 607 | + | if rawRet == 0 { | |
| 608 | + | return nil | |
| 609 | + | } | |
| 610 | + | ret := &Object{} | |
| 611 | + | ret.Ptr = rawRet | |
| 612 | + | return ret | |
| 613 | + | } | |
| 614 | + | } | |
| 615 | + | ||
| 616 | + | // OverrideSetProperty sets the "set_property" callback function. | |
| 617 | + | // The type of the @set_property function of #GObjectClass. | |
| 618 | + | func (x *ObjectClass) OverrideSetProperty(cb func(*Object, uint, *Value, *ParamSpec)) { | |
| 619 | + | if cb == nil { | |
| 620 | + | x.xSetProperty = 0 | |
| 621 | + | } else { | |
| 622 | + | x.xSetProperty = purego.NewCallback(func(ObjectVarp uintptr, PropertyIdVarp uint, ValueVarp *Value, PspecVarp uintptr) { | |
| 623 | + | cb(ObjectNewFromInternalPtr(ObjectVarp), PropertyIdVarp, ValueVarp, ParamSpecNewFromInternalPtr(PspecVarp)) | |
| 624 | + | }) | |
| 625 | + | } | |
| 626 | + | } | |
| 627 | + | ||
| 628 | + | // GetSetProperty gets the "set_property" callback function. | |
| 629 | + | // The type of the @set_property function of #GObjectClass. | |
| 630 | + | func (x *ObjectClass) GetSetProperty() func(*Object, uint, *Value, *ParamSpec) { | |
| 631 | + | if x.xSetProperty == 0 { | |
| 632 | + | return nil | |
| 633 | + | } | |
| 634 | + | var rawCallback func(ObjectVarp uintptr, PropertyIdVarp uint, ValueVarp *Value, PspecVarp uintptr) | |
| 635 | + | purego.RegisterFunc(&rawCallback, x.xSetProperty) | |
| 636 | + | return func(ObjectVar *Object, PropertyIdVar uint, ValueVar *Value, PspecVar *ParamSpec) { | |
| 637 | + | rawCallback(ObjectVar.GoPointer(), PropertyIdVar, ValueVar, PspecVar.GoPointer()) | |
| 638 | + | } | |
| 639 | + | } | |
| 640 | + | ||
| 641 | + | // OverrideGetProperty sets the "get_property" callback function. | |
| 642 | + | // The type of the @get_property function of #GObjectClass. | |
| 643 | + | func (x *ObjectClass) OverrideGetProperty(cb func(*Object, uint, *Value, *ParamSpec)) { | |
| 644 | + | if cb == nil { | |
| 645 | + | x.xGetProperty = 0 | |
| 646 | + | } else { | |
| 647 | + | x.xGetProperty = purego.NewCallback(func(ObjectVarp uintptr, PropertyIdVarp uint, ValueVarp *Value, PspecVarp uintptr) { | |
| 648 | + | cb(ObjectNewFromInternalPtr(ObjectVarp), PropertyIdVarp, ValueVarp, ParamSpecNewFromInternalPtr(PspecVarp)) | |
| 649 | + | }) | |
| 650 | + | } | |
| 651 | + | } | |
| 652 | + | ||
| 653 | + | // GetGetProperty gets the "get_property" callback function. | |
| 654 | + | // The type of the @get_property function of #GObjectClass. | |
| 655 | + | func (x *ObjectClass) GetGetProperty() func(*Object, uint, *Value, *ParamSpec) { | |
| 656 | + | if x.xGetProperty == 0 { | |
| 657 | + | return nil | |
| 658 | + | } | |
| 659 | + | var rawCallback func(ObjectVarp uintptr, PropertyIdVarp uint, ValueVarp *Value, PspecVarp uintptr) | |
| 660 | + | purego.RegisterFunc(&rawCallback, x.xGetProperty) | |
| 661 | + | return func(ObjectVar *Object, PropertyIdVar uint, ValueVar *Value, PspecVar *ParamSpec) { | |
| 662 | + | rawCallback(ObjectVar.GoPointer(), PropertyIdVar, ValueVar, PspecVar.GoPointer()) | |
| 663 | + | } | |
| 664 | + | } | |
| 665 | + | ||
| 666 | + | // OverrideDispose sets the "dispose" callback function. | |
| 667 | + | // the @dispose function is supposed to drop all references to other | |
| 668 | + | // | |
| 669 | + | // objects, but keep the instance otherwise intact, so that client method | |
| 670 | + | // invocations still work. It may be run multiple times (due to reference | |
| 671 | + | // loops). Before returning, @dispose should chain up to the @dispose method | |
| 672 | + | // of the parent class. | |
| 673 | + | func (x *ObjectClass) OverrideDispose(cb func(*Object)) { | |
| 674 | + | if cb == nil { | |
| 675 | + | x.xDispose = 0 | |
| 676 | + | } else { | |
| 677 | + | x.xDispose = purego.NewCallback(func(ObjectVarp uintptr) { | |
| 678 | + | cb(ObjectNewFromInternalPtr(ObjectVarp)) | |
| 679 | + | }) | |
| 680 | + | } | |
| 681 | + | } | |
| 682 | + | ||
| 683 | + | // GetDispose gets the "dispose" callback function. | |
| 684 | + | // the @dispose function is supposed to drop all references to other | |
| 685 | + | // | |
| 686 | + | // objects, but keep the instance otherwise intact, so that client method | |
| 687 | + | // invocations still work. It may be run multiple times (due to reference | |
| 688 | + | // loops). Before returning, @dispose should chain up to the @dispose method | |
| 689 | + | // of the parent class. | |
| 690 | + | func (x *ObjectClass) GetDispose() func(*Object) { | |
| 691 | + | if x.xDispose == 0 { | |
| 692 | + | return nil | |
| 693 | + | } | |
| 694 | + | var rawCallback func(ObjectVarp uintptr) | |
| 695 | + | purego.RegisterFunc(&rawCallback, x.xDispose) | |
| 696 | + | return func(ObjectVar *Object) { | |
| 697 | + | rawCallback(ObjectVar.GoPointer()) | |
| 698 | + | } | |
| 699 | + | } | |
| 700 | + | ||
| 701 | + | // OverrideFinalize sets the "finalize" callback function. | |
| 702 | + | // The type of the @finalize function of #GObjectClass. | |
| 703 | + | func (x *ObjectClass) OverrideFinalize(cb func(*Object)) { | |
| 704 | + | if cb == nil { | |
| 705 | + | x.xFinalize = 0 | |
| 706 | + | } else { | |
| 707 | + | x.xFinalize = purego.NewCallback(func(ObjectVarp uintptr) { | |
| 708 | + | cb(ObjectNewFromInternalPtr(ObjectVarp)) | |
| 709 | + | }) | |
| 710 | + | } | |
| 711 | + | } | |
| 712 | + | ||
| 713 | + | // GetFinalize gets the "finalize" callback function. | |
| 714 | + | // The type of the @finalize function of #GObjectClass. | |
| 715 | + | func (x *ObjectClass) GetFinalize() func(*Object) { | |
| 716 | + | if x.xFinalize == 0 { | |
| 717 | + | return nil | |
| 718 | + | } | |
| 719 | + | var rawCallback func(ObjectVarp uintptr) | |
| 720 | + | purego.RegisterFunc(&rawCallback, x.xFinalize) | |
| 721 | + | return func(ObjectVar *Object) { | |
| 722 | + | rawCallback(ObjectVar.GoPointer()) | |
| 723 | + | } | |
| 724 | + | } | |
| 725 | + | ||
| 726 | + | // OverrideDispatchPropertiesChanged sets the "dispatch_properties_changed" callback function. | |
| 727 | + | // emits property change notification for a bunch | |
| 728 | + | // | |
| 729 | + | // of properties. Overriding @dispatch_properties_changed should be rarely | |
| 730 | + | // needed. | |
| 731 | + | func (x *ObjectClass) OverrideDispatchPropertiesChanged(cb func(*Object, uint, **ParamSpec)) { | |
| 732 | + | if cb == nil { | |
| 733 | + | x.xDispatchPropertiesChanged = 0 | |
| 734 | + | } else { | |
| 735 | + | x.xDispatchPropertiesChanged = purego.NewCallback(func(ObjectVarp uintptr, NPspecsVarp uint, PspecsVarp uintptr) { | |
| 736 | + | cb(ObjectNewFromInternalPtr(ObjectVarp), NPspecsVarp, (**ParamSpec)(unsafe.Pointer(PspecsVarp))) | |
| 737 | + | }) | |
| 738 | + | } | |
| 739 | + | } | |
| 740 | + | ||
| 741 | + | // GetDispatchPropertiesChanged gets the "dispatch_properties_changed" callback function. | |
| 742 | + | // emits property change notification for a bunch | |
| 743 | + | // | |
| 744 | + | // of properties. Overriding @dispatch_properties_changed should be rarely | |
| 745 | + | // needed. | |
| 746 | + | func (x *ObjectClass) GetDispatchPropertiesChanged() func(*Object, uint, **ParamSpec) { | |
| 747 | + | if x.xDispatchPropertiesChanged == 0 { | |
| 748 | + | return nil | |
| 749 | + | } | |
| 750 | + | var rawCallback func(ObjectVarp uintptr, NPspecsVarp uint, PspecsVarp uintptr) | |
| 751 | + | purego.RegisterFunc(&rawCallback, x.xDispatchPropertiesChanged) | |
| 752 | + | return func(ObjectVar *Object, NPspecsVar uint, PspecsVar **ParamSpec) { | |
| 753 | + | rawCallback(ObjectVar.GoPointer(), NPspecsVar, *ConvertPtr(PspecsVar)) | |
| 754 | + | } | |
| 755 | + | } | |
| 756 | + | ||
| 757 | + | // OverrideNotify sets the "notify" callback function. | |
| 758 | + | // the class closure for the notify signal | |
| 759 | + | func (x *ObjectClass) OverrideNotify(cb func(*Object, *ParamSpec)) { | |
| 760 | + | if cb == nil { | |
| 761 | + | x.xNotify = 0 | |
| 762 | + | } else { | |
| 763 | + | x.xNotify = purego.NewCallback(func(ObjectVarp uintptr, PspecVarp uintptr) { | |
| 764 | + | cb(ObjectNewFromInternalPtr(ObjectVarp), ParamSpecNewFromInternalPtr(PspecVarp)) | |
| 765 | + | }) | |
| 766 | + | } | |
| 767 | + | } | |
| 768 | + | ||
| 769 | + | // GetNotify gets the "notify" callback function. | |
| 770 | + | // the class closure for the notify signal | |
| 771 | + | func (x *ObjectClass) GetNotify() func(*Object, *ParamSpec) { | |
| 772 | + | if x.xNotify == 0 { | |
| 773 | + | return nil | |
| 774 | + | } | |
| 775 | + | var rawCallback func(ObjectVarp uintptr, PspecVarp uintptr) | |
| 776 | + | purego.RegisterFunc(&rawCallback, x.xNotify) | |
| 777 | + | return func(ObjectVar *Object, PspecVar *ParamSpec) { | |
| 778 | + | rawCallback(ObjectVar.GoPointer(), PspecVar.GoPointer()) | |
| 779 | + | } | |
| 780 | + | } | |
| 781 | + | ||
| 782 | + | // OverrideConstructed sets the "constructed" callback function. | |
| 783 | + | // the @constructed function is called by g_object_new() as the | |
| 784 | + | // | |
| 785 | + | // final step of the object creation process. At the point of the call, all | |
| 786 | + | // construction properties have been set on the object. The purpose of this | |
| 787 | + | // call is to allow for object initialisation steps that can only be performed | |
| 788 | + | // after construction properties have been set. @constructed implementors | |
| 789 | + | // should chain up to the @constructed call of their parent class to allow it | |
| 790 | + | // to complete its initialisation. | |
| 791 | + | func (x *ObjectClass) OverrideConstructed(cb func(*Object)) { | |
| 792 | + | if cb == nil { | |
| 793 | + | x.xConstructed = 0 | |
| 794 | + | } else { | |
| 795 | + | x.xConstructed = purego.NewCallback(func(ObjectVarp uintptr) { | |
| 796 | + | cb(ObjectNewFromInternalPtr(ObjectVarp)) | |
| 797 | + | }) | |
| 798 | + | } | |
| 799 | + | } | |
| 800 | + | ||
| 801 | + | // GetConstructed gets the "constructed" callback function. | |
| 802 | + | // the @constructed function is called by g_object_new() as the | |
| 803 | + | // | |
| 804 | + | // final step of the object creation process. At the point of the call, all | |
| 805 | + | // construction properties have been set on the object. The purpose of this | |
| 806 | + | // call is to allow for object initialisation steps that can only be performed | |
| 807 | + | // after construction properties have been set. @constructed implementors | |
| 808 | + | // should chain up to the @constructed call of their parent class to allow it | |
| 809 | + | // to complete its initialisation. | |
| 810 | + | func (x *ObjectClass) GetConstructed() func(*Object) { | |
| 811 | + | if x.xConstructed == 0 { | |
| 812 | + | return nil | |
| 813 | + | } | |
| 814 | + | var rawCallback func(ObjectVarp uintptr) | |
| 815 | + | purego.RegisterFunc(&rawCallback, x.xConstructed) | |
| 816 | + | return func(ObjectVar *Object) { | |
| 817 | + | rawCallback(ObjectVar.GoPointer()) | |
| 818 | + | } | |
| 819 | + | } | |
| 820 | + | ||
| 821 | + | // The GObjectConstructParam struct is an auxiliary structure used to hand | |
| 822 | + | // #GParamSpec/#GValue pairs to the @constructor of a #GObjectClass. | |
| 823 | + | type ObjectConstructParam struct { | |
| 824 | + | _ structs.HostLayout | |
| 825 | + | ||
| 826 | + | Pspec *ParamSpec | |
| 827 | + | ||
| 828 | + | Value *Value | |
| 829 | + | } | |
| 830 | + | ||
| 831 | + | func (x *ObjectConstructParam) GoPointer() uintptr { | |
| 832 | + | return uintptr(unsafe.Pointer(x)) | |
| 833 | + | } | |
| 834 | + | ||
| 835 | + | func ObjectConstructParamNewFromInternalPtr(ptr uintptr) *ObjectConstructParam { | |
| 836 | + | if ptr == 0 { | |
| 837 | + | return nil | |
| 838 | + | } | |
| 839 | + | rawPtr := *(*unsafe.Pointer)(unsafe.Pointer(&ptr)) | |
| 840 | + | return (*ObjectConstructParam)(rawPtr) | |
| 841 | + | } | |
| 842 | + | ||
| 843 | + | // A structure containing a weak reference to a #GObject. | |
| 844 | + | // | |
| 845 | + | // A `GWeakRef` can either be empty (i.e. point to %NULL), or point to an | |
| 846 | + | // object for as long as at least one "strong" reference to that object | |
| 847 | + | // exists. Before the object's #GObjectClass.dispose method is called, | |
| 848 | + | // every #GWeakRef associated with becomes empty (i.e. points to %NULL). | |
| 849 | + | // | |
| 850 | + | // Like #GValue, #GWeakRef can be statically allocated, stack- or | |
| 851 | + | // heap-allocated, or embedded in larger structures. | |
| 852 | + | // | |
| 853 | + | // Unlike g_object_weak_ref() and g_object_add_weak_pointer(), this weak | |
| 854 | + | // reference is thread-safe: converting a weak pointer to a reference is | |
| 855 | + | // atomic with respect to invalidation of weak pointers to destroyed | |
| 856 | + | // objects. | |
| 857 | + | // | |
| 858 | + | // If the object's #GObjectClass.dispose method results in additional | |
| 859 | + | // references to the object being held (‘re-referencing’), any #GWeakRefs taken | |
| 860 | + | // before it was disposed will continue to point to %NULL. Any #GWeakRefs taken | |
| 861 | + | // during disposal and after re-referencing, or after disposal has returned due | |
| 862 | + | // to the re-referencing, will continue to point to the object until its refcount | |
| 863 | + | // goes back to zero, at which point they too will be invalidated. | |
| 864 | + | // | |
| 865 | + | // It is invalid to take a #GWeakRef on an object during #GObjectClass.dispose | |
| 866 | + | // without first having or creating a strong reference to the object. | |
| 867 | + | type WeakRef struct { | |
| 868 | + | _ structs.HostLayout | |
| 869 | + | } | |
| 870 | + | ||
| 871 | + | func (x *WeakRef) GoPointer() uintptr { | |
| 872 | + | return uintptr(unsafe.Pointer(x)) | |
| 873 | + | } | |
| 874 | + | ||
| 875 | + | func WeakRefNewFromInternalPtr(ptr uintptr) *WeakRef { | |
| 876 | + | if ptr == 0 { | |
| 877 | + | return nil | |
| 878 | + | } | |
| 879 | + | rawPtr := *(*unsafe.Pointer)(unsafe.Pointer(&ptr)) | |
| 880 | + | return (*WeakRef)(rawPtr) | |
| 881 | + | } | |
| 882 | + | ||
| 883 | + | var xWeakRefClear func(uintptr) | |
| 884 | + | ||
| 885 | + | // Frees resources associated with a non-statically-allocated #GWeakRef. | |
| 886 | + | // After this call, the #GWeakRef is left in an undefined state. | |
| 887 | + | // | |
| 888 | + | // You should only call this on a #GWeakRef that previously had | |
| 889 | + | // g_weak_ref_init() called on it. | |
| 890 | + | func (x *WeakRef) Clear() { | |
| 891 | + | xWeakRefClear(x.GoPointer()) | |
| 892 | + | } | |
| 893 | + | ||
| 894 | + | var xWeakRefGet func(uintptr) uintptr | |
| 895 | + | ||
| 896 | + | // If @weak_ref is not empty, atomically acquire a strong | |
| 897 | + | // reference to the object it points to, and return that reference. | |
| 898 | + | // | |
| 899 | + | // This function is needed because of the potential race between taking | |
| 900 | + | // the pointer value and g_object_ref() on it, if the object was losing | |
| 901 | + | // its last reference at the same time in a different thread. | |
| 902 | + | // | |
| 903 | + | // The caller should release the resulting reference in the usual way, | |
| 904 | + | // by using g_object_unref(). | |
| 905 | + | func (x *WeakRef) Get() *Object { | |
| 906 | + | var cls *Object | |
| 907 | + | ||
| 908 | + | cret := xWeakRefGet(x.GoPointer()) | |
| 909 | + | ||
| 910 | + | if cret == 0 { | |
| 911 | + | return nil | |
| 912 | + | } | |
| 913 | + | cls = &Object{} | |
| 914 | + | cls.Ptr = cret | |
| 915 | + | return cls | |
| 916 | + | } | |
| 917 | + | ||
| 918 | + | var xWeakRefInit func(uintptr, uintptr) | |
| 919 | + | ||
| 920 | + | // Initialise a non-statically-allocated #GWeakRef. | |
| 921 | + | // | |
| 922 | + | // This function also calls g_weak_ref_set() with @object on the | |
| 923 | + | // freshly-initialised weak reference. | |
| 924 | + | // | |
| 925 | + | // This function should always be matched with a call to | |
| 926 | + | // g_weak_ref_clear(). It is not necessary to use this function for a | |
| 927 | + | // #GWeakRef in static storage because it will already be | |
| 928 | + | // properly initialised. Just use g_weak_ref_set() directly. | |
| 929 | + | func (x *WeakRef) Init(ObjectVar *Object) { | |
| 930 | + | xWeakRefInit(x.GoPointer(), ObjectVar.GoPointer()) | |
| 931 | + | } | |
| 932 | + | ||
| 933 | + | var xWeakRefSet func(uintptr, uintptr) | |
| 934 | + | ||
| 935 | + | // Change the object to which @weak_ref points, or set it to | |
| 936 | + | // %NULL. | |
| 937 | + | // | |
| 938 | + | // You must own a strong reference on @object while calling this | |
| 939 | + | // function. | |
| 940 | + | func (x *WeakRef) Set(ObjectVar *Object) { | |
| 941 | + | xWeakRefSet(x.GoPointer(), ObjectVar.GoPointer()) | |
| 942 | + | } | |
| 943 | + | ||
| 944 | + | var xCclosureNewObject func(uintptr, uintptr) uintptr | |
| 945 | + | ||
| 946 | + | // A variant of g_cclosure_new() which uses @object as @user_data and | |
| 947 | + | // calls g_object_watch_closure() on @object and the created | |
| 948 | + | // closure. This function is useful when you have a callback closely | |
| 949 | + | // associated with a #GObject, and want the callback to no longer run | |
| 950 | + | // after the object is is freed. | |
| 951 | + | func CclosureNewObject(CallbackFuncVar *Callback, ObjectVar *Object) *Closure { | |
| 952 | + | cret := xCclosureNewObject(glib.NewCallback(CallbackFuncVar), ObjectVar.GoPointer()) | |
| 953 | + | if cret == 0 { | |
| 954 | + | return nil | |
| 955 | + | } | |
| 956 | + | return (*Closure)(unsafe.Pointer(cret)) | |
| 957 | + | } | |
| 958 | + | ||
| 959 | + | var xCclosureNewObjectSwap func(uintptr, uintptr) uintptr | |
| 960 | + | ||
| 961 | + | // A variant of g_cclosure_new_swap() which uses @object as @user_data | |
| 962 | + | // and calls g_object_watch_closure() on @object and the created | |
| 963 | + | // closure. This function is useful when you have a callback closely | |
| 964 | + | // associated with a #GObject, and want the callback to no longer run | |
| 965 | + | // after the object is is freed. | |
| 966 | + | func CclosureNewObjectSwap(CallbackFuncVar *Callback, ObjectVar *Object) *Closure { | |
| 967 | + | cret := xCclosureNewObjectSwap(glib.NewCallback(CallbackFuncVar), ObjectVar.GoPointer()) | |
| 968 | + | if cret == 0 { | |
| 969 | + | return nil | |
| 970 | + | } | |
| 971 | + | return (*Closure)(unsafe.Pointer(cret)) | |
| 972 | + | } | |
| 973 | + | ||
| 974 | + | var xClearObject func(uintptr) | |
| 975 | + | ||
| 976 | + | // Clears a reference to a #GObject. | |
| 977 | + | // | |
| 978 | + | // @object_ptr must not be %NULL. | |
| 979 | + | // | |
| 980 | + | // If the reference is %NULL then this function does nothing. | |
| 981 | + | // Otherwise, the reference count of the object is decreased and the | |
| 982 | + | // pointer is set to %NULL. | |
| 983 | + | // | |
| 984 | + | // A macro is also included that allows this function to be used without | |
| 985 | + | // pointer casts. | |
| 986 | + | func ClearObject(ObjectPtrVar **Object) { | |
| 987 | + | xClearObject(*ConvertPtr(ObjectPtrVar)) | |
| 988 | + | } | |
| 989 | + | ||
| 990 | + | var xSignalConnectObject func(*TypeInstance, string, uintptr, uintptr, ConnectFlags) uint | |
| 991 | + | ||
| 992 | + | // This is similar to g_signal_connect_data(), but uses a closure which | |
| 993 | + | // ensures that the @gobject stays alive during the call to @c_handler | |
| 994 | + | // by temporarily adding a reference count to @gobject. | |
| 995 | + | // | |
| 996 | + | // When the @gobject is destroyed the signal handler will be automatically | |
| 997 | + | // disconnected. Note that this is not currently threadsafe (ie: | |
| 998 | + | // emitting a signal while @gobject is being destroyed in another thread | |
| 999 | + | // is not safe). | |
| 1000 | + | // | |
| 1001 | + | // This function cannot fail. If the given signal name doesn’t exist, | |
| 1002 | + | // a critical warning is emitted. No validation is performed on the | |
| 1003 | + | // "detail" string when specified in @detailed_signal, other than a | |
| 1004 | + | // non-empty check. | |
| 1005 | + | // | |
| 1006 | + | // Refer to the [signals documentation](signals.html) for more | |
| 1007 | + | // details. | |
| 1008 | + | func SignalConnectObject(InstanceVar *TypeInstance, DetailedSignalVar string, CHandlerVar *Callback, GobjectVar *Object, ConnectFlagsVar ConnectFlags) uint { | |
| 1009 | + | cret := xSignalConnectObject(InstanceVar, DetailedSignalVar, glib.NewCallback(CHandlerVar), GobjectVar.GoPointer(), ConnectFlagsVar) | |
| 1010 | + | return cret | |
| 1011 | + | } | |
| 1012 | + | ||
| 1013 | + | // A type for objects that have an initially floating reference. | |
| 1014 | + | // | |
| 1015 | + | // All the fields in the `GInitiallyUnowned` structure are private to the | |
| 1016 | + | // implementation and should never be accessed directly. | |
| 1017 | + | type InitiallyUnowned struct { | |
| 1018 | + | Object | |
| 1019 | + | } | |
| 1020 | + | ||
| 1021 | + | var xInitiallyUnownedGLibType func() types.GType | |
| 1022 | + | ||
| 1023 | + | func InitiallyUnownedGLibType() types.GType { | |
| 1024 | + | return xInitiallyUnownedGLibType() | |
| 1025 | + | } | |
| 1026 | + | ||
| 1027 | + | func InitiallyUnownedNewFromInternalPtr(ptr uintptr) *InitiallyUnowned { | |
| 1028 | + | cls := &InitiallyUnowned{} | |
| 1029 | + | cls.Ptr = ptr | |
| 1030 | + | return cls | |
| 1031 | + | } | |
| 1032 | + | ||
| 1033 | + | func (c *InitiallyUnowned) GoPointer() uintptr { | |
| 1034 | + | if c == nil { | |
| 1035 | + | return 0 | |
| 1036 | + | } | |
| 1037 | + | return c.Ptr | |
| 1038 | + | } | |
| 1039 | + | ||
| 1040 | + | func (c *InitiallyUnowned) SetGoPointer(ptr uintptr) { | |
| 1041 | + | c.Ptr = ptr | |
| 1042 | + | } | |
| 1043 | + | ||
| 1044 | + | // The base object type. | |
| 1045 | + | // | |
| 1046 | + | // `GObject` is the fundamental type providing the common attributes and | |
| 1047 | + | // methods for all object types in GTK, Pango and other libraries | |
| 1048 | + | // based on GObject. The `GObject` class provides methods for object | |
| 1049 | + | // construction and destruction, property access methods, and signal | |
| 1050 | + | // support. Signals are described in detail [here](signals.html). | |
| 1051 | + | // | |
| 1052 | + | // For a tutorial on implementing a new `GObject` class, see [How to define and | |
| 1053 | + | // implement a new GObject](tutorial.html#how-to-define-and-implement-a-new-gobject). | |
| 1054 | + | // For a list of naming conventions for GObjects and their methods, see the | |
| 1055 | + | // [GType conventions](concepts.html#conventions). For the high-level concepts | |
| 1056 | + | // behind GObject, read | |
| 1057 | + | // [Instantiatable classed types: Objects](concepts.html#instantiatable-classed-types-objects). | |
| 1058 | + | // | |
| 1059 | + | // Since GLib 2.72, all `GObject`s are guaranteed to be aligned to at least the | |
| 1060 | + | // alignment of the largest basic GLib type (typically this is `guint64` or | |
| 1061 | + | // `gdouble`). If you need larger alignment for an element in a `GObject`, you | |
| 1062 | + | // should allocate it on the heap (aligned), or arrange for your `GObject` to be | |
| 1063 | + | // appropriately padded. This guarantee applies to the `GObject` (or derived) | |
| 1064 | + | // struct, the `GObjectClass` (or derived) struct, and any private data allocated | |
| 1065 | + | // by `G_ADD_PRIVATE()`. | |
| 1066 | + | type Object struct { | |
| 1067 | + | Ptr uintptr | |
| 1068 | + | } | |
| 1069 | + | ||
| 1070 | + | var xObjectGLibType func() types.GType | |
| 1071 | + | ||
| 1072 | + | func ObjectGLibType() types.GType { | |
| 1073 | + | return xObjectGLibType() | |
| 1074 | + | } | |
| 1075 | + | ||
| 1076 | + | func ObjectNewFromInternalPtr(ptr uintptr) *Object { | |
| 1077 | + | cls := &Object{} | |
| 1078 | + | cls.Ptr = ptr | |
| 1079 | + | return cls | |
| 1080 | + | } | |
| 1081 | + | ||
| 1082 | + | var xNewObject func(types.GType, string, ...interface{}) uintptr | |
| 1083 | + | ||
| 1084 | + | // Creates a new instance of a #GObject subtype and sets its properties. | |
| 1085 | + | // | |
| 1086 | + | // Construction parameters (see %G_PARAM_CONSTRUCT, %G_PARAM_CONSTRUCT_ONLY) | |
| 1087 | + | // which are not explicitly specified are set to their default values. Any | |
| 1088 | + | // private data for the object is guaranteed to be initialized with zeros, as | |
| 1089 | + | // per g_type_create_instance(). | |
| 1090 | + | // | |
| 1091 | + | // Note that in C, small integer types in variable argument lists are promoted | |
| 1092 | + | // up to `gint` or `guint` as appropriate, and read back accordingly. `gint` is | |
| 1093 | + | // 32 bits on every platform on which GLib is currently supported. This means that | |
| 1094 | + | // you can use C expressions of type `gint` with g_object_new() and properties of | |
| 1095 | + | // type `gint` or `guint` or smaller. Specifically, you can use integer literals | |
| 1096 | + | // with these property types. | |
| 1097 | + | // | |
| 1098 | + | // When using property types of `gint64` or `guint64`, you must ensure that the | |
| 1099 | + | // value that you provide is 64 bit. This means that you should use a cast or | |
| 1100 | + | // make use of the %G_GINT64_CONSTANT or %G_GUINT64_CONSTANT macros. | |
| 1101 | + | // | |
| 1102 | + | // Similarly, `gfloat` is promoted to `gdouble`, so you must ensure that the value | |
| 1103 | + | // you provide is a `gdouble`, even for a property of type `gfloat`. | |
| 1104 | + | // | |
| 1105 | + | // Since GLib 2.72, all #GObjects are guaranteed to be aligned to at least the | |
| 1106 | + | // alignment of the largest basic GLib type (typically this is `guint64` or | |
| 1107 | + | // `gdouble`). If you need larger alignment for an element in a #GObject, you | |
| 1108 | + | // should allocate it on the heap (aligned), or arrange for your #GObject to be | |
| 1109 | + | // appropriately padded. | |
| 1110 | + | func NewObject(ObjectTypeVar types.GType, FirstPropertyNameVar string, varArgs ...interface{}) *Object { | |
| 1111 | + | var cls *Object | |
| 1112 | + | ||
| 1113 | + | cret := xNewObject(ObjectTypeVar, FirstPropertyNameVar, varArgs...) | |
| 1114 | + | ||
| 1115 | + | if cret == 0 { | |
| 1116 | + | return nil | |
| 1117 | + | } | |
| 1118 | + | cls = &Object{} | |
| 1119 | + | cls.Ptr = cret | |
| 1120 | + | return cls | |
| 1121 | + | } | |
| 1122 | + | ||
| 1123 | + | var xNewObjectValist func(types.GType, string, []interface{}) uintptr | |
| 1124 | + | ||
| 1125 | + | // Creates a new instance of a #GObject subtype and sets its properties. | |
| 1126 | + | // | |
| 1127 | + | // Construction parameters (see %G_PARAM_CONSTRUCT, %G_PARAM_CONSTRUCT_ONLY) | |
| 1128 | + | // which are not explicitly specified are set to their default values. | |
| 1129 | + | func NewObjectValist(ObjectTypeVar types.GType, FirstPropertyNameVar string, VarArgsVar []interface{}) *Object { | |
| 1130 | + | var cls *Object | |
| 1131 | + | ||
| 1132 | + | cret := xNewObjectValist(ObjectTypeVar, FirstPropertyNameVar, VarArgsVar) | |
| 1133 | + | ||
| 1134 | + | if cret == 0 { | |
| 1135 | + | return nil | |
| 1136 | + | } | |
| 1137 | + | cls = &Object{} | |
| 1138 | + | cls.Ptr = cret | |
| 1139 | + | return cls | |
| 1140 | + | } | |
| 1141 | + | ||
| 1142 | + | var xNewObjectWithProperties func(types.GType, uint, []string, []Value) uintptr | |
| 1143 | + | ||
| 1144 | + | // Creates a new instance of a #GObject subtype and sets its properties using | |
| 1145 | + | // the provided arrays. Both arrays must have exactly @n_properties elements, | |
| 1146 | + | // and the names and values correspond by index. | |
| 1147 | + | // | |
| 1148 | + | // Construction parameters (see %G_PARAM_CONSTRUCT, %G_PARAM_CONSTRUCT_ONLY) | |
| 1149 | + | // which are not explicitly specified are set to their default values. | |
| 1150 | + | func NewObjectWithProperties(ObjectTypeVar types.GType, NPropertiesVar uint, NamesVar []string, ValuesVar []Value) *Object { | |
| 1151 | + | var cls *Object | |
| 1152 | + | ||
| 1153 | + | cret := xNewObjectWithProperties(ObjectTypeVar, NPropertiesVar, NamesVar, ValuesVar) | |
| 1154 | + | ||
| 1155 | + | if cret == 0 { | |
| 1156 | + | return nil | |
| 1157 | + | } | |
| 1158 | + | cls = &Object{} | |
| 1159 | + | cls.Ptr = cret | |
| 1160 | + | return cls | |
| 1161 | + | } | |
| 1162 | + | ||
| 1163 | + | var xNewObjectv func(types.GType, uint, []Parameter) uintptr | |
| 1164 | + | ||
| 1165 | + | // Creates a new instance of a #GObject subtype and sets its properties. | |
| 1166 | + | // | |
| 1167 | + | // Construction parameters (see %G_PARAM_CONSTRUCT, %G_PARAM_CONSTRUCT_ONLY) | |
| 1168 | + | // which are not explicitly specified are set to their default values. | |
| 1169 | + | func NewObjectv(ObjectTypeVar types.GType, NParametersVar uint, ParametersVar []Parameter) *Object { | |
| 1170 | + | var cls *Object | |
| 1171 | + | ||
| 1172 | + | cret := xNewObjectv(ObjectTypeVar, NParametersVar, ParametersVar) | |
| 1173 | + | ||
| 1174 | + | if cret == 0 { | |
| 1175 | + | return nil | |
| 1176 | + | } | |
| 1177 | + | cls = &Object{} | |
| 1178 | + | cls.Ptr = cret | |
| 1179 | + | return cls | |
| 1180 | + | } | |
| 1181 | + | ||
| 1182 | + | var xObjectAddToggleRef func(uintptr, uintptr, uintptr) | |
| 1183 | + | ||
| 1184 | + | // Increases the reference count of the object by one and sets a | |
| 1185 | + | // callback to be called when all other references to the object are | |
| 1186 | + | // dropped, or when this is already the last reference to the object | |
| 1187 | + | // and another reference is established. | |
| 1188 | + | // | |
| 1189 | + | // This functionality is intended for binding @object to a proxy | |
| 1190 | + | // object managed by another memory manager. This is done with two | |
| 1191 | + | // paired references: the strong reference added by | |
| 1192 | + | // g_object_add_toggle_ref() and a reverse reference to the proxy | |
| 1193 | + | // object which is either a strong reference or weak reference. | |
| 1194 | + | // | |
| 1195 | + | // The setup is that when there are no other references to @object, | |
| 1196 | + | // only a weak reference is held in the reverse direction from @object | |
| 1197 | + | // to the proxy object, but when there are other references held to | |
| 1198 | + | // @object, a strong reference is held. The @notify callback is called | |
| 1199 | + | // when the reference from @object to the proxy object should be | |
| 1200 | + | // "toggled" from strong to weak (@is_last_ref true) or weak to strong | |
| 1201 | + | // (@is_last_ref false). | |
| 1202 | + | // | |
| 1203 | + | // Since a (normal) reference must be held to the object before | |
| 1204 | + | // calling g_object_add_toggle_ref(), the initial state of the reverse | |
| 1205 | + | // link is always strong. | |
| 1206 | + | // | |
| 1207 | + | // Multiple toggle references may be added to the same gobject, | |
| 1208 | + | // however if there are multiple toggle references to an object, none | |
| 1209 | + | // of them will ever be notified until all but one are removed. For | |
| 1210 | + | // this reason, you should only ever use a toggle reference if there | |
| 1211 | + | // is important state in the proxy object. | |
| 1212 | + | // | |
| 1213 | + | // Note that if you unref the object on another thread, then @notify might | |
| 1214 | + | // still be invoked after g_object_remove_toggle_ref(), and the object argument | |
| 1215 | + | // might be a dangling pointer. If the object is destroyed on other threads, | |
| 1216 | + | // you must take care of that yourself. | |
| 1217 | + | // | |
| 1218 | + | // A g_object_add_toggle_ref() must be released with g_object_remove_toggle_ref(). | |
| 1219 | + | func (x *Object) AddToggleRef(NotifyVar *ToggleNotify, DataVar uintptr) { | |
| 1220 | + | xObjectAddToggleRef(x.GoPointer(), glib.NewCallbackNullable(NotifyVar), DataVar) | |
| 1221 | + | } | |
| 1222 | + | ||
| 1223 | + | var xObjectAddWeakPointer func(uintptr, *uintptr) | |
| 1224 | + | ||
| 1225 | + | // Adds a weak reference from weak_pointer to @object to indicate that | |
| 1226 | + | // the pointer located at @weak_pointer_location is only valid during | |
| 1227 | + | // the lifetime of @object. When the @object is finalized, | |
| 1228 | + | // @weak_pointer will be set to %NULL. | |
| 1229 | + | // | |
| 1230 | + | // Note that as with g_object_weak_ref(), the weak references created by | |
| 1231 | + | // this method are not thread-safe: they cannot safely be used in one | |
| 1232 | + | // thread if the object's last g_object_unref() might happen in another | |
| 1233 | + | // thread. Use #GWeakRef if thread-safety is required. | |
| 1234 | + | func (x *Object) AddWeakPointer(WeakPointerLocationVar *uintptr) { | |
| 1235 | + | xObjectAddWeakPointer(x.GoPointer(), WeakPointerLocationVar) | |
| 1236 | + | } | |
| 1237 | + | ||
| 1238 | + | var xObjectBindProperty func(uintptr, string, uintptr, string, BindingFlags) uintptr | |
| 1239 | + | ||
| 1240 | + | // Creates a binding between @source_property on @source and @target_property | |
| 1241 | + | // on @target. | |
| 1242 | + | // | |
| 1243 | + | // Whenever the @source_property is changed the @target_property is | |
| 1244 | + | // updated using the same value. For instance: | |
| 1245 | + | // | |
| 1246 | + | // |[<!-- language="C" --> | |
| 1247 | + | // | |
| 1248 | + | // g_object_bind_property (action, "active", widget, "sensitive", 0); | |
| 1249 | + | // | |
| 1250 | + | // ]| | |
| 1251 | + | // | |
| 1252 | + | // Will result in the "sensitive" property of the widget #GObject instance to be | |
| 1253 | + | // updated with the same value of the "active" property of the action #GObject | |
| 1254 | + | // instance. | |
| 1255 | + | // | |
| 1256 | + | // If @flags contains %G_BINDING_BIDIRECTIONAL then the binding will be mutual: | |
| 1257 | + | // if @target_property on @target changes then the @source_property on @source | |
| 1258 | + | // will be updated as well. | |
| 1259 | + | // | |
| 1260 | + | // The binding will automatically be removed when either the @source or the | |
| 1261 | + | // @target instances are finalized. To remove the binding without affecting the | |
| 1262 | + | // @source and the @target you can just call g_object_unref() on the returned | |
| 1263 | + | // #GBinding instance. | |
| 1264 | + | // | |
| 1265 | + | // Removing the binding by calling g_object_unref() on it must only be done if | |
| 1266 | + | // the binding, @source and @target are only used from a single thread and it | |
| 1267 | + | // is clear that both @source and @target outlive the binding. Especially it | |
| 1268 | + | // is not safe to rely on this if the binding, @source or @target can be | |
| 1269 | + | // finalized from different threads. Keep another reference to the binding and | |
| 1270 | + | // use g_binding_unbind() instead to be on the safe side. | |
| 1271 | + | // | |
| 1272 | + | // A #GObject can have multiple bindings. | |
| 1273 | + | func (x *Object) BindProperty(SourcePropertyVar string, TargetVar *Object, TargetPropertyVar string, FlagsVar BindingFlags) *Binding { | |
| 1274 | + | var cls *Binding | |
| 1275 | + | ||
| 1276 | + | cret := xObjectBindProperty(x.GoPointer(), SourcePropertyVar, TargetVar.GoPointer(), TargetPropertyVar, FlagsVar) | |
| 1277 | + | ||
| 1278 | + | if cret == 0 { | |
| 1279 | + | return nil | |
| 1280 | + | } | |
| 1281 | + | IncreaseRef(cret) | |
| 1282 | + | cls = &Binding{} | |
| 1283 | + | cls.Ptr = cret | |
| 1284 | + | return cls | |
| 1285 | + | } | |
| 1286 | + | ||
| 1287 | + | var xObjectBindPropertyFull func(uintptr, string, uintptr, string, BindingFlags, uintptr, uintptr, uintptr, uintptr) uintptr | |
| 1288 | + | ||
| 1289 | + | // Complete version of g_object_bind_property(). | |
| 1290 | + | // | |
| 1291 | + | // Creates a binding between @source_property on @source and @target_property | |
| 1292 | + | // on @target, allowing you to set the transformation functions to be used by | |
| 1293 | + | // the binding. | |
| 1294 | + | // | |
| 1295 | + | // If @flags contains %G_BINDING_BIDIRECTIONAL then the binding will be mutual: | |
| 1296 | + | // if @target_property on @target changes then the @source_property on @source | |
| 1297 | + | // will be updated as well. The @transform_from function is only used in case | |
| 1298 | + | // of bidirectional bindings, otherwise it will be ignored | |
| 1299 | + | // | |
| 1300 | + | // The binding will automatically be removed when either the @source or the | |
| 1301 | + | // @target instances are finalized. This will release the reference that is | |
| 1302 | + | // being held on the #GBinding instance; if you want to hold on to the | |
| 1303 | + | // #GBinding instance, you will need to hold a reference to it. | |
| 1304 | + | // | |
| 1305 | + | // To remove the binding, call g_binding_unbind(). | |
| 1306 | + | // | |
| 1307 | + | // A #GObject can have multiple bindings. | |
| 1308 | + | // | |
| 1309 | + | // The same @user_data parameter will be used for both @transform_to | |
| 1310 | + | // and @transform_from transformation functions; the @notify function will | |
| 1311 | + | // be called once, when the binding is removed. If you need different data | |
| 1312 | + | // for each transformation function, please use | |
| 1313 | + | // g_object_bind_property_with_closures() instead. | |
| 1314 | + | func (x *Object) BindPropertyFull(SourcePropertyVar string, TargetVar *Object, TargetPropertyVar string, FlagsVar BindingFlags, TransformToVar *BindingTransformFunc, TransformFromVar *BindingTransformFunc, UserDataVar uintptr, NotifyVar *glib.DestroyNotify) *Binding { | |
| 1315 | + | var cls *Binding | |
| 1316 | + | ||
| 1317 | + | cret := xObjectBindPropertyFull(x.GoPointer(), SourcePropertyVar, TargetVar.GoPointer(), TargetPropertyVar, FlagsVar, glib.NewCallbackNullable(TransformToVar), glib.NewCallbackNullable(TransformFromVar), UserDataVar, glib.NewCallbackNullable(NotifyVar)) | |
| 1318 | + | ||
| 1319 | + | if cret == 0 { | |
| 1320 | + | return nil | |
| 1321 | + | } | |
| 1322 | + | IncreaseRef(cret) | |
| 1323 | + | cls = &Binding{} | |
| 1324 | + | cls.Ptr = cret | |
| 1325 | + | return cls | |
| 1326 | + | } | |
| 1327 | + | ||
| 1328 | + | var xObjectBindPropertyWithClosures func(uintptr, string, uintptr, string, BindingFlags, *Closure, *Closure) uintptr | |
| 1329 | + | ||
| 1330 | + | // Creates a binding between @source_property on @source and @target_property | |
| 1331 | + | // on @target, allowing you to set the transformation functions to be used by | |
| 1332 | + | // the binding. | |
| 1333 | + | // | |
| 1334 | + | // This function is the language bindings friendly version of | |
| 1335 | + | // g_object_bind_property_full(), using #GClosures instead of | |
| 1336 | + | // function pointers. | |
| 1337 | + | func (x *Object) BindPropertyWithClosures(SourcePropertyVar string, TargetVar *Object, TargetPropertyVar string, FlagsVar BindingFlags, TransformToVar *Closure, TransformFromVar *Closure) *Binding { | |
| 1338 | + | var cls *Binding | |
| 1339 | + | ||
| 1340 | + | cret := xObjectBindPropertyWithClosures(x.GoPointer(), SourcePropertyVar, TargetVar.GoPointer(), TargetPropertyVar, FlagsVar, TransformToVar, TransformFromVar) | |
| 1341 | + | ||
| 1342 | + | if cret == 0 { | |
| 1343 | + | return nil | |
| 1344 | + | } | |
| 1345 | + | IncreaseRef(cret) | |
| 1346 | + | cls = &Binding{} | |
| 1347 | + | cls.Ptr = cret | |
| 1348 | + | return cls | |
| 1349 | + | } | |
| 1350 | + | ||
| 1351 | + | var xObjectConnect func(uintptr, string, ...interface{}) uintptr | |
| 1352 | + | ||
| 1353 | + | // A convenience function to connect multiple signals at once. | |
| 1354 | + | // | |
| 1355 | + | // The signal specs expected by this function have the form | |
| 1356 | + | // `modifier::signal_name`, where `modifier` can be one of the | |
| 1357 | + | // following: | |
| 1358 | + | // | |
| 1359 | + | // - `signal`: equivalent to `g_signal_connect_data (..., NULL, G_CONNECT_DEFAULT)` | |
| 1360 | + | // - `object-signal`, `object_signal`: equivalent to `g_signal_connect_object (..., G_CONNECT_DEFAULT)` | |
| 1361 | + | // - `swapped-signal`, `swapped_signal`: equivalent to `g_signal_connect_data (..., NULL, G_CONNECT_SWAPPED)` | |
| 1362 | + | // - `swapped_object_signal`, `swapped-object-signal`: equivalent to `g_signal_connect_object (..., G_CONNECT_SWAPPED)` | |
| 1363 | + | // - `signal_after`, `signal-after`: equivalent to `g_signal_connect_data (..., NULL, G_CONNECT_AFTER)` | |
| 1364 | + | // - `object_signal_after`, `object-signal-after`: equivalent to `g_signal_connect_object (..., G_CONNECT_AFTER)` | |
| 1365 | + | // - `swapped_signal_after`, `swapped-signal-after`: equivalent to `g_signal_connect_data (..., NULL, G_CONNECT_SWAPPED | G_CONNECT_AFTER)` | |
| 1366 | + | // - `swapped_object_signal_after`, `swapped-object-signal-after`: equivalent to `g_signal_connect_object (..., G_CONNECT_SWAPPED | G_CONNECT_AFTER)` | |
| 1367 | + | // | |
| 1368 | + | // ```c | |
| 1369 | + | // menu->toplevel = g_object_connect (g_object_new (GTK_TYPE_WINDOW, | |
| 1370 | + | // | |
| 1371 | + | // "type", GTK_WINDOW_POPUP, | |
| 1372 | + | // "child", menu, | |
| 1373 | + | // NULL), | |
| 1374 | + | // "signal::event", gtk_menu_window_event, menu, | |
| 1375 | + | // "signal::size_request", gtk_menu_window_size_request, menu, | |
| 1376 | + | // "signal::destroy", gtk_widget_destroyed, &menu->toplevel, | |
| 1377 | + | // NULL); | |
| 1378 | + | // | |
| 1379 | + | // ``` | |
| 1380 | + | func (x *Object) Connect(SignalSpecVar string, varArgs ...interface{}) *Object { | |
| 1381 | + | var cls *Object | |
| 1382 | + | ||
| 1383 | + | cret := xObjectConnect(x.GoPointer(), SignalSpecVar, varArgs...) | |
| 1384 | + | ||
| 1385 | + | if cret == 0 { | |
| 1386 | + | return nil | |
| 1387 | + | } | |
| 1388 | + | IncreaseRef(cret) | |
| 1389 | + | cls = &Object{} | |
| 1390 | + | cls.Ptr = cret | |
| 1391 | + | return cls | |
| 1392 | + | } | |
| 1393 | + | ||
| 1394 | + | var xObjectDisconnect func(uintptr, string, ...interface{}) | |
| 1395 | + | ||
| 1396 | + | // A convenience function to disconnect multiple signals at once. | |
| 1397 | + | // | |
| 1398 | + | // The signal specs expected by this function have the form | |
| 1399 | + | // "any_signal", which means to disconnect any signal with matching | |
| 1400 | + | // callback and data, or "any_signal::signal_name", which only | |
| 1401 | + | // disconnects the signal named "signal_name". | |
| 1402 | + | func (x *Object) Disconnect(SignalSpecVar string, varArgs ...interface{}) { | |
| 1403 | + | xObjectDisconnect(x.GoPointer(), SignalSpecVar, varArgs...) | |
| 1404 | + | } | |
| 1405 | + | ||
| 1406 | + | var xObjectDupData func(uintptr, string, uintptr, uintptr) uintptr | |
| 1407 | + | ||
| 1408 | + | // This is a variant of g_object_get_data() which returns | |
| 1409 | + | // a 'duplicate' of the value. @dup_func defines the | |
| 1410 | + | // meaning of 'duplicate' in this context, it could e.g. | |
| 1411 | + | // take a reference on a ref-counted object. | |
| 1412 | + | // | |
| 1413 | + | // If the @key is not set on the object then @dup_func | |
| 1414 | + | // will be called with a %NULL argument. | |
| 1415 | + | // | |
| 1416 | + | // Note that @dup_func is called while user data of @object | |
| 1417 | + | // is locked. | |
| 1418 | + | // | |
| 1419 | + | // This function can be useful to avoid races when multiple | |
| 1420 | + | // threads are using object data on the same key on the same | |
| 1421 | + | // object. | |
| 1422 | + | func (x *Object) DupData(KeyVar string, DupFuncVar *glib.DuplicateFunc, UserDataVar uintptr) uintptr { | |
| 1423 | + | cret := xObjectDupData(x.GoPointer(), KeyVar, glib.NewCallbackNullable(DupFuncVar), UserDataVar) | |
| 1424 | + | return cret | |
| 1425 | + | } | |
| 1426 | + | ||
| 1427 | + | var xObjectDupQdata func(uintptr, glib.Quark, uintptr, uintptr) uintptr | |
| 1428 | + | ||
| 1429 | + | // This is a variant of g_object_get_qdata() which returns | |
| 1430 | + | // a 'duplicate' of the value. @dup_func defines the | |
| 1431 | + | // meaning of 'duplicate' in this context, it could e.g. | |
| 1432 | + | // take a reference on a ref-counted object. | |
| 1433 | + | // | |
| 1434 | + | // If the @quark is not set on the object then @dup_func | |
| 1435 | + | // will be called with a %NULL argument. | |
| 1436 | + | // | |
| 1437 | + | // Note that @dup_func is called while user data of @object | |
| 1438 | + | // is locked. | |
| 1439 | + | // | |
| 1440 | + | // This function can be useful to avoid races when multiple | |
| 1441 | + | // threads are using object data on the same key on the same | |
| 1442 | + | // object. | |
| 1443 | + | func (x *Object) DupQdata(QuarkVar glib.Quark, DupFuncVar *glib.DuplicateFunc, UserDataVar uintptr) uintptr { | |
| 1444 | + | cret := xObjectDupQdata(x.GoPointer(), QuarkVar, glib.NewCallbackNullable(DupFuncVar), UserDataVar) | |
| 1445 | + | return cret | |
| 1446 | + | } | |
| 1447 | + | ||
| 1448 | + | var xObjectForceFloating func(uintptr) | |
| 1449 | + | ||
| 1450 | + | // This function is intended for #GObject implementations to re-enforce | |
| 1451 | + | // a [floating](floating-refs.html) object reference. Doing this is seldom | |
| 1452 | + | // required: all #GInitiallyUnowneds are created with a floating reference | |
| 1453 | + | // which usually just needs to be sunken by calling g_object_ref_sink(). | |
| 1454 | + | func (x *Object) ForceFloating() { | |
| 1455 | + | xObjectForceFloating(x.GoPointer()) | |
| 1456 | + | } | |
| 1457 | + | ||
| 1458 | + | var xObjectFreezeNotify func(uintptr) | |
| 1459 | + | ||
| 1460 | + | // Increases the freeze count on @object. If the freeze count is | |
| 1461 | + | // non-zero, the emission of "notify" signals on @object is | |
| 1462 | + | // stopped. The signals are queued until the freeze count is decreased | |
| 1463 | + | // to zero. Duplicate notifications are squashed so that at most one | |
| 1464 | + | // #GObject::notify signal is emitted for each property modified while the | |
| 1465 | + | // object is frozen. | |
| 1466 | + | // | |
| 1467 | + | // This is necessary for accessors that modify multiple properties to prevent | |
| 1468 | + | // premature notification while the object is still being modified. | |
| 1469 | + | func (x *Object) FreezeNotify() { | |
| 1470 | + | xObjectFreezeNotify(x.GoPointer()) | |
| 1471 | + | } | |
| 1472 | + | ||
| 1473 | + | var xObjectGet func(uintptr, string, ...interface{}) | |
| 1474 | + | ||
| 1475 | + | // Gets properties of an object. | |
| 1476 | + | // | |
| 1477 | + | // In general, a copy is made of the property contents and the caller | |
| 1478 | + | // is responsible for freeing the memory in the appropriate manner for | |
| 1479 | + | // the type, for instance by calling g_free() or g_object_unref(). | |
| 1480 | + | // | |
| 1481 | + | // Here is an example of using g_object_get() to get the contents | |
| 1482 | + | // of three properties: an integer, a string and an object: | |
| 1483 | + | // |[<!-- language="C" --> | |
| 1484 | + | // | |
| 1485 | + | // gint intval; | |
| 1486 | + | // guint64 uint64val; | |
| 1487 | + | // gchar *strval; | |
| 1488 | + | // GObject *objval; | |
| 1489 | + | // | |
| 1490 | + | // g_object_get (my_object, | |
| 1491 | + | // "int-property", &intval, | |
| 1492 | + | // "uint64-property", &uint64val, | |
| 1493 | + | // "str-property", &strval, | |
| 1494 | + | // "obj-property", &objval, | |
| 1495 | + | // NULL); | |
| 1496 | + | // | |
| 1497 | + | // // Do something with intval, uint64val, strval, objval | |
| 1498 | + | // | |
| 1499 | + | // g_free (strval); | |
| 1500 | + | // g_object_unref (objval); | |
| 1501 | + | // | |
| 1502 | + | // ]| | |
| 1503 | + | func (x *Object) Get(FirstPropertyNameVar string, varArgs ...interface{}) { | |
| 1504 | + | xObjectGet(x.GoPointer(), FirstPropertyNameVar, varArgs...) | |
| 1505 | + | } | |
| 1506 | + | ||
| 1507 | + | var xObjectGetData func(uintptr, string) uintptr | |
| 1508 | + | ||
| 1509 | + | // Gets a named field from the objects table of associations (see g_object_set_data()). | |
| 1510 | + | func (x *Object) GetData(KeyVar string) uintptr { | |
| 1511 | + | cret := xObjectGetData(x.GoPointer(), KeyVar) | |
| 1512 | + | return cret | |
| 1513 | + | } | |
| 1514 | + | ||
| 1515 | + | var xObjectGetProperty func(uintptr, string, *Value) | |
| 1516 | + | ||
| 1517 | + | // Gets a property of an object. | |
| 1518 | + | // | |
| 1519 | + | // The @value can be: | |
| 1520 | + | // | |
| 1521 | + | // - an empty #GValue initialized by %G_VALUE_INIT, which will be | |
| 1522 | + | // automatically initialized with the expected type of the property | |
| 1523 | + | // (since GLib 2.60) | |
| 1524 | + | // - a #GValue initialized with the expected type of the property | |
| 1525 | + | // - a #GValue initialized with a type to which the expected type | |
| 1526 | + | // of the property can be transformed | |
| 1527 | + | // | |
| 1528 | + | // In general, a copy is made of the property contents and the caller is | |
| 1529 | + | // responsible for freeing the memory by calling g_value_unset(). | |
| 1530 | + | // | |
| 1531 | + | // Note that g_object_get_property() is really intended for language | |
| 1532 | + | // bindings, g_object_get() is much more convenient for C programming. | |
| 1533 | + | func (x *Object) GetProperty(PropertyNameVar string, ValueVar *Value) { | |
| 1534 | + | xObjectGetProperty(x.GoPointer(), PropertyNameVar, ValueVar) | |
| 1535 | + | } | |
| 1536 | + | ||
| 1537 | + | var xObjectGetQdata func(uintptr, glib.Quark) uintptr | |
| 1538 | + | ||
| 1539 | + | // This function gets back user data pointers stored via | |
| 1540 | + | // g_object_set_qdata(). | |
| 1541 | + | func (x *Object) GetQdata(QuarkVar glib.Quark) uintptr { | |
| 1542 | + | cret := xObjectGetQdata(x.GoPointer(), QuarkVar) | |
| 1543 | + | return cret | |
| 1544 | + | } | |
| 1545 | + | ||
| 1546 | + | var xObjectGetValist func(uintptr, string, []interface{}) | |
| 1547 | + | ||
| 1548 | + | // Gets properties of an object. | |
| 1549 | + | // | |
| 1550 | + | // In general, a copy is made of the property contents and the caller | |
| 1551 | + | // is responsible for freeing the memory in the appropriate manner for | |
| 1552 | + | // the type, for instance by calling g_free() or g_object_unref(). | |
| 1553 | + | // | |
| 1554 | + | // See g_object_get(). | |
| 1555 | + | func (x *Object) GetValist(FirstPropertyNameVar string, VarArgsVar []interface{}) { | |
| 1556 | + | xObjectGetValist(x.GoPointer(), FirstPropertyNameVar, VarArgsVar) | |
| 1557 | + | } | |
| 1558 | + | ||
| 1559 | + | var xObjectGetv func(uintptr, uint, []string, []Value) | |
| 1560 | + | ||
| 1561 | + | // Gets @n_properties properties for an @object. | |
| 1562 | + | // Obtained properties will be set to @values. All properties must be valid. | |
| 1563 | + | // Warnings will be emitted and undefined behaviour may result if invalid | |
| 1564 | + | // properties are passed in. | |
| 1565 | + | func (x *Object) Getv(NPropertiesVar uint, NamesVar []string, ValuesVar []Value) { | |
| 1566 | + | xObjectGetv(x.GoPointer(), NPropertiesVar, NamesVar, ValuesVar) | |
| 1567 | + | } | |
| 1568 | + | ||
| 1569 | + | var xObjectIsFloating func(uintptr) bool | |
| 1570 | + | ||
| 1571 | + | // Checks whether @object has a [floating](floating-refs.html) reference. | |
| 1572 | + | func (x *Object) IsFloating() bool { | |
| 1573 | + | cret := xObjectIsFloating(x.GoPointer()) | |
| 1574 | + | return cret | |
| 1575 | + | } | |
| 1576 | + | ||
| 1577 | + | var xObjectNotify func(uintptr, string) | |
| 1578 | + | ||
| 1579 | + | // Emits a "notify" signal for the property @property_name on @object. | |
| 1580 | + | // | |
| 1581 | + | // When possible, eg. when signaling a property change from within the class | |
| 1582 | + | // that registered the property, you should use g_object_notify_by_pspec() | |
| 1583 | + | // instead. | |
| 1584 | + | // | |
| 1585 | + | // Note that emission of the notify signal may be blocked with | |
| 1586 | + | // g_object_freeze_notify(). In this case, the signal emissions are queued | |
| 1587 | + | // and will be emitted (in reverse order) when g_object_thaw_notify() is | |
| 1588 | + | // called. | |
| 1589 | + | func (x *Object) Notify(PropertyNameVar string) { | |
| 1590 | + | xObjectNotify(x.GoPointer(), PropertyNameVar) | |
| 1591 | + | } | |
| 1592 | + | ||
| 1593 | + | var xObjectNotifyByPspec func(uintptr, uintptr) | |
| 1594 | + | ||
| 1595 | + | // Emits a "notify" signal for the property specified by @pspec on @object. | |
| 1596 | + | // | |
| 1597 | + | // This function omits the property name lookup, hence it is faster than | |
| 1598 | + | // g_object_notify(). | |
| 1599 | + | // | |
| 1600 | + | // One way to avoid using g_object_notify() from within the | |
| 1601 | + | // class that registered the properties, and using g_object_notify_by_pspec() | |
| 1602 | + | // instead, is to store the GParamSpec used with | |
| 1603 | + | // g_object_class_install_property() inside a static array, e.g.: | |
| 1604 | + | // | |
| 1605 | + | // |[<!-- language="C" --> | |
| 1606 | + | // | |
| 1607 | + | // typedef enum | |
| 1608 | + | // { | |
| 1609 | + | // PROP_FOO = 1, | |
| 1610 | + | // PROP_LAST | |
| 1611 | + | // } MyObjectProperty; | |
| 1612 | + | // | |
| 1613 | + | // static GParamSpec *properties[PROP_LAST]; | |
| 1614 | + | // | |
| 1615 | + | // static void | |
| 1616 | + | // my_object_class_init (MyObjectClass *klass) | |
| 1617 | + | // { | |
| 1618 | + | // properties[PROP_FOO] = g_param_spec_int ("foo", NULL, NULL, | |
| 1619 | + | // 0, 100, | |
| 1620 | + | // 50, | |
| 1621 | + | // G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS); | |
| 1622 | + | // g_object_class_install_property (gobject_class, | |
| 1623 | + | // PROP_FOO, | |
| 1624 | + | // properties[PROP_FOO]); | |
| 1625 | + | // } | |
| 1626 | + | // | |
| 1627 | + | // ]| | |
| 1628 | + | // | |
| 1629 | + | // and then notify a change on the "foo" property with: | |
| 1630 | + | // | |
| 1631 | + | // |[<!-- language="C" --> | |
| 1632 | + | // | |
| 1633 | + | // g_object_notify_by_pspec (self, properties[PROP_FOO]); | |
| 1634 | + | // | |
| 1635 | + | // ]| | |
| 1636 | + | func (x *Object) NotifyByPspec(PspecVar *ParamSpec) { | |
| 1637 | + | xObjectNotifyByPspec(x.GoPointer(), PspecVar.GoPointer()) | |
| 1638 | + | } | |
| 1639 | + | ||
| 1640 | + | var xObjectRef func(uintptr) uintptr | |
| 1641 | + | ||
| 1642 | + | // Increases the reference count of @object. | |
| 1643 | + | // | |
| 1644 | + | // Since GLib 2.56, if `GLIB_VERSION_MAX_ALLOWED` is 2.56 or greater, the type | |
| 1645 | + | // of @object will be propagated to the return type (using the GCC typeof() | |
| 1646 | + | // extension), so any casting the caller needs to do on the return type must be | |
| 1647 | + | // explicit. | |
| 1648 | + | func (x *Object) Ref() *Object { | |
| 1649 | + | var cls *Object | |
| 1650 | + | ||
| 1651 | + | cret := xObjectRef(x.GoPointer()) | |
| 1652 | + | ||
| 1653 | + | if cret == 0 { | |
| 1654 | + | return nil | |
| 1655 | + | } | |
| 1656 | + | cls = &Object{} | |
| 1657 | + | cls.Ptr = cret | |
| 1658 | + | return cls | |
| 1659 | + | } | |
| 1660 | + | ||
| 1661 | + | var xObjectRefSink func(uintptr) uintptr | |
| 1662 | + | ||
| 1663 | + | // Increase the reference count of @object, and possibly remove the | |
| 1664 | + | // [floating](floating-refs.html) reference, if @object has a floating reference. | |
| 1665 | + | // | |
| 1666 | + | // In other words, if the object is floating, then this call "assumes | |
| 1667 | + | // ownership" of the floating reference, converting it to a normal | |
| 1668 | + | // reference by clearing the floating flag while leaving the reference | |
| 1669 | + | // count unchanged. If the object is not floating, then this call | |
| 1670 | + | // adds a new normal reference increasing the reference count by one. | |
| 1671 | + | // | |
| 1672 | + | // Since GLib 2.56, the type of @object will be propagated to the return type | |
| 1673 | + | // under the same conditions as for g_object_ref(). | |
| 1674 | + | func (x *Object) RefSink() *Object { | |
| 1675 | + | var cls *Object | |
| 1676 | + | ||
| 1677 | + | cret := xObjectRefSink(x.GoPointer()) | |
| 1678 | + | ||
| 1679 | + | if cret == 0 { | |
| 1680 | + | return nil | |
| 1681 | + | } | |
| 1682 | + | IncreaseRef(cret) | |
| 1683 | + | cls = &Object{} | |
| 1684 | + | cls.Ptr = cret | |
| 1685 | + | return cls | |
| 1686 | + | } | |
| 1687 | + | ||
| 1688 | + | var xObjectRemoveToggleRef func(uintptr, uintptr, uintptr) | |
| 1689 | + | ||
| 1690 | + | // Removes a reference added with g_object_add_toggle_ref(). The | |
| 1691 | + | // reference count of the object is decreased by one. | |
| 1692 | + | // | |
| 1693 | + | // Note that if you unref the object on another thread, then @notify might | |
| 1694 | + | // still be invoked after g_object_remove_toggle_ref(), and the object argument | |
| 1695 | + | // might be a dangling pointer. If the object is destroyed on other threads, | |
| 1696 | + | // you must take care of that yourself. | |
| 1697 | + | func (x *Object) RemoveToggleRef(NotifyVar *ToggleNotify, DataVar uintptr) { | |
| 1698 | + | xObjectRemoveToggleRef(x.GoPointer(), glib.NewCallbackNullable(NotifyVar), DataVar) | |
| 1699 | + | } | |
| 1700 | + | ||
| 1701 | + | var xObjectRemoveWeakPointer func(uintptr, *uintptr) | |
| 1702 | + | ||
| 1703 | + | // Removes a weak reference from @object that was previously added | |
| 1704 | + | // using g_object_add_weak_pointer(). The @weak_pointer_location has | |
| 1705 | + | // to match the one used with g_object_add_weak_pointer(). | |
| 1706 | + | func (x *Object) RemoveWeakPointer(WeakPointerLocationVar *uintptr) { | |
| 1707 | + | xObjectRemoveWeakPointer(x.GoPointer(), WeakPointerLocationVar) | |
| 1708 | + | } | |
| 1709 | + | ||
| 1710 | + | var xObjectReplaceData func(uintptr, string, uintptr, uintptr, uintptr, *glib.DestroyNotify) bool | |
| 1711 | + | ||
| 1712 | + | // Compares the user data for the key @key on @object with | |
| 1713 | + | // @oldval, and if they are the same, replaces @oldval with | |
| 1714 | + | // @newval. | |
| 1715 | + | // | |
| 1716 | + | // This is like a typical atomic compare-and-exchange | |
| 1717 | + | // operation, for user data on an object. | |
| 1718 | + | // | |
| 1719 | + | // If the previous value was replaced then ownership of the | |
| 1720 | + | // old value (@oldval) is passed to the caller, including | |
| 1721 | + | // the registered destroy notify for it (passed out in @old_destroy). | |
| 1722 | + | // It’s up to the caller to free this as needed, which may | |
| 1723 | + | // or may not include using @old_destroy as sometimes replacement | |
| 1724 | + | // should not destroy the object in the normal way. | |
| 1725 | + | // | |
| 1726 | + | // See g_object_set_data() for guidance on using a small, bounded set of values | |
| 1727 | + | // for @key. | |
| 1728 | + | func (x *Object) ReplaceData(KeyVar string, OldvalVar uintptr, NewvalVar uintptr, DestroyVar *glib.DestroyNotify, OldDestroyVar *glib.DestroyNotify) bool { | |
| 1729 | + | cret := xObjectReplaceData(x.GoPointer(), KeyVar, OldvalVar, NewvalVar, glib.NewCallbackNullable(DestroyVar), OldDestroyVar) | |
| 1730 | + | return cret | |
| 1731 | + | } | |
| 1732 | + | ||
| 1733 | + | var xObjectReplaceQdata func(uintptr, glib.Quark, uintptr, uintptr, uintptr, *glib.DestroyNotify) bool | |
| 1734 | + | ||
| 1735 | + | // Compares the user data for the key @quark on @object with | |
| 1736 | + | // @oldval, and if they are the same, replaces @oldval with | |
| 1737 | + | // @newval. | |
| 1738 | + | // | |
| 1739 | + | // This is like a typical atomic compare-and-exchange | |
| 1740 | + | // operation, for user data on an object. | |
| 1741 | + | // | |
| 1742 | + | // If the previous value was replaced then ownership of the | |
| 1743 | + | // old value (@oldval) is passed to the caller, including | |
| 1744 | + | // the registered destroy notify for it (passed out in @old_destroy). | |
| 1745 | + | // It’s up to the caller to free this as needed, which may | |
| 1746 | + | // or may not include using @old_destroy as sometimes replacement | |
| 1747 | + | // should not destroy the object in the normal way. | |
| 1748 | + | func (x *Object) ReplaceQdata(QuarkVar glib.Quark, OldvalVar uintptr, NewvalVar uintptr, DestroyVar *glib.DestroyNotify, OldDestroyVar *glib.DestroyNotify) bool { | |
| 1749 | + | cret := xObjectReplaceQdata(x.GoPointer(), QuarkVar, OldvalVar, NewvalVar, glib.NewCallbackNullable(DestroyVar), OldDestroyVar) | |
| 1750 | + | return cret | |
| 1751 | + | } | |
| 1752 | + | ||
| 1753 | + | var xObjectRunDispose func(uintptr) | |
| 1754 | + | ||
| 1755 | + | // Releases all references to other objects. This can be used to break | |
| 1756 | + | // reference cycles. | |
| 1757 | + | // | |
| 1758 | + | // This function should only be called from object system implementations. | |
| 1759 | + | func (x *Object) RunDispose() { | |
| 1760 | + | xObjectRunDispose(x.GoPointer()) | |
| 1761 | + | } | |
| 1762 | + | ||
| 1763 | + | var xObjectSet func(uintptr, string, ...interface{}) | |
| 1764 | + | ||
| 1765 | + | // Sets properties on an object. | |
| 1766 | + | // | |
| 1767 | + | // The same caveats about passing integer literals as varargs apply as with | |
| 1768 | + | // g_object_new(). In particular, any integer literals set as the values for | |
| 1769 | + | // properties of type #gint64 or #guint64 must be 64 bits wide, using the | |
| 1770 | + | // %G_GINT64_CONSTANT or %G_GUINT64_CONSTANT macros. | |
| 1771 | + | // | |
| 1772 | + | // Note that the "notify" signals are queued and only emitted (in | |
| 1773 | + | // reverse order) after all properties have been set. See | |
| 1774 | + | // g_object_freeze_notify(). | |
| 1775 | + | func (x *Object) Set(FirstPropertyNameVar string, varArgs ...interface{}) { | |
| 1776 | + | xObjectSet(x.GoPointer(), FirstPropertyNameVar, varArgs...) | |
| 1777 | + | } | |
| 1778 | + | ||
| 1779 | + | var xObjectSetData func(uintptr, string, uintptr) | |
| 1780 | + | ||
| 1781 | + | // Each object carries around a table of associations from | |
| 1782 | + | // strings to pointers. This function lets you set an association. | |
| 1783 | + | // | |
| 1784 | + | // If the object already had an association with that name, | |
| 1785 | + | // the old association will be destroyed. | |
| 1786 | + | // | |
| 1787 | + | // Internally, the @key is converted to a #GQuark using g_quark_from_string(). | |
| 1788 | + | // This means a copy of @key is kept permanently (even after @object has been | |
| 1789 | + | // finalized) — so it is recommended to only use a small, bounded set of values | |
| 1790 | + | // for @key in your program, to avoid the #GQuark storage growing unbounded. | |
| 1791 | + | func (x *Object) SetData(KeyVar string, DataVar uintptr) { | |
| 1792 | + | xObjectSetData(x.GoPointer(), KeyVar, DataVar) | |
| 1793 | + | } | |
| 1794 | + | ||
| 1795 | + | var xObjectSetDataFull func(uintptr, string, uintptr, uintptr) | |
| 1796 | + | ||
| 1797 | + | // Like g_object_set_data() except it adds notification | |
| 1798 | + | // for when the association is destroyed, either by setting it | |
| 1799 | + | // to a different value or when the object is destroyed. | |
| 1800 | + | // | |
| 1801 | + | // Note that the @destroy callback is not called if @data is %NULL. | |
| 1802 | + | func (x *Object) SetDataFull(KeyVar string, DataVar uintptr, DestroyVar *glib.DestroyNotify) { | |
| 1803 | + | xObjectSetDataFull(x.GoPointer(), KeyVar, DataVar, glib.NewCallbackNullable(DestroyVar)) | |
| 1804 | + | } | |
| 1805 | + | ||
| 1806 | + | var xObjectSetProperty func(uintptr, string, *Value) | |
| 1807 | + | ||
| 1808 | + | // Sets a property on an object. | |
| 1809 | + | func (x *Object) SetProperty(PropertyNameVar string, ValueVar *Value) { | |
| 1810 | + | xObjectSetProperty(x.GoPointer(), PropertyNameVar, ValueVar) | |
| 1811 | + | } | |
| 1812 | + | ||
| 1813 | + | var xObjectSetQdata func(uintptr, glib.Quark, uintptr) | |
| 1814 | + | ||
| 1815 | + | // This sets an opaque, named pointer on an object. | |
| 1816 | + | // The name is specified through a #GQuark (retrieved e.g. via | |
| 1817 | + | // g_quark_from_static_string()), and the pointer | |
| 1818 | + | // can be gotten back from the @object with g_object_get_qdata() | |
| 1819 | + | // until the @object is finalized. | |
| 1820 | + | // Setting a previously set user data pointer, overrides (frees) | |
| 1821 | + | // the old pointer set, using #NULL as pointer essentially | |
| 1822 | + | // removes the data stored. | |
| 1823 | + | func (x *Object) SetQdata(QuarkVar glib.Quark, DataVar uintptr) { | |
| 1824 | + | xObjectSetQdata(x.GoPointer(), QuarkVar, DataVar) | |
| 1825 | + | } | |
| 1826 | + | ||
| 1827 | + | var xObjectSetQdataFull func(uintptr, glib.Quark, uintptr, uintptr) | |
| 1828 | + | ||
| 1829 | + | // This function works like g_object_set_qdata(), but in addition, | |
| 1830 | + | // a void (*destroy) (gpointer) function may be specified which is | |
| 1831 | + | // called with @data as argument when the @object is finalized, or | |
| 1832 | + | // the data is being overwritten by a call to g_object_set_qdata() | |
| 1833 | + | // with the same @quark. | |
| 1834 | + | func (x *Object) SetQdataFull(QuarkVar glib.Quark, DataVar uintptr, DestroyVar *glib.DestroyNotify) { | |
| 1835 | + | xObjectSetQdataFull(x.GoPointer(), QuarkVar, DataVar, glib.NewCallbackNullable(DestroyVar)) | |
| 1836 | + | } | |
| 1837 | + | ||
| 1838 | + | var xObjectSetValist func(uintptr, string, []interface{}) | |
| 1839 | + | ||
| 1840 | + | // Sets properties on an object. | |
| 1841 | + | func (x *Object) SetValist(FirstPropertyNameVar string, VarArgsVar []interface{}) { | |
| 1842 | + | xObjectSetValist(x.GoPointer(), FirstPropertyNameVar, VarArgsVar) | |
| 1843 | + | } | |
| 1844 | + | ||
| 1845 | + | var xObjectSetv func(uintptr, uint, []string, []Value) | |
| 1846 | + | ||
| 1847 | + | // Sets @n_properties properties for an @object. | |
| 1848 | + | // Properties to be set will be taken from @values. All properties must be | |
| 1849 | + | // valid. Warnings will be emitted and undefined behaviour may result if invalid | |
| 1850 | + | // properties are passed in. | |
| 1851 | + | func (x *Object) Setv(NPropertiesVar uint, NamesVar []string, ValuesVar []Value) { | |
| 1852 | + | xObjectSetv(x.GoPointer(), NPropertiesVar, NamesVar, ValuesVar) | |
| 1853 | + | } | |
| 1854 | + | ||
| 1855 | + | var xObjectStealData func(uintptr, string) uintptr | |
| 1856 | + | ||
| 1857 | + | // Remove a specified datum from the object's data associations, | |
| 1858 | + | // without invoking the association's destroy handler. | |
| 1859 | + | func (x *Object) StealData(KeyVar string) uintptr { | |
| 1860 | + | cret := xObjectStealData(x.GoPointer(), KeyVar) | |
| 1861 | + | return cret | |
| 1862 | + | } | |
| 1863 | + | ||
| 1864 | + | var xObjectStealQdata func(uintptr, glib.Quark) uintptr | |
| 1865 | + | ||
| 1866 | + | // This function gets back user data pointers stored via | |
| 1867 | + | // g_object_set_qdata() and removes the @data from object | |
| 1868 | + | // without invoking its destroy() function (if any was | |
| 1869 | + | // set). | |
| 1870 | + | // Usually, calling this function is only required to update | |
| 1871 | + | // user data pointers with a destroy notifier, for example: | |
| 1872 | + | // |[<!-- language="C" --> | |
| 1873 | + | // void | |
| 1874 | + | // object_add_to_user_list (GObject *object, | |
| 1875 | + | // | |
| 1876 | + | // const gchar *new_string) | |
| 1877 | + | // | |
| 1878 | + | // { | |
| 1879 | + | // // the quark, naming the object data | |
| 1880 | + | // GQuark quark_string_list = g_quark_from_static_string ("my-string-list"); | |
| 1881 | + | // // retrieve the old string list | |
| 1882 | + | // GList *list = g_object_steal_qdata (object, quark_string_list); | |
| 1883 | + | // | |
| 1884 | + | // // prepend new string | |
| 1885 | + | // list = g_list_prepend (list, g_strdup (new_string)); | |
| 1886 | + | // // this changed 'list', so we need to set it again | |
| 1887 | + | // g_object_set_qdata_full (object, quark_string_list, list, free_string_list); | |
| 1888 | + | // } | |
| 1889 | + | // | |
| 1890 | + | // static void | |
| 1891 | + | // free_string_list (gpointer data) | |
| 1892 | + | // | |
| 1893 | + | // { | |
| 1894 | + | // GList *node, *list = data; | |
| 1895 | + | // | |
| 1896 | + | // for (node = list; node; node = node->next) | |
| 1897 | + | // g_free (node->data); | |
| 1898 | + | // g_list_free (list); | |
| 1899 | + | // } | |
| 1900 | + | // | |
| 1901 | + | // ]| | |
| 1902 | + | // Using g_object_get_qdata() in the above example, instead of | |
| 1903 | + | // g_object_steal_qdata() would have left the destroy function set, | |
| 1904 | + | // and thus the partial string list would have been freed upon | |
| 1905 | + | // g_object_set_qdata_full(). | |
| 1906 | + | func (x *Object) StealQdata(QuarkVar glib.Quark) uintptr { | |
| 1907 | + | cret := xObjectStealQdata(x.GoPointer(), QuarkVar) | |
| 1908 | + | return cret | |
| 1909 | + | } | |
| 1910 | + | ||
| 1911 | + | var xObjectTakeRef func(uintptr) uintptr | |
| 1912 | + | ||
| 1913 | + | // If @object is floating, sink it. Otherwise, do nothing. | |
| 1914 | + | // | |
| 1915 | + | // In other words, this function will convert a floating reference (if | |
| 1916 | + | // present) into a full reference. | |
| 1917 | + | // | |
| 1918 | + | // Typically you want to use g_object_ref_sink() in order to | |
| 1919 | + | // automatically do the correct thing with respect to floating or | |
| 1920 | + | // non-floating references, but there is one specific scenario where | |
| 1921 | + | // this function is helpful. | |
| 1922 | + | // | |
| 1923 | + | // The situation where this function is helpful is when creating an API | |
| 1924 | + | // that allows the user to provide a callback function that returns a | |
| 1925 | + | // GObject. We certainly want to allow the user the flexibility to | |
| 1926 | + | // return a non-floating reference from this callback (for the case | |
| 1927 | + | // where the object that is being returned already exists). | |
| 1928 | + | // | |
| 1929 | + | // At the same time, the API style of some popular GObject-based | |
| 1930 | + | // libraries (such as Gtk) make it likely that for newly-created GObject | |
| 1931 | + | // instances, the user can be saved some typing if they are allowed to | |
| 1932 | + | // return a floating reference. | |
| 1933 | + | // | |
| 1934 | + | // Using this function on the return value of the user's callback allows | |
| 1935 | + | // the user to do whichever is more convenient for them. The caller will | |
| 1936 | + | // always receives exactly one full reference to the value: either the | |
| 1937 | + | // one that was returned in the first place, or a floating reference | |
| 1938 | + | // that has been converted to a full reference. | |
| 1939 | + | // | |
| 1940 | + | // This function has an odd interaction when combined with | |
| 1941 | + | // g_object_ref_sink() running at the same time in another thread on | |
| 1942 | + | // the same #GObject instance. If g_object_ref_sink() runs first then | |
| 1943 | + | // the result will be that the floating reference is converted to a hard | |
| 1944 | + | // reference. If g_object_take_ref() runs first then the result will be | |
| 1945 | + | // that the floating reference is converted to a hard reference and an | |
| 1946 | + | // additional reference on top of that one is added. It is best to avoid | |
| 1947 | + | // this situation. | |
| 1948 | + | func (x *Object) TakeRef() *Object { | |
| 1949 | + | var cls *Object | |
| 1950 | + | ||
| 1951 | + | cret := xObjectTakeRef(x.GoPointer()) | |
| 1952 | + | ||
| 1953 | + | if cret == 0 { | |
| 1954 | + | return nil | |
| 1955 | + | } | |
| 1956 | + | cls = &Object{} | |
| 1957 | + | cls.Ptr = cret | |
| 1958 | + | return cls | |
| 1959 | + | } | |
| 1960 | + | ||
| 1961 | + | var xObjectThawNotify func(uintptr) | |
| 1962 | + | ||
| 1963 | + | // Reverts the effect of a previous call to | |
| 1964 | + | // g_object_freeze_notify(). The freeze count is decreased on @object | |
| 1965 | + | // and when it reaches zero, queued "notify" signals are emitted. | |
| 1966 | + | // | |
| 1967 | + | // Duplicate notifications for each property are squashed so that at most one | |
| 1968 | + | // #GObject::notify signal is emitted for each property, in the reverse order | |
| 1969 | + | // in which they have been queued. | |
| 1970 | + | // | |
| 1971 | + | // It is an error to call this function when the freeze count is zero. | |
| 1972 | + | func (x *Object) ThawNotify() { | |
| 1973 | + | xObjectThawNotify(x.GoPointer()) | |
| 1974 | + | } | |
| 1975 | + | ||
| 1976 | + | var xObjectUnref func(uintptr) | |
| 1977 | + | ||
| 1978 | + | // Decreases the reference count of @object. When its reference count | |
| 1979 | + | // drops to 0, the object is finalized (i.e. its memory is freed). | |
| 1980 | + | // | |
| 1981 | + | // If the pointer to the #GObject may be reused in future (for example, if it is | |
| 1982 | + | // an instance variable of another object), it is recommended to clear the | |
| 1983 | + | // pointer to %NULL rather than retain a dangling pointer to a potentially | |
| 1984 | + | // invalid #GObject instance. Use g_clear_object() for this. | |
| 1985 | + | func (x *Object) Unref() { | |
| 1986 | + | xObjectUnref(x.GoPointer()) | |
| 1987 | + | } | |
| 1988 | + | ||
| 1989 | + | var xObjectWatchClosure func(uintptr, *Closure) | |
| 1990 | + | ||
| 1991 | + | // This function essentially limits the life time of the @closure to | |
| 1992 | + | // the life time of the object. That is, when the object is finalized, | |
| 1993 | + | // the @closure is invalidated by calling g_closure_invalidate() on | |
| 1994 | + | // it, in order to prevent invocations of the closure with a finalized | |
| 1995 | + | // (nonexisting) object. Also, g_object_ref() and g_object_unref() are | |
| 1996 | + | // added as marshal guards to the @closure, to ensure that an extra | |
| 1997 | + | // reference count is held on @object during invocation of the | |
| 1998 | + | // @closure. Usually, this function will be called on closures that | |
| 1999 | + | // use this @object as closure data. | |
| 2000 | + | func (x *Object) WatchClosure(ClosureVar *Closure) { | |
| 2001 | + | xObjectWatchClosure(x.GoPointer(), ClosureVar) | |
| 2002 | + | } | |
| 2003 | + | ||
| 2004 | + | var xObjectWeakRef func(uintptr, uintptr, uintptr) | |
| 2005 | + | ||
| 2006 | + | // Adds a weak reference callback to an object. Weak references are | |
| 2007 | + | // used for notification when an object is disposed. They are called | |
| 2008 | + | // "weak references" because they allow you to safely hold a pointer | |
| 2009 | + | // to an object without calling g_object_ref() (g_object_ref() adds a | |
| 2010 | + | // strong reference, that is, forces the object to stay alive). | |
| 2011 | + | // | |
| 2012 | + | // Note that the weak references created by this method are not | |
| 2013 | + | // thread-safe: they cannot safely be used in one thread if the | |
| 2014 | + | // object's last g_object_unref() might happen in another thread. | |
| 2015 | + | // Use #GWeakRef if thread-safety is required. | |
| 2016 | + | func (x *Object) WeakRef(NotifyVar *WeakNotify, DataVar uintptr) { | |
| 2017 | + | xObjectWeakRef(x.GoPointer(), glib.NewCallbackNullable(NotifyVar), DataVar) | |
| 2018 | + | } | |
| 2019 | + | ||
| 2020 | + | var xObjectWeakUnref func(uintptr, uintptr, uintptr) | |
| 2021 | + | ||
| 2022 | + | // Removes a weak reference callback to an object. | |
| 2023 | + | func (x *Object) WeakUnref(NotifyVar *WeakNotify, DataVar uintptr) { | |
| 2024 | + | xObjectWeakUnref(x.GoPointer(), glib.NewCallbackNullable(NotifyVar), DataVar) | |
| 2025 | + | } | |
| 2026 | + | ||
| 2027 | + | func (c *Object) GoPointer() uintptr { | |
| 2028 | + | if c == nil { | |
| 2029 | + | return 0 | |
| 2030 | + | } | |
| 2031 | + | return c.Ptr | |
| 2032 | + | } | |
| 2033 | + | ||
| 2034 | + | func (c *Object) SetGoPointer(ptr uintptr) { | |
| 2035 | + | c.Ptr = ptr | |
| 2036 | + | } | |
| 2037 | + | ||
| 2038 | + | // The notify signal is emitted on an object when one of its properties has | |
| 2039 | + | // its value set through g_object_set_property(), g_object_set(), et al. | |
| 2040 | + | // | |
| 2041 | + | // Note that getting this signal doesn’t itself guarantee that the value of | |
| 2042 | + | // the property has actually changed. When it is emitted is determined by the | |
| 2043 | + | // derived GObject class. If the implementor did not create the property with | |
| 2044 | + | // %G_PARAM_EXPLICIT_NOTIFY, then any call to g_object_set_property() results | |
| 2045 | + | // in ::notify being emitted, even if the new value is the same as the old. | |
| 2046 | + | // If they did pass %G_PARAM_EXPLICIT_NOTIFY, then this signal is emitted only | |
| 2047 | + | // when they explicitly call g_object_notify() or g_object_notify_by_pspec(), | |
| 2048 | + | // and common practice is to do that only when the value has actually changed. | |
| 2049 | + | // | |
| 2050 | + | // This signal is typically used to obtain change notification for a | |
| 2051 | + | // single property, by specifying the property name as a detail in the | |
| 2052 | + | // g_signal_connect() call, like this: | |
| 2053 | + | // | |
| 2054 | + | // |[<!-- language="C" --> | |
| 2055 | + | // g_signal_connect (text_view->buffer, "notify::paste-target-list", | |
| 2056 | + | // | |
| 2057 | + | // G_CALLBACK (gtk_text_view_target_list_notify), | |
| 2058 | + | // text_view) | |
| 2059 | + | // | |
| 2060 | + | // ]| | |
| 2061 | + | // | |
| 2062 | + | // It is important to note that you must use | |
| 2063 | + | // [canonical parameter names][class@GObject.ParamSpec#parameter-names] as | |
| 2064 | + | // detail strings for the notify signal. | |
| 2065 | + | func (x *Object) ConnectNotify(cb *func(Object, uintptr)) uint { | |
| 2066 | + | signalData := glib.SaveSignalHandler(cb) | |
| 2067 | + | cbRefPtr := glib.SharedCallback("gobject.Object.Notify", func(clsPtr uintptr, PspecVarp uintptr, signalData uintptr) { | |
| 2068 | + | handler, ok := glib.GetSignalHandler(signalData) | |
| 2069 | + | if !ok { | |
| 2070 | + | return | |
| 2071 | + | } | |
| 2072 | + | cb, ok := handler.(*func(Object, uintptr)) | |
| 2073 | + | if !ok || cb == nil || *cb == nil { | |
| 2074 | + | return | |
| 2075 | + | } | |
| 2076 | + | fa := Object{} | |
| 2077 | + | fa.Ptr = clsPtr | |
| 2078 | + | cbFn := *cb | |
| 2079 | + | ||
| 2080 | + | cbFn(fa, PspecVarp) | |
| 2081 | + | }) | |
| 2082 | + | handlerID := SignalConnectDataRaw(x.GoPointer(), "notify", cbRefPtr, signalData, glib.SignalDestroyNotify(), GConnectDefaultValue) | |
| 2083 | + | glib.SaveSignalHandlerMapping(handlerID, signalData) | |
| 2084 | + | return handlerID | |
| 2085 | + | } | |
| 2086 | + | ||
| 2087 | + | var xObjectCompatControl func(uint, uintptr) uint | |
| 2088 | + | ||
| 2089 | + | func ObjectCompatControl(WhatVar uint, DataVar uintptr) uint { | |
| 2090 | + | cret := xObjectCompatControl(WhatVar, DataVar) | |
| 2091 | + | return cret | |
| 2092 | + | } | |
| 2093 | + | ||
| 2094 | + | var xObjectInterfaceFindProperty func(*TypeInterface, string) uintptr | |
| 2095 | + | ||
| 2096 | + | // Find the #GParamSpec with the given name for an | |
| 2097 | + | // interface. Generally, the interface vtable passed in as @g_iface | |
| 2098 | + | // will be the default vtable from g_type_default_interface_ref(), or, | |
| 2099 | + | // if you know the interface has already been loaded, | |
| 2100 | + | // g_type_default_interface_peek(). | |
| 2101 | + | func ObjectInterfaceFindProperty(GIfaceVar *TypeInterface, PropertyNameVar string) *ParamSpec { | |
| 2102 | + | var cls *ParamSpec | |
| 2103 | + | ||
| 2104 | + | cret := xObjectInterfaceFindProperty(GIfaceVar, PropertyNameVar) | |
| 2105 | + | ||
| 2106 | + | if cret == 0 { | |
| 2107 | + | return nil | |
| 2108 | + | } | |
| 2109 | + | IncreaseRef(cret) | |
| 2110 | + | cls = &ParamSpec{} | |
| 2111 | + | cls.Ptr = cret | |
| 2112 | + | return cls | |
| 2113 | + | } | |
| 2114 | + | ||
| 2115 | + | var xObjectInterfaceInstallProperty func(*TypeInterface, uintptr) | |
| 2116 | + | ||
| 2117 | + | // Add a property to an interface; this is only useful for interfaces | |
| 2118 | + | // that are added to GObject-derived types. Adding a property to an | |
| 2119 | + | // interface forces all objects classes with that interface to have a | |
| 2120 | + | // compatible property. The compatible property could be a newly | |
| 2121 | + | // created #GParamSpec, but normally | |
| 2122 | + | // g_object_class_override_property() will be used so that the object | |
| 2123 | + | // class only needs to provide an implementation and inherits the | |
| 2124 | + | // property description, default value, bounds, and so forth from the | |
| 2125 | + | // interface property. | |
| 2126 | + | // | |
| 2127 | + | // This function is meant to be called from the interface's default | |
| 2128 | + | // vtable initialization function (the @class_init member of | |
| 2129 | + | // #GTypeInfo.) It must not be called after after @class_init has | |
| 2130 | + | // been called for any object types implementing this interface. | |
| 2131 | + | // | |
| 2132 | + | // If @pspec is a floating reference, it will be consumed. | |
| 2133 | + | func ObjectInterfaceInstallProperty(GIfaceVar *TypeInterface, PspecVar *ParamSpec) { | |
| 2134 | + | xObjectInterfaceInstallProperty(GIfaceVar, PspecVar.GoPointer()) | |
| 2135 | + | } | |
| 2136 | + | ||
| 2137 | + | var xObjectInterfaceListProperties func(*TypeInterface, *uint) uintptr | |
| 2138 | + | ||
| 2139 | + | // Lists the properties of an interface.Generally, the interface | |
| 2140 | + | // vtable passed in as @g_iface will be the default vtable from | |
| 2141 | + | // g_type_default_interface_ref(), or, if you know the interface has | |
| 2142 | + | // already been loaded, g_type_default_interface_peek(). | |
| 2143 | + | func ObjectInterfaceListProperties(GIfaceVar *TypeInterface, NPropertiesPVar *uint) uintptr { | |
| 2144 | + | cret := xObjectInterfaceListProperties(GIfaceVar, NPropertiesPVar) | |
| 2145 | + | return cret | |
| 2146 | + | } | |
| 2147 | + | ||
| 2148 | + | func init() { | |
| 2149 | + | core.SetPackageName("GOBJECT", "gobject-2.0") | |
| 2150 | + | core.SetSharedLibraries("GOBJECT", []string{"libgobject-2.0.so.0", "libgobject-2.0.0.dylib"}) | |
| 2151 | + | var libs []uintptr | |
| 2152 | + | for _, libPath := range core.GetPaths("GOBJECT") { | |
| 2153 | + | lib, err := purego.Dlopen(libPath, purego.RTLD_NOW|purego.RTLD_GLOBAL) | |
| 2154 | + | if err != nil { | |
| 2155 | + | panic(err) | |
| 2156 | + | } | |
| 2157 | + | libs = append(libs, lib) | |
| 2158 | + | } | |
| 2159 | + | ||
| 2160 | + | core.PuregoSafeRegister(&xCclosureNewObject, libs, "g_cclosure_new_object") | |
| 2161 | + | core.PuregoSafeRegister(&xCclosureNewObjectSwap, libs, "g_cclosure_new_object_swap") | |
| 2162 | + | core.PuregoSafeRegister(&xClearObject, libs, "g_clear_object") | |
| 2163 | + | core.PuregoSafeRegister(&xSignalConnectObject, libs, "g_signal_connect_object") | |
| 2164 | + | ||
| 2165 | + | core.PuregoSafeRegister(&xObjectClassFindProperty, libs, "g_object_class_find_property") | |
| 2166 | + | core.PuregoSafeRegister(&xObjectClassInstallProperties, libs, "g_object_class_install_properties") | |
| 2167 | + | core.PuregoSafeRegister(&xObjectClassInstallProperty, libs, "g_object_class_install_property") | |
| 2168 | + | core.PuregoSafeRegister(&xObjectClassListProperties, libs, "g_object_class_list_properties") | |
| 2169 | + | core.PuregoSafeRegister(&xObjectClassOverrideProperty, libs, "g_object_class_override_property") | |
| 2170 | + | ||
| 2171 | + | core.PuregoSafeRegister(&xWeakRefClear, libs, "g_weak_ref_clear") | |
| 2172 | + | core.PuregoSafeRegister(&xWeakRefGet, libs, "g_weak_ref_get") | |
| 2173 | + | core.PuregoSafeRegister(&xWeakRefInit, libs, "g_weak_ref_init") | |
| 2174 | + | core.PuregoSafeRegister(&xWeakRefSet, libs, "g_weak_ref_set") | |
| 2175 | + | ||
| 2176 | + | core.PuregoSafeRegister(&xInitiallyUnownedGLibType, libs, "g_initially_unowned_get_type") | |
| 2177 | + | ||
| 2178 | + | core.PuregoSafeRegister(&xObjectGLibType, libs, "g_object_get_type") | |
| 2179 | + | ||
| 2180 | + | core.PuregoSafeRegister(&xNewObject, libs, "g_object_new") | |
| 2181 | + | core.PuregoSafeRegister(&xNewObjectValist, libs, "g_object_new_valist") | |
| 2182 | + | core.PuregoSafeRegister(&xNewObjectWithProperties, libs, "g_object_new_with_properties") | |
| 2183 | + | core.PuregoSafeRegister(&xNewObjectv, libs, "g_object_newv") | |
| 2184 | + | ||
| 2185 | + | core.PuregoSafeRegister(&xObjectAddToggleRef, libs, "g_object_add_toggle_ref") | |
| 2186 | + | core.PuregoSafeRegister(&xObjectAddWeakPointer, libs, "g_object_add_weak_pointer") | |
| 2187 | + | core.PuregoSafeRegister(&xObjectBindProperty, libs, "g_object_bind_property") | |
| 2188 | + | core.PuregoSafeRegister(&xObjectBindPropertyFull, libs, "g_object_bind_property_full") | |
| 2189 | + | core.PuregoSafeRegister(&xObjectBindPropertyWithClosures, libs, "g_object_bind_property_with_closures") | |
| 2190 | + | core.PuregoSafeRegister(&xObjectConnect, libs, "g_object_connect") | |
| 2191 | + | core.PuregoSafeRegister(&xObjectDisconnect, libs, "g_object_disconnect") | |
| 2192 | + | core.PuregoSafeRegister(&xObjectDupData, libs, "g_object_dup_data") | |
| 2193 | + | core.PuregoSafeRegister(&xObjectDupQdata, libs, "g_object_dup_qdata") | |
| 2194 | + | core.PuregoSafeRegister(&xObjectForceFloating, libs, "g_object_force_floating") | |
| 2195 | + | core.PuregoSafeRegister(&xObjectFreezeNotify, libs, "g_object_freeze_notify") | |
| 2196 | + | core.PuregoSafeRegister(&xObjectGet, libs, "g_object_get") | |
| 2197 | + | core.PuregoSafeRegister(&xObjectGetData, libs, "g_object_get_data") | |
| 2198 | + | core.PuregoSafeRegister(&xObjectGetProperty, libs, "g_object_get_property") | |
| 2199 | + | core.PuregoSafeRegister(&xObjectGetQdata, libs, "g_object_get_qdata") | |
| 2200 | + | core.PuregoSafeRegister(&xObjectGetValist, libs, "g_object_get_valist") | |
| 2201 | + | core.PuregoSafeRegister(&xObjectGetv, libs, "g_object_getv") | |
| 2202 | + | core.PuregoSafeRegister(&xObjectIsFloating, libs, "g_object_is_floating") | |
| 2203 | + | core.PuregoSafeRegister(&xObjectNotify, libs, "g_object_notify") | |
| 2204 | + | core.PuregoSafeRegister(&xObjectNotifyByPspec, libs, "g_object_notify_by_pspec") | |
| 2205 | + | core.PuregoSafeRegister(&xObjectRef, libs, "g_object_ref") | |
| 2206 | + | core.PuregoSafeRegister(&xObjectRefSink, libs, "g_object_ref_sink") | |
| 2207 | + | core.PuregoSafeRegister(&xObjectRemoveToggleRef, libs, "g_object_remove_toggle_ref") | |
| 2208 | + | core.PuregoSafeRegister(&xObjectRemoveWeakPointer, libs, "g_object_remove_weak_pointer") | |
| 2209 | + | core.PuregoSafeRegister(&xObjectReplaceData, libs, "g_object_replace_data") | |
| 2210 | + | core.PuregoSafeRegister(&xObjectReplaceQdata, libs, "g_object_replace_qdata") | |
| 2211 | + | core.PuregoSafeRegister(&xObjectRunDispose, libs, "g_object_run_dispose") | |
| 2212 | + | core.PuregoSafeRegister(&xObjectSet, libs, "g_object_set") | |
| 2213 | + | core.PuregoSafeRegister(&xObjectSetData, libs, "g_object_set_data") | |
| 2214 | + | core.PuregoSafeRegister(&xObjectSetDataFull, libs, "g_object_set_data_full") | |
| 2215 | + | core.PuregoSafeRegister(&xObjectSetProperty, libs, "g_object_set_property") | |
| 2216 | + | core.PuregoSafeRegister(&xObjectSetQdata, libs, "g_object_set_qdata") | |
| 2217 | + | core.PuregoSafeRegister(&xObjectSetQdataFull, libs, "g_object_set_qdata_full") | |
| 2218 | + | core.PuregoSafeRegister(&xObjectSetValist, libs, "g_object_set_valist") | |
| 2219 | + | core.PuregoSafeRegister(&xObjectSetv, libs, "g_object_setv") | |
| 2220 | + | core.PuregoSafeRegister(&xObjectStealData, libs, "g_object_steal_data") | |
| 2221 | + | core.PuregoSafeRegister(&xObjectStealQdata, libs, "g_object_steal_qdata") | |
| 2222 | + | core.PuregoSafeRegister(&xObjectTakeRef, libs, "g_object_take_ref") | |
| 2223 | + | core.PuregoSafeRegister(&xObjectThawNotify, libs, "g_object_thaw_notify") | |
| 2224 | + | core.PuregoSafeRegister(&xObjectUnref, libs, "g_object_unref") | |
| 2225 | + | core.PuregoSafeRegister(&xObjectWatchClosure, libs, "g_object_watch_closure") | |
| 2226 | + | core.PuregoSafeRegister(&xObjectWeakRef, libs, "g_object_weak_ref") | |
| 2227 | + | core.PuregoSafeRegister(&xObjectWeakUnref, libs, "g_object_weak_unref") | |
| 2228 | + | ||
| 2229 | + | core.PuregoSafeRegister(&xObjectCompatControl, libs, "g_object_compat_control") | |
| 2230 | + | core.PuregoSafeRegister(&xObjectInterfaceFindProperty, libs, "g_object_interface_find_property") | |
| 2231 | + | core.PuregoSafeRegister(&xObjectInterfaceInstallProperty, libs, "g_object_interface_install_property") | |
| 2232 | + | core.PuregoSafeRegister(&xObjectInterfaceListProperties, libs, "g_object_interface_list_properties") | |
| 2233 | + | } | |
| @@ -0,0 +1,2233 @@ | |||||
| 1 | + | // Package gobject was automatically generated by github.com/bnema/puregotk DO NOT EDIT | |||
| 2 | + | package gobject | |||
| 3 | + | ||||
| 4 | + | import ( | |||
| 5 | + | "structs" | |||
| 6 | + | "unsafe" | |||
| 7 | + | ||||
| 8 | + | "github.com/bnema/purego" | |||
| 9 | + | "github.com/bnema/puregotk/pkg/core" | |||
| 10 | + | "github.com/bnema/puregotk/v4/glib" | |||
| 11 | + | "github.com/bnema/puregotk/v4/gobject/types" | |||
| 12 | + | ) | |||
| 13 | + | ||||
| 14 | + | // The type of the @finalize function of #GObjectClass. | |||
| 15 | + | type ObjectFinalizeFunc func(uintptr) | |||
| 16 | + | ||||
| 17 | + | // The type of the @get_property function of #GObjectClass. | |||
| 18 | + | type ObjectGetPropertyFunc func(uintptr, uint, *Value, uintptr) | |||
| 19 | + | ||||
| 20 | + | // The type of the @set_property function of #GObjectClass. | |||
| 21 | + | type ObjectSetPropertyFunc func(uintptr, uint, *Value, uintptr) | |||
| 22 | + | ||||
| 23 | + | // A callback function used for notification when the state | |||
| 24 | + | // of a toggle reference changes. | |||
| 25 | + | // | |||
| 26 | + | // See also: g_object_add_toggle_ref() | |||
| 27 | + | type ToggleNotify func(uintptr, uintptr, bool) | |||
| 28 | + | ||||
| 29 | + | // A #GWeakNotify function can be added to an object as a callback that gets | |||
| 30 | + | // triggered when the object is finalized. | |||
| 31 | + | // | |||
| 32 | + | // Since the object is already being disposed when the #GWeakNotify is called, | |||
| 33 | + | // there's not much you could do with the object, apart from e.g. using its | |||
| 34 | + | // address as hash-index or the like. | |||
| 35 | + | // | |||
| 36 | + | // In particular, this means it’s invalid to call g_object_ref(), | |||
| 37 | + | // g_weak_ref_init(), g_weak_ref_set(), g_object_add_toggle_ref(), | |||
| 38 | + | // g_object_weak_ref(), g_object_add_weak_pointer() or any function which calls | |||
| 39 | + | // them on the object from this callback. | |||
| 40 | + | type WeakNotify func(uintptr, uintptr) | |||
| 41 | + | ||||
| 42 | + | // The class structure for the GInitiallyUnowned type. | |||
| 43 | + | type InitiallyUnownedClass struct { | |||
| 44 | + | _ structs.HostLayout | |||
| 45 | + | ||||
| 46 | + | GTypeClass uintptr | |||
| 47 | + | ||||
| 48 | + | ConstructProperties *glib.SList | |||
| 49 | + | ||||
| 50 | + | xConstructor uintptr | |||
| 51 | + | ||||
| 52 | + | xSetProperty uintptr | |||
| 53 | + | ||||
| 54 | + | xGetProperty uintptr | |||
| 55 | + | ||||
| 56 | + | xDispose uintptr | |||
| 57 | + | ||||
| 58 | + | xFinalize uintptr | |||
| 59 | + | ||||
| 60 | + | xDispatchPropertiesChanged uintptr | |||
| 61 | + | ||||
| 62 | + | xNotify uintptr | |||
| 63 | + | ||||
| 64 | + | xConstructed uintptr | |||
| 65 | + | ||||
| 66 | + | Flags uint | |||
| 67 | + | ||||
| 68 | + | NConstructProperties uint | |||
| 69 | + | ||||
| 70 | + | Pspecs uintptr | |||
| 71 | + | ||||
| 72 | + | NPspecs uint | |||
| 73 | + | ||||
| 74 | + | Pdummy [3]uintptr | |||
| 75 | + | } | |||
| 76 | + | ||||
| 77 | + | func (x *InitiallyUnownedClass) GoPointer() uintptr { | |||
| 78 | + | return uintptr(unsafe.Pointer(x)) | |||
| 79 | + | } | |||
| 80 | + | ||||
| 81 | + | func InitiallyUnownedClassNewFromInternalPtr(ptr uintptr) *InitiallyUnownedClass { | |||
| 82 | + | if ptr == 0 { | |||
| 83 | + | return nil | |||
| 84 | + | } | |||
| 85 | + | rawPtr := *(*unsafe.Pointer)(unsafe.Pointer(&ptr)) | |||
| 86 | + | return (*InitiallyUnownedClass)(rawPtr) | |||
| 87 | + | } | |||
| 88 | + | ||||
| 89 | + | // OverrideConstructor sets the "constructor" callback function. | |||
| 90 | + | // the @constructor function is called by g_object_new () to | |||
| 91 | + | // | |||
| 92 | + | // complete the object initialization after all the construction properties are | |||
| 93 | + | // set. The first thing a @constructor implementation must do is chain up to the | |||
| 94 | + | // @constructor of the parent class. Overriding @constructor should be rarely | |||
| 95 | + | // needed, e.g. to handle construct properties, or to implement singletons. | |||
| 96 | + | func (x *InitiallyUnownedClass) OverrideConstructor(cb func(types.GType, uint, *ObjectConstructParam) *Object) { | |||
| 97 | + | if cb == nil { | |||
| 98 | + | x.xConstructor = 0 | |||
| 99 | + | } else { | |||
| 100 | + | x.xConstructor = purego.NewCallback(func(TypeVarp types.GType, NConstructPropertiesVarp uint, ConstructPropertiesVarp *ObjectConstructParam) uintptr { | |||
| 101 | + | ret := cb(TypeVarp, NConstructPropertiesVarp, ConstructPropertiesVarp) | |||
| 102 | + | if ret == nil { | |||
| 103 | + | return 0 | |||
| 104 | + | } | |||
| 105 | + | return ret.GoPointer() | |||
| 106 | + | }) | |||
| 107 | + | } | |||
| 108 | + | } | |||
| 109 | + | ||||
| 110 | + | // GetConstructor gets the "constructor" callback function. | |||
| 111 | + | // the @constructor function is called by g_object_new () to | |||
| 112 | + | // | |||
| 113 | + | // complete the object initialization after all the construction properties are | |||
| 114 | + | // set. The first thing a @constructor implementation must do is chain up to the | |||
| 115 | + | // @constructor of the parent class. Overriding @constructor should be rarely | |||
| 116 | + | // needed, e.g. to handle construct properties, or to implement singletons. | |||
| 117 | + | func (x *InitiallyUnownedClass) GetConstructor() func(types.GType, uint, *ObjectConstructParam) *Object { | |||
| 118 | + | if x.xConstructor == 0 { | |||
| 119 | + | return nil | |||
| 120 | + | } | |||
| 121 | + | var rawCallback func(TypeVarp types.GType, NConstructPropertiesVarp uint, ConstructPropertiesVarp *ObjectConstructParam) uintptr | |||
| 122 | + | purego.RegisterFunc(&rawCallback, x.xConstructor) | |||
| 123 | + | return func(TypeVar types.GType, NConstructPropertiesVar uint, ConstructPropertiesVar *ObjectConstructParam) *Object { | |||
| 124 | + | rawRet := rawCallback(TypeVar, NConstructPropertiesVar, ConstructPropertiesVar) | |||
| 125 | + | if rawRet == 0 { | |||
| 126 | + | return nil | |||
| 127 | + | } | |||
| 128 | + | ret := &Object{} | |||
| 129 | + | ret.Ptr = rawRet | |||
| 130 | + | return ret | |||
| 131 | + | } | |||
| 132 | + | } | |||
| 133 | + | ||||
| 134 | + | // OverrideSetProperty sets the "set_property" callback function. | |||
| 135 | + | // the generic setter for all properties of this type. Should be | |||
| 136 | + | // | |||
| 137 | + | // overridden for every type with properties. If implementations of | |||
| 138 | + | // @set_property don't emit property change notification explicitly, this will | |||
| 139 | + | // be done implicitly by the type system. However, if the notify signal is | |||
| 140 | + | // emitted explicitly, the type system will not emit it a second time. | |||
| 141 | + | func (x *InitiallyUnownedClass) OverrideSetProperty(cb func(*Object, uint, *Value, *ParamSpec)) { | |||
| 142 | + | if cb == nil { | |||
| 143 | + | x.xSetProperty = 0 | |||
| 144 | + | } else { | |||
| 145 | + | x.xSetProperty = purego.NewCallback(func(ObjectVarp uintptr, PropertyIdVarp uint, ValueVarp *Value, PspecVarp uintptr) { | |||
| 146 | + | cb(ObjectNewFromInternalPtr(ObjectVarp), PropertyIdVarp, ValueVarp, ParamSpecNewFromInternalPtr(PspecVarp)) | |||
| 147 | + | }) | |||
| 148 | + | } | |||
| 149 | + | } | |||
| 150 | + | ||||
| 151 | + | // GetSetProperty gets the "set_property" callback function. | |||
| 152 | + | // the generic setter for all properties of this type. Should be | |||
| 153 | + | // | |||
| 154 | + | // overridden for every type with properties. If implementations of | |||
| 155 | + | // @set_property don't emit property change notification explicitly, this will | |||
| 156 | + | // be done implicitly by the type system. However, if the notify signal is | |||
| 157 | + | // emitted explicitly, the type system will not emit it a second time. | |||
| 158 | + | func (x *InitiallyUnownedClass) GetSetProperty() func(*Object, uint, *Value, *ParamSpec) { | |||
| 159 | + | if x.xSetProperty == 0 { | |||
| 160 | + | return nil | |||
| 161 | + | } | |||
| 162 | + | var rawCallback func(ObjectVarp uintptr, PropertyIdVarp uint, ValueVarp *Value, PspecVarp uintptr) | |||
| 163 | + | purego.RegisterFunc(&rawCallback, x.xSetProperty) | |||
| 164 | + | return func(ObjectVar *Object, PropertyIdVar uint, ValueVar *Value, PspecVar *ParamSpec) { | |||
| 165 | + | rawCallback(ObjectVar.GoPointer(), PropertyIdVar, ValueVar, PspecVar.GoPointer()) | |||
| 166 | + | } | |||
| 167 | + | } | |||
| 168 | + | ||||
| 169 | + | // OverrideGetProperty sets the "get_property" callback function. | |||
| 170 | + | // the generic getter for all properties of this type. Should be | |||
| 171 | + | // | |||
| 172 | + | // overridden for every type with properties. | |||
| 173 | + | func (x *InitiallyUnownedClass) OverrideGetProperty(cb func(*Object, uint, *Value, *ParamSpec)) { | |||
| 174 | + | if cb == nil { | |||
| 175 | + | x.xGetProperty = 0 | |||
| 176 | + | } else { | |||
| 177 | + | x.xGetProperty = purego.NewCallback(func(ObjectVarp uintptr, PropertyIdVarp uint, ValueVarp *Value, PspecVarp uintptr) { | |||
| 178 | + | cb(ObjectNewFromInternalPtr(ObjectVarp), PropertyIdVarp, ValueVarp, ParamSpecNewFromInternalPtr(PspecVarp)) | |||
| 179 | + | }) | |||
| 180 | + | } | |||
| 181 | + | } | |||
| 182 | + | ||||
| 183 | + | // GetGetProperty gets the "get_property" callback function. | |||
| 184 | + | // the generic getter for all properties of this type. Should be | |||
| 185 | + | // | |||
| 186 | + | // overridden for every type with properties. | |||
| 187 | + | func (x *InitiallyUnownedClass) GetGetProperty() func(*Object, uint, *Value, *ParamSpec) { | |||
| 188 | + | if x.xGetProperty == 0 { | |||
| 189 | + | return nil | |||
| 190 | + | } | |||
| 191 | + | var rawCallback func(ObjectVarp uintptr, PropertyIdVarp uint, ValueVarp *Value, PspecVarp uintptr) | |||
| 192 | + | purego.RegisterFunc(&rawCallback, x.xGetProperty) | |||
| 193 | + | return func(ObjectVar *Object, PropertyIdVar uint, ValueVar *Value, PspecVar *ParamSpec) { | |||
| 194 | + | rawCallback(ObjectVar.GoPointer(), PropertyIdVar, ValueVar, PspecVar.GoPointer()) | |||
| 195 | + | } | |||
| 196 | + | } | |||
| 197 | + | ||||
| 198 | + | // OverrideDispose sets the "dispose" callback function. | |||
| 199 | + | // the @dispose function is supposed to drop all references to other | |||
| 200 | + | // | |||
| 201 | + | // objects, but keep the instance otherwise intact, so that client method | |||
| 202 | + | // invocations still work. It may be run multiple times (due to reference | |||
| 203 | + | // loops). Before returning, @dispose should chain up to the @dispose method | |||
| 204 | + | // of the parent class. | |||
| 205 | + | func (x *InitiallyUnownedClass) OverrideDispose(cb func(*Object)) { | |||
| 206 | + | if cb == nil { | |||
| 207 | + | x.xDispose = 0 | |||
| 208 | + | } else { | |||
| 209 | + | x.xDispose = purego.NewCallback(func(ObjectVarp uintptr) { | |||
| 210 | + | cb(ObjectNewFromInternalPtr(ObjectVarp)) | |||
| 211 | + | }) | |||
| 212 | + | } | |||
| 213 | + | } | |||
| 214 | + | ||||
| 215 | + | // GetDispose gets the "dispose" callback function. | |||
| 216 | + | // the @dispose function is supposed to drop all references to other | |||
| 217 | + | // | |||
| 218 | + | // objects, but keep the instance otherwise intact, so that client method | |||
| 219 | + | // invocations still work. It may be run multiple times (due to reference | |||
| 220 | + | // loops). Before returning, @dispose should chain up to the @dispose method | |||
| 221 | + | // of the parent class. | |||
| 222 | + | func (x *InitiallyUnownedClass) GetDispose() func(*Object) { | |||
| 223 | + | if x.xDispose == 0 { | |||
| 224 | + | return nil | |||
| 225 | + | } | |||
| 226 | + | var rawCallback func(ObjectVarp uintptr) | |||
| 227 | + | purego.RegisterFunc(&rawCallback, x.xDispose) | |||
| 228 | + | return func(ObjectVar *Object) { | |||
| 229 | + | rawCallback(ObjectVar.GoPointer()) | |||
| 230 | + | } | |||
| 231 | + | } | |||
| 232 | + | ||||
| 233 | + | // OverrideFinalize sets the "finalize" callback function. | |||
| 234 | + | // instance finalization function, should finish the finalization of | |||
| 235 | + | // | |||
| 236 | + | // the instance begun in @dispose and chain up to the @finalize method of the | |||
| 237 | + | // parent class. | |||
| 238 | + | func (x *InitiallyUnownedClass) OverrideFinalize(cb func(*Object)) { | |||
| 239 | + | if cb == nil { | |||
| 240 | + | x.xFinalize = 0 | |||
| 241 | + | } else { | |||
| 242 | + | x.xFinalize = purego.NewCallback(func(ObjectVarp uintptr) { | |||
| 243 | + | cb(ObjectNewFromInternalPtr(ObjectVarp)) | |||
| 244 | + | }) | |||
| 245 | + | } | |||
| 246 | + | } | |||
| 247 | + | ||||
| 248 | + | // GetFinalize gets the "finalize" callback function. | |||
| 249 | + | // instance finalization function, should finish the finalization of | |||
| 250 | + | // | |||
| 251 | + | // the instance begun in @dispose and chain up to the @finalize method of the | |||
| 252 | + | // parent class. | |||
| 253 | + | func (x *InitiallyUnownedClass) GetFinalize() func(*Object) { | |||
| 254 | + | if x.xFinalize == 0 { | |||
| 255 | + | return nil | |||
| 256 | + | } | |||
| 257 | + | var rawCallback func(ObjectVarp uintptr) | |||
| 258 | + | purego.RegisterFunc(&rawCallback, x.xFinalize) | |||
| 259 | + | return func(ObjectVar *Object) { | |||
| 260 | + | rawCallback(ObjectVar.GoPointer()) | |||
| 261 | + | } | |||
| 262 | + | } | |||
| 263 | + | ||||
| 264 | + | // OverrideDispatchPropertiesChanged sets the "dispatch_properties_changed" callback function. | |||
| 265 | + | // emits property change notification for a bunch | |||
| 266 | + | // | |||
| 267 | + | // of properties. Overriding @dispatch_properties_changed should be rarely | |||
| 268 | + | // needed. | |||
| 269 | + | func (x *InitiallyUnownedClass) OverrideDispatchPropertiesChanged(cb func(*Object, uint, **ParamSpec)) { | |||
| 270 | + | if cb == nil { | |||
| 271 | + | x.xDispatchPropertiesChanged = 0 | |||
| 272 | + | } else { | |||
| 273 | + | x.xDispatchPropertiesChanged = purego.NewCallback(func(ObjectVarp uintptr, NPspecsVarp uint, PspecsVarp uintptr) { | |||
| 274 | + | cb(ObjectNewFromInternalPtr(ObjectVarp), NPspecsVarp, (**ParamSpec)(unsafe.Pointer(PspecsVarp))) | |||
| 275 | + | }) | |||
| 276 | + | } | |||
| 277 | + | } | |||
| 278 | + | ||||
| 279 | + | // GetDispatchPropertiesChanged gets the "dispatch_properties_changed" callback function. | |||
| 280 | + | // emits property change notification for a bunch | |||
| 281 | + | // | |||
| 282 | + | // of properties. Overriding @dispatch_properties_changed should be rarely | |||
| 283 | + | // needed. | |||
| 284 | + | func (x *InitiallyUnownedClass) GetDispatchPropertiesChanged() func(*Object, uint, **ParamSpec) { | |||
| 285 | + | if x.xDispatchPropertiesChanged == 0 { | |||
| 286 | + | return nil | |||
| 287 | + | } | |||
| 288 | + | var rawCallback func(ObjectVarp uintptr, NPspecsVarp uint, PspecsVarp uintptr) | |||
| 289 | + | purego.RegisterFunc(&rawCallback, x.xDispatchPropertiesChanged) | |||
| 290 | + | return func(ObjectVar *Object, NPspecsVar uint, PspecsVar **ParamSpec) { | |||
| 291 | + | rawCallback(ObjectVar.GoPointer(), NPspecsVar, *ConvertPtr(PspecsVar)) | |||
| 292 | + | } | |||
| 293 | + | } | |||
| 294 | + | ||||
| 295 | + | // OverrideNotify sets the "notify" callback function. | |||
| 296 | + | // the class closure for the notify signal | |||
| 297 | + | func (x *InitiallyUnownedClass) OverrideNotify(cb func(*Object, *ParamSpec)) { | |||
| 298 | + | if cb == nil { | |||
| 299 | + | x.xNotify = 0 | |||
| 300 | + | } else { | |||
| 301 | + | x.xNotify = purego.NewCallback(func(ObjectVarp uintptr, PspecVarp uintptr) { | |||
| 302 | + | cb(ObjectNewFromInternalPtr(ObjectVarp), ParamSpecNewFromInternalPtr(PspecVarp)) | |||
| 303 | + | }) | |||
| 304 | + | } | |||
| 305 | + | } | |||
| 306 | + | ||||
| 307 | + | // GetNotify gets the "notify" callback function. | |||
| 308 | + | // the class closure for the notify signal | |||
| 309 | + | func (x *InitiallyUnownedClass) GetNotify() func(*Object, *ParamSpec) { | |||
| 310 | + | if x.xNotify == 0 { | |||
| 311 | + | return nil | |||
| 312 | + | } | |||
| 313 | + | var rawCallback func(ObjectVarp uintptr, PspecVarp uintptr) | |||
| 314 | + | purego.RegisterFunc(&rawCallback, x.xNotify) | |||
| 315 | + | return func(ObjectVar *Object, PspecVar *ParamSpec) { | |||
| 316 | + | rawCallback(ObjectVar.GoPointer(), PspecVar.GoPointer()) | |||
| 317 | + | } | |||
| 318 | + | } | |||
| 319 | + | ||||
| 320 | + | // OverrideConstructed sets the "constructed" callback function. | |||
| 321 | + | // the @constructed function is called by g_object_new() as the | |||
| 322 | + | // | |||
| 323 | + | // final step of the object creation process. At the point of the call, all | |||
| 324 | + | // construction properties have been set on the object. The purpose of this | |||
| 325 | + | // call is to allow for object initialisation steps that can only be performed | |||
| 326 | + | // after construction properties have been set. @constructed implementors | |||
| 327 | + | // should chain up to the @constructed call of their parent class to allow it | |||
| 328 | + | // to complete its initialisation. | |||
| 329 | + | func (x *InitiallyUnownedClass) OverrideConstructed(cb func(*Object)) { | |||
| 330 | + | if cb == nil { | |||
| 331 | + | x.xConstructed = 0 | |||
| 332 | + | } else { | |||
| 333 | + | x.xConstructed = purego.NewCallback(func(ObjectVarp uintptr) { | |||
| 334 | + | cb(ObjectNewFromInternalPtr(ObjectVarp)) | |||
| 335 | + | }) | |||
| 336 | + | } | |||
| 337 | + | } | |||
| 338 | + | ||||
| 339 | + | // GetConstructed gets the "constructed" callback function. | |||
| 340 | + | // the @constructed function is called by g_object_new() as the | |||
| 341 | + | // | |||
| 342 | + | // final step of the object creation process. At the point of the call, all | |||
| 343 | + | // construction properties have been set on the object. The purpose of this | |||
| 344 | + | // call is to allow for object initialisation steps that can only be performed | |||
| 345 | + | // after construction properties have been set. @constructed implementors | |||
| 346 | + | // should chain up to the @constructed call of their parent class to allow it | |||
| 347 | + | // to complete its initialisation. | |||
| 348 | + | func (x *InitiallyUnownedClass) GetConstructed() func(*Object) { | |||
| 349 | + | if x.xConstructed == 0 { | |||
| 350 | + | return nil | |||
| 351 | + | } | |||
| 352 | + | var rawCallback func(ObjectVarp uintptr) | |||
| 353 | + | purego.RegisterFunc(&rawCallback, x.xConstructed) | |||
| 354 | + | return func(ObjectVar *Object) { | |||
| 355 | + | rawCallback(ObjectVar.GoPointer()) | |||
| 356 | + | } | |||
| 357 | + | } | |||
| 358 | + | ||||
| 359 | + | // The class structure for the GObject type. | |||
| 360 | + | // | |||
| 361 | + | // |[<!-- language="C" --> | |||
| 362 | + | // // Example of implementing a singleton using a constructor. | |||
| 363 | + | // static MySingleton *the_singleton = NULL; | |||
| 364 | + | // | |||
| 365 | + | // static GObject* | |||
| 366 | + | // my_singleton_constructor (GType type, | |||
| 367 | + | // | |||
| 368 | + | // guint n_construct_params, | |||
| 369 | + | // GObjectConstructParam *construct_params) | |||
| 370 | + | // | |||
| 371 | + | // { | |||
| 372 | + | // GObject *object; | |||
| 373 | + | // | |||
| 374 | + | // if (!the_singleton) | |||
| 375 | + | // { | |||
| 376 | + | // object = G_OBJECT_CLASS (parent_class)->constructor (type, | |||
| 377 | + | // n_construct_params, | |||
| 378 | + | // construct_params); | |||
| 379 | + | // the_singleton = MY_SINGLETON (object); | |||
| 380 | + | // } | |||
| 381 | + | // else | |||
| 382 | + | // object = g_object_ref (G_OBJECT (the_singleton)); | |||
| 383 | + | // | |||
| 384 | + | // return object; | |||
| 385 | + | // } | |||
| 386 | + | // | |||
| 387 | + | // ]| | |||
| 388 | + | type ObjectClass struct { | |||
| 389 | + | _ structs.HostLayout | |||
| 390 | + | ||||
| 391 | + | GTypeClass uintptr | |||
| 392 | + | ||||
| 393 | + | ConstructProperties *glib.SList | |||
| 394 | + | ||||
| 395 | + | xConstructor uintptr | |||
| 396 | + | ||||
| 397 | + | xSetProperty uintptr | |||
| 398 | + | ||||
| 399 | + | xGetProperty uintptr | |||
| 400 | + | ||||
| 401 | + | xDispose uintptr | |||
| 402 | + | ||||
| 403 | + | xFinalize uintptr | |||
| 404 | + | ||||
| 405 | + | xDispatchPropertiesChanged uintptr | |||
| 406 | + | ||||
| 407 | + | xNotify uintptr | |||
| 408 | + | ||||
| 409 | + | xConstructed uintptr | |||
| 410 | + | ||||
| 411 | + | Flags uint | |||
| 412 | + | ||||
| 413 | + | NConstructProperties uint | |||
| 414 | + | ||||
| 415 | + | Pspecs uintptr | |||
| 416 | + | ||||
| 417 | + | NPspecs uint | |||
| 418 | + | ||||
| 419 | + | Pdummy [3]uintptr | |||
| 420 | + | } | |||
| 421 | + | ||||
| 422 | + | func (x *ObjectClass) GoPointer() uintptr { | |||
| 423 | + | return uintptr(unsafe.Pointer(x)) | |||
| 424 | + | } | |||
| 425 | + | ||||
| 426 | + | func ObjectClassNewFromInternalPtr(ptr uintptr) *ObjectClass { | |||
| 427 | + | if ptr == 0 { | |||
| 428 | + | return nil | |||
| 429 | + | } | |||
| 430 | + | rawPtr := *(*unsafe.Pointer)(unsafe.Pointer(&ptr)) | |||
| 431 | + | return (*ObjectClass)(rawPtr) | |||
| 432 | + | } | |||
| 433 | + | ||||
| 434 | + | var xObjectClassFindProperty func(uintptr, string) uintptr | |||
| 435 | + | ||||
| 436 | + | // Looks up the #GParamSpec for a property of a class. | |||
| 437 | + | func (x *ObjectClass) FindProperty(PropertyNameVar string) *ParamSpec { | |||
| 438 | + | var cls *ParamSpec | |||
| 439 | + | ||||
| 440 | + | cret := xObjectClassFindProperty(x.GoPointer(), PropertyNameVar) | |||
| 441 | + | ||||
| 442 | + | if cret == 0 { | |||
| 443 | + | return nil | |||
| 444 | + | } | |||
| 445 | + | IncreaseRef(cret) | |||
| 446 | + | cls = &ParamSpec{} | |||
| 447 | + | cls.Ptr = cret | |||
| 448 | + | return cls | |||
| 449 | + | } | |||
| 450 | + | ||||
| 451 | + | var xObjectClassInstallProperties func(uintptr, uint, uintptr) | |||
| 452 | + | ||||
| 453 | + | // Installs new properties from an array of #GParamSpecs. | |||
| 454 | + | // | |||
| 455 | + | // All properties should be installed during the class initializer. It | |||
| 456 | + | // is possible to install properties after that, but doing so is not | |||
| 457 | + | // recommend, and specifically, is not guaranteed to be thread-safe vs. | |||
| 458 | + | // use of properties on the same type on other threads. | |||
| 459 | + | // | |||
| 460 | + | // The property id of each property is the index of each #GParamSpec in | |||
| 461 | + | // the @pspecs array. | |||
| 462 | + | // | |||
| 463 | + | // The property id of 0 is treated specially by #GObject and it should not | |||
| 464 | + | // be used to store a #GParamSpec. | |||
| 465 | + | // | |||
| 466 | + | // This function should be used if you plan to use a static array of | |||
| 467 | + | // #GParamSpecs and g_object_notify_by_pspec(). For instance, this | |||
| 468 | + | // class initialization: | |||
| 469 | + | // | |||
| 470 | + | // |[<!-- language="C" --> | |||
| 471 | + | // | |||
| 472 | + | // typedef enum { | |||
| 473 | + | // PROP_FOO = 1, | |||
| 474 | + | // PROP_BAR, | |||
| 475 | + | // N_PROPERTIES | |||
| 476 | + | // } MyObjectProperty; | |||
| 477 | + | // | |||
| 478 | + | // static GParamSpec *obj_properties[N_PROPERTIES] = { NULL, }; | |||
| 479 | + | // | |||
| 480 | + | // static void | |||
| 481 | + | // my_object_class_init (MyObjectClass *klass) | |||
| 482 | + | // | |||
| 483 | + | // { | |||
| 484 | + | // GObjectClass *gobject_class = G_OBJECT_CLASS (klass); | |||
| 485 | + | // | |||
| 486 | + | // obj_properties[PROP_FOO] = | |||
| 487 | + | // g_param_spec_int ("foo", NULL, NULL, | |||
| 488 | + | // -1, G_MAXINT, | |||
| 489 | + | // 0, | |||
| 490 | + | // G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS); | |||
| 491 | + | // | |||
| 492 | + | // obj_properties[PROP_BAR] = | |||
| 493 | + | // g_param_spec_string ("bar", NULL, NULL, | |||
| 494 | + | // NULL, | |||
| 495 | + | // G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS); | |||
| 496 | + | // | |||
| 497 | + | // gobject_class->set_property = my_object_set_property; | |||
| 498 | + | // gobject_class->get_property = my_object_get_property; | |||
| 499 | + | // g_object_class_install_properties (gobject_class, | |||
| 500 | + | // G_N_ELEMENTS (obj_properties), | |||
| 501 | + | // obj_properties); | |||
| 502 | + | // } | |||
| 503 | + | // | |||
| 504 | + | // ]| | |||
| 505 | + | // | |||
| 506 | + | // allows calling g_object_notify_by_pspec() to notify of property changes: | |||
| 507 | + | // | |||
| 508 | + | // |[<!-- language="C" --> | |||
| 509 | + | // void | |||
| 510 | + | // my_object_set_foo (MyObject *self, gint foo) | |||
| 511 | + | // | |||
| 512 | + | // { | |||
| 513 | + | // if (self->foo != foo) | |||
| 514 | + | // { | |||
| 515 | + | // self->foo = foo; | |||
| 516 | + | // g_object_notify_by_pspec (G_OBJECT (self), obj_properties[PROP_FOO]); | |||
| 517 | + | // } | |||
| 518 | + | // } | |||
| 519 | + | // | |||
| 520 | + | // ]| | |||
| 521 | + | func (x *ObjectClass) InstallProperties(NPspecsVar uint, PspecsVar uintptr) { | |||
| 522 | + | xObjectClassInstallProperties(x.GoPointer(), NPspecsVar, PspecsVar) | |||
| 523 | + | } | |||
| 524 | + | ||||
| 525 | + | var xObjectClassInstallProperty func(uintptr, uint, uintptr) | |||
| 526 | + | ||||
| 527 | + | // Installs a new property. | |||
| 528 | + | // | |||
| 529 | + | // All properties should be installed during the class initializer. It | |||
| 530 | + | // is possible to install properties after that, but doing so is not | |||
| 531 | + | // recommend, and specifically, is not guaranteed to be thread-safe vs. | |||
| 532 | + | // use of properties on the same type on other threads. | |||
| 533 | + | // | |||
| 534 | + | // Note that it is possible to redefine a property in a derived class, | |||
| 535 | + | // by installing a property with the same name. This can be useful at times, | |||
| 536 | + | // e.g. to change the range of allowed values or the default value. | |||
| 537 | + | func (x *ObjectClass) InstallProperty(PropertyIdVar uint, PspecVar *ParamSpec) { | |||
| 538 | + | xObjectClassInstallProperty(x.GoPointer(), PropertyIdVar, PspecVar.GoPointer()) | |||
| 539 | + | } | |||
| 540 | + | ||||
| 541 | + | var xObjectClassListProperties func(uintptr, *uint) uintptr | |||
| 542 | + | ||||
| 543 | + | // Get an array of #GParamSpec* for all properties of a class. | |||
| 544 | + | func (x *ObjectClass) ListProperties(NPropertiesVar *uint) uintptr { | |||
| 545 | + | cret := xObjectClassListProperties(x.GoPointer(), NPropertiesVar) | |||
| 546 | + | return cret | |||
| 547 | + | } | |||
| 548 | + | ||||
| 549 | + | var xObjectClassOverrideProperty func(uintptr, uint, string) | |||
| 550 | + | ||||
| 551 | + | // Registers @property_id as referring to a property with the name | |||
| 552 | + | // @name in a parent class or in an interface implemented by @oclass. | |||
| 553 | + | // This allows this class to "override" a property implementation in | |||
| 554 | + | // a parent class or to provide the implementation of a property from | |||
| 555 | + | // an interface. | |||
| 556 | + | // | |||
| 557 | + | // Internally, overriding is implemented by creating a property of type | |||
| 558 | + | // #GParamSpecOverride; generally operations that query the properties of | |||
| 559 | + | // the object class, such as g_object_class_find_property() or | |||
| 560 | + | // g_object_class_list_properties() will return the overridden | |||
| 561 | + | // property. However, in one case, the @construct_properties argument of | |||
| 562 | + | // the @constructor virtual function, the #GParamSpecOverride is passed | |||
| 563 | + | // instead, so that the @param_id field of the #GParamSpec will be | |||
| 564 | + | // correct. For virtually all uses, this makes no difference. If you | |||
| 565 | + | // need to get the overridden property, you can call | |||
| 566 | + | // g_param_spec_get_redirect_target(). | |||
| 567 | + | func (x *ObjectClass) OverrideProperty(PropertyIdVar uint, NameVar string) { | |||
| 568 | + | xObjectClassOverrideProperty(x.GoPointer(), PropertyIdVar, NameVar) | |||
| 569 | + | } | |||
| 570 | + | ||||
| 571 | + | // OverrideConstructor sets the "constructor" callback function. | |||
| 572 | + | // the @constructor function is called by g_object_new () to | |||
| 573 | + | // | |||
| 574 | + | // complete the object initialization after all the construction properties are | |||
| 575 | + | // set. The first thing a @constructor implementation must do is chain up to the | |||
| 576 | + | // @constructor of the parent class. Overriding @constructor should be rarely | |||
| 577 | + | // needed, e.g. to handle construct properties, or to implement singletons. | |||
| 578 | + | func (x *ObjectClass) OverrideConstructor(cb func(types.GType, uint, *ObjectConstructParam) *Object) { | |||
| 579 | + | if cb == nil { | |||
| 580 | + | x.xConstructor = 0 | |||
| 581 | + | } else { | |||
| 582 | + | x.xConstructor = purego.NewCallback(func(TypeVarp types.GType, NConstructPropertiesVarp uint, ConstructPropertiesVarp *ObjectConstructParam) uintptr { | |||
| 583 | + | ret := cb(TypeVarp, NConstructPropertiesVarp, ConstructPropertiesVarp) | |||
| 584 | + | if ret == nil { | |||
| 585 | + | return 0 | |||
| 586 | + | } | |||
| 587 | + | return ret.GoPointer() | |||
| 588 | + | }) | |||
| 589 | + | } | |||
| 590 | + | } | |||
| 591 | + | ||||
| 592 | + | // GetConstructor gets the "constructor" callback function. | |||
| 593 | + | // the @constructor function is called by g_object_new () to | |||
| 594 | + | // | |||
| 595 | + | // complete the object initialization after all the construction properties are | |||
| 596 | + | // set. The first thing a @constructor implementation must do is chain up to the | |||
| 597 | + | // @constructor of the parent class. Overriding @constructor should be rarely | |||
| 598 | + | // needed, e.g. to handle construct properties, or to implement singletons. | |||
| 599 | + | func (x *ObjectClass) GetConstructor() func(types.GType, uint, *ObjectConstructParam) *Object { | |||
| 600 | + | if x.xConstructor == 0 { | |||
| 601 | + | return nil | |||
| 602 | + | } | |||
| 603 | + | var rawCallback func(TypeVarp types.GType, NConstructPropertiesVarp uint, ConstructPropertiesVarp *ObjectConstructParam) uintptr | |||
| 604 | + | purego.RegisterFunc(&rawCallback, x.xConstructor) | |||
| 605 | + | return func(TypeVar types.GType, NConstructPropertiesVar uint, ConstructPropertiesVar *ObjectConstructParam) *Object { | |||
| 606 | + | rawRet := rawCallback(TypeVar, NConstructPropertiesVar, ConstructPropertiesVar) | |||
| 607 | + | if rawRet == 0 { | |||
| 608 | + | return nil | |||
| 609 | + | } | |||
| 610 | + | ret := &Object{} | |||
| 611 | + | ret.Ptr = rawRet | |||
| 612 | + | return ret | |||
| 613 | + | } | |||
| 614 | + | } | |||
| 615 | + | ||||
| 616 | + | // OverrideSetProperty sets the "set_property" callback function. | |||
| 617 | + | // The type of the @set_property function of #GObjectClass. | |||
| 618 | + | func (x *ObjectClass) OverrideSetProperty(cb func(*Object, uint, *Value, *ParamSpec)) { | |||
| 619 | + | if cb == nil { | |||
| 620 | + | x.xSetProperty = 0 | |||
| 621 | + | } else { | |||
| 622 | + | x.xSetProperty = purego.NewCallback(func(ObjectVarp uintptr, PropertyIdVarp uint, ValueVarp *Value, PspecVarp uintptr) { | |||
| 623 | + | cb(ObjectNewFromInternalPtr(ObjectVarp), PropertyIdVarp, ValueVarp, ParamSpecNewFromInternalPtr(PspecVarp)) | |||
| 624 | + | }) | |||
| 625 | + | } | |||
| 626 | + | } | |||
| 627 | + | ||||
| 628 | + | // GetSetProperty gets the "set_property" callback function. | |||
| 629 | + | // The type of the @set_property function of #GObjectClass. | |||
| 630 | + | func (x *ObjectClass) GetSetProperty() func(*Object, uint, *Value, *ParamSpec) { | |||
| 631 | + | if x.xSetProperty == 0 { | |||
| 632 | + | return nil | |||
| 633 | + | } | |||
| 634 | + | var rawCallback func(ObjectVarp uintptr, PropertyIdVarp uint, ValueVarp *Value, PspecVarp uintptr) | |||
| 635 | + | purego.RegisterFunc(&rawCallback, x.xSetProperty) | |||
| 636 | + | return func(ObjectVar *Object, PropertyIdVar uint, ValueVar *Value, PspecVar *ParamSpec) { | |||
| 637 | + | rawCallback(ObjectVar.GoPointer(), PropertyIdVar, ValueVar, PspecVar.GoPointer()) | |||
| 638 | + | } | |||
| 639 | + | } | |||
| 640 | + | ||||
| 641 | + | // OverrideGetProperty sets the "get_property" callback function. | |||
| 642 | + | // The type of the @get_property function of #GObjectClass. | |||
| 643 | + | func (x *ObjectClass) OverrideGetProperty(cb func(*Object, uint, *Value, *ParamSpec)) { | |||
| 644 | + | if cb == nil { | |||
| 645 | + | x.xGetProperty = 0 | |||
| 646 | + | } else { | |||
| 647 | + | x.xGetProperty = purego.NewCallback(func(ObjectVarp uintptr, PropertyIdVarp uint, ValueVarp *Value, PspecVarp uintptr) { | |||
| 648 | + | cb(ObjectNewFromInternalPtr(ObjectVarp), PropertyIdVarp, ValueVarp, ParamSpecNewFromInternalPtr(PspecVarp)) | |||
| 649 | + | }) | |||
| 650 | + | } | |||
| 651 | + | } | |||
| 652 | + | ||||
| 653 | + | // GetGetProperty gets the "get_property" callback function. | |||
| 654 | + | // The type of the @get_property function of #GObjectClass. | |||
| 655 | + | func (x *ObjectClass) GetGetProperty() func(*Object, uint, *Value, *ParamSpec) { | |||
| 656 | + | if x.xGetProperty == 0 { | |||
| 657 | + | return nil | |||
| 658 | + | } | |||
| 659 | + | var rawCallback func(ObjectVarp uintptr, PropertyIdVarp uint, ValueVarp *Value, PspecVarp uintptr) | |||
| 660 | + | purego.RegisterFunc(&rawCallback, x.xGetProperty) | |||
| 661 | + | return func(ObjectVar *Object, PropertyIdVar uint, ValueVar *Value, PspecVar *ParamSpec) { | |||
| 662 | + | rawCallback(ObjectVar.GoPointer(), PropertyIdVar, ValueVar, PspecVar.GoPointer()) | |||
| 663 | + | } | |||
| 664 | + | } | |||
| 665 | + | ||||
| 666 | + | // OverrideDispose sets the "dispose" callback function. | |||
| 667 | + | // the @dispose function is supposed to drop all references to other | |||
| 668 | + | // | |||
| 669 | + | // objects, but keep the instance otherwise intact, so that client method | |||
| 670 | + | // invocations still work. It may be run multiple times (due to reference | |||
| 671 | + | // loops). Before returning, @dispose should chain up to the @dispose method | |||
| 672 | + | // of the parent class. | |||
| 673 | + | func (x *ObjectClass) OverrideDispose(cb func(*Object)) { | |||
| 674 | + | if cb == nil { | |||
| 675 | + | x.xDispose = 0 | |||
| 676 | + | } else { | |||
| 677 | + | x.xDispose = purego.NewCallback(func(ObjectVarp uintptr) { | |||
| 678 | + | cb(ObjectNewFromInternalPtr(ObjectVarp)) | |||
| 679 | + | }) | |||
| 680 | + | } | |||
| 681 | + | } | |||
| 682 | + | ||||
| 683 | + | // GetDispose gets the "dispose" callback function. | |||
| 684 | + | // the @dispose function is supposed to drop all references to other | |||
| 685 | + | // | |||
| 686 | + | // objects, but keep the instance otherwise intact, so that client method | |||
| 687 | + | // invocations still work. It may be run multiple times (due to reference | |||
| 688 | + | // loops). Before returning, @dispose should chain up to the @dispose method | |||
| 689 | + | // of the parent class. | |||
| 690 | + | func (x *ObjectClass) GetDispose() func(*Object) { | |||
| 691 | + | if x.xDispose == 0 { | |||
| 692 | + | return nil | |||
| 693 | + | } | |||
| 694 | + | var rawCallback func(ObjectVarp uintptr) | |||
| 695 | + | purego.RegisterFunc(&rawCallback, x.xDispose) | |||
| 696 | + | return func(ObjectVar *Object) { | |||
| 697 | + | rawCallback(ObjectVar.GoPointer()) | |||
| 698 | + | } | |||
| 699 | + | } | |||
| 700 | + | ||||
| 701 | + | // OverrideFinalize sets the "finalize" callback function. | |||
| 702 | + | // The type of the @finalize function of #GObjectClass. | |||
| 703 | + | func (x *ObjectClass) OverrideFinalize(cb func(*Object)) { | |||
| 704 | + | if cb == nil { | |||
| 705 | + | x.xFinalize = 0 | |||
| 706 | + | } else { | |||
| 707 | + | x.xFinalize = purego.NewCallback(func(ObjectVarp uintptr) { | |||
| 708 | + | cb(ObjectNewFromInternalPtr(ObjectVarp)) | |||
| 709 | + | }) | |||
| 710 | + | } | |||
| 711 | + | } | |||
| 712 | + | ||||
| 713 | + | // GetFinalize gets the "finalize" callback function. | |||
| 714 | + | // The type of the @finalize function of #GObjectClass. | |||
| 715 | + | func (x *ObjectClass) GetFinalize() func(*Object) { | |||
| 716 | + | if x.xFinalize == 0 { | |||
| 717 | + | return nil | |||
| 718 | + | } | |||
| 719 | + | var rawCallback func(ObjectVarp uintptr) | |||
| 720 | + | purego.RegisterFunc(&rawCallback, x.xFinalize) | |||
| 721 | + | return func(ObjectVar *Object) { | |||
| 722 | + | rawCallback(ObjectVar.GoPointer()) | |||
| 723 | + | } | |||
| 724 | + | } | |||
| 725 | + | ||||
| 726 | + | // OverrideDispatchPropertiesChanged sets the "dispatch_properties_changed" callback function. | |||
| 727 | + | // emits property change notification for a bunch | |||
| 728 | + | // | |||
| 729 | + | // of properties. Overriding @dispatch_properties_changed should be rarely | |||
| 730 | + | // needed. | |||
| 731 | + | func (x *ObjectClass) OverrideDispatchPropertiesChanged(cb func(*Object, uint, **ParamSpec)) { | |||
| 732 | + | if cb == nil { | |||
| 733 | + | x.xDispatchPropertiesChanged = 0 | |||
| 734 | + | } else { | |||
| 735 | + | x.xDispatchPropertiesChanged = purego.NewCallback(func(ObjectVarp uintptr, NPspecsVarp uint, PspecsVarp uintptr) { | |||
| 736 | + | cb(ObjectNewFromInternalPtr(ObjectVarp), NPspecsVarp, (**ParamSpec)(unsafe.Pointer(PspecsVarp))) | |||
| 737 | + | }) | |||
| 738 | + | } | |||
| 739 | + | } | |||
| 740 | + | ||||
| 741 | + | // GetDispatchPropertiesChanged gets the "dispatch_properties_changed" callback function. | |||
| 742 | + | // emits property change notification for a bunch | |||
| 743 | + | // | |||
| 744 | + | // of properties. Overriding @dispatch_properties_changed should be rarely | |||
| 745 | + | // needed. | |||
| 746 | + | func (x *ObjectClass) GetDispatchPropertiesChanged() func(*Object, uint, **ParamSpec) { | |||
| 747 | + | if x.xDispatchPropertiesChanged == 0 { | |||
| 748 | + | return nil | |||
| 749 | + | } | |||
| 750 | + | var rawCallback func(ObjectVarp uintptr, NPspecsVarp uint, PspecsVarp uintptr) | |||
| 751 | + | purego.RegisterFunc(&rawCallback, x.xDispatchPropertiesChanged) | |||
| 752 | + | return func(ObjectVar *Object, NPspecsVar uint, PspecsVar **ParamSpec) { | |||
| 753 | + | rawCallback(ObjectVar.GoPointer(), NPspecsVar, *ConvertPtr(PspecsVar)) | |||
| 754 | + | } | |||
| 755 | + | } | |||
| 756 | + | ||||
| 757 | + | // OverrideNotify sets the "notify" callback function. | |||
| 758 | + | // the class closure for the notify signal | |||
| 759 | + | func (x *ObjectClass) OverrideNotify(cb func(*Object, *ParamSpec)) { | |||
| 760 | + | if cb == nil { | |||
| 761 | + | x.xNotify = 0 | |||
| 762 | + | } else { | |||
| 763 | + | x.xNotify = purego.NewCallback(func(ObjectVarp uintptr, PspecVarp uintptr) { | |||
| 764 | + | cb(ObjectNewFromInternalPtr(ObjectVarp), ParamSpecNewFromInternalPtr(PspecVarp)) | |||
| 765 | + | }) | |||
| 766 | + | } | |||
| 767 | + | } | |||
| 768 | + | ||||
| 769 | + | // GetNotify gets the "notify" callback function. | |||
| 770 | + | // the class closure for the notify signal | |||
| 771 | + | func (x *ObjectClass) GetNotify() func(*Object, *ParamSpec) { | |||
| 772 | + | if x.xNotify == 0 { | |||
| 773 | + | return nil | |||
| 774 | + | } | |||
| 775 | + | var rawCallback func(ObjectVarp uintptr, PspecVarp uintptr) | |||
| 776 | + | purego.RegisterFunc(&rawCallback, x.xNotify) | |||
| 777 | + | return func(ObjectVar *Object, PspecVar *ParamSpec) { | |||
| 778 | + | rawCallback(ObjectVar.GoPointer(), PspecVar.GoPointer()) | |||
| 779 | + | } | |||
| 780 | + | } | |||
| 781 | + | ||||
| 782 | + | // OverrideConstructed sets the "constructed" callback function. | |||
| 783 | + | // the @constructed function is called by g_object_new() as the | |||
| 784 | + | // | |||
| 785 | + | // final step of the object creation process. At the point of the call, all | |||
| 786 | + | // construction properties have been set on the object. The purpose of this | |||
| 787 | + | // call is to allow for object initialisation steps that can only be performed | |||
| 788 | + | // after construction properties have been set. @constructed implementors | |||
| 789 | + | // should chain up to the @constructed call of their parent class to allow it | |||
| 790 | + | // to complete its initialisation. | |||
| 791 | + | func (x *ObjectClass) OverrideConstructed(cb func(*Object)) { | |||
| 792 | + | if cb == nil { | |||
| 793 | + | x.xConstructed = 0 | |||
| 794 | + | } else { | |||
| 795 | + | x.xConstructed = purego.NewCallback(func(ObjectVarp uintptr) { | |||
| 796 | + | cb(ObjectNewFromInternalPtr(ObjectVarp)) | |||
| 797 | + | }) | |||
| 798 | + | } | |||
| 799 | + | } | |||
| 800 | + | ||||
| 801 | + | // GetConstructed gets the "constructed" callback function. | |||
| 802 | + | // the @constructed function is called by g_object_new() as the | |||
| 803 | + | // | |||
| 804 | + | // final step of the object creation process. At the point of the call, all | |||
| 805 | + | // construction properties have been set on the object. The purpose of this | |||
| 806 | + | // call is to allow for object initialisation steps that can only be performed | |||
| 807 | + | // after construction properties have been set. @constructed implementors | |||
| 808 | + | // should chain up to the @constructed call of their parent class to allow it | |||
| 809 | + | // to complete its initialisation. | |||
| 810 | + | func (x *ObjectClass) GetConstructed() func(*Object) { | |||
| 811 | + | if x.xConstructed == 0 { | |||
| 812 | + | return nil | |||
| 813 | + | } | |||
| 814 | + | var rawCallback func(ObjectVarp uintptr) | |||
| 815 | + | purego.RegisterFunc(&rawCallback, x.xConstructed) | |||
| 816 | + | return func(ObjectVar *Object) { | |||
| 817 | + | rawCallback(ObjectVar.GoPointer()) | |||
| 818 | + | } | |||
| 819 | + | } | |||
| 820 | + | ||||
| 821 | + | // The GObjectConstructParam struct is an auxiliary structure used to hand | |||
| 822 | + | // #GParamSpec/#GValue pairs to the @constructor of a #GObjectClass. | |||
| 823 | + | type ObjectConstructParam struct { | |||
| 824 | + | _ structs.HostLayout | |||
| 825 | + | ||||
| 826 | + | Pspec *ParamSpec | |||
| 827 | + | ||||
| 828 | + | Value *Value | |||
| 829 | + | } | |||
| 830 | + | ||||
| 831 | + | func (x *ObjectConstructParam) GoPointer() uintptr { | |||
| 832 | + | return uintptr(unsafe.Pointer(x)) | |||
| 833 | + | } | |||
| 834 | + | ||||
| 835 | + | func ObjectConstructParamNewFromInternalPtr(ptr uintptr) *ObjectConstructParam { | |||
| 836 | + | if ptr == 0 { | |||
| 837 | + | return nil | |||
| 838 | + | } | |||
| 839 | + | rawPtr := *(*unsafe.Pointer)(unsafe.Pointer(&ptr)) | |||
| 840 | + | return (*ObjectConstructParam)(rawPtr) | |||
| 841 | + | } | |||
| 842 | + | ||||
| 843 | + | // A structure containing a weak reference to a #GObject. | |||
| 844 | + | // | |||
| 845 | + | // A `GWeakRef` can either be empty (i.e. point to %NULL), or point to an | |||
| 846 | + | // object for as long as at least one "strong" reference to that object | |||
| 847 | + | // exists. Before the object's #GObjectClass.dispose method is called, | |||
| 848 | + | // every #GWeakRef associated with becomes empty (i.e. points to %NULL). | |||
| 849 | + | // | |||
| 850 | + | // Like #GValue, #GWeakRef can be statically allocated, stack- or | |||
| 851 | + | // heap-allocated, or embedded in larger structures. | |||
| 852 | + | // | |||
| 853 | + | // Unlike g_object_weak_ref() and g_object_add_weak_pointer(), this weak | |||
| 854 | + | // reference is thread-safe: converting a weak pointer to a reference is | |||
| 855 | + | // atomic with respect to invalidation of weak pointers to destroyed | |||
| 856 | + | // objects. | |||
| 857 | + | // | |||
| 858 | + | // If the object's #GObjectClass.dispose method results in additional | |||
| 859 | + | // references to the object being held (‘re-referencing’), any #GWeakRefs taken | |||
| 860 | + | // before it was disposed will continue to point to %NULL. Any #GWeakRefs taken | |||
| 861 | + | // during disposal and after re-referencing, or after disposal has returned due | |||
| 862 | + | // to the re-referencing, will continue to point to the object until its refcount | |||
| 863 | + | // goes back to zero, at which point they too will be invalidated. | |||
| 864 | + | // | |||
| 865 | + | // It is invalid to take a #GWeakRef on an object during #GObjectClass.dispose | |||
| 866 | + | // without first having or creating a strong reference to the object. | |||
| 867 | + | type WeakRef struct { | |||
| 868 | + | _ structs.HostLayout | |||
| 869 | + | } | |||
| 870 | + | ||||
| 871 | + | func (x *WeakRef) GoPointer() uintptr { | |||
| 872 | + | return uintptr(unsafe.Pointer(x)) | |||
| 873 | + | } | |||
| 874 | + | ||||
| 875 | + | func WeakRefNewFromInternalPtr(ptr uintptr) *WeakRef { | |||
| 876 | + | if ptr == 0 { | |||
| 877 | + | return nil | |||
| 878 | + | } | |||
| 879 | + | rawPtr := *(*unsafe.Pointer)(unsafe.Pointer(&ptr)) | |||
| 880 | + | return (*WeakRef)(rawPtr) | |||
| 881 | + | } | |||
| 882 | + | ||||
| 883 | + | var xWeakRefClear func(uintptr) | |||
| 884 | + | ||||
| 885 | + | // Frees resources associated with a non-statically-allocated #GWeakRef. | |||
| 886 | + | // After this call, the #GWeakRef is left in an undefined state. | |||
| 887 | + | // | |||
| 888 | + | // You should only call this on a #GWeakRef that previously had | |||
| 889 | + | // g_weak_ref_init() called on it. | |||
| 890 | + | func (x *WeakRef) Clear() { | |||
| 891 | + | xWeakRefClear(x.GoPointer()) | |||
| 892 | + | } | |||
| 893 | + | ||||
| 894 | + | var xWeakRefGet func(uintptr) uintptr | |||
| 895 | + | ||||
| 896 | + | // If @weak_ref is not empty, atomically acquire a strong | |||
| 897 | + | // reference to the object it points to, and return that reference. | |||
| 898 | + | // | |||
| 899 | + | // This function is needed because of the potential race between taking | |||
| 900 | + | // the pointer value and g_object_ref() on it, if the object was losing | |||
| 901 | + | // its last reference at the same time in a different thread. | |||
| 902 | + | // | |||
| 903 | + | // The caller should release the resulting reference in the usual way, | |||
| 904 | + | // by using g_object_unref(). | |||
| 905 | + | func (x *WeakRef) Get() *Object { | |||
| 906 | + | var cls *Object | |||
| 907 | + | ||||
| 908 | + | cret := xWeakRefGet(x.GoPointer()) | |||
| 909 | + | ||||
| 910 | + | if cret == 0 { | |||
| 911 | + | return nil | |||
| 912 | + | } | |||
| 913 | + | cls = &Object{} | |||
| 914 | + | cls.Ptr = cret | |||
| 915 | + | return cls | |||
| 916 | + | } | |||
| 917 | + | ||||
| 918 | + | var xWeakRefInit func(uintptr, uintptr) | |||
| 919 | + | ||||
| 920 | + | // Initialise a non-statically-allocated #GWeakRef. | |||
| 921 | + | // | |||
| 922 | + | // This function also calls g_weak_ref_set() with @object on the | |||
| 923 | + | // freshly-initialised weak reference. | |||
| 924 | + | // | |||
| 925 | + | // This function should always be matched with a call to | |||
| 926 | + | // g_weak_ref_clear(). It is not necessary to use this function for a | |||
| 927 | + | // #GWeakRef in static storage because it will already be | |||
| 928 | + | // properly initialised. Just use g_weak_ref_set() directly. | |||
| 929 | + | func (x *WeakRef) Init(ObjectVar *Object) { | |||
| 930 | + | xWeakRefInit(x.GoPointer(), ObjectVar.GoPointer()) | |||
| 931 | + | } | |||
| 932 | + | ||||
| 933 | + | var xWeakRefSet func(uintptr, uintptr) | |||
| 934 | + | ||||
| 935 | + | // Change the object to which @weak_ref points, or set it to | |||
| 936 | + | // %NULL. | |||
| 937 | + | // | |||
| 938 | + | // You must own a strong reference on @object while calling this | |||
| 939 | + | // function. | |||
| 940 | + | func (x *WeakRef) Set(ObjectVar *Object) { | |||
| 941 | + | xWeakRefSet(x.GoPointer(), ObjectVar.GoPointer()) | |||
| 942 | + | } | |||
| 943 | + | ||||
| 944 | + | var xCclosureNewObject func(uintptr, uintptr) uintptr | |||
| 945 | + | ||||
| 946 | + | // A variant of g_cclosure_new() which uses @object as @user_data and | |||
| 947 | + | // calls g_object_watch_closure() on @object and the created | |||
| 948 | + | // closure. This function is useful when you have a callback closely | |||
| 949 | + | // associated with a #GObject, and want the callback to no longer run | |||
| 950 | + | // after the object is is freed. | |||
| 951 | + | func CclosureNewObject(CallbackFuncVar *Callback, ObjectVar *Object) *Closure { | |||
| 952 | + | cret := xCclosureNewObject(glib.NewCallback(CallbackFuncVar), ObjectVar.GoPointer()) | |||
| 953 | + | if cret == 0 { | |||
| 954 | + | return nil | |||
| 955 | + | } | |||
| 956 | + | return (*Closure)(unsafe.Pointer(cret)) | |||
| 957 | + | } | |||
| 958 | + | ||||
| 959 | + | var xCclosureNewObjectSwap func(uintptr, uintptr) uintptr | |||
| 960 | + | ||||
| 961 | + | // A variant of g_cclosure_new_swap() which uses @object as @user_data | |||
| 962 | + | // and calls g_object_watch_closure() on @object and the created | |||
| 963 | + | // closure. This function is useful when you have a callback closely | |||
| 964 | + | // associated with a #GObject, and want the callback to no longer run | |||
| 965 | + | // after the object is is freed. | |||
| 966 | + | func CclosureNewObjectSwap(CallbackFuncVar *Callback, ObjectVar *Object) *Closure { | |||
| 967 | + | cret := xCclosureNewObjectSwap(glib.NewCallback(CallbackFuncVar), ObjectVar.GoPointer()) | |||
| 968 | + | if cret == 0 { | |||
| 969 | + | return nil | |||
| 970 | + | } | |||
| 971 | + | return (*Closure)(unsafe.Pointer(cret)) | |||
| 972 | + | } | |||
| 973 | + | ||||
| 974 | + | var xClearObject func(uintptr) | |||
| 975 | + | ||||
| 976 | + | // Clears a reference to a #GObject. | |||
| 977 | + | // | |||
| 978 | + | // @object_ptr must not be %NULL. | |||
| 979 | + | // | |||
| 980 | + | // If the reference is %NULL then this function does nothing. | |||
| 981 | + | // Otherwise, the reference count of the object is decreased and the | |||
| 982 | + | // pointer is set to %NULL. | |||
| 983 | + | // | |||
| 984 | + | // A macro is also included that allows this function to be used without | |||
| 985 | + | // pointer casts. | |||
| 986 | + | func ClearObject(ObjectPtrVar **Object) { | |||
| 987 | + | xClearObject(*ConvertPtr(ObjectPtrVar)) | |||
| 988 | + | } | |||
| 989 | + | ||||
| 990 | + | var xSignalConnectObject func(*TypeInstance, string, uintptr, uintptr, ConnectFlags) uint | |||
| 991 | + | ||||
| 992 | + | // This is similar to g_signal_connect_data(), but uses a closure which | |||
| 993 | + | // ensures that the @gobject stays alive during the call to @c_handler | |||
| 994 | + | // by temporarily adding a reference count to @gobject. | |||
| 995 | + | // | |||
| 996 | + | // When the @gobject is destroyed the signal handler will be automatically | |||
| 997 | + | // disconnected. Note that this is not currently threadsafe (ie: | |||
| 998 | + | // emitting a signal while @gobject is being destroyed in another thread | |||
| 999 | + | // is not safe). | |||
| 1000 | + | // | |||
| 1001 | + | // This function cannot fail. If the given signal name doesn’t exist, | |||
| 1002 | + | // a critical warning is emitted. No validation is performed on the | |||
| 1003 | + | // "detail" string when specified in @detailed_signal, other than a | |||
| 1004 | + | // non-empty check. | |||
| 1005 | + | // | |||
| 1006 | + | // Refer to the [signals documentation](signals.html) for more | |||
| 1007 | + | // details. | |||
| 1008 | + | func SignalConnectObject(InstanceVar *TypeInstance, DetailedSignalVar string, CHandlerVar *Callback, GobjectVar *Object, ConnectFlagsVar ConnectFlags) uint { | |||
| 1009 | + | cret := xSignalConnectObject(InstanceVar, DetailedSignalVar, glib.NewCallback(CHandlerVar), GobjectVar.GoPointer(), ConnectFlagsVar) | |||
| 1010 | + | return cret | |||
| 1011 | + | } | |||
| 1012 | + | ||||
| 1013 | + | // A type for objects that have an initially floating reference. | |||
| 1014 | + | // | |||
| 1015 | + | // All the fields in the `GInitiallyUnowned` structure are private to the | |||
| 1016 | + | // implementation and should never be accessed directly. | |||
| 1017 | + | type InitiallyUnowned struct { | |||
| 1018 | + | Object | |||
| 1019 | + | } | |||
| 1020 | + | ||||
| 1021 | + | var xInitiallyUnownedGLibType func() types.GType | |||
| 1022 | + | ||||
| 1023 | + | func InitiallyUnownedGLibType() types.GType { | |||
| 1024 | + | return xInitiallyUnownedGLibType() | |||
| 1025 | + | } | |||
| 1026 | + | ||||
| 1027 | + | func InitiallyUnownedNewFromInternalPtr(ptr uintptr) *InitiallyUnowned { | |||
| 1028 | + | cls := &InitiallyUnowned{} | |||
| 1029 | + | cls.Ptr = ptr | |||
| 1030 | + | return cls | |||
| 1031 | + | } | |||
| 1032 | + | ||||
| 1033 | + | func (c *InitiallyUnowned) GoPointer() uintptr { | |||
| 1034 | + | if c == nil { | |||
| 1035 | + | return 0 | |||
| 1036 | + | } | |||
| 1037 | + | return c.Ptr | |||
| 1038 | + | } | |||
| 1039 | + | ||||
| 1040 | + | func (c *InitiallyUnowned) SetGoPointer(ptr uintptr) { | |||
| 1041 | + | c.Ptr = ptr | |||
| 1042 | + | } | |||
| 1043 | + | ||||
| 1044 | + | // The base object type. | |||
| 1045 | + | // | |||
| 1046 | + | // `GObject` is the fundamental type providing the common attributes and | |||
| 1047 | + | // methods for all object types in GTK, Pango and other libraries | |||
| 1048 | + | // based on GObject. The `GObject` class provides methods for object | |||
| 1049 | + | // construction and destruction, property access methods, and signal | |||
| 1050 | + | // support. Signals are described in detail [here](signals.html). | |||
| 1051 | + | // | |||
| 1052 | + | // For a tutorial on implementing a new `GObject` class, see [How to define and | |||
| 1053 | + | // implement a new GObject](tutorial.html#how-to-define-and-implement-a-new-gobject). | |||
| 1054 | + | // For a list of naming conventions for GObjects and their methods, see the | |||
| 1055 | + | // [GType conventions](concepts.html#conventions). For the high-level concepts | |||
| 1056 | + | // behind GObject, read | |||
| 1057 | + | // [Instantiatable classed types: Objects](concepts.html#instantiatable-classed-types-objects). | |||
| 1058 | + | // | |||
| 1059 | + | // Since GLib 2.72, all `GObject`s are guaranteed to be aligned to at least the | |||
| 1060 | + | // alignment of the largest basic GLib type (typically this is `guint64` or | |||
| 1061 | + | // `gdouble`). If you need larger alignment for an element in a `GObject`, you | |||
| 1062 | + | // should allocate it on the heap (aligned), or arrange for your `GObject` to be | |||
| 1063 | + | // appropriately padded. This guarantee applies to the `GObject` (or derived) | |||
| 1064 | + | // struct, the `GObjectClass` (or derived) struct, and any private data allocated | |||
| 1065 | + | // by `G_ADD_PRIVATE()`. | |||
| 1066 | + | type Object struct { | |||
| 1067 | + | Ptr uintptr | |||
| 1068 | + | } | |||
| 1069 | + | ||||
| 1070 | + | var xObjectGLibType func() types.GType | |||
| 1071 | + | ||||
| 1072 | + | func ObjectGLibType() types.GType { | |||
| 1073 | + | return xObjectGLibType() | |||
| 1074 | + | } | |||
| 1075 | + | ||||
| 1076 | + | func ObjectNewFromInternalPtr(ptr uintptr) *Object { | |||
| 1077 | + | cls := &Object{} | |||
| 1078 | + | cls.Ptr = ptr | |||
| 1079 | + | return cls | |||
| 1080 | + | } | |||
| 1081 | + | ||||
| 1082 | + | var xNewObject func(types.GType, string, ...interface{}) uintptr | |||
| 1083 | + | ||||
| 1084 | + | // Creates a new instance of a #GObject subtype and sets its properties. | |||
| 1085 | + | // | |||
| 1086 | + | // Construction parameters (see %G_PARAM_CONSTRUCT, %G_PARAM_CONSTRUCT_ONLY) | |||
| 1087 | + | // which are not explicitly specified are set to their default values. Any | |||
| 1088 | + | // private data for the object is guaranteed to be initialized with zeros, as | |||
| 1089 | + | // per g_type_create_instance(). | |||
| 1090 | + | // | |||
| 1091 | + | // Note that in C, small integer types in variable argument lists are promoted | |||
| 1092 | + | // up to `gint` or `guint` as appropriate, and read back accordingly. `gint` is | |||
| 1093 | + | // 32 bits on every platform on which GLib is currently supported. This means that | |||
| 1094 | + | // you can use C expressions of type `gint` with g_object_new() and properties of | |||
| 1095 | + | // type `gint` or `guint` or smaller. Specifically, you can use integer literals | |||
| 1096 | + | // with these property types. | |||
| 1097 | + | // | |||
| 1098 | + | // When using property types of `gint64` or `guint64`, you must ensure that the | |||
| 1099 | + | // value that you provide is 64 bit. This means that you should use a cast or | |||
| 1100 | + | // make use of the %G_GINT64_CONSTANT or %G_GUINT64_CONSTANT macros. | |||
| 1101 | + | // | |||
| 1102 | + | // Similarly, `gfloat` is promoted to `gdouble`, so you must ensure that the value | |||
| 1103 | + | // you provide is a `gdouble`, even for a property of type `gfloat`. | |||
| 1104 | + | // | |||
| 1105 | + | // Since GLib 2.72, all #GObjects are guaranteed to be aligned to at least the | |||
| 1106 | + | // alignment of the largest basic GLib type (typically this is `guint64` or | |||
| 1107 | + | // `gdouble`). If you need larger alignment for an element in a #GObject, you | |||
| 1108 | + | // should allocate it on the heap (aligned), or arrange for your #GObject to be | |||
| 1109 | + | // appropriately padded. | |||
| 1110 | + | func NewObject(ObjectTypeVar types.GType, FirstPropertyNameVar string, varArgs ...interface{}) *Object { | |||
| 1111 | + | var cls *Object | |||
| 1112 | + | ||||
| 1113 | + | cret := xNewObject(ObjectTypeVar, FirstPropertyNameVar, varArgs...) | |||
| 1114 | + | ||||
| 1115 | + | if cret == 0 { | |||
| 1116 | + | return nil | |||
| 1117 | + | } | |||
| 1118 | + | cls = &Object{} | |||
| 1119 | + | cls.Ptr = cret | |||
| 1120 | + | return cls | |||
| 1121 | + | } | |||
| 1122 | + | ||||
| 1123 | + | var xNewObjectValist func(types.GType, string, []interface{}) uintptr | |||
| 1124 | + | ||||
| 1125 | + | // Creates a new instance of a #GObject subtype and sets its properties. | |||
| 1126 | + | // | |||
| 1127 | + | // Construction parameters (see %G_PARAM_CONSTRUCT, %G_PARAM_CONSTRUCT_ONLY) | |||
| 1128 | + | // which are not explicitly specified are set to their default values. | |||
| 1129 | + | func NewObjectValist(ObjectTypeVar types.GType, FirstPropertyNameVar string, VarArgsVar []interface{}) *Object { | |||
| 1130 | + | var cls *Object | |||
| 1131 | + | ||||
| 1132 | + | cret := xNewObjectValist(ObjectTypeVar, FirstPropertyNameVar, VarArgsVar) | |||
| 1133 | + | ||||
| 1134 | + | if cret == 0 { | |||
| 1135 | + | return nil | |||
| 1136 | + | } | |||
| 1137 | + | cls = &Object{} | |||
| 1138 | + | cls.Ptr = cret | |||
| 1139 | + | return cls | |||
| 1140 | + | } | |||
| 1141 | + | ||||
| 1142 | + | var xNewObjectWithProperties func(types.GType, uint, []string, []Value) uintptr | |||
| 1143 | + | ||||
| 1144 | + | // Creates a new instance of a #GObject subtype and sets its properties using | |||
| 1145 | + | // the provided arrays. Both arrays must have exactly @n_properties elements, | |||
| 1146 | + | // and the names and values correspond by index. | |||
| 1147 | + | // | |||
| 1148 | + | // Construction parameters (see %G_PARAM_CONSTRUCT, %G_PARAM_CONSTRUCT_ONLY) | |||
| 1149 | + | // which are not explicitly specified are set to their default values. | |||
| 1150 | + | func NewObjectWithProperties(ObjectTypeVar types.GType, NPropertiesVar uint, NamesVar []string, ValuesVar []Value) *Object { | |||
| 1151 | + | var cls *Object | |||
| 1152 | + | ||||
| 1153 | + | cret := xNewObjectWithProperties(ObjectTypeVar, NPropertiesVar, NamesVar, ValuesVar) | |||
| 1154 | + | ||||
| 1155 | + | if cret == 0 { | |||
| 1156 | + | return nil | |||
| 1157 | + | } | |||
| 1158 | + | cls = &Object{} | |||
| 1159 | + | cls.Ptr = cret | |||
| 1160 | + | return cls | |||
| 1161 | + | } | |||
| 1162 | + | ||||
| 1163 | + | var xNewObjectv func(types.GType, uint, []Parameter) uintptr | |||
| 1164 | + | ||||
| 1165 | + | // Creates a new instance of a #GObject subtype and sets its properties. | |||
| 1166 | + | // | |||
| 1167 | + | // Construction parameters (see %G_PARAM_CONSTRUCT, %G_PARAM_CONSTRUCT_ONLY) | |||
| 1168 | + | // which are not explicitly specified are set to their default values. | |||
| 1169 | + | func NewObjectv(ObjectTypeVar types.GType, NParametersVar uint, ParametersVar []Parameter) *Object { | |||
| 1170 | + | var cls *Object | |||
| 1171 | + | ||||
| 1172 | + | cret := xNewObjectv(ObjectTypeVar, NParametersVar, ParametersVar) | |||
| 1173 | + | ||||
| 1174 | + | if cret == 0 { | |||
| 1175 | + | return nil | |||
| 1176 | + | } | |||
| 1177 | + | cls = &Object{} | |||
| 1178 | + | cls.Ptr = cret | |||
| 1179 | + | return cls | |||
| 1180 | + | } | |||
| 1181 | + | ||||
| 1182 | + | var xObjectAddToggleRef func(uintptr, uintptr, uintptr) | |||
| 1183 | + | ||||
| 1184 | + | // Increases the reference count of the object by one and sets a | |||
| 1185 | + | // callback to be called when all other references to the object are | |||
| 1186 | + | // dropped, or when this is already the last reference to the object | |||
| 1187 | + | // and another reference is established. | |||
| 1188 | + | // | |||
| 1189 | + | // This functionality is intended for binding @object to a proxy | |||
| 1190 | + | // object managed by another memory manager. This is done with two | |||
| 1191 | + | // paired references: the strong reference added by | |||
| 1192 | + | // g_object_add_toggle_ref() and a reverse reference to the proxy | |||
| 1193 | + | // object which is either a strong reference or weak reference. | |||
| 1194 | + | // | |||
| 1195 | + | // The setup is that when there are no other references to @object, | |||
| 1196 | + | // only a weak reference is held in the reverse direction from @object | |||
| 1197 | + | // to the proxy object, but when there are other references held to | |||
| 1198 | + | // @object, a strong reference is held. The @notify callback is called | |||
| 1199 | + | // when the reference from @object to the proxy object should be | |||
| 1200 | + | // "toggled" from strong to weak (@is_last_ref true) or weak to strong | |||
| 1201 | + | // (@is_last_ref false). | |||
| 1202 | + | // | |||
| 1203 | + | // Since a (normal) reference must be held to the object before | |||
| 1204 | + | // calling g_object_add_toggle_ref(), the initial state of the reverse | |||
| 1205 | + | // link is always strong. | |||
| 1206 | + | // | |||
| 1207 | + | // Multiple toggle references may be added to the same gobject, | |||
| 1208 | + | // however if there are multiple toggle references to an object, none | |||
| 1209 | + | // of them will ever be notified until all but one are removed. For | |||
| 1210 | + | // this reason, you should only ever use a toggle reference if there | |||
| 1211 | + | // is important state in the proxy object. | |||
| 1212 | + | // | |||
| 1213 | + | // Note that if you unref the object on another thread, then @notify might | |||
| 1214 | + | // still be invoked after g_object_remove_toggle_ref(), and the object argument | |||
| 1215 | + | // might be a dangling pointer. If the object is destroyed on other threads, | |||
| 1216 | + | // you must take care of that yourself. | |||
| 1217 | + | // | |||
| 1218 | + | // A g_object_add_toggle_ref() must be released with g_object_remove_toggle_ref(). | |||
| 1219 | + | func (x *Object) AddToggleRef(NotifyVar *ToggleNotify, DataVar uintptr) { | |||
| 1220 | + | xObjectAddToggleRef(x.GoPointer(), glib.NewCallbackNullable(NotifyVar), DataVar) | |||
| 1221 | + | } | |||
| 1222 | + | ||||
| 1223 | + | var xObjectAddWeakPointer func(uintptr, *uintptr) | |||
| 1224 | + | ||||
| 1225 | + | // Adds a weak reference from weak_pointer to @object to indicate that | |||
| 1226 | + | // the pointer located at @weak_pointer_location is only valid during | |||
| 1227 | + | // the lifetime of @object. When the @object is finalized, | |||
| 1228 | + | // @weak_pointer will be set to %NULL. | |||
| 1229 | + | // | |||
| 1230 | + | // Note that as with g_object_weak_ref(), the weak references created by | |||
| 1231 | + | // this method are not thread-safe: they cannot safely be used in one | |||
| 1232 | + | // thread if the object's last g_object_unref() might happen in another | |||
| 1233 | + | // thread. Use #GWeakRef if thread-safety is required. | |||
| 1234 | + | func (x *Object) AddWeakPointer(WeakPointerLocationVar *uintptr) { | |||
| 1235 | + | xObjectAddWeakPointer(x.GoPointer(), WeakPointerLocationVar) | |||
| 1236 | + | } | |||
| 1237 | + | ||||
| 1238 | + | var xObjectBindProperty func(uintptr, string, uintptr, string, BindingFlags) uintptr | |||
| 1239 | + | ||||
| 1240 | + | // Creates a binding between @source_property on @source and @target_property | |||
| 1241 | + | // on @target. | |||
| 1242 | + | // | |||
| 1243 | + | // Whenever the @source_property is changed the @target_property is | |||
| 1244 | + | // updated using the same value. For instance: | |||
| 1245 | + | // | |||
| 1246 | + | // |[<!-- language="C" --> | |||
| 1247 | + | // | |||
| 1248 | + | // g_object_bind_property (action, "active", widget, "sensitive", 0); | |||
| 1249 | + | // | |||
| 1250 | + | // ]| | |||
| 1251 | + | // | |||
| 1252 | + | // Will result in the "sensitive" property of the widget #GObject instance to be | |||
| 1253 | + | // updated with the same value of the "active" property of the action #GObject | |||
| 1254 | + | // instance. | |||
| 1255 | + | // | |||
| 1256 | + | // If @flags contains %G_BINDING_BIDIRECTIONAL then the binding will be mutual: | |||
| 1257 | + | // if @target_property on @target changes then the @source_property on @source | |||
| 1258 | + | // will be updated as well. | |||
| 1259 | + | // | |||
| 1260 | + | // The binding will automatically be removed when either the @source or the | |||
| 1261 | + | // @target instances are finalized. To remove the binding without affecting the | |||
| 1262 | + | // @source and the @target you can just call g_object_unref() on the returned | |||
| 1263 | + | // #GBinding instance. | |||
| 1264 | + | // | |||
| 1265 | + | // Removing the binding by calling g_object_unref() on it must only be done if | |||
| 1266 | + | // the binding, @source and @target are only used from a single thread and it | |||
| 1267 | + | // is clear that both @source and @target outlive the binding. Especially it | |||
| 1268 | + | // is not safe to rely on this if the binding, @source or @target can be | |||
| 1269 | + | // finalized from different threads. Keep another reference to the binding and | |||
| 1270 | + | // use g_binding_unbind() instead to be on the safe side. | |||
| 1271 | + | // | |||
| 1272 | + | // A #GObject can have multiple bindings. | |||
| 1273 | + | func (x *Object) BindProperty(SourcePropertyVar string, TargetVar *Object, TargetPropertyVar string, FlagsVar BindingFlags) *Binding { | |||
| 1274 | + | var cls *Binding | |||
| 1275 | + | ||||
| 1276 | + | cret := xObjectBindProperty(x.GoPointer(), SourcePropertyVar, TargetVar.GoPointer(), TargetPropertyVar, FlagsVar) | |||
| 1277 | + | ||||
| 1278 | + | if cret == 0 { | |||
| 1279 | + | return nil | |||
| 1280 | + | } | |||
| 1281 | + | IncreaseRef(cret) | |||
| 1282 | + | cls = &Binding{} | |||
| 1283 | + | cls.Ptr = cret | |||
| 1284 | + | return cls | |||
| 1285 | + | } | |||
| 1286 | + | ||||
| 1287 | + | var xObjectBindPropertyFull func(uintptr, string, uintptr, string, BindingFlags, uintptr, uintptr, uintptr, uintptr) uintptr | |||
| 1288 | + | ||||
| 1289 | + | // Complete version of g_object_bind_property(). | |||
| 1290 | + | // | |||
| 1291 | + | // Creates a binding between @source_property on @source and @target_property | |||
| 1292 | + | // on @target, allowing you to set the transformation functions to be used by | |||
| 1293 | + | // the binding. | |||
| 1294 | + | // | |||
| 1295 | + | // If @flags contains %G_BINDING_BIDIRECTIONAL then the binding will be mutual: | |||
| 1296 | + | // if @target_property on @target changes then the @source_property on @source | |||
| 1297 | + | // will be updated as well. The @transform_from function is only used in case | |||
| 1298 | + | // of bidirectional bindings, otherwise it will be ignored | |||
| 1299 | + | // | |||
| 1300 | + | // The binding will automatically be removed when either the @source or the | |||
| 1301 | + | // @target instances are finalized. This will release the reference that is | |||
| 1302 | + | // being held on the #GBinding instance; if you want to hold on to the | |||
| 1303 | + | // #GBinding instance, you will need to hold a reference to it. | |||
| 1304 | + | // | |||
| 1305 | + | // To remove the binding, call g_binding_unbind(). | |||
| 1306 | + | // | |||
| 1307 | + | // A #GObject can have multiple bindings. | |||
| 1308 | + | // | |||
| 1309 | + | // The same @user_data parameter will be used for both @transform_to | |||
| 1310 | + | // and @transform_from transformation functions; the @notify function will | |||
| 1311 | + | // be called once, when the binding is removed. If you need different data | |||
| 1312 | + | // for each transformation function, please use | |||
| 1313 | + | // g_object_bind_property_with_closures() instead. | |||
| 1314 | + | func (x *Object) BindPropertyFull(SourcePropertyVar string, TargetVar *Object, TargetPropertyVar string, FlagsVar BindingFlags, TransformToVar *BindingTransformFunc, TransformFromVar *BindingTransformFunc, UserDataVar uintptr, NotifyVar *glib.DestroyNotify) *Binding { | |||
| 1315 | + | var cls *Binding | |||
| 1316 | + | ||||
| 1317 | + | cret := xObjectBindPropertyFull(x.GoPointer(), SourcePropertyVar, TargetVar.GoPointer(), TargetPropertyVar, FlagsVar, glib.NewCallbackNullable(TransformToVar), glib.NewCallbackNullable(TransformFromVar), UserDataVar, glib.NewCallbackNullable(NotifyVar)) | |||
| 1318 | + | ||||
| 1319 | + | if cret == 0 { | |||
| 1320 | + | return nil | |||
| 1321 | + | } | |||
| 1322 | + | IncreaseRef(cret) | |||
| 1323 | + | cls = &Binding{} | |||
| 1324 | + | cls.Ptr = cret | |||
| 1325 | + | return cls | |||
| 1326 | + | } | |||
| 1327 | + | ||||
| 1328 | + | var xObjectBindPropertyWithClosures func(uintptr, string, uintptr, string, BindingFlags, *Closure, *Closure) uintptr | |||
| 1329 | + | ||||
| 1330 | + | // Creates a binding between @source_property on @source and @target_property | |||
| 1331 | + | // on @target, allowing you to set the transformation functions to be used by | |||
| 1332 | + | // the binding. | |||
| 1333 | + | // | |||
| 1334 | + | // This function is the language bindings friendly version of | |||
| 1335 | + | // g_object_bind_property_full(), using #GClosures instead of | |||
| 1336 | + | // function pointers. | |||
| 1337 | + | func (x *Object) BindPropertyWithClosures(SourcePropertyVar string, TargetVar *Object, TargetPropertyVar string, FlagsVar BindingFlags, TransformToVar *Closure, TransformFromVar *Closure) *Binding { | |||
| 1338 | + | var cls *Binding | |||
| 1339 | + | ||||
| 1340 | + | cret := xObjectBindPropertyWithClosures(x.GoPointer(), SourcePropertyVar, TargetVar.GoPointer(), TargetPropertyVar, FlagsVar, TransformToVar, TransformFromVar) | |||
| 1341 | + | ||||
| 1342 | + | if cret == 0 { | |||
| 1343 | + | return nil | |||
| 1344 | + | } | |||
| 1345 | + | IncreaseRef(cret) | |||
| 1346 | + | cls = &Binding{} | |||
| 1347 | + | cls.Ptr = cret | |||
| 1348 | + | return cls | |||
| 1349 | + | } | |||
| 1350 | + | ||||
| 1351 | + | var xObjectConnect func(uintptr, string, ...interface{}) uintptr | |||
| 1352 | + | ||||
| 1353 | + | // A convenience function to connect multiple signals at once. | |||
| 1354 | + | // | |||
| 1355 | + | // The signal specs expected by this function have the form | |||
| 1356 | + | // `modifier::signal_name`, where `modifier` can be one of the | |||
| 1357 | + | // following: | |||
| 1358 | + | // | |||
| 1359 | + | // - `signal`: equivalent to `g_signal_connect_data (..., NULL, G_CONNECT_DEFAULT)` | |||
| 1360 | + | // - `object-signal`, `object_signal`: equivalent to `g_signal_connect_object (..., G_CONNECT_DEFAULT)` | |||
| 1361 | + | // - `swapped-signal`, `swapped_signal`: equivalent to `g_signal_connect_data (..., NULL, G_CONNECT_SWAPPED)` | |||
| 1362 | + | // - `swapped_object_signal`, `swapped-object-signal`: equivalent to `g_signal_connect_object (..., G_CONNECT_SWAPPED)` | |||
| 1363 | + | // - `signal_after`, `signal-after`: equivalent to `g_signal_connect_data (..., NULL, G_CONNECT_AFTER)` | |||
| 1364 | + | // - `object_signal_after`, `object-signal-after`: equivalent to `g_signal_connect_object (..., G_CONNECT_AFTER)` | |||
| 1365 | + | // - `swapped_signal_after`, `swapped-signal-after`: equivalent to `g_signal_connect_data (..., NULL, G_CONNECT_SWAPPED | G_CONNECT_AFTER)` | |||
| 1366 | + | // - `swapped_object_signal_after`, `swapped-object-signal-after`: equivalent to `g_signal_connect_object (..., G_CONNECT_SWAPPED | G_CONNECT_AFTER)` | |||
| 1367 | + | // | |||
| 1368 | + | // ```c | |||
| 1369 | + | // menu->toplevel = g_object_connect (g_object_new (GTK_TYPE_WINDOW, | |||
| 1370 | + | // | |||
| 1371 | + | // "type", GTK_WINDOW_POPUP, | |||
| 1372 | + | // "child", menu, | |||
| 1373 | + | // NULL), | |||
| 1374 | + | // "signal::event", gtk_menu_window_event, menu, | |||
| 1375 | + | // "signal::size_request", gtk_menu_window_size_request, menu, | |||
| 1376 | + | // "signal::destroy", gtk_widget_destroyed, &menu->toplevel, | |||
| 1377 | + | // NULL); | |||
| 1378 | + | // | |||
| 1379 | + | // ``` | |||
| 1380 | + | func (x *Object) Connect(SignalSpecVar string, varArgs ...interface{}) *Object { | |||
| 1381 | + | var cls *Object | |||
| 1382 | + | ||||
| 1383 | + | cret := xObjectConnect(x.GoPointer(), SignalSpecVar, varArgs...) | |||
| 1384 | + | ||||
| 1385 | + | if cret == 0 { | |||
| 1386 | + | return nil | |||
| 1387 | + | } | |||
| 1388 | + | IncreaseRef(cret) | |||
| 1389 | + | cls = &Object{} | |||
| 1390 | + | cls.Ptr = cret | |||
| 1391 | + | return cls | |||
| 1392 | + | } | |||
| 1393 | + | ||||
| 1394 | + | var xObjectDisconnect func(uintptr, string, ...interface{}) | |||
| 1395 | + | ||||
| 1396 | + | // A convenience function to disconnect multiple signals at once. | |||
| 1397 | + | // | |||
| 1398 | + | // The signal specs expected by this function have the form | |||
| 1399 | + | // "any_signal", which means to disconnect any signal with matching | |||
| 1400 | + | // callback and data, or "any_signal::signal_name", which only | |||
| 1401 | + | // disconnects the signal named "signal_name". | |||
| 1402 | + | func (x *Object) Disconnect(SignalSpecVar string, varArgs ...interface{}) { | |||
| 1403 | + | xObjectDisconnect(x.GoPointer(), SignalSpecVar, varArgs...) | |||
| 1404 | + | } | |||
| 1405 | + | ||||
| 1406 | + | var xObjectDupData func(uintptr, string, uintptr, uintptr) uintptr | |||
| 1407 | + | ||||
| 1408 | + | // This is a variant of g_object_get_data() which returns | |||
| 1409 | + | // a 'duplicate' of the value. @dup_func defines the | |||
| 1410 | + | // meaning of 'duplicate' in this context, it could e.g. | |||
| 1411 | + | // take a reference on a ref-counted object. | |||
| 1412 | + | // | |||
| 1413 | + | // If the @key is not set on the object then @dup_func | |||
| 1414 | + | // will be called with a %NULL argument. | |||
| 1415 | + | // | |||
| 1416 | + | // Note that @dup_func is called while user data of @object | |||
| 1417 | + | // is locked. | |||
| 1418 | + | // | |||
| 1419 | + | // This function can be useful to avoid races when multiple | |||
| 1420 | + | // threads are using object data on the same key on the same | |||
| 1421 | + | // object. | |||
| 1422 | + | func (x *Object) DupData(KeyVar string, DupFuncVar *glib.DuplicateFunc, UserDataVar uintptr) uintptr { | |||
| 1423 | + | cret := xObjectDupData(x.GoPointer(), KeyVar, glib.NewCallbackNullable(DupFuncVar), UserDataVar) | |||
| 1424 | + | return cret | |||
| 1425 | + | } | |||
| 1426 | + | ||||
| 1427 | + | var xObjectDupQdata func(uintptr, glib.Quark, uintptr, uintptr) uintptr | |||
| 1428 | + | ||||
| 1429 | + | // This is a variant of g_object_get_qdata() which returns | |||
| 1430 | + | // a 'duplicate' of the value. @dup_func defines the | |||
| 1431 | + | // meaning of 'duplicate' in this context, it could e.g. | |||
| 1432 | + | // take a reference on a ref-counted object. | |||
| 1433 | + | // | |||
| 1434 | + | // If the @quark is not set on the object then @dup_func | |||
| 1435 | + | // will be called with a %NULL argument. | |||
| 1436 | + | // | |||
| 1437 | + | // Note that @dup_func is called while user data of @object | |||
| 1438 | + | // is locked. | |||
| 1439 | + | // | |||
| 1440 | + | // This function can be useful to avoid races when multiple | |||
| 1441 | + | // threads are using object data on the same key on the same | |||
| 1442 | + | // object. | |||
| 1443 | + | func (x *Object) DupQdata(QuarkVar glib.Quark, DupFuncVar *glib.DuplicateFunc, UserDataVar uintptr) uintptr { | |||
| 1444 | + | cret := xObjectDupQdata(x.GoPointer(), QuarkVar, glib.NewCallbackNullable(DupFuncVar), UserDataVar) | |||
| 1445 | + | return cret | |||
| 1446 | + | } | |||
| 1447 | + | ||||
| 1448 | + | var xObjectForceFloating func(uintptr) | |||
| 1449 | + | ||||
| 1450 | + | // This function is intended for #GObject implementations to re-enforce | |||
| 1451 | + | // a [floating](floating-refs.html) object reference. Doing this is seldom | |||
| 1452 | + | // required: all #GInitiallyUnowneds are created with a floating reference | |||
| 1453 | + | // which usually just needs to be sunken by calling g_object_ref_sink(). | |||
| 1454 | + | func (x *Object) ForceFloating() { | |||
| 1455 | + | xObjectForceFloating(x.GoPointer()) | |||
| 1456 | + | } | |||
| 1457 | + | ||||
| 1458 | + | var xObjectFreezeNotify func(uintptr) | |||
| 1459 | + | ||||
| 1460 | + | // Increases the freeze count on @object. If the freeze count is | |||
| 1461 | + | // non-zero, the emission of "notify" signals on @object is | |||
| 1462 | + | // stopped. The signals are queued until the freeze count is decreased | |||
| 1463 | + | // to zero. Duplicate notifications are squashed so that at most one | |||
| 1464 | + | // #GObject::notify signal is emitted for each property modified while the | |||
| 1465 | + | // object is frozen. | |||
| 1466 | + | // | |||
| 1467 | + | // This is necessary for accessors that modify multiple properties to prevent | |||
| 1468 | + | // premature notification while the object is still being modified. | |||
| 1469 | + | func (x *Object) FreezeNotify() { | |||
| 1470 | + | xObjectFreezeNotify(x.GoPointer()) | |||
| 1471 | + | } | |||
| 1472 | + | ||||
| 1473 | + | var xObjectGet func(uintptr, string, ...interface{}) | |||
| 1474 | + | ||||
| 1475 | + | // Gets properties of an object. | |||
| 1476 | + | // | |||
| 1477 | + | // In general, a copy is made of the property contents and the caller | |||
| 1478 | + | // is responsible for freeing the memory in the appropriate manner for | |||
| 1479 | + | // the type, for instance by calling g_free() or g_object_unref(). | |||
| 1480 | + | // | |||
| 1481 | + | // Here is an example of using g_object_get() to get the contents | |||
| 1482 | + | // of three properties: an integer, a string and an object: | |||
| 1483 | + | // |[<!-- language="C" --> | |||
| 1484 | + | // | |||
| 1485 | + | // gint intval; | |||
| 1486 | + | // guint64 uint64val; | |||
| 1487 | + | // gchar *strval; | |||
| 1488 | + | // GObject *objval; | |||
| 1489 | + | // | |||
| 1490 | + | // g_object_get (my_object, | |||
| 1491 | + | // "int-property", &intval, | |||
| 1492 | + | // "uint64-property", &uint64val, | |||
| 1493 | + | // "str-property", &strval, | |||
| 1494 | + | // "obj-property", &objval, | |||
| 1495 | + | // NULL); | |||
| 1496 | + | // | |||
| 1497 | + | // // Do something with intval, uint64val, strval, objval | |||
| 1498 | + | // | |||
| 1499 | + | // g_free (strval); | |||
| 1500 | + | // g_object_unref (objval); | |||
| 1501 | + | // | |||
| 1502 | + | // ]| | |||
| 1503 | + | func (x *Object) Get(FirstPropertyNameVar string, varArgs ...interface{}) { | |||
| 1504 | + | xObjectGet(x.GoPointer(), FirstPropertyNameVar, varArgs...) | |||
| 1505 | + | } | |||
| 1506 | + | ||||
| 1507 | + | var xObjectGetData func(uintptr, string) uintptr | |||
| 1508 | + | ||||
| 1509 | + | // Gets a named field from the objects table of associations (see g_object_set_data()). | |||
| 1510 | + | func (x *Object) GetData(KeyVar string) uintptr { | |||
| 1511 | + | cret := xObjectGetData(x.GoPointer(), KeyVar) | |||
| 1512 | + | return cret | |||
| 1513 | + | } | |||
| 1514 | + | ||||
| 1515 | + | var xObjectGetProperty func(uintptr, string, *Value) | |||
| 1516 | + | ||||
| 1517 | + | // Gets a property of an object. | |||
| 1518 | + | // | |||
| 1519 | + | // The @value can be: | |||
| 1520 | + | // | |||
| 1521 | + | // - an empty #GValue initialized by %G_VALUE_INIT, which will be | |||
| 1522 | + | // automatically initialized with the expected type of the property | |||
| 1523 | + | // (since GLib 2.60) | |||
| 1524 | + | // - a #GValue initialized with the expected type of the property | |||
| 1525 | + | // - a #GValue initialized with a type to which the expected type | |||
| 1526 | + | // of the property can be transformed | |||
| 1527 | + | // | |||
| 1528 | + | // In general, a copy is made of the property contents and the caller is | |||
| 1529 | + | // responsible for freeing the memory by calling g_value_unset(). | |||
| 1530 | + | // | |||
| 1531 | + | // Note that g_object_get_property() is really intended for language | |||
| 1532 | + | // bindings, g_object_get() is much more convenient for C programming. | |||
| 1533 | + | func (x *Object) GetProperty(PropertyNameVar string, ValueVar *Value) { | |||
| 1534 | + | xObjectGetProperty(x.GoPointer(), PropertyNameVar, ValueVar) | |||
| 1535 | + | } | |||
| 1536 | + | ||||
| 1537 | + | var xObjectGetQdata func(uintptr, glib.Quark) uintptr | |||
| 1538 | + | ||||
| 1539 | + | // This function gets back user data pointers stored via | |||
| 1540 | + | // g_object_set_qdata(). | |||
| 1541 | + | func (x *Object) GetQdata(QuarkVar glib.Quark) uintptr { | |||
| 1542 | + | cret := xObjectGetQdata(x.GoPointer(), QuarkVar) | |||
| 1543 | + | return cret | |||
| 1544 | + | } | |||
| 1545 | + | ||||
| 1546 | + | var xObjectGetValist func(uintptr, string, []interface{}) | |||
| 1547 | + | ||||
| 1548 | + | // Gets properties of an object. | |||
| 1549 | + | // | |||
| 1550 | + | // In general, a copy is made of the property contents and the caller | |||
| 1551 | + | // is responsible for freeing the memory in the appropriate manner for | |||
| 1552 | + | // the type, for instance by calling g_free() or g_object_unref(). | |||
| 1553 | + | // | |||
| 1554 | + | // See g_object_get(). | |||
| 1555 | + | func (x *Object) GetValist(FirstPropertyNameVar string, VarArgsVar []interface{}) { | |||
| 1556 | + | xObjectGetValist(x.GoPointer(), FirstPropertyNameVar, VarArgsVar) | |||
| 1557 | + | } | |||
| 1558 | + | ||||
| 1559 | + | var xObjectGetv func(uintptr, uint, []string, []Value) | |||
| 1560 | + | ||||
| 1561 | + | // Gets @n_properties properties for an @object. | |||
| 1562 | + | // Obtained properties will be set to @values. All properties must be valid. | |||
| 1563 | + | // Warnings will be emitted and undefined behaviour may result if invalid | |||
| 1564 | + | // properties are passed in. | |||
| 1565 | + | func (x *Object) Getv(NPropertiesVar uint, NamesVar []string, ValuesVar []Value) { | |||
| 1566 | + | xObjectGetv(x.GoPointer(), NPropertiesVar, NamesVar, ValuesVar) | |||
| 1567 | + | } | |||
| 1568 | + | ||||
| 1569 | + | var xObjectIsFloating func(uintptr) bool | |||
| 1570 | + | ||||
| 1571 | + | // Checks whether @object has a [floating](floating-refs.html) reference. | |||
| 1572 | + | func (x *Object) IsFloating() bool { | |||
| 1573 | + | cret := xObjectIsFloating(x.GoPointer()) | |||
| 1574 | + | return cret | |||
| 1575 | + | } | |||
| 1576 | + | ||||
| 1577 | + | var xObjectNotify func(uintptr, string) | |||
| 1578 | + | ||||
| 1579 | + | // Emits a "notify" signal for the property @property_name on @object. | |||
| 1580 | + | // | |||
| 1581 | + | // When possible, eg. when signaling a property change from within the class | |||
| 1582 | + | // that registered the property, you should use g_object_notify_by_pspec() | |||
| 1583 | + | // instead. | |||
| 1584 | + | // | |||
| 1585 | + | // Note that emission of the notify signal may be blocked with | |||
| 1586 | + | // g_object_freeze_notify(). In this case, the signal emissions are queued | |||
| 1587 | + | // and will be emitted (in reverse order) when g_object_thaw_notify() is | |||
| 1588 | + | // called. | |||
| 1589 | + | func (x *Object) Notify(PropertyNameVar string) { | |||
| 1590 | + | xObjectNotify(x.GoPointer(), PropertyNameVar) | |||
| 1591 | + | } | |||
| 1592 | + | ||||
| 1593 | + | var xObjectNotifyByPspec func(uintptr, uintptr) | |||
| 1594 | + | ||||
| 1595 | + | // Emits a "notify" signal for the property specified by @pspec on @object. | |||
| 1596 | + | // | |||
| 1597 | + | // This function omits the property name lookup, hence it is faster than | |||
| 1598 | + | // g_object_notify(). | |||
| 1599 | + | // | |||
| 1600 | + | // One way to avoid using g_object_notify() from within the | |||
| 1601 | + | // class that registered the properties, and using g_object_notify_by_pspec() | |||
| 1602 | + | // instead, is to store the GParamSpec used with | |||
| 1603 | + | // g_object_class_install_property() inside a static array, e.g.: | |||
| 1604 | + | // | |||
| 1605 | + | // |[<!-- language="C" --> | |||
| 1606 | + | // | |||
| 1607 | + | // typedef enum | |||
| 1608 | + | // { | |||
| 1609 | + | // PROP_FOO = 1, | |||
| 1610 | + | // PROP_LAST | |||
| 1611 | + | // } MyObjectProperty; | |||
| 1612 | + | // | |||
| 1613 | + | // static GParamSpec *properties[PROP_LAST]; | |||
| 1614 | + | // | |||
| 1615 | + | // static void | |||
| 1616 | + | // my_object_class_init (MyObjectClass *klass) | |||
| 1617 | + | // { | |||
| 1618 | + | // properties[PROP_FOO] = g_param_spec_int ("foo", NULL, NULL, | |||
| 1619 | + | // 0, 100, | |||
| 1620 | + | // 50, | |||
| 1621 | + | // G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS); | |||
| 1622 | + | // g_object_class_install_property (gobject_class, | |||
| 1623 | + | // PROP_FOO, | |||
| 1624 | + | // properties[PROP_FOO]); | |||
| 1625 | + | // } | |||
| 1626 | + | // | |||
| 1627 | + | // ]| | |||
| 1628 | + | // | |||
| 1629 | + | // and then notify a change on the "foo" property with: | |||
| 1630 | + | // | |||
| 1631 | + | // |[<!-- language="C" --> | |||
| 1632 | + | // | |||
| 1633 | + | // g_object_notify_by_pspec (self, properties[PROP_FOO]); | |||
| 1634 | + | // | |||
| 1635 | + | // ]| | |||
| 1636 | + | func (x *Object) NotifyByPspec(PspecVar *ParamSpec) { | |||
| 1637 | + | xObjectNotifyByPspec(x.GoPointer(), PspecVar.GoPointer()) | |||
| 1638 | + | } | |||
| 1639 | + | ||||
| 1640 | + | var xObjectRef func(uintptr) uintptr | |||
| 1641 | + | ||||
| 1642 | + | // Increases the reference count of @object. | |||
| 1643 | + | // | |||
| 1644 | + | // Since GLib 2.56, if `GLIB_VERSION_MAX_ALLOWED` is 2.56 or greater, the type | |||
| 1645 | + | // of @object will be propagated to the return type (using the GCC typeof() | |||
| 1646 | + | // extension), so any casting the caller needs to do on the return type must be | |||
| 1647 | + | // explicit. | |||
| 1648 | + | func (x *Object) Ref() *Object { | |||
| 1649 | + | var cls *Object | |||
| 1650 | + | ||||
| 1651 | + | cret := xObjectRef(x.GoPointer()) | |||
| 1652 | + | ||||
| 1653 | + | if cret == 0 { | |||
| 1654 | + | return nil | |||
| 1655 | + | } | |||
| 1656 | + | cls = &Object{} | |||
| 1657 | + | cls.Ptr = cret | |||
| 1658 | + | return cls | |||
| 1659 | + | } | |||
| 1660 | + | ||||
| 1661 | + | var xObjectRefSink func(uintptr) uintptr | |||
| 1662 | + | ||||
| 1663 | + | // Increase the reference count of @object, and possibly remove the | |||
| 1664 | + | // [floating](floating-refs.html) reference, if @object has a floating reference. | |||
| 1665 | + | // | |||
| 1666 | + | // In other words, if the object is floating, then this call "assumes | |||
| 1667 | + | // ownership" of the floating reference, converting it to a normal | |||
| 1668 | + | // reference by clearing the floating flag while leaving the reference | |||
| 1669 | + | // count unchanged. If the object is not floating, then this call | |||
| 1670 | + | // adds a new normal reference increasing the reference count by one. | |||
| 1671 | + | // | |||
| 1672 | + | // Since GLib 2.56, the type of @object will be propagated to the return type | |||
| 1673 | + | // under the same conditions as for g_object_ref(). | |||
| 1674 | + | func (x *Object) RefSink() *Object { | |||
| 1675 | + | var cls *Object | |||
| 1676 | + | ||||
| 1677 | + | cret := xObjectRefSink(x.GoPointer()) | |||
| 1678 | + | ||||
| 1679 | + | if cret == 0 { | |||
| 1680 | + | return nil | |||
| 1681 | + | } | |||
| 1682 | + | IncreaseRef(cret) | |||
| 1683 | + | cls = &Object{} | |||
| 1684 | + | cls.Ptr = cret | |||
| 1685 | + | return cls | |||
| 1686 | + | } | |||
| 1687 | + | ||||
| 1688 | + | var xObjectRemoveToggleRef func(uintptr, uintptr, uintptr) | |||
| 1689 | + | ||||
| 1690 | + | // Removes a reference added with g_object_add_toggle_ref(). The | |||
| 1691 | + | // reference count of the object is decreased by one. | |||
| 1692 | + | // | |||
| 1693 | + | // Note that if you unref the object on another thread, then @notify might | |||
| 1694 | + | // still be invoked after g_object_remove_toggle_ref(), and the object argument | |||
| 1695 | + | // might be a dangling pointer. If the object is destroyed on other threads, | |||
| 1696 | + | // you must take care of that yourself. | |||
| 1697 | + | func (x *Object) RemoveToggleRef(NotifyVar *ToggleNotify, DataVar uintptr) { | |||
| 1698 | + | xObjectRemoveToggleRef(x.GoPointer(), glib.NewCallbackNullable(NotifyVar), DataVar) | |||
| 1699 | + | } | |||
| 1700 | + | ||||
| 1701 | + | var xObjectRemoveWeakPointer func(uintptr, *uintptr) | |||
| 1702 | + | ||||
| 1703 | + | // Removes a weak reference from @object that was previously added | |||
| 1704 | + | // using g_object_add_weak_pointer(). The @weak_pointer_location has | |||
| 1705 | + | // to match the one used with g_object_add_weak_pointer(). | |||
| 1706 | + | func (x *Object) RemoveWeakPointer(WeakPointerLocationVar *uintptr) { | |||
| 1707 | + | xObjectRemoveWeakPointer(x.GoPointer(), WeakPointerLocationVar) | |||
| 1708 | + | } | |||
| 1709 | + | ||||
| 1710 | + | var xObjectReplaceData func(uintptr, string, uintptr, uintptr, uintptr, *glib.DestroyNotify) bool | |||
| 1711 | + | ||||
| 1712 | + | // Compares the user data for the key @key on @object with | |||
| 1713 | + | // @oldval, and if they are the same, replaces @oldval with | |||
| 1714 | + | // @newval. | |||
| 1715 | + | // | |||
| 1716 | + | // This is like a typical atomic compare-and-exchange | |||
| 1717 | + | // operation, for user data on an object. | |||
| 1718 | + | // | |||
| 1719 | + | // If the previous value was replaced then ownership of the | |||
| 1720 | + | // old value (@oldval) is passed to the caller, including | |||
| 1721 | + | // the registered destroy notify for it (passed out in @old_destroy). | |||
| 1722 | + | // It’s up to the caller to free this as needed, which may | |||
| 1723 | + | // or may not include using @old_destroy as sometimes replacement | |||
| 1724 | + | // should not destroy the object in the normal way. | |||
| 1725 | + | // | |||
| 1726 | + | // See g_object_set_data() for guidance on using a small, bounded set of values | |||
| 1727 | + | // for @key. | |||
| 1728 | + | func (x *Object) ReplaceData(KeyVar string, OldvalVar uintptr, NewvalVar uintptr, DestroyVar *glib.DestroyNotify, OldDestroyVar *glib.DestroyNotify) bool { | |||
| 1729 | + | cret := xObjectReplaceData(x.GoPointer(), KeyVar, OldvalVar, NewvalVar, glib.NewCallbackNullable(DestroyVar), OldDestroyVar) | |||
| 1730 | + | return cret | |||
| 1731 | + | } | |||
| 1732 | + | ||||
| 1733 | + | var xObjectReplaceQdata func(uintptr, glib.Quark, uintptr, uintptr, uintptr, *glib.DestroyNotify) bool | |||
| 1734 | + | ||||
| 1735 | + | // Compares the user data for the key @quark on @object with | |||
| 1736 | + | // @oldval, and if they are the same, replaces @oldval with | |||
| 1737 | + | // @newval. | |||
| 1738 | + | // | |||
| 1739 | + | // This is like a typical atomic compare-and-exchange | |||
| 1740 | + | // operation, for user data on an object. | |||
| 1741 | + | // | |||
| 1742 | + | // If the previous value was replaced then ownership of the | |||
| 1743 | + | // old value (@oldval) is passed to the caller, including | |||
| 1744 | + | // the registered destroy notify for it (passed out in @old_destroy). | |||
| 1745 | + | // It’s up to the caller to free this as needed, which may | |||
| 1746 | + | // or may not include using @old_destroy as sometimes replacement | |||
| 1747 | + | // should not destroy the object in the normal way. | |||
| 1748 | + | func (x *Object) ReplaceQdata(QuarkVar glib.Quark, OldvalVar uintptr, NewvalVar uintptr, DestroyVar *glib.DestroyNotify, OldDestroyVar *glib.DestroyNotify) bool { | |||
| 1749 | + | cret := xObjectReplaceQdata(x.GoPointer(), QuarkVar, OldvalVar, NewvalVar, glib.NewCallbackNullable(DestroyVar), OldDestroyVar) | |||
| 1750 | + | return cret | |||
| 1751 | + | } | |||
| 1752 | + | ||||
| 1753 | + | var xObjectRunDispose func(uintptr) | |||
| 1754 | + | ||||
| 1755 | + | // Releases all references to other objects. This can be used to break | |||
| 1756 | + | // reference cycles. | |||
| 1757 | + | // | |||
| 1758 | + | // This function should only be called from object system implementations. | |||
| 1759 | + | func (x *Object) RunDispose() { | |||
| 1760 | + | xObjectRunDispose(x.GoPointer()) | |||
| 1761 | + | } | |||
| 1762 | + | ||||
| 1763 | + | var xObjectSet func(uintptr, string, ...interface{}) | |||
| 1764 | + | ||||
| 1765 | + | // Sets properties on an object. | |||
| 1766 | + | // | |||
| 1767 | + | // The same caveats about passing integer literals as varargs apply as with | |||
| 1768 | + | // g_object_new(). In particular, any integer literals set as the values for | |||
| 1769 | + | // properties of type #gint64 or #guint64 must be 64 bits wide, using the | |||
| 1770 | + | // %G_GINT64_CONSTANT or %G_GUINT64_CONSTANT macros. | |||
| 1771 | + | // | |||
| 1772 | + | // Note that the "notify" signals are queued and only emitted (in | |||
| 1773 | + | // reverse order) after all properties have been set. See | |||
| 1774 | + | // g_object_freeze_notify(). | |||
| 1775 | + | func (x *Object) Set(FirstPropertyNameVar string, varArgs ...interface{}) { | |||
| 1776 | + | xObjectSet(x.GoPointer(), FirstPropertyNameVar, varArgs...) | |||
| 1777 | + | } | |||
| 1778 | + | ||||
| 1779 | + | var xObjectSetData func(uintptr, string, uintptr) | |||
| 1780 | + | ||||
| 1781 | + | // Each object carries around a table of associations from | |||
| 1782 | + | // strings to pointers. This function lets you set an association. | |||
| 1783 | + | // | |||
| 1784 | + | // If the object already had an association with that name, | |||
| 1785 | + | // the old association will be destroyed. | |||
| 1786 | + | // | |||
| 1787 | + | // Internally, the @key is converted to a #GQuark using g_quark_from_string(). | |||
| 1788 | + | // This means a copy of @key is kept permanently (even after @object has been | |||
| 1789 | + | // finalized) — so it is recommended to only use a small, bounded set of values | |||
| 1790 | + | // for @key in your program, to avoid the #GQuark storage growing unbounded. | |||
| 1791 | + | func (x *Object) SetData(KeyVar string, DataVar uintptr) { | |||
| 1792 | + | xObjectSetData(x.GoPointer(), KeyVar, DataVar) | |||
| 1793 | + | } | |||
| 1794 | + | ||||
| 1795 | + | var xObjectSetDataFull func(uintptr, string, uintptr, uintptr) | |||
| 1796 | + | ||||
| 1797 | + | // Like g_object_set_data() except it adds notification | |||
| 1798 | + | // for when the association is destroyed, either by setting it | |||
| 1799 | + | // to a different value or when the object is destroyed. | |||
| 1800 | + | // | |||
| 1801 | + | // Note that the @destroy callback is not called if @data is %NULL. | |||
| 1802 | + | func (x *Object) SetDataFull(KeyVar string, DataVar uintptr, DestroyVar *glib.DestroyNotify) { | |||
| 1803 | + | xObjectSetDataFull(x.GoPointer(), KeyVar, DataVar, glib.NewCallbackNullable(DestroyVar)) | |||
| 1804 | + | } | |||
| 1805 | + | ||||
| 1806 | + | var xObjectSetProperty func(uintptr, string, *Value) | |||
| 1807 | + | ||||
| 1808 | + | // Sets a property on an object. | |||
| 1809 | + | func (x *Object) SetProperty(PropertyNameVar string, ValueVar *Value) { | |||
| 1810 | + | xObjectSetProperty(x.GoPointer(), PropertyNameVar, ValueVar) | |||
| 1811 | + | } | |||
| 1812 | + | ||||
| 1813 | + | var xObjectSetQdata func(uintptr, glib.Quark, uintptr) | |||
| 1814 | + | ||||
| 1815 | + | // This sets an opaque, named pointer on an object. | |||
| 1816 | + | // The name is specified through a #GQuark (retrieved e.g. via | |||
| 1817 | + | // g_quark_from_static_string()), and the pointer | |||
| 1818 | + | // can be gotten back from the @object with g_object_get_qdata() | |||
| 1819 | + | // until the @object is finalized. | |||
| 1820 | + | // Setting a previously set user data pointer, overrides (frees) | |||
| 1821 | + | // the old pointer set, using #NULL as pointer essentially | |||
| 1822 | + | // removes the data stored. | |||
| 1823 | + | func (x *Object) SetQdata(QuarkVar glib.Quark, DataVar uintptr) { | |||
| 1824 | + | xObjectSetQdata(x.GoPointer(), QuarkVar, DataVar) | |||
| 1825 | + | } | |||
| 1826 | + | ||||
| 1827 | + | var xObjectSetQdataFull func(uintptr, glib.Quark, uintptr, uintptr) | |||
| 1828 | + | ||||
| 1829 | + | // This function works like g_object_set_qdata(), but in addition, | |||
| 1830 | + | // a void (*destroy) (gpointer) function may be specified which is | |||
| 1831 | + | // called with @data as argument when the @object is finalized, or | |||
| 1832 | + | // the data is being overwritten by a call to g_object_set_qdata() | |||
| 1833 | + | // with the same @quark. | |||
| 1834 | + | func (x *Object) SetQdataFull(QuarkVar glib.Quark, DataVar uintptr, DestroyVar *glib.DestroyNotify) { | |||
| 1835 | + | xObjectSetQdataFull(x.GoPointer(), QuarkVar, DataVar, glib.NewCallbackNullable(DestroyVar)) | |||
| 1836 | + | } | |||
| 1837 | + | ||||
| 1838 | + | var xObjectSetValist func(uintptr, string, []interface{}) | |||
| 1839 | + | ||||
| 1840 | + | // Sets properties on an object. | |||
| 1841 | + | func (x *Object) SetValist(FirstPropertyNameVar string, VarArgsVar []interface{}) { | |||
| 1842 | + | xObjectSetValist(x.GoPointer(), FirstPropertyNameVar, VarArgsVar) | |||
| 1843 | + | } | |||
| 1844 | + | ||||
| 1845 | + | var xObjectSetv func(uintptr, uint, []string, []Value) | |||
| 1846 | + | ||||
| 1847 | + | // Sets @n_properties properties for an @object. | |||
| 1848 | + | // Properties to be set will be taken from @values. All properties must be | |||
| 1849 | + | // valid. Warnings will be emitted and undefined behaviour may result if invalid | |||
| 1850 | + | // properties are passed in. | |||
| 1851 | + | func (x *Object) Setv(NPropertiesVar uint, NamesVar []string, ValuesVar []Value) { | |||
| 1852 | + | xObjectSetv(x.GoPointer(), NPropertiesVar, NamesVar, ValuesVar) | |||
| 1853 | + | } | |||
| 1854 | + | ||||
| 1855 | + | var xObjectStealData func(uintptr, string) uintptr | |||
| 1856 | + | ||||
| 1857 | + | // Remove a specified datum from the object's data associations, | |||
| 1858 | + | // without invoking the association's destroy handler. | |||
| 1859 | + | func (x *Object) StealData(KeyVar string) uintptr { | |||
| 1860 | + | cret := xObjectStealData(x.GoPointer(), KeyVar) | |||
| 1861 | + | return cret | |||
| 1862 | + | } | |||
| 1863 | + | ||||
| 1864 | + | var xObjectStealQdata func(uintptr, glib.Quark) uintptr | |||
| 1865 | + | ||||
| 1866 | + | // This function gets back user data pointers stored via | |||
| 1867 | + | // g_object_set_qdata() and removes the @data from object | |||
| 1868 | + | // without invoking its destroy() function (if any was | |||
| 1869 | + | // set). | |||
| 1870 | + | // Usually, calling this function is only required to update | |||
| 1871 | + | // user data pointers with a destroy notifier, for example: | |||
| 1872 | + | // |[<!-- language="C" --> | |||
| 1873 | + | // void | |||
| 1874 | + | // object_add_to_user_list (GObject *object, | |||
| 1875 | + | // | |||
| 1876 | + | // const gchar *new_string) | |||
| 1877 | + | // | |||
| 1878 | + | // { | |||
| 1879 | + | // // the quark, naming the object data | |||
| 1880 | + | // GQuark quark_string_list = g_quark_from_static_string ("my-string-list"); | |||
| 1881 | + | // // retrieve the old string list | |||
| 1882 | + | // GList *list = g_object_steal_qdata (object, quark_string_list); | |||
| 1883 | + | // | |||
| 1884 | + | // // prepend new string | |||
| 1885 | + | // list = g_list_prepend (list, g_strdup (new_string)); | |||
| 1886 | + | // // this changed 'list', so we need to set it again | |||
| 1887 | + | // g_object_set_qdata_full (object, quark_string_list, list, free_string_list); | |||
| 1888 | + | // } | |||
| 1889 | + | // | |||
| 1890 | + | // static void | |||
| 1891 | + | // free_string_list (gpointer data) | |||
| 1892 | + | // | |||
| 1893 | + | // { | |||
| 1894 | + | // GList *node, *list = data; | |||
| 1895 | + | // | |||
| 1896 | + | // for (node = list; node; node = node->next) | |||
| 1897 | + | // g_free (node->data); | |||
| 1898 | + | // g_list_free (list); | |||
| 1899 | + | // } | |||
| 1900 | + | // | |||
| 1901 | + | // ]| | |||
| 1902 | + | // Using g_object_get_qdata() in the above example, instead of | |||
| 1903 | + | // g_object_steal_qdata() would have left the destroy function set, | |||
| 1904 | + | // and thus the partial string list would have been freed upon | |||
| 1905 | + | // g_object_set_qdata_full(). | |||
| 1906 | + | func (x *Object) StealQdata(QuarkVar glib.Quark) uintptr { | |||
| 1907 | + | cret := xObjectStealQdata(x.GoPointer(), QuarkVar) | |||
| 1908 | + | return cret | |||
| 1909 | + | } | |||
| 1910 | + | ||||
| 1911 | + | var xObjectTakeRef func(uintptr) uintptr | |||
| 1912 | + | ||||
| 1913 | + | // If @object is floating, sink it. Otherwise, do nothing. | |||
| 1914 | + | // | |||
| 1915 | + | // In other words, this function will convert a floating reference (if | |||
| 1916 | + | // present) into a full reference. | |||
| 1917 | + | // | |||
| 1918 | + | // Typically you want to use g_object_ref_sink() in order to | |||
| 1919 | + | // automatically do the correct thing with respect to floating or | |||
| 1920 | + | // non-floating references, but there is one specific scenario where | |||
| 1921 | + | // this function is helpful. | |||
| 1922 | + | // | |||
| 1923 | + | // The situation where this function is helpful is when creating an API | |||
| 1924 | + | // that allows the user to provide a callback function that returns a | |||
| 1925 | + | // GObject. We certainly want to allow the user the flexibility to | |||
| 1926 | + | // return a non-floating reference from this callback (for the case | |||
| 1927 | + | // where the object that is being returned already exists). | |||
| 1928 | + | // | |||
| 1929 | + | // At the same time, the API style of some popular GObject-based | |||
| 1930 | + | // libraries (such as Gtk) make it likely that for newly-created GObject | |||
| 1931 | + | // instances, the user can be saved some typing if they are allowed to | |||
| 1932 | + | // return a floating reference. | |||
| 1933 | + | // | |||
| 1934 | + | // Using this function on the return value of the user's callback allows | |||
| 1935 | + | // the user to do whichever is more convenient for them. The caller will | |||
| 1936 | + | // always receives exactly one full reference to the value: either the | |||
| 1937 | + | // one that was returned in the first place, or a floating reference | |||
| 1938 | + | // that has been converted to a full reference. | |||
| 1939 | + | // | |||
| 1940 | + | // This function has an odd interaction when combined with | |||
| 1941 | + | // g_object_ref_sink() running at the same time in another thread on | |||
| 1942 | + | // the same #GObject instance. If g_object_ref_sink() runs first then | |||
| 1943 | + | // the result will be that the floating reference is converted to a hard | |||
| 1944 | + | // reference. If g_object_take_ref() runs first then the result will be | |||
| 1945 | + | // that the floating reference is converted to a hard reference and an | |||
| 1946 | + | // additional reference on top of that one is added. It is best to avoid | |||
| 1947 | + | // this situation. | |||
| 1948 | + | func (x *Object) TakeRef() *Object { | |||
| 1949 | + | var cls *Object | |||
| 1950 | + | ||||
| 1951 | + | cret := xObjectTakeRef(x.GoPointer()) | |||
| 1952 | + | ||||
| 1953 | + | if cret == 0 { | |||
| 1954 | + | return nil | |||
| 1955 | + | } | |||
| 1956 | + | cls = &Object{} | |||
| 1957 | + | cls.Ptr = cret | |||
| 1958 | + | return cls | |||
| 1959 | + | } | |||
| 1960 | + | ||||
| 1961 | + | var xObjectThawNotify func(uintptr) | |||
| 1962 | + | ||||
| 1963 | + | // Reverts the effect of a previous call to | |||
| 1964 | + | // g_object_freeze_notify(). The freeze count is decreased on @object | |||
| 1965 | + | // and when it reaches zero, queued "notify" signals are emitted. | |||
| 1966 | + | // | |||
| 1967 | + | // Duplicate notifications for each property are squashed so that at most one | |||
| 1968 | + | // #GObject::notify signal is emitted for each property, in the reverse order | |||
| 1969 | + | // in which they have been queued. | |||
| 1970 | + | // | |||
| 1971 | + | // It is an error to call this function when the freeze count is zero. | |||
| 1972 | + | func (x *Object) ThawNotify() { | |||
| 1973 | + | xObjectThawNotify(x.GoPointer()) | |||
| 1974 | + | } | |||
| 1975 | + | ||||
| 1976 | + | var xObjectUnref func(uintptr) | |||
| 1977 | + | ||||
| 1978 | + | // Decreases the reference count of @object. When its reference count | |||
| 1979 | + | // drops to 0, the object is finalized (i.e. its memory is freed). | |||
| 1980 | + | // | |||
| 1981 | + | // If the pointer to the #GObject may be reused in future (for example, if it is | |||
| 1982 | + | // an instance variable of another object), it is recommended to clear the | |||
| 1983 | + | // pointer to %NULL rather than retain a dangling pointer to a potentially | |||
| 1984 | + | // invalid #GObject instance. Use g_clear_object() for this. | |||
| 1985 | + | func (x *Object) Unref() { | |||
| 1986 | + | xObjectUnref(x.GoPointer()) | |||
| 1987 | + | } | |||
| 1988 | + | ||||
| 1989 | + | var xObjectWatchClosure func(uintptr, *Closure) | |||
| 1990 | + | ||||
| 1991 | + | // This function essentially limits the life time of the @closure to | |||
| 1992 | + | // the life time of the object. That is, when the object is finalized, | |||
| 1993 | + | // the @closure is invalidated by calling g_closure_invalidate() on | |||
| 1994 | + | // it, in order to prevent invocations of the closure with a finalized | |||
| 1995 | + | // (nonexisting) object. Also, g_object_ref() and g_object_unref() are | |||
| 1996 | + | // added as marshal guards to the @closure, to ensure that an extra | |||
| 1997 | + | // reference count is held on @object during invocation of the | |||
| 1998 | + | // @closure. Usually, this function will be called on closures that | |||
| 1999 | + | // use this @object as closure data. | |||
| 2000 | + | func (x *Object) WatchClosure(ClosureVar *Closure) { | |||
| 2001 | + | xObjectWatchClosure(x.GoPointer(), ClosureVar) | |||
| 2002 | + | } | |||
| 2003 | + | ||||
| 2004 | + | var xObjectWeakRef func(uintptr, uintptr, uintptr) | |||
| 2005 | + | ||||
| 2006 | + | // Adds a weak reference callback to an object. Weak references are | |||
| 2007 | + | // used for notification when an object is disposed. They are called | |||
| 2008 | + | // "weak references" because they allow you to safely hold a pointer | |||
| 2009 | + | // to an object without calling g_object_ref() (g_object_ref() adds a | |||
| 2010 | + | // strong reference, that is, forces the object to stay alive). | |||
| 2011 | + | // | |||
| 2012 | + | // Note that the weak references created by this method are not | |||
| 2013 | + | // thread-safe: they cannot safely be used in one thread if the | |||
| 2014 | + | // object's last g_object_unref() might happen in another thread. | |||
| 2015 | + | // Use #GWeakRef if thread-safety is required. | |||
| 2016 | + | func (x *Object) WeakRef(NotifyVar *WeakNotify, DataVar uintptr) { | |||
| 2017 | + | xObjectWeakRef(x.GoPointer(), glib.NewCallbackNullable(NotifyVar), DataVar) | |||
| 2018 | + | } | |||
| 2019 | + | ||||
| 2020 | + | var xObjectWeakUnref func(uintptr, uintptr, uintptr) | |||
| 2021 | + | ||||
| 2022 | + | // Removes a weak reference callback to an object. | |||
| 2023 | + | func (x *Object) WeakUnref(NotifyVar *WeakNotify, DataVar uintptr) { | |||
| 2024 | + | xObjectWeakUnref(x.GoPointer(), glib.NewCallbackNullable(NotifyVar), DataVar) | |||
| 2025 | + | } | |||
| 2026 | + | ||||
| 2027 | + | func (c *Object) GoPointer() uintptr { | |||
| 2028 | + | if c == nil { | |||
| 2029 | + | return 0 | |||
| 2030 | + | } | |||
| 2031 | + | return c.Ptr | |||
| 2032 | + | } | |||
| 2033 | + | ||||
| 2034 | + | func (c *Object) SetGoPointer(ptr uintptr) { | |||
| 2035 | + | c.Ptr = ptr | |||
| 2036 | + | } | |||
| 2037 | + | ||||
| 2038 | + | // The notify signal is emitted on an object when one of its properties has | |||
| 2039 | + | // its value set through g_object_set_property(), g_object_set(), et al. | |||
| 2040 | + | // | |||
| 2041 | + | // Note that getting this signal doesn’t itself guarantee that the value of | |||
| 2042 | + | // the property has actually changed. When it is emitted is determined by the | |||
| 2043 | + | // derived GObject class. If the implementor did not create the property with | |||
| 2044 | + | // %G_PARAM_EXPLICIT_NOTIFY, then any call to g_object_set_property() results | |||
| 2045 | + | // in ::notify being emitted, even if the new value is the same as the old. | |||
| 2046 | + | // If they did pass %G_PARAM_EXPLICIT_NOTIFY, then this signal is emitted only | |||
| 2047 | + | // when they explicitly call g_object_notify() or g_object_notify_by_pspec(), | |||
| 2048 | + | // and common practice is to do that only when the value has actually changed. | |||
| 2049 | + | // | |||
| 2050 | + | // This signal is typically used to obtain change notification for a | |||
| 2051 | + | // single property, by specifying the property name as a detail in the | |||
| 2052 | + | // g_signal_connect() call, like this: | |||
| 2053 | + | // | |||
| 2054 | + | // |[<!-- language="C" --> | |||
| 2055 | + | // g_signal_connect (text_view->buffer, "notify::paste-target-list", | |||
| 2056 | + | // | |||
| 2057 | + | // G_CALLBACK (gtk_text_view_target_list_notify), | |||
| 2058 | + | // text_view) | |||
| 2059 | + | // | |||
| 2060 | + | // ]| | |||
| 2061 | + | // | |||
| 2062 | + | // It is important to note that you must use | |||
| 2063 | + | // [canonical parameter names][class@GObject.ParamSpec#parameter-names] as | |||
| 2064 | + | // detail strings for the notify signal. | |||
| 2065 | + | func (x *Object) ConnectNotify(cb *func(Object, uintptr)) uint { | |||
| 2066 | + | signalData := glib.SaveSignalHandler(cb) | |||
| 2067 | + | cbRefPtr := glib.SharedCallback("gobject.Object.Notify", func(clsPtr uintptr, PspecVarp uintptr, signalData uintptr) { | |||
| 2068 | + | handler, ok := glib.GetSignalHandler(signalData) | |||
| 2069 | + | if !ok { | |||
| 2070 | + | return | |||
| 2071 | + | } | |||
| 2072 | + | cb, ok := handler.(*func(Object, uintptr)) | |||
| 2073 | + | if !ok || cb == nil || *cb == nil { | |||
| 2074 | + | return | |||
| 2075 | + | } | |||
| 2076 | + | fa := Object{} | |||
| 2077 | + | fa.Ptr = clsPtr | |||
| 2078 | + | cbFn := *cb | |||
| 2079 | + | ||||
| 2080 | + | cbFn(fa, PspecVarp) | |||
| 2081 | + | }) | |||
| 2082 | + | handlerID := SignalConnectDataRaw(x.GoPointer(), "notify", cbRefPtr, signalData, glib.SignalDestroyNotify(), GConnectDefaultValue) | |||
| 2083 | + | glib.SaveSignalHandlerMapping(handlerID, signalData) | |||
| 2084 | + | return handlerID | |||
| 2085 | + | } | |||
| 2086 | + | ||||
| 2087 | + | var xObjectCompatControl func(uint, uintptr) uint | |||
| 2088 | + | ||||
| 2089 | + | func ObjectCompatControl(WhatVar uint, DataVar uintptr) uint { | |||
| 2090 | + | cret := xObjectCompatControl(WhatVar, DataVar) | |||
| 2091 | + | return cret | |||
| 2092 | + | } | |||
| 2093 | + | ||||
| 2094 | + | var xObjectInterfaceFindProperty func(*TypeInterface, string) uintptr | |||
| 2095 | + | ||||
| 2096 | + | // Find the #GParamSpec with the given name for an | |||
| 2097 | + | // interface. Generally, the interface vtable passed in as @g_iface | |||
| 2098 | + | // will be the default vtable from g_type_default_interface_ref(), or, | |||
| 2099 | + | // if you know the interface has already been loaded, | |||
| 2100 | + | // g_type_default_interface_peek(). | |||
| 2101 | + | func ObjectInterfaceFindProperty(GIfaceVar *TypeInterface, PropertyNameVar string) *ParamSpec { | |||
| 2102 | + | var cls *ParamSpec | |||
| 2103 | + | ||||
| 2104 | + | cret := xObjectInterfaceFindProperty(GIfaceVar, PropertyNameVar) | |||
| 2105 | + | ||||
| 2106 | + | if cret == 0 { | |||
| 2107 | + | return nil | |||
| 2108 | + | } | |||
| 2109 | + | IncreaseRef(cret) | |||
| 2110 | + | cls = &ParamSpec{} | |||
| 2111 | + | cls.Ptr = cret | |||
| 2112 | + | return cls | |||
| 2113 | + | } | |||
| 2114 | + | ||||
| 2115 | + | var xObjectInterfaceInstallProperty func(*TypeInterface, uintptr) | |||
| 2116 | + | ||||
| 2117 | + | // Add a property to an interface; this is only useful for interfaces | |||
| 2118 | + | // that are added to GObject-derived types. Adding a property to an | |||
| 2119 | + | // interface forces all objects classes with that interface to have a | |||
| 2120 | + | // compatible property. The compatible property could be a newly | |||
| 2121 | + | // created #GParamSpec, but normally | |||
| 2122 | + | // g_object_class_override_property() will be used so that the object | |||
| 2123 | + | // class only needs to provide an implementation and inherits the | |||
| 2124 | + | // property description, default value, bounds, and so forth from the | |||
| 2125 | + | // interface property. | |||
| 2126 | + | // | |||
| 2127 | + | // This function is meant to be called from the interface's default | |||
| 2128 | + | // vtable initialization function (the @class_init member of | |||
| 2129 | + | // #GTypeInfo.) It must not be called after after @class_init has | |||
| 2130 | + | // been called for any object types implementing this interface. | |||
| 2131 | + | // | |||
| 2132 | + | // If @pspec is a floating reference, it will be consumed. | |||
| 2133 | + | func ObjectInterfaceInstallProperty(GIfaceVar *TypeInterface, PspecVar *ParamSpec) { | |||
| 2134 | + | xObjectInterfaceInstallProperty(GIfaceVar, PspecVar.GoPointer()) | |||
| 2135 | + | } | |||
| 2136 | + | ||||
| 2137 | + | var xObjectInterfaceListProperties func(*TypeInterface, *uint) uintptr | |||
| 2138 | + | ||||
| 2139 | + | // Lists the properties of an interface.Generally, the interface | |||
| 2140 | + | // vtable passed in as @g_iface will be the default vtable from | |||
| 2141 | + | // g_type_default_interface_ref(), or, if you know the interface has | |||
| 2142 | + | // already been loaded, g_type_default_interface_peek(). | |||
| 2143 | + | func ObjectInterfaceListProperties(GIfaceVar *TypeInterface, NPropertiesPVar *uint) uintptr { | |||
| 2144 | + | cret := xObjectInterfaceListProperties(GIfaceVar, NPropertiesPVar) | |||
| 2145 | + | return cret | |||
| 2146 | + | } | |||
| 2147 | + | ||||
| 2148 | + | func init() { | |||
| 2149 | + | core.SetPackageName("GOBJECT", "gobject-2.0") | |||
| 2150 | + | core.SetSharedLibraries("GOBJECT", []string{"libgobject-2.0.so.0", "libgobject-2.0.0.dylib"}) | |||
| 2151 | + | var libs []uintptr | |||
| 2152 | + | for _, libPath := range core.GetPaths("GOBJECT") { | |||
| 2153 | + | lib, err := purego.Dlopen(libPath, purego.RTLD_NOW|purego.RTLD_GLOBAL) | |||
| 2154 | + | if err != nil { | |||
| 2155 | + | panic(err) | |||
| 2156 | + | } | |||
| 2157 | + | libs = append(libs, lib) | |||
| 2158 | + | } | |||
| 2159 | + | ||||
| 2160 | + | core.PuregoSafeRegister(&xCclosureNewObject, libs, "g_cclosure_new_object") | |||
| 2161 | + | core.PuregoSafeRegister(&xCclosureNewObjectSwap, libs, "g_cclosure_new_object_swap") | |||
| 2162 | + | core.PuregoSafeRegister(&xClearObject, libs, "g_clear_object") | |||
| 2163 | + | core.PuregoSafeRegister(&xSignalConnectObject, libs, "g_signal_connect_object") | |||
| 2164 | + | ||||
| 2165 | + | core.PuregoSafeRegister(&xObjectClassFindProperty, libs, "g_object_class_find_property") | |||
| 2166 | + | core.PuregoSafeRegister(&xObjectClassInstallProperties, libs, "g_object_class_install_properties") | |||
| 2167 | + | core.PuregoSafeRegister(&xObjectClassInstallProperty, libs, "g_object_class_install_property") | |||
| 2168 | + | core.PuregoSafeRegister(&xObjectClassListProperties, libs, "g_object_class_list_properties") | |||
| 2169 | + | core.PuregoSafeRegister(&xObjectClassOverrideProperty, libs, "g_object_class_override_property") | |||
| 2170 | + | ||||
| 2171 | + | core.PuregoSafeRegister(&xWeakRefClear, libs, "g_weak_ref_clear") | |||
| 2172 | + | core.PuregoSafeRegister(&xWeakRefGet, libs, "g_weak_ref_get") | |||
| 2173 | + | core.PuregoSafeRegister(&xWeakRefInit, libs, "g_weak_ref_init") | |||
| 2174 | + | core.PuregoSafeRegister(&xWeakRefSet, libs, "g_weak_ref_set") | |||
| 2175 | + | ||||
| 2176 | + | core.PuregoSafeRegister(&xInitiallyUnownedGLibType, libs, "g_initially_unowned_get_type") | |||
| 2177 | + | ||||
| 2178 | + | core.PuregoSafeRegister(&xObjectGLibType, libs, "g_object_get_type") | |||
| 2179 | + | ||||
| 2180 | + | core.PuregoSafeRegister(&xNewObject, libs, "g_object_new") | |||
| 2181 | + | core.PuregoSafeRegister(&xNewObjectValist, libs, "g_object_new_valist") | |||
| 2182 | + | core.PuregoSafeRegister(&xNewObjectWithProperties, libs, "g_object_new_with_properties") | |||
| 2183 | + | core.PuregoSafeRegister(&xNewObjectv, libs, "g_object_newv") | |||
| 2184 | + | ||||
| 2185 | + | core.PuregoSafeRegister(&xObjectAddToggleRef, libs, "g_object_add_toggle_ref") | |||
| 2186 | + | core.PuregoSafeRegister(&xObjectAddWeakPointer, libs, "g_object_add_weak_pointer") | |||
| 2187 | + | core.PuregoSafeRegister(&xObjectBindProperty, libs, "g_object_bind_property") | |||
| 2188 | + | core.PuregoSafeRegister(&xObjectBindPropertyFull, libs, "g_object_bind_property_full") | |||
| 2189 | + | core.PuregoSafeRegister(&xObjectBindPropertyWithClosures, libs, "g_object_bind_property_with_closures") | |||
| 2190 | + | core.PuregoSafeRegister(&xObjectConnect, libs, "g_object_connect") | |||
| 2191 | + | core.PuregoSafeRegister(&xObjectDisconnect, libs, "g_object_disconnect") | |||
| 2192 | + | core.PuregoSafeRegister(&xObjectDupData, libs, "g_object_dup_data") | |||
| 2193 | + | core.PuregoSafeRegister(&xObjectDupQdata, libs, "g_object_dup_qdata") | |||
| 2194 | + | core.PuregoSafeRegister(&xObjectForceFloating, libs, "g_object_force_floating") | |||
| 2195 | + | core.PuregoSafeRegister(&xObjectFreezeNotify, libs, "g_object_freeze_notify") | |||
| 2196 | + | core.PuregoSafeRegister(&xObjectGet, libs, "g_object_get") | |||
| 2197 | + | core.PuregoSafeRegister(&xObjectGetData, libs, "g_object_get_data") | |||
| 2198 | + | core.PuregoSafeRegister(&xObjectGetProperty, libs, "g_object_get_property") | |||
| 2199 | + | core.PuregoSafeRegister(&xObjectGetQdata, libs, "g_object_get_qdata") | |||
| 2200 | + | core.PuregoSafeRegister(&xObjectGetValist, libs, "g_object_get_valist") | |||
| 2201 | + | core.PuregoSafeRegister(&xObjectGetv, libs, "g_object_getv") | |||
| 2202 | + | core.PuregoSafeRegister(&xObjectIsFloating, libs, "g_object_is_floating") | |||
| 2203 | + | core.PuregoSafeRegister(&xObjectNotify, libs, "g_object_notify") | |||
| 2204 | + | core.PuregoSafeRegister(&xObjectNotifyByPspec, libs, "g_object_notify_by_pspec") | |||
| 2205 | + | core.PuregoSafeRegister(&xObjectRef, libs, "g_object_ref") | |||
| 2206 | + | core.PuregoSafeRegister(&xObjectRefSink, libs, "g_object_ref_sink") | |||
| 2207 | + | core.PuregoSafeRegister(&xObjectRemoveToggleRef, libs, "g_object_remove_toggle_ref") | |||
| 2208 | + | core.PuregoSafeRegister(&xObjectRemoveWeakPointer, libs, "g_object_remove_weak_pointer") | |||
| 2209 | + | core.PuregoSafeRegister(&xObjectReplaceData, libs, "g_object_replace_data") | |||
| 2210 | + | core.PuregoSafeRegister(&xObjectReplaceQdata, libs, "g_object_replace_qdata") | |||
| 2211 | + | core.PuregoSafeRegister(&xObjectRunDispose, libs, "g_object_run_dispose") | |||
| 2212 | + | core.PuregoSafeRegister(&xObjectSet, libs, "g_object_set") | |||
| 2213 | + | core.PuregoSafeRegister(&xObjectSetData, libs, "g_object_set_data") | |||
| 2214 | + | core.PuregoSafeRegister(&xObjectSetDataFull, libs, "g_object_set_data_full") | |||
| 2215 | + | core.PuregoSafeRegister(&xObjectSetProperty, libs, "g_object_set_property") | |||
| 2216 | + | core.PuregoSafeRegister(&xObjectSetQdata, libs, "g_object_set_qdata") | |||
| 2217 | + | core.PuregoSafeRegister(&xObjectSetQdataFull, libs, "g_object_set_qdata_full") | |||
| 2218 | + | core.PuregoSafeRegister(&xObjectSetValist, libs, "g_object_set_valist") | |||
| 2219 | + | core.PuregoSafeRegister(&xObjectSetv, libs, "g_object_setv") | |||
| 2220 | + | core.PuregoSafeRegister(&xObjectStealData, libs, "g_object_steal_data") | |||
| 2221 | + | core.PuregoSafeRegister(&xObjectStealQdata, libs, "g_object_steal_qdata") | |||
| 2222 | + | core.PuregoSafeRegister(&xObjectTakeRef, libs, "g_object_take_ref") | |||
| 2223 | + | core.PuregoSafeRegister(&xObjectThawNotify, libs, "g_object_thaw_notify") | |||
| 2224 | + | core.PuregoSafeRegister(&xObjectUnref, libs, "g_object_unref") | |||
| 2225 | + | core.PuregoSafeRegister(&xObjectWatchClosure, libs, "g_object_watch_closure") | |||
| 2226 | + | core.PuregoSafeRegister(&xObjectWeakRef, libs, "g_object_weak_ref") | |||
| 2227 | + | core.PuregoSafeRegister(&xObjectWeakUnref, libs, "g_object_weak_unref") | |||
| 2228 | + | ||||
| 2229 | + | core.PuregoSafeRegister(&xObjectCompatControl, libs, "g_object_compat_control") | |||
| 2230 | + | core.PuregoSafeRegister(&xObjectInterfaceFindProperty, libs, "g_object_interface_find_property") | |||
| 2231 | + | core.PuregoSafeRegister(&xObjectInterfaceInstallProperty, libs, "g_object_interface_install_property") | |||
| 2232 | + | core.PuregoSafeRegister(&xObjectInterfaceListProperties, libs, "g_object_interface_list_properties") | |||
| 2233 | + | } | |||
A vendor/github.com/bnema/puregotk/v4/gobject/gparam.go +924 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/gobject/gparamspecs.go +1324 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/gobject/gsignal.go +810 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/gobject/gsignalgroup.go +268 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/gobject/gsourceclosure.go +51 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/gobject/gtype.go +1648 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/gobject/gtypemodule.go +383 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/gobject/gtypeplugin.go +185 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/gobject/gvalue.go +895 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/gobject/gvaluearray.go +214 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/gobject/gvaluecollector.go +11 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/gobject/gvaluetypes.go +52 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/gobject/main.go +28 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/gobject/more.go +154 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/gobject/types/types.go +3 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/graphene/graphene-box.go +391 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/graphene/graphene-config.go +55 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/graphene/graphene-euler.go +399 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/graphene/graphene-frustum.go +163 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/graphene/graphene-macros.go +8 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/graphene/graphene-matrix.go +830 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/graphene/graphene-plane.go +218 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/graphene/graphene-point.go +198 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/graphene/graphene-point3d.go +231 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/graphene/graphene-quad.go +144 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/graphene/graphene-quaternion.go +319 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/graphene/graphene-ray.go +268 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/graphene/graphene-rect.go +464 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/graphene/graphene-size.go +142 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/graphene/graphene-sphere.go +194 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/graphene/graphene-triangle.go +240 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/graphene/graphene-types.go +53 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/graphene/graphene-vec2.go +318 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/graphene/graphene-vec3.go +396 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/graphene/graphene-vec4.go +410 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/gsk/gskblendnode.go +117 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/gsk/gskblurnode.go +98 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/gsk/gskbordernode.go +106 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/gsk/gskbroadwayrenderer.go +97 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/gsk/gskcaironode.go +105 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/gsk/gskcairorenderer.go +98 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/gsk/gskclipnode.go +105 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/gsk/gskcolormatrixnode.go +124 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/gsk/gskcolornode.go +90 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/gsk/gskcomponenttransfer.go +30 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/gsk/gskcomponenttransfernode.go +106 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/gsk/gskcompositenode.go +123 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/gsk/gskconicgradientnode.go +130 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/gsk/gskcontainernode.go +100 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/gsk/gskcopynode.go +91 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/gsk/gskcrossfadenode.go +116 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/gsk/gskdebugnode.go +102 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/gsk/gskenums.go +569 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/gsk/gskfillnode.go +116 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/gsk/gskglrenderer.go +140 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/gsk/gskglshader.go +667 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/gsk/gskglshadernode.go +148 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/gsk/gskinsetshadownode.go +137 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/gsk/gskisolationnode.go +106 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/gsk/gsklineargradientnode.go +166 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/gsk/gskmasknode.go +120 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/gsk/gskopacitynode.go +99 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/gsk/gskoutsetshadownode.go +137 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/gsk/gskpastenode.go +80 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/gsk/gskpath.go +129 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/gsk/gskpathpoint.go +191 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/gsk/gskradialgradientnode.go +195 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/gsk/gskrenderer.go +236 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/gsk/gskrendernode.go +341 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/gsk/gskrenderreplay.go +33 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/gsk/gskrepeatnode.go +105 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/gsk/gskroundedclipnode.go +104 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/gsk/gskroundedrect.go +191 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/gsk/gskshadownode.go +139 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/gsk/gskstroke.go +30 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/gsk/gskstrokenode.go +125 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/gsk/gsksubsurfacenode.go +104 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/gsk/gsktextnode.go +151 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/gsk/gsktexturenode.go +96 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/gsk/gsktexturescalenode.go +111 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/gsk/gsktransform.go +36 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/gsk/gsktransformnode.go +104 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/gsk/gsktypes.go +2087 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/gsk/gskvulkanrenderer.go +96 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/gtk/gtkaboutdialog.go +1284 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/gtk/gtkaccelgroup.go +175 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/gtk/gtkaccessible.go +764 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/gtk/gtkaccessiblehypertext.go +495 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/gtk/gtkaccessiblerange.go +104 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/gtk/gtkaccessibletext.go +579 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/gtk/gtkactionable.go +344 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/gtk/gtkactionbar.go +466 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/gtk/gtkadjustment.go +600 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/gtk/gtkalertdialog.go +400 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/gtk/gtkappchooser.go +134 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/gtk/gtkappchooserbutton.go +657 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/gtk/gtkappchooserdialog.go +561 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/gtk/gtkappchooserwidget.go +681 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/gtk/gtkapplication.go +1025 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/gtk/gtkapplicationwindow.go +952 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/gtk/gtkaspectframe.go +520 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/gtk/gtkassistant.go +1041 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/gtk/gtkatcontext.go +151 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/gtk/gtkbinlayout.go +95 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/gtk/gtkbitset.go +140 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/gtk/gtkbookmarklist.go +324 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/gtk/gtkboolfilter.go +156 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/gtk/gtkborder.go +93 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/gtk/gtkbox.go +591 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/gtk/gtkboxlayout.go +254 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/gtk/gtkbuildable.go +717 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/gtk/gtkbuilder.go +1021 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/gtk/gtkbuilderlistitemfactory.go +216 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/gtk/gtkbuilderscope.go +356 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/gtk/gtkbutton.go +910 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/gtk/gtkcalendar.go +829 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/gtk/gtkcellarea.go +1864 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/gtk/gtkcellareabox.go +249 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/gtk/gtkcellareacontext.go +432 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/gtk/gtkcelleditable.go +224 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/gtk/gtkcelllayout.go +612 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/gtk/gtkcellrenderer.go +1046 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/gtk/gtkcellrendereraccel.go +180 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/gtk/gtkcellrenderercombo.go +174 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/gtk/gtkcellrendererpixbuf.go +109 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/gtk/gtkcellrendererprogress.go +221 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/gtk/gtkcellrendererspin.go +117 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/gtk/gtkcellrendererspinner.go +125 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/gtk/gtkcellrenderertext.go +774 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/gtk/gtkcellrenderertoggle.go +230 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/gtk/gtkcellview.go +696 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/gtk/gtkcenterbox.go +565 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/gtk/gtkcenterlayout.go +271 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/gtk/gtkcheckbutton.go +873 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/gtk/gtkcolorbutton.go +573 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/gtk/gtkcolorchooser.go +305 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/gtk/gtkcolorchooserdialog.go +521 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/gtk/gtkcolorchooserwidget.go +426 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/gtk/gtkcolordialog.go +247 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/gtk/gtkcolordialogbutton.go +491 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/gtk/gtkcolorutils.go +43 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/gtk/gtkcolumnview.go +927 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/gtk/gtkcolumnviewcell.go +219 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/gtk/gtkcolumnviewcolumn.go +469 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/gtk/gtkcolumnviewrow.go +336 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/gtk/gtkcolumnviewsorter.go +180 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/gtk/gtkcombobox.go +1327 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/gtk/gtkcomboboxtext.go +652 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/gtk/gtkconstraint.go +366 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/gtk/gtkconstraintguide.go +318 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/gtk/gtkconstraintlayout.go +559 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/gtk/gtkcssenums.go +40 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/gtk/gtkcsserror.go +40 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/gtk/gtkcsslocation.go +34 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/gtk/gtkcssprovider.go +267 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/gtk/gtkcsssection.go +203 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/gtk/gtkcustomfilter.go +119 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/gtk/gtkcustomlayout.go +109 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/gtk/gtkcustomsorter.go +111 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/gtk/gtkdebug.go +107 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/gtk/gtkdialog.go +1022 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/gtk/gtkdialogerror.go +58 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/gtk/gtkdirectorylist.go +418 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/gtk/gtkdragicon.go +532 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/gtk/gtkdragsource.go +391 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/gtk/gtkdrawingarea.go +604 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/gtk/gtkdropcontrollermotion.go +237 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/gtk/gtkdropdown.go +756 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/gtk/gtkdroptarget.go +539 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/gtk/gtkdroptargetasync.go +347 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/gtk/gtkeditable.go +1008 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/gtk/gtkeditablelabel.go +695 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/gtk/gtkemojichooser.go +474 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/gtk/gtkentry.go +2253 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/gtk/gtkentrybuffer.go +666 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/gtk/gtkentrycompletion.go +764 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/gtk/gtkenums.go +2312 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/gtk/gtkeventcontroller.go +264 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/gtk/gtkeventcontrollerfocus.go +209 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/gtk/gtkeventcontrollerkey.go +243 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/gtk/gtkeventcontrollerlegacy.go +118 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/gtk/gtkeventcontrollermotion.go +214 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/gtk/gtkeventcontrollerscroll.go +291 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/gtk/gtkexpander.go +730 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/gtk/gtkexpression.go +992 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/gtk/gtkfilechooser.go +602 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/gtk/gtkfilechooserdialog.go +945 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/gtk/gtkfilechoosernative.go +670 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/gtk/gtkfilechooserwidget.go +1095 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/gtk/gtkfiledialog.go +706 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/gtk/gtkfilefilter.go +327 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/gtk/gtkfilelauncher.go +254 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/gtk/gtkfilter.go +494 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/gtk/gtkfilterlistmodel.go +407 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/gtk/gtkfixed.go +453 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/gtk/gtkfixedlayout.go +207 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/gtk/gtkflattenlistmodel.go +262 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/gtk/gtkflowbox.go +1627 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/gtk/gtkfontbutton.go +763 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/gtk/gtkfontchooser.go +692 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/gtk/gtkfontchooserdialog.go +654 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/gtk/gtkfontchooserwidget.go +543 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/gtk/gtkfontdialog.go +411 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/gtk/gtkfontdialogbutton.go +712 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/gtk/gtkframe.go +564 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/gtk/gtkgesture.go +646 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/gtk/gtkgestureclick.go +199 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/gtk/gtkgesturedrag.go +194 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/gtk/gtkgesturelongpress.go +190 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/gtk/gtkgesturepan.go +144 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/gtk/gtkgesturerotate.go +131 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/gtk/gtkgesturesingle.go +232 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/gtk/gtkgesturestylus.go +299 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/gtk/gtkgestureswipe.go +140 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/gtk/gtkgesturezoom.go +133 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/gtk/gtkglarea.go +1000 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/gtk/gtkgraphicsoffload.go +499 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/gtk/gtkgrid.go +780 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/gtk/gtkgridlayout.go +488 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/gtk/gtkgridview.go +758 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/gtk/gtkheaderbar.go +637 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/gtk/gtkiconpaintable.go +359 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/gtk/gtkicontheme.go +538 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/gtk/gtkiconview.go +1772 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/gtk/gtkimage.go +879 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/gtk/gtkimcontext.go +1251 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/gtk/gtkimcontextsimple.go +175 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/gtk/gtkimmodule.go +7 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/gtk/gtkimmulticontext.go +238 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/gtk/gtkinfobar.go +703 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/gtk/gtkinscription.go +873 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/gtk/gtklabel.go +1725 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/gtk/gtklayoutchild.go +118 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/gtk/gtklayoutmanager.go +413 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/gtk/gtklevelbar.go +713 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/gtk/gtklinkbutton.go +591 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/gtk/gtklistbase.go +447 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/gtk/gtklistbox.go +1777 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/gtk/gtklistheader.go +188 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/gtk/gtklistitem.go +381 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/gtk/gtklistitemfactory.go +100 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/gtk/gtkliststore.go +938 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/gtk/gtklistview.go +815 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/gtk/gtklockbutton.go +582 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/gtk/gtkmain.go +185 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/gtk/gtkmaplistmodel.go +321 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/gtk/gtkmediacontrols.go +388 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/gtk/gtkmediafile.go +566 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/gtk/gtkmediastream.go +1149 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/gtk/gtkmenubutton.go +905 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/gtk/gtkmessagedialog.go +761 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/gtk/gtkmountoperation.go +294 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/gtk/gtkmultifilter.go +531 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/gtk/gtkmultiselection.go +362 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/gtk/gtkmultisorter.go +226 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/gtk/gtknative.go +175 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/gtk/gtknativedialog.go +475 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/gtk/gtknoselection.go +367 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/gtk/gtknotebook.go +1549 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/gtk/gtknumericsorter.go +147 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/gtk/gtkorientable.go +101 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/gtk/gtkoverlay.go +494 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/gtk/gtkoverlaylayout.go +216 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/gtk/gtkpadcontroller.go +234 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/gtk/gtkpagesetup.go +447 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/gtk/gtkpagesetupunixdialog.go +507 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/gtk/gtkpaned.go +928 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/gtk/gtkpapersize.go +364 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/gtk/gtkpasswordentry.go +765 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/gtk/gtkpasswordentrybuffer.go +93 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/gtk/gtkpicture.go +832 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/gtk/gtkpopover.go +923 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/gtk/gtkpopoverbin.go +526 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/gtk/gtkpopovermenu.go +634 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/gtk/gtkpopovermenubar.go +416 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/gtk/gtkprintcontext.go +276 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/gtk/gtkprintdialog.go +489 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/gtk/gtkprinter.go +556 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/gtk/gtkprintjob.go +473 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/gtk/gtkprintoperation.go +1910 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/gtk/gtkprintoperationpreview.go +442 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/gtk/gtkprintsettings.go +968 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/gtk/gtkprintunixdialog.go +754 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/gtk/gtkprogressbar.go +658 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/gtk/gtkrange.go +957 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/gtk/gtkrecentmanager.go +902 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/gtk/gtkrender.go +169 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/gtk/gtkrevealer.go +544 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/gtk/gtkroot.go +143 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/gtk/gtkscale.go +735 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/gtk/gtkscalebutton.go +730 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/gtk/gtkscrollable.go +234 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/gtk/gtkscrollbar.go +417 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/gtk/gtkscrolledwindow.go +1157 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/gtk/gtksearchbar.go +539 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/gtk/gtksearchentry.go +973 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/gtk/gtksectionmodel.go +159 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/gtk/gtkselectionfiltermodel.go +219 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/gtk/gtkselectionmodel.go +564 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/gtk/gtkseparator.go +362 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/gtk/gtksettings.go +1343 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/gtk/gtkshortcut.go +218 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/gtk/gtkshortcutaction.go +662 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/gtk/gtkshortcutcontroller.go +336 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/gtk/gtkshortcutlabel.go +427 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/gtk/gtkshortcutmanager.go +128 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/gtk/gtkshortcutsgroup.go +424 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/gtk/gtkshortcutssection.go +520 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/gtk/gtkshortcutsshortcut.go +532 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/gtk/gtkshortcutswindow.go +607 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/gtk/gtkshortcuttrigger.go +617 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/gtk/gtkshow.go +61 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/gtk/gtksignallistitemfactory.go +252 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/gtk/gtksingleselection.go +510 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/gtk/gtksizegroup.go +250 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/gtk/gtksizerequest.go +64 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/gtk/gtkslicelistmodel.go +327 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/gtk/gtksnapshot.go +823 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/gtk/gtksorter.go +491 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/gtk/gtksortlistmodel.go +407 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/gtk/gtkspinbutton.go +1409 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/gtk/gtkspinner.go +405 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/gtk/gtkstack.go +1385 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/gtk/gtkstacksidebar.go +382 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/gtk/gtkstackswitcher.go +405 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/gtk/gtkstatusbar.go +471 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/gtk/gtkstringfilter.go +248 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/gtk/gtkstringlist.go +404 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/gtk/gtkstringsorter.go +207 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/gtk/gtkstylecontext.go +513 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/gtk/gtkstyleprovider.go +67 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/gtk/gtksvg.go +875 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/gtk/gtkswitch.go +606 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/gtk/gtksymbolicpaintable.go +177 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/gtk/gtktestatcontext.go +96 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/gtk/gtktestutils.go +73 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/gtk/gtktext.go +1730 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/gtk/gtktextbuffer.go +2252 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/gtk/gtktextchild.go +246 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/gtk/gtktextiter.go +1393 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/gtk/gtktextmark.go +259 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/gtk/gtktexttag.go +1583 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/gtk/gtktexttagtable.go +246 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/gtk/gtktextview.go +2802 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/gtk/gtktogglebutton.go +674 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/gtk/gtktooltip.go +169 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/gtk/gtktreednd.go +395 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/gtk/gtktreeexpander.go +615 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/gtk/gtktreelistmodel.go +599 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/gtk/gtktreelistrowsorter.go +136 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/gtk/gtktreemodel.go +1750 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/gtk/gtktreemodelfilter.go +742 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/gtk/gtktreemodelsort.go +693 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/gtk/gtktreeselection.go +326 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/gtk/gtktreesortable.go +362 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/gtk/gtktreestore.go +890 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/gtk/gtktreeview.go +2663 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/gtk/gtktreeviewcolumn.go +994 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/gtk/gtktypes.go +513 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/gtk/gtkurilauncher.go +182 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/gtk/gtkversion.go +145 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/gtk/gtkvideo.go +632 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/gtk/gtkviewport.go +512 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/gtk/gtkvolumebutton.go +377 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/gtk/gtkwidget.go +5627 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/gtk/gtkwidgetpaintable.go +269 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/gtk/gtkwindow.go +2140 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/gtk/gtkwindowcontrols.go +556 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/gtk/gtkwindowgroup.go +239 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/gtk/gtkwindowhandle.go +394 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/gtk/main.go +30 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/javascriptcore/JSCClass.go +524 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/javascriptcore/JSCContext.go +417 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/javascriptcore/JSCException.go +256 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/javascriptcore/JSCOptions.go +228 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/javascriptcore/JSCValue.go +1072 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/javascriptcore/JSCVersion.go +81 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/javascriptcore/JSCVirtualMachine.go +96 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/javascriptcore/JSCWeakValue.go +135 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/layershell/gtk4-layer-shell.go +340 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/pango/main.go +30 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/pango/pango-attributes.go +1798 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/pango/pango-bidi-type.go +138 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/pango/pango-break.go +144 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/pango/pango-color.go +135 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/pango/pango-context.go +422 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/pango/pango-coverage.go +211 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/pango/pango-direction.go +50 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/pango/pango-features.go +13 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/pango/pango-font.go +2313 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/pango/pango-fontmap.go +580 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/pango/pango-fontset-simple.go +112 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/pango/pango-fontset.go +374 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/pango/pango-glyph-item.go +308 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/pango/pango-glyph.go +439 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/pango/pango-gravity.go +151 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/pango/pango-item.go +257 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/pango/pango-language.go +110 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/pango/pango-layout.go +1777 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/pango/pango-markup.go +106 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/pango/pango-matrix.go +246 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/pango/pango-renderer.go +782 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/pango/pango-script.go +427 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/pango/pango-tabs.go +281 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/pango/pango-types.go +250 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/pango/pango-utils.go +293 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/soup/soup-auth-basic.go +36 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/soup/soup-auth-digest.go +36 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/soup/soup-auth-domain-basic.go +152 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/soup/soup-auth-domain-digest.go +166 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/soup/soup-auth-domain.go +403 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/soup/soup-auth-manager.go +116 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/soup/soup-auth-negotiate.go +74 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/soup/soup-auth-ntlm.go +36 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/soup/soup-auth.go +536 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/soup/soup-cache.go +249 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/soup/soup-content-decoder.go +79 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/soup/soup-content-sniffer.go +112 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/soup/soup-cookie-jar-db.go +121 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/soup/soup-cookie-jar-text.go +117 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/soup/soup-cookie-jar.go +466 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/soup/soup-cookie.go +166 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/soup/soup-date-utils.go +76 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/soup/soup-form.go +150 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/soup/soup-headers.go +245 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/soup/soup-hsts-enforcer-db.go +118 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/soup/soup-hsts-enforcer.go +313 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/soup/soup-hsts-policy.go +7 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/soup/soup-logger.go +273 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/soup/soup-message-body.go +284 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/soup/soup-message-headers.go +626 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/soup/soup-message.go +1419 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/soup/soup-multipart-input-stream.go +264 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/soup/soup-multipart.go +164 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/soup/soup-server-message.go +693 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/soup/soup-server.go +996 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/soup/soup-session-feature.go +61 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/soup/soup-session.go +1383 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/soup/soup-status.go +204 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/soup/soup-tld.go +105 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/soup/soup-types.go +816 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/soup/soup-uri-utils.go +104 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/soup/soup-version.go +111 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/soup/soup-websocket-connection.go +630 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/soup/soup-websocket-extension-deflate.go +59 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/soup/soup-websocket-extension-manager.go +63 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/soup/soup-websocket-extension.go +333 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/soup/soup-websocket.go +276 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/webkit/WebKitApplicationInfo.go +135 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/webkit/WebKitAuthenticationRequest.go +342 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/webkit/WebKitAutomationSession.go +222 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/webkit/WebKitBackForwardList.go +250 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/webkit/WebKitBackForwardListItem.go +115 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/webkit/WebKitClipboardPermissionRequest.go +73 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/webkit/WebKitColorChooserRequest.go +189 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/webkit/WebKitContextMenu.go +346 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/webkit/WebKitContextMenuActions.go +112 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/webkit/WebKitContextMenuItem.go +284 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/webkit/WebKitCookieManager.go +353 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/webkit/WebKitCredential.go +188 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/webkit/WebKitDeviceInfoPermissionRequest.go +74 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/webkit/WebKitDownload.go +433 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/webkit/WebKitEditingCommands.go +61 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/webkit/WebKitEditorState.go +200 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/webkit/WebKitError.go +335 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/webkit/WebKitFaviconDatabase.go +205 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/webkit/WebKitFeature.go +325 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/webkit/WebKitFileChooserRequest.go +226 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/webkit/WebKitFindController.go +356 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/webkit/WebKitFormSubmissionRequest.go +110 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/webkit/WebKitGeolocationManager.go +285 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/webkit/WebKitGeolocationPermissionRequest.go +89 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/webkit/WebKitHitTestResult.go +355 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/webkit/WebKitImage.go +275 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/webkit/WebKitInputMethodContext.go +1260 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/webkit/WebKitMediaKeySystemPermissionRequest.go +108 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/webkit/WebKitMemoryPressureSettings.go +211 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/webkit/WebKitNavigationAction.go +184 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/webkit/WebKitNavigationPolicyDecision.go +103 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/webkit/WebKitNetworkProxySettings.go +153 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/webkit/WebKitNetworkSession.go +425 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/webkit/WebKitNotification.go +216 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/webkit/WebKitNotificationPermissionRequest.go +73 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/webkit/WebKitOptionMenu.go +191 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/webkit/WebKitOptionMenuItem.go +129 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/webkit/WebKitPermissionRequest.go +153 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/webkit/WebKitPermissionStateQuery.go +135 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/webkit/WebKitPointerLockPermissionRequest.go +73 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/webkit/WebKitPolicyDecision.go +348 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/webkit/WebKitPrintOperation.go +283 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/webkit/WebKitResponsePolicyDecision.go +148 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/webkit/WebKitScriptDialog.go +178 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/webkit/WebKitSecurityManager.go +218 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/webkit/WebKitSecurityOrigin.go +164 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/webkit/WebKitSettings.go +2513 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/webkit/WebKitURIRequest.go +157 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/webkit/WebKitURIResponse.go +200 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/webkit/WebKitURISchemeRequest.go +201 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/webkit/WebKitURISchemeResponse.go +151 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/webkit/WebKitURIUtilities.go +36 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/webkit/WebKitUserContent.go +329 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/webkit/WebKitUserContentFilterStore.go +295 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/webkit/WebKitUserContentManager.go +430 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/webkit/WebKitUserMediaPermissionRequest.go +139 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/webkit/WebKitUserMessage.go +241 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/webkit/WebKitVersion.go +84 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/webkit/WebKitWebContext.go +649 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/webkit/WebKitWebExtension.go +608 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/webkit/WebKitWebExtensionMatchPattern.go +261 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/webkit/WebKitWebInspector.go +392 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/webkit/WebKitWebResource.go +290 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/webkit/WebKitWebView.go +4693 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/webkit/WebKitWebViewBase.go +433 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/webkit/WebKitWebViewGtk4.go +43 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/webkit/WebKitWebViewSessionState.go +103 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/webkit/WebKitWebsiteData.go +127 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/webkit/WebKitWebsiteDataAccessPermissionRequest.go +113 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/webkit/WebKitWebsiteDataManager.go +544 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/webkit/WebKitWebsitePolicies.go +151 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/webkit/WebKitWindowProperties.go +342 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/webkit/WebKitXRPermissionRequest.go +247 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/webkit/more.go +228 -0 collapsed to keep the page light
A vendor/github.com/cenkalti/backoff/v4/.gitignore +25 -0 collapsed to keep the page light
A vendor/github.com/cenkalti/backoff/v4/LICENSE +20 -0 collapsed to keep the page light
A vendor/github.com/cenkalti/backoff/v4/README.md +30 -0 collapsed to keep the page light
A vendor/github.com/cenkalti/backoff/v4/backoff.go +66 -0 collapsed to keep the page light
A vendor/github.com/cenkalti/backoff/v4/context.go +62 -0 collapsed to keep the page light
A vendor/github.com/cenkalti/backoff/v4/exponential.go +216 -0 collapsed to keep the page light
A vendor/github.com/cenkalti/backoff/v4/retry.go +146 -0 collapsed to keep the page light
A vendor/github.com/cenkalti/backoff/v4/ticker.go +97 -0 collapsed to keep the page light
A vendor/github.com/cenkalti/backoff/v4/timer.go +35 -0 collapsed to keep the page light
A vendor/github.com/cenkalti/backoff/v4/tries.go +38 -0 collapsed to keep the page light
A vendor/github.com/charmbracelet/bubbles/LICENSE +21 -0 collapsed to keep the page light
A vendor/github.com/charmbracelet/bubbles/cursor/cursor.go +221 -0 collapsed to keep the page light
A vendor/github.com/charmbracelet/bubbles/help/help.go +240 -0 collapsed to keep the page light
A vendor/github.com/charmbracelet/bubbles/key/key.go +140 -0 collapsed to keep the page light
A vendor/github.com/charmbracelet/bubbles/list/README.md +71 -0 collapsed to keep the page light
A vendor/github.com/charmbracelet/bubbles/list/defaultitem.go +229 -0 collapsed to keep the page light
A vendor/github.com/charmbracelet/bubbles/list/keys.go +97 -0 collapsed to keep the page light
A vendor/github.com/charmbracelet/bubbles/list/list.go +1330 -0 collapsed to keep the page light
A vendor/github.com/charmbracelet/bubbles/list/style.go +99 -0 collapsed to keep the page light
A vendor/github.com/charmbracelet/bubbles/paginator/paginator.go +214 -0 collapsed to keep the page light
A vendor/github.com/charmbracelet/bubbles/runeutil/runeutil.go +102 -0 collapsed to keep the page light
A vendor/github.com/charmbracelet/bubbles/spinner/spinner.go +224 -0 collapsed to keep the page light
A vendor/github.com/charmbracelet/bubbles/table/table.go +450 -0 collapsed to keep the page light
A vendor/github.com/charmbracelet/bubbles/textinput/textinput.go +890 -0 collapsed to keep the page light
A vendor/github.com/charmbracelet/bubbles/viewport/keymap.go +60 -0 collapsed to keep the page light
A vendor/github.com/charmbracelet/bubbles/viewport/viewport.go +544 -0 collapsed to keep the page light
A vendor/github.com/charmbracelet/bubbletea/.gitattributes +1 -0 collapsed to keep the page light
A vendor/github.com/charmbracelet/bubbletea/.gitignore +23 -0 collapsed to keep the page light
A vendor/github.com/charmbracelet/bubbletea/.golangci.yml +44 -0 collapsed to keep the page light
A vendor/github.com/charmbracelet/bubbletea/.goreleaser.yml +5 -0 collapsed to keep the page light
A vendor/github.com/charmbracelet/bubbletea/LICENSE +21 -0 collapsed to keep the page light
A vendor/github.com/charmbracelet/bubbletea/README.md +400 -0 collapsed to keep the page light
A vendor/github.com/charmbracelet/bubbletea/Taskfile.yaml +14 -0 collapsed to keep the page light
A vendor/github.com/charmbracelet/bubbletea/commands.go +222 -0 collapsed to keep the page light
A vendor/github.com/charmbracelet/bubbletea/exec.go +133 -0 collapsed to keep the page light
A vendor/github.com/charmbracelet/bubbletea/focus.go +9 -0 collapsed to keep the page light
A vendor/github.com/charmbracelet/bubbletea/inputreader_other.go +19 -0 collapsed to keep the page light
A vendor/github.com/charmbracelet/bubbletea/inputreader_windows.go +129 -0 collapsed to keep the page light
A vendor/github.com/charmbracelet/bubbletea/key.go +715 -0 collapsed to keep the page light
A vendor/github.com/charmbracelet/bubbletea/key_other.go +13 -0 collapsed to keep the page light
A vendor/github.com/charmbracelet/bubbletea/key_sequences.go +130 -0 collapsed to keep the page light
A vendor/github.com/charmbracelet/bubbletea/key_windows.go +441 -0 collapsed to keep the page light
A vendor/github.com/charmbracelet/bubbletea/logging.go +53 -0 collapsed to keep the page light
A vendor/github.com/charmbracelet/bubbletea/mouse.go +308 -0 collapsed to keep the page light
A vendor/github.com/charmbracelet/bubbletea/nil_renderer.go +29 -0 collapsed to keep the page light
A vendor/github.com/charmbracelet/bubbletea/options.go +252 -0 collapsed to keep the page light
A vendor/github.com/charmbracelet/bubbletea/renderer.go +88 -0 collapsed to keep the page light
A vendor/github.com/charmbracelet/bubbletea/screen.go +248 -0 collapsed to keep the page light
A vendor/github.com/charmbracelet/bubbletea/signals_unix.go +33 -0 collapsed to keep the page light
A vendor/github.com/charmbracelet/bubbletea/signals_windows.go +10 -0 collapsed to keep the page light
A vendor/github.com/charmbracelet/bubbletea/standard_renderer.go +790 -0 collapsed to keep the page light
A vendor/github.com/charmbracelet/bubbletea/tea.go +941 -0 collapsed to keep the page light
A vendor/github.com/charmbracelet/bubbletea/tea_init.go +22 -0 collapsed to keep the page light
A vendor/github.com/charmbracelet/bubbletea/tty.go +141 -0 collapsed to keep the page light
A vendor/github.com/charmbracelet/bubbletea/tty_unix.go +49 -0 collapsed to keep the page light
A vendor/github.com/charmbracelet/bubbletea/tty_windows.go +68 -0 collapsed to keep the page light
A vendor/github.com/charmbracelet/colorprofile/.golangci.yml +47 -0 collapsed to keep the page light
A vendor/github.com/charmbracelet/colorprofile/.goreleaser.yml +6 -0 collapsed to keep the page light
A vendor/github.com/charmbracelet/colorprofile/LICENSE +21 -0 collapsed to keep the page light
A vendor/github.com/charmbracelet/colorprofile/README.md +109 -0 collapsed to keep the page light
A vendor/github.com/charmbracelet/colorprofile/doc.go +4 -0 collapsed to keep the page light
A vendor/github.com/charmbracelet/colorprofile/env.go +294 -0 collapsed to keep the page light
A vendor/github.com/charmbracelet/colorprofile/env_other.go +8 -0 collapsed to keep the page light
A vendor/github.com/charmbracelet/colorprofile/env_windows.go +40 -0 collapsed to keep the page light
A vendor/github.com/charmbracelet/colorprofile/profile.go +108 -0 collapsed to keep the page light
A vendor/github.com/charmbracelet/colorprofile/writer.go +171 -0 collapsed to keep the page light
A vendor/github.com/charmbracelet/lipgloss/.gitignore +2 -0 collapsed to keep the page light
A vendor/github.com/charmbracelet/lipgloss/.golangci.yml +41 -0 collapsed to keep the page light
A vendor/github.com/charmbracelet/lipgloss/.goreleaser.yml +5 -0 collapsed to keep the page light
A vendor/github.com/charmbracelet/lipgloss/LICENSE +21 -0 collapsed to keep the page light
A vendor/github.com/charmbracelet/lipgloss/README.md +815 -0 collapsed to keep the page light
A vendor/github.com/charmbracelet/lipgloss/Taskfile.yaml +19 -0 collapsed to keep the page light
A vendor/github.com/charmbracelet/lipgloss/align.go +83 -0 collapsed to keep the page light
A vendor/github.com/charmbracelet/lipgloss/ansi_unix.go +7 -0 collapsed to keep the page light
A vendor/github.com/charmbracelet/lipgloss/ansi_windows.go +22 -0 collapsed to keep the page light
A vendor/github.com/charmbracelet/lipgloss/borders.go +490 -0 collapsed to keep the page light
A vendor/github.com/charmbracelet/lipgloss/color.go +172 -0 collapsed to keep the page light
A vendor/github.com/charmbracelet/lipgloss/get.go +556 -0 collapsed to keep the page light
A vendor/github.com/charmbracelet/lipgloss/join.go +175 -0 collapsed to keep the page light
A vendor/github.com/charmbracelet/lipgloss/position.go +154 -0 collapsed to keep the page light
A vendor/github.com/charmbracelet/lipgloss/ranges.go +48 -0 collapsed to keep the page light
A vendor/github.com/charmbracelet/lipgloss/renderer.go +181 -0 collapsed to keep the page light
A vendor/github.com/charmbracelet/lipgloss/runes.go +43 -0 collapsed to keep the page light
A vendor/github.com/charmbracelet/lipgloss/set.go +799 -0 collapsed to keep the page light
A vendor/github.com/charmbracelet/lipgloss/size.go +41 -0 collapsed to keep the page light
A vendor/github.com/charmbracelet/lipgloss/style.go +588 -0 collapsed to keep the page light
A vendor/github.com/charmbracelet/lipgloss/unset.go +331 -0 collapsed to keep the page light
A vendor/github.com/charmbracelet/lipgloss/whitespace.go +83 -0 collapsed to keep the page light
A vendor/github.com/charmbracelet/x/ansi/LICENSE +21 -0 collapsed to keep the page light
A vendor/github.com/charmbracelet/x/ansi/ansi.go +11 -0 collapsed to keep the page light
A vendor/github.com/charmbracelet/x/ansi/ascii.go +8 -0 collapsed to keep the page light
A vendor/github.com/charmbracelet/x/ansi/background.go +178 -0 collapsed to keep the page light
A vendor/github.com/charmbracelet/x/ansi/c0.go +79 -0 collapsed to keep the page light
A vendor/github.com/charmbracelet/x/ansi/c1.go +72 -0 collapsed to keep the page light
A vendor/github.com/charmbracelet/x/ansi/charset.go +55 -0 collapsed to keep the page light
A vendor/github.com/charmbracelet/x/ansi/clipboard.go +75 -0 collapsed to keep the page light
A vendor/github.com/charmbracelet/x/ansi/color.go +784 -0 collapsed to keep the page light
A vendor/github.com/charmbracelet/x/ansi/ctrl.go +156 -0 collapsed to keep the page light
A vendor/github.com/charmbracelet/x/ansi/cursor.go +637 -0 collapsed to keep the page light
A vendor/github.com/charmbracelet/x/ansi/cwd.go +26 -0 collapsed to keep the page light
A vendor/github.com/charmbracelet/x/ansi/doc.go +7 -0 collapsed to keep the page light
A vendor/github.com/charmbracelet/x/ansi/finalterm.go +67 -0 collapsed to keep the page light
A vendor/github.com/charmbracelet/x/ansi/focus.go +9 -0 collapsed to keep the page light
A vendor/github.com/charmbracelet/x/ansi/graphics.go +62 -0 collapsed to keep the page light
A vendor/github.com/charmbracelet/x/ansi/hyperlink.go +28 -0 collapsed to keep the page light
A vendor/github.com/charmbracelet/x/ansi/inband.go +24 -0 collapsed to keep the page light
A vendor/github.com/charmbracelet/x/ansi/iterm2.go +18 -0 collapsed to keep the page light
A vendor/github.com/charmbracelet/x/ansi/keypad.go +28 -0 collapsed to keep the page light
A vendor/github.com/charmbracelet/x/ansi/kitty.go +90 -0 collapsed to keep the page light
A vendor/github.com/charmbracelet/x/ansi/method.go +196 -0 collapsed to keep the page light
A vendor/github.com/charmbracelet/x/ansi/mode.go +690 -0 collapsed to keep the page light
A vendor/github.com/charmbracelet/x/ansi/mode_deprecated.go +495 -0 collapsed to keep the page light
A vendor/github.com/charmbracelet/x/ansi/modes.go +65 -0 collapsed to keep the page light
A vendor/github.com/charmbracelet/x/ansi/mouse.go +172 -0 collapsed to keep the page light
A vendor/github.com/charmbracelet/x/ansi/notification.go +32 -0 collapsed to keep the page light
A vendor/github.com/charmbracelet/x/ansi/palette.go +34 -0 collapsed to keep the page light
A vendor/github.com/charmbracelet/x/ansi/parser.go +417 -0 collapsed to keep the page light
A vendor/github.com/charmbracelet/x/ansi/parser/const.go +79 -0 collapsed to keep the page light
A vendor/github.com/charmbracelet/x/ansi/parser/seq.go +136 -0 collapsed to keep the page light
A vendor/github.com/charmbracelet/x/ansi/parser/transition_table.go +273 -0 collapsed to keep the page light
A vendor/github.com/charmbracelet/x/ansi/parser_decode.go +525 -0 collapsed to keep the page light
A vendor/github.com/charmbracelet/x/ansi/parser_handler.go +60 -0 collapsed to keep the page light
A vendor/github.com/charmbracelet/x/ansi/parser_sync.go +29 -0 collapsed to keep the page light
A vendor/github.com/charmbracelet/x/ansi/passthrough.go +60 -0 collapsed to keep the page light
A vendor/github.com/charmbracelet/x/ansi/paste.go +7 -0 collapsed to keep the page light
A vendor/github.com/charmbracelet/x/ansi/progress.go +49 -0 collapsed to keep the page light
A vendor/github.com/charmbracelet/x/ansi/reset.go +11 -0 collapsed to keep the page light
A vendor/github.com/charmbracelet/x/ansi/screen.go +410 -0 collapsed to keep the page light
A vendor/github.com/charmbracelet/x/ansi/sgr.go +79 -0 collapsed to keep the page light
A vendor/github.com/charmbracelet/x/ansi/status.go +168 -0 collapsed to keep the page light
A vendor/github.com/charmbracelet/x/ansi/style.go +819 -0 collapsed to keep the page light
A vendor/github.com/charmbracelet/x/ansi/termcap.go +41 -0 collapsed to keep the page light
A vendor/github.com/charmbracelet/x/ansi/title.go +48 -0 collapsed to keep the page light
A vendor/github.com/charmbracelet/x/ansi/truncate.go +290 -0 collapsed to keep the page light
A vendor/github.com/charmbracelet/x/ansi/urxvt.go +17 -0 collapsed to keep the page light
A vendor/github.com/charmbracelet/x/ansi/util.go +92 -0 collapsed to keep the page light
A vendor/github.com/charmbracelet/x/ansi/width.go +107 -0 collapsed to keep the page light
A vendor/github.com/charmbracelet/x/ansi/winop.go +59 -0 collapsed to keep the page light
A vendor/github.com/charmbracelet/x/ansi/wrap.go +472 -0 collapsed to keep the page light
A vendor/github.com/charmbracelet/x/ansi/xterm.go +138 -0 collapsed to keep the page light
A vendor/github.com/charmbracelet/x/cellbuf/LICENSE +21 -0 collapsed to keep the page light
A vendor/github.com/charmbracelet/x/cellbuf/buffer.go +474 -0 collapsed to keep the page light
A vendor/github.com/charmbracelet/x/cellbuf/cell.go +487 -0 collapsed to keep the page light
A vendor/github.com/charmbracelet/x/cellbuf/errors.go +6 -0 collapsed to keep the page light
A vendor/github.com/charmbracelet/x/cellbuf/geom.go +21 -0 collapsed to keep the page light
A vendor/github.com/charmbracelet/x/cellbuf/hardscroll.go +273 -0 collapsed to keep the page light
A vendor/github.com/charmbracelet/x/cellbuf/hashmap.go +301 -0 collapsed to keep the page light
A vendor/github.com/charmbracelet/x/cellbuf/link.go +14 -0 collapsed to keep the page light
A vendor/github.com/charmbracelet/x/cellbuf/pen.go +92 -0 collapsed to keep the page light
A vendor/github.com/charmbracelet/x/cellbuf/screen.go +1514 -0 collapsed to keep the page light
A vendor/github.com/charmbracelet/x/cellbuf/sequence.go +131 -0 collapsed to keep the page light
A vendor/github.com/charmbracelet/x/cellbuf/style.go +31 -0 collapsed to keep the page light
A vendor/github.com/charmbracelet/x/cellbuf/tabstop.go +137 -0 collapsed to keep the page light
A vendor/github.com/charmbracelet/x/cellbuf/utils.go +24 -0 collapsed to keep the page light
A vendor/github.com/charmbracelet/x/cellbuf/wrap.go +191 -0 collapsed to keep the page light
A vendor/github.com/charmbracelet/x/cellbuf/writer.go +340 -0 collapsed to keep the page light
A vendor/github.com/charmbracelet/x/term/LICENSE +21 -0 collapsed to keep the page light
A vendor/github.com/charmbracelet/x/term/term.go +51 -0 collapsed to keep the page light
A vendor/github.com/charmbracelet/x/term/term_other.go +39 -0 collapsed to keep the page light
A vendor/github.com/charmbracelet/x/term/term_plan9.go +118 -0 collapsed to keep the page light
A vendor/github.com/charmbracelet/x/term/term_unix.go +96 -0 collapsed to keep the page light
A vendor/github.com/charmbracelet/x/term/term_unix_bsd.go +11 -0 collapsed to keep the page light
A vendor/github.com/charmbracelet/x/term/term_unix_other.go +11 -0 collapsed to keep the page light
A vendor/github.com/charmbracelet/x/term/term_windows.go +87 -0 collapsed to keep the page light
A vendor/github.com/charmbracelet/x/term/terminal.go +12 -0 collapsed to keep the page light
A vendor/github.com/charmbracelet/x/term/util.go +47 -0 collapsed to keep the page light
A vendor/github.com/cli/browser/LICENSE +23 -0 collapsed to keep the page light
A vendor/github.com/cli/browser/README.md +20 -0 collapsed to keep the page light
A vendor/github.com/cli/browser/browser.go +57 -0 collapsed to keep the page light
A vendor/github.com/cli/browser/browser_darwin.go +5 -0 collapsed to keep the page light
A vendor/github.com/cli/browser/browser_freebsd.go +15 -0 collapsed to keep the page light
A vendor/github.com/cli/browser/browser_linux.go +21 -0 collapsed to keep the page light
A vendor/github.com/cli/browser/browser_netbsd.go +14 -0 collapsed to keep the page light
A vendor/github.com/cli/browser/browser_openbsd.go +15 -0 collapsed to keep the page light
A vendor/github.com/cli/browser/browser_unsupported.go +12 -0 collapsed to keep the page light
A vendor/github.com/cli/browser/browser_windows.go +7 -0 collapsed to keep the page light
A vendor/github.com/clipperhouse/displaywidth/.gitignore +3 -0 collapsed to keep the page light
A vendor/github.com/clipperhouse/displaywidth/AGENTS.md +51 -0 collapsed to keep the page light
A vendor/github.com/clipperhouse/displaywidth/CHANGELOG.md +129 -0 collapsed to keep the page light
A vendor/github.com/clipperhouse/displaywidth/LICENSE +21 -0 collapsed to keep the page light
A vendor/github.com/clipperhouse/displaywidth/README.md +190 -0 collapsed to keep the page light
A vendor/github.com/clipperhouse/displaywidth/gen.go +3 -0 collapsed to keep the page light
A vendor/github.com/clipperhouse/displaywidth/graphemes.go +73 -0 collapsed to keep the page light
A vendor/github.com/clipperhouse/displaywidth/options.go +30 -0 collapsed to keep the page light
A vendor/github.com/clipperhouse/displaywidth/trie.go +1699 -0 collapsed to keep the page light
A vendor/github.com/clipperhouse/displaywidth/truncate.go +149 -0 collapsed to keep the page light
A vendor/github.com/clipperhouse/displaywidth/width.go +239 -0 collapsed to keep the page light
A vendor/github.com/clipperhouse/uax29/v2/LICENSE +21 -0 collapsed to keep the page light
A vendor/github.com/clipperhouse/uax29/v2/graphemes/README.md +120 -0 collapsed to keep the page light
A vendor/github.com/clipperhouse/uax29/v2/graphemes/ansi.go +138 -0 collapsed to keep the page light
A vendor/github.com/clipperhouse/uax29/v2/graphemes/ansi8.go +79 -0 collapsed to keep the page light
A vendor/github.com/clipperhouse/uax29/v2/graphemes/iterator.go +144 -0 collapsed to keep the page light
A vendor/github.com/clipperhouse/uax29/v2/graphemes/reader.go +25 -0 collapsed to keep the page light
A vendor/github.com/clipperhouse/uax29/v2/graphemes/splitfunc.go +205 -0 collapsed to keep the page light
A vendor/github.com/clipperhouse/uax29/v2/graphemes/trie.go +1717 -0 collapsed to keep the page light
A vendor/github.com/cpuguy83/go-md2man/v2/LICENSE.md +21 -0 collapsed to keep the page light
A vendor/github.com/cpuguy83/go-md2man/v2/md2man/debug.go +62 -0 collapsed to keep the page light
A vendor/github.com/cpuguy83/go-md2man/v2/md2man/md2man.go +24 -0 collapsed to keep the page light
A vendor/github.com/cpuguy83/go-md2man/v2/md2man/roff.go +416 -0 collapsed to keep the page light
A vendor/github.com/davecgh/go-spew/LICENSE +15 -0 collapsed to keep the page light
A vendor/github.com/davecgh/go-spew/spew/bypass.go +145 -0 collapsed to keep the page light
A vendor/github.com/davecgh/go-spew/spew/bypasssafe.go +38 -0 collapsed to keep the page light
A vendor/github.com/davecgh/go-spew/spew/common.go +341 -0 collapsed to keep the page light
A vendor/github.com/davecgh/go-spew/spew/config.go +306 -0 collapsed to keep the page light
A vendor/github.com/davecgh/go-spew/spew/doc.go +211 -0 collapsed to keep the page light
A vendor/github.com/davecgh/go-spew/spew/dump.go +509 -0 collapsed to keep the page light
A vendor/github.com/davecgh/go-spew/spew/format.go +419 -0 collapsed to keep the page light
A vendor/github.com/davecgh/go-spew/spew/spew.go +148 -0 collapsed to keep the page light
A vendor/github.com/erikgeiser/coninput/.gitignore +15 -0 collapsed to keep the page light
A vendor/github.com/erikgeiser/coninput/.golangci.yml +24 -0 collapsed to keep the page light
A vendor/github.com/erikgeiser/coninput/LICENSE +21 -0 collapsed to keep the page light
A vendor/github.com/erikgeiser/coninput/README.md +2 -0 collapsed to keep the page light
A vendor/github.com/erikgeiser/coninput/keycodes.go +205 -0 collapsed to keep the page light
A vendor/github.com/erikgeiser/coninput/mode.go +82 -0 collapsed to keep the page light
A vendor/github.com/erikgeiser/coninput/read.go +154 -0 collapsed to keep the page light
A vendor/github.com/erikgeiser/coninput/records.go +486 -0 collapsed to keep the page light
A vendor/github.com/fatih/color/LICENSE.md +20 -0 collapsed to keep the page light
A vendor/github.com/fatih/color/README.md +189 -0 collapsed to keep the page light
A vendor/github.com/fatih/color/color.go +733 -0 collapsed to keep the page light
A vendor/github.com/fatih/color/color_windows.go +22 -0 collapsed to keep the page light
A vendor/github.com/fatih/color/doc.go +134 -0 collapsed to keep the page light
A vendor/github.com/fsnotify/fsnotify/.gitignore +10 -0 collapsed to keep the page light
A vendor/github.com/fsnotify/fsnotify/.mailmap +2 -0 collapsed to keep the page light
A vendor/github.com/fsnotify/fsnotify/CHANGELOG.md +651 -0 collapsed to keep the page light
A vendor/github.com/fsnotify/fsnotify/CONTRIBUTING.md +147 -0 collapsed to keep the page light
A vendor/github.com/fsnotify/fsnotify/LICENSE +25 -0 collapsed to keep the page light
A vendor/github.com/fsnotify/fsnotify/README.md +214 -0 collapsed to keep the page light
A vendor/github.com/fsnotify/fsnotify/backend_fen.go +469 -0 collapsed to keep the page light
A vendor/github.com/fsnotify/fsnotify/backend_inotify.go +597 -0 collapsed to keep the page light
A vendor/github.com/fsnotify/fsnotify/backend_kqueue.go +735 -0 collapsed to keep the page light
A vendor/github.com/fsnotify/fsnotify/backend_other.go +22 -0 collapsed to keep the page light
A vendor/github.com/fsnotify/fsnotify/backend_windows.go +702 -0 collapsed to keep the page light
A vendor/github.com/fsnotify/fsnotify/fsnotify.go +526 -0 collapsed to keep the page light
A vendor/github.com/fsnotify/fsnotify/internal/darwin.go +20 -0 collapsed to keep the page light
A vendor/github.com/fsnotify/fsnotify/internal/debug_darwin.go +15 -0 collapsed to keep the page light
A vendor/github.com/fsnotify/fsnotify/internal/debug_dragonfly.go +15 -0 collapsed to keep the page light
A vendor/github.com/fsnotify/fsnotify/internal/debug_freebsd.go +20 -0 collapsed to keep the page light
A vendor/github.com/fsnotify/fsnotify/internal/debug_kqueue.go +32 -0 collapsed to keep the page light
A vendor/github.com/fsnotify/fsnotify/internal/debug_linux.go +56 -0 collapsed to keep the page light
A vendor/github.com/fsnotify/fsnotify/internal/debug_netbsd.go +15 -0 collapsed to keep the page light
A vendor/github.com/fsnotify/fsnotify/internal/debug_openbsd.go +16 -0 collapsed to keep the page light
A vendor/github.com/fsnotify/fsnotify/internal/debug_solaris.go +45 -0 collapsed to keep the page light
A vendor/github.com/fsnotify/fsnotify/internal/debug_windows.go +40 -0 collapsed to keep the page light
A vendor/github.com/fsnotify/fsnotify/internal/freebsd.go +20 -0 collapsed to keep the page light
A vendor/github.com/fsnotify/fsnotify/internal/internal.go +2 -0 collapsed to keep the page light
A vendor/github.com/fsnotify/fsnotify/internal/unix.go +20 -0 collapsed to keep the page light
A vendor/github.com/fsnotify/fsnotify/internal/unix2.go +25 -0 collapsed to keep the page light
A vendor/github.com/fsnotify/fsnotify/internal/windows.go +40 -0 collapsed to keep the page light
A vendor/github.com/fsnotify/fsnotify/shared.go +64 -0 collapsed to keep the page light
A vendor/github.com/fsnotify/fsnotify/staticcheck.conf +3 -0 collapsed to keep the page light
A vendor/github.com/fsnotify/fsnotify/system_bsd.go +7 -0 collapsed to keep the page light
A vendor/github.com/fsnotify/fsnotify/system_darwin.go +8 -0 collapsed to keep the page light
A vendor/github.com/go-viper/mapstructure/v2/.editorconfig +24 -0 collapsed to keep the page light
A vendor/github.com/go-viper/mapstructure/v2/.envrc +7 -0 collapsed to keep the page light
A vendor/github.com/go-viper/mapstructure/v2/.gitignore +10 -0 collapsed to keep the page light
A vendor/github.com/go-viper/mapstructure/v2/.golangci.yaml +48 -0 collapsed to keep the page light
A vendor/github.com/go-viper/mapstructure/v2/CHANGELOG.md +104 -0 collapsed to keep the page light
A vendor/github.com/go-viper/mapstructure/v2/LICENSE +21 -0 collapsed to keep the page light
A vendor/github.com/go-viper/mapstructure/v2/README.md +81 -0 collapsed to keep the page light
A vendor/github.com/go-viper/mapstructure/v2/decode_hooks.go +714 -0 collapsed to keep the page light
A vendor/github.com/go-viper/mapstructure/v2/devenv.lock +103 -0 collapsed to keep the page light
A vendor/github.com/go-viper/mapstructure/v2/devenv.nix +14 -0 collapsed to keep the page light
A vendor/github.com/go-viper/mapstructure/v2/devenv.yaml +4 -0 collapsed to keep the page light
A vendor/github.com/go-viper/mapstructure/v2/errors.go +244 -0 collapsed to keep the page light
A vendor/github.com/go-viper/mapstructure/v2/internal/errors/errors.go +11 -0 collapsed to keep the page light
A vendor/github.com/go-viper/mapstructure/v2/internal/errors/join.go +9 -0 collapsed to keep the page light
A vendor/github.com/go-viper/mapstructure/v2/internal/errors/join_go1_19.go +61 -0 collapsed to keep the page light
A vendor/github.com/go-viper/mapstructure/v2/mapstructure.go +1948 -0 collapsed to keep the page light
A vendor/github.com/go-viper/mapstructure/v2/reflect_go1_19.go +44 -0 collapsed to keep the page light
A vendor/github.com/go-viper/mapstructure/v2/reflect_go1_20.go +10 -0 collapsed to keep the page light
A vendor/github.com/godbus/dbus/v5/.cirrus.yml +11 -0 collapsed to keep the page light
A vendor/github.com/godbus/dbus/v5/.golangci.yml +13 -0 collapsed to keep the page light
A vendor/github.com/godbus/dbus/v5/CONTRIBUTING.md +50 -0 collapsed to keep the page light
A vendor/github.com/godbus/dbus/v5/LICENSE +25 -0 collapsed to keep the page light
A vendor/github.com/godbus/dbus/v5/MAINTAINERS +3 -0 collapsed to keep the page light
A vendor/github.com/godbus/dbus/v5/README.md +47 -0 collapsed to keep the page light
A vendor/github.com/godbus/dbus/v5/SECURITY.md +13 -0 collapsed to keep the page light
A vendor/github.com/godbus/dbus/v5/auth.go +257 -0 collapsed to keep the page light
A vendor/github.com/godbus/dbus/v5/auth_anonymous.go +16 -0 collapsed to keep the page light
A vendor/github.com/godbus/dbus/v5/auth_default_other.go +7 -0 collapsed to keep the page light
A vendor/github.com/godbus/dbus/v5/auth_default_windows.go +5 -0 collapsed to keep the page light
A vendor/github.com/godbus/dbus/v5/auth_external.go +26 -0 collapsed to keep the page light
A vendor/github.com/godbus/dbus/v5/auth_sha1_windows.go +109 -0 collapsed to keep the page light
A vendor/github.com/godbus/dbus/v5/call.go +66 -0 collapsed to keep the page light
A vendor/github.com/godbus/dbus/v5/conn.go +1009 -0 collapsed to keep the page light
A vendor/github.com/godbus/dbus/v5/conn_darwin.go +36 -0 collapsed to keep the page light
A vendor/github.com/godbus/dbus/v5/conn_other.go +83 -0 collapsed to keep the page light
A vendor/github.com/godbus/dbus/v5/conn_unix.go +40 -0 collapsed to keep the page light
A vendor/github.com/godbus/dbus/v5/conn_windows.go +13 -0 collapsed to keep the page light
A vendor/github.com/godbus/dbus/v5/dbus.go +427 -0 collapsed to keep the page light
A vendor/github.com/godbus/dbus/v5/decoder.go +376 -0 collapsed to keep the page light
A vendor/github.com/godbus/dbus/v5/default_handler.go +338 -0 collapsed to keep the page light
A vendor/github.com/godbus/dbus/v5/doc.go +70 -0 collapsed to keep the page light
A vendor/github.com/godbus/dbus/v5/encoder.go +235 -0 collapsed to keep the page light
A vendor/github.com/godbus/dbus/v5/escape.go +84 -0 collapsed to keep the page light
A vendor/github.com/godbus/dbus/v5/export.go +484 -0 collapsed to keep the page light
A vendor/github.com/godbus/dbus/v5/match.go +89 -0 collapsed to keep the page light
A vendor/github.com/godbus/dbus/v5/message.go +393 -0 collapsed to keep the page light
A vendor/github.com/godbus/dbus/v5/object.go +181 -0 collapsed to keep the page light
A vendor/github.com/godbus/dbus/v5/sequence.go +24 -0 collapsed to keep the page light
A vendor/github.com/godbus/dbus/v5/sequential_handler.go +125 -0 collapsed to keep the page light
A vendor/github.com/godbus/dbus/v5/server_interfaces.go +107 -0 collapsed to keep the page light
A vendor/github.com/godbus/dbus/v5/sig.go +298 -0 collapsed to keep the page light
A vendor/github.com/godbus/dbus/v5/transport_darwin.go +6 -0 collapsed to keep the page light
A vendor/github.com/godbus/dbus/v5/transport_generic.go +52 -0 collapsed to keep the page light
A vendor/github.com/godbus/dbus/v5/transport_nonce_tcp.go +41 -0 collapsed to keep the page light
A vendor/github.com/godbus/dbus/v5/transport_tcp.go +41 -0 collapsed to keep the page light
A vendor/github.com/godbus/dbus/v5/transport_unix.go +291 -0 collapsed to keep the page light
A vendor/github.com/godbus/dbus/v5/transport_unixcred_dragonfly.go +95 -0 collapsed to keep the page light
A vendor/github.com/godbus/dbus/v5/transport_unixcred_freebsd.go +94 -0 collapsed to keep the page light
A vendor/github.com/godbus/dbus/v5/transport_unixcred_linux.go +25 -0 collapsed to keep the page light
A vendor/github.com/godbus/dbus/v5/transport_unixcred_netbsd.go +14 -0 collapsed to keep the page light
A vendor/github.com/godbus/dbus/v5/transport_unixcred_openbsd.go +14 -0 collapsed to keep the page light
A vendor/github.com/godbus/dbus/v5/transport_zos.go +6 -0 collapsed to keep the page light
A vendor/github.com/godbus/dbus/v5/variant.go +169 -0 collapsed to keep the page light
A vendor/github.com/godbus/dbus/v5/variant_lexer.go +284 -0 collapsed to keep the page light
A vendor/github.com/godbus/dbus/v5/variant_parser.go +815 -0 collapsed to keep the page light
A vendor/github.com/inconshreveable/mousetrap/LICENSE +201 -0 collapsed to keep the page light
A vendor/github.com/inconshreveable/mousetrap/README.md +23 -0 collapsed to keep the page light
A vendor/github.com/inconshreveable/mousetrap/trap_others.go +16 -0 collapsed to keep the page light
A vendor/github.com/inconshreveable/mousetrap/trap_windows.go +42 -0 collapsed to keep the page light
A vendor/github.com/lucasb-eyer/go-colorful/.gitignore +101 -0 collapsed to keep the page light
A vendor/github.com/lucasb-eyer/go-colorful/CHANGELOG.md +72 -0 collapsed to keep the page light
A vendor/github.com/lucasb-eyer/go-colorful/LICENSE +7 -0 collapsed to keep the page light
A vendor/github.com/lucasb-eyer/go-colorful/README.md +490 -0 collapsed to keep the page light
A vendor/github.com/lucasb-eyer/go-colorful/colorgens.go +67 -0 collapsed to keep the page light
A vendor/github.com/lucasb-eyer/go-colorful/colors.go +1156 -0 collapsed to keep the page light
A vendor/github.com/lucasb-eyer/go-colorful/happy_palettegen.go +29 -0 collapsed to keep the page light
A vendor/github.com/lucasb-eyer/go-colorful/hexcolor.go +91 -0 collapsed to keep the page light
A vendor/github.com/lucasb-eyer/go-colorful/hsluv-snapshot-rev4.json +1 -0 collapsed to keep the page light
A vendor/github.com/lucasb-eyer/go-colorful/hsluv.go +208 -0 collapsed to keep the page light
A vendor/github.com/lucasb-eyer/go-colorful/rand.go +22 -0 collapsed to keep the page light
A vendor/github.com/lucasb-eyer/go-colorful/soft_palettegen.go +192 -0 collapsed to keep the page light
A vendor/github.com/lucasb-eyer/go-colorful/sort.go +191 -0 collapsed to keep the page light
A vendor/github.com/lucasb-eyer/go-colorful/warm_palettegen.go +29 -0 collapsed to keep the page light
A vendor/github.com/lucasb-eyer/go-colorful/widegamut.go +290 -0 collapsed to keep the page light
A vendor/github.com/mattn/go-colorable/LICENSE +21 -0 collapsed to keep the page light
A vendor/github.com/mattn/go-colorable/README.md +48 -0 collapsed to keep the page light
A vendor/github.com/mattn/go-colorable/colorable_others.go +38 -0 collapsed to keep the page light
A vendor/github.com/mattn/go-colorable/colorable_windows.go +1047 -0 collapsed to keep the page light
A vendor/github.com/mattn/go-colorable/go.test.sh +12 -0 collapsed to keep the page light
A vendor/github.com/mattn/go-colorable/noncolorable.go +57 -0 collapsed to keep the page light
A vendor/github.com/mattn/go-isatty/LICENSE +9 -0 collapsed to keep the page light
A vendor/github.com/mattn/go-isatty/README.md +50 -0 collapsed to keep the page light
A vendor/github.com/mattn/go-isatty/doc.go +2 -0 collapsed to keep the page light
A vendor/github.com/mattn/go-isatty/go.test.sh +12 -0 collapsed to keep the page light
A vendor/github.com/mattn/go-isatty/isatty_bsd.go +20 -0 collapsed to keep the page light
A vendor/github.com/mattn/go-isatty/isatty_others.go +17 -0 collapsed to keep the page light
A vendor/github.com/mattn/go-isatty/isatty_plan9.go +23 -0 collapsed to keep the page light
A vendor/github.com/mattn/go-isatty/isatty_solaris.go +21 -0 collapsed to keep the page light
A vendor/github.com/mattn/go-isatty/isatty_tcgets.go +20 -0 collapsed to keep the page light
A vendor/github.com/mattn/go-isatty/isatty_windows.go +136 -0 collapsed to keep the page light
A vendor/github.com/mattn/go-localereader/README.md +23 -0 collapsed to keep the page light
A vendor/github.com/mattn/go-localereader/localereader.go +19 -0 collapsed to keep the page light
A vendor/github.com/mattn/go-localereader/localereader_unix.go +11 -0 collapsed to keep the page light
A vendor/github.com/mattn/go-localereader/localereader_windows.go +85 -0 collapsed to keep the page light
A vendor/github.com/mattn/go-runewidth/LICENSE +21 -0 collapsed to keep the page light
A vendor/github.com/mattn/go-runewidth/README.md +27 -0 collapsed to keep the page light
A vendor/github.com/mattn/go-runewidth/benchstat.txt +43 -0 collapsed to keep the page light
A vendor/github.com/mattn/go-runewidth/new.txt +54 -0 collapsed to keep the page light
A vendor/github.com/mattn/go-runewidth/old.txt +54 -0 collapsed to keep the page light
A vendor/github.com/mattn/go-runewidth/runewidth.go +420 -0 collapsed to keep the page light
A vendor/github.com/mattn/go-runewidth/runewidth_appengine.go +9 -0 collapsed to keep the page light
A vendor/github.com/mattn/go-runewidth/runewidth_js.go +9 -0 collapsed to keep the page light
A vendor/github.com/mattn/go-runewidth/runewidth_posix.go +81 -0 collapsed to keep the page light
A vendor/github.com/mattn/go-runewidth/runewidth_table.go +488 -0 collapsed to keep the page light
A vendor/github.com/mattn/go-runewidth/runewidth_windows.go +34 -0 collapsed to keep the page light
A vendor/github.com/mfridman/interpolate/LICENSE.txt +24 -0 collapsed to keep the page light
A vendor/github.com/mfridman/interpolate/README.md +85 -0 collapsed to keep the page light
A vendor/github.com/mfridman/interpolate/env.go +53 -0 collapsed to keep the page light
A vendor/github.com/mfridman/interpolate/interpolate.go +213 -0 collapsed to keep the page light
A vendor/github.com/mfridman/interpolate/parser.go +281 -0 collapsed to keep the page light
A vendor/github.com/muesli/ansi/.gitignore +15 -0 collapsed to keep the page light
A vendor/github.com/muesli/ansi/.golangci.yml +27 -0 collapsed to keep the page light
A vendor/github.com/muesli/ansi/LICENSE +21 -0 collapsed to keep the page light
A vendor/github.com/muesli/ansi/README.md +31 -0 collapsed to keep the page light
A vendor/github.com/muesli/ansi/ansi.go +7 -0 collapsed to keep the page light
A vendor/github.com/muesli/ansi/buffer.go +40 -0 collapsed to keep the page light
A vendor/github.com/muesli/ansi/compressor/writer.go +132 -0 collapsed to keep the page light
A vendor/github.com/muesli/ansi/writer.go +76 -0 collapsed to keep the page light
A vendor/github.com/muesli/cancelreader/.gitignore +15 -0 collapsed to keep the page light
A vendor/github.com/muesli/cancelreader/.golangci-soft.yml +47 -0 collapsed to keep the page light
A vendor/github.com/muesli/cancelreader/.golangci.yml +29 -0 collapsed to keep the page light
A vendor/github.com/muesli/cancelreader/LICENSE +21 -0 collapsed to keep the page light
A vendor/github.com/muesli/cancelreader/README.md +64 -0 collapsed to keep the page light
A vendor/github.com/muesli/cancelreader/cancelreader.go +93 -0 collapsed to keep the page light
A vendor/github.com/muesli/cancelreader/cancelreader_bsd.go +146 -0 collapsed to keep the page light
A vendor/github.com/muesli/cancelreader/cancelreader_default.go +12 -0 collapsed to keep the page light
A vendor/github.com/muesli/cancelreader/cancelreader_linux.go +154 -0 collapsed to keep the page light
A vendor/github.com/muesli/cancelreader/cancelreader_select.go +136 -0 collapsed to keep the page light
A vendor/github.com/muesli/cancelreader/cancelreader_unix.go +18 -0 collapsed to keep the page light
A vendor/github.com/muesli/cancelreader/cancelreader_windows.go +244 -0 collapsed to keep the page light
A vendor/github.com/muesli/termenv/.gitignore +15 -0 collapsed to keep the page light
A vendor/github.com/muesli/termenv/.golangci-soft.yml +43 -0 collapsed to keep the page light
A vendor/github.com/muesli/termenv/.golangci.yml +28 -0 collapsed to keep the page light
A vendor/github.com/muesli/termenv/LICENSE +21 -0 collapsed to keep the page light
A vendor/github.com/muesli/termenv/README.md +431 -0 collapsed to keep the page light
A vendor/github.com/muesli/termenv/ansi_compat.md +65 -0 collapsed to keep the page light
A vendor/github.com/muesli/termenv/ansicolors.go +281 -0 collapsed to keep the page light
A vendor/github.com/muesli/termenv/color.go +205 -0 collapsed to keep the page light
A vendor/github.com/muesli/termenv/constants_linux.go +8 -0 collapsed to keep the page light
A vendor/github.com/muesli/termenv/constants_solaris.go +8 -0 collapsed to keep the page light
A vendor/github.com/muesli/termenv/constants_unix.go +13 -0 collapsed to keep the page light
A vendor/github.com/muesli/termenv/constants_zos.go +8 -0 collapsed to keep the page light
A vendor/github.com/muesli/termenv/copy.go +37 -0 collapsed to keep the page light
A vendor/github.com/muesli/termenv/hyperlink.go +11 -0 collapsed to keep the page light
A vendor/github.com/muesli/termenv/notification.go +11 -0 collapsed to keep the page light
A vendor/github.com/muesli/termenv/output.go +205 -0 collapsed to keep the page light
A vendor/github.com/muesli/termenv/profile.go +112 -0 collapsed to keep the page light
A vendor/github.com/muesli/termenv/screen.go +590 -0 collapsed to keep the page light
A vendor/github.com/muesli/termenv/style.go +126 -0 collapsed to keep the page light
A vendor/github.com/muesli/termenv/templatehelper.go +88 -0 collapsed to keep the page light
A vendor/github.com/muesli/termenv/termenv.go +115 -0 collapsed to keep the page light
A vendor/github.com/muesli/termenv/termenv_other.go +30 -0 collapsed to keep the page light
A vendor/github.com/muesli/termenv/termenv_posix.go +17 -0 collapsed to keep the page light
A vendor/github.com/muesli/termenv/termenv_solaris.go +22 -0 collapsed to keep the page light
A vendor/github.com/muesli/termenv/termenv_unix.go +301 -0 collapsed to keep the page light
A vendor/github.com/muesli/termenv/termenv_windows.go +140 -0 collapsed to keep the page light
A vendor/github.com/natefinch/atomic/.gitignore +24 -0 collapsed to keep the page light
A vendor/github.com/natefinch/atomic/LICENSE +22 -0 collapsed to keep the page light
A vendor/github.com/natefinch/atomic/README.md +35 -0 collapsed to keep the page light
A vendor/github.com/natefinch/atomic/atomic.go +73 -0 collapsed to keep the page light
A vendor/github.com/natefinch/atomic/file_unix.go +14 -0 collapsed to keep the page light
A vendor/github.com/natefinch/atomic/file_windows.go +33 -0 collapsed to keep the page light
A vendor/github.com/natefinch/atomic/zfile_windows.go +27 -0 collapsed to keep the page light
A vendor/github.com/pelletier/go-toml/v2/.dockerignore +2 -0 collapsed to keep the page light
A vendor/github.com/pelletier/go-toml/v2/.gitattributes +4 -0 collapsed to keep the page light
A vendor/github.com/pelletier/go-toml/v2/.gitignore +8 -0 collapsed to keep the page light
A vendor/github.com/pelletier/go-toml/v2/.golangci.toml +76 -0 collapsed to keep the page light
A vendor/github.com/pelletier/go-toml/v2/.goreleaser.yaml +128 -0 collapsed to keep the page light
A vendor/github.com/pelletier/go-toml/v2/AGENTS.md +73 -0 collapsed to keep the page light
A vendor/github.com/pelletier/go-toml/v2/CONTRIBUTING.md +254 -0 collapsed to keep the page light
A vendor/github.com/pelletier/go-toml/v2/Dockerfile +6 -0 collapsed to keep the page light
A vendor/github.com/pelletier/go-toml/v2/LICENSE +22 -0 collapsed to keep the page light
A vendor/github.com/pelletier/go-toml/v2/README.md +327 -0 collapsed to keep the page light
A vendor/github.com/pelletier/go-toml/v2/SECURITY.md +16 -0 collapsed to keep the page light
A vendor/github.com/pelletier/go-toml/v2/capability_baseline.txt +1 -0 collapsed to keep the page light
A vendor/github.com/pelletier/go-toml/v2/caps.sh +101 -0 collapsed to keep the page light
A vendor/github.com/pelletier/go-toml/v2/ci.sh +293 -0 collapsed to keep the page light
A vendor/github.com/pelletier/go-toml/v2/decode.go +538 -0 collapsed to keep the page light
A vendor/github.com/pelletier/go-toml/v2/decode_fused.go +362 -0 collapsed to keep the page light
A vendor/github.com/pelletier/go-toml/v2/doc.go +2 -0 collapsed to keep the page light
A vendor/github.com/pelletier/go-toml/v2/errors.go +233 -0 collapsed to keep the page light
A vendor/github.com/pelletier/go-toml/v2/internal/parserbridge/parserbridge.go +37 -0 collapsed to keep the page light
A vendor/github.com/pelletier/go-toml/v2/internal/tracker/key.go +49 -0 collapsed to keep the page light
A vendor/github.com/pelletier/go-toml/v2/internal/tracker/seen.go +450 -0 collapsed to keep the page light
A vendor/github.com/pelletier/go-toml/v2/internal/tracker/tracker.go +2 -0 collapsed to keep the page light
A vendor/github.com/pelletier/go-toml/v2/localtime.go +121 -0 collapsed to keep the page light
A vendor/github.com/pelletier/go-toml/v2/marshaler.go +1697 -0 collapsed to keep the page light
A vendor/github.com/pelletier/go-toml/v2/strict.go +108 -0 collapsed to keep the page light
A vendor/github.com/pelletier/go-toml/v2/test-go-versions.sh +597 -0 collapsed to keep the page light
A vendor/github.com/pelletier/go-toml/v2/toml.abnf +246 -0 collapsed to keep the page light
A vendor/github.com/pelletier/go-toml/v2/types.go +24 -0 collapsed to keep the page light
A vendor/github.com/pelletier/go-toml/v2/unmarshaler.go +2396 -0 collapsed to keep the page light
A vendor/github.com/pelletier/go-toml/v2/unstable/ast.go +124 -0 collapsed to keep the page light
A vendor/github.com/pelletier/go-toml/v2/unstable/bridge.go +21 -0 collapsed to keep the page light
A vendor/github.com/pelletier/go-toml/v2/unstable/doc.go +3 -0 collapsed to keep the page light
A vendor/github.com/pelletier/go-toml/v2/unstable/kind.go +83 -0 collapsed to keep the page light
A vendor/github.com/pelletier/go-toml/v2/unstable/marshaler.go +29 -0 collapsed to keep the page light
A vendor/github.com/pelletier/go-toml/v2/unstable/parser.go +1686 -0 collapsed to keep the page light
A vendor/github.com/pelletier/go-toml/v2/unstable/unmarshaler.go +43 -0 collapsed to keep the page light
A vendor/github.com/pmezard/go-difflib/LICENSE +27 -0 collapsed to keep the page light
A vendor/github.com/pmezard/go-difflib/difflib/difflib.go +772 -0 collapsed to keep the page light
A vendor/github.com/pressly/goose/v3/.gitignore +22 -0 collapsed to keep the page light
A vendor/github.com/pressly/goose/v3/.golangci.yaml +31 -0 collapsed to keep the page light
A vendor/github.com/pressly/goose/v3/.goreleaser.yaml +37 -0 collapsed to keep the page light
A vendor/github.com/pressly/goose/v3/CHANGELOG.md +350 -0 collapsed to keep the page light
A vendor/github.com/pressly/goose/v3/LICENSE +22 -0 collapsed to keep the page light
A vendor/github.com/pressly/goose/v3/Makefile +150 -0 collapsed to keep the page light
A vendor/github.com/pressly/goose/v3/README.md +500 -0 collapsed to keep the page light
A vendor/github.com/pressly/goose/v3/create.go +116 -0 collapsed to keep the page light
A vendor/github.com/pressly/goose/v3/database/dialect/querier.go +25 -0 collapsed to keep the page light
A vendor/github.com/pressly/goose/v3/database/dialect/querier_extended.go +22 -0 collapsed to keep the page light
A vendor/github.com/pressly/goose/v3/database/dialects.go +214 -0 collapsed to keep the page light
A vendor/github.com/pressly/goose/v3/database/doc.go +14 -0 collapsed to keep the page light
A vendor/github.com/pressly/goose/v3/database/sql_extended.go +23 -0 collapsed to keep the page light
A vendor/github.com/pressly/goose/v3/database/store.go +66 -0 collapsed to keep the page light
A vendor/github.com/pressly/goose/v3/database/store_extended.go +33 -0 collapsed to keep the page light
A vendor/github.com/pressly/goose/v3/db.go +48 -0 collapsed to keep the page light
A vendor/github.com/pressly/goose/v3/dialect.go +74 -0 collapsed to keep the page light
A vendor/github.com/pressly/goose/v3/down.go +107 -0 collapsed to keep the page light
A vendor/github.com/pressly/goose/v3/fix.go +54 -0 collapsed to keep the page light
A vendor/github.com/pressly/goose/v3/globals.go +104 -0 collapsed to keep the page light
A vendor/github.com/pressly/goose/v3/goose.go +141 -0 collapsed to keep the page light
A vendor/github.com/pressly/goose/v3/helpers.go +84 -0 collapsed to keep the page light
A vendor/github.com/pressly/goose/v3/install.sh +37 -0 collapsed to keep the page light
A vendor/github.com/pressly/goose/v3/internal/controller/store.go +37 -0 collapsed to keep the page light
A vendor/github.com/pressly/goose/v3/internal/dialects/clickhouse.go +53 -0 collapsed to keep the page light
A vendor/github.com/pressly/goose/v3/internal/dialects/dsql.go +66 -0 collapsed to keep the page light
A vendor/github.com/pressly/goose/v3/internal/dialects/mysql.go +62 -0 collapsed to keep the page light
A vendor/github.com/pressly/goose/v3/internal/dialects/postgres.go +70 -0 collapsed to keep the page light
A vendor/github.com/pressly/goose/v3/internal/dialects/redshift.go +52 -0 collapsed to keep the page light
A vendor/github.com/pressly/goose/v3/internal/dialects/spanner.go +50 -0 collapsed to keep the page light
A vendor/github.com/pressly/goose/v3/internal/dialects/sqlite3.go +51 -0 collapsed to keep the page light
A vendor/github.com/pressly/goose/v3/internal/dialects/sqlserver.go +51 -0 collapsed to keep the page light
A vendor/github.com/pressly/goose/v3/internal/dialects/starrocks.go +54 -0 collapsed to keep the page light
A vendor/github.com/pressly/goose/v3/internal/dialects/tidb.go +52 -0 collapsed to keep the page light
A vendor/github.com/pressly/goose/v3/internal/dialects/turso.go +14 -0 collapsed to keep the page light
A vendor/github.com/pressly/goose/v3/internal/dialects/vertica.go +54 -0 collapsed to keep the page light
A vendor/github.com/pressly/goose/v3/internal/dialects/ydb.go +72 -0 collapsed to keep the page light
A vendor/github.com/pressly/goose/v3/internal/gooseutil/resolve.go +118 -0 collapsed to keep the page light
A vendor/github.com/pressly/goose/v3/internal/legacystore/legacystore.go +173 -0 collapsed to keep the page light
A vendor/github.com/pressly/goose/v3/internal/sqlparser/parse.go +59 -0 collapsed to keep the page light
A vendor/github.com/pressly/goose/v3/internal/sqlparser/parser.go +394 -0 collapsed to keep the page light
A vendor/github.com/pressly/goose/v3/lock/internal/store/postgres.go +282 -0 collapsed to keep the page light
A vendor/github.com/pressly/goose/v3/lock/internal/store/store.go +51 -0 collapsed to keep the page light
A vendor/github.com/pressly/goose/v3/lock/internal/table/config.go +28 -0 collapsed to keep the page light
A vendor/github.com/pressly/goose/v3/lock/internal/table/locker.go +237 -0 collapsed to keep the page light
A vendor/github.com/pressly/goose/v3/lock/locker.go +32 -0 collapsed to keep the page light
A vendor/github.com/pressly/goose/v3/lock/postgres.go +165 -0 collapsed to keep the page light
A vendor/github.com/pressly/goose/v3/lock/session_locker_options.go +98 -0 collapsed to keep the page light
A vendor/github.com/pressly/goose/v3/lock/table_locker_options.go +136 -0 collapsed to keep the page light
A vendor/github.com/pressly/goose/v3/log.go +36 -0 collapsed to keep the page light
A vendor/github.com/pressly/goose/v3/migrate.go +379 -0 collapsed to keep the page light
A vendor/github.com/pressly/goose/v3/migration.go +398 -0 collapsed to keep the page light
A vendor/github.com/pressly/goose/v3/migration_sql.go +115 -0 collapsed to keep the page light
A vendor/github.com/pressly/goose/v3/osfs.go +28 -0 collapsed to keep the page light
A vendor/github.com/pressly/goose/v3/provider.go +669 -0 collapsed to keep the page light
A vendor/github.com/pressly/goose/v3/provider_collect.go +196 -0 collapsed to keep the page light
A vendor/github.com/pressly/goose/v3/provider_errors.go +48 -0 collapsed to keep the page light
A vendor/github.com/pressly/goose/v3/provider_options.go +280 -0 collapsed to keep the page light
A vendor/github.com/pressly/goose/v3/provider_run.go +535 -0 collapsed to keep the page light
A vendor/github.com/pressly/goose/v3/provider_types.go +91 -0 collapsed to keep the page light
A vendor/github.com/pressly/goose/v3/redo.go +51 -0 collapsed to keep the page light
A vendor/github.com/pressly/goose/v3/register.go +133 -0 collapsed to keep the page light
A vendor/github.com/pressly/goose/v3/reset.go +64 -0 collapsed to keep the page light
A vendor/github.com/pressly/goose/v3/status.go +64 -0 collapsed to keep the page light
A vendor/github.com/pressly/goose/v3/up.go +221 -0 collapsed to keep the page light
A vendor/github.com/pressly/goose/v3/version.go +52 -0 collapsed to keep the page light
A vendor/github.com/rivo/uniseg/LICENSE.txt +21 -0 collapsed to keep the page light
A vendor/github.com/rivo/uniseg/README.md +137 -0 collapsed to keep the page light
A vendor/github.com/rivo/uniseg/doc.go +108 -0 collapsed to keep the page light
A vendor/github.com/rivo/uniseg/eastasianwidth.go +2588 -0 collapsed to keep the page light
A vendor/github.com/rivo/uniseg/emojipresentation.go +295 -0 collapsed to keep the page light
A vendor/github.com/rivo/uniseg/gen_breaktest.go +215 -0 collapsed to keep the page light
A vendor/github.com/rivo/uniseg/gen_properties.go +261 -0 collapsed to keep the page light
A vendor/github.com/rivo/uniseg/grapheme.go +331 -0 collapsed to keep the page light
A vendor/github.com/rivo/uniseg/graphemeproperties.go +1915 -0 collapsed to keep the page light
A vendor/github.com/rivo/uniseg/graphemerules.go +176 -0 collapsed to keep the page light
A vendor/github.com/rivo/uniseg/line.go +134 -0 collapsed to keep the page light
A vendor/github.com/rivo/uniseg/lineproperties.go +3554 -0 collapsed to keep the page light
A vendor/github.com/rivo/uniseg/linerules.go +626 -0 collapsed to keep the page light
A vendor/github.com/rivo/uniseg/properties.go +208 -0 collapsed to keep the page light
A vendor/github.com/rivo/uniseg/sentence.go +90 -0 collapsed to keep the page light
A vendor/github.com/rivo/uniseg/sentenceproperties.go +2845 -0 collapsed to keep the page light
A vendor/github.com/rivo/uniseg/sentencerules.go +276 -0 collapsed to keep the page light
A vendor/github.com/rivo/uniseg/step.go +242 -0 collapsed to keep the page light
A vendor/github.com/rivo/uniseg/width.go +61 -0 collapsed to keep the page light
A vendor/github.com/rivo/uniseg/word.go +89 -0 collapsed to keep the page light
A vendor/github.com/rivo/uniseg/wordproperties.go +1883 -0 collapsed to keep the page light
A vendor/github.com/rivo/uniseg/wordrules.go +282 -0 collapsed to keep the page light
A vendor/github.com/rs/zerolog/.gitignore +27 -0 collapsed to keep the page light
A vendor/github.com/rs/zerolog/CONTRIBUTING.md +43 -0 collapsed to keep the page light
A vendor/github.com/rs/zerolog/LICENSE +21 -0 collapsed to keep the page light
A vendor/github.com/rs/zerolog/README.md +858 -0 collapsed to keep the page light
A vendor/github.com/rs/zerolog/array.go +276 -0 collapsed to keep the page light
A vendor/github.com/rs/zerolog/console.go +535 -0 collapsed to keep the page light
A vendor/github.com/rs/zerolog/context.go +535 -0 collapsed to keep the page light
A vendor/github.com/rs/zerolog/ctx.go +51 -0 collapsed to keep the page light
A vendor/github.com/rs/zerolog/encoder.go +56 -0 collapsed to keep the page light
A vendor/github.com/rs/zerolog/encoder_cbor.go +45 -0 collapsed to keep the page light
A vendor/github.com/rs/zerolog/encoder_json.go +51 -0 collapsed to keep the page light
A vendor/github.com/rs/zerolog/event.go +919 -0 collapsed to keep the page light
A vendor/github.com/rs/zerolog/example.jsonl +7 -0 collapsed to keep the page light
A vendor/github.com/rs/zerolog/fields.go +312 -0 collapsed to keep the page light
A vendor/github.com/rs/zerolog/globals.go +208 -0 collapsed to keep the page light
A vendor/github.com/rs/zerolog/globals_118.go +30 -0 collapsed to keep the page light
A vendor/github.com/rs/zerolog/go112.go +7 -0 collapsed to keep the page light
A vendor/github.com/rs/zerolog/hook.go +64 -0 collapsed to keep the page light
A vendor/github.com/rs/zerolog/internal/cbor/README.md +56 -0 collapsed to keep the page light
A vendor/github.com/rs/zerolog/internal/cbor/base.go +19 -0 collapsed to keep the page light
A vendor/github.com/rs/zerolog/internal/cbor/cbor.go +102 -0 collapsed to keep the page light
A vendor/github.com/rs/zerolog/internal/cbor/decode_stream.go +654 -0 collapsed to keep the page light
A vendor/github.com/rs/zerolog/internal/cbor/string.go +117 -0 collapsed to keep the page light
A vendor/github.com/rs/zerolog/internal/cbor/time.go +111 -0 collapsed to keep the page light
A vendor/github.com/rs/zerolog/internal/cbor/types.go +524 -0 collapsed to keep the page light
A vendor/github.com/rs/zerolog/internal/json/base.go +19 -0 collapsed to keep the page light
A vendor/github.com/rs/zerolog/internal/json/bytes.go +85 -0 collapsed to keep the page light
A vendor/github.com/rs/zerolog/internal/json/string.go +149 -0 collapsed to keep the page light
A vendor/github.com/rs/zerolog/internal/json/time.go +124 -0 collapsed to keep the page light
A vendor/github.com/rs/zerolog/internal/json/types.go +466 -0 collapsed to keep the page light
A vendor/github.com/rs/zerolog/log.go +528 -0 collapsed to keep the page light
A vendor/github.com/rs/zerolog/not_go112.go +5 -0 collapsed to keep the page light
A vendor/github.com/rs/zerolog/pretty.png +0 -0 binary file: no text diff
binary file: no text diff
A vendor/github.com/rs/zerolog/sampler.go +137 -0 collapsed to keep the page light
A vendor/github.com/rs/zerolog/slog.go +247 -0 collapsed to keep the page light
A vendor/github.com/rs/zerolog/syslog.go +89 -0 collapsed to keep the page light
A vendor/github.com/rs/zerolog/writer.go +355 -0 collapsed to keep the page light
A vendor/github.com/russross/blackfriday/v2/.gitignore +8 -0 collapsed to keep the page light
A vendor/github.com/russross/blackfriday/v2/.travis.yml +17 -0 collapsed to keep the page light
A vendor/github.com/russross/blackfriday/v2/LICENSE.txt +29 -0 collapsed to keep the page light
A vendor/github.com/russross/blackfriday/v2/README.md +335 -0 collapsed to keep the page light
A vendor/github.com/russross/blackfriday/v2/block.go +1612 -0 collapsed to keep the page light
A vendor/github.com/russross/blackfriday/v2/doc.go +46 -0 collapsed to keep the page light
A vendor/github.com/russross/blackfriday/v2/entities.go +2236 -0 collapsed to keep the page light
A vendor/github.com/russross/blackfriday/v2/esc.go +70 -0 collapsed to keep the page light
A vendor/github.com/russross/blackfriday/v2/html.go +952 -0 collapsed to keep the page light
A vendor/github.com/russross/blackfriday/v2/inline.go +1228 -0 collapsed to keep the page light
A vendor/github.com/russross/blackfriday/v2/markdown.go +950 -0 collapsed to keep the page light
A vendor/github.com/russross/blackfriday/v2/node.go +360 -0 collapsed to keep the page light
A vendor/github.com/russross/blackfriday/v2/smartypants.go +457 -0 collapsed to keep the page light
A vendor/github.com/sagikazarmark/locafero/.editorconfig +21 -0 collapsed to keep the page light
A vendor/github.com/sagikazarmark/locafero/.envrc +4 -0 collapsed to keep the page light
A vendor/github.com/sagikazarmark/locafero/.gitignore +5 -0 collapsed to keep the page light
A vendor/github.com/sagikazarmark/locafero/.golangci.yaml +37 -0 collapsed to keep the page light
A vendor/github.com/sagikazarmark/locafero/LICENSE +19 -0 collapsed to keep the page light
A vendor/github.com/sagikazarmark/locafero/README.md +37 -0 collapsed to keep the page light
A vendor/github.com/sagikazarmark/locafero/devenv.lock +103 -0 collapsed to keep the page light
A vendor/github.com/sagikazarmark/locafero/devenv.nix +17 -0 collapsed to keep the page light
A vendor/github.com/sagikazarmark/locafero/devenv.yaml +4 -0 collapsed to keep the page light
A vendor/github.com/sagikazarmark/locafero/file_type.go +32 -0 collapsed to keep the page light
A vendor/github.com/sagikazarmark/locafero/finder.go +171 -0 collapsed to keep the page light
A vendor/github.com/sagikazarmark/locafero/glob.go +5 -0 collapsed to keep the page light
A vendor/github.com/sagikazarmark/locafero/glob_windows.go +8 -0 collapsed to keep the page light
A vendor/github.com/sagikazarmark/locafero/helpers.go +41 -0 collapsed to keep the page light
A vendor/github.com/sagikazarmark/locafero/internal/queue/eager.go +53 -0 collapsed to keep the page light
A vendor/github.com/sagikazarmark/locafero/internal/queue/queue.go +8 -0 collapsed to keep the page light
A vendor/github.com/sagikazarmark/locafero/justfile +14 -0 collapsed to keep the page light
A vendor/github.com/sahilm/fuzzy/.editorconfig +18 -0 collapsed to keep the page light
A vendor/github.com/sahilm/fuzzy/.gitignore +2 -0 collapsed to keep the page light
A vendor/github.com/sahilm/fuzzy/CONTRIBUTING.md +1 -0 collapsed to keep the page light
A vendor/github.com/sahilm/fuzzy/LICENSE +21 -0 collapsed to keep the page light
A vendor/github.com/sahilm/fuzzy/Makefile +59 -0 collapsed to keep the page light
A vendor/github.com/sahilm/fuzzy/README.md +186 -0 collapsed to keep the page light
A vendor/github.com/sahilm/fuzzy/fuzzy.go +263 -0 collapsed to keep the page light
A vendor/github.com/sethvargo/go-retry/LICENSE +202 -0 collapsed to keep the page light
A vendor/github.com/sethvargo/go-retry/README.md +185 -0 collapsed to keep the page light
A vendor/github.com/sethvargo/go-retry/backoff.go +134 -0 collapsed to keep the page light
A vendor/github.com/sethvargo/go-retry/backoff_constant.go +25 -0 collapsed to keep the page light
A vendor/github.com/sethvargo/go-retry/backoff_exponential.go +47 -0 collapsed to keep the page light
A vendor/github.com/sethvargo/go-retry/backoff_fibonacci.go +56 -0 collapsed to keep the page light
A vendor/github.com/sethvargo/go-retry/rand.go +54 -0 collapsed to keep the page light
A vendor/github.com/sethvargo/go-retry/retry.go +104 -0 collapsed to keep the page light
A vendor/github.com/spf13/afero/.editorconfig +15 -0 collapsed to keep the page light
A vendor/github.com/spf13/afero/.gitignore +2 -0 collapsed to keep the page light
A vendor/github.com/spf13/afero/.golangci.yaml +48 -0 collapsed to keep the page light
A vendor/github.com/spf13/afero/LICENSE.txt +174 -0 collapsed to keep the page light
A vendor/github.com/spf13/afero/README.md +474 -0 collapsed to keep the page light
A vendor/github.com/spf13/afero/afero.go +111 -0 collapsed to keep the page light
A vendor/github.com/spf13/afero/appveyor.yml +10 -0 collapsed to keep the page light
A vendor/github.com/spf13/afero/basepath.go +222 -0 collapsed to keep the page light
A vendor/github.com/spf13/afero/cacheOnReadFs.go +315 -0 collapsed to keep the page light
A vendor/github.com/spf13/afero/const_bsds.go +23 -0 collapsed to keep the page light
A vendor/github.com/spf13/afero/const_win_unix.go +22 -0 collapsed to keep the page light
A vendor/github.com/spf13/afero/copyOnWriteFs.go +332 -0 collapsed to keep the page light
A vendor/github.com/spf13/afero/httpFs.go +114 -0 collapsed to keep the page light
A vendor/github.com/spf13/afero/internal/common/adapters.go +27 -0 collapsed to keep the page light
A vendor/github.com/spf13/afero/iofs.go +302 -0 collapsed to keep the page light
A vendor/github.com/spf13/afero/ioutil.go +243 -0 collapsed to keep the page light
A vendor/github.com/spf13/afero/lstater.go +27 -0 collapsed to keep the page light
A vendor/github.com/spf13/afero/match.go +110 -0 collapsed to keep the page light
A vendor/github.com/spf13/afero/mem/dir.go +37 -0 collapsed to keep the page light
A vendor/github.com/spf13/afero/mem/dirmap.go +43 -0 collapsed to keep the page light
A vendor/github.com/spf13/afero/mem/file.go +373 -0 collapsed to keep the page light
A vendor/github.com/spf13/afero/memmap.go +463 -0 collapsed to keep the page light
A vendor/github.com/spf13/afero/os.go +113 -0 collapsed to keep the page light
A vendor/github.com/spf13/afero/path.go +106 -0 collapsed to keep the page light
A vendor/github.com/spf13/afero/readonlyfs.go +96 -0 collapsed to keep the page light
A vendor/github.com/spf13/afero/regexpfs.go +223 -0 collapsed to keep the page light
A vendor/github.com/spf13/afero/symlink.go +55 -0 collapsed to keep the page light
A vendor/github.com/spf13/afero/unionFile.go +331 -0 collapsed to keep the page light
A vendor/github.com/spf13/afero/util.go +329 -0 collapsed to keep the page light
A vendor/github.com/spf13/cast/.editorconfig +15 -0 collapsed to keep the page light
A vendor/github.com/spf13/cast/.gitignore +25 -0 collapsed to keep the page light
A vendor/github.com/spf13/cast/.golangci.yaml +39 -0 collapsed to keep the page light
A vendor/github.com/spf13/cast/LICENSE +21 -0 collapsed to keep the page light
A vendor/github.com/spf13/cast/Makefile +40 -0 collapsed to keep the page light
A vendor/github.com/spf13/cast/README.md +79 -0 collapsed to keep the page light
A vendor/github.com/spf13/cast/alias.go +69 -0 collapsed to keep the page light
A vendor/github.com/spf13/cast/basic.go +131 -0 collapsed to keep the page light
A vendor/github.com/spf13/cast/cast.go +84 -0 collapsed to keep the page light
A vendor/github.com/spf13/cast/indirect.go +37 -0 collapsed to keep the page light
A vendor/github.com/spf13/cast/internal/time.go +79 -0 collapsed to keep the page light
A vendor/github.com/spf13/cast/internal/timeformattype_string.go +27 -0 collapsed to keep the page light
A vendor/github.com/spf13/cast/map.go +212 -0 collapsed to keep the page light
A vendor/github.com/spf13/cast/number.go +549 -0 collapsed to keep the page light
A vendor/github.com/spf13/cast/slice.go +106 -0 collapsed to keep the page light
A vendor/github.com/spf13/cast/time.go +116 -0 collapsed to keep the page light
A vendor/github.com/spf13/cast/zz_generated.go +261 -0 collapsed to keep the page light
A vendor/github.com/spf13/cobra/.gitignore +39 -0 collapsed to keep the page light
A vendor/github.com/spf13/cobra/.golangci.yml +66 -0 collapsed to keep the page light
A vendor/github.com/spf13/cobra/.mailmap +3 -0 collapsed to keep the page light
A vendor/github.com/spf13/cobra/CONDUCT.md +37 -0 collapsed to keep the page light
A vendor/github.com/spf13/cobra/CONTRIBUTING.md +50 -0 collapsed to keep the page light
A vendor/github.com/spf13/cobra/LICENSE.txt +174 -0 collapsed to keep the page light
A vendor/github.com/spf13/cobra/MAINTAINERS +13 -0 collapsed to keep the page light
A vendor/github.com/spf13/cobra/Makefile +35 -0 collapsed to keep the page light
A vendor/github.com/spf13/cobra/README.md +133 -0 collapsed to keep the page light
A vendor/github.com/spf13/cobra/SECURITY.md +105 -0 collapsed to keep the page light
A vendor/github.com/spf13/cobra/active_help.go +60 -0 collapsed to keep the page light
A vendor/github.com/spf13/cobra/args.go +131 -0 collapsed to keep the page light
A vendor/github.com/spf13/cobra/bash_completions.go +709 -0 collapsed to keep the page light
A vendor/github.com/spf13/cobra/bash_completionsV2.go +484 -0 collapsed to keep the page light
A vendor/github.com/spf13/cobra/cobra.go +246 -0 collapsed to keep the page light
A vendor/github.com/spf13/cobra/command.go +2072 -0 collapsed to keep the page light
A vendor/github.com/spf13/cobra/command_notwin.go +20 -0 collapsed to keep the page light
A vendor/github.com/spf13/cobra/command_win.go +41 -0 collapsed to keep the page light
A vendor/github.com/spf13/cobra/completions.go +1020 -0 collapsed to keep the page light
A vendor/github.com/spf13/cobra/doc/man_docs.go +246 -0 collapsed to keep the page light
A vendor/github.com/spf13/cobra/doc/md_docs.go +158 -0 collapsed to keep the page light
A vendor/github.com/spf13/cobra/doc/rest_docs.go +186 -0 collapsed to keep the page light
A vendor/github.com/spf13/cobra/doc/util.go +52 -0 collapsed to keep the page light
A vendor/github.com/spf13/cobra/doc/yaml_docs.go +175 -0 collapsed to keep the page light
A vendor/github.com/spf13/cobra/fish_completions.go +292 -0 collapsed to keep the page light
A vendor/github.com/spf13/cobra/flag_groups.go +290 -0 collapsed to keep the page light
A vendor/github.com/spf13/cobra/powershell_completions.go +350 -0 collapsed to keep the page light
A vendor/github.com/spf13/cobra/shell_completions.go +98 -0 collapsed to keep the page light
A vendor/github.com/spf13/cobra/zsh_completions.go +308 -0 collapsed to keep the page light
A vendor/github.com/spf13/pflag/.editorconfig +12 -0 collapsed to keep the page light
A vendor/github.com/spf13/pflag/.gitignore +2 -0 collapsed to keep the page light
A vendor/github.com/spf13/pflag/.golangci.yaml +4 -0 collapsed to keep the page light
A vendor/github.com/spf13/pflag/.travis.yml +22 -0 collapsed to keep the page light
A vendor/github.com/spf13/pflag/LICENSE +28 -0 collapsed to keep the page light
A vendor/github.com/spf13/pflag/README.md +323 -0 collapsed to keep the page light
A vendor/github.com/spf13/pflag/bool.go +94 -0 collapsed to keep the page light
A vendor/github.com/spf13/pflag/bool_func.go +40 -0 collapsed to keep the page light
A vendor/github.com/spf13/pflag/bool_slice.go +185 -0 collapsed to keep the page light
A vendor/github.com/spf13/pflag/bytes.go +209 -0 collapsed to keep the page light
A vendor/github.com/spf13/pflag/count.go +96 -0 collapsed to keep the page light
A vendor/github.com/spf13/pflag/duration.go +86 -0 collapsed to keep the page light
A vendor/github.com/spf13/pflag/duration_slice.go +166 -0 collapsed to keep the page light
A vendor/github.com/spf13/pflag/errors.go +149 -0 collapsed to keep the page light
A vendor/github.com/spf13/pflag/flag.go +1289 -0 collapsed to keep the page light
A vendor/github.com/spf13/pflag/float32.go +88 -0 collapsed to keep the page light
A vendor/github.com/spf13/pflag/float32_slice.go +174 -0 collapsed to keep the page light
A vendor/github.com/spf13/pflag/float64.go +84 -0 collapsed to keep the page light
A vendor/github.com/spf13/pflag/float64_slice.go +166 -0 collapsed to keep the page light
A vendor/github.com/spf13/pflag/func.go +37 -0 collapsed to keep the page light
A vendor/github.com/spf13/pflag/golangflag.go +161 -0 collapsed to keep the page light
A vendor/github.com/spf13/pflag/int.go +84 -0 collapsed to keep the page light
A vendor/github.com/spf13/pflag/int16.go +88 -0 collapsed to keep the page light
A vendor/github.com/spf13/pflag/int32.go +88 -0 collapsed to keep the page light
A vendor/github.com/spf13/pflag/int32_slice.go +174 -0 collapsed to keep the page light
A vendor/github.com/spf13/pflag/int64.go +84 -0 collapsed to keep the page light
A vendor/github.com/spf13/pflag/int64_slice.go +166 -0 collapsed to keep the page light
A vendor/github.com/spf13/pflag/int8.go +88 -0 collapsed to keep the page light
A vendor/github.com/spf13/pflag/int_slice.go +158 -0 collapsed to keep the page light
A vendor/github.com/spf13/pflag/ip.go +97 -0 collapsed to keep the page light
A vendor/github.com/spf13/pflag/ip_slice.go +186 -0 collapsed to keep the page light
A vendor/github.com/spf13/pflag/ipmask.go +122 -0 collapsed to keep the page light
A vendor/github.com/spf13/pflag/ipnet.go +98 -0 collapsed to keep the page light
A vendor/github.com/spf13/pflag/ipnet_slice.go +147 -0 collapsed to keep the page light
A vendor/github.com/spf13/pflag/string.go +80 -0 collapsed to keep the page light
A vendor/github.com/spf13/pflag/string_array.go +125 -0 collapsed to keep the page light
A vendor/github.com/spf13/pflag/string_slice.go +163 -0 collapsed to keep the page light
A vendor/github.com/spf13/pflag/string_to_int.go +149 -0 collapsed to keep the page light
A vendor/github.com/spf13/pflag/string_to_int64.go +149 -0 collapsed to keep the page light
A vendor/github.com/spf13/pflag/string_to_string.go +168 -0 collapsed to keep the page light
A vendor/github.com/spf13/pflag/text.go +81 -0 collapsed to keep the page light
A vendor/github.com/spf13/pflag/time.go +124 -0 collapsed to keep the page light
A vendor/github.com/spf13/pflag/uint.go +88 -0 collapsed to keep the page light
A vendor/github.com/spf13/pflag/uint16.go +88 -0 collapsed to keep the page light
A vendor/github.com/spf13/pflag/uint32.go +88 -0 collapsed to keep the page light
A vendor/github.com/spf13/pflag/uint64.go +88 -0 collapsed to keep the page light
A vendor/github.com/spf13/pflag/uint8.go +88 -0 collapsed to keep the page light
A vendor/github.com/spf13/pflag/uint_slice.go +168 -0 collapsed to keep the page light
A vendor/github.com/spf13/viper/.editorconfig +21 -0 collapsed to keep the page light
A vendor/github.com/spf13/viper/.envrc +4 -0 collapsed to keep the page light
A vendor/github.com/spf13/viper/.gitignore +8 -0 collapsed to keep the page light
A vendor/github.com/spf13/viper/.golangci.yaml +118 -0 collapsed to keep the page light
A vendor/github.com/spf13/viper/.yamlignore +2 -0 collapsed to keep the page light
A vendor/github.com/spf13/viper/.yamllint.yaml +6 -0 collapsed to keep the page light
A vendor/github.com/spf13/viper/LICENSE +21 -0 collapsed to keep the page light
A vendor/github.com/spf13/viper/Makefile +87 -0 collapsed to keep the page light
A vendor/github.com/spf13/viper/README.md +931 -0 collapsed to keep the page light
A vendor/github.com/spf13/viper/TROUBLESHOOTING.md +32 -0 collapsed to keep the page light
A vendor/github.com/spf13/viper/UPGRADE.md +147 -0 collapsed to keep the page light
A vendor/github.com/spf13/viper/encoding.go +181 -0 collapsed to keep the page light
A vendor/github.com/spf13/viper/experimental.go +8 -0 collapsed to keep the page light
A vendor/github.com/spf13/viper/file.go +104 -0 collapsed to keep the page light
A vendor/github.com/spf13/viper/finder.go +55 -0 collapsed to keep the page light
A vendor/github.com/spf13/viper/flags.go +57 -0 collapsed to keep the page light
A vendor/github.com/spf13/viper/flake.lock +255 -0 collapsed to keep the page light
A vendor/github.com/spf13/viper/flake.nix +61 -0 collapsed to keep the page light
A vendor/github.com/spf13/viper/internal/encoding/dotenv/codec.go +61 -0 collapsed to keep the page light
A vendor/github.com/spf13/viper/internal/encoding/dotenv/map_utils.go +41 -0 collapsed to keep the page light
A vendor/github.com/spf13/viper/internal/encoding/json/codec.go +17 -0 collapsed to keep the page light
A vendor/github.com/spf13/viper/internal/encoding/toml/codec.go +16 -0 collapsed to keep the page light
A vendor/github.com/spf13/viper/internal/encoding/yaml/codec.go +14 -0 collapsed to keep the page light
A vendor/github.com/spf13/viper/internal/features/bind_struct.go +5 -0 collapsed to keep the page light
A vendor/github.com/spf13/viper/internal/features/bind_struct_default.go +5 -0 collapsed to keep the page light
A vendor/github.com/spf13/viper/internal/features/finder.go +5 -0 collapsed to keep the page light
A vendor/github.com/spf13/viper/internal/features/finder_default.go +5 -0 collapsed to keep the page light
A vendor/github.com/spf13/viper/logger.go +31 -0 collapsed to keep the page light
A vendor/github.com/spf13/viper/remote.go +259 -0 collapsed to keep the page light
A vendor/github.com/spf13/viper/util.go +211 -0 collapsed to keep the page light
A vendor/github.com/spf13/viper/viper.go +2077 -0 collapsed to keep the page light
A vendor/github.com/stretchr/objx/.codeclimate.yml +21 -0 collapsed to keep the page light
A vendor/github.com/stretchr/objx/.gitignore +11 -0 collapsed to keep the page light
A vendor/github.com/stretchr/objx/LICENSE +22 -0 collapsed to keep the page light
A vendor/github.com/stretchr/objx/README.md +91 -0 collapsed to keep the page light
A vendor/github.com/stretchr/objx/Taskfile.yml +27 -0 collapsed to keep the page light
A vendor/github.com/stretchr/objx/accessors.go +197 -0 collapsed to keep the page light
A vendor/github.com/stretchr/objx/conversions.go +280 -0 collapsed to keep the page light
A vendor/github.com/stretchr/objx/doc.go +66 -0 collapsed to keep the page light
A vendor/github.com/stretchr/objx/map.go +214 -0 collapsed to keep the page light
A vendor/github.com/stretchr/objx/mutations.go +77 -0 collapsed to keep the page light
A vendor/github.com/stretchr/objx/security.go +12 -0 collapsed to keep the page light
A vendor/github.com/stretchr/objx/tests.go +17 -0 collapsed to keep the page light
A vendor/github.com/stretchr/objx/type_specific.go +346 -0 collapsed to keep the page light
A vendor/github.com/stretchr/objx/type_specific_codegen.go +2261 -0 collapsed to keep the page light
A vendor/github.com/stretchr/objx/value.go +159 -0 collapsed to keep the page light
A vendor/github.com/stretchr/testify/LICENSE +21 -0 collapsed to keep the page light
A vendor/github.com/stretchr/testify/assert/assertion_compare.go +495 -0 collapsed to keep the page light
A vendor/github.com/stretchr/testify/assert/assertion_format.go +866 -0 collapsed to keep the page light
A vendor/github.com/stretchr/testify/assert/assertion_format.go.tmpl +5 -0 collapsed to keep the page light
A vendor/github.com/stretchr/testify/assert/assertion_forward.go +1723 -0 collapsed to keep the page light
A vendor/github.com/stretchr/testify/assert/assertion_forward.go.tmpl +5 -0 collapsed to keep the page light
A vendor/github.com/stretchr/testify/assert/assertion_order.go +81 -0 collapsed to keep the page light
A vendor/github.com/stretchr/testify/assert/assertions.go +2295 -0 collapsed to keep the page light
A vendor/github.com/stretchr/testify/assert/doc.go +50 -0 collapsed to keep the page light
A vendor/github.com/stretchr/testify/assert/errors.go +10 -0 collapsed to keep the page light
A vendor/github.com/stretchr/testify/assert/forward_assertions.go +16 -0 collapsed to keep the page light
A vendor/github.com/stretchr/testify/assert/http_assertions.go +165 -0 collapsed to keep the page light
A vendor/github.com/stretchr/testify/assert/yaml/yaml_custom.go +24 -0 collapsed to keep the page light
A vendor/github.com/stretchr/testify/assert/yaml/yaml_default.go +36 -0 collapsed to keep the page light
A vendor/github.com/stretchr/testify/assert/yaml/yaml_fail.go +17 -0 collapsed to keep the page light
A vendor/github.com/stretchr/testify/mock/doc.go +44 -0 collapsed to keep the page light
A vendor/github.com/stretchr/testify/mock/mock.go +1298 -0 collapsed to keep the page light
A vendor/github.com/stretchr/testify/require/doc.go +31 -0 collapsed to keep the page light
A vendor/github.com/stretchr/testify/require/forward_requirements.go +16 -0 collapsed to keep the page light
A vendor/github.com/stretchr/testify/require/require.go +2180 -0 collapsed to keep the page light
A vendor/github.com/stretchr/testify/require/require.go.tmpl +6 -0 collapsed to keep the page light
A vendor/github.com/stretchr/testify/require/require_forward.go +1724 -0 collapsed to keep the page light
A vendor/github.com/stretchr/testify/require/require_forward.go.tmpl +5 -0 collapsed to keep the page light
A vendor/github.com/stretchr/testify/require/requirements.go +29 -0 collapsed to keep the page light
A vendor/github.com/subosito/gotenv/.env +1 -0 collapsed to keep the page light
A vendor/github.com/subosito/gotenv/.env.invalid +1 -0 collapsed to keep the page light
A vendor/github.com/subosito/gotenv/.gitignore +4 -0 collapsed to keep the page light
A vendor/github.com/subosito/gotenv/.golangci.yaml +7 -0 collapsed to keep the page light
A vendor/github.com/subosito/gotenv/CHANGELOG.md +105 -0 collapsed to keep the page light
A vendor/github.com/subosito/gotenv/LICENSE +21 -0 collapsed to keep the page light
A vendor/github.com/subosito/gotenv/README.md +129 -0 collapsed to keep the page light
A vendor/github.com/subosito/gotenv/gotenv.go +409 -0 collapsed to keep the page light
A vendor/github.com/xo/terminfo/.gitignore +9 -0 collapsed to keep the page light
A vendor/github.com/xo/terminfo/LICENSE +21 -0 collapsed to keep the page light
A vendor/github.com/xo/terminfo/README.md +139 -0 collapsed to keep the page light
A vendor/github.com/xo/terminfo/caps.go +31 -0 collapsed to keep the page light
A vendor/github.com/xo/terminfo/capvals.go +1525 -0 collapsed to keep the page light
A vendor/github.com/xo/terminfo/color.go +88 -0 collapsed to keep the page light
A vendor/github.com/xo/terminfo/dec.go +245 -0 collapsed to keep the page light
A vendor/github.com/xo/terminfo/load.go +64 -0 collapsed to keep the page light
A vendor/github.com/xo/terminfo/param.go +405 -0 collapsed to keep the page light
A vendor/github.com/xo/terminfo/stack.go +48 -0 collapsed to keep the page light
A vendor/github.com/xo/terminfo/terminfo.go +479 -0 collapsed to keep the page light
A vendor/go.uber.org/multierr/.codecov.yml +15 -0 collapsed to keep the page light
A vendor/go.uber.org/multierr/.gitignore +4 -0 collapsed to keep the page light
A vendor/go.uber.org/multierr/CHANGELOG.md +95 -0 collapsed to keep the page light
A vendor/go.uber.org/multierr/LICENSE.txt +19 -0 collapsed to keep the page light
A vendor/go.uber.org/multierr/Makefile +38 -0 collapsed to keep the page light
A vendor/go.uber.org/multierr/README.md +43 -0 collapsed to keep the page light
A vendor/go.uber.org/multierr/error.go +646 -0 collapsed to keep the page light
A vendor/go.uber.org/multierr/error_post_go120.go +48 -0 collapsed to keep the page light
A vendor/go.uber.org/multierr/error_pre_go120.go +79 -0 collapsed to keep the page light
A vendor/go.yaml.in/yaml/v3/LICENSE +50 -0 collapsed to keep the page light
A vendor/go.yaml.in/yaml/v3/NOTICE +13 -0 collapsed to keep the page light
A vendor/go.yaml.in/yaml/v3/README.md +171 -0 collapsed to keep the page light
A vendor/go.yaml.in/yaml/v3/apic.go +747 -0 collapsed to keep the page light
A vendor/go.yaml.in/yaml/v3/decode.go +1018 -0 collapsed to keep the page light
A vendor/go.yaml.in/yaml/v3/emitterc.go +2054 -0 collapsed to keep the page light
A vendor/go.yaml.in/yaml/v3/encode.go +577 -0 collapsed to keep the page light
A vendor/go.yaml.in/yaml/v3/parserc.go +1274 -0 collapsed to keep the page light
A vendor/go.yaml.in/yaml/v3/readerc.go +434 -0 collapsed to keep the page light
A vendor/go.yaml.in/yaml/v3/resolve.go +326 -0 collapsed to keep the page light
A vendor/go.yaml.in/yaml/v3/scannerc.go +3040 -0 collapsed to keep the page light
A vendor/go.yaml.in/yaml/v3/sorter.go +134 -0 collapsed to keep the page light
A vendor/go.yaml.in/yaml/v3/writerc.go +48 -0 collapsed to keep the page light
A vendor/go.yaml.in/yaml/v3/yaml.go +703 -0 collapsed to keep the page light
A vendor/go.yaml.in/yaml/v3/yamlh.go +811 -0 collapsed to keep the page light
A vendor/go.yaml.in/yaml/v3/yamlprivateh.go +198 -0 collapsed to keep the page light
A vendor/golang.org/x/image/LICENSE +27 -0 collapsed to keep the page light
A vendor/golang.org/x/image/PATENTS +22 -0 collapsed to keep the page light
A vendor/golang.org/x/image/draw/draw.go +67 -0 collapsed to keep the page light
A vendor/golang.org/x/image/draw/impl.go +8426 -0 collapsed to keep the page light
A vendor/golang.org/x/image/draw/scale.go +525 -0 collapsed to keep the page light
A vendor/golang.org/x/image/math/f64/f64.go +37 -0 collapsed to keep the page light
A vendor/golang.org/x/mod/LICENSE +27 -0 collapsed to keep the page light
A vendor/golang.org/x/mod/PATENTS +22 -0 collapsed to keep the page light
A vendor/golang.org/x/mod/internal/lazyregexp/lazyre.go +78 -0 collapsed to keep the page light
A vendor/golang.org/x/mod/modfile/print.go +184 -0 collapsed to keep the page light
A vendor/golang.org/x/mod/modfile/read.go +962 -0 collapsed to keep the page light
A vendor/golang.org/x/mod/modfile/rule.go +1951 -0 collapsed to keep the page light
A vendor/golang.org/x/mod/modfile/work.go +333 -0 collapsed to keep the page light
A vendor/golang.org/x/mod/module/module.go +840 -0 collapsed to keep the page light
A vendor/golang.org/x/mod/module/pseudo.go +250 -0 collapsed to keep the page light
A vendor/golang.org/x/mod/semver/semver.go +407 -0 collapsed to keep the page light
A vendor/golang.org/x/net/LICENSE +27 -0 collapsed to keep the page light
A vendor/golang.org/x/net/PATENTS +22 -0 collapsed to keep the page light
A vendor/golang.org/x/net/html/atom/atom.go +78 -0 collapsed to keep the page light
A vendor/golang.org/x/net/html/atom/table.go +785 -0 collapsed to keep the page light
A vendor/golang.org/x/net/html/const.go +111 -0 collapsed to keep the page light
A vendor/golang.org/x/net/html/doc.go +122 -0 collapsed to keep the page light
A vendor/golang.org/x/net/html/doctype.go +156 -0 collapsed to keep the page light
A vendor/golang.org/x/net/html/entity.go +2252 -0 collapsed to keep the page light
A vendor/golang.org/x/net/html/escape.go +379 -0 collapsed to keep the page light
A vendor/golang.org/x/net/html/foreign.go +221 -0 collapsed to keep the page light
A vendor/golang.org/x/net/html/iter.go +54 -0 collapsed to keep the page light
A vendor/golang.org/x/net/html/node.go +230 -0 collapsed to keep the page light
A vendor/golang.org/x/net/html/nodetype_string.go +31 -0 collapsed to keep the page light
A vendor/golang.org/x/net/html/parse.go +2378 -0 collapsed to keep the page light
A vendor/golang.org/x/net/html/render.go +316 -0 collapsed to keep the page light
A vendor/golang.org/x/net/html/token.go +1322 -0 collapsed to keep the page light
A vendor/golang.org/x/net/idna/idna.go +880 -0 collapsed to keep the page light
A vendor/golang.org/x/net/idna/punycode.go +220 -0 collapsed to keep the page light
A vendor/golang.org/x/net/idna/tables15.0.0.go +5144 -0 collapsed to keep the page light
A vendor/golang.org/x/net/idna/tables17.0.0.go +5302 -0 collapsed to keep the page light
A vendor/golang.org/x/net/idna/trie.go +51 -0 collapsed to keep the page light
A vendor/golang.org/x/net/idna/trieval.go +119 -0 collapsed to keep the page light
A vendor/golang.org/x/net/publicsuffix/data/children +0 -0 binary file: no text diff
binary file: no text diff
A vendor/golang.org/x/net/publicsuffix/data/nodes +0 -0 binary file: no text diff
binary file: no text diff