Merge pull request #344 from bnema/chore/upstream-foundations
chore(deps): integrate approved upstream foundations
921 files · +28709 -25527
M docs/first-presentation.md +5 -2
| @@ -46,5 +46,8 @@ labels. Set `DUMBER_MACHINE_GPU_PROFILE` to one of `generic-gpu`, | |||
| 46 | 46 | `integrated-gpu`, `discrete-gpu`, `hybrid-gpu`, `virtual-gpu`, or `unknown-gpu`; | |
| 47 | 47 | do not use a device model or other identifier. Publish only the seven reviewed | |
| 48 | 48 | JSON files to an external Gist. Raw logs and temporary XDG homes are removed and | |
| 49 | - | must not be published. A missing or incomplete timeline, non-DMABUF backend, or | |
| 50 | - | invalid run fails collection. | |
| 49 | + | must not be published. `metadata.json` derives the selected | |
| 50 | + | `github.com/bnema/purego-cef2gtk` pseudo-version and its full immutable Git | |
| 51 | + | origin hash from Go module metadata; branch selectors or missing origin metadata | |
| 52 | + | fail collection. A missing or incomplete timeline, non-DMABUF backend, or invalid | |
| 53 | + | run also fails collection. | |
| @@ -46,5 +46,8 @@ labels. Set `DUMBER_MACHINE_GPU_PROFILE` to one of `generic-gpu`, | |||||
| 46 | `integrated-gpu`, `discrete-gpu`, `hybrid-gpu`, `virtual-gpu`, or `unknown-gpu`; | 46 | `integrated-gpu`, `discrete-gpu`, `hybrid-gpu`, `virtual-gpu`, or `unknown-gpu`; | ||
| 47 | do not use a device model or other identifier. Publish only the seven reviewed | 47 | do not use a device model or other identifier. Publish only the seven reviewed | ||
| 48 | JSON files to an external Gist. Raw logs and temporary XDG homes are removed and | 48 | JSON files to an external Gist. Raw logs and temporary XDG homes are removed and | ||
| 49 | - | must not be published. A missing or incomplete timeline, non-DMABUF backend, or | 49 | + | must not be published. `metadata.json` derives the selected |
| 50 | - | invalid run fails collection. | 50 | + | `github.com/bnema/purego-cef2gtk` pseudo-version and its full immutable Git |
| 51 | + | origin hash from Go module metadata; branch selectors or missing origin metadata | |||
| 52 | + | fail collection. A missing or incomplete timeline, non-DMABUF backend, or invalid | |||
| 53 | + | run also fails collection. | |||
M go.mod +5 -5
| @@ -6,11 +6,11 @@ require ( | |||
| 6 | 6 | github.com/a-h/templ v0.3.1020 | |
| 7 | 7 | github.com/andybalholm/brotli v1.2.2 | |
| 8 | 8 | github.com/bnema/purego v0.11.0-bnema.4 | |
| 9 | - | github.com/bnema/purego-cef v0.13.3 | |
| 10 | - | github.com/bnema/purego-cef2gtk v0.8.4 | |
| 11 | - | github.com/bnema/purego-pipewire v0.1.4 | |
| 12 | - | github.com/bnema/purego-sqlite v0.1.3 | |
| 13 | - | github.com/bnema/puregotk v0.7.0 | |
| 9 | + | github.com/bnema/purego-cef v0.13.4-0.20260714140305-f0b7414af67e | |
| 10 | + | github.com/bnema/purego-cef2gtk v0.8.4-0.20260714160309-bbd397409ebe | |
| 11 | + | github.com/bnema/purego-pipewire v0.1.5-0.20260714124450-6504b9cdf02a | |
| 12 | + | github.com/bnema/purego-sqlite v0.1.4-0.20260714131321-3614fe683b9c | |
| 13 | + | github.com/bnema/puregotk v0.7.1-0.20260714170452-0b6b9b901234 | |
| 14 | 14 | github.com/charmbracelet/bubbles v1.0.0 | |
| 15 | 15 | github.com/charmbracelet/bubbletea v1.3.10 | |
| 16 | 16 | github.com/charmbracelet/lipgloss v1.1.0 | |
| @@ -6,11 +6,11 @@ require ( | |||||
| 6 | github.com/a-h/templ v0.3.1020 | 6 | github.com/a-h/templ v0.3.1020 | ||
| 7 | github.com/andybalholm/brotli v1.2.2 | 7 | github.com/andybalholm/brotli v1.2.2 | ||
| 8 | github.com/bnema/purego v0.11.0-bnema.4 | 8 | github.com/bnema/purego v0.11.0-bnema.4 | ||
| 9 | - | github.com/bnema/purego-cef v0.13.3 | 9 | + | github.com/bnema/purego-cef v0.13.4-0.20260714140305-f0b7414af67e |
| 10 | - | github.com/bnema/purego-cef2gtk v0.8.4 | 10 | + | github.com/bnema/purego-cef2gtk v0.8.4-0.20260714160309-bbd397409ebe |
| 11 | - | github.com/bnema/purego-pipewire v0.1.4 | 11 | + | github.com/bnema/purego-pipewire v0.1.5-0.20260714124450-6504b9cdf02a |
| 12 | - | github.com/bnema/purego-sqlite v0.1.3 | 12 | + | github.com/bnema/purego-sqlite v0.1.4-0.20260714131321-3614fe683b9c |
| 13 | - | github.com/bnema/puregotk v0.7.0 | 13 | + | github.com/bnema/puregotk v0.7.1-0.20260714170452-0b6b9b901234 |
| 14 | github.com/charmbracelet/bubbles v1.0.0 | 14 | github.com/charmbracelet/bubbles v1.0.0 | ||
| 15 | github.com/charmbracelet/bubbletea v1.3.10 | 15 | github.com/charmbracelet/bubbletea v1.3.10 | ||
| 16 | github.com/charmbracelet/lipgloss v1.1.0 | 16 | github.com/charmbracelet/lipgloss v1.1.0 | ||
M go.sum +12 -0 generated file: collapsed
A internal/infrastructure/persistence/sqlite/history_repo_benchmark_test.go +71 -0
| @@ -0,0 +1,71 @@ | |||
| 1 | + | package sqlite_test | |
| 2 | + | ||
| 3 | + | import ( | |
| 4 | + | "fmt" | |
| 5 | + | "path/filepath" | |
| 6 | + | "testing" | |
| 7 | + | ||
| 8 | + | "github.com/bnema/dumber/internal/domain/entity" | |
| 9 | + | "github.com/bnema/dumber/internal/domain/repository" | |
| 10 | + | "github.com/bnema/dumber/internal/infrastructure/persistence/sqlite" | |
| 11 | + | ) | |
| 12 | + | ||
| 13 | + | // newHistoryBenchmarkRepository creates a representative local history corpus | |
| 14 | + | // outside the measured operation. Sidebar reads use GetRecent and omnibox | |
| 15 | + | // history suggestions use Search. | |
| 16 | + | func newHistoryBenchmarkRepository(b *testing.B) (repository.HistoryRepository, func()) { | |
| 17 | + | b.Helper() | |
| 18 | + | ||
| 19 | + | ctx := historyTestCtx() | |
| 20 | + | db, err := sqlite.NewConnection(ctx, filepath.Join(b.TempDir(), "dumber.db")) | |
| 21 | + | if err != nil { | |
| 22 | + | b.Fatal(err) | |
| 23 | + | } | |
| 24 | + | ||
| 25 | + | b.Cleanup(func() { | |
| 26 | + | if err := db.Close(); err != nil { | |
| 27 | + | b.Errorf("close benchmark database: %v", err) | |
| 28 | + | } | |
| 29 | + | }) | |
| 30 | + | ||
| 31 | + | repo := sqlite.NewHistoryRepository(db) | |
| 32 | + | for i := range 200 { | |
| 33 | + | entry := &entity.HistoryEntry{ | |
| 34 | + | URL: fmt.Sprintf("https://example%d.test/dumber/history/%d", i%20, i), | |
| 35 | + | Title: fmt.Sprintf("Dumber history entry %d", i), | |
| 36 | + | } | |
| 37 | + | if err := repo.Save(ctx, entry); err != nil { | |
| 38 | + | b.Fatal(err) | |
| 39 | + | } | |
| 40 | + | } | |
| 41 | + | ||
| 42 | + | return repo, func() {} | |
| 43 | + | } | |
| 44 | + | ||
| 45 | + | func BenchmarkHistorySQLiteSidebarRecent(b *testing.B) { | |
| 46 | + | repo, closeDB := newHistoryBenchmarkRepository(b) | |
| 47 | + | defer closeDB() | |
| 48 | + | ctx := historyTestCtx() | |
| 49 | + | ||
| 50 | + | b.ReportAllocs() | |
| 51 | + | b.ResetTimer() | |
| 52 | + | for range b.N { | |
| 53 | + | if _, err := repo.GetRecent(ctx, 50, 0); err != nil { | |
| 54 | + | b.Fatal(err) | |
| 55 | + | } | |
| 56 | + | } | |
| 57 | + | } | |
| 58 | + | ||
| 59 | + | func BenchmarkHistorySQLiteOmniboxSearch(b *testing.B) { | |
| 60 | + | repo, closeDB := newHistoryBenchmarkRepository(b) | |
| 61 | + | defer closeDB() | |
| 62 | + | ctx := historyTestCtx() | |
| 63 | + | ||
| 64 | + | b.ReportAllocs() | |
| 65 | + | b.ResetTimer() | |
| 66 | + | for range b.N { | |
| 67 | + | if _, err := repo.Search(ctx, "dumber history", 10); err != nil { | |
| 68 | + | b.Fatal(err) | |
| 69 | + | } | |
| 70 | + | } | |
| 71 | + | } | |
| @@ -0,0 +1,71 @@ | |||||
| 1 | + | package sqlite_test | |||
| 2 | + | ||||
| 3 | + | import ( | |||
| 4 | + | "fmt" | |||
| 5 | + | "path/filepath" | |||
| 6 | + | "testing" | |||
| 7 | + | ||||
| 8 | + | "github.com/bnema/dumber/internal/domain/entity" | |||
| 9 | + | "github.com/bnema/dumber/internal/domain/repository" | |||
| 10 | + | "github.com/bnema/dumber/internal/infrastructure/persistence/sqlite" | |||
| 11 | + | ) | |||
| 12 | + | ||||
| 13 | + | // newHistoryBenchmarkRepository creates a representative local history corpus | |||
| 14 | + | // outside the measured operation. Sidebar reads use GetRecent and omnibox | |||
| 15 | + | // history suggestions use Search. | |||
| 16 | + | func newHistoryBenchmarkRepository(b *testing.B) (repository.HistoryRepository, func()) { | |||
| 17 | + | b.Helper() | |||
| 18 | + | ||||
| 19 | + | ctx := historyTestCtx() | |||
| 20 | + | db, err := sqlite.NewConnection(ctx, filepath.Join(b.TempDir(), "dumber.db")) | |||
| 21 | + | if err != nil { | |||
| 22 | + | b.Fatal(err) | |||
| 23 | + | } | |||
| 24 | + | ||||
| 25 | + | b.Cleanup(func() { | |||
| 26 | + | if err := db.Close(); err != nil { | |||
| 27 | + | b.Errorf("close benchmark database: %v", err) | |||
| 28 | + | } | |||
| 29 | + | }) | |||
| 30 | + | ||||
| 31 | + | repo := sqlite.NewHistoryRepository(db) | |||
| 32 | + | for i := range 200 { | |||
| 33 | + | entry := &entity.HistoryEntry{ | |||
| 34 | + | URL: fmt.Sprintf("https://example%d.test/dumber/history/%d", i%20, i), | |||
| 35 | + | Title: fmt.Sprintf("Dumber history entry %d", i), | |||
| 36 | + | } | |||
| 37 | + | if err := repo.Save(ctx, entry); err != nil { | |||
| 38 | + | b.Fatal(err) | |||
| 39 | + | } | |||
| 40 | + | } | |||
| 41 | + | ||||
| 42 | + | return repo, func() {} | |||
| 43 | + | } | |||
| 44 | + | ||||
| 45 | + | func BenchmarkHistorySQLiteSidebarRecent(b *testing.B) { | |||
| 46 | + | repo, closeDB := newHistoryBenchmarkRepository(b) | |||
| 47 | + | defer closeDB() | |||
| 48 | + | ctx := historyTestCtx() | |||
| 49 | + | ||||
| 50 | + | b.ReportAllocs() | |||
| 51 | + | b.ResetTimer() | |||
| 52 | + | for range b.N { | |||
| 53 | + | if _, err := repo.GetRecent(ctx, 50, 0); err != nil { | |||
| 54 | + | b.Fatal(err) | |||
| 55 | + | } | |||
| 56 | + | } | |||
| 57 | + | } | |||
| 58 | + | ||||
| 59 | + | func BenchmarkHistorySQLiteOmniboxSearch(b *testing.B) { | |||
| 60 | + | repo, closeDB := newHistoryBenchmarkRepository(b) | |||
| 61 | + | defer closeDB() | |||
| 62 | + | ctx := historyTestCtx() | |||
| 63 | + | ||||
| 64 | + | b.ReportAllocs() | |||
| 65 | + | b.ResetTimer() | |||
| 66 | + | for range b.N { | |||
| 67 | + | if _, err := repo.Search(ctx, "dumber history", 10); err != nil { | |||
| 68 | + | b.Fatal(err) | |||
| 69 | + | } | |||
| 70 | + | } | |||
| 71 | + | } | |||
M internal/logging/first_presentation_collector_test.go +132 -1
| @@ -2,6 +2,7 @@ package logging | |||
| 2 | 2 | ||
| 3 | 3 | import ( | |
| 4 | 4 | "encoding/json" | |
| 5 | + | "fmt" | |
| 5 | 6 | "os" | |
| 6 | 7 | "os/exec" | |
| 7 | 8 | "path/filepath" | |
| @@ -143,8 +144,9 @@ func TestFirstPresentationCollectorSanitizesMachineLocalValues(t *testing.T) { | |||
| 143 | 144 | } | |
| 144 | 145 | for _, required := range []string{ | |
| 145 | 146 | `"measured_source_revision"`, | |
| 147 | + | `"version": "v0.8.4-0.20260714160309-bbd397409ebe"`, | |
| 146 | 148 | `"tag": "v0.8.4"`, | |
| 147 | - | `"revision": "f217ece342dea3ef2a3f98671fcd16a39ad0037d"`, | |
| 149 | + | `"revision": "bbd397409ebed75a5979c1e4566a2ef319f6a484"`, | |
| 148 | 150 | } { | |
| 149 | 151 | require.Contains(t, artifacts.String(), required) | |
| 150 | 152 | } | |
| @@ -166,6 +168,135 @@ func TestFirstPresentationCollectorSanitizesMachineLocalValues(t *testing.T) { | |||
| 166 | 168 | require.Equal(t, "integrated-gpu", metadata.Comparison.MachineGPUProfile) | |
| 167 | 169 | } | |
| 168 | 170 | ||
| 171 | + | func TestFirstPresentationCollectorDerivesSelectedImmutableModuleProvenance(t *testing.T) { | |
| 172 | + | repoRoot, err := filepath.Abs(filepath.Join("..", "..")) | |
| 173 | + | require.NoError(t, err) | |
| 174 | + | temp := t.TempDir() | |
| 175 | + | runtime := filepath.Join(temp, "cef-147-runtime") | |
| 176 | + | require.NoError(t, os.Mkdir(runtime, 0o755)) | |
| 177 | + | binary := filepath.Join(temp, "dumber") | |
| 178 | + | require.NoError(t, os.WriteFile(binary, collectorTestBinary(validFirstPresentationLog), 0o755)) | |
| 179 | + | ||
| 180 | + | // This exact pseudo-version is deliberately newer than the former v0.8.4 | |
| 181 | + | // hardcode; the collector must report what the selected module says. | |
| 182 | + | const version = "v0.8.5-0.20300102030405-bbd397409ebe" | |
| 183 | + | const revision = "bbd397409ebed75a5979c1e4566a2ef319f6a484" | |
| 184 | + | goBin := collectorProvenanceGo(t, temp, version, revision, "") | |
| 185 | + | output := filepath.Join(temp, "artifacts") | |
| 186 | + | cmd := exec.Command(filepath.Join(repoRoot, "scripts", "collect_first_presentation.sh")) | |
| 187 | + | cmd.Dir = repoRoot | |
| 188 | + | cmd.Env = append(os.Environ(), | |
| 189 | + | "DISPLAY=:test", | |
| 190 | + | "DUMBER_CEF_DIR="+runtime, | |
| 191 | + | "DUMBER_FIRST_PRESENTATION_BIN="+binary, | |
| 192 | + | "DUMBER_FIRST_PRESENTATION_OUTPUT="+output, | |
| 193 | + | "DUMBER_FIRST_PRESENTATION_TIMEOUT_SECONDS=1", | |
| 194 | + | "PATH="+filepath.Dir(goBin)+":"+os.Getenv("PATH"), | |
| 195 | + | ) | |
| 196 | + | result, err := cmd.CombinedOutput() | |
| 197 | + | require.NoErrorf(t, err, "collector failed: %s", result) | |
| 198 | + | ||
| 199 | + | var metadata struct { | |
| 200 | + | Upstream struct { | |
| 201 | + | Module string `json:"module"` | |
| 202 | + | Version string `json:"version"` | |
| 203 | + | Tag string `json:"tag"` | |
| 204 | + | Revision string `json:"revision"` | |
| 205 | + | } `json:"upstream"` | |
| 206 | + | } | |
| 207 | + | contents, err := os.ReadFile(filepath.Join(output, "metadata.json")) | |
| 208 | + | require.NoError(t, err) | |
| 209 | + | require.NoError(t, json.Unmarshal(contents, &metadata)) | |
| 210 | + | require.Equal(t, "github.com/bnema/purego-cef2gtk", metadata.Upstream.Module) | |
| 211 | + | require.Equal(t, version, metadata.Upstream.Version) | |
| 212 | + | require.Equal(t, "v0.8.5", metadata.Upstream.Tag) | |
| 213 | + | require.Equal(t, revision, metadata.Upstream.Revision) | |
| 214 | + | ||
| 215 | + | script, err := os.ReadFile(filepath.Join(repoRoot, "scripts", "collect_first_presentation.sh")) | |
| 216 | + | require.NoError(t, err) | |
| 217 | + | require.NotContains(t, string(script), "f217ece342dea3ef2a3f98671fcd16a39ad0037d") | |
| 218 | + | } | |
| 219 | + | ||
| 220 | + | func TestFirstPresentationCollectorRejectsNonImmutableModuleProvenanceWithoutLeaks(t *testing.T) { | |
| 221 | + | repoRoot, err := filepath.Abs(filepath.Join("..", "..")) | |
| 222 | + | require.NoError(t, err) | |
| 223 | + | ||
| 224 | + | for _, test := range []struct { | |
| 225 | + | name, version, revision, ref string | |
| 226 | + | }{ | |
| 227 | + | {name: "branch selector", version: "main", ref: "main"}, | |
| 228 | + | {name: "missing origin", version: "v0.8.5-0.20300102030405-bbd397409ebe"}, | |
| 229 | + | {name: "named origin ref", version: "v0.8.5-0.20300102030405-bbd397409ebe", revision: "bbd397409ebed75a5979c1e4566a2ef319f6a484", ref: "main"}, | |
| 230 | + | } { | |
| 231 | + | t.Run(test.name, func(t *testing.T) { | |
| 232 | + | temp := t.TempDir() | |
| 233 | + | runtime := filepath.Join(temp, "cef-147-runtime") | |
| 234 | + | require.NoError(t, os.Mkdir(runtime, 0o755)) | |
| 235 | + | binary := filepath.Join(temp, "dumber") | |
| 236 | + | require.NoError(t, os.WriteFile(binary, collectorTestBinary(validFirstPresentationLog), 0o755)) | |
| 237 | + | ||
| 238 | + | goBin := collectorProvenanceGo(t, temp, test.version, test.revision, test.ref) | |
| 239 | + | output := filepath.Join(temp, "artifacts") | |
| 240 | + | cmd := exec.Command(filepath.Join(repoRoot, "scripts", "collect_first_presentation.sh")) | |
| 241 | + | cmd.Dir = repoRoot | |
| 242 | + | cmd.Env = append(os.Environ(), | |
| 243 | + | "DISPLAY=:test", | |
| 244 | + | "DUMBER_CEF_DIR="+runtime, | |
| 245 | + | "DUMBER_FIRST_PRESENTATION_BIN="+binary, | |
| 246 | + | "DUMBER_FIRST_PRESENTATION_OUTPUT="+output, | |
| 247 | + | "PATH="+filepath.Dir(goBin)+":"+os.Getenv("PATH"), | |
| 248 | + | ) | |
| 249 | + | result, runErr := cmd.CombinedOutput() | |
| 250 | + | require.Errorf(t, runErr, "collector accepted nonimmutable module provenance: %s", result) | |
| 251 | + | require.Contains(t, string(result), "immutable module provenance is unavailable") | |
| 252 | + | require.NotContains(t, string(result), temp) | |
| 253 | + | require.NoFileExists(t, filepath.Join(output, "metadata.json")) | |
| 254 | + | for _, name := range runArtifactNames() { | |
| 255 | + | require.NoFileExists(t, filepath.Join(output, name)) | |
| 256 | + | } | |
| 257 | + | }) | |
| 258 | + | } | |
| 259 | + | } | |
| 260 | + | ||
| 261 | + | func collectorProvenanceGo(t *testing.T, temp, version, revision, ref string) string { | |
| 262 | + | t.Helper() | |
| 263 | + | infoPath := filepath.Join(temp, "module.info") | |
| 264 | + | info := map[string]any{"Version": version} | |
| 265 | + | if revision != "" { | |
| 266 | + | info["Origin"] = map[string]string{ | |
| 267 | + | "VCS": "git", "URL": "https://github.com/bnema/purego-cef2gtk", "Hash": revision, "Ref": ref, | |
| 268 | + | } | |
| 269 | + | } | |
| 270 | + | infoJSON, err := json.Marshal(info) | |
| 271 | + | require.NoError(t, err) | |
| 272 | + | require.NoError(t, os.WriteFile(infoPath, infoJSON, 0o600)) | |
| 273 | + | ||
| 274 | + | selectedJSON, err := json.Marshal(map[string]string{ | |
| 275 | + | "Path": "github.com/bnema/purego-cef2gtk", "Version": version, | |
| 276 | + | }) | |
| 277 | + | require.NoError(t, err) | |
| 278 | + | downloadedJSON, err := json.Marshal(map[string]string{ | |
| 279 | + | "Path": "github.com/bnema/purego-cef2gtk", "Version": version, "Info": infoPath, | |
| 280 | + | }) | |
| 281 | + | require.NoError(t, err) | |
| 282 | + | binDir := filepath.Join(temp, "bin") | |
| 283 | + | require.NoError(t, os.Mkdir(binDir, 0o755)) | |
| 284 | + | goBin := filepath.Join(binDir, "go") | |
| 285 | + | script := fmt.Sprintf(`#!/bin/sh | |
| 286 | + | if [ "$1" = "list" ] && [ "$2" = "-m" ] && [ "$3" = "-json" ] && [ "$4" = "github.com/bnema/purego-cef2gtk" ]; then | |
| 287 | + | printf '%%s\n' '%s' | |
| 288 | + | exit 0 | |
| 289 | + | fi | |
| 290 | + | if [ "$1" = "mod" ] && [ "$2" = "download" ] && [ "$3" = "-json" ] && [ "$4" = "github.com/bnema/purego-cef2gtk@%s" ]; then | |
| 291 | + | printf '%%s\n' '%s' | |
| 292 | + | exit 0 | |
| 293 | + | fi | |
| 294 | + | exit 1 | |
| 295 | + | `, selectedJSON, version, downloadedJSON) | |
| 296 | + | require.NoError(t, os.WriteFile(goBin, []byte(script), 0o755)) | |
| 297 | + | return goBin | |
| 298 | + | } | |
| 299 | + | ||
| 169 | 300 | func TestFirstPresentationCollectorDefaultsToXDGStateEvidenceDirectory(t *testing.T) { | |
| 170 | 301 | repoRoot, err := filepath.Abs(filepath.Join("..", "..")) | |
| 171 | 302 | require.NoError(t, err) | |
| @@ -2,6 +2,7 @@ package logging | |||||
| 2 | 2 | ||||
| 3 | import ( | 3 | import ( | ||
| 4 | "encoding/json" | 4 | "encoding/json" | ||
| 5 | + | "fmt" | |||
| 5 | "os" | 6 | "os" | ||
| 6 | "os/exec" | 7 | "os/exec" | ||
| 7 | "path/filepath" | 8 | "path/filepath" | ||
| @@ -143,8 +144,9 @@ func TestFirstPresentationCollectorSanitizesMachineLocalValues(t *testing.T) { | |||||
| 143 | } | 144 | } | ||
| 144 | for _, required := range []string{ | 145 | for _, required := range []string{ | ||
| 145 | `"measured_source_revision"`, | 146 | `"measured_source_revision"`, | ||
| 147 | + | `"version": "v0.8.4-0.20260714160309-bbd397409ebe"`, | |||
| 146 | `"tag": "v0.8.4"`, | 148 | `"tag": "v0.8.4"`, | ||
| 147 | - | `"revision": "f217ece342dea3ef2a3f98671fcd16a39ad0037d"`, | 149 | + | `"revision": "bbd397409ebed75a5979c1e4566a2ef319f6a484"`, |
| 148 | } { | 150 | } { | ||
| 149 | require.Contains(t, artifacts.String(), required) | 151 | require.Contains(t, artifacts.String(), required) | ||
| 150 | } | 152 | } | ||
| @@ -166,6 +168,135 @@ func TestFirstPresentationCollectorSanitizesMachineLocalValues(t *testing.T) { | |||||
| 166 | require.Equal(t, "integrated-gpu", metadata.Comparison.MachineGPUProfile) | 168 | require.Equal(t, "integrated-gpu", metadata.Comparison.MachineGPUProfile) | ||
| 167 | } | 169 | } | ||
| 168 | 170 | ||||
| 171 | + | func TestFirstPresentationCollectorDerivesSelectedImmutableModuleProvenance(t *testing.T) { | |||
| 172 | + | repoRoot, err := filepath.Abs(filepath.Join("..", "..")) | |||
| 173 | + | require.NoError(t, err) | |||
| 174 | + | temp := t.TempDir() | |||
| 175 | + | runtime := filepath.Join(temp, "cef-147-runtime") | |||
| 176 | + | require.NoError(t, os.Mkdir(runtime, 0o755)) | |||
| 177 | + | binary := filepath.Join(temp, "dumber") | |||
| 178 | + | require.NoError(t, os.WriteFile(binary, collectorTestBinary(validFirstPresentationLog), 0o755)) | |||
| 179 | + | ||||
| 180 | + | // This exact pseudo-version is deliberately newer than the former v0.8.4 | |||
| 181 | + | // hardcode; the collector must report what the selected module says. | |||
| 182 | + | const version = "v0.8.5-0.20300102030405-bbd397409ebe" | |||
| 183 | + | const revision = "bbd397409ebed75a5979c1e4566a2ef319f6a484" | |||
| 184 | + | goBin := collectorProvenanceGo(t, temp, version, revision, "") | |||
| 185 | + | output := filepath.Join(temp, "artifacts") | |||
| 186 | + | cmd := exec.Command(filepath.Join(repoRoot, "scripts", "collect_first_presentation.sh")) | |||
| 187 | + | cmd.Dir = repoRoot | |||
| 188 | + | cmd.Env = append(os.Environ(), | |||
| 189 | + | "DISPLAY=:test", | |||
| 190 | + | "DUMBER_CEF_DIR="+runtime, | |||
| 191 | + | "DUMBER_FIRST_PRESENTATION_BIN="+binary, | |||
| 192 | + | "DUMBER_FIRST_PRESENTATION_OUTPUT="+output, | |||
| 193 | + | "DUMBER_FIRST_PRESENTATION_TIMEOUT_SECONDS=1", | |||
| 194 | + | "PATH="+filepath.Dir(goBin)+":"+os.Getenv("PATH"), | |||
| 195 | + | ) | |||
| 196 | + | result, err := cmd.CombinedOutput() | |||
| 197 | + | require.NoErrorf(t, err, "collector failed: %s", result) | |||
| 198 | + | ||||
| 199 | + | var metadata struct { | |||
| 200 | + | Upstream struct { | |||
| 201 | + | Module string `json:"module"` | |||
| 202 | + | Version string `json:"version"` | |||
| 203 | + | Tag string `json:"tag"` | |||
| 204 | + | Revision string `json:"revision"` | |||
| 205 | + | } `json:"upstream"` | |||
| 206 | + | } | |||
| 207 | + | contents, err := os.ReadFile(filepath.Join(output, "metadata.json")) | |||
| 208 | + | require.NoError(t, err) | |||
| 209 | + | require.NoError(t, json.Unmarshal(contents, &metadata)) | |||
| 210 | + | require.Equal(t, "github.com/bnema/purego-cef2gtk", metadata.Upstream.Module) | |||
| 211 | + | require.Equal(t, version, metadata.Upstream.Version) | |||
| 212 | + | require.Equal(t, "v0.8.5", metadata.Upstream.Tag) | |||
| 213 | + | require.Equal(t, revision, metadata.Upstream.Revision) | |||
| 214 | + | ||||
| 215 | + | script, err := os.ReadFile(filepath.Join(repoRoot, "scripts", "collect_first_presentation.sh")) | |||
| 216 | + | require.NoError(t, err) | |||
| 217 | + | require.NotContains(t, string(script), "f217ece342dea3ef2a3f98671fcd16a39ad0037d") | |||
| 218 | + | } | |||
| 219 | + | ||||
| 220 | + | func TestFirstPresentationCollectorRejectsNonImmutableModuleProvenanceWithoutLeaks(t *testing.T) { | |||
| 221 | + | repoRoot, err := filepath.Abs(filepath.Join("..", "..")) | |||
| 222 | + | require.NoError(t, err) | |||
| 223 | + | ||||
| 224 | + | for _, test := range []struct { | |||
| 225 | + | name, version, revision, ref string | |||
| 226 | + | }{ | |||
| 227 | + | {name: "branch selector", version: "main", ref: "main"}, | |||
| 228 | + | {name: "missing origin", version: "v0.8.5-0.20300102030405-bbd397409ebe"}, | |||
| 229 | + | {name: "named origin ref", version: "v0.8.5-0.20300102030405-bbd397409ebe", revision: "bbd397409ebed75a5979c1e4566a2ef319f6a484", ref: "main"}, | |||
| 230 | + | } { | |||
| 231 | + | t.Run(test.name, func(t *testing.T) { | |||
| 232 | + | temp := t.TempDir() | |||
| 233 | + | runtime := filepath.Join(temp, "cef-147-runtime") | |||
| 234 | + | require.NoError(t, os.Mkdir(runtime, 0o755)) | |||
| 235 | + | binary := filepath.Join(temp, "dumber") | |||
| 236 | + | require.NoError(t, os.WriteFile(binary, collectorTestBinary(validFirstPresentationLog), 0o755)) | |||
| 237 | + | ||||
| 238 | + | goBin := collectorProvenanceGo(t, temp, test.version, test.revision, test.ref) | |||
| 239 | + | output := filepath.Join(temp, "artifacts") | |||
| 240 | + | cmd := exec.Command(filepath.Join(repoRoot, "scripts", "collect_first_presentation.sh")) | |||
| 241 | + | cmd.Dir = repoRoot | |||
| 242 | + | cmd.Env = append(os.Environ(), | |||
| 243 | + | "DISPLAY=:test", | |||
| 244 | + | "DUMBER_CEF_DIR="+runtime, | |||
| 245 | + | "DUMBER_FIRST_PRESENTATION_BIN="+binary, | |||
| 246 | + | "DUMBER_FIRST_PRESENTATION_OUTPUT="+output, | |||
| 247 | + | "PATH="+filepath.Dir(goBin)+":"+os.Getenv("PATH"), | |||
| 248 | + | ) | |||
| 249 | + | result, runErr := cmd.CombinedOutput() | |||
| 250 | + | require.Errorf(t, runErr, "collector accepted nonimmutable module provenance: %s", result) | |||
| 251 | + | require.Contains(t, string(result), "immutable module provenance is unavailable") | |||
| 252 | + | require.NotContains(t, string(result), temp) | |||
| 253 | + | require.NoFileExists(t, filepath.Join(output, "metadata.json")) | |||
| 254 | + | for _, name := range runArtifactNames() { | |||
| 255 | + | require.NoFileExists(t, filepath.Join(output, name)) | |||
| 256 | + | } | |||
| 257 | + | }) | |||
| 258 | + | } | |||
| 259 | + | } | |||
| 260 | + | ||||
| 261 | + | func collectorProvenanceGo(t *testing.T, temp, version, revision, ref string) string { | |||
| 262 | + | t.Helper() | |||
| 263 | + | infoPath := filepath.Join(temp, "module.info") | |||
| 264 | + | info := map[string]any{"Version": version} | |||
| 265 | + | if revision != "" { | |||
| 266 | + | info["Origin"] = map[string]string{ | |||
| 267 | + | "VCS": "git", "URL": "https://github.com/bnema/purego-cef2gtk", "Hash": revision, "Ref": ref, | |||
| 268 | + | } | |||
| 269 | + | } | |||
| 270 | + | infoJSON, err := json.Marshal(info) | |||
| 271 | + | require.NoError(t, err) | |||
| 272 | + | require.NoError(t, os.WriteFile(infoPath, infoJSON, 0o600)) | |||
| 273 | + | ||||
| 274 | + | selectedJSON, err := json.Marshal(map[string]string{ | |||
| 275 | + | "Path": "github.com/bnema/purego-cef2gtk", "Version": version, | |||
| 276 | + | }) | |||
| 277 | + | require.NoError(t, err) | |||
| 278 | + | downloadedJSON, err := json.Marshal(map[string]string{ | |||
| 279 | + | "Path": "github.com/bnema/purego-cef2gtk", "Version": version, "Info": infoPath, | |||
| 280 | + | }) | |||
| 281 | + | require.NoError(t, err) | |||
| 282 | + | binDir := filepath.Join(temp, "bin") | |||
| 283 | + | require.NoError(t, os.Mkdir(binDir, 0o755)) | |||
| 284 | + | goBin := filepath.Join(binDir, "go") | |||
| 285 | + | script := fmt.Sprintf(`#!/bin/sh | |||
| 286 | + | if [ "$1" = "list" ] && [ "$2" = "-m" ] && [ "$3" = "-json" ] && [ "$4" = "github.com/bnema/purego-cef2gtk" ]; then | |||
| 287 | + | printf '%%s\n' '%s' | |||
| 288 | + | exit 0 | |||
| 289 | + | fi | |||
| 290 | + | if [ "$1" = "mod" ] && [ "$2" = "download" ] && [ "$3" = "-json" ] && [ "$4" = "github.com/bnema/purego-cef2gtk@%s" ]; then | |||
| 291 | + | printf '%%s\n' '%s' | |||
| 292 | + | exit 0 | |||
| 293 | + | fi | |||
| 294 | + | exit 1 | |||
| 295 | + | `, selectedJSON, version, downloadedJSON) | |||
| 296 | + | require.NoError(t, os.WriteFile(goBin, []byte(script), 0o755)) | |||
| 297 | + | return goBin | |||
| 298 | + | } | |||
| 299 | + | ||||
| 169 | func TestFirstPresentationCollectorDefaultsToXDGStateEvidenceDirectory(t *testing.T) { | 300 | func TestFirstPresentationCollectorDefaultsToXDGStateEvidenceDirectory(t *testing.T) { | ||
| 170 | repoRoot, err := filepath.Abs(filepath.Join("..", "..")) | 301 | repoRoot, err := filepath.Abs(filepath.Join("..", "..")) | ||
| 171 | require.NoError(t, err) | 302 | require.NoError(t, err) | ||
M scripts/collect_first_presentation.sh +78 -9
| @@ -31,8 +31,78 @@ else | |||
| 31 | 31 | fi | |
| 32 | 32 | readonly output | |
| 33 | 33 | readonly upstream_module="github.com/bnema/purego-cef2gtk" | |
| 34 | - | readonly upstream_tag="v0.8.4" | |
| 35 | - | readonly upstream_revision="f217ece342dea3ef2a3f98671fcd16a39ad0037d" | |
| 34 | + | ||
| 35 | + | # Resolve the version selected by this checkout, then obtain its immutable VCS | |
| 36 | + | # origin from Go's cached module metadata. Do not infer a revision from a tag, | |
| 37 | + | # a branch, or a truncated pseudo-version suffix. | |
| 38 | + | resolve_upstream_provenance() { | |
| 39 | + | local selected_metadata selected_version downloaded_metadata | |
| 40 | + | ||
| 41 | + | selected_metadata="$(go list -m -json "$upstream_module" 2>/dev/null)" || { | |
| 42 | + | echo "first-presentation: immutable module provenance is unavailable" >&2 | |
| 43 | + | exit 2 | |
| 44 | + | } | |
| 45 | + | selected_version="$(python3 - "$upstream_module" "$selected_metadata" <<'PY' | |
| 46 | + | import json, sys | |
| 47 | + | try: | |
| 48 | + | metadata = json.loads(sys.argv[2]) | |
| 49 | + | if metadata.get("Path") != sys.argv[1] or not isinstance(metadata.get("Version"), str): | |
| 50 | + | raise ValueError | |
| 51 | + | print(metadata["Version"]) | |
| 52 | + | except (AttributeError, TypeError, ValueError, json.JSONDecodeError): | |
| 53 | + | raise SystemExit("first-presentation: immutable module provenance is unavailable") | |
| 54 | + | PY | |
| 55 | + | )" || exit $? | |
| 56 | + | downloaded_metadata="$(go mod download -json "$upstream_module@$selected_version" 2>/dev/null)" || { | |
| 57 | + | echo "first-presentation: immutable module provenance is unavailable" >&2 | |
| 58 | + | exit 2 | |
| 59 | + | } | |
| 60 | + | ||
| 61 | + | python3 - "$upstream_module" "$selected_metadata" "$downloaded_metadata" <<'PY' | |
| 62 | + | import json, re, sys | |
| 63 | + | ||
| 64 | + | module, selected_raw, downloaded_raw = sys.argv[1:] | |
| 65 | + | ||
| 66 | + | def fail(): | |
| 67 | + | # Do not expose Go cache locations or other machine-local values. | |
| 68 | + | raise SystemExit("first-presentation: immutable module provenance is unavailable") | |
| 69 | + | ||
| 70 | + | try: | |
| 71 | + | selected = json.loads(selected_raw) | |
| 72 | + | downloaded = json.loads(downloaded_raw) | |
| 73 | + | version = selected["Version"] | |
| 74 | + | if selected.get("Path") != module or downloaded.get("Path") != module: | |
| 75 | + | fail() | |
| 76 | + | if downloaded.get("Version") != version: | |
| 77 | + | fail() | |
| 78 | + | # A selected pseudo-version is an exact immutable selector, never a branch. | |
| 79 | + | match = re.fullmatch(r"(v\d+\.\d+\.\d+)-0\.\d{14}-([0-9a-f]{12})", version) | |
| 80 | + | if not match: | |
| 81 | + | fail() | |
| 82 | + | info_path = downloaded.get("Info") | |
| 83 | + | if not isinstance(info_path, str) or not info_path: | |
| 84 | + | fail() | |
| 85 | + | with open(info_path, encoding="utf-8") as info_file: | |
| 86 | + | info = json.load(info_file) | |
| 87 | + | origin = info.get("Origin") or downloaded.get("Origin") | |
| 88 | + | if info.get("Version") != version or not isinstance(origin, dict): | |
| 89 | + | fail() | |
| 90 | + | revision = origin.get("Hash") | |
| 91 | + | if origin.get("VCS") != "git" or origin.get("URL") != "https://github.com/bnema/purego-cef2gtk": | |
| 92 | + | fail() | |
| 93 | + | if not isinstance(revision, str) or not re.fullmatch(r"[0-9a-f]{40}", revision): | |
| 94 | + | fail() | |
| 95 | + | if not revision.startswith(match.group(2)): | |
| 96 | + | fail() | |
| 97 | + | # A named ref can move. Only the immutable hash itself is acceptable. | |
| 98 | + | if origin.get("Ref") not in (None, "", revision): | |
| 99 | + | fail() | |
| 100 | + | except (AttributeError, KeyError, OSError, TypeError, ValueError, json.JSONDecodeError): | |
| 101 | + | fail() | |
| 102 | + | ||
| 103 | + | print("\t".join((version, match.group(1), revision))) | |
| 104 | + | PY | |
| 105 | + | } | |
| 36 | 106 | ||
| 37 | 107 | # The artifact destination is caller-controlled. Never empty or recursively | |
| 38 | 108 | # clear it: collection only writes to a newly-created directory whose parent is | |
| @@ -66,10 +136,9 @@ prepare_output | |||
| 66 | 136 | [[ -x "$binary" ]] || { echo "first-presentation: executable not found: $binary" >&2; exit 2; } | |
| 67 | 137 | [[ -d "$runtime" ]] || { echo "first-presentation: CEF runtime not found: $runtime" >&2; exit 2; } | |
| 68 | 138 | [[ -n "${WAYLAND_DISPLAY:-}${DISPLAY:-}" ]] || { echo "first-presentation: a current Wayland/X11 display is required" >&2; exit 2; } | |
| 69 | - | [[ "$(go list -m -f '{{.Version}}' "$upstream_module")" == "$upstream_tag" ]] || { | |
| 70 | - | echo "first-presentation: expected $upstream_module@$upstream_tag" >&2 | |
| 71 | - | exit 2 | |
| 72 | - | } | |
| 139 | + | upstream_provenance="$(resolve_upstream_provenance)" || exit $? | |
| 140 | + | IFS=$'\t' read -r upstream_version upstream_tag upstream_revision <<<"$upstream_provenance" | |
| 141 | + | readonly upstream_version upstream_tag upstream_revision | |
| 73 | 142 | ||
| 74 | 143 | # Raw logs and temporary XDG homes may contain machine-local paths. Keep them | |
| 75 | 144 | # outside the committed artifact directory and always remove them. | |
| @@ -80,9 +149,9 @@ cleanup_work_root() { | |||
| 80 | 149 | rm -rf -- "$work_root" | |
| 81 | 150 | } | |
| 82 | 151 | trap cleanup_work_root EXIT | |
| 83 | - | python3 - "$output/metadata.json" "$binary" "$timeout_seconds" "$upstream_module" "$upstream_tag" "$upstream_revision" <<'PY' | |
| 152 | + | python3 - "$output/metadata.json" "$binary" "$timeout_seconds" "$upstream_module" "$upstream_version" "$upstream_tag" "$upstream_revision" <<'PY' | |
| 84 | 153 | import hashlib, json, os, platform, subprocess, sys | |
| 85 | - | path, binary, timeout, upstream_module, upstream_tag, upstream_revision = sys.argv[1:] | |
| 154 | + | path, binary, timeout, upstream_module, upstream_version, upstream_tag, upstream_revision = sys.argv[1:] | |
| 86 | 155 | with open(binary, "rb") as candidate: | |
| 87 | 156 | binary_sha256 = hashlib.file_digest(candidate, "sha256").hexdigest() | |
| 88 | 157 | ||
| @@ -102,7 +171,7 @@ json.dump({ | |||
| 102 | 171 | "binary": {"label": "dumber", "sha256": binary_sha256}, | |
| 103 | 172 | "timeout_seconds": int(timeout), | |
| 104 | 173 | "measured_source_revision": subprocess.check_output(["git", "-c", f"safe.directory={os.getcwd()}", "rev-parse", "HEAD"], text=True).strip(), | |
| 105 | - | "upstream": {"module": upstream_module, "tag": upstream_tag, "revision": upstream_revision}, | |
| 174 | + | "upstream": {"module": upstream_module, "version": upstream_version, "tag": upstream_tag, "revision": upstream_revision}, | |
| 106 | 175 | "comparison": {"os": os_label, "architecture": architecture, "display_protocol": display_protocol, "machine_gpu_profile": gpu_profile}, | |
| 107 | 176 | "render_configuration": {"backend": "gdk-dmabuf", "buffer_sharing": "dmabuf", "renderer": "vulkan"} | |
| 108 | 177 | }, open(path, "w"), indent=2, sort_keys=True) | |
| @@ -31,8 +31,78 @@ else | |||||
| 31 | fi | 31 | fi | ||
| 32 | readonly output | 32 | readonly output | ||
| 33 | readonly upstream_module="github.com/bnema/purego-cef2gtk" | 33 | readonly upstream_module="github.com/bnema/purego-cef2gtk" | ||
| 34 | - | readonly upstream_tag="v0.8.4" | 34 | + | |
| 35 | - | readonly upstream_revision="f217ece342dea3ef2a3f98671fcd16a39ad0037d" | 35 | + | # Resolve the version selected by this checkout, then obtain its immutable VCS |
| 36 | + | # origin from Go's cached module metadata. Do not infer a revision from a tag, | |||
| 37 | + | # a branch, or a truncated pseudo-version suffix. | |||
| 38 | + | resolve_upstream_provenance() { | |||
| 39 | + | local selected_metadata selected_version downloaded_metadata | |||
| 40 | + | ||||
| 41 | + | selected_metadata="$(go list -m -json "$upstream_module" 2>/dev/null)" || { | |||
| 42 | + | echo "first-presentation: immutable module provenance is unavailable" >&2 | |||
| 43 | + | exit 2 | |||
| 44 | + | } | |||
| 45 | + | selected_version="$(python3 - "$upstream_module" "$selected_metadata" <<'PY' | |||
| 46 | + | import json, sys | |||
| 47 | + | try: | |||
| 48 | + | metadata = json.loads(sys.argv[2]) | |||
| 49 | + | if metadata.get("Path") != sys.argv[1] or not isinstance(metadata.get("Version"), str): | |||
| 50 | + | raise ValueError | |||
| 51 | + | print(metadata["Version"]) | |||
| 52 | + | except (AttributeError, TypeError, ValueError, json.JSONDecodeError): | |||
| 53 | + | raise SystemExit("first-presentation: immutable module provenance is unavailable") | |||
| 54 | + | PY | |||
| 55 | + | )" || exit $? | |||
| 56 | + | downloaded_metadata="$(go mod download -json "$upstream_module@$selected_version" 2>/dev/null)" || { | |||
| 57 | + | echo "first-presentation: immutable module provenance is unavailable" >&2 | |||
| 58 | + | exit 2 | |||
| 59 | + | } | |||
| 60 | + | ||||
| 61 | + | python3 - "$upstream_module" "$selected_metadata" "$downloaded_metadata" <<'PY' | |||
| 62 | + | import json, re, sys | |||
| 63 | + | ||||
| 64 | + | module, selected_raw, downloaded_raw = sys.argv[1:] | |||
| 65 | + | ||||
| 66 | + | def fail(): | |||
| 67 | + | # Do not expose Go cache locations or other machine-local values. | |||
| 68 | + | raise SystemExit("first-presentation: immutable module provenance is unavailable") | |||
| 69 | + | ||||
| 70 | + | try: | |||
| 71 | + | selected = json.loads(selected_raw) | |||
| 72 | + | downloaded = json.loads(downloaded_raw) | |||
| 73 | + | version = selected["Version"] | |||
| 74 | + | if selected.get("Path") != module or downloaded.get("Path") != module: | |||
| 75 | + | fail() | |||
| 76 | + | if downloaded.get("Version") != version: | |||
| 77 | + | fail() | |||
| 78 | + | # A selected pseudo-version is an exact immutable selector, never a branch. | |||
| 79 | + | match = re.fullmatch(r"(v\d+\.\d+\.\d+)-0\.\d{14}-([0-9a-f]{12})", version) | |||
| 80 | + | if not match: | |||
| 81 | + | fail() | |||
| 82 | + | info_path = downloaded.get("Info") | |||
| 83 | + | if not isinstance(info_path, str) or not info_path: | |||
| 84 | + | fail() | |||
| 85 | + | with open(info_path, encoding="utf-8") as info_file: | |||
| 86 | + | info = json.load(info_file) | |||
| 87 | + | origin = info.get("Origin") or downloaded.get("Origin") | |||
| 88 | + | if info.get("Version") != version or not isinstance(origin, dict): | |||
| 89 | + | fail() | |||
| 90 | + | revision = origin.get("Hash") | |||
| 91 | + | if origin.get("VCS") != "git" or origin.get("URL") != "https://github.com/bnema/purego-cef2gtk": | |||
| 92 | + | fail() | |||
| 93 | + | if not isinstance(revision, str) or not re.fullmatch(r"[0-9a-f]{40}", revision): | |||
| 94 | + | fail() | |||
| 95 | + | if not revision.startswith(match.group(2)): | |||
| 96 | + | fail() | |||
| 97 | + | # A named ref can move. Only the immutable hash itself is acceptable. | |||
| 98 | + | if origin.get("Ref") not in (None, "", revision): | |||
| 99 | + | fail() | |||
| 100 | + | except (AttributeError, KeyError, OSError, TypeError, ValueError, json.JSONDecodeError): | |||
| 101 | + | fail() | |||
| 102 | + | ||||
| 103 | + | print("\t".join((version, match.group(1), revision))) | |||
| 104 | + | PY | |||
| 105 | + | } | |||
| 36 | 106 | ||||
| 37 | # The artifact destination is caller-controlled. Never empty or recursively | 107 | # The artifact destination is caller-controlled. Never empty or recursively | ||
| 38 | # clear it: collection only writes to a newly-created directory whose parent is | 108 | # clear it: collection only writes to a newly-created directory whose parent is | ||
| @@ -66,10 +136,9 @@ prepare_output | |||||
| 66 | [[ -x "$binary" ]] || { echo "first-presentation: executable not found: $binary" >&2; exit 2; } | 136 | [[ -x "$binary" ]] || { echo "first-presentation: executable not found: $binary" >&2; exit 2; } | ||
| 67 | [[ -d "$runtime" ]] || { echo "first-presentation: CEF runtime not found: $runtime" >&2; exit 2; } | 137 | [[ -d "$runtime" ]] || { echo "first-presentation: CEF runtime not found: $runtime" >&2; exit 2; } | ||
| 68 | [[ -n "${WAYLAND_DISPLAY:-}${DISPLAY:-}" ]] || { echo "first-presentation: a current Wayland/X11 display is required" >&2; exit 2; } | 138 | [[ -n "${WAYLAND_DISPLAY:-}${DISPLAY:-}" ]] || { echo "first-presentation: a current Wayland/X11 display is required" >&2; exit 2; } | ||
| 69 | - | [[ "$(go list -m -f '{{.Version}}' "$upstream_module")" == "$upstream_tag" ]] || { | 139 | + | upstream_provenance="$(resolve_upstream_provenance)" || exit $? |
| 70 | - | echo "first-presentation: expected $upstream_module@$upstream_tag" >&2 | 140 | + | IFS=$'\t' read -r upstream_version upstream_tag upstream_revision <<<"$upstream_provenance" |
| 71 | - | exit 2 | 141 | + | readonly upstream_version upstream_tag upstream_revision |
| 72 | - | } | |||
| 73 | 142 | ||||
| 74 | # Raw logs and temporary XDG homes may contain machine-local paths. Keep them | 143 | # Raw logs and temporary XDG homes may contain machine-local paths. Keep them | ||
| 75 | # outside the committed artifact directory and always remove them. | 144 | # outside the committed artifact directory and always remove them. | ||
| @@ -80,9 +149,9 @@ cleanup_work_root() { | |||||
| 80 | rm -rf -- "$work_root" | 149 | rm -rf -- "$work_root" | ||
| 81 | } | 150 | } | ||
| 82 | trap cleanup_work_root EXIT | 151 | trap cleanup_work_root EXIT | ||
| 83 | - | python3 - "$output/metadata.json" "$binary" "$timeout_seconds" "$upstream_module" "$upstream_tag" "$upstream_revision" <<'PY' | 152 | + | python3 - "$output/metadata.json" "$binary" "$timeout_seconds" "$upstream_module" "$upstream_version" "$upstream_tag" "$upstream_revision" <<'PY' |
| 84 | import hashlib, json, os, platform, subprocess, sys | 153 | import hashlib, json, os, platform, subprocess, sys | ||
| 85 | - | path, binary, timeout, upstream_module, upstream_tag, upstream_revision = sys.argv[1:] | 154 | + | path, binary, timeout, upstream_module, upstream_version, upstream_tag, upstream_revision = sys.argv[1:] |
| 86 | with open(binary, "rb") as candidate: | 155 | with open(binary, "rb") as candidate: | ||
| 87 | binary_sha256 = hashlib.file_digest(candidate, "sha256").hexdigest() | 156 | binary_sha256 = hashlib.file_digest(candidate, "sha256").hexdigest() | ||
| 88 | 157 | ||||
| @@ -102,7 +171,7 @@ json.dump({ | |||||
| 102 | "binary": {"label": "dumber", "sha256": binary_sha256}, | 171 | "binary": {"label": "dumber", "sha256": binary_sha256}, | ||
| 103 | "timeout_seconds": int(timeout), | 172 | "timeout_seconds": int(timeout), | ||
| 104 | "measured_source_revision": subprocess.check_output(["git", "-c", f"safe.directory={os.getcwd()}", "rev-parse", "HEAD"], text=True).strip(), | 173 | "measured_source_revision": subprocess.check_output(["git", "-c", f"safe.directory={os.getcwd()}", "rev-parse", "HEAD"], text=True).strip(), | ||
| 105 | - | "upstream": {"module": upstream_module, "tag": upstream_tag, "revision": upstream_revision}, | 174 | + | "upstream": {"module": upstream_module, "version": upstream_version, "tag": upstream_tag, "revision": upstream_revision}, |
| 106 | "comparison": {"os": os_label, "architecture": architecture, "display_protocol": display_protocol, "machine_gpu_profile": gpu_profile}, | 175 | "comparison": {"os": os_label, "architecture": architecture, "display_protocol": display_protocol, "machine_gpu_profile": gpu_profile}, | ||
| 107 | "render_configuration": {"backend": "gdk-dmabuf", "buffer_sharing": "dmabuf", "renderer": "vulkan"} | 176 | "render_configuration": {"backend": "gdk-dmabuf", "buffer_sharing": "dmabuf", "renderer": "vulkan"} | ||
| 108 | }, open(path, "w"), indent=2, sort_keys=True) | 177 | }, open(path, "w"), indent=2, sort_keys=True) | ||
M vendor/github.com/bnema/purego-cef/cef/bridge.go +8 -13 generated file: collapsed
M vendor/github.com/bnema/purego-cef2gtk/internal/cefadapter/accelerated_paint.go +34 -37 generated file: collapsed
M vendor/github.com/bnema/purego-cef2gtk/internal/dmabuf/frame.go +38 -19 generated file: collapsed
M vendor/github.com/bnema/purego-cef2gtk/internal/gtkgdk/renderer.go +89 -69 generated file: collapsed
M vendor/github.com/bnema/purego-pipewire/internal/core/player.go +5 -0 generated file: collapsed
M vendor/github.com/bnema/purego-pipewire/internal/core/player_rt.go +10 -6 generated file: collapsed
M vendor/github.com/bnema/purego-pipewire/internal/core/pwbuffer.go +66 -32 generated file: collapsed
M vendor/github.com/bnema/purego-sqlite/driver/driver.go +268 -63 generated file: collapsed
M vendor/github.com/bnema/purego-sqlite/internal/core/db.go +8 -0 generated file: collapsed
M vendor/github.com/bnema/purego-sqlite/internal/core/rows.go +13 -0 generated file: collapsed
M vendor/github.com/bnema/purego-sqlite/internal/loader/loader.go +23 -5 generated file: collapsed
M vendor/github.com/bnema/purego-sqlite/internal/ports/in/ports_gen.go +3 -0 generated file: collapsed
M vendor/github.com/bnema/puregotk/internal/core/core.go +197 -4 generated file: collapsed
M vendor/github.com/bnema/puregotk/pkg/core/core.go +10 -0 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/adw/adw-about-dialog.go +99 -64 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/adw/adw-about-window.go +95 -62 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/adw/adw-accent-color.go +7 -15 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/adw/adw-action-row.go +33 -29 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/adw/adw-alert-dialog.go +66 -47 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/adw/adw-animation-target.go +10 -27 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/adw/adw-animation-util.go +4 -12 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/adw/adw-animation.go +24 -26 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/adw/adw-application-window.go +14 -22 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/adw/adw-application.go +3 -15 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/adw/adw-avatar.go +22 -25 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/adw/adw-banner.go +23 -26 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/adw/adw-bin.go +5 -16 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/adw/adw-bottom-sheet.go +47 -38 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/adw/adw-breakpoint-bin.go +10 -19 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/adw/adw-breakpoint.go +33 -37 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/adw/adw-button-content.go +18 -22 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/adw/adw-button-row.go +10 -18 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/adw/adw-carousel-indicator-dots.go +5 -16 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/adw/adw-carousel-indicator-lines.go +5 -16 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/adw/adw-carousel.go +47 -37 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/adw/adw-clamp-layout.go +14 -20 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/adw/adw-clamp-scrollable.go +17 -22 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/adw/adw-clamp.go +17 -22 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/adw/adw-combo-row.go +34 -33 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/adw/adw-dialog.go +45 -38 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/adw/adw-easing.go +3 -13 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/adw/adw-entry-row.go +40 -33 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/adw/adw-enum-list-model.go +13 -22 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/adw/adw-expander-row.go +40 -33 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/adw/adw-flap.go +61 -48 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/adw/adw-fold-threshold-policy.go +10 -1 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/adw/adw-header-bar.go +36 -33 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/adw/adw-inline-view-switcher.go +18 -24 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/adw/adw-layout-slot.go +4 -15 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/adw/adw-layout.go +7 -17 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/adw/adw-leaflet.go +69 -56 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/adw/adw-length-unit.go +5 -14 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/adw/adw-main.go +5 -15 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/adw/adw-message-dialog.go +63 -44 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/adw/adw-multi-layout-view.go +17 -23 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/adw/adw-navigation-direction.go +10 -1 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/adw/adw-navigation-split-view.go +36 -32 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/adw/adw-navigation-view.go +60 -49 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/adw/adw-overlay-split-view.go +48 -38 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/adw/adw-password-entry-row.go +2 -13 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/adw/adw-preferences-dialog.go +23 -25 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/adw/adw-preferences-group.go +24 -26 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/adw/adw-preferences-page.go +38 -33 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/adw/adw-preferences-row.go +18 -22 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/adw/adw-preferences-window.go +31 -29 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/adw/adw-shortcut-label.go +10 -18 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/adw/adw-shortcuts-dialog.go +4 -15 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/adw/adw-shortcuts-item.go +23 -25 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/adw/adw-shortcuts-section.go +8 -17 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/adw/adw-sidebar-item.go +45 -37 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/adw/adw-sidebar-section.go +24 -27 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/adw/adw-sidebar.go +41 -39 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/adw/adw-spin-row.go +40 -34 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/adw/adw-spinner-paintable.go +5 -16 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/adw/adw-spinner.go +2 -13 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/adw/adw-split-button.go +39 -34 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/adw/adw-spring-animation.go +34 -30 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/adw/adw-spring-params.go +17 -21 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/adw/adw-squeezer.go +49 -44 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/adw/adw-status-page.go +20 -24 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/adw/adw-style-manager.go +25 -28 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/adw/adw-swipe-tracker.go +33 -30 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/adw/adw-swipeable.go +33 -21 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/adw/adw-switch-row.go +6 -16 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/adw/adw-tab-bar.go +35 -32 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/adw/adw-tab-button.go +5 -16 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/adw/adw-tab-overview.go +45 -37 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/adw/adw-tab-view.go +123 -87 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/adw/adw-timed-animation.go +30 -28 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/adw/adw-toast-overlay.go +9 -18 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/adw/adw-toast.go +41 -36 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/adw/adw-toggle-group.go +64 -51 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/adw/adw-toolbar-view.go +40 -35 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/adw/adw-version.go +7 -16 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/adw/adw-view-stack.go +78 -62 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/adw/adw-view-switcher-bar.go +9 -18 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/adw/adw-view-switcher-sidebar.go +15 -22 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/adw/adw-view-switcher-title.go +19 -23 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/adw/adw-view-switcher.go +10 -20 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/adw/adw-window-title.go +10 -18 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/adw/adw-window.go +14 -22 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/adw/adw-wrap-box.go +66 -46 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/adw/adw-wrap-layout.go +57 -46 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/cairo/main.go +36 -79 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gdk/gdkapplaunchcontext.go +10 -17 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gdk/gdkcairo.go +12 -16 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gdk/gdkcairocontext.go +3 -13 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gdk/gdkcicpparams.go +20 -25 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gdk/gdkclipboard.go +34 -32 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gdk/gdkcolorstate.go +12 -16 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gdk/gdkcontentdeserializer.go +26 -27 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gdk/gdkcontentformats.go +28 -31 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gdk/gdkcontentprovider.go +23 -28 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gdk/gdkcontentserializer.go +26 -27 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gdk/gdkcursor.go +12 -21 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gdk/gdkdevice.go +36 -33 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gdk/gdkdevicepad.go +27 -22 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gdk/gdkdevicetool.go +10 -18 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gdk/gdkdisplay.go +51 -43 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gdk/gdkdisplaymanager.go +10 -20 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gdk/gdkdmabuftexture.go +3 -13 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gdk/gdkdmabuftexturebuilder.go +53 -41 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gdk/gdkdrag.go +20 -28 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gdk/gdkdragsurface.go +6 -14 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gdk/gdkdragsurfacesize.go +3 -13 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gdk/gdkdrawcontext.go +11 -18 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gdk/gdkdrop.go +19 -24 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gdk/gdkenums.go +21 -1 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gdk/gdkevents.go +120 -118 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gdk/gdkframeclock.go +22 -24 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gdk/gdkframetimings.go +17 -20 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gdk/gdkglcontext.go +40 -36 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gdk/gdkgltexture.go +4 -15 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gdk/gdkgltexturebuilder.go +41 -35 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gdk/gdkkeys.go +19 -22 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gdk/gdkmemorytexture.go +2 -13 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gdk/gdkmemorytexturebuilder.go +42 -35 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gdk/gdkmonitor.go +27 -27 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gdk/gdkpaintable.go +63 -33 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gdk/gdkpango.go +4 -12 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gdk/gdkpixbuf.go +2 -12 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gdk/gdkpopup.go +47 -26 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gdk/gdkpopuplayout.go +36 -32 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gdk/gdkrgba.go +19 -21 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gdk/gdkseat.go +11 -20 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gdk/gdksnapshot.go +7 -0 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gdk/gdksurface.go +46 -40 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gdk/gdktexture.go +27 -31 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gdk/gdktoplevel.go +157 -66 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gdk/gdktoplevellayout.go +24 -25 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gdk/gdktoplevelsize.go +9 -16 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gdk/gdktypes.go +95 -72 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gdk/gdkvulkancontext.go +3 -13 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gdkpixbuf/gdk-pixbuf-animation.go +26 -32 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gdkpixbuf/gdk-pixbuf-core.go +9 -0 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gdkpixbuf/gdk-pixbuf-io.go +25 -23 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gdkpixbuf/gdk-pixbuf-loader.go +13 -22 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gdkpixbuf/gdk-pixbuf-simple-anim.go +8 -17 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gdkpixbuf/gdk-pixbuf-transform.go +11 -1 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gdkpixbuf/gdk-pixbuf.go +102 -79 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gdkpixbuf/main.go +5 -17 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/gaction.go +59 -31 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/gactiongroup.go +96 -39 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/gactionmap.go +33 -21 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/gappinfo.go +244 -116 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/gapplication.go +79 -55 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/gapplicationcommandline.go +31 -27 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/gasyncinitable.go +25 -22 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/gasyncresult.go +26 -19 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/gbufferedinputstream.go +26 -29 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/gbufferedoutputstream.go +11 -18 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/gbytesicon.go +4 -15 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/gcancellable.go +26 -27 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/gcharsetconverter.go +8 -17 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/gcontenttype.go +30 -26 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/gconverter.go +23 -20 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/gconverterinputstream.go +3 -14 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/gconverteroutputstream.go +3 -14 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/gcredentials.go +12 -21 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/gdatagrambased.go +45 -30 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/gdatainputstream.go +31 -35 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/gdataoutputstream.go +14 -23 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/gdbusactiongroup.go +2 -13 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/gdbusaddress.go +10 -17 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/gdbusauthobserver.go +6 -16 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/gdbusconnection.go +77 -66 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/gdbuserror.go +16 -18 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/gdbusinterface.go +26 -19 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/gdbusinterfaceskeleton.go +25 -24 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/gdbusintrospection.go +54 -56 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/gdbusmenumodel.go +2 -13 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/gdbusmessage.go +88 -64 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/gdbusmethodinvocation.go +35 -30 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/gdbusnameowning.go +10 -15 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/gdbusnamewatching.go +10 -15 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/gdbusobject.go +19 -17 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/gdbusobjectmanager.go +26 -19 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/gdbusobjectmanagerclient.go +16 -23 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/gdbusobjectmanagerserver.go +13 -20 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/gdbusobjectproxy.go +3 -15 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/gdbusobjectskeleton.go +12 -18 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/gdbusproxy.go +42 -38 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/gdbusserver.go +14 -20 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/gdbusutils.go +24 -22 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/gdebugcontroller.go +12 -16 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/gdebugcontrollerdbus.go +4 -14 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/gdrive.go +214 -82 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/gdtlsclientconnection.go +34 -24 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/gdtlsconnection.go +207 -80 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/gdtlsserverconnection.go +2 -13 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/gemblem.go +6 -17 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/gemblemedicon.go +9 -18 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/gfile.go +1148 -450 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/gfileattribute.go +13 -19 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/gfileenumerator.go +34 -35 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/gfileicon.go +3 -15 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/gfileinfo.go +138 -84 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/gfileinputstream.go +17 -23 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/gfileiostream.go +23 -27 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/gfilemonitor.go +9 -15 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/gfilenamecompleter.go +8 -16 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/gfileoutputstream.go +23 -27 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/gfilterinputstream.go +6 -14 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/gfilteroutputstream.go +6 -14 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/gicon.go +32 -25 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/ginetaddress.go +40 -34 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/ginetaddressmask.go +14 -21 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/ginetsocketaddress.go +10 -19 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/ginitable.go +11 -18 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/ginputstream.go +52 -48 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/gioenums.go +90 -1 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/gioerror.go +6 -13 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/giomodule.go +26 -29 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/gioscheduler.go +4 -12 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/giostream.go +25 -29 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/giotypes.go +70 -60 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/giptosmessage.go +6 -16 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/gipv6tclassmessage.go +6 -16 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/glistmodel.go +33 -21 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/gliststore.go +22 -24 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/gloadableicon.go +27 -23 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/gmemoryinputstream.go +8 -17 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/gmemorymonitor.go +2 -12 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/gmemoryoutputstream.go +13 -19 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/gmenu.go +62 -50 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/gmenumodel.go +31 -33 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/gmount.go +215 -86 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/gmountoperation.go +40 -32 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/gnativesocketaddress.go +2 -13 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/gnativevolumemonitor.go +7 -0 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/gnetworkaddress.go +11 -21 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/gnetworking.go +3 -14 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/gnetworkmonitor.go +49 -31 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/gnetworkservice.go +12 -19 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/gnotification.go +26 -26 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/goutputstream.go +86 -72 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/gpermission.go +33 -33 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/gpollableinputstream.go +30 -22 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/gpollableoutputstream.go +41 -27 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/gpollableutils.go +7 -15 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/gpowerprofilemonitor.go +7 -16 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/gpropertyaction.go +2 -13 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/gproxy.go +35 -27 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/gproxyaddress.go +16 -21 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/gproxyaddressenumerator.go +7 -0 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/gproxyresolver.go +35 -27 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/gremoteactiongroup.go +12 -15 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/gresolver.go +75 -67 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/gresource.go +19 -23 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/gseekable.go +41 -27 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/gsettings.go +99 -67 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/gsettingsbackend.go +19 -24 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/gsettingsschema.go +48 -43 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/gsimpleaction.go +9 -18 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/gsimpleactiongroup.go +9 -18 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/gsimpleasyncresult.go +46 -40 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/gsimpleiostream.go +2 -13 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/gsimplepermission.go +2 -13 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/gsimpleproxyresolver.go +8 -16 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/gsocket.go +87 -72 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/gsocketaddress.go +11 -19 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/gsocketaddressenumerator.go +13 -20 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/gsocketclient.go +54 -44 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/gsocketconnectable.go +19 -17 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/gsocketconnection.go +14 -21 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/gsocketcontrolmessage.go +10 -17 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/gsocketlistener.go +18 -25 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/gsocketservice.go +8 -16 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/gsrvtarget.go +2 -11 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/gsubprocess.go +40 -39 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/gsubprocesslauncher.go +34 -31 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/gtask.go +70 -52 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/gtcpconnection.go +5 -14 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/gtcpwrapperconnection.go +3 -15 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/gtestdbus.go +16 -22 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/gio/gthemedicon.go +10 -19 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/gio/gthreadedresolver.go +7 -0 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/gio/gthreadedsocketservice.go +2 -12 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/gio/gtlsbackend.go +69 -33 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/gio/gtlscertificate.go +25 -29 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/gio/gtlsclientconnection.go +55 -29 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/gio/gtlsconnection.go +56 -46 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/gio/gtlsdatabase.go +51 -48 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/gio/gtlsfiledatabase.go +2 -13 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/gio/gtlsinteraction.go +27 -31 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/gio/gtlspassword.go +20 -22 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/gio/gtlsserverconnection.go +2 -13 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/gio/gunixconnection.go +11 -20 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/gio/gunixcredentialsmessage.go +6 -17 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/gio/gunixfdlist.go +11 -19 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/gio/gunixsocketaddress.go +14 -22 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/gio/gvfs.go +18 -24 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/gio/gvolume.go +143 -58 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/gio/gvolumemonitor.go +11 -19 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/gio/gzlibcompressor.go +9 -18 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/gio/gzlibdecompressor.go +3 -15 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/gio/main.go +2 -11 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/glib/gallocator.go +32 -28 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/glib/garray.go +82 -59 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/glib/gasyncqueue.go +56 -39 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/glib/gatomic.go +43 -34 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/glib/gbacktrace.go +5 -15 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/glib/gbase64.go +13 -19 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/glib/gbitlock.go +23 -24 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/glib/gbookmarkfile.go +69 -61 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/glib/gcache.go +10 -15 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/glib/gcharset.go +13 -19 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/glib/gchecksum.go +23 -25 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/glib/gcompletion.go +14 -17 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/glib/gconvert.go +25 -28 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/glib/gdataset.go +36 -28 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/glib/gdate.go +103 -65 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/glib/gdatetime.go +107 -66 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/glib/gdir.go +12 -19 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/glib/genviron.go +17 -21 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/glib/gerror.go +30 -29 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/glib/gfileutils.go +45 -38 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/glib/ggettext.go +13 -19 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/glib/ghash.go +81 -53 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/glib/ghmac.go +21 -24 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/glib/ghook.go +28 -26 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/glib/ghostutils.go +11 -18 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/glib/giochannel.go +83 -67 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/glib/gkeyfile.go +72 -62 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/glib/glib-types.go +4 -12 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/glib/glist.go +2 -11 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/glib/gmain.go +181 -117 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/glib/gmappedfile.go +15 -21 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/glib/gmarkup.go +51 -43 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/glib/gmem.go +44 -31 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/glib/gmessages.go +70 -45 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/glib/gnode.go +50 -35 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/glib/goption.go +57 -43 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/glib/gpathbuf.go +26 -24 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/glib/gpattern.go +19 -23 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/glib/gpoll.go +3 -13 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/glib/gprimes.go +3 -14 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/glib/gprintf.go +15 -20 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/glib/gqsort.go +5 -15 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/glib/gquark.go +13 -19 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/glib/gqueue.go +84 -52 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/glib/grand.go +33 -30 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/glib/grcbox.go +29 -27 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/glib/grefcount.go +17 -21 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/glib/grefstring.go +15 -20 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/glib/gregex.go +72 -57 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/glib/grel.go +20 -21 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/glib/gscanner.go +40 -30 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/glib/gsequence.go +74 -49 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/glib/gshell.go +5 -16 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/glib/gslice.go +17 -21 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/glib/gslist.go +2 -11 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/glib/gspawn.go +12 -23 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/glib/gstdio.go +33 -27 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/glib/gstrfuncs.go +115 -71 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/glib/gstring.go +77 -51 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/glib/gstringchunk.go +10 -15 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/glib/gstrvbuilder.go +19 -22 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/glib/gtestutils.go +132 -80 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/glib/gthread.go +146 -97 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/glib/gthreadpool.go +26 -25 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/glib/gtimer.go +18 -20 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/glib/gtimezone.go +27 -26 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/glib/gtrashstack.go +8 -14 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/glib/gtree.go +63 -45 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/glib/gtypes.go +4 -12 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/glib/gunicode.go +132 -85 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/glib/guri.go +63 -50 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/glib/gutils.go +62 -41 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/glib/guuid.go +5 -15 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/glib/gvariant-parser.go +3 -14 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/glib/gvariant.go +242 -143 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/glib/gvarianttype.go +63 -45 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/glib/gversion.go +3 -14 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/glib/main.go +31 -28 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/gmodule/gmodule.go +14 -18 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/gmodule/main.go +2 -11 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/gobject/gbinding.go +14 -22 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/gobject/gbindinggroup.go +11 -19 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/gobject/gboxed.go +6 -13 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/gobject/gclosure.go +37 -31 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/gobject/genums.go +24 -22 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/gobject/glib-types.go +2 -11 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/gobject/gmarshal.go +45 -35 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/gobject/gobject.go +116 -82 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/gobject/gparam.go +54 -43 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/gobject/gparamspecs.go +46 -79 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/gobject/gsignal.go +79 -50 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/gobject/gsignalgroup.go +21 -24 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/gobject/gsourceclosure.go +4 -12 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/gobject/gtype.go +136 -82 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/gobject/gtypemodule.go +15 -18 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/gobject/gtypeplugin.go +26 -20 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/gobject/gvalue.go +141 -85 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/gobject/gvaluearray.go +21 -23 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/gobject/gvaluetypes.go +6 -13 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/gobject/main.go +10 -1 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/gobject/more.go +8 -1 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/graphene/graphene-box.go +61 -44 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/graphene/graphene-euler.go +43 -34 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/graphene/graphene-frustum.go +21 -23 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/graphene/graphene-matrix.go +135 -80 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/graphene/graphene-plane.go +29 -27 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/graphene/graphene-point.go +23 -25 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/graphene/graphene-point3d.go +35 -31 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/graphene/graphene-quad.go +17 -21 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/graphene/graphene-quaternion.go +49 -37 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/graphene/graphene-ray.go +37 -31 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/graphene/graphene-rect.go +67 -46 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/graphene/graphene-size.go +17 -22 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/graphene/graphene-sphere.go +27 -26 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/graphene/graphene-triangle.go +33 -29 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/graphene/graphene-vec2.go +53 -40 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/graphene/graphene-vec3.go +69 -48 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/graphene/graphene-vec4.go +69 -48 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/gsk/gskblendnode.go +6 -17 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/gsk/gskblurnode.go +5 -16 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/gsk/gskbordernode.go +8 -17 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/gsk/gskbroadwayrenderer.go +2 -13 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/gsk/gskcaironode.go +6 -16 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/gsk/gskcairorenderer.go +2 -13 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/gsk/gskclipnode.go +5 -16 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/gsk/gskcolormatrixnode.go +7 -17 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/gsk/gskcolornode.go +4 -15 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/gsk/gskcomponenttransfer.go +3 -14 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/gsk/gskcomponenttransfernode.go +5 -16 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/gsk/gskcompositenode.go +6 -17 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/gsk/gskconicgradientnode.go +12 -19 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/gsk/gskcontainernode.go +5 -16 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/gsk/gskcopynode.go +3 -15 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/gsk/gskcrossfadenode.go +6 -17 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/gsk/gskdebugnode.go +5 -16 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/gsk/gskenums.go +24 -1 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/gsk/gskfillnode.go +7 -17 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/gsk/gskglrenderer.go +4 -17 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/gsk/gskglshader.go +65 -50 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/gsk/gskglshadernode.go +8 -18 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/gsk/gskinsetshadownode.go +14 -20 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/gsk/gskisolationnode.go +5 -16 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/gsk/gsklineargradientnode.go +12 -22 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/gsk/gskmasknode.go +6 -17 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/gsk/gskopacitynode.go +5 -16 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/gsk/gskoutsetshadownode.go +14 -20 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/gsk/gskpastenode.go +4 -15 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/gsk/gskpath.go +4 -15 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/gsk/gskpathpoint.go +19 -21 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/gsk/gskradialgradientnode.go +18 -25 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/gsk/gskrenderer.go +12 -21 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/gsk/gskrendernode.go +26 -29 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/gsk/gskrepeatnode.go +5 -16 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/gsk/gskroundedclipnode.go +5 -16 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/gsk/gskroundedrect.go +20 -20 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/gsk/gskshadownode.go +7 -17 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/gsk/gskstroke.go +3 -14 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/gsk/gskstrokenode.go +7 -17 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/gsk/gsksubsurfacenode.go +5 -17 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/gsk/gsktextnode.go +13 -20 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/gsk/gsktexturenode.go +3 -15 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/gsk/gsktexturescalenode.go +5 -16 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/gsk/gsktransform.go +3 -14 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/gsk/gsktransformnode.go +5 -16 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/gsk/gsktypes.go +237 -153 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/gsk/gskvulkanrenderer.go +2 -13 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/gtk/gtkaboutdialog.go +70 -51 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/gtk/gtkaccelgroup.go +18 -19 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/gtk/gtkaccessible.go +159 -66 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/gtk/gtkaccessiblehypertext.go +5 -16 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/gtk/gtkaccessiblerange.go +7 -0 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/gtk/gtkaccessibletext.go +21 -21 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/gtk/gtkactionable.go +40 -23 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/gtk/gtkactionbar.go +15 -21 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/gtk/gtkadjustment.go +32 -28 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/gtk/gtkalertdialog.go +31 -29 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/gtk/gtkappchooser.go +19 -18 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/gtk/gtkappchooserbutton.go +24 -25 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/gtk/gtkappchooserdialog.go +8 -18 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/gtk/gtkappchooserwidget.go +26 -26 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/gtk/gtkapplication.go +27 -29 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/gtk/gtkapplicationwindow.go +11 -19 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/gtk/gtkaspectframe.go +21 -24 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/gtk/gtkassistant.go +48 -43 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/gtk/gtkatcontext.go +5 -16 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/gtk/gtkbinlayout.go +2 -13 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/gtk/gtkbitset.go +15 -20 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/gtk/gtkbookmarklist.go +14 -20 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/gtk/gtkboolfilter.go +9 -18 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/gtk/gtkborder.go +7 -16 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/gtk/gtkbox.go +28 -27 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/gtk/gtkboxlayout.go +18 -22 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/gtk/gtkbuildable.go +28 -28 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/gtk/gtkbuilder.go +35 -41 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/gtk/gtkbuilderlistitemfactory.go +8 -18 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/gtk/gtkbuilderscope.go +14 -23 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/gtk/gtkbutton.go +28 -28 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/gtk/gtkcalendar.go +40 -33 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/gtk/gtkcellarea.go +87 -59 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/gtk/gtkcellareabox.go +10 -18 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/gtk/gtkcellareacontext.go +20 -21 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/gtk/gtkcelleditable.go +19 -17 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/gtk/gtkcelllayout.go +68 -31 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/gtk/gtkcellrenderer.go +56 -42 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/gtk/gtkcellrendereraccel.go +3 -15 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/gtk/gtkcellrenderercombo.go +2 -13 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/gtk/gtkcellrendererpixbuf.go +2 -13 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/gtk/gtkcellrendererprogress.go +2 -13 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/gtk/gtkcellrendererspin.go +2 -13 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/gtk/gtkcellrendererspinner.go +2 -13 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/gtk/gtkcellrenderertext.go +4 -14 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/gtk/gtkcellrenderertoggle.go +14 -20 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/gtk/gtkcellview.go +21 -26 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/gtk/gtkcenterbox.go +19 -24 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/gtk/gtkcenterlayout.go +23 -26 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/gtk/gtkcheckbutton.go +25 -26 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/gtk/gtkcolorbutton.go +11 -19 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/gtk/gtkcolorchooser.go +33 -21 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/gtk/gtkcolorchooserdialog.go +2 -13 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/gtk/gtkcolorchooserwidget.go +2 -13 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/gtk/gtkcolordialog.go +17 -22 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/gtk/gtkcolordialogbutton.go +9 -18 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/gtk/gtkcolorutils.go +5 -15 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/gtk/gtkcolumnview.go +47 -39 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/gtk/gtkcolumnviewcell.go +13 -19 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/gtk/gtkcolumnviewcolumn.go +36 -33 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/gtk/gtkcolumnviewrow.go +26 -25 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/gtk/gtkcolumnviewsorter.go +7 -16 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/gtk/gtkcombobox.go +51 -40 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/gtk/gtkcomboboxtext.go +21 -24 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/gtk/gtkconstraint.go +24 -28 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/gtk/gtkconstraintguide.go +22 -24 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/gtk/gtkconstraintlayout.go +20 -27 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/gtk/gtkcsserror.go +4 -12 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/gtk/gtkcssprovider.go +18 -22 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/gtk/gtkcsssection.go +22 -24 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/gtk/gtkcustomfilter.go +4 -15 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/gtk/gtkcustomlayout.go +2 -13 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/gtk/gtkcustomsorter.go +4 -15 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/gtk/gtkdebug.go +5 -14 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/gtk/gtkdialog.go +21 -28 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/gtk/gtkdialogerror.go +3 -13 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/gtk/gtkdirectorylist.go +21 -24 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/gtk/gtkdragicon.go +8 -19 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/gtk/gtkdragsource.go +14 -21 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/gtk/gtkdrawingarea.go +12 -18 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/gtk/gtkdropcontrollermotion.go +7 -17 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/gtk/gtkdropdown.go +35 -34 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/gtk/gtkdroptarget.go +22 -25 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/gtk/gtkdroptargetasync.go +12 -19 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/gtk/gtkeditable.go +173 -65 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/gtk/gtkeditablelabel.go +8 -17 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/gtk/gtkemojichooser.go +2 -13 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/gtk/gtkentry.go +119 -76 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/gtk/gtkentrybuffer.go +22 -23 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/gtk/gtkentrycompletion.go +45 -37 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/gtk/gtkenums.go +70 -147 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/gtk/gtkeventcontroller.go +24 -25 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/gtk/gtkeventcontrollerfocus.go +6 -16 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/gtk/gtkeventcontrollerkey.go +9 -18 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/gtk/gtkeventcontrollerlegacy.go +2 -13 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/gtk/gtkeventcontrollermotion.go +6 -16 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/gtk/gtkeventcontrollerscroll.go +9 -19 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/gtk/gtkexpander.go +29 -29 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/gtk/gtkexpression.go +50 -67 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/gtk/gtkfilechooser.go +177 -68 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/gtk/gtkfilechooserdialog.go +2 -13 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/gtk/gtkfilechoosernative.go +10 -18 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/gtk/gtkfilechooserwidget.go +2 -13 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/gtk/gtkfiledialog.go +54 -46 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/gtk/gtkfilefilter.go +21 -24 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/gtk/gtkfilelauncher.go +19 -24 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/gtk/gtkfilter.go +9 -18 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/gtk/gtkfilterlistmodel.go +18 -23 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/gtk/gtkfixed.go +14 -20 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/gtk/gtkfixedlayout.go +7 -18 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/gtk/gtkflattenlistmodel.go +6 -17 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/gtk/gtkflowbox.go +79 -57 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/gtk/gtkfontbutton.go +19 -23 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/gtk/gtkfontchooser.go +132 -51 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/gtk/gtkfontchooserdialog.go +2 -13 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/gtk/gtkfontchooserwidget.go +2 -13 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/gtk/gtkfontdialog.go +32 -32 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/gtk/gtkfontdialogbutton.go +30 -30 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/gtk/gtkframe.go +16 -21 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/gtk/gtkgesture.go +33 -29 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/gtk/gtkgestureclick.go +2 -13 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/gtk/gtkgesturedrag.go +6 -16 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/gtk/gtkgesturelongpress.go +6 -16 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/gtk/gtkgesturepan.go +6 -16 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/gtk/gtkgesturerotate.go +4 -15 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/gtk/gtkgesturesingle.go +17 -20 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/gtk/gtkgesturestylus.go +13 -20 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/gtk/gtkgestureswipe.go +4 -15 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/gtk/gtkgesturezoom.go +4 -15 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/gtk/gtkglarea.go +39 -32 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/gtk/gtkgraphicsoffload.go +14 -22 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/gtk/gtkgrid.go +45 -36 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/gtk/gtkgridlayout.go +43 -37 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/gtk/gtkgridview.go +30 -29 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/gtk/gtkheaderbar.go +23 -25 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/gtk/gtkiconpaintable.go +7 -17 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/gtk/gtkicontheme.go +34 -37 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/gtk/gtkiconview.go +123 -78 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/gtk/gtkimage.go +37 -37 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/gtk/gtkimcontext.go +31 -26 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/gtk/gtkimcontextsimple.go +6 -16 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/gtk/gtkimmulticontext.go +6 -15 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/gtk/gtkinfobar.go +32 -30 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/gtk/gtkinscription.go +45 -37 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/gtk/gtklabel.go +98 -64 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/gtk/gtklayoutchild.go +3 -14 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/gtk/gtklayoutmanager.go +11 -17 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/gtk/gtklevelbar.go +29 -28 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/gtk/gtklinkbutton.go +11 -19 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/gtk/gtklistbase.go +7 -0 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/gtk/gtklistbox.go +88 -63 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/gtk/gtklistheader.go +11 -18 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/gtk/gtklistitem.go +29 -27 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/gtk/gtklistitemfactory.go +7 -0 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/gtk/gtkliststore.go +41 -34 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/gtk/gtklistview.go +29 -29 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/gtk/gtklockbutton.go +5 -16 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/gtk/gtkmain.go +16 -18 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/gtk/gtkmaplistmodel.go +9 -18 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/gtk/gtkmediacontrols.go +5 -16 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/gtk/gtkmediafile.go +18 -24 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/gtk/gtkmediastream.go +69 -45 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/gtk/gtkmenubutton.go +53 -41 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/gtk/gtkmessagedialog.go +11 -21 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/gtk/gtkmountoperation.go +10 -18 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/gtk/gtkmultifilter.go +9 -22 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/gtk/gtkmultiselection.go +5 -16 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/gtk/gtkmultisorter.go +6 -16 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/gtk/gtknative.go +34 -24 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/gtk/gtknativedialog.go +20 -21 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/gtk/gtknoselection.go +5 -16 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/gtk/gtknotebook.go +87 -64 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/gtk/gtknumericsorter.go +9 -18 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/gtk/gtkorientable.go +12 -16 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/gtk/gtkoverlay.go +17 -22 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/gtk/gtkoverlaylayout.go +11 -20 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/gtk/gtkpadcontroller.go +7 -18 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/gtk/gtkpagesetup.go +47 -40 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/gtk/gtkpagesetupunixdialog.go +8 -18 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/gtk/gtkpaned.go +32 -30 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/gtk/gtkpapersize.go +50 -39 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/gtk/gtkpasswordentry.go +9 -18 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/gtk/gtkpasswordentrybuffer.go +2 -13 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/gtk/gtkpicture.go +39 -36 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/gtk/gtkpopover.go +41 -33 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/gtk/gtkpopoverbin.go +19 -24 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/gtk/gtkpopovermenu.go +14 -21 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/gtk/gtkpopovermenubar.go +9 -18 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/gtk/gtkprintcontext.go +19 -23 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/gtk/gtkprintdialog.go +36 -37 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/gtk/gtkprinter.go +48 -40 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/gtk/gtkprintjob.go +57 -44 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/gtk/gtkprintoperation.go +65 -54 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/gtk/gtkprintoperationpreview.go +19 -17 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/gtk/gtkprintsettings.go +145 -89 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/gtk/gtkprintunixdialog.go +33 -31 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/gtk/gtkprogressbar.go +28 -27 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/gtk/gtkrange.go +44 -33 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/gtk/gtkrecentmanager.go +65 -54 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/gtk/gtkrender.go +24 -22 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/gtk/gtkrevealer.go +20 -25 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/gtk/gtkroot.go +19 -18 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/gtk/gtkscale.go +28 -27 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/gtk/gtkscalebutton.go +20 -24 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/gtk/gtkscrollable.go +61 -29 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/gtk/gtkscrollbar.go +5 -16 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/gtk/gtkscrolledwindow.go +61 -49 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/gtk/gtksearchbar.go +18 -23 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/gtk/gtksearchentry.go +21 -24 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/gtk/gtksectionmodel.go +12 -15 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/gtk/gtkselectionfiltermodel.go +5 -16 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/gtk/gtkselectionmodel.go +75 -33 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/gtk/gtkseparator.go +2 -13 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/gtk/gtksettings.go +5 -16 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/gtk/gtkshortcut.go +13 -21 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/gtk/gtkshortcutaction.go +25 -47 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/gtk/gtkshortcutcontroller.go +15 -21 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/gtk/gtkshortcutlabel.go +10 -18 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/gtk/gtkshortcutmanager.go +7 -0 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/gtk/gtkshortcutsgroup.go +3 -13 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/gtk/gtkshortcutssection.go +3 -13 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/gtk/gtkshortcutsshortcut.go +8 -0 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/gtk/gtkshortcutswindow.go +3 -13 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/gtk/gtkshortcuttrigger.go +34 -46 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/gtk/gtkshow.go +5 -13 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/gtk/gtksignallistitemfactory.go +2 -13 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/gtk/gtksingleselection.go +18 -23 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/gtk/gtksizegroup.go +12 -19 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/gtk/gtksizerequest.go +2 -11 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/gtk/gtkslicelistmodel.go +13 -20 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/gtk/gtksnapshot.go +112 -71 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/gtk/gtksorter.go +9 -18 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/gtk/gtksortlistmodel.go +17 -23 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/gtk/gtkspinbutton.go +56 -45 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/gtk/gtkspinner.go +10 -18 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/gtk/gtkstack.go +68 -55 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/gtk/gtkstacksidebar.go +5 -16 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/gtk/gtkstackswitcher.go +5 -16 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/gtk/gtkstatusbar.go +12 -19 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/gtk/gtkstringfilter.go +18 -24 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/gtk/gtkstringlist.go +18 -26 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/gtk/gtkstringsorter.go +14 -22 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/gtk/gtkstylecontext.go +43 -35 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/gtk/gtkstyleprovider.go +10 -1 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/gtk/gtksvg.go +41 -39 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/gtk/gtkswitch.go +10 -18 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/gtk/gtksymbolicpaintable.go +12 -15 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/gtk/gtktestatcontext.go +17 -21 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/gtk/gtktestutils.go +9 -17 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/gtk/gtktext.go +69 -49 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/gtk/gtktextbuffer.go +138 -85 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/gtk/gtktextchild.go +7 -16 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/gtk/gtktextiter.go +179 -104 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/gtk/gtktextmark.go +13 -20 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/gtk/gtktexttag.go +8 -17 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/gtk/gtktexttagtable.go +11 -19 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/gtk/gtktextview.go +145 -92 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/gtk/gtktogglebutton.go +12 -19 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/gtk/gtktooltip.go +15 -19 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/gtk/gtktreednd.go +34 -27 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/gtk/gtktreeexpander.go +21 -25 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/gtk/gtktreelistmodel.go +26 -32 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/gtk/gtktreelistrowsorter.go +5 -16 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/gtk/gtktreemodel.go +261 -113 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/gtk/gtktreemodelfilter.go +20 -21 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/gtk/gtktreemodelsort.go +17 -22 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/gtk/gtktreeselection.go +40 -32 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/gtk/gtktreesortable.go +40 -23 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/gtk/gtktreestore.go +45 -36 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/gtk/gtktreeview.go +176 -105
| @@ -439,6 +439,7 @@ type TreeViewDropPosition int | |||
| 439 | 439 | var xTreeViewDropPositionGLibType func() types.GType | |
| 440 | 440 | ||
| 441 | 441 | func TreeViewDropPositionGLibType() types.GType { | |
| 442 | + | core.LazyRegister(&xTreeViewDropPositionGLibType, "GTK", "gtk_tree_view_drop_position_get_type", false) | |
| 442 | 443 | return xTreeViewDropPositionGLibType() | |
| 443 | 444 | } | |
| 444 | 445 | ||
| @@ -556,6 +557,7 @@ type TreeView struct { | |||
| 556 | 557 | var xTreeViewGLibType func() types.GType | |
| 557 | 558 | ||
| 558 | 559 | func TreeViewGLibType() types.GType { | |
| 560 | + | core.LazyRegister(&xTreeViewGLibType, "GTK", "gtk_tree_view_get_type", false) | |
| 559 | 561 | return xTreeViewGLibType() | |
| 560 | 562 | } | |
| 561 | 563 | ||
| @@ -569,6 +571,7 @@ var xNewTreeView func() uintptr | |||
| 569 | 571 | ||
| 570 | 572 | // Creates a new `GtkTreeView` widget. | |
| 571 | 573 | func NewTreeView() *TreeView { | |
| 574 | + | core.LazyRegister(&xNewTreeView, "GTK", "gtk_tree_view_new", false) | |
| 572 | 575 | var cls *TreeView | |
| 573 | 576 | ||
| 574 | 577 | cret := xNewTreeView() | |
| @@ -586,6 +589,7 @@ var xNewTreeViewWithModel func(uintptr) uintptr | |||
| 586 | 589 | ||
| 587 | 590 | // Creates a new `GtkTreeView` widget with the model initialized to @model. | |
| 588 | 591 | func NewTreeViewWithModel(ModelVar TreeModel) *TreeView { | |
| 592 | + | core.LazyRegister(&xNewTreeViewWithModel, "GTK", "gtk_tree_view_new_with_model", false) | |
| 589 | 593 | var cls *TreeView | |
| 590 | 594 | ||
| 591 | 595 | cret := xNewTreeViewWithModel(ModelVar.GoPointer()) | |
| @@ -605,6 +609,8 @@ var xTreeViewAppendColumn func(uintptr, uintptr) int | |||
| 605 | 609 | // mode enabled, then @column must have its “sizing” property set to be | |
| 606 | 610 | // GTK_TREE_VIEW_COLUMN_FIXED. | |
| 607 | 611 | func (x *TreeView) AppendColumn(ColumnVar *TreeViewColumn) int { | |
| 612 | + | core.LazyRegister(&xTreeViewAppendColumn, "GTK", "gtk_tree_view_append_column", false) | |
| 613 | + | ||
| 608 | 614 | cret := xTreeViewAppendColumn(x.GoPointer(), ColumnVar.GoPointer()) | |
| 609 | 615 | return cret | |
| 610 | 616 | } | |
| @@ -613,6 +619,8 @@ var xTreeViewCollapseAll func(uintptr) | |||
| 613 | 619 | ||
| 614 | 620 | // Recursively collapses all visible, expanded nodes in @tree_view. | |
| 615 | 621 | func (x *TreeView) CollapseAll() { | |
| 622 | + | core.LazyRegister(&xTreeViewCollapseAll, "GTK", "gtk_tree_view_collapse_all", false) | |
| 623 | + | ||
| 616 | 624 | xTreeViewCollapseAll(x.GoPointer()) | |
| 617 | 625 | } | |
| 618 | 626 | ||
| @@ -620,6 +628,8 @@ var xTreeViewCollapseRow func(uintptr, *TreePath) bool | |||
| 620 | 628 | ||
| 621 | 629 | // Collapses a row (hides its child rows, if they exist). | |
| 622 | 630 | func (x *TreeView) CollapseRow(PathVar *TreePath) bool { | |
| 631 | + | core.LazyRegister(&xTreeViewCollapseRow, "GTK", "gtk_tree_view_collapse_row", false) | |
| 632 | + | ||
| 623 | 633 | cret := xTreeViewCollapseRow(x.GoPointer(), PathVar) | |
| 624 | 634 | return cret | |
| 625 | 635 | } | |
| @@ -629,6 +639,8 @@ var xTreeViewColumnsAutosize func(uintptr) | |||
| 629 | 639 | // Resizes all columns to their optimal width. Only works after the | |
| 630 | 640 | // treeview has been realized. | |
| 631 | 641 | func (x *TreeView) ColumnsAutosize() { | |
| 642 | + | core.LazyRegister(&xTreeViewColumnsAutosize, "GTK", "gtk_tree_view_columns_autosize", false) | |
| 643 | + | ||
| 632 | 644 | xTreeViewColumnsAutosize(x.GoPointer()) | |
| 633 | 645 | } | |
| 634 | 646 | ||
| @@ -637,6 +649,8 @@ var xTreeViewConvertBinWindowToTreeCoords func(uintptr, int, int, *int, *int) | |||
| 637 | 649 | // Converts bin_window coordinates to coordinates for the | |
| 638 | 650 | // tree (the full scrollable area of the tree). | |
| 639 | 651 | func (x *TreeView) ConvertBinWindowToTreeCoords(BxVar int, ByVar int, TxVar *int, TyVar *int) { | |
| 652 | + | core.LazyRegister(&xTreeViewConvertBinWindowToTreeCoords, "GTK", "gtk_tree_view_convert_bin_window_to_tree_coords", false) | |
| 653 | + | ||
| 640 | 654 | xTreeViewConvertBinWindowToTreeCoords(x.GoPointer(), BxVar, ByVar, TxVar, TyVar) | |
| 641 | 655 | } | |
| 642 | 656 | ||
| @@ -644,6 +658,8 @@ var xTreeViewConvertBinWindowToWidgetCoords func(uintptr, int, int, *int, *int) | |||
| 644 | 658 | ||
| 645 | 659 | // Converts bin_window coordinates to widget relative coordinates. | |
| 646 | 660 | func (x *TreeView) ConvertBinWindowToWidgetCoords(BxVar int, ByVar int, WxVar *int, WyVar *int) { | |
| 661 | + | core.LazyRegister(&xTreeViewConvertBinWindowToWidgetCoords, "GTK", "gtk_tree_view_convert_bin_window_to_widget_coords", false) | |
| 662 | + | ||
| 647 | 663 | xTreeViewConvertBinWindowToWidgetCoords(x.GoPointer(), BxVar, ByVar, WxVar, WyVar) | |
| 648 | 664 | } | |
| 649 | 665 | ||
| @@ -652,6 +668,8 @@ var xTreeViewConvertTreeToBinWindowCoords func(uintptr, int, int, *int, *int) | |||
| 652 | 668 | // Converts tree coordinates (coordinates in full scrollable area of the tree) | |
| 653 | 669 | // to bin_window coordinates. | |
| 654 | 670 | func (x *TreeView) ConvertTreeToBinWindowCoords(TxVar int, TyVar int, BxVar *int, ByVar *int) { | |
| 671 | + | core.LazyRegister(&xTreeViewConvertTreeToBinWindowCoords, "GTK", "gtk_tree_view_convert_tree_to_bin_window_coords", false) | |
| 672 | + | ||
| 655 | 673 | xTreeViewConvertTreeToBinWindowCoords(x.GoPointer(), TxVar, TyVar, BxVar, ByVar) | |
| 656 | 674 | } | |
| 657 | 675 | ||
| @@ -660,6 +678,8 @@ var xTreeViewConvertTreeToWidgetCoords func(uintptr, int, int, *int, *int) | |||
| 660 | 678 | // Converts tree coordinates (coordinates in full scrollable area of the tree) | |
| 661 | 679 | // to widget coordinates. | |
| 662 | 680 | func (x *TreeView) ConvertTreeToWidgetCoords(TxVar int, TyVar int, WxVar *int, WyVar *int) { | |
| 681 | + | core.LazyRegister(&xTreeViewConvertTreeToWidgetCoords, "GTK", "gtk_tree_view_convert_tree_to_widget_coords", false) | |
| 682 | + | ||
| 663 | 683 | xTreeViewConvertTreeToWidgetCoords(x.GoPointer(), TxVar, TyVar, WxVar, WyVar) | |
| 664 | 684 | } | |
| 665 | 685 | ||
| @@ -667,6 +687,8 @@ var xTreeViewConvertWidgetToBinWindowCoords func(uintptr, int, int, *int, *int) | |||
| 667 | 687 | ||
| 668 | 688 | // Converts widget coordinates to coordinates for the bin_window. | |
| 669 | 689 | func (x *TreeView) ConvertWidgetToBinWindowCoords(WxVar int, WyVar int, BxVar *int, ByVar *int) { | |
| 690 | + | core.LazyRegister(&xTreeViewConvertWidgetToBinWindowCoords, "GTK", "gtk_tree_view_convert_widget_to_bin_window_coords", false) | |
| 691 | + | ||
| 670 | 692 | xTreeViewConvertWidgetToBinWindowCoords(x.GoPointer(), WxVar, WyVar, BxVar, ByVar) | |
| 671 | 693 | } | |
| 672 | 694 | ||
| @@ -675,6 +697,8 @@ var xTreeViewConvertWidgetToTreeCoords func(uintptr, int, int, *int, *int) | |||
| 675 | 697 | // Converts widget coordinates to coordinates for the | |
| 676 | 698 | // tree (the full scrollable area of the tree). | |
| 677 | 699 | func (x *TreeView) ConvertWidgetToTreeCoords(WxVar int, WyVar int, TxVar *int, TyVar *int) { | |
| 700 | + | core.LazyRegister(&xTreeViewConvertWidgetToTreeCoords, "GTK", "gtk_tree_view_convert_widget_to_tree_coords", false) | |
| 701 | + | ||
| 678 | 702 | xTreeViewConvertWidgetToTreeCoords(x.GoPointer(), WxVar, WyVar, TxVar, TyVar) | |
| 679 | 703 | } | |
| 680 | 704 | ||
| @@ -683,6 +707,7 @@ var xTreeViewCreateRowDragIcon func(uintptr, *TreePath) uintptr | |||
| 683 | 707 | // Creates a `cairo_surface_t` representation of the row at @path. | |
| 684 | 708 | // This image is used for a drag icon. | |
| 685 | 709 | func (x *TreeView) CreateRowDragIcon(PathVar *TreePath) *gdk.PaintableBase { | |
| 710 | + | core.LazyRegister(&xTreeViewCreateRowDragIcon, "GTK", "gtk_tree_view_create_row_drag_icon", false) | |
| 686 | 711 | var cls *gdk.PaintableBase | |
| 687 | 712 | ||
| 688 | 713 | cret := xTreeViewCreateRowDragIcon(x.GoPointer(), PathVar) | |
| @@ -700,6 +725,8 @@ var xTreeViewEnableModelDragDest func(uintptr, *gdk.ContentFormats, gdk.DragActi | |||
| 700 | 725 | // Turns @tree_view into a drop destination for automatic DND. Calling | |
| 701 | 726 | // this method sets `GtkTreeView`:reorderable to %FALSE. | |
| 702 | 727 | func (x *TreeView) EnableModelDragDest(FormatsVar *gdk.ContentFormats, ActionsVar gdk.DragAction) { | |
| 728 | + | core.LazyRegister(&xTreeViewEnableModelDragDest, "GTK", "gtk_tree_view_enable_model_drag_dest", false) | |
| 729 | + | ||
| 703 | 730 | xTreeViewEnableModelDragDest(x.GoPointer(), FormatsVar, ActionsVar) | |
| 704 | 731 | } | |
| 705 | 732 | ||
| @@ -708,6 +735,8 @@ var xTreeViewEnableModelDragSource func(uintptr, gdk.ModifierType, *gdk.ContentF | |||
| 708 | 735 | // Turns @tree_view into a drag source for automatic DND. Calling this | |
| 709 | 736 | // method sets `GtkTreeView`:reorderable to %FALSE. | |
| 710 | 737 | func (x *TreeView) EnableModelDragSource(StartButtonMaskVar gdk.ModifierType, FormatsVar *gdk.ContentFormats, ActionsVar gdk.DragAction) { | |
| 738 | + | core.LazyRegister(&xTreeViewEnableModelDragSource, "GTK", "gtk_tree_view_enable_model_drag_source", false) | |
| 739 | + | ||
| 711 | 740 | xTreeViewEnableModelDragSource(x.GoPointer(), StartButtonMaskVar, FormatsVar, ActionsVar) | |
| 712 | 741 | } | |
| 713 | 742 | ||
| @@ -715,6 +744,8 @@ var xTreeViewExpandAll func(uintptr) | |||
| 715 | 744 | ||
| 716 | 745 | // Recursively expands all nodes in the @tree_view. | |
| 717 | 746 | func (x *TreeView) ExpandAll() { | |
| 747 | + | core.LazyRegister(&xTreeViewExpandAll, "GTK", "gtk_tree_view_expand_all", false) | |
| 748 | + | ||
| 718 | 749 | xTreeViewExpandAll(x.GoPointer()) | |
| 719 | 750 | } | |
| 720 | 751 | ||
| @@ -722,6 +753,8 @@ var xTreeViewExpandRow func(uintptr, *TreePath, bool) bool | |||
| 722 | 753 | ||
| 723 | 754 | // Opens the row so its children are visible. | |
| 724 | 755 | func (x *TreeView) ExpandRow(PathVar *TreePath, OpenAllVar bool) bool { | |
| 756 | + | core.LazyRegister(&xTreeViewExpandRow, "GTK", "gtk_tree_view_expand_row", false) | |
| 757 | + | ||
| 725 | 758 | cret := xTreeViewExpandRow(x.GoPointer(), PathVar, OpenAllVar) | |
| 726 | 759 | return cret | |
| 727 | 760 | } | |
| @@ -731,6 +764,8 @@ var xTreeViewExpandToPath func(uintptr, *TreePath) | |||
| 731 | 764 | // Expands the row at @path. This will also expand all parent rows of | |
| 732 | 765 | // @path as necessary. | |
| 733 | 766 | func (x *TreeView) ExpandToPath(PathVar *TreePath) { | |
| 767 | + | core.LazyRegister(&xTreeViewExpandToPath, "GTK", "gtk_tree_view_expand_to_path", false) | |
| 768 | + | ||
| 734 | 769 | xTreeViewExpandToPath(x.GoPointer(), PathVar) | |
| 735 | 770 | } | |
| 736 | 771 | ||
| @@ -738,6 +773,8 @@ var xTreeViewGetActivateOnSingleClick func(uintptr) bool | |||
| 738 | 773 | ||
| 739 | 774 | // Gets the setting set by gtk_tree_view_set_activate_on_single_click(). | |
| 740 | 775 | func (x *TreeView) GetActivateOnSingleClick() bool { | |
| 776 | + | core.LazyRegister(&xTreeViewGetActivateOnSingleClick, "GTK", "gtk_tree_view_get_activate_on_single_click", false) | |
| 777 | + | ||
| 741 | 778 | cret := xTreeViewGetActivateOnSingleClick(x.GoPointer()) | |
| 742 | 779 | return cret | |
| 743 | 780 | } | |
| @@ -754,6 +791,8 @@ var xTreeViewGetBackgroundArea func(uintptr, *TreePath, uintptr, *gdk.Rectangle) | |||
| 754 | 791 | // returned by gtk_tree_view_get_cell_area(), which returns only the cell | |
| 755 | 792 | // itself, excluding surrounding borders and the tree expander area. | |
| 756 | 793 | func (x *TreeView) GetBackgroundArea(PathVar *TreePath, ColumnVar *TreeViewColumn, RectVar *gdk.Rectangle) { | |
| 794 | + | core.LazyRegister(&xTreeViewGetBackgroundArea, "GTK", "gtk_tree_view_get_background_area", false) | |
| 795 | + | ||
| 757 | 796 | xTreeViewGetBackgroundArea(x.GoPointer(), PathVar, ColumnVar.GoPointer(), RectVar) | |
| 758 | 797 | } | |
| 759 | 798 | ||
| @@ -769,6 +808,8 @@ var xTreeViewGetCellArea func(uintptr, *TreePath, uintptr, *gdk.Rectangle) | |||
| 769 | 808 | // gtk_cell_renderer_render(). This function is only valid if @tree_view is | |
| 770 | 809 | // realized. | |
| 771 | 810 | func (x *TreeView) GetCellArea(PathVar *TreePath, ColumnVar *TreeViewColumn, RectVar *gdk.Rectangle) { | |
| 811 | + | core.LazyRegister(&xTreeViewGetCellArea, "GTK", "gtk_tree_view_get_cell_area", false) | |
| 812 | + | ||
| 772 | 813 | xTreeViewGetCellArea(x.GoPointer(), PathVar, ColumnVar.GoPointer(), RectVar) | |
| 773 | 814 | } | |
| 774 | 815 | ||
| @@ -776,6 +817,7 @@ var xTreeViewGetColumn func(uintptr, int) uintptr | |||
| 776 | 817 | ||
| 777 | 818 | // Gets the `GtkTreeViewColumn` at the given position in the #tree_view. | |
| 778 | 819 | func (x *TreeView) GetColumn(NVar int) *TreeViewColumn { | |
| 820 | + | core.LazyRegister(&xTreeViewGetColumn, "GTK", "gtk_tree_view_get_column", false) | |
| 779 | 821 | var cls *TreeViewColumn | |
| 780 | 822 | ||
| 781 | 823 | cret := xTreeViewGetColumn(x.GoPointer(), NVar) | |
| @@ -794,6 +836,8 @@ var xTreeViewGetColumns func(uintptr) uintptr | |||
| 794 | 836 | // Returns a `GList` of all the `GtkTreeViewColumn`s currently in @tree_view. | |
| 795 | 837 | // The returned list must be freed with g_list_free (). | |
| 796 | 838 | func (x *TreeView) GetColumns() *glib.List { | |
| 839 | + | core.LazyRegister(&xTreeViewGetColumns, "GTK", "gtk_tree_view_get_columns", false) | |
| 840 | + | ||
| 797 | 841 | cret := xTreeViewGetColumns(x.GoPointer()) | |
| 798 | 842 | if cret == 0 { | |
| 799 | 843 | return nil | |
| @@ -810,6 +854,8 @@ var xTreeViewGetCursor func(uintptr, **TreePath, **TreeViewColumn) | |||
| 810 | 854 | // The returned `GtkTreePath` must be freed with gtk_tree_path_free() when | |
| 811 | 855 | // you are done with it. | |
| 812 | 856 | func (x *TreeView) GetCursor(PathVar **TreePath, FocusColumnVar **TreeViewColumn) { | |
| 857 | + | core.LazyRegister(&xTreeViewGetCursor, "GTK", "gtk_tree_view_get_cursor", false) | |
| 858 | + | ||
| 813 | 859 | xTreeViewGetCursor(x.GoPointer(), PathVar, FocusColumnVar) | |
| 814 | 860 | } | |
| 815 | 861 | ||
| @@ -820,6 +866,8 @@ var xTreeViewGetDestRowAtPos func(uintptr, int, int, **TreePath, *TreeViewDropPo | |||
| 820 | 866 | // meaningful if @tree_view is realized. Therefore this function will always | |
| 821 | 867 | // return %FALSE if @tree_view is not realized or does not have a model. | |
| 822 | 868 | func (x *TreeView) GetDestRowAtPos(DragXVar int, DragYVar int, PathVar **TreePath, PosVar *TreeViewDropPosition) bool { | |
| 869 | + | core.LazyRegister(&xTreeViewGetDestRowAtPos, "GTK", "gtk_tree_view_get_dest_row_at_pos", false) | |
| 870 | + | ||
| 823 | 871 | cret := xTreeViewGetDestRowAtPos(x.GoPointer(), DragXVar, DragYVar, PathVar, PosVar) | |
| 824 | 872 | return cret | |
| 825 | 873 | } | |
| @@ -828,6 +876,8 @@ var xTreeViewGetDragDestRow func(uintptr, **TreePath, *TreeViewDropPosition) | |||
| 828 | 876 | ||
| 829 | 877 | // Gets information about the row that is highlighted for feedback. | |
| 830 | 878 | func (x *TreeView) GetDragDestRow(PathVar **TreePath, PosVar *TreeViewDropPosition) { | |
| 879 | + | core.LazyRegister(&xTreeViewGetDragDestRow, "GTK", "gtk_tree_view_get_drag_dest_row", false) | |
| 880 | + | ||
| 831 | 881 | xTreeViewGetDragDestRow(x.GoPointer(), PathVar, PosVar) | |
| 832 | 882 | } | |
| 833 | 883 | ||
| @@ -836,6 +886,8 @@ var xTreeViewGetEnableSearch func(uintptr) bool | |||
| 836 | 886 | // Returns whether or not the tree allows to start interactive searching | |
| 837 | 887 | // by typing in text. | |
| 838 | 888 | func (x *TreeView) GetEnableSearch() bool { | |
| 889 | + | core.LazyRegister(&xTreeViewGetEnableSearch, "GTK", "gtk_tree_view_get_enable_search", false) | |
| 890 | + | ||
| 839 | 891 | cret := xTreeViewGetEnableSearch(x.GoPointer()) | |
| 840 | 892 | return cret | |
| 841 | 893 | } | |
| @@ -844,6 +896,8 @@ var xTreeViewGetEnableTreeLines func(uintptr) bool | |||
| 844 | 896 | ||
| 845 | 897 | // Returns whether or not tree lines are drawn in @tree_view. | |
| 846 | 898 | func (x *TreeView) GetEnableTreeLines() bool { | |
| 899 | + | core.LazyRegister(&xTreeViewGetEnableTreeLines, "GTK", "gtk_tree_view_get_enable_tree_lines", false) | |
| 900 | + | ||
| 847 | 901 | cret := xTreeViewGetEnableTreeLines(x.GoPointer()) | |
| 848 | 902 | return cret | |
| 849 | 903 | } | |
| @@ -854,6 +908,7 @@ var xTreeViewGetExpanderColumn func(uintptr) uintptr | |||
| 854 | 908 | // or %NULL if none has been set. | |
| 855 | 909 | // This column has the expander arrow drawn next to it. | |
| 856 | 910 | func (x *TreeView) GetExpanderColumn() *TreeViewColumn { | |
| 911 | + | core.LazyRegister(&xTreeViewGetExpanderColumn, "GTK", "gtk_tree_view_get_expander_column", false) | |
| 857 | 912 | var cls *TreeViewColumn | |
| 858 | 913 | ||
| 859 | 914 | cret := xTreeViewGetExpanderColumn(x.GoPointer()) | |
| @@ -871,6 +926,8 @@ var xTreeViewGetFixedHeightMode func(uintptr) bool | |||
| 871 | 926 | ||
| 872 | 927 | // Returns whether fixed height mode is turned on for @tree_view. | |
| 873 | 928 | func (x *TreeView) GetFixedHeightMode() bool { | |
| 929 | + | core.LazyRegister(&xTreeViewGetFixedHeightMode, "GTK", "gtk_tree_view_get_fixed_height_mode", false) | |
| 930 | + | ||
| 874 | 931 | cret := xTreeViewGetFixedHeightMode(x.GoPointer()) | |
| 875 | 932 | return cret | |
| 876 | 933 | } | |
| @@ -879,6 +936,8 @@ var xTreeViewGetGridLines func(uintptr) TreeViewGridLines | |||
| 879 | 936 | ||
| 880 | 937 | // Returns which grid lines are enabled in @tree_view. | |
| 881 | 938 | func (x *TreeView) GetGridLines() TreeViewGridLines { | |
| 939 | + | core.LazyRegister(&xTreeViewGetGridLines, "GTK", "gtk_tree_view_get_grid_lines", false) | |
| 940 | + | ||
| 882 | 941 | cret := xTreeViewGetGridLines(x.GoPointer()) | |
| 883 | 942 | return cret | |
| 884 | 943 | } | |
| @@ -887,6 +946,8 @@ var xTreeViewGetHeadersClickable func(uintptr) bool | |||
| 887 | 946 | ||
| 888 | 947 | // Returns whether all header columns are clickable. | |
| 889 | 948 | func (x *TreeView) GetHeadersClickable() bool { | |
| 949 | + | core.LazyRegister(&xTreeViewGetHeadersClickable, "GTK", "gtk_tree_view_get_headers_clickable", false) | |
| 950 | + | ||
| 890 | 951 | cret := xTreeViewGetHeadersClickable(x.GoPointer()) | |
| 891 | 952 | return cret | |
| 892 | 953 | } | |
| @@ -895,6 +956,8 @@ var xTreeViewGetHeadersVisible func(uintptr) bool | |||
| 895 | 956 | ||
| 896 | 957 | // Returns %TRUE if the headers on the @tree_view are visible. | |
| 897 | 958 | func (x *TreeView) GetHeadersVisible() bool { | |
| 959 | + | core.LazyRegister(&xTreeViewGetHeadersVisible, "GTK", "gtk_tree_view_get_headers_visible", false) | |
| 960 | + | ||
| 898 | 961 | cret := xTreeViewGetHeadersVisible(x.GoPointer()) | |
| 899 | 962 | return cret | |
| 900 | 963 | } | |
| @@ -903,6 +966,8 @@ var xTreeViewGetHoverExpand func(uintptr) bool | |||
| 903 | 966 | ||
| 904 | 967 | // Returns whether hover expansion mode is turned on for @tree_view. | |
| 905 | 968 | func (x *TreeView) GetHoverExpand() bool { | |
| 969 | + | core.LazyRegister(&xTreeViewGetHoverExpand, "GTK", "gtk_tree_view_get_hover_expand", false) | |
| 970 | + | ||
| 906 | 971 | cret := xTreeViewGetHoverExpand(x.GoPointer()) | |
| 907 | 972 | return cret | |
| 908 | 973 | } | |
| @@ -911,6 +976,8 @@ var xTreeViewGetHoverSelection func(uintptr) bool | |||
| 911 | 976 | ||
| 912 | 977 | // Returns whether hover selection mode is turned on for @tree_view. | |
| 913 | 978 | func (x *TreeView) GetHoverSelection() bool { | |
| 979 | + | core.LazyRegister(&xTreeViewGetHoverSelection, "GTK", "gtk_tree_view_get_hover_selection", false) | |
| 980 | + | ||
| 914 | 981 | cret := xTreeViewGetHoverSelection(x.GoPointer()) | |
| 915 | 982 | return cret | |
| 916 | 983 | } | |
| @@ -920,6 +987,8 @@ var xTreeViewGetLevelIndentation func(uintptr) int | |||
| 920 | 987 | // Returns the amount, in pixels, of extra indentation for child levels | |
| 921 | 988 | // in @tree_view. | |
| 922 | 989 | func (x *TreeView) GetLevelIndentation() int { | |
| 990 | + | core.LazyRegister(&xTreeViewGetLevelIndentation, "GTK", "gtk_tree_view_get_level_indentation", false) | |
| 991 | + | ||
| 923 | 992 | cret := xTreeViewGetLevelIndentation(x.GoPointer()) | |
| 924 | 993 | return cret | |
| 925 | 994 | } | |
| @@ -929,6 +998,7 @@ var xTreeViewGetModel func(uintptr) uintptr | |||
| 929 | 998 | // Returns the model the `GtkTreeView` is based on. Returns %NULL if the | |
| 930 | 999 | // model is unset. | |
| 931 | 1000 | func (x *TreeView) GetModel() *TreeModelBase { | |
| 1001 | + | core.LazyRegister(&xTreeViewGetModel, "GTK", "gtk_tree_view_get_model", false) | |
| 932 | 1002 | var cls *TreeModelBase | |
| 933 | 1003 | ||
| 934 | 1004 | cret := xTreeViewGetModel(x.GoPointer()) | |
| @@ -946,6 +1016,8 @@ var xTreeViewGetNColumns func(uintptr) uint | |||
| 946 | 1016 | ||
| 947 | 1017 | // Queries the number of columns in the given @tree_view. | |
| 948 | 1018 | func (x *TreeView) GetNColumns() uint { | |
| 1019 | + | core.LazyRegister(&xTreeViewGetNColumns, "GTK", "gtk_tree_view_get_n_columns", false) | |
| 1020 | + | ||
| 949 | 1021 | cret := xTreeViewGetNColumns(x.GoPointer()) | |
| 950 | 1022 | return cret | |
| 951 | 1023 | } | |
| @@ -969,6 +1041,8 @@ var xTreeViewGetPathAtPos func(uintptr, int, int, **TreePath, **TreeViewColumn, | |||
| 969 | 1041 | // GtkWidget::query-tooltip), please see | |
| 970 | 1042 | // gtk_tree_view_convert_widget_to_bin_window_coords(). | |
| 971 | 1043 | func (x *TreeView) GetPathAtPos(XVar int, YVar int, PathVar **TreePath, ColumnVar **TreeViewColumn, CellXVar *int, CellYVar *int) bool { | |
| 1044 | + | core.LazyRegister(&xTreeViewGetPathAtPos, "GTK", "gtk_tree_view_get_path_at_pos", false) | |
| 1045 | + | ||
| 972 | 1046 | cret := xTreeViewGetPathAtPos(x.GoPointer(), XVar, YVar, PathVar, ColumnVar, CellXVar, CellYVar) | |
| 973 | 1047 | return cret | |
| 974 | 1048 | } | |
| @@ -978,6 +1052,8 @@ var xTreeViewGetReorderable func(uintptr) bool | |||
| 978 | 1052 | // Retrieves whether the user can reorder the tree via drag-and-drop. See | |
| 979 | 1053 | // gtk_tree_view_set_reorderable(). | |
| 980 | 1054 | func (x *TreeView) GetReorderable() bool { | |
| 1055 | + | core.LazyRegister(&xTreeViewGetReorderable, "GTK", "gtk_tree_view_get_reorderable", false) | |
| 1056 | + | ||
| 981 | 1057 | cret := xTreeViewGetReorderable(x.GoPointer()) | |
| 982 | 1058 | return cret | |
| 983 | 1059 | } | |
| @@ -986,6 +1062,8 @@ var xTreeViewGetRowSeparatorFunc func(uintptr) uintptr | |||
| 986 | 1062 | ||
| 987 | 1063 | // Returns the current row separator function. | |
| 988 | 1064 | func (x *TreeView) GetRowSeparatorFunc() uintptr { | |
| 1065 | + | core.LazyRegister(&xTreeViewGetRowSeparatorFunc, "GTK", "gtk_tree_view_get_row_separator_func", false) | |
| 1066 | + | ||
| 989 | 1067 | cret := xTreeViewGetRowSeparatorFunc(x.GoPointer()) | |
| 990 | 1068 | return cret | |
| 991 | 1069 | } | |
| @@ -996,6 +1074,8 @@ var xTreeViewGetRubberBanding func(uintptr) bool | |||
| 996 | 1074 | // selection mode is %GTK_SELECTION_MULTIPLE, rubber banding will allow the | |
| 997 | 1075 | // user to select multiple rows by dragging the mouse. | |
| 998 | 1076 | func (x *TreeView) GetRubberBanding() bool { | |
| 1077 | + | core.LazyRegister(&xTreeViewGetRubberBanding, "GTK", "gtk_tree_view_get_rubber_banding", false) | |
| 1078 | + | ||
| 999 | 1079 | cret := xTreeViewGetRubberBanding(x.GoPointer()) | |
| 1000 | 1080 | return cret | |
| 1001 | 1081 | } | |
| @@ -1004,6 +1084,8 @@ var xTreeViewGetSearchColumn func(uintptr) int | |||
| 1004 | 1084 | ||
| 1005 | 1085 | // Gets the column searched on by the interactive search code. | |
| 1006 | 1086 | func (x *TreeView) GetSearchColumn() int { | |
| 1087 | + | core.LazyRegister(&xTreeViewGetSearchColumn, "GTK", "gtk_tree_view_get_search_column", false) | |
| 1088 | + | ||
| 1007 | 1089 | cret := xTreeViewGetSearchColumn(x.GoPointer()) | |
| 1008 | 1090 | return cret | |
| 1009 | 1091 | } | |
| @@ -1014,6 +1096,7 @@ var xTreeViewGetSearchEntry func(uintptr) uintptr | |||
| 1014 | 1096 | // entry for @tree_view. In case the built-in entry is being used, %NULL | |
| 1015 | 1097 | // will be returned. | |
| 1016 | 1098 | func (x *TreeView) GetSearchEntry() *EditableBase { | |
| 1099 | + | core.LazyRegister(&xTreeViewGetSearchEntry, "GTK", "gtk_tree_view_get_search_entry", false) | |
| 1017 | 1100 | var cls *EditableBase | |
| 1018 | 1101 | ||
| 1019 | 1102 | cret := xTreeViewGetSearchEntry(x.GoPointer()) | |
| @@ -1031,6 +1114,8 @@ var xTreeViewGetSearchEqualFunc func(uintptr) uintptr | |||
| 1031 | 1114 | ||
| 1032 | 1115 | // Returns the compare function currently in use. | |
| 1033 | 1116 | func (x *TreeView) GetSearchEqualFunc() uintptr { | |
| 1117 | + | core.LazyRegister(&xTreeViewGetSearchEqualFunc, "GTK", "gtk_tree_view_get_search_equal_func", false) | |
| 1118 | + | ||
| 1034 | 1119 | cret := xTreeViewGetSearchEqualFunc(x.GoPointer()) | |
| 1035 | 1120 | return cret | |
| 1036 | 1121 | } | |
| @@ -1039,6 +1124,7 @@ var xTreeViewGetSelection func(uintptr) uintptr | |||
| 1039 | 1124 | ||
| 1040 | 1125 | // Gets the `GtkTreeSelection` associated with @tree_view. | |
| 1041 | 1126 | func (x *TreeView) GetSelection() *TreeSelection { | |
| 1127 | + | core.LazyRegister(&xTreeViewGetSelection, "GTK", "gtk_tree_view_get_selection", false) | |
| 1042 | 1128 | var cls *TreeSelection | |
| 1043 | 1129 | ||
| 1044 | 1130 | cret := xTreeViewGetSelection(x.GoPointer()) | |
| @@ -1056,6 +1142,8 @@ var xTreeViewGetShowExpanders func(uintptr) bool | |||
| 1056 | 1142 | ||
| 1057 | 1143 | // Returns whether or not expanders are drawn in @tree_view. | |
| 1058 | 1144 | func (x *TreeView) GetShowExpanders() bool { | |
| 1145 | + | core.LazyRegister(&xTreeViewGetShowExpanders, "GTK", "gtk_tree_view_get_show_expanders", false) | |
| 1146 | + | ||
| 1059 | 1147 | cret := xTreeViewGetShowExpanders(x.GoPointer()) | |
| 1060 | 1148 | return cret | |
| 1061 | 1149 | } | |
| @@ -1065,6 +1153,8 @@ var xTreeViewGetTooltipColumn func(uintptr) int | |||
| 1065 | 1153 | // Returns the column of @tree_view’s model which is being used for | |
| 1066 | 1154 | // displaying tooltips on @tree_view’s rows. | |
| 1067 | 1155 | func (x *TreeView) GetTooltipColumn() int { | |
| 1156 | + | core.LazyRegister(&xTreeViewGetTooltipColumn, "GTK", "gtk_tree_view_get_tooltip_column", false) | |
| 1157 | + | ||
| 1068 | 1158 | cret := xTreeViewGetTooltipColumn(x.GoPointer()) | |
| 1069 | 1159 | return cret | |
| 1070 | 1160 | } | |
| @@ -1083,6 +1173,8 @@ var xTreeViewGetTooltipContext func(uintptr, int, int, bool, **TreeModel, **Tree | |||
| 1083 | 1173 | // that row and the corresponding model. @x and @y will always be converted | |
| 1084 | 1174 | // to be relative to @tree_view’s bin_window if @keyboard_tooltip is %FALSE. | |
| 1085 | 1175 | func (x *TreeView) GetTooltipContext(XVar int, YVar int, KeyboardTipVar bool, ModelVar **TreeModel, PathVar **TreePath, IterVar *TreeIter) bool { | |
| 1176 | + | core.LazyRegister(&xTreeViewGetTooltipContext, "GTK", "gtk_tree_view_get_tooltip_context", false) | |
| 1177 | + | ||
| 1086 | 1178 | cret := xTreeViewGetTooltipContext(x.GoPointer(), XVar, YVar, KeyboardTipVar, ModelVar, PathVar, IterVar) | |
| 1087 | 1179 | return cret | |
| 1088 | 1180 | } | |
| @@ -1094,6 +1186,8 @@ var xTreeViewGetVisibleRange func(uintptr, **TreePath, **TreePath) bool | |||
| 1094 | 1186 | // | |
| 1095 | 1187 | // The paths should be freed with gtk_tree_path_free() after use. | |
| 1096 | 1188 | func (x *TreeView) GetVisibleRange(StartPathVar **TreePath, EndPathVar **TreePath) bool { | |
| 1189 | + | core.LazyRegister(&xTreeViewGetVisibleRange, "GTK", "gtk_tree_view_get_visible_range", false) | |
| 1190 | + | ||
| 1097 | 1191 | cret := xTreeViewGetVisibleRange(x.GoPointer(), StartPathVar, EndPathVar) | |
| 1098 | 1192 | return cret | |
| 1099 | 1193 | } | |
| @@ -1106,6 +1200,8 @@ var xTreeViewGetVisibleRect func(uintptr, *gdk.Rectangle) | |||
| 1106 | 1200 | // Tree coordinates start at 0,0 for row 0 of the tree, and cover the entire | |
| 1107 | 1201 | // scrollable area of the tree. | |
| 1108 | 1202 | func (x *TreeView) GetVisibleRect(VisibleRectVar *gdk.Rectangle) { | |
| 1203 | + | core.LazyRegister(&xTreeViewGetVisibleRect, "GTK", "gtk_tree_view_get_visible_rect", false) | |
| 1204 | + | ||
| 1109 | 1205 | xTreeViewGetVisibleRect(x.GoPointer(), VisibleRectVar) | |
| 1110 | 1206 | } | |
| 1111 | 1207 | ||
| @@ -1116,6 +1212,8 @@ var xTreeViewInsertColumn func(uintptr, uintptr, int) int | |||
| 1116 | 1212 | // “fixed_height” mode enabled, then @column must have its “sizing” property | |
| 1117 | 1213 | // set to be GTK_TREE_VIEW_COLUMN_FIXED. | |
| 1118 | 1214 | func (x *TreeView) InsertColumn(ColumnVar *TreeViewColumn, PositionVar int) int { | |
| 1215 | + | core.LazyRegister(&xTreeViewInsertColumn, "GTK", "gtk_tree_view_insert_column", false) | |
| 1216 | + | ||
| 1119 | 1217 | cret := xTreeViewInsertColumn(x.GoPointer(), ColumnVar.GoPointer(), PositionVar) | |
| 1120 | 1218 | return cret | |
| 1121 | 1219 | } | |
| @@ -1128,6 +1226,8 @@ var xTreeViewInsertColumnWithAttributes func(uintptr, int, string, uintptr, ...i | |||
| 1128 | 1226 | // has “fixed_height” mode enabled, then the new column will have its sizing | |
| 1129 | 1227 | // property set to be GTK_TREE_VIEW_COLUMN_FIXED. | |
| 1130 | 1228 | func (x *TreeView) InsertColumnWithAttributes(PositionVar int, TitleVar string, CellVar *CellRenderer, varArgs ...interface{}) int { | |
| 1229 | + | core.LazyRegister(&xTreeViewInsertColumnWithAttributes, "GTK", "gtk_tree_view_insert_column_with_attributes", false) | |
| 1230 | + | ||
| 1131 | 1231 | cret := xTreeViewInsertColumnWithAttributes(x.GoPointer(), PositionVar, TitleVar, CellVar.GoPointer(), varArgs...) | |
| 1132 | 1232 | return cret | |
| 1133 | 1233 | } | |
| @@ -1141,6 +1241,8 @@ var xTreeViewInsertColumnWithDataFunc func(uintptr, int, string, uintptr, uintpt | |||
| 1141 | 1241 | // If @tree_view has “fixed_height” mode enabled, then the new column will have its | |
| 1142 | 1242 | // “sizing” property set to be GTK_TREE_VIEW_COLUMN_FIXED. | |
| 1143 | 1243 | func (x *TreeView) InsertColumnWithDataFunc(PositionVar int, TitleVar string, CellVar *CellRenderer, FuncVar *TreeCellDataFunc, DataVar uintptr, DnotifyVar *glib.DestroyNotify) int { | |
| 1244 | + | core.LazyRegister(&xTreeViewInsertColumnWithDataFunc, "GTK", "gtk_tree_view_insert_column_with_data_func", false) | |
| 1245 | + | ||
| 1144 | 1246 | cret := xTreeViewInsertColumnWithDataFunc(x.GoPointer(), PositionVar, TitleVar, CellVar.GoPointer(), glib.NewCallback(FuncVar), DataVar, glib.NewCallbackNullable(DnotifyVar)) | |
| 1145 | 1247 | return cret | |
| 1146 | 1248 | } | |
| @@ -1165,6 +1267,8 @@ var xTreeViewIsBlankAtPos func(uintptr, int, int, **TreePath, **TreeViewColumn, | |||
| 1165 | 1267 | // likewise as for gtk_tree_view_get_path_at_pos(). Please see | |
| 1166 | 1268 | // gtk_tree_view_get_path_at_pos() for more information. | |
| 1167 | 1269 | func (x *TreeView) IsBlankAtPos(XVar int, YVar int, PathVar **TreePath, ColumnVar **TreeViewColumn, CellXVar *int, CellYVar *int) bool { | |
| 1270 | + | core.LazyRegister(&xTreeViewIsBlankAtPos, "GTK", "gtk_tree_view_is_blank_at_pos", false) | |
| 1271 | + | ||
| 1168 | 1272 | cret := xTreeViewIsBlankAtPos(x.GoPointer(), XVar, YVar, PathVar, ColumnVar, CellXVar, CellYVar) | |
| 1169 | 1273 | return cret | |
| 1170 | 1274 | } | |
| @@ -1174,6 +1278,8 @@ var xTreeViewIsRubberBandingActive func(uintptr) bool | |||
| 1174 | 1278 | // Returns whether a rubber banding operation is currently being done | |
| 1175 | 1279 | // in @tree_view. | |
| 1176 | 1280 | func (x *TreeView) IsRubberBandingActive() bool { | |
| 1281 | + | core.LazyRegister(&xTreeViewIsRubberBandingActive, "GTK", "gtk_tree_view_is_rubber_banding_active", false) | |
| 1282 | + | ||
| 1177 | 1283 | cret := xTreeViewIsRubberBandingActive(x.GoPointer()) | |
| 1178 | 1284 | return cret | |
| 1179 | 1285 | } | |
| @@ -1182,6 +1288,8 @@ var xTreeViewMapExpandedRows func(uintptr, uintptr, uintptr) | |||
| 1182 | 1288 | ||
| 1183 | 1289 | // Calls @func on all expanded rows. | |
| 1184 | 1290 | func (x *TreeView) MapExpandedRows(FuncVar *TreeViewMappingFunc, DataVar uintptr) { | |
| 1291 | + | core.LazyRegister(&xTreeViewMapExpandedRows, "GTK", "gtk_tree_view_map_expanded_rows", false) | |
| 1292 | + | ||
| 1185 | 1293 | xTreeViewMapExpandedRows(x.GoPointer(), glib.NewCallback(FuncVar), DataVar) | |
| 1186 | 1294 | } | |
| 1187 | 1295 | ||
| @@ -1190,6 +1298,8 @@ var xTreeViewMoveColumnAfter func(uintptr, uintptr, uintptr) | |||
| 1190 | 1298 | // Moves @column to be after to @base_column. If @base_column is %NULL, then | |
| 1191 | 1299 | // @column is placed in the first position. | |
| 1192 | 1300 | func (x *TreeView) MoveColumnAfter(ColumnVar *TreeViewColumn, BaseColumnVar *TreeViewColumn) { | |
| 1301 | + | core.LazyRegister(&xTreeViewMoveColumnAfter, "GTK", "gtk_tree_view_move_column_after", false) | |
| 1302 | + | ||
| 1193 | 1303 | xTreeViewMoveColumnAfter(x.GoPointer(), ColumnVar.GoPointer(), BaseColumnVar.GoPointer()) | |
| 1194 | 1304 | } | |
| 1195 | 1305 | ||
| @@ -1197,6 +1307,8 @@ var xTreeViewRemoveColumn func(uintptr, uintptr) int | |||
| 1197 | 1307 | ||
| 1198 | 1308 | // Removes @column from @tree_view. | |
| 1199 | 1309 | func (x *TreeView) RemoveColumn(ColumnVar *TreeViewColumn) int { | |
| 1310 | + | core.LazyRegister(&xTreeViewRemoveColumn, "GTK", "gtk_tree_view_remove_column", false) | |
| 1311 | + | ||
| 1200 | 1312 | cret := xTreeViewRemoveColumn(x.GoPointer(), ColumnVar.GoPointer()) | |
| 1201 | 1313 | return cret | |
| 1202 | 1314 | } | |
| @@ -1205,6 +1317,8 @@ var xTreeViewRowActivated func(uintptr, *TreePath, uintptr) | |||
| 1205 | 1317 | ||
| 1206 | 1318 | // Activates the cell determined by @path and @column. | |
| 1207 | 1319 | func (x *TreeView) RowActivated(PathVar *TreePath, ColumnVar *TreeViewColumn) { | |
| 1320 | + | core.LazyRegister(&xTreeViewRowActivated, "GTK", "gtk_tree_view_row_activated", false) | |
| 1321 | + | ||
| 1208 | 1322 | xTreeViewRowActivated(x.GoPointer(), PathVar, ColumnVar.GoPointer()) | |
| 1209 | 1323 | } | |
| 1210 | 1324 | ||
| @@ -1212,6 +1326,8 @@ var xTreeViewRowExpanded func(uintptr, *TreePath) bool | |||
| 1212 | 1326 | ||
| 1213 | 1327 | // Returns %TRUE if the node pointed to by @path is expanded in @tree_view. | |
| 1214 | 1328 | func (x *TreeView) RowExpanded(PathVar *TreePath) bool { | |
| 1329 | + | core.LazyRegister(&xTreeViewRowExpanded, "GTK", "gtk_tree_view_row_expanded", false) | |
| 1330 | + | ||
| 1215 | 1331 | cret := xTreeViewRowExpanded(x.GoPointer(), PathVar) | |
| 1216 | 1332 | return cret | |
| 1217 | 1333 | } | |
| @@ -1235,6 +1351,8 @@ var xTreeViewScrollToCell func(uintptr, *TreePath, uintptr, bool, float32, float | |||
| 1235 | 1351 | // model. If the model changes before the @tree_view is realized, the centered | |
| 1236 | 1352 | // path will be modified to reflect this change. | |
| 1237 | 1353 | func (x *TreeView) ScrollToCell(PathVar *TreePath, ColumnVar *TreeViewColumn, UseAlignVar bool, RowAlignVar float32, ColAlignVar float32) { | |
| 1354 | + | core.LazyRegister(&xTreeViewScrollToCell, "GTK", "gtk_tree_view_scroll_to_cell", false) | |
| 1355 | + | ||
| 1238 | 1356 | xTreeViewScrollToCell(x.GoPointer(), PathVar, ColumnVar.GoPointer(), UseAlignVar, RowAlignVar, ColAlignVar) | |
| 1239 | 1357 | } | |
| 1240 | 1358 | ||
| @@ -1248,6 +1366,8 @@ var xTreeViewScrollToPoint func(uintptr, int, int) | |||
| 1248 | 1366 | // | |
| 1249 | 1367 | // If either @tree_x or @tree_y are -1, then that direction isn’t scrolled. | |
| 1250 | 1368 | func (x *TreeView) ScrollToPoint(TreeXVar int, TreeYVar int) { | |
| 1369 | + | core.LazyRegister(&xTreeViewScrollToPoint, "GTK", "gtk_tree_view_scroll_to_point", false) | |
| 1370 | + | ||
| 1251 | 1371 | xTreeViewScrollToPoint(x.GoPointer(), TreeXVar, TreeYVar) | |
| 1252 | 1372 | } | |
| 1253 | 1373 | ||
| @@ -1256,6 +1376,8 @@ var xTreeViewSetActivateOnSingleClick func(uintptr, bool) | |||
| 1256 | 1376 | // Cause the `GtkTreeView`::row-activated signal to be emitted | |
| 1257 | 1377 | // on a single click instead of a double click. | |
| 1258 | 1378 | func (x *TreeView) SetActivateOnSingleClick(SingleVar bool) { | |
| 1379 | + | core.LazyRegister(&xTreeViewSetActivateOnSingleClick, "GTK", "gtk_tree_view_set_activate_on_single_click", false) | |
| 1380 | + | ||
| 1259 | 1381 | xTreeViewSetActivateOnSingleClick(x.GoPointer(), SingleVar) | |
| 1260 | 1382 | } | |
| 1261 | 1383 | ||
| @@ -1271,6 +1393,8 @@ var xTreeViewSetColumnDragFunction func(uintptr, uintptr, uintptr, uintptr) | |||
| 1271 | 1393 | // @tree_view reverts to the default behavior of allowing all columns to be | |
| 1272 | 1394 | // dropped everywhere. | |
| 1273 | 1395 | func (x *TreeView) SetColumnDragFunction(FuncVar *TreeViewColumnDropFunc, UserDataVar uintptr, DestroyVar *glib.DestroyNotify) { | |
| 1396 | + | core.LazyRegister(&xTreeViewSetColumnDragFunction, "GTK", "gtk_tree_view_set_column_drag_function", false) | |
| 1397 | + | ||
| 1274 | 1398 | xTreeViewSetColumnDragFunction(x.GoPointer(), glib.NewCallbackNullable(FuncVar), UserDataVar, glib.NewCallbackNullable(DestroyVar)) | |
| 1275 | 1399 | } | |
| 1276 | 1400 | ||
| @@ -1288,6 +1412,8 @@ var xTreeViewSetCursor func(uintptr, *TreePath, uintptr, bool) | |||
| 1288 | 1412 | // If @path is invalid for @model, the current cursor (if any) will be unset | |
| 1289 | 1413 | // and the function will return without failing. | |
| 1290 | 1414 | func (x *TreeView) SetCursor(PathVar *TreePath, FocusColumnVar *TreeViewColumn, StartEditingVar bool) { | |
| 1415 | + | core.LazyRegister(&xTreeViewSetCursor, "GTK", "gtk_tree_view_set_cursor", false) | |
| 1416 | + | ||
| 1291 | 1417 | xTreeViewSetCursor(x.GoPointer(), PathVar, FocusColumnVar.GoPointer(), StartEditingVar) | |
| 1292 | 1418 | } | |
| 1293 | 1419 | ||
| @@ -1308,6 +1434,8 @@ var xTreeViewSetCursorOnCell func(uintptr, *TreePath, uintptr, uintptr, bool) | |||
| 1308 | 1434 | // If @path is invalid for @model, the current cursor (if any) will be unset | |
| 1309 | 1435 | // and the function will return without failing. | |
| 1310 | 1436 | func (x *TreeView) SetCursorOnCell(PathVar *TreePath, FocusColumnVar *TreeViewColumn, FocusCellVar *CellRenderer, StartEditingVar bool) { | |
| 1437 | + | core.LazyRegister(&xTreeViewSetCursorOnCell, "GTK", "gtk_tree_view_set_cursor_on_cell", false) | |
| 1438 | + | ||
| 1311 | 1439 | xTreeViewSetCursorOnCell(x.GoPointer(), PathVar, FocusColumnVar.GoPointer(), FocusCellVar.GoPointer(), StartEditingVar) | |
| 1312 | 1440 | } | |
| 1313 | 1441 | ||
| @@ -1316,6 +1444,8 @@ var xTreeViewSetDragDestRow func(uintptr, *TreePath, TreeViewDropPosition) | |||
| 1316 | 1444 | // Sets the row that is highlighted for feedback. | |
| 1317 | 1445 | // If @path is %NULL, an existing highlight is removed. | |
| 1318 | 1446 | func (x *TreeView) SetDragDestRow(PathVar *TreePath, PosVar TreeViewDropPosition) { | |
| 1447 | + | core.LazyRegister(&xTreeViewSetDragDestRow, "GTK", "gtk_tree_view_set_drag_dest_row", false) | |
| 1448 | + | ||
| 1319 | 1449 | xTreeViewSetDragDestRow(x.GoPointer(), PathVar, PosVar) | |
| 1320 | 1450 | } | |
| 1321 | 1451 | ||
| @@ -1327,6 +1457,8 @@ var xTreeViewSetEnableSearch func(uintptr, bool) | |||
| 1327 | 1457 | // Note that even if this is %FALSE, the user can still initiate a search | |
| 1328 | 1458 | // using the “start-interactive-search” key binding. | |
| 1329 | 1459 | func (x *TreeView) SetEnableSearch(EnableSearchVar bool) { | |
| 1460 | + | core.LazyRegister(&xTreeViewSetEnableSearch, "GTK", "gtk_tree_view_set_enable_search", false) | |
| 1461 | + | ||
| 1330 | 1462 | xTreeViewSetEnableSearch(x.GoPointer(), EnableSearchVar) | |
| 1331 | 1463 | } | |
| 1332 | 1464 | ||
| @@ -1335,6 +1467,8 @@ var xTreeViewSetEnableTreeLines func(uintptr, bool) | |||
| 1335 | 1467 | // Sets whether to draw lines interconnecting the expanders in @tree_view. | |
| 1336 | 1468 | // This does not have any visible effects for lists. | |
| 1337 | 1469 | func (x *TreeView) SetEnableTreeLines(EnabledVar bool) { | |
| 1470 | + | core.LazyRegister(&xTreeViewSetEnableTreeLines, "GTK", "gtk_tree_view_set_enable_tree_lines", false) | |
| 1471 | + | ||
| 1338 | 1472 | xTreeViewSetEnableTreeLines(x.GoPointer(), EnabledVar) | |
| 1339 | 1473 | } | |
| 1340 | 1474 | ||
| @@ -1347,6 +1481,8 @@ var xTreeViewSetExpanderColumn func(uintptr, uintptr) | |||
| 1347 | 1481 | // If you do not want expander arrow to appear in your tree, set the | |
| 1348 | 1482 | // expander column to a hidden column. | |
| 1349 | 1483 | func (x *TreeView) SetExpanderColumn(ColumnVar *TreeViewColumn) { | |
| 1484 | + | core.LazyRegister(&xTreeViewSetExpanderColumn, "GTK", "gtk_tree_view_set_expander_column", false) | |
| 1485 | + | ||
| 1350 | 1486 | xTreeViewSetExpanderColumn(x.GoPointer(), ColumnVar.GoPointer()) | |
| 1351 | 1487 | } | |
| 1352 | 1488 | ||
| @@ -1358,6 +1494,8 @@ var xTreeViewSetFixedHeightMode func(uintptr, bool) | |||
| 1358 | 1494 | // Only enable this option if all rows are the same height and all | |
| 1359 | 1495 | // columns are of type %GTK_TREE_VIEW_COLUMN_FIXED. | |
| 1360 | 1496 | func (x *TreeView) SetFixedHeightMode(EnableVar bool) { | |
| 1497 | + | core.LazyRegister(&xTreeViewSetFixedHeightMode, "GTK", "gtk_tree_view_set_fixed_height_mode", false) | |
| 1498 | + | ||
| 1361 | 1499 | xTreeViewSetFixedHeightMode(x.GoPointer(), EnableVar) | |
| 1362 | 1500 | } | |
| 1363 | 1501 | ||
| @@ -1365,6 +1503,8 @@ var xTreeViewSetGridLines func(uintptr, TreeViewGridLines) | |||
| 1365 | 1503 | ||
| 1366 | 1504 | // Sets which grid lines to draw in @tree_view. | |
| 1367 | 1505 | func (x *TreeView) SetGridLines(GridLinesVar TreeViewGridLines) { | |
| 1506 | + | core.LazyRegister(&xTreeViewSetGridLines, "GTK", "gtk_tree_view_set_grid_lines", false) | |
| 1507 | + | ||
| 1368 | 1508 | xTreeViewSetGridLines(x.GoPointer(), GridLinesVar) | |
| 1369 | 1509 | } | |
| 1370 | 1510 | ||
| @@ -1372,6 +1512,8 @@ var xTreeViewSetHeadersClickable func(uintptr, bool) | |||
| 1372 | 1512 | ||
| 1373 | 1513 | // Allow the column title buttons to be clicked. | |
| 1374 | 1514 | func (x *TreeView) SetHeadersClickable(SettingVar bool) { | |
| 1515 | + | core.LazyRegister(&xTreeViewSetHeadersClickable, "GTK", "gtk_tree_view_set_headers_clickable", false) | |
| 1516 | + | ||
| 1375 | 1517 | xTreeViewSetHeadersClickable(x.GoPointer(), SettingVar) | |
| 1376 | 1518 | } | |
| 1377 | 1519 | ||
| @@ -1379,6 +1521,8 @@ var xTreeViewSetHeadersVisible func(uintptr, bool) | |||
| 1379 | 1521 | ||
| 1380 | 1522 | // Sets the visibility state of the headers. | |
| 1381 | 1523 | func (x *TreeView) SetHeadersVisible(HeadersVisibleVar bool) { | |
| 1524 | + | core.LazyRegister(&xTreeViewSetHeadersVisible, "GTK", "gtk_tree_view_set_headers_visible", false) | |
| 1525 | + | ||
| 1382 | 1526 | xTreeViewSetHeadersVisible(x.GoPointer(), HeadersVisibleVar) | |
| 1383 | 1527 | } | |
| 1384 | 1528 | ||
| @@ -1388,6 +1532,8 @@ var xTreeViewSetHoverExpand func(uintptr, bool) | |||
| 1388 | 1532 | // Hover expansion makes rows expand or collapse if the pointer | |
| 1389 | 1533 | // moves over them. | |
| 1390 | 1534 | func (x *TreeView) SetHoverExpand(ExpandVar bool) { | |
| 1535 | + | core.LazyRegister(&xTreeViewSetHoverExpand, "GTK", "gtk_tree_view_set_hover_expand", false) | |
| 1536 | + | ||
| 1391 | 1537 | xTreeViewSetHoverExpand(x.GoPointer(), ExpandVar) | |
| 1392 | 1538 | } | |
| 1393 | 1539 | ||
| @@ -1398,6 +1544,8 @@ var xTreeViewSetHoverSelection func(uintptr, bool) | |||
| 1398 | 1544 | // Currently, this works only for the selection modes | |
| 1399 | 1545 | // %GTK_SELECTION_SINGLE and %GTK_SELECTION_BROWSE. | |
| 1400 | 1546 | func (x *TreeView) SetHoverSelection(HoverVar bool) { | |
| 1547 | + | core.LazyRegister(&xTreeViewSetHoverSelection, "GTK", "gtk_tree_view_set_hover_selection", false) | |
| 1548 | + | ||
| 1401 | 1549 | xTreeViewSetHoverSelection(x.GoPointer(), HoverVar) | |
| 1402 | 1550 | } | |
| 1403 | 1551 | ||
| @@ -1409,6 +1557,8 @@ var xTreeViewSetLevelIndentation func(uintptr, int) | |||
| 1409 | 1557 | // indentation will be used. | |
| 1410 | 1558 | // This does not have any visible effects for lists. | |
| 1411 | 1559 | func (x *TreeView) SetLevelIndentation(IndentationVar int) { | |
| 1560 | + | core.LazyRegister(&xTreeViewSetLevelIndentation, "GTK", "gtk_tree_view_set_level_indentation", false) | |
| 1561 | + | ||
| 1412 | 1562 | xTreeViewSetLevelIndentation(x.GoPointer(), IndentationVar) | |
| 1413 | 1563 | } | |
| 1414 | 1564 | ||
| @@ -1418,6 +1568,8 @@ var xTreeViewSetModel func(uintptr, uintptr) | |||
| 1418 | 1568 | // set, it will remove it before setting the new model. If @model is %NULL, | |
| 1419 | 1569 | // then it will unset the old model. | |
| 1420 | 1570 | func (x *TreeView) SetModel(ModelVar TreeModel) { | |
| 1571 | + | core.LazyRegister(&xTreeViewSetModel, "GTK", "gtk_tree_view_set_model", false) | |
| 1572 | + | ||
| 1421 | 1573 | xTreeViewSetModel(x.GoPointer(), ModelVar.GoPointer()) | |
| 1422 | 1574 | } | |
| 1423 | 1575 | ||
| @@ -1438,6 +1590,8 @@ var xTreeViewSetReorderable func(uintptr, bool) | |||
| 1438 | 1590 | // reordering is allowed. If more control is needed, you should probably | |
| 1439 | 1591 | // handle drag and drop manually. | |
| 1440 | 1592 | func (x *TreeView) SetReorderable(ReorderableVar bool) { | |
| 1593 | + | core.LazyRegister(&xTreeViewSetReorderable, "GTK", "gtk_tree_view_set_reorderable", false) | |
| 1594 | + | ||
| 1441 | 1595 | xTreeViewSetReorderable(x.GoPointer(), ReorderableVar) | |
| 1442 | 1596 | } | |
| 1443 | 1597 | ||
| @@ -1447,6 +1601,8 @@ var xTreeViewSetRowSeparatorFunc func(uintptr, uintptr, uintptr, uintptr) | |||
| 1447 | 1601 | // whether a row should be drawn as a separator. If the row separator | |
| 1448 | 1602 | // function is %NULL, no separators are drawn. This is the default value. | |
| 1449 | 1603 | func (x *TreeView) SetRowSeparatorFunc(FuncVar *TreeViewRowSeparatorFunc, DataVar uintptr, DestroyVar *glib.DestroyNotify) { | |
| 1604 | + | core.LazyRegister(&xTreeViewSetRowSeparatorFunc, "GTK", "gtk_tree_view_set_row_separator_func", false) | |
| 1605 | + | ||
| 1450 | 1606 | xTreeViewSetRowSeparatorFunc(x.GoPointer(), glib.NewCallbackNullable(FuncVar), DataVar, glib.NewCallbackNullable(DestroyVar)) | |
| 1451 | 1607 | } | |
| 1452 | 1608 | ||
| @@ -1456,6 +1612,8 @@ var xTreeViewSetRubberBanding func(uintptr, bool) | |||
| 1456 | 1612 | // is %GTK_SELECTION_MULTIPLE, rubber banding will allow the user to select | |
| 1457 | 1613 | // multiple rows by dragging the mouse. | |
| 1458 | 1614 | func (x *TreeView) SetRubberBanding(EnableVar bool) { | |
| 1615 | + | core.LazyRegister(&xTreeViewSetRubberBanding, "GTK", "gtk_tree_view_set_rubber_banding", false) | |
| 1616 | + | ||
| 1459 | 1617 | xTreeViewSetRubberBanding(x.GoPointer(), EnableVar) | |
| 1460 | 1618 | } | |
| 1461 | 1619 | ||
| @@ -1471,6 +1629,8 @@ var xTreeViewSetSearchColumn func(uintptr, int) | |||
| 1471 | 1629 | // Note that @column refers to a column of the current model. The search | |
| 1472 | 1630 | // column is reset to -1 when the model is changed. | |
| 1473 | 1631 | func (x *TreeView) SetSearchColumn(ColumnVar int) { | |
| 1632 | + | core.LazyRegister(&xTreeViewSetSearchColumn, "GTK", "gtk_tree_view_set_search_column", false) | |
| 1633 | + | ||
| 1474 | 1634 | xTreeViewSetSearchColumn(x.GoPointer(), ColumnVar) | |
| 1475 | 1635 | } | |
| 1476 | 1636 | ||
| @@ -1482,6 +1642,8 @@ var xTreeViewSetSearchEntry func(uintptr, uintptr) | |||
| 1482 | 1642 | // @entry will make the interactive search code use the built-in popup | |
| 1483 | 1643 | // entry again. | |
| 1484 | 1644 | func (x *TreeView) SetSearchEntry(EntryVar Editable) { | |
| 1645 | + | core.LazyRegister(&xTreeViewSetSearchEntry, "GTK", "gtk_tree_view_set_search_entry", false) | |
| 1646 | + | ||
| 1485 | 1647 | xTreeViewSetSearchEntry(x.GoPointer(), EntryVar.GoPointer()) | |
| 1486 | 1648 | } | |
| 1487 | 1649 | ||
| @@ -1491,6 +1653,8 @@ var xTreeViewSetSearchEqualFunc func(uintptr, uintptr, uintptr, uintptr) | |||
| 1491 | 1653 | // that somewhat like strcmp() returning 0 for equality | |
| 1492 | 1654 | // `GtkTreeView`SearchEqualFunc returns %FALSE on matches. | |
| 1493 | 1655 | func (x *TreeView) SetSearchEqualFunc(SearchEqualFuncVar *TreeViewSearchEqualFunc, SearchUserDataVar uintptr, SearchDestroyVar *glib.DestroyNotify) { | |
| 1656 | + | core.LazyRegister(&xTreeViewSetSearchEqualFunc, "GTK", "gtk_tree_view_set_search_equal_func", false) | |
| 1657 | + | ||
| 1494 | 1658 | xTreeViewSetSearchEqualFunc(x.GoPointer(), glib.NewCallback(SearchEqualFuncVar), SearchUserDataVar, glib.NewCallbackNullable(SearchDestroyVar)) | |
| 1495 | 1659 | } | |
| 1496 | 1660 | ||
| @@ -1504,6 +1668,8 @@ var xTreeViewSetShowExpanders func(uintptr, bool) | |||
| 1504 | 1668 | // gtk_tree_view_set_level_indentation(). | |
| 1505 | 1669 | // This does not have any visible effects for lists. | |
| 1506 | 1670 | func (x *TreeView) SetShowExpanders(EnabledVar bool) { | |
| 1671 | + | core.LazyRegister(&xTreeViewSetShowExpanders, "GTK", "gtk_tree_view_set_show_expanders", false) | |
| 1672 | + | ||
| 1507 | 1673 | xTreeViewSetShowExpanders(x.GoPointer(), EnabledVar) | |
| 1508 | 1674 | } | |
| 1509 | 1675 | ||
| @@ -1521,6 +1687,8 @@ var xTreeViewSetTooltipCell func(uintptr, uintptr, *TreePath, uintptr, uintptr) | |||
| 1521 | 1687 | // | |
| 1522 | 1688 | // See also gtk_tree_view_set_tooltip_column() for a simpler alternative. | |
| 1523 | 1689 | func (x *TreeView) SetTooltipCell(TooltipVar *Tooltip, PathVar *TreePath, ColumnVar *TreeViewColumn, CellVar *CellRenderer) { | |
| 1690 | + | core.LazyRegister(&xTreeViewSetTooltipCell, "GTK", "gtk_tree_view_set_tooltip_cell", false) | |
| 1691 | + | ||
| 1524 | 1692 | xTreeViewSetTooltipCell(x.GoPointer(), TooltipVar.GoPointer(), PathVar, ColumnVar.GoPointer(), CellVar.GoPointer()) | |
| 1525 | 1693 | } | |
| 1526 | 1694 | ||
| @@ -1537,6 +1705,8 @@ var xTreeViewSetTooltipColumn func(uintptr, int) | |||
| 1537 | 1705 | // Note that the signal handler sets the text with gtk_tooltip_set_markup(), | |
| 1538 | 1706 | // so &, <, etc have to be escaped in the text. | |
| 1539 | 1707 | func (x *TreeView) SetTooltipColumn(ColumnVar int) { | |
| 1708 | + | core.LazyRegister(&xTreeViewSetTooltipColumn, "GTK", "gtk_tree_view_set_tooltip_column", false) | |
| 1709 | + | ||
| 1540 | 1710 | xTreeViewSetTooltipColumn(x.GoPointer(), ColumnVar) | |
| 1541 | 1711 | } | |
| 1542 | 1712 | ||
| @@ -1546,6 +1716,8 @@ var xTreeViewSetTooltipRow func(uintptr, uintptr, *TreePath) | |||
| 1546 | 1716 | // See also gtk_tree_view_set_tooltip_column() for a simpler alternative. | |
| 1547 | 1717 | // See also gtk_tooltip_set_tip_area(). | |
| 1548 | 1718 | func (x *TreeView) SetTooltipRow(TooltipVar *Tooltip, PathVar *TreePath) { | |
| 1719 | + | core.LazyRegister(&xTreeViewSetTooltipRow, "GTK", "gtk_tree_view_set_tooltip_row", false) | |
| 1720 | + | ||
| 1549 | 1721 | xTreeViewSetTooltipRow(x.GoPointer(), TooltipVar.GoPointer(), PathVar) | |
| 1550 | 1722 | } | |
| 1551 | 1723 | ||
| @@ -1555,6 +1727,8 @@ var xTreeViewUnsetRowsDragDest func(uintptr) | |||
| 1555 | 1727 | // gtk_tree_view_enable_model_drag_dest(). Calling this method sets | |
| 1556 | 1728 | // `GtkTreeView`:reorderable to %FALSE. | |
| 1557 | 1729 | func (x *TreeView) UnsetRowsDragDest() { | |
| 1730 | + | core.LazyRegister(&xTreeViewUnsetRowsDragDest, "GTK", "gtk_tree_view_unset_rows_drag_dest", false) | |
| 1731 | + | ||
| 1558 | 1732 | xTreeViewUnsetRowsDragDest(x.GoPointer()) | |
| 1559 | 1733 | } | |
| 1560 | 1734 | ||
| @@ -1564,6 +1738,8 @@ var xTreeViewUnsetRowsDragSource func(uintptr) | |||
| 1564 | 1738 | // gtk_tree_view_enable_model_drag_source(). Calling this method sets | |
| 1565 | 1739 | // `GtkTreeView`:reorderable to %FALSE. | |
| 1566 | 1740 | func (x *TreeView) UnsetRowsDragSource() { | |
| 1741 | + | core.LazyRegister(&xTreeViewUnsetRowsDragSource, "GTK", "gtk_tree_view_unset_rows_drag_source", false) | |
| 1742 | + | ||
| 1567 | 1743 | xTreeViewUnsetRowsDragSource(x.GoPointer()) | |
| 1568 | 1744 | } | |
| 1569 | 1745 | ||
| @@ -2555,109 +2731,4 @@ func (x *TreeView) SetVscrollPolicy(PolicyVar ScrollablePolicy) { | |||
| 2555 | 2731 | func init() { | |
| 2556 | 2732 | core.SetPackageName("GTK", "gtk4") | |
| 2557 | 2733 | core.SetSharedLibraries("GTK", []string{"libgtk-4.so.1", "libgtk-4.1.dylib"}) | |
| 2558 | - | var libs []uintptr | |
| 2559 | - | for _, libPath := range core.GetPaths("GTK") { | |
| 2560 | - | lib, err := purego.Dlopen(libPath, purego.RTLD_NOW|purego.RTLD_GLOBAL) | |
| 2561 | - | if err != nil { | |
| 2562 | - | panic(err) | |
| 2563 | - | } | |
| 2564 | - | libs = append(libs, lib) | |
| 2565 | - | } | |
| 2566 | - | ||
| 2567 | - | core.PuregoSafeRegister(&xTreeViewDropPositionGLibType, libs, "gtk_tree_view_drop_position_get_type") | |
| 2568 | - | ||
| 2569 | - | core.PuregoSafeRegister(&xTreeViewGLibType, libs, "gtk_tree_view_get_type") | |
| 2570 | - | ||
| 2571 | - | core.PuregoSafeRegister(&xNewTreeView, libs, "gtk_tree_view_new") | |
| 2572 | - | core.PuregoSafeRegister(&xNewTreeViewWithModel, libs, "gtk_tree_view_new_with_model") | |
| 2573 | - | ||
| 2574 | - | core.PuregoSafeRegister(&xTreeViewAppendColumn, libs, "gtk_tree_view_append_column") | |
| 2575 | - | core.PuregoSafeRegister(&xTreeViewCollapseAll, libs, "gtk_tree_view_collapse_all") | |
| 2576 | - | core.PuregoSafeRegister(&xTreeViewCollapseRow, libs, "gtk_tree_view_collapse_row") | |
| 2577 | - | core.PuregoSafeRegister(&xTreeViewColumnsAutosize, libs, "gtk_tree_view_columns_autosize") | |
| 2578 | - | core.PuregoSafeRegister(&xTreeViewConvertBinWindowToTreeCoords, libs, "gtk_tree_view_convert_bin_window_to_tree_coords") | |
| 2579 | - | core.PuregoSafeRegister(&xTreeViewConvertBinWindowToWidgetCoords, libs, "gtk_tree_view_convert_bin_window_to_widget_coords") | |
| 2580 | - | core.PuregoSafeRegister(&xTreeViewConvertTreeToBinWindowCoords, libs, "gtk_tree_view_convert_tree_to_bin_window_coords") | |
| 2581 | - | core.PuregoSafeRegister(&xTreeViewConvertTreeToWidgetCoords, libs, "gtk_tree_view_convert_tree_to_widget_coords") | |
| 2582 | - | core.PuregoSafeRegister(&xTreeViewConvertWidgetToBinWindowCoords, libs, "gtk_tree_view_convert_widget_to_bin_window_coords") | |
| 2583 | - | core.PuregoSafeRegister(&xTreeViewConvertWidgetToTreeCoords, libs, "gtk_tree_view_convert_widget_to_tree_coords") | |
| 2584 | - | core.PuregoSafeRegister(&xTreeViewCreateRowDragIcon, libs, "gtk_tree_view_create_row_drag_icon") | |
| 2585 | - | core.PuregoSafeRegister(&xTreeViewEnableModelDragDest, libs, "gtk_tree_view_enable_model_drag_dest") | |
| 2586 | - | core.PuregoSafeRegister(&xTreeViewEnableModelDragSource, libs, "gtk_tree_view_enable_model_drag_source") | |
| 2587 | - | core.PuregoSafeRegister(&xTreeViewExpandAll, libs, "gtk_tree_view_expand_all") | |
| 2588 | - | core.PuregoSafeRegister(&xTreeViewExpandRow, libs, "gtk_tree_view_expand_row") | |
| 2589 | - | core.PuregoSafeRegister(&xTreeViewExpandToPath, libs, "gtk_tree_view_expand_to_path") | |
| 2590 | - | core.PuregoSafeRegister(&xTreeViewGetActivateOnSingleClick, libs, "gtk_tree_view_get_activate_on_single_click") | |
| 2591 | - | core.PuregoSafeRegister(&xTreeViewGetBackgroundArea, libs, "gtk_tree_view_get_background_area") | |
| 2592 | - | core.PuregoSafeRegister(&xTreeViewGetCellArea, libs, "gtk_tree_view_get_cell_area") | |
| 2593 | - | core.PuregoSafeRegister(&xTreeViewGetColumn, libs, "gtk_tree_view_get_column") | |
| 2594 | - | core.PuregoSafeRegister(&xTreeViewGetColumns, libs, "gtk_tree_view_get_columns") | |
| 2595 | - | core.PuregoSafeRegister(&xTreeViewGetCursor, libs, "gtk_tree_view_get_cursor") | |
| 2596 | - | core.PuregoSafeRegister(&xTreeViewGetDestRowAtPos, libs, "gtk_tree_view_get_dest_row_at_pos") | |
| 2597 | - | core.PuregoSafeRegister(&xTreeViewGetDragDestRow, libs, "gtk_tree_view_get_drag_dest_row") | |
| 2598 | - | core.PuregoSafeRegister(&xTreeViewGetEnableSearch, libs, "gtk_tree_view_get_enable_search") | |
| 2599 | - | core.PuregoSafeRegister(&xTreeViewGetEnableTreeLines, libs, "gtk_tree_view_get_enable_tree_lines") | |
| 2600 | - | core.PuregoSafeRegister(&xTreeViewGetExpanderColumn, libs, "gtk_tree_view_get_expander_column") | |
| 2601 | - | core.PuregoSafeRegister(&xTreeViewGetFixedHeightMode, libs, "gtk_tree_view_get_fixed_height_mode") | |
| 2602 | - | core.PuregoSafeRegister(&xTreeViewGetGridLines, libs, "gtk_tree_view_get_grid_lines") | |
| 2603 | - | core.PuregoSafeRegister(&xTreeViewGetHeadersClickable, libs, "gtk_tree_view_get_headers_clickable") | |
| 2604 | - | core.PuregoSafeRegister(&xTreeViewGetHeadersVisible, libs, "gtk_tree_view_get_headers_visible") | |
| 2605 | - | core.PuregoSafeRegister(&xTreeViewGetHoverExpand, libs, "gtk_tree_view_get_hover_expand") | |
| 2606 | - | core.PuregoSafeRegister(&xTreeViewGetHoverSelection, libs, "gtk_tree_view_get_hover_selection") | |
| 2607 | - | core.PuregoSafeRegister(&xTreeViewGetLevelIndentation, libs, "gtk_tree_view_get_level_indentation") | |
| 2608 | - | core.PuregoSafeRegister(&xTreeViewGetModel, libs, "gtk_tree_view_get_model") | |
| 2609 | - | core.PuregoSafeRegister(&xTreeViewGetNColumns, libs, "gtk_tree_view_get_n_columns") | |
| 2610 | - | core.PuregoSafeRegister(&xTreeViewGetPathAtPos, libs, "gtk_tree_view_get_path_at_pos") | |
| 2611 | - | core.PuregoSafeRegister(&xTreeViewGetReorderable, libs, "gtk_tree_view_get_reorderable") | |
| 2612 | - | core.PuregoSafeRegister(&xTreeViewGetRowSeparatorFunc, libs, "gtk_tree_view_get_row_separator_func") | |
| 2613 | - | core.PuregoSafeRegister(&xTreeViewGetRubberBanding, libs, "gtk_tree_view_get_rubber_banding") | |
| 2614 | - | core.PuregoSafeRegister(&xTreeViewGetSearchColumn, libs, "gtk_tree_view_get_search_column") | |
| 2615 | - | core.PuregoSafeRegister(&xTreeViewGetSearchEntry, libs, "gtk_tree_view_get_search_entry") | |
| 2616 | - | core.PuregoSafeRegister(&xTreeViewGetSearchEqualFunc, libs, "gtk_tree_view_get_search_equal_func") | |
| 2617 | - | core.PuregoSafeRegister(&xTreeViewGetSelection, libs, "gtk_tree_view_get_selection") | |
| 2618 | - | core.PuregoSafeRegister(&xTreeViewGetShowExpanders, libs, "gtk_tree_view_get_show_expanders") | |
| 2619 | - | core.PuregoSafeRegister(&xTreeViewGetTooltipColumn, libs, "gtk_tree_view_get_tooltip_column") | |
| 2620 | - | core.PuregoSafeRegister(&xTreeViewGetTooltipContext, libs, "gtk_tree_view_get_tooltip_context") | |
| 2621 | - | core.PuregoSafeRegister(&xTreeViewGetVisibleRange, libs, "gtk_tree_view_get_visible_range") | |
| 2622 | - | core.PuregoSafeRegister(&xTreeViewGetVisibleRect, libs, "gtk_tree_view_get_visible_rect") | |
| 2623 | - | core.PuregoSafeRegister(&xTreeViewInsertColumn, libs, "gtk_tree_view_insert_column") | |
| 2624 | - | core.PuregoSafeRegister(&xTreeViewInsertColumnWithAttributes, libs, "gtk_tree_view_insert_column_with_attributes") | |
| 2625 | - | core.PuregoSafeRegister(&xTreeViewInsertColumnWithDataFunc, libs, "gtk_tree_view_insert_column_with_data_func") | |
| 2626 | - | core.PuregoSafeRegister(&xTreeViewIsBlankAtPos, libs, "gtk_tree_view_is_blank_at_pos") | |
| 2627 | - | core.PuregoSafeRegister(&xTreeViewIsRubberBandingActive, libs, "gtk_tree_view_is_rubber_banding_active") | |
| 2628 | - | core.PuregoSafeRegister(&xTreeViewMapExpandedRows, libs, "gtk_tree_view_map_expanded_rows") | |
| 2629 | - | core.PuregoSafeRegister(&xTreeViewMoveColumnAfter, libs, "gtk_tree_view_move_column_after") | |
| 2630 | - | core.PuregoSafeRegister(&xTreeViewRemoveColumn, libs, "gtk_tree_view_remove_column") | |
| 2631 | - | core.PuregoSafeRegister(&xTreeViewRowActivated, libs, "gtk_tree_view_row_activated") | |
| 2632 | - | core.PuregoSafeRegister(&xTreeViewRowExpanded, libs, "gtk_tree_view_row_expanded") | |
| 2633 | - | core.PuregoSafeRegister(&xTreeViewScrollToCell, libs, "gtk_tree_view_scroll_to_cell") | |
| 2634 | - | core.PuregoSafeRegister(&xTreeViewScrollToPoint, libs, "gtk_tree_view_scroll_to_point") | |
| 2635 | - | core.PuregoSafeRegister(&xTreeViewSetActivateOnSingleClick, libs, "gtk_tree_view_set_activate_on_single_click") | |
| 2636 | - | core.PuregoSafeRegister(&xTreeViewSetColumnDragFunction, libs, "gtk_tree_view_set_column_drag_function") | |
| 2637 | - | core.PuregoSafeRegister(&xTreeViewSetCursor, libs, "gtk_tree_view_set_cursor") | |
| 2638 | - | core.PuregoSafeRegister(&xTreeViewSetCursorOnCell, libs, "gtk_tree_view_set_cursor_on_cell") | |
| 2639 | - | core.PuregoSafeRegister(&xTreeViewSetDragDestRow, libs, "gtk_tree_view_set_drag_dest_row") | |
| 2640 | - | core.PuregoSafeRegister(&xTreeViewSetEnableSearch, libs, "gtk_tree_view_set_enable_search") | |
| 2641 | - | core.PuregoSafeRegister(&xTreeViewSetEnableTreeLines, libs, "gtk_tree_view_set_enable_tree_lines") | |
| 2642 | - | core.PuregoSafeRegister(&xTreeViewSetExpanderColumn, libs, "gtk_tree_view_set_expander_column") | |
| 2643 | - | core.PuregoSafeRegister(&xTreeViewSetFixedHeightMode, libs, "gtk_tree_view_set_fixed_height_mode") | |
| 2644 | - | core.PuregoSafeRegister(&xTreeViewSetGridLines, libs, "gtk_tree_view_set_grid_lines") | |
| 2645 | - | core.PuregoSafeRegister(&xTreeViewSetHeadersClickable, libs, "gtk_tree_view_set_headers_clickable") | |
| 2646 | - | core.PuregoSafeRegister(&xTreeViewSetHeadersVisible, libs, "gtk_tree_view_set_headers_visible") | |
| 2647 | - | core.PuregoSafeRegister(&xTreeViewSetHoverExpand, libs, "gtk_tree_view_set_hover_expand") | |
| 2648 | - | core.PuregoSafeRegister(&xTreeViewSetHoverSelection, libs, "gtk_tree_view_set_hover_selection") | |
| 2649 | - | core.PuregoSafeRegister(&xTreeViewSetLevelIndentation, libs, "gtk_tree_view_set_level_indentation") | |
| 2650 | - | core.PuregoSafeRegister(&xTreeViewSetModel, libs, "gtk_tree_view_set_model") | |
| 2651 | - | core.PuregoSafeRegister(&xTreeViewSetReorderable, libs, "gtk_tree_view_set_reorderable") | |
| 2652 | - | core.PuregoSafeRegister(&xTreeViewSetRowSeparatorFunc, libs, "gtk_tree_view_set_row_separator_func") | |
| 2653 | - | core.PuregoSafeRegister(&xTreeViewSetRubberBanding, libs, "gtk_tree_view_set_rubber_banding") | |
| 2654 | - | core.PuregoSafeRegister(&xTreeViewSetSearchColumn, libs, "gtk_tree_view_set_search_column") | |
| 2655 | - | core.PuregoSafeRegister(&xTreeViewSetSearchEntry, libs, "gtk_tree_view_set_search_entry") | |
| 2656 | - | core.PuregoSafeRegister(&xTreeViewSetSearchEqualFunc, libs, "gtk_tree_view_set_search_equal_func") | |
| 2657 | - | core.PuregoSafeRegister(&xTreeViewSetShowExpanders, libs, "gtk_tree_view_set_show_expanders") | |
| 2658 | - | core.PuregoSafeRegister(&xTreeViewSetTooltipCell, libs, "gtk_tree_view_set_tooltip_cell") | |
| 2659 | - | core.PuregoSafeRegister(&xTreeViewSetTooltipColumn, libs, "gtk_tree_view_set_tooltip_column") | |
| 2660 | - | core.PuregoSafeRegister(&xTreeViewSetTooltipRow, libs, "gtk_tree_view_set_tooltip_row") | |
| 2661 | - | core.PuregoSafeRegister(&xTreeViewUnsetRowsDragDest, libs, "gtk_tree_view_unset_rows_drag_dest") | |
| 2662 | - | core.PuregoSafeRegister(&xTreeViewUnsetRowsDragSource, libs, "gtk_tree_view_unset_rows_drag_source") | |
| 2663 | 2734 | } | |
| @@ -439,6 +439,7 @@ type TreeViewDropPosition int | |||||
| 439 | var xTreeViewDropPositionGLibType func() types.GType | 439 | var xTreeViewDropPositionGLibType func() types.GType | ||
| 440 | 440 | ||||
| 441 | func TreeViewDropPositionGLibType() types.GType { | 441 | func TreeViewDropPositionGLibType() types.GType { | ||
| 442 | + | core.LazyRegister(&xTreeViewDropPositionGLibType, "GTK", "gtk_tree_view_drop_position_get_type", false) | |||
| 442 | return xTreeViewDropPositionGLibType() | 443 | return xTreeViewDropPositionGLibType() | ||
| 443 | } | 444 | } | ||
| 444 | 445 | ||||
| @@ -556,6 +557,7 @@ type TreeView struct { | |||||
| 556 | var xTreeViewGLibType func() types.GType | 557 | var xTreeViewGLibType func() types.GType | ||
| 557 | 558 | ||||
| 558 | func TreeViewGLibType() types.GType { | 559 | func TreeViewGLibType() types.GType { | ||
| 560 | + | core.LazyRegister(&xTreeViewGLibType, "GTK", "gtk_tree_view_get_type", false) | |||
| 559 | return xTreeViewGLibType() | 561 | return xTreeViewGLibType() | ||
| 560 | } | 562 | } | ||
| 561 | 563 | ||||
| @@ -569,6 +571,7 @@ var xNewTreeView func() uintptr | |||||
| 569 | 571 | ||||
| 570 | // Creates a new `GtkTreeView` widget. | 572 | // Creates a new `GtkTreeView` widget. | ||
| 571 | func NewTreeView() *TreeView { | 573 | func NewTreeView() *TreeView { | ||
| 574 | + | core.LazyRegister(&xNewTreeView, "GTK", "gtk_tree_view_new", false) | |||
| 572 | var cls *TreeView | 575 | var cls *TreeView | ||
| 573 | 576 | ||||
| 574 | cret := xNewTreeView() | 577 | cret := xNewTreeView() | ||
| @@ -586,6 +589,7 @@ var xNewTreeViewWithModel func(uintptr) uintptr | |||||
| 586 | 589 | ||||
| 587 | // Creates a new `GtkTreeView` widget with the model initialized to @model. | 590 | // Creates a new `GtkTreeView` widget with the model initialized to @model. | ||
| 588 | func NewTreeViewWithModel(ModelVar TreeModel) *TreeView { | 591 | func NewTreeViewWithModel(ModelVar TreeModel) *TreeView { | ||
| 592 | + | core.LazyRegister(&xNewTreeViewWithModel, "GTK", "gtk_tree_view_new_with_model", false) | |||
| 589 | var cls *TreeView | 593 | var cls *TreeView | ||
| 590 | 594 | ||||
| 591 | cret := xNewTreeViewWithModel(ModelVar.GoPointer()) | 595 | cret := xNewTreeViewWithModel(ModelVar.GoPointer()) | ||
| @@ -605,6 +609,8 @@ var xTreeViewAppendColumn func(uintptr, uintptr) int | |||||
| 605 | // mode enabled, then @column must have its “sizing” property set to be | 609 | // mode enabled, then @column must have its “sizing” property set to be | ||
| 606 | // GTK_TREE_VIEW_COLUMN_FIXED. | 610 | // GTK_TREE_VIEW_COLUMN_FIXED. | ||
| 607 | func (x *TreeView) AppendColumn(ColumnVar *TreeViewColumn) int { | 611 | func (x *TreeView) AppendColumn(ColumnVar *TreeViewColumn) int { | ||
| 612 | + | core.LazyRegister(&xTreeViewAppendColumn, "GTK", "gtk_tree_view_append_column", false) | |||
| 613 | + | ||||
| 608 | cret := xTreeViewAppendColumn(x.GoPointer(), ColumnVar.GoPointer()) | 614 | cret := xTreeViewAppendColumn(x.GoPointer(), ColumnVar.GoPointer()) | ||
| 609 | return cret | 615 | return cret | ||
| 610 | } | 616 | } | ||
| @@ -613,6 +619,8 @@ var xTreeViewCollapseAll func(uintptr) | |||||
| 613 | 619 | ||||
| 614 | // Recursively collapses all visible, expanded nodes in @tree_view. | 620 | // Recursively collapses all visible, expanded nodes in @tree_view. | ||
| 615 | func (x *TreeView) CollapseAll() { | 621 | func (x *TreeView) CollapseAll() { | ||
| 622 | + | core.LazyRegister(&xTreeViewCollapseAll, "GTK", "gtk_tree_view_collapse_all", false) | |||
| 623 | + | ||||
| 616 | xTreeViewCollapseAll(x.GoPointer()) | 624 | xTreeViewCollapseAll(x.GoPointer()) | ||
| 617 | } | 625 | } | ||
| 618 | 626 | ||||
| @@ -620,6 +628,8 @@ var xTreeViewCollapseRow func(uintptr, *TreePath) bool | |||||
| 620 | 628 | ||||
| 621 | // Collapses a row (hides its child rows, if they exist). | 629 | // Collapses a row (hides its child rows, if they exist). | ||
| 622 | func (x *TreeView) CollapseRow(PathVar *TreePath) bool { | 630 | func (x *TreeView) CollapseRow(PathVar *TreePath) bool { | ||
| 631 | + | core.LazyRegister(&xTreeViewCollapseRow, "GTK", "gtk_tree_view_collapse_row", false) | |||
| 632 | + | ||||
| 623 | cret := xTreeViewCollapseRow(x.GoPointer(), PathVar) | 633 | cret := xTreeViewCollapseRow(x.GoPointer(), PathVar) | ||
| 624 | return cret | 634 | return cret | ||
| 625 | } | 635 | } | ||
| @@ -629,6 +639,8 @@ var xTreeViewColumnsAutosize func(uintptr) | |||||
| 629 | // Resizes all columns to their optimal width. Only works after the | 639 | // Resizes all columns to their optimal width. Only works after the | ||
| 630 | // treeview has been realized. | 640 | // treeview has been realized. | ||
| 631 | func (x *TreeView) ColumnsAutosize() { | 641 | func (x *TreeView) ColumnsAutosize() { | ||
| 642 | + | core.LazyRegister(&xTreeViewColumnsAutosize, "GTK", "gtk_tree_view_columns_autosize", false) | |||
| 643 | + | ||||
| 632 | xTreeViewColumnsAutosize(x.GoPointer()) | 644 | xTreeViewColumnsAutosize(x.GoPointer()) | ||
| 633 | } | 645 | } | ||
| 634 | 646 | ||||
| @@ -637,6 +649,8 @@ var xTreeViewConvertBinWindowToTreeCoords func(uintptr, int, int, *int, *int) | |||||
| 637 | // Converts bin_window coordinates to coordinates for the | 649 | // Converts bin_window coordinates to coordinates for the | ||
| 638 | // tree (the full scrollable area of the tree). | 650 | // tree (the full scrollable area of the tree). | ||
| 639 | func (x *TreeView) ConvertBinWindowToTreeCoords(BxVar int, ByVar int, TxVar *int, TyVar *int) { | 651 | func (x *TreeView) ConvertBinWindowToTreeCoords(BxVar int, ByVar int, TxVar *int, TyVar *int) { | ||
| 652 | + | core.LazyRegister(&xTreeViewConvertBinWindowToTreeCoords, "GTK", "gtk_tree_view_convert_bin_window_to_tree_coords", false) | |||
| 653 | + | ||||
| 640 | xTreeViewConvertBinWindowToTreeCoords(x.GoPointer(), BxVar, ByVar, TxVar, TyVar) | 654 | xTreeViewConvertBinWindowToTreeCoords(x.GoPointer(), BxVar, ByVar, TxVar, TyVar) | ||
| 641 | } | 655 | } | ||
| 642 | 656 | ||||
| @@ -644,6 +658,8 @@ var xTreeViewConvertBinWindowToWidgetCoords func(uintptr, int, int, *int, *int) | |||||
| 644 | 658 | ||||
| 645 | // Converts bin_window coordinates to widget relative coordinates. | 659 | // Converts bin_window coordinates to widget relative coordinates. | ||
| 646 | func (x *TreeView) ConvertBinWindowToWidgetCoords(BxVar int, ByVar int, WxVar *int, WyVar *int) { | 660 | func (x *TreeView) ConvertBinWindowToWidgetCoords(BxVar int, ByVar int, WxVar *int, WyVar *int) { | ||
| 661 | + | core.LazyRegister(&xTreeViewConvertBinWindowToWidgetCoords, "GTK", "gtk_tree_view_convert_bin_window_to_widget_coords", false) | |||
| 662 | + | ||||
| 647 | xTreeViewConvertBinWindowToWidgetCoords(x.GoPointer(), BxVar, ByVar, WxVar, WyVar) | 663 | xTreeViewConvertBinWindowToWidgetCoords(x.GoPointer(), BxVar, ByVar, WxVar, WyVar) | ||
| 648 | } | 664 | } | ||
| 649 | 665 | ||||
| @@ -652,6 +668,8 @@ var xTreeViewConvertTreeToBinWindowCoords func(uintptr, int, int, *int, *int) | |||||
| 652 | // Converts tree coordinates (coordinates in full scrollable area of the tree) | 668 | // Converts tree coordinates (coordinates in full scrollable area of the tree) | ||
| 653 | // to bin_window coordinates. | 669 | // to bin_window coordinates. | ||
| 654 | func (x *TreeView) ConvertTreeToBinWindowCoords(TxVar int, TyVar int, BxVar *int, ByVar *int) { | 670 | func (x *TreeView) ConvertTreeToBinWindowCoords(TxVar int, TyVar int, BxVar *int, ByVar *int) { | ||
| 671 | + | core.LazyRegister(&xTreeViewConvertTreeToBinWindowCoords, "GTK", "gtk_tree_view_convert_tree_to_bin_window_coords", false) | |||
| 672 | + | ||||
| 655 | xTreeViewConvertTreeToBinWindowCoords(x.GoPointer(), TxVar, TyVar, BxVar, ByVar) | 673 | xTreeViewConvertTreeToBinWindowCoords(x.GoPointer(), TxVar, TyVar, BxVar, ByVar) | ||
| 656 | } | 674 | } | ||
| 657 | 675 | ||||
| @@ -660,6 +678,8 @@ var xTreeViewConvertTreeToWidgetCoords func(uintptr, int, int, *int, *int) | |||||
| 660 | // Converts tree coordinates (coordinates in full scrollable area of the tree) | 678 | // Converts tree coordinates (coordinates in full scrollable area of the tree) | ||
| 661 | // to widget coordinates. | 679 | // to widget coordinates. | ||
| 662 | func (x *TreeView) ConvertTreeToWidgetCoords(TxVar int, TyVar int, WxVar *int, WyVar *int) { | 680 | func (x *TreeView) ConvertTreeToWidgetCoords(TxVar int, TyVar int, WxVar *int, WyVar *int) { | ||
| 681 | + | core.LazyRegister(&xTreeViewConvertTreeToWidgetCoords, "GTK", "gtk_tree_view_convert_tree_to_widget_coords", false) | |||
| 682 | + | ||||
| 663 | xTreeViewConvertTreeToWidgetCoords(x.GoPointer(), TxVar, TyVar, WxVar, WyVar) | 683 | xTreeViewConvertTreeToWidgetCoords(x.GoPointer(), TxVar, TyVar, WxVar, WyVar) | ||
| 664 | } | 684 | } | ||
| 665 | 685 | ||||
| @@ -667,6 +687,8 @@ var xTreeViewConvertWidgetToBinWindowCoords func(uintptr, int, int, *int, *int) | |||||
| 667 | 687 | ||||
| 668 | // Converts widget coordinates to coordinates for the bin_window. | 688 | // Converts widget coordinates to coordinates for the bin_window. | ||
| 669 | func (x *TreeView) ConvertWidgetToBinWindowCoords(WxVar int, WyVar int, BxVar *int, ByVar *int) { | 689 | func (x *TreeView) ConvertWidgetToBinWindowCoords(WxVar int, WyVar int, BxVar *int, ByVar *int) { | ||
| 690 | + | core.LazyRegister(&xTreeViewConvertWidgetToBinWindowCoords, "GTK", "gtk_tree_view_convert_widget_to_bin_window_coords", false) | |||
| 691 | + | ||||
| 670 | xTreeViewConvertWidgetToBinWindowCoords(x.GoPointer(), WxVar, WyVar, BxVar, ByVar) | 692 | xTreeViewConvertWidgetToBinWindowCoords(x.GoPointer(), WxVar, WyVar, BxVar, ByVar) | ||
| 671 | } | 693 | } | ||
| 672 | 694 | ||||
| @@ -675,6 +697,8 @@ var xTreeViewConvertWidgetToTreeCoords func(uintptr, int, int, *int, *int) | |||||
| 675 | // Converts widget coordinates to coordinates for the | 697 | // Converts widget coordinates to coordinates for the | ||
| 676 | // tree (the full scrollable area of the tree). | 698 | // tree (the full scrollable area of the tree). | ||
| 677 | func (x *TreeView) ConvertWidgetToTreeCoords(WxVar int, WyVar int, TxVar *int, TyVar *int) { | 699 | func (x *TreeView) ConvertWidgetToTreeCoords(WxVar int, WyVar int, TxVar *int, TyVar *int) { | ||
| 700 | + | core.LazyRegister(&xTreeViewConvertWidgetToTreeCoords, "GTK", "gtk_tree_view_convert_widget_to_tree_coords", false) | |||
| 701 | + | ||||
| 678 | xTreeViewConvertWidgetToTreeCoords(x.GoPointer(), WxVar, WyVar, TxVar, TyVar) | 702 | xTreeViewConvertWidgetToTreeCoords(x.GoPointer(), WxVar, WyVar, TxVar, TyVar) | ||
| 679 | } | 703 | } | ||
| 680 | 704 | ||||
| @@ -683,6 +707,7 @@ var xTreeViewCreateRowDragIcon func(uintptr, *TreePath) uintptr | |||||
| 683 | // Creates a `cairo_surface_t` representation of the row at @path. | 707 | // Creates a `cairo_surface_t` representation of the row at @path. | ||
| 684 | // This image is used for a drag icon. | 708 | // This image is used for a drag icon. | ||
| 685 | func (x *TreeView) CreateRowDragIcon(PathVar *TreePath) *gdk.PaintableBase { | 709 | func (x *TreeView) CreateRowDragIcon(PathVar *TreePath) *gdk.PaintableBase { | ||
| 710 | + | core.LazyRegister(&xTreeViewCreateRowDragIcon, "GTK", "gtk_tree_view_create_row_drag_icon", false) | |||
| 686 | var cls *gdk.PaintableBase | 711 | var cls *gdk.PaintableBase | ||
| 687 | 712 | ||||
| 688 | cret := xTreeViewCreateRowDragIcon(x.GoPointer(), PathVar) | 713 | cret := xTreeViewCreateRowDragIcon(x.GoPointer(), PathVar) | ||
| @@ -700,6 +725,8 @@ var xTreeViewEnableModelDragDest func(uintptr, *gdk.ContentFormats, gdk.DragActi | |||||
| 700 | // Turns @tree_view into a drop destination for automatic DND. Calling | 725 | // Turns @tree_view into a drop destination for automatic DND. Calling | ||
| 701 | // this method sets `GtkTreeView`:reorderable to %FALSE. | 726 | // this method sets `GtkTreeView`:reorderable to %FALSE. | ||
| 702 | func (x *TreeView) EnableModelDragDest(FormatsVar *gdk.ContentFormats, ActionsVar gdk.DragAction) { | 727 | func (x *TreeView) EnableModelDragDest(FormatsVar *gdk.ContentFormats, ActionsVar gdk.DragAction) { | ||
| 728 | + | core.LazyRegister(&xTreeViewEnableModelDragDest, "GTK", "gtk_tree_view_enable_model_drag_dest", false) | |||
| 729 | + | ||||
| 703 | xTreeViewEnableModelDragDest(x.GoPointer(), FormatsVar, ActionsVar) | 730 | xTreeViewEnableModelDragDest(x.GoPointer(), FormatsVar, ActionsVar) | ||
| 704 | } | 731 | } | ||
| 705 | 732 | ||||
| @@ -708,6 +735,8 @@ var xTreeViewEnableModelDragSource func(uintptr, gdk.ModifierType, *gdk.ContentF | |||||
| 708 | // Turns @tree_view into a drag source for automatic DND. Calling this | 735 | // Turns @tree_view into a drag source for automatic DND. Calling this | ||
| 709 | // method sets `GtkTreeView`:reorderable to %FALSE. | 736 | // method sets `GtkTreeView`:reorderable to %FALSE. | ||
| 710 | func (x *TreeView) EnableModelDragSource(StartButtonMaskVar gdk.ModifierType, FormatsVar *gdk.ContentFormats, ActionsVar gdk.DragAction) { | 737 | func (x *TreeView) EnableModelDragSource(StartButtonMaskVar gdk.ModifierType, FormatsVar *gdk.ContentFormats, ActionsVar gdk.DragAction) { | ||
| 738 | + | core.LazyRegister(&xTreeViewEnableModelDragSource, "GTK", "gtk_tree_view_enable_model_drag_source", false) | |||
| 739 | + | ||||
| 711 | xTreeViewEnableModelDragSource(x.GoPointer(), StartButtonMaskVar, FormatsVar, ActionsVar) | 740 | xTreeViewEnableModelDragSource(x.GoPointer(), StartButtonMaskVar, FormatsVar, ActionsVar) | ||
| 712 | } | 741 | } | ||
| 713 | 742 | ||||
| @@ -715,6 +744,8 @@ var xTreeViewExpandAll func(uintptr) | |||||
| 715 | 744 | ||||
| 716 | // Recursively expands all nodes in the @tree_view. | 745 | // Recursively expands all nodes in the @tree_view. | ||
| 717 | func (x *TreeView) ExpandAll() { | 746 | func (x *TreeView) ExpandAll() { | ||
| 747 | + | core.LazyRegister(&xTreeViewExpandAll, "GTK", "gtk_tree_view_expand_all", false) | |||
| 748 | + | ||||
| 718 | xTreeViewExpandAll(x.GoPointer()) | 749 | xTreeViewExpandAll(x.GoPointer()) | ||
| 719 | } | 750 | } | ||
| 720 | 751 | ||||
| @@ -722,6 +753,8 @@ var xTreeViewExpandRow func(uintptr, *TreePath, bool) bool | |||||
| 722 | 753 | ||||
| 723 | // Opens the row so its children are visible. | 754 | // Opens the row so its children are visible. | ||
| 724 | func (x *TreeView) ExpandRow(PathVar *TreePath, OpenAllVar bool) bool { | 755 | func (x *TreeView) ExpandRow(PathVar *TreePath, OpenAllVar bool) bool { | ||
| 756 | + | core.LazyRegister(&xTreeViewExpandRow, "GTK", "gtk_tree_view_expand_row", false) | |||
| 757 | + | ||||
| 725 | cret := xTreeViewExpandRow(x.GoPointer(), PathVar, OpenAllVar) | 758 | cret := xTreeViewExpandRow(x.GoPointer(), PathVar, OpenAllVar) | ||
| 726 | return cret | 759 | return cret | ||
| 727 | } | 760 | } | ||
| @@ -731,6 +764,8 @@ var xTreeViewExpandToPath func(uintptr, *TreePath) | |||||
| 731 | // Expands the row at @path. This will also expand all parent rows of | 764 | // Expands the row at @path. This will also expand all parent rows of | ||
| 732 | // @path as necessary. | 765 | // @path as necessary. | ||
| 733 | func (x *TreeView) ExpandToPath(PathVar *TreePath) { | 766 | func (x *TreeView) ExpandToPath(PathVar *TreePath) { | ||
| 767 | + | core.LazyRegister(&xTreeViewExpandToPath, "GTK", "gtk_tree_view_expand_to_path", false) | |||
| 768 | + | ||||
| 734 | xTreeViewExpandToPath(x.GoPointer(), PathVar) | 769 | xTreeViewExpandToPath(x.GoPointer(), PathVar) | ||
| 735 | } | 770 | } | ||
| 736 | 771 | ||||
| @@ -738,6 +773,8 @@ var xTreeViewGetActivateOnSingleClick func(uintptr) bool | |||||
| 738 | 773 | ||||
| 739 | // Gets the setting set by gtk_tree_view_set_activate_on_single_click(). | 774 | // Gets the setting set by gtk_tree_view_set_activate_on_single_click(). | ||
| 740 | func (x *TreeView) GetActivateOnSingleClick() bool { | 775 | func (x *TreeView) GetActivateOnSingleClick() bool { | ||
| 776 | + | core.LazyRegister(&xTreeViewGetActivateOnSingleClick, "GTK", "gtk_tree_view_get_activate_on_single_click", false) | |||
| 777 | + | ||||
| 741 | cret := xTreeViewGetActivateOnSingleClick(x.GoPointer()) | 778 | cret := xTreeViewGetActivateOnSingleClick(x.GoPointer()) | ||
| 742 | return cret | 779 | return cret | ||
| 743 | } | 780 | } | ||
| @@ -754,6 +791,8 @@ var xTreeViewGetBackgroundArea func(uintptr, *TreePath, uintptr, *gdk.Rectangle) | |||||
| 754 | // returned by gtk_tree_view_get_cell_area(), which returns only the cell | 791 | // returned by gtk_tree_view_get_cell_area(), which returns only the cell | ||
| 755 | // itself, excluding surrounding borders and the tree expander area. | 792 | // itself, excluding surrounding borders and the tree expander area. | ||
| 756 | func (x *TreeView) GetBackgroundArea(PathVar *TreePath, ColumnVar *TreeViewColumn, RectVar *gdk.Rectangle) { | 793 | func (x *TreeView) GetBackgroundArea(PathVar *TreePath, ColumnVar *TreeViewColumn, RectVar *gdk.Rectangle) { | ||
| 794 | + | core.LazyRegister(&xTreeViewGetBackgroundArea, "GTK", "gtk_tree_view_get_background_area", false) | |||
| 795 | + | ||||
| 757 | xTreeViewGetBackgroundArea(x.GoPointer(), PathVar, ColumnVar.GoPointer(), RectVar) | 796 | xTreeViewGetBackgroundArea(x.GoPointer(), PathVar, ColumnVar.GoPointer(), RectVar) | ||
| 758 | } | 797 | } | ||
| 759 | 798 | ||||
| @@ -769,6 +808,8 @@ var xTreeViewGetCellArea func(uintptr, *TreePath, uintptr, *gdk.Rectangle) | |||||
| 769 | // gtk_cell_renderer_render(). This function is only valid if @tree_view is | 808 | // gtk_cell_renderer_render(). This function is only valid if @tree_view is | ||
| 770 | // realized. | 809 | // realized. | ||
| 771 | func (x *TreeView) GetCellArea(PathVar *TreePath, ColumnVar *TreeViewColumn, RectVar *gdk.Rectangle) { | 810 | func (x *TreeView) GetCellArea(PathVar *TreePath, ColumnVar *TreeViewColumn, RectVar *gdk.Rectangle) { | ||
| 811 | + | core.LazyRegister(&xTreeViewGetCellArea, "GTK", "gtk_tree_view_get_cell_area", false) | |||
| 812 | + | ||||
| 772 | xTreeViewGetCellArea(x.GoPointer(), PathVar, ColumnVar.GoPointer(), RectVar) | 813 | xTreeViewGetCellArea(x.GoPointer(), PathVar, ColumnVar.GoPointer(), RectVar) | ||
| 773 | } | 814 | } | ||
| 774 | 815 | ||||
| @@ -776,6 +817,7 @@ var xTreeViewGetColumn func(uintptr, int) uintptr | |||||
| 776 | 817 | ||||
| 777 | // Gets the `GtkTreeViewColumn` at the given position in the #tree_view. | 818 | // Gets the `GtkTreeViewColumn` at the given position in the #tree_view. | ||
| 778 | func (x *TreeView) GetColumn(NVar int) *TreeViewColumn { | 819 | func (x *TreeView) GetColumn(NVar int) *TreeViewColumn { | ||
| 820 | + | core.LazyRegister(&xTreeViewGetColumn, "GTK", "gtk_tree_view_get_column", false) | |||
| 779 | var cls *TreeViewColumn | 821 | var cls *TreeViewColumn | ||
| 780 | 822 | ||||
| 781 | cret := xTreeViewGetColumn(x.GoPointer(), NVar) | 823 | cret := xTreeViewGetColumn(x.GoPointer(), NVar) | ||
| @@ -794,6 +836,8 @@ var xTreeViewGetColumns func(uintptr) uintptr | |||||
| 794 | // Returns a `GList` of all the `GtkTreeViewColumn`s currently in @tree_view. | 836 | // Returns a `GList` of all the `GtkTreeViewColumn`s currently in @tree_view. | ||
| 795 | // The returned list must be freed with g_list_free (). | 837 | // The returned list must be freed with g_list_free (). | ||
| 796 | func (x *TreeView) GetColumns() *glib.List { | 838 | func (x *TreeView) GetColumns() *glib.List { | ||
| 839 | + | core.LazyRegister(&xTreeViewGetColumns, "GTK", "gtk_tree_view_get_columns", false) | |||
| 840 | + | ||||
| 797 | cret := xTreeViewGetColumns(x.GoPointer()) | 841 | cret := xTreeViewGetColumns(x.GoPointer()) | ||
| 798 | if cret == 0 { | 842 | if cret == 0 { | ||
| 799 | return nil | 843 | return nil | ||
| @@ -810,6 +854,8 @@ var xTreeViewGetCursor func(uintptr, **TreePath, **TreeViewColumn) | |||||
| 810 | // The returned `GtkTreePath` must be freed with gtk_tree_path_free() when | 854 | // The returned `GtkTreePath` must be freed with gtk_tree_path_free() when | ||
| 811 | // you are done with it. | 855 | // you are done with it. | ||
| 812 | func (x *TreeView) GetCursor(PathVar **TreePath, FocusColumnVar **TreeViewColumn) { | 856 | func (x *TreeView) GetCursor(PathVar **TreePath, FocusColumnVar **TreeViewColumn) { | ||
| 857 | + | core.LazyRegister(&xTreeViewGetCursor, "GTK", "gtk_tree_view_get_cursor", false) | |||
| 858 | + | ||||
| 813 | xTreeViewGetCursor(x.GoPointer(), PathVar, FocusColumnVar) | 859 | xTreeViewGetCursor(x.GoPointer(), PathVar, FocusColumnVar) | ||
| 814 | } | 860 | } | ||
| 815 | 861 | ||||
| @@ -820,6 +866,8 @@ var xTreeViewGetDestRowAtPos func(uintptr, int, int, **TreePath, *TreeViewDropPo | |||||
| 820 | // meaningful if @tree_view is realized. Therefore this function will always | 866 | // meaningful if @tree_view is realized. Therefore this function will always | ||
| 821 | // return %FALSE if @tree_view is not realized or does not have a model. | 867 | // return %FALSE if @tree_view is not realized or does not have a model. | ||
| 822 | func (x *TreeView) GetDestRowAtPos(DragXVar int, DragYVar int, PathVar **TreePath, PosVar *TreeViewDropPosition) bool { | 868 | func (x *TreeView) GetDestRowAtPos(DragXVar int, DragYVar int, PathVar **TreePath, PosVar *TreeViewDropPosition) bool { | ||
| 869 | + | core.LazyRegister(&xTreeViewGetDestRowAtPos, "GTK", "gtk_tree_view_get_dest_row_at_pos", false) | |||
| 870 | + | ||||
| 823 | cret := xTreeViewGetDestRowAtPos(x.GoPointer(), DragXVar, DragYVar, PathVar, PosVar) | 871 | cret := xTreeViewGetDestRowAtPos(x.GoPointer(), DragXVar, DragYVar, PathVar, PosVar) | ||
| 824 | return cret | 872 | return cret | ||
| 825 | } | 873 | } | ||
| @@ -828,6 +876,8 @@ var xTreeViewGetDragDestRow func(uintptr, **TreePath, *TreeViewDropPosition) | |||||
| 828 | 876 | ||||
| 829 | // Gets information about the row that is highlighted for feedback. | 877 | // Gets information about the row that is highlighted for feedback. | ||
| 830 | func (x *TreeView) GetDragDestRow(PathVar **TreePath, PosVar *TreeViewDropPosition) { | 878 | func (x *TreeView) GetDragDestRow(PathVar **TreePath, PosVar *TreeViewDropPosition) { | ||
| 879 | + | core.LazyRegister(&xTreeViewGetDragDestRow, "GTK", "gtk_tree_view_get_drag_dest_row", false) | |||
| 880 | + | ||||
| 831 | xTreeViewGetDragDestRow(x.GoPointer(), PathVar, PosVar) | 881 | xTreeViewGetDragDestRow(x.GoPointer(), PathVar, PosVar) | ||
| 832 | } | 882 | } | ||
| 833 | 883 | ||||
| @@ -836,6 +886,8 @@ var xTreeViewGetEnableSearch func(uintptr) bool | |||||
| 836 | // Returns whether or not the tree allows to start interactive searching | 886 | // Returns whether or not the tree allows to start interactive searching | ||
| 837 | // by typing in text. | 887 | // by typing in text. | ||
| 838 | func (x *TreeView) GetEnableSearch() bool { | 888 | func (x *TreeView) GetEnableSearch() bool { | ||
| 889 | + | core.LazyRegister(&xTreeViewGetEnableSearch, "GTK", "gtk_tree_view_get_enable_search", false) | |||
| 890 | + | ||||
| 839 | cret := xTreeViewGetEnableSearch(x.GoPointer()) | 891 | cret := xTreeViewGetEnableSearch(x.GoPointer()) | ||
| 840 | return cret | 892 | return cret | ||
| 841 | } | 893 | } | ||
| @@ -844,6 +896,8 @@ var xTreeViewGetEnableTreeLines func(uintptr) bool | |||||
| 844 | 896 | ||||
| 845 | // Returns whether or not tree lines are drawn in @tree_view. | 897 | // Returns whether or not tree lines are drawn in @tree_view. | ||
| 846 | func (x *TreeView) GetEnableTreeLines() bool { | 898 | func (x *TreeView) GetEnableTreeLines() bool { | ||
| 899 | + | core.LazyRegister(&xTreeViewGetEnableTreeLines, "GTK", "gtk_tree_view_get_enable_tree_lines", false) | |||
| 900 | + | ||||
| 847 | cret := xTreeViewGetEnableTreeLines(x.GoPointer()) | 901 | cret := xTreeViewGetEnableTreeLines(x.GoPointer()) | ||
| 848 | return cret | 902 | return cret | ||
| 849 | } | 903 | } | ||
| @@ -854,6 +908,7 @@ var xTreeViewGetExpanderColumn func(uintptr) uintptr | |||||
| 854 | // or %NULL if none has been set. | 908 | // or %NULL if none has been set. | ||
| 855 | // This column has the expander arrow drawn next to it. | 909 | // This column has the expander arrow drawn next to it. | ||
| 856 | func (x *TreeView) GetExpanderColumn() *TreeViewColumn { | 910 | func (x *TreeView) GetExpanderColumn() *TreeViewColumn { | ||
| 911 | + | core.LazyRegister(&xTreeViewGetExpanderColumn, "GTK", "gtk_tree_view_get_expander_column", false) | |||
| 857 | var cls *TreeViewColumn | 912 | var cls *TreeViewColumn | ||
| 858 | 913 | ||||
| 859 | cret := xTreeViewGetExpanderColumn(x.GoPointer()) | 914 | cret := xTreeViewGetExpanderColumn(x.GoPointer()) | ||
| @@ -871,6 +926,8 @@ var xTreeViewGetFixedHeightMode func(uintptr) bool | |||||
| 871 | 926 | ||||
| 872 | // Returns whether fixed height mode is turned on for @tree_view. | 927 | // Returns whether fixed height mode is turned on for @tree_view. | ||
| 873 | func (x *TreeView) GetFixedHeightMode() bool { | 928 | func (x *TreeView) GetFixedHeightMode() bool { | ||
| 929 | + | core.LazyRegister(&xTreeViewGetFixedHeightMode, "GTK", "gtk_tree_view_get_fixed_height_mode", false) | |||
| 930 | + | ||||
| 874 | cret := xTreeViewGetFixedHeightMode(x.GoPointer()) | 931 | cret := xTreeViewGetFixedHeightMode(x.GoPointer()) | ||
| 875 | return cret | 932 | return cret | ||
| 876 | } | 933 | } | ||
| @@ -879,6 +936,8 @@ var xTreeViewGetGridLines func(uintptr) TreeViewGridLines | |||||
| 879 | 936 | ||||
| 880 | // Returns which grid lines are enabled in @tree_view. | 937 | // Returns which grid lines are enabled in @tree_view. | ||
| 881 | func (x *TreeView) GetGridLines() TreeViewGridLines { | 938 | func (x *TreeView) GetGridLines() TreeViewGridLines { | ||
| 939 | + | core.LazyRegister(&xTreeViewGetGridLines, "GTK", "gtk_tree_view_get_grid_lines", false) | |||
| 940 | + | ||||
| 882 | cret := xTreeViewGetGridLines(x.GoPointer()) | 941 | cret := xTreeViewGetGridLines(x.GoPointer()) | ||
| 883 | return cret | 942 | return cret | ||
| 884 | } | 943 | } | ||
| @@ -887,6 +946,8 @@ var xTreeViewGetHeadersClickable func(uintptr) bool | |||||
| 887 | 946 | ||||
| 888 | // Returns whether all header columns are clickable. | 947 | // Returns whether all header columns are clickable. | ||
| 889 | func (x *TreeView) GetHeadersClickable() bool { | 948 | func (x *TreeView) GetHeadersClickable() bool { | ||
| 949 | + | core.LazyRegister(&xTreeViewGetHeadersClickable, "GTK", "gtk_tree_view_get_headers_clickable", false) | |||
| 950 | + | ||||
| 890 | cret := xTreeViewGetHeadersClickable(x.GoPointer()) | 951 | cret := xTreeViewGetHeadersClickable(x.GoPointer()) | ||
| 891 | return cret | 952 | return cret | ||
| 892 | } | 953 | } | ||
| @@ -895,6 +956,8 @@ var xTreeViewGetHeadersVisible func(uintptr) bool | |||||
| 895 | 956 | ||||
| 896 | // Returns %TRUE if the headers on the @tree_view are visible. | 957 | // Returns %TRUE if the headers on the @tree_view are visible. | ||
| 897 | func (x *TreeView) GetHeadersVisible() bool { | 958 | func (x *TreeView) GetHeadersVisible() bool { | ||
| 959 | + | core.LazyRegister(&xTreeViewGetHeadersVisible, "GTK", "gtk_tree_view_get_headers_visible", false) | |||
| 960 | + | ||||
| 898 | cret := xTreeViewGetHeadersVisible(x.GoPointer()) | 961 | cret := xTreeViewGetHeadersVisible(x.GoPointer()) | ||
| 899 | return cret | 962 | return cret | ||
| 900 | } | 963 | } | ||
| @@ -903,6 +966,8 @@ var xTreeViewGetHoverExpand func(uintptr) bool | |||||
| 903 | 966 | ||||
| 904 | // Returns whether hover expansion mode is turned on for @tree_view. | 967 | // Returns whether hover expansion mode is turned on for @tree_view. | ||
| 905 | func (x *TreeView) GetHoverExpand() bool { | 968 | func (x *TreeView) GetHoverExpand() bool { | ||
| 969 | + | core.LazyRegister(&xTreeViewGetHoverExpand, "GTK", "gtk_tree_view_get_hover_expand", false) | |||
| 970 | + | ||||
| 906 | cret := xTreeViewGetHoverExpand(x.GoPointer()) | 971 | cret := xTreeViewGetHoverExpand(x.GoPointer()) | ||
| 907 | return cret | 972 | return cret | ||
| 908 | } | 973 | } | ||
| @@ -911,6 +976,8 @@ var xTreeViewGetHoverSelection func(uintptr) bool | |||||
| 911 | 976 | ||||
| 912 | // Returns whether hover selection mode is turned on for @tree_view. | 977 | // Returns whether hover selection mode is turned on for @tree_view. | ||
| 913 | func (x *TreeView) GetHoverSelection() bool { | 978 | func (x *TreeView) GetHoverSelection() bool { | ||
| 979 | + | core.LazyRegister(&xTreeViewGetHoverSelection, "GTK", "gtk_tree_view_get_hover_selection", false) | |||
| 980 | + | ||||
| 914 | cret := xTreeViewGetHoverSelection(x.GoPointer()) | 981 | cret := xTreeViewGetHoverSelection(x.GoPointer()) | ||
| 915 | return cret | 982 | return cret | ||
| 916 | } | 983 | } | ||
| @@ -920,6 +987,8 @@ var xTreeViewGetLevelIndentation func(uintptr) int | |||||
| 920 | // Returns the amount, in pixels, of extra indentation for child levels | 987 | // Returns the amount, in pixels, of extra indentation for child levels | ||
| 921 | // in @tree_view. | 988 | // in @tree_view. | ||
| 922 | func (x *TreeView) GetLevelIndentation() int { | 989 | func (x *TreeView) GetLevelIndentation() int { | ||
| 990 | + | core.LazyRegister(&xTreeViewGetLevelIndentation, "GTK", "gtk_tree_view_get_level_indentation", false) | |||
| 991 | + | ||||
| 923 | cret := xTreeViewGetLevelIndentation(x.GoPointer()) | 992 | cret := xTreeViewGetLevelIndentation(x.GoPointer()) | ||
| 924 | return cret | 993 | return cret | ||
| 925 | } | 994 | } | ||
| @@ -929,6 +998,7 @@ var xTreeViewGetModel func(uintptr) uintptr | |||||
| 929 | // Returns the model the `GtkTreeView` is based on. Returns %NULL if the | 998 | // Returns the model the `GtkTreeView` is based on. Returns %NULL if the | ||
| 930 | // model is unset. | 999 | // model is unset. | ||
| 931 | func (x *TreeView) GetModel() *TreeModelBase { | 1000 | func (x *TreeView) GetModel() *TreeModelBase { | ||
| 1001 | + | core.LazyRegister(&xTreeViewGetModel, "GTK", "gtk_tree_view_get_model", false) | |||
| 932 | var cls *TreeModelBase | 1002 | var cls *TreeModelBase | ||
| 933 | 1003 | ||||
| 934 | cret := xTreeViewGetModel(x.GoPointer()) | 1004 | cret := xTreeViewGetModel(x.GoPointer()) | ||
| @@ -946,6 +1016,8 @@ var xTreeViewGetNColumns func(uintptr) uint | |||||
| 946 | 1016 | ||||
| 947 | // Queries the number of columns in the given @tree_view. | 1017 | // Queries the number of columns in the given @tree_view. | ||
| 948 | func (x *TreeView) GetNColumns() uint { | 1018 | func (x *TreeView) GetNColumns() uint { | ||
| 1019 | + | core.LazyRegister(&xTreeViewGetNColumns, "GTK", "gtk_tree_view_get_n_columns", false) | |||
| 1020 | + | ||||
| 949 | cret := xTreeViewGetNColumns(x.GoPointer()) | 1021 | cret := xTreeViewGetNColumns(x.GoPointer()) | ||
| 950 | return cret | 1022 | return cret | ||
| 951 | } | 1023 | } | ||
| @@ -969,6 +1041,8 @@ var xTreeViewGetPathAtPos func(uintptr, int, int, **TreePath, **TreeViewColumn, | |||||
| 969 | // GtkWidget::query-tooltip), please see | 1041 | // GtkWidget::query-tooltip), please see | ||
| 970 | // gtk_tree_view_convert_widget_to_bin_window_coords(). | 1042 | // gtk_tree_view_convert_widget_to_bin_window_coords(). | ||
| 971 | func (x *TreeView) GetPathAtPos(XVar int, YVar int, PathVar **TreePath, ColumnVar **TreeViewColumn, CellXVar *int, CellYVar *int) bool { | 1043 | func (x *TreeView) GetPathAtPos(XVar int, YVar int, PathVar **TreePath, ColumnVar **TreeViewColumn, CellXVar *int, CellYVar *int) bool { | ||
| 1044 | + | core.LazyRegister(&xTreeViewGetPathAtPos, "GTK", "gtk_tree_view_get_path_at_pos", false) | |||
| 1045 | + | ||||
| 972 | cret := xTreeViewGetPathAtPos(x.GoPointer(), XVar, YVar, PathVar, ColumnVar, CellXVar, CellYVar) | 1046 | cret := xTreeViewGetPathAtPos(x.GoPointer(), XVar, YVar, PathVar, ColumnVar, CellXVar, CellYVar) | ||
| 973 | return cret | 1047 | return cret | ||
| 974 | } | 1048 | } | ||
| @@ -978,6 +1052,8 @@ var xTreeViewGetReorderable func(uintptr) bool | |||||
| 978 | // Retrieves whether the user can reorder the tree via drag-and-drop. See | 1052 | // Retrieves whether the user can reorder the tree via drag-and-drop. See | ||
| 979 | // gtk_tree_view_set_reorderable(). | 1053 | // gtk_tree_view_set_reorderable(). | ||
| 980 | func (x *TreeView) GetReorderable() bool { | 1054 | func (x *TreeView) GetReorderable() bool { | ||
| 1055 | + | core.LazyRegister(&xTreeViewGetReorderable, "GTK", "gtk_tree_view_get_reorderable", false) | |||
| 1056 | + | ||||
| 981 | cret := xTreeViewGetReorderable(x.GoPointer()) | 1057 | cret := xTreeViewGetReorderable(x.GoPointer()) | ||
| 982 | return cret | 1058 | return cret | ||
| 983 | } | 1059 | } | ||
| @@ -986,6 +1062,8 @@ var xTreeViewGetRowSeparatorFunc func(uintptr) uintptr | |||||
| 986 | 1062 | ||||
| 987 | // Returns the current row separator function. | 1063 | // Returns the current row separator function. | ||
| 988 | func (x *TreeView) GetRowSeparatorFunc() uintptr { | 1064 | func (x *TreeView) GetRowSeparatorFunc() uintptr { | ||
| 1065 | + | core.LazyRegister(&xTreeViewGetRowSeparatorFunc, "GTK", "gtk_tree_view_get_row_separator_func", false) | |||
| 1066 | + | ||||
| 989 | cret := xTreeViewGetRowSeparatorFunc(x.GoPointer()) | 1067 | cret := xTreeViewGetRowSeparatorFunc(x.GoPointer()) | ||
| 990 | return cret | 1068 | return cret | ||
| 991 | } | 1069 | } | ||
| @@ -996,6 +1074,8 @@ var xTreeViewGetRubberBanding func(uintptr) bool | |||||
| 996 | // selection mode is %GTK_SELECTION_MULTIPLE, rubber banding will allow the | 1074 | // selection mode is %GTK_SELECTION_MULTIPLE, rubber banding will allow the | ||
| 997 | // user to select multiple rows by dragging the mouse. | 1075 | // user to select multiple rows by dragging the mouse. | ||
| 998 | func (x *TreeView) GetRubberBanding() bool { | 1076 | func (x *TreeView) GetRubberBanding() bool { | ||
| 1077 | + | core.LazyRegister(&xTreeViewGetRubberBanding, "GTK", "gtk_tree_view_get_rubber_banding", false) | |||
| 1078 | + | ||||
| 999 | cret := xTreeViewGetRubberBanding(x.GoPointer()) | 1079 | cret := xTreeViewGetRubberBanding(x.GoPointer()) | ||
| 1000 | return cret | 1080 | return cret | ||
| 1001 | } | 1081 | } | ||
| @@ -1004,6 +1084,8 @@ var xTreeViewGetSearchColumn func(uintptr) int | |||||
| 1004 | 1084 | ||||
| 1005 | // Gets the column searched on by the interactive search code. | 1085 | // Gets the column searched on by the interactive search code. | ||
| 1006 | func (x *TreeView) GetSearchColumn() int { | 1086 | func (x *TreeView) GetSearchColumn() int { | ||
| 1087 | + | core.LazyRegister(&xTreeViewGetSearchColumn, "GTK", "gtk_tree_view_get_search_column", false) | |||
| 1088 | + | ||||
| 1007 | cret := xTreeViewGetSearchColumn(x.GoPointer()) | 1089 | cret := xTreeViewGetSearchColumn(x.GoPointer()) | ||
| 1008 | return cret | 1090 | return cret | ||
| 1009 | } | 1091 | } | ||
| @@ -1014,6 +1096,7 @@ var xTreeViewGetSearchEntry func(uintptr) uintptr | |||||
| 1014 | // entry for @tree_view. In case the built-in entry is being used, %NULL | 1096 | // entry for @tree_view. In case the built-in entry is being used, %NULL | ||
| 1015 | // will be returned. | 1097 | // will be returned. | ||
| 1016 | func (x *TreeView) GetSearchEntry() *EditableBase { | 1098 | func (x *TreeView) GetSearchEntry() *EditableBase { | ||
| 1099 | + | core.LazyRegister(&xTreeViewGetSearchEntry, "GTK", "gtk_tree_view_get_search_entry", false) | |||
| 1017 | var cls *EditableBase | 1100 | var cls *EditableBase | ||
| 1018 | 1101 | ||||
| 1019 | cret := xTreeViewGetSearchEntry(x.GoPointer()) | 1102 | cret := xTreeViewGetSearchEntry(x.GoPointer()) | ||
| @@ -1031,6 +1114,8 @@ var xTreeViewGetSearchEqualFunc func(uintptr) uintptr | |||||
| 1031 | 1114 | ||||
| 1032 | // Returns the compare function currently in use. | 1115 | // Returns the compare function currently in use. | ||
| 1033 | func (x *TreeView) GetSearchEqualFunc() uintptr { | 1116 | func (x *TreeView) GetSearchEqualFunc() uintptr { | ||
| 1117 | + | core.LazyRegister(&xTreeViewGetSearchEqualFunc, "GTK", "gtk_tree_view_get_search_equal_func", false) | |||
| 1118 | + | ||||
| 1034 | cret := xTreeViewGetSearchEqualFunc(x.GoPointer()) | 1119 | cret := xTreeViewGetSearchEqualFunc(x.GoPointer()) | ||
| 1035 | return cret | 1120 | return cret | ||
| 1036 | } | 1121 | } | ||
| @@ -1039,6 +1124,7 @@ var xTreeViewGetSelection func(uintptr) uintptr | |||||
| 1039 | 1124 | ||||
| 1040 | // Gets the `GtkTreeSelection` associated with @tree_view. | 1125 | // Gets the `GtkTreeSelection` associated with @tree_view. | ||
| 1041 | func (x *TreeView) GetSelection() *TreeSelection { | 1126 | func (x *TreeView) GetSelection() *TreeSelection { | ||
| 1127 | + | core.LazyRegister(&xTreeViewGetSelection, "GTK", "gtk_tree_view_get_selection", false) | |||
| 1042 | var cls *TreeSelection | 1128 | var cls *TreeSelection | ||
| 1043 | 1129 | ||||
| 1044 | cret := xTreeViewGetSelection(x.GoPointer()) | 1130 | cret := xTreeViewGetSelection(x.GoPointer()) | ||
| @@ -1056,6 +1142,8 @@ var xTreeViewGetShowExpanders func(uintptr) bool | |||||
| 1056 | 1142 | ||||
| 1057 | // Returns whether or not expanders are drawn in @tree_view. | 1143 | // Returns whether or not expanders are drawn in @tree_view. | ||
| 1058 | func (x *TreeView) GetShowExpanders() bool { | 1144 | func (x *TreeView) GetShowExpanders() bool { | ||
| 1145 | + | core.LazyRegister(&xTreeViewGetShowExpanders, "GTK", "gtk_tree_view_get_show_expanders", false) | |||
| 1146 | + | ||||
| 1059 | cret := xTreeViewGetShowExpanders(x.GoPointer()) | 1147 | cret := xTreeViewGetShowExpanders(x.GoPointer()) | ||
| 1060 | return cret | 1148 | return cret | ||
| 1061 | } | 1149 | } | ||
| @@ -1065,6 +1153,8 @@ var xTreeViewGetTooltipColumn func(uintptr) int | |||||
| 1065 | // Returns the column of @tree_view’s model which is being used for | 1153 | // Returns the column of @tree_view’s model which is being used for | ||
| 1066 | // displaying tooltips on @tree_view’s rows. | 1154 | // displaying tooltips on @tree_view’s rows. | ||
| 1067 | func (x *TreeView) GetTooltipColumn() int { | 1155 | func (x *TreeView) GetTooltipColumn() int { | ||
| 1156 | + | core.LazyRegister(&xTreeViewGetTooltipColumn, "GTK", "gtk_tree_view_get_tooltip_column", false) | |||
| 1157 | + | ||||
| 1068 | cret := xTreeViewGetTooltipColumn(x.GoPointer()) | 1158 | cret := xTreeViewGetTooltipColumn(x.GoPointer()) | ||
| 1069 | return cret | 1159 | return cret | ||
| 1070 | } | 1160 | } | ||
| @@ -1083,6 +1173,8 @@ var xTreeViewGetTooltipContext func(uintptr, int, int, bool, **TreeModel, **Tree | |||||
| 1083 | // that row and the corresponding model. @x and @y will always be converted | 1173 | // that row and the corresponding model. @x and @y will always be converted | ||
| 1084 | // to be relative to @tree_view’s bin_window if @keyboard_tooltip is %FALSE. | 1174 | // to be relative to @tree_view’s bin_window if @keyboard_tooltip is %FALSE. | ||
| 1085 | func (x *TreeView) GetTooltipContext(XVar int, YVar int, KeyboardTipVar bool, ModelVar **TreeModel, PathVar **TreePath, IterVar *TreeIter) bool { | 1175 | func (x *TreeView) GetTooltipContext(XVar int, YVar int, KeyboardTipVar bool, ModelVar **TreeModel, PathVar **TreePath, IterVar *TreeIter) bool { | ||
| 1176 | + | core.LazyRegister(&xTreeViewGetTooltipContext, "GTK", "gtk_tree_view_get_tooltip_context", false) | |||
| 1177 | + | ||||
| 1086 | cret := xTreeViewGetTooltipContext(x.GoPointer(), XVar, YVar, KeyboardTipVar, ModelVar, PathVar, IterVar) | 1178 | cret := xTreeViewGetTooltipContext(x.GoPointer(), XVar, YVar, KeyboardTipVar, ModelVar, PathVar, IterVar) | ||
| 1087 | return cret | 1179 | return cret | ||
| 1088 | } | 1180 | } | ||
| @@ -1094,6 +1186,8 @@ var xTreeViewGetVisibleRange func(uintptr, **TreePath, **TreePath) bool | |||||
| 1094 | // | 1186 | // | ||
| 1095 | // The paths should be freed with gtk_tree_path_free() after use. | 1187 | // The paths should be freed with gtk_tree_path_free() after use. | ||
| 1096 | func (x *TreeView) GetVisibleRange(StartPathVar **TreePath, EndPathVar **TreePath) bool { | 1188 | func (x *TreeView) GetVisibleRange(StartPathVar **TreePath, EndPathVar **TreePath) bool { | ||
| 1189 | + | core.LazyRegister(&xTreeViewGetVisibleRange, "GTK", "gtk_tree_view_get_visible_range", false) | |||
| 1190 | + | ||||
| 1097 | cret := xTreeViewGetVisibleRange(x.GoPointer(), StartPathVar, EndPathVar) | 1191 | cret := xTreeViewGetVisibleRange(x.GoPointer(), StartPathVar, EndPathVar) | ||
| 1098 | return cret | 1192 | return cret | ||
| 1099 | } | 1193 | } | ||
| @@ -1106,6 +1200,8 @@ var xTreeViewGetVisibleRect func(uintptr, *gdk.Rectangle) | |||||
| 1106 | // Tree coordinates start at 0,0 for row 0 of the tree, and cover the entire | 1200 | // Tree coordinates start at 0,0 for row 0 of the tree, and cover the entire | ||
| 1107 | // scrollable area of the tree. | 1201 | // scrollable area of the tree. | ||
| 1108 | func (x *TreeView) GetVisibleRect(VisibleRectVar *gdk.Rectangle) { | 1202 | func (x *TreeView) GetVisibleRect(VisibleRectVar *gdk.Rectangle) { | ||
| 1203 | + | core.LazyRegister(&xTreeViewGetVisibleRect, "GTK", "gtk_tree_view_get_visible_rect", false) | |||
| 1204 | + | ||||
| 1109 | xTreeViewGetVisibleRect(x.GoPointer(), VisibleRectVar) | 1205 | xTreeViewGetVisibleRect(x.GoPointer(), VisibleRectVar) | ||
| 1110 | } | 1206 | } | ||
| 1111 | 1207 | ||||
| @@ -1116,6 +1212,8 @@ var xTreeViewInsertColumn func(uintptr, uintptr, int) int | |||||
| 1116 | // “fixed_height” mode enabled, then @column must have its “sizing” property | 1212 | // “fixed_height” mode enabled, then @column must have its “sizing” property | ||
| 1117 | // set to be GTK_TREE_VIEW_COLUMN_FIXED. | 1213 | // set to be GTK_TREE_VIEW_COLUMN_FIXED. | ||
| 1118 | func (x *TreeView) InsertColumn(ColumnVar *TreeViewColumn, PositionVar int) int { | 1214 | func (x *TreeView) InsertColumn(ColumnVar *TreeViewColumn, PositionVar int) int { | ||
| 1215 | + | core.LazyRegister(&xTreeViewInsertColumn, "GTK", "gtk_tree_view_insert_column", false) | |||
| 1216 | + | ||||
| 1119 | cret := xTreeViewInsertColumn(x.GoPointer(), ColumnVar.GoPointer(), PositionVar) | 1217 | cret := xTreeViewInsertColumn(x.GoPointer(), ColumnVar.GoPointer(), PositionVar) | ||
| 1120 | return cret | 1218 | return cret | ||
| 1121 | } | 1219 | } | ||
| @@ -1128,6 +1226,8 @@ var xTreeViewInsertColumnWithAttributes func(uintptr, int, string, uintptr, ...i | |||||
| 1128 | // has “fixed_height” mode enabled, then the new column will have its sizing | 1226 | // has “fixed_height” mode enabled, then the new column will have its sizing | ||
| 1129 | // property set to be GTK_TREE_VIEW_COLUMN_FIXED. | 1227 | // property set to be GTK_TREE_VIEW_COLUMN_FIXED. | ||
| 1130 | func (x *TreeView) InsertColumnWithAttributes(PositionVar int, TitleVar string, CellVar *CellRenderer, varArgs ...interface{}) int { | 1228 | func (x *TreeView) InsertColumnWithAttributes(PositionVar int, TitleVar string, CellVar *CellRenderer, varArgs ...interface{}) int { | ||
| 1229 | + | core.LazyRegister(&xTreeViewInsertColumnWithAttributes, "GTK", "gtk_tree_view_insert_column_with_attributes", false) | |||
| 1230 | + | ||||
| 1131 | cret := xTreeViewInsertColumnWithAttributes(x.GoPointer(), PositionVar, TitleVar, CellVar.GoPointer(), varArgs...) | 1231 | cret := xTreeViewInsertColumnWithAttributes(x.GoPointer(), PositionVar, TitleVar, CellVar.GoPointer(), varArgs...) | ||
| 1132 | return cret | 1232 | return cret | ||
| 1133 | } | 1233 | } | ||
| @@ -1141,6 +1241,8 @@ var xTreeViewInsertColumnWithDataFunc func(uintptr, int, string, uintptr, uintpt | |||||
| 1141 | // If @tree_view has “fixed_height” mode enabled, then the new column will have its | 1241 | // If @tree_view has “fixed_height” mode enabled, then the new column will have its | ||
| 1142 | // “sizing” property set to be GTK_TREE_VIEW_COLUMN_FIXED. | 1242 | // “sizing” property set to be GTK_TREE_VIEW_COLUMN_FIXED. | ||
| 1143 | func (x *TreeView) InsertColumnWithDataFunc(PositionVar int, TitleVar string, CellVar *CellRenderer, FuncVar *TreeCellDataFunc, DataVar uintptr, DnotifyVar *glib.DestroyNotify) int { | 1243 | func (x *TreeView) InsertColumnWithDataFunc(PositionVar int, TitleVar string, CellVar *CellRenderer, FuncVar *TreeCellDataFunc, DataVar uintptr, DnotifyVar *glib.DestroyNotify) int { | ||
| 1244 | + | core.LazyRegister(&xTreeViewInsertColumnWithDataFunc, "GTK", "gtk_tree_view_insert_column_with_data_func", false) | |||
| 1245 | + | ||||
| 1144 | cret := xTreeViewInsertColumnWithDataFunc(x.GoPointer(), PositionVar, TitleVar, CellVar.GoPointer(), glib.NewCallback(FuncVar), DataVar, glib.NewCallbackNullable(DnotifyVar)) | 1246 | cret := xTreeViewInsertColumnWithDataFunc(x.GoPointer(), PositionVar, TitleVar, CellVar.GoPointer(), glib.NewCallback(FuncVar), DataVar, glib.NewCallbackNullable(DnotifyVar)) | ||
| 1145 | return cret | 1247 | return cret | ||
| 1146 | } | 1248 | } | ||
| @@ -1165,6 +1267,8 @@ var xTreeViewIsBlankAtPos func(uintptr, int, int, **TreePath, **TreeViewColumn, | |||||
| 1165 | // likewise as for gtk_tree_view_get_path_at_pos(). Please see | 1267 | // likewise as for gtk_tree_view_get_path_at_pos(). Please see | ||
| 1166 | // gtk_tree_view_get_path_at_pos() for more information. | 1268 | // gtk_tree_view_get_path_at_pos() for more information. | ||
| 1167 | func (x *TreeView) IsBlankAtPos(XVar int, YVar int, PathVar **TreePath, ColumnVar **TreeViewColumn, CellXVar *int, CellYVar *int) bool { | 1269 | func (x *TreeView) IsBlankAtPos(XVar int, YVar int, PathVar **TreePath, ColumnVar **TreeViewColumn, CellXVar *int, CellYVar *int) bool { | ||
| 1270 | + | core.LazyRegister(&xTreeViewIsBlankAtPos, "GTK", "gtk_tree_view_is_blank_at_pos", false) | |||
| 1271 | + | ||||
| 1168 | cret := xTreeViewIsBlankAtPos(x.GoPointer(), XVar, YVar, PathVar, ColumnVar, CellXVar, CellYVar) | 1272 | cret := xTreeViewIsBlankAtPos(x.GoPointer(), XVar, YVar, PathVar, ColumnVar, CellXVar, CellYVar) | ||
| 1169 | return cret | 1273 | return cret | ||
| 1170 | } | 1274 | } | ||
| @@ -1174,6 +1278,8 @@ var xTreeViewIsRubberBandingActive func(uintptr) bool | |||||
| 1174 | // Returns whether a rubber banding operation is currently being done | 1278 | // Returns whether a rubber banding operation is currently being done | ||
| 1175 | // in @tree_view. | 1279 | // in @tree_view. | ||
| 1176 | func (x *TreeView) IsRubberBandingActive() bool { | 1280 | func (x *TreeView) IsRubberBandingActive() bool { | ||
| 1281 | + | core.LazyRegister(&xTreeViewIsRubberBandingActive, "GTK", "gtk_tree_view_is_rubber_banding_active", false) | |||
| 1282 | + | ||||
| 1177 | cret := xTreeViewIsRubberBandingActive(x.GoPointer()) | 1283 | cret := xTreeViewIsRubberBandingActive(x.GoPointer()) | ||
| 1178 | return cret | 1284 | return cret | ||
| 1179 | } | 1285 | } | ||
| @@ -1182,6 +1288,8 @@ var xTreeViewMapExpandedRows func(uintptr, uintptr, uintptr) | |||||
| 1182 | 1288 | ||||
| 1183 | // Calls @func on all expanded rows. | 1289 | // Calls @func on all expanded rows. | ||
| 1184 | func (x *TreeView) MapExpandedRows(FuncVar *TreeViewMappingFunc, DataVar uintptr) { | 1290 | func (x *TreeView) MapExpandedRows(FuncVar *TreeViewMappingFunc, DataVar uintptr) { | ||
| 1291 | + | core.LazyRegister(&xTreeViewMapExpandedRows, "GTK", "gtk_tree_view_map_expanded_rows", false) | |||
| 1292 | + | ||||
| 1185 | xTreeViewMapExpandedRows(x.GoPointer(), glib.NewCallback(FuncVar), DataVar) | 1293 | xTreeViewMapExpandedRows(x.GoPointer(), glib.NewCallback(FuncVar), DataVar) | ||
| 1186 | } | 1294 | } | ||
| 1187 | 1295 | ||||
| @@ -1190,6 +1298,8 @@ var xTreeViewMoveColumnAfter func(uintptr, uintptr, uintptr) | |||||
| 1190 | // Moves @column to be after to @base_column. If @base_column is %NULL, then | 1298 | // Moves @column to be after to @base_column. If @base_column is %NULL, then | ||
| 1191 | // @column is placed in the first position. | 1299 | // @column is placed in the first position. | ||
| 1192 | func (x *TreeView) MoveColumnAfter(ColumnVar *TreeViewColumn, BaseColumnVar *TreeViewColumn) { | 1300 | func (x *TreeView) MoveColumnAfter(ColumnVar *TreeViewColumn, BaseColumnVar *TreeViewColumn) { | ||
| 1301 | + | core.LazyRegister(&xTreeViewMoveColumnAfter, "GTK", "gtk_tree_view_move_column_after", false) | |||
| 1302 | + | ||||
| 1193 | xTreeViewMoveColumnAfter(x.GoPointer(), ColumnVar.GoPointer(), BaseColumnVar.GoPointer()) | 1303 | xTreeViewMoveColumnAfter(x.GoPointer(), ColumnVar.GoPointer(), BaseColumnVar.GoPointer()) | ||
| 1194 | } | 1304 | } | ||
| 1195 | 1305 | ||||
| @@ -1197,6 +1307,8 @@ var xTreeViewRemoveColumn func(uintptr, uintptr) int | |||||
| 1197 | 1307 | ||||
| 1198 | // Removes @column from @tree_view. | 1308 | // Removes @column from @tree_view. | ||
| 1199 | func (x *TreeView) RemoveColumn(ColumnVar *TreeViewColumn) int { | 1309 | func (x *TreeView) RemoveColumn(ColumnVar *TreeViewColumn) int { | ||
| 1310 | + | core.LazyRegister(&xTreeViewRemoveColumn, "GTK", "gtk_tree_view_remove_column", false) | |||
| 1311 | + | ||||
| 1200 | cret := xTreeViewRemoveColumn(x.GoPointer(), ColumnVar.GoPointer()) | 1312 | cret := xTreeViewRemoveColumn(x.GoPointer(), ColumnVar.GoPointer()) | ||
| 1201 | return cret | 1313 | return cret | ||
| 1202 | } | 1314 | } | ||
| @@ -1205,6 +1317,8 @@ var xTreeViewRowActivated func(uintptr, *TreePath, uintptr) | |||||
| 1205 | 1317 | ||||
| 1206 | // Activates the cell determined by @path and @column. | 1318 | // Activates the cell determined by @path and @column. | ||
| 1207 | func (x *TreeView) RowActivated(PathVar *TreePath, ColumnVar *TreeViewColumn) { | 1319 | func (x *TreeView) RowActivated(PathVar *TreePath, ColumnVar *TreeViewColumn) { | ||
| 1320 | + | core.LazyRegister(&xTreeViewRowActivated, "GTK", "gtk_tree_view_row_activated", false) | |||
| 1321 | + | ||||
| 1208 | xTreeViewRowActivated(x.GoPointer(), PathVar, ColumnVar.GoPointer()) | 1322 | xTreeViewRowActivated(x.GoPointer(), PathVar, ColumnVar.GoPointer()) | ||
| 1209 | } | 1323 | } | ||
| 1210 | 1324 | ||||
| @@ -1212,6 +1326,8 @@ var xTreeViewRowExpanded func(uintptr, *TreePath) bool | |||||
| 1212 | 1326 | ||||
| 1213 | // Returns %TRUE if the node pointed to by @path is expanded in @tree_view. | 1327 | // Returns %TRUE if the node pointed to by @path is expanded in @tree_view. | ||
| 1214 | func (x *TreeView) RowExpanded(PathVar *TreePath) bool { | 1328 | func (x *TreeView) RowExpanded(PathVar *TreePath) bool { | ||
| 1329 | + | core.LazyRegister(&xTreeViewRowExpanded, "GTK", "gtk_tree_view_row_expanded", false) | |||
| 1330 | + | ||||
| 1215 | cret := xTreeViewRowExpanded(x.GoPointer(), PathVar) | 1331 | cret := xTreeViewRowExpanded(x.GoPointer(), PathVar) | ||
| 1216 | return cret | 1332 | return cret | ||
| 1217 | } | 1333 | } | ||
| @@ -1235,6 +1351,8 @@ var xTreeViewScrollToCell func(uintptr, *TreePath, uintptr, bool, float32, float | |||||
| 1235 | // model. If the model changes before the @tree_view is realized, the centered | 1351 | // model. If the model changes before the @tree_view is realized, the centered | ||
| 1236 | // path will be modified to reflect this change. | 1352 | // path will be modified to reflect this change. | ||
| 1237 | func (x *TreeView) ScrollToCell(PathVar *TreePath, ColumnVar *TreeViewColumn, UseAlignVar bool, RowAlignVar float32, ColAlignVar float32) { | 1353 | func (x *TreeView) ScrollToCell(PathVar *TreePath, ColumnVar *TreeViewColumn, UseAlignVar bool, RowAlignVar float32, ColAlignVar float32) { | ||
| 1354 | + | core.LazyRegister(&xTreeViewScrollToCell, "GTK", "gtk_tree_view_scroll_to_cell", false) | |||
| 1355 | + | ||||
| 1238 | xTreeViewScrollToCell(x.GoPointer(), PathVar, ColumnVar.GoPointer(), UseAlignVar, RowAlignVar, ColAlignVar) | 1356 | xTreeViewScrollToCell(x.GoPointer(), PathVar, ColumnVar.GoPointer(), UseAlignVar, RowAlignVar, ColAlignVar) | ||
| 1239 | } | 1357 | } | ||
| 1240 | 1358 | ||||
| @@ -1248,6 +1366,8 @@ var xTreeViewScrollToPoint func(uintptr, int, int) | |||||
| 1248 | // | 1366 | // | ||
| 1249 | // If either @tree_x or @tree_y are -1, then that direction isn’t scrolled. | 1367 | // If either @tree_x or @tree_y are -1, then that direction isn’t scrolled. | ||
| 1250 | func (x *TreeView) ScrollToPoint(TreeXVar int, TreeYVar int) { | 1368 | func (x *TreeView) ScrollToPoint(TreeXVar int, TreeYVar int) { | ||
| 1369 | + | core.LazyRegister(&xTreeViewScrollToPoint, "GTK", "gtk_tree_view_scroll_to_point", false) | |||
| 1370 | + | ||||
| 1251 | xTreeViewScrollToPoint(x.GoPointer(), TreeXVar, TreeYVar) | 1371 | xTreeViewScrollToPoint(x.GoPointer(), TreeXVar, TreeYVar) | ||
| 1252 | } | 1372 | } | ||
| 1253 | 1373 | ||||
| @@ -1256,6 +1376,8 @@ var xTreeViewSetActivateOnSingleClick func(uintptr, bool) | |||||
| 1256 | // Cause the `GtkTreeView`::row-activated signal to be emitted | 1376 | // Cause the `GtkTreeView`::row-activated signal to be emitted | ||
| 1257 | // on a single click instead of a double click. | 1377 | // on a single click instead of a double click. | ||
| 1258 | func (x *TreeView) SetActivateOnSingleClick(SingleVar bool) { | 1378 | func (x *TreeView) SetActivateOnSingleClick(SingleVar bool) { | ||
| 1379 | + | core.LazyRegister(&xTreeViewSetActivateOnSingleClick, "GTK", "gtk_tree_view_set_activate_on_single_click", false) | |||
| 1380 | + | ||||
| 1259 | xTreeViewSetActivateOnSingleClick(x.GoPointer(), SingleVar) | 1381 | xTreeViewSetActivateOnSingleClick(x.GoPointer(), SingleVar) | ||
| 1260 | } | 1382 | } | ||
| 1261 | 1383 | ||||
| @@ -1271,6 +1393,8 @@ var xTreeViewSetColumnDragFunction func(uintptr, uintptr, uintptr, uintptr) | |||||
| 1271 | // @tree_view reverts to the default behavior of allowing all columns to be | 1393 | // @tree_view reverts to the default behavior of allowing all columns to be | ||
| 1272 | // dropped everywhere. | 1394 | // dropped everywhere. | ||
| 1273 | func (x *TreeView) SetColumnDragFunction(FuncVar *TreeViewColumnDropFunc, UserDataVar uintptr, DestroyVar *glib.DestroyNotify) { | 1395 | func (x *TreeView) SetColumnDragFunction(FuncVar *TreeViewColumnDropFunc, UserDataVar uintptr, DestroyVar *glib.DestroyNotify) { | ||
| 1396 | + | core.LazyRegister(&xTreeViewSetColumnDragFunction, "GTK", "gtk_tree_view_set_column_drag_function", false) | |||
| 1397 | + | ||||
| 1274 | xTreeViewSetColumnDragFunction(x.GoPointer(), glib.NewCallbackNullable(FuncVar), UserDataVar, glib.NewCallbackNullable(DestroyVar)) | 1398 | xTreeViewSetColumnDragFunction(x.GoPointer(), glib.NewCallbackNullable(FuncVar), UserDataVar, glib.NewCallbackNullable(DestroyVar)) | ||
| 1275 | } | 1399 | } | ||
| 1276 | 1400 | ||||
| @@ -1288,6 +1412,8 @@ var xTreeViewSetCursor func(uintptr, *TreePath, uintptr, bool) | |||||
| 1288 | // If @path is invalid for @model, the current cursor (if any) will be unset | 1412 | // If @path is invalid for @model, the current cursor (if any) will be unset | ||
| 1289 | // and the function will return without failing. | 1413 | // and the function will return without failing. | ||
| 1290 | func (x *TreeView) SetCursor(PathVar *TreePath, FocusColumnVar *TreeViewColumn, StartEditingVar bool) { | 1414 | func (x *TreeView) SetCursor(PathVar *TreePath, FocusColumnVar *TreeViewColumn, StartEditingVar bool) { | ||
| 1415 | + | core.LazyRegister(&xTreeViewSetCursor, "GTK", "gtk_tree_view_set_cursor", false) | |||
| 1416 | + | ||||
| 1291 | xTreeViewSetCursor(x.GoPointer(), PathVar, FocusColumnVar.GoPointer(), StartEditingVar) | 1417 | xTreeViewSetCursor(x.GoPointer(), PathVar, FocusColumnVar.GoPointer(), StartEditingVar) | ||
| 1292 | } | 1418 | } | ||
| 1293 | 1419 | ||||
| @@ -1308,6 +1434,8 @@ var xTreeViewSetCursorOnCell func(uintptr, *TreePath, uintptr, uintptr, bool) | |||||
| 1308 | // If @path is invalid for @model, the current cursor (if any) will be unset | 1434 | // If @path is invalid for @model, the current cursor (if any) will be unset | ||
| 1309 | // and the function will return without failing. | 1435 | // and the function will return without failing. | ||
| 1310 | func (x *TreeView) SetCursorOnCell(PathVar *TreePath, FocusColumnVar *TreeViewColumn, FocusCellVar *CellRenderer, StartEditingVar bool) { | 1436 | func (x *TreeView) SetCursorOnCell(PathVar *TreePath, FocusColumnVar *TreeViewColumn, FocusCellVar *CellRenderer, StartEditingVar bool) { | ||
| 1437 | + | core.LazyRegister(&xTreeViewSetCursorOnCell, "GTK", "gtk_tree_view_set_cursor_on_cell", false) | |||
| 1438 | + | ||||
| 1311 | xTreeViewSetCursorOnCell(x.GoPointer(), PathVar, FocusColumnVar.GoPointer(), FocusCellVar.GoPointer(), StartEditingVar) | 1439 | xTreeViewSetCursorOnCell(x.GoPointer(), PathVar, FocusColumnVar.GoPointer(), FocusCellVar.GoPointer(), StartEditingVar) | ||
| 1312 | } | 1440 | } | ||
| 1313 | 1441 | ||||
| @@ -1316,6 +1444,8 @@ var xTreeViewSetDragDestRow func(uintptr, *TreePath, TreeViewDropPosition) | |||||
| 1316 | // Sets the row that is highlighted for feedback. | 1444 | // Sets the row that is highlighted for feedback. | ||
| 1317 | // If @path is %NULL, an existing highlight is removed. | 1445 | // If @path is %NULL, an existing highlight is removed. | ||
| 1318 | func (x *TreeView) SetDragDestRow(PathVar *TreePath, PosVar TreeViewDropPosition) { | 1446 | func (x *TreeView) SetDragDestRow(PathVar *TreePath, PosVar TreeViewDropPosition) { | ||
| 1447 | + | core.LazyRegister(&xTreeViewSetDragDestRow, "GTK", "gtk_tree_view_set_drag_dest_row", false) | |||
| 1448 | + | ||||
| 1319 | xTreeViewSetDragDestRow(x.GoPointer(), PathVar, PosVar) | 1449 | xTreeViewSetDragDestRow(x.GoPointer(), PathVar, PosVar) | ||
| 1320 | } | 1450 | } | ||
| 1321 | 1451 | ||||
| @@ -1327,6 +1457,8 @@ var xTreeViewSetEnableSearch func(uintptr, bool) | |||||
| 1327 | // Note that even if this is %FALSE, the user can still initiate a search | 1457 | // Note that even if this is %FALSE, the user can still initiate a search | ||
| 1328 | // using the “start-interactive-search” key binding. | 1458 | // using the “start-interactive-search” key binding. | ||
| 1329 | func (x *TreeView) SetEnableSearch(EnableSearchVar bool) { | 1459 | func (x *TreeView) SetEnableSearch(EnableSearchVar bool) { | ||
| 1460 | + | core.LazyRegister(&xTreeViewSetEnableSearch, "GTK", "gtk_tree_view_set_enable_search", false) | |||
| 1461 | + | ||||
| 1330 | xTreeViewSetEnableSearch(x.GoPointer(), EnableSearchVar) | 1462 | xTreeViewSetEnableSearch(x.GoPointer(), EnableSearchVar) | ||
| 1331 | } | 1463 | } | ||
| 1332 | 1464 | ||||
| @@ -1335,6 +1467,8 @@ var xTreeViewSetEnableTreeLines func(uintptr, bool) | |||||
| 1335 | // Sets whether to draw lines interconnecting the expanders in @tree_view. | 1467 | // Sets whether to draw lines interconnecting the expanders in @tree_view. | ||
| 1336 | // This does not have any visible effects for lists. | 1468 | // This does not have any visible effects for lists. | ||
| 1337 | func (x *TreeView) SetEnableTreeLines(EnabledVar bool) { | 1469 | func (x *TreeView) SetEnableTreeLines(EnabledVar bool) { | ||
| 1470 | + | core.LazyRegister(&xTreeViewSetEnableTreeLines, "GTK", "gtk_tree_view_set_enable_tree_lines", false) | |||
| 1471 | + | ||||
| 1338 | xTreeViewSetEnableTreeLines(x.GoPointer(), EnabledVar) | 1472 | xTreeViewSetEnableTreeLines(x.GoPointer(), EnabledVar) | ||
| 1339 | } | 1473 | } | ||
| 1340 | 1474 | ||||
| @@ -1347,6 +1481,8 @@ var xTreeViewSetExpanderColumn func(uintptr, uintptr) | |||||
| 1347 | // If you do not want expander arrow to appear in your tree, set the | 1481 | // If you do not want expander arrow to appear in your tree, set the | ||
| 1348 | // expander column to a hidden column. | 1482 | // expander column to a hidden column. | ||
| 1349 | func (x *TreeView) SetExpanderColumn(ColumnVar *TreeViewColumn) { | 1483 | func (x *TreeView) SetExpanderColumn(ColumnVar *TreeViewColumn) { | ||
| 1484 | + | core.LazyRegister(&xTreeViewSetExpanderColumn, "GTK", "gtk_tree_view_set_expander_column", false) | |||
| 1485 | + | ||||
| 1350 | xTreeViewSetExpanderColumn(x.GoPointer(), ColumnVar.GoPointer()) | 1486 | xTreeViewSetExpanderColumn(x.GoPointer(), ColumnVar.GoPointer()) | ||
| 1351 | } | 1487 | } | ||
| 1352 | 1488 | ||||
| @@ -1358,6 +1494,8 @@ var xTreeViewSetFixedHeightMode func(uintptr, bool) | |||||
| 1358 | // Only enable this option if all rows are the same height and all | 1494 | // Only enable this option if all rows are the same height and all | ||
| 1359 | // columns are of type %GTK_TREE_VIEW_COLUMN_FIXED. | 1495 | // columns are of type %GTK_TREE_VIEW_COLUMN_FIXED. | ||
| 1360 | func (x *TreeView) SetFixedHeightMode(EnableVar bool) { | 1496 | func (x *TreeView) SetFixedHeightMode(EnableVar bool) { | ||
| 1497 | + | core.LazyRegister(&xTreeViewSetFixedHeightMode, "GTK", "gtk_tree_view_set_fixed_height_mode", false) | |||
| 1498 | + | ||||
| 1361 | xTreeViewSetFixedHeightMode(x.GoPointer(), EnableVar) | 1499 | xTreeViewSetFixedHeightMode(x.GoPointer(), EnableVar) | ||
| 1362 | } | 1500 | } | ||
| 1363 | 1501 | ||||
| @@ -1365,6 +1503,8 @@ var xTreeViewSetGridLines func(uintptr, TreeViewGridLines) | |||||
| 1365 | 1503 | ||||
| 1366 | // Sets which grid lines to draw in @tree_view. | 1504 | // Sets which grid lines to draw in @tree_view. | ||
| 1367 | func (x *TreeView) SetGridLines(GridLinesVar TreeViewGridLines) { | 1505 | func (x *TreeView) SetGridLines(GridLinesVar TreeViewGridLines) { | ||
| 1506 | + | core.LazyRegister(&xTreeViewSetGridLines, "GTK", "gtk_tree_view_set_grid_lines", false) | |||
| 1507 | + | ||||
| 1368 | xTreeViewSetGridLines(x.GoPointer(), GridLinesVar) | 1508 | xTreeViewSetGridLines(x.GoPointer(), GridLinesVar) | ||
| 1369 | } | 1509 | } | ||
| 1370 | 1510 | ||||
| @@ -1372,6 +1512,8 @@ var xTreeViewSetHeadersClickable func(uintptr, bool) | |||||
| 1372 | 1512 | ||||
| 1373 | // Allow the column title buttons to be clicked. | 1513 | // Allow the column title buttons to be clicked. | ||
| 1374 | func (x *TreeView) SetHeadersClickable(SettingVar bool) { | 1514 | func (x *TreeView) SetHeadersClickable(SettingVar bool) { | ||
| 1515 | + | core.LazyRegister(&xTreeViewSetHeadersClickable, "GTK", "gtk_tree_view_set_headers_clickable", false) | |||
| 1516 | + | ||||
| 1375 | xTreeViewSetHeadersClickable(x.GoPointer(), SettingVar) | 1517 | xTreeViewSetHeadersClickable(x.GoPointer(), SettingVar) | ||
| 1376 | } | 1518 | } | ||
| 1377 | 1519 | ||||
| @@ -1379,6 +1521,8 @@ var xTreeViewSetHeadersVisible func(uintptr, bool) | |||||
| 1379 | 1521 | ||||
| 1380 | // Sets the visibility state of the headers. | 1522 | // Sets the visibility state of the headers. | ||
| 1381 | func (x *TreeView) SetHeadersVisible(HeadersVisibleVar bool) { | 1523 | func (x *TreeView) SetHeadersVisible(HeadersVisibleVar bool) { | ||
| 1524 | + | core.LazyRegister(&xTreeViewSetHeadersVisible, "GTK", "gtk_tree_view_set_headers_visible", false) | |||
| 1525 | + | ||||
| 1382 | xTreeViewSetHeadersVisible(x.GoPointer(), HeadersVisibleVar) | 1526 | xTreeViewSetHeadersVisible(x.GoPointer(), HeadersVisibleVar) | ||
| 1383 | } | 1527 | } | ||
| 1384 | 1528 | ||||
| @@ -1388,6 +1532,8 @@ var xTreeViewSetHoverExpand func(uintptr, bool) | |||||
| 1388 | // Hover expansion makes rows expand or collapse if the pointer | 1532 | // Hover expansion makes rows expand or collapse if the pointer | ||
| 1389 | // moves over them. | 1533 | // moves over them. | ||
| 1390 | func (x *TreeView) SetHoverExpand(ExpandVar bool) { | 1534 | func (x *TreeView) SetHoverExpand(ExpandVar bool) { | ||
| 1535 | + | core.LazyRegister(&xTreeViewSetHoverExpand, "GTK", "gtk_tree_view_set_hover_expand", false) | |||
| 1536 | + | ||||
| 1391 | xTreeViewSetHoverExpand(x.GoPointer(), ExpandVar) | 1537 | xTreeViewSetHoverExpand(x.GoPointer(), ExpandVar) | ||
| 1392 | } | 1538 | } | ||
| 1393 | 1539 | ||||
| @@ -1398,6 +1544,8 @@ var xTreeViewSetHoverSelection func(uintptr, bool) | |||||
| 1398 | // Currently, this works only for the selection modes | 1544 | // Currently, this works only for the selection modes | ||
| 1399 | // %GTK_SELECTION_SINGLE and %GTK_SELECTION_BROWSE. | 1545 | // %GTK_SELECTION_SINGLE and %GTK_SELECTION_BROWSE. | ||
| 1400 | func (x *TreeView) SetHoverSelection(HoverVar bool) { | 1546 | func (x *TreeView) SetHoverSelection(HoverVar bool) { | ||
| 1547 | + | core.LazyRegister(&xTreeViewSetHoverSelection, "GTK", "gtk_tree_view_set_hover_selection", false) | |||
| 1548 | + | ||||
| 1401 | xTreeViewSetHoverSelection(x.GoPointer(), HoverVar) | 1549 | xTreeViewSetHoverSelection(x.GoPointer(), HoverVar) | ||
| 1402 | } | 1550 | } | ||
| 1403 | 1551 | ||||
| @@ -1409,6 +1557,8 @@ var xTreeViewSetLevelIndentation func(uintptr, int) | |||||
| 1409 | // indentation will be used. | 1557 | // indentation will be used. | ||
| 1410 | // This does not have any visible effects for lists. | 1558 | // This does not have any visible effects for lists. | ||
| 1411 | func (x *TreeView) SetLevelIndentation(IndentationVar int) { | 1559 | func (x *TreeView) SetLevelIndentation(IndentationVar int) { | ||
| 1560 | + | core.LazyRegister(&xTreeViewSetLevelIndentation, "GTK", "gtk_tree_view_set_level_indentation", false) | |||
| 1561 | + | ||||
| 1412 | xTreeViewSetLevelIndentation(x.GoPointer(), IndentationVar) | 1562 | xTreeViewSetLevelIndentation(x.GoPointer(), IndentationVar) | ||
| 1413 | } | 1563 | } | ||
| 1414 | 1564 | ||||
| @@ -1418,6 +1568,8 @@ var xTreeViewSetModel func(uintptr, uintptr) | |||||
| 1418 | // set, it will remove it before setting the new model. If @model is %NULL, | 1568 | // set, it will remove it before setting the new model. If @model is %NULL, | ||
| 1419 | // then it will unset the old model. | 1569 | // then it will unset the old model. | ||
| 1420 | func (x *TreeView) SetModel(ModelVar TreeModel) { | 1570 | func (x *TreeView) SetModel(ModelVar TreeModel) { | ||
| 1571 | + | core.LazyRegister(&xTreeViewSetModel, "GTK", "gtk_tree_view_set_model", false) | |||
| 1572 | + | ||||
| 1421 | xTreeViewSetModel(x.GoPointer(), ModelVar.GoPointer()) | 1573 | xTreeViewSetModel(x.GoPointer(), ModelVar.GoPointer()) | ||
| 1422 | } | 1574 | } | ||
| 1423 | 1575 | ||||
| @@ -1438,6 +1590,8 @@ var xTreeViewSetReorderable func(uintptr, bool) | |||||
| 1438 | // reordering is allowed. If more control is needed, you should probably | 1590 | // reordering is allowed. If more control is needed, you should probably | ||
| 1439 | // handle drag and drop manually. | 1591 | // handle drag and drop manually. | ||
| 1440 | func (x *TreeView) SetReorderable(ReorderableVar bool) { | 1592 | func (x *TreeView) SetReorderable(ReorderableVar bool) { | ||
| 1593 | + | core.LazyRegister(&xTreeViewSetReorderable, "GTK", "gtk_tree_view_set_reorderable", false) | |||
| 1594 | + | ||||
| 1441 | xTreeViewSetReorderable(x.GoPointer(), ReorderableVar) | 1595 | xTreeViewSetReorderable(x.GoPointer(), ReorderableVar) | ||
| 1442 | } | 1596 | } | ||
| 1443 | 1597 | ||||
| @@ -1447,6 +1601,8 @@ var xTreeViewSetRowSeparatorFunc func(uintptr, uintptr, uintptr, uintptr) | |||||
| 1447 | // whether a row should be drawn as a separator. If the row separator | 1601 | // whether a row should be drawn as a separator. If the row separator | ||
| 1448 | // function is %NULL, no separators are drawn. This is the default value. | 1602 | // function is %NULL, no separators are drawn. This is the default value. | ||
| 1449 | func (x *TreeView) SetRowSeparatorFunc(FuncVar *TreeViewRowSeparatorFunc, DataVar uintptr, DestroyVar *glib.DestroyNotify) { | 1603 | func (x *TreeView) SetRowSeparatorFunc(FuncVar *TreeViewRowSeparatorFunc, DataVar uintptr, DestroyVar *glib.DestroyNotify) { | ||
| 1604 | + | core.LazyRegister(&xTreeViewSetRowSeparatorFunc, "GTK", "gtk_tree_view_set_row_separator_func", false) | |||
| 1605 | + | ||||
| 1450 | xTreeViewSetRowSeparatorFunc(x.GoPointer(), glib.NewCallbackNullable(FuncVar), DataVar, glib.NewCallbackNullable(DestroyVar)) | 1606 | xTreeViewSetRowSeparatorFunc(x.GoPointer(), glib.NewCallbackNullable(FuncVar), DataVar, glib.NewCallbackNullable(DestroyVar)) | ||
| 1451 | } | 1607 | } | ||
| 1452 | 1608 | ||||
| @@ -1456,6 +1612,8 @@ var xTreeViewSetRubberBanding func(uintptr, bool) | |||||
| 1456 | // is %GTK_SELECTION_MULTIPLE, rubber banding will allow the user to select | 1612 | // is %GTK_SELECTION_MULTIPLE, rubber banding will allow the user to select | ||
| 1457 | // multiple rows by dragging the mouse. | 1613 | // multiple rows by dragging the mouse. | ||
| 1458 | func (x *TreeView) SetRubberBanding(EnableVar bool) { | 1614 | func (x *TreeView) SetRubberBanding(EnableVar bool) { | ||
| 1615 | + | core.LazyRegister(&xTreeViewSetRubberBanding, "GTK", "gtk_tree_view_set_rubber_banding", false) | |||
| 1616 | + | ||||
| 1459 | xTreeViewSetRubberBanding(x.GoPointer(), EnableVar) | 1617 | xTreeViewSetRubberBanding(x.GoPointer(), EnableVar) | ||
| 1460 | } | 1618 | } | ||
| 1461 | 1619 | ||||
| @@ -1471,6 +1629,8 @@ var xTreeViewSetSearchColumn func(uintptr, int) | |||||
| 1471 | // Note that @column refers to a column of the current model. The search | 1629 | // Note that @column refers to a column of the current model. The search | ||
| 1472 | // column is reset to -1 when the model is changed. | 1630 | // column is reset to -1 when the model is changed. | ||
| 1473 | func (x *TreeView) SetSearchColumn(ColumnVar int) { | 1631 | func (x *TreeView) SetSearchColumn(ColumnVar int) { | ||
| 1632 | + | core.LazyRegister(&xTreeViewSetSearchColumn, "GTK", "gtk_tree_view_set_search_column", false) | |||
| 1633 | + | ||||
| 1474 | xTreeViewSetSearchColumn(x.GoPointer(), ColumnVar) | 1634 | xTreeViewSetSearchColumn(x.GoPointer(), ColumnVar) | ||
| 1475 | } | 1635 | } | ||
| 1476 | 1636 | ||||
| @@ -1482,6 +1642,8 @@ var xTreeViewSetSearchEntry func(uintptr, uintptr) | |||||
| 1482 | // @entry will make the interactive search code use the built-in popup | 1642 | // @entry will make the interactive search code use the built-in popup | ||
| 1483 | // entry again. | 1643 | // entry again. | ||
| 1484 | func (x *TreeView) SetSearchEntry(EntryVar Editable) { | 1644 | func (x *TreeView) SetSearchEntry(EntryVar Editable) { | ||
| 1645 | + | core.LazyRegister(&xTreeViewSetSearchEntry, "GTK", "gtk_tree_view_set_search_entry", false) | |||
| 1646 | + | ||||
| 1485 | xTreeViewSetSearchEntry(x.GoPointer(), EntryVar.GoPointer()) | 1647 | xTreeViewSetSearchEntry(x.GoPointer(), EntryVar.GoPointer()) | ||
| 1486 | } | 1648 | } | ||
| 1487 | 1649 | ||||
| @@ -1491,6 +1653,8 @@ var xTreeViewSetSearchEqualFunc func(uintptr, uintptr, uintptr, uintptr) | |||||
| 1491 | // that somewhat like strcmp() returning 0 for equality | 1653 | // that somewhat like strcmp() returning 0 for equality | ||
| 1492 | // `GtkTreeView`SearchEqualFunc returns %FALSE on matches. | 1654 | // `GtkTreeView`SearchEqualFunc returns %FALSE on matches. | ||
| 1493 | func (x *TreeView) SetSearchEqualFunc(SearchEqualFuncVar *TreeViewSearchEqualFunc, SearchUserDataVar uintptr, SearchDestroyVar *glib.DestroyNotify) { | 1655 | func (x *TreeView) SetSearchEqualFunc(SearchEqualFuncVar *TreeViewSearchEqualFunc, SearchUserDataVar uintptr, SearchDestroyVar *glib.DestroyNotify) { | ||
| 1656 | + | core.LazyRegister(&xTreeViewSetSearchEqualFunc, "GTK", "gtk_tree_view_set_search_equal_func", false) | |||
| 1657 | + | ||||
| 1494 | xTreeViewSetSearchEqualFunc(x.GoPointer(), glib.NewCallback(SearchEqualFuncVar), SearchUserDataVar, glib.NewCallbackNullable(SearchDestroyVar)) | 1658 | xTreeViewSetSearchEqualFunc(x.GoPointer(), glib.NewCallback(SearchEqualFuncVar), SearchUserDataVar, glib.NewCallbackNullable(SearchDestroyVar)) | ||
| 1495 | } | 1659 | } | ||
| 1496 | 1660 | ||||
| @@ -1504,6 +1668,8 @@ var xTreeViewSetShowExpanders func(uintptr, bool) | |||||
| 1504 | // gtk_tree_view_set_level_indentation(). | 1668 | // gtk_tree_view_set_level_indentation(). | ||
| 1505 | // This does not have any visible effects for lists. | 1669 | // This does not have any visible effects for lists. | ||
| 1506 | func (x *TreeView) SetShowExpanders(EnabledVar bool) { | 1670 | func (x *TreeView) SetShowExpanders(EnabledVar bool) { | ||
| 1671 | + | core.LazyRegister(&xTreeViewSetShowExpanders, "GTK", "gtk_tree_view_set_show_expanders", false) | |||
| 1672 | + | ||||
| 1507 | xTreeViewSetShowExpanders(x.GoPointer(), EnabledVar) | 1673 | xTreeViewSetShowExpanders(x.GoPointer(), EnabledVar) | ||
| 1508 | } | 1674 | } | ||
| 1509 | 1675 | ||||
| @@ -1521,6 +1687,8 @@ var xTreeViewSetTooltipCell func(uintptr, uintptr, *TreePath, uintptr, uintptr) | |||||
| 1521 | // | 1687 | // | ||
| 1522 | // See also gtk_tree_view_set_tooltip_column() for a simpler alternative. | 1688 | // See also gtk_tree_view_set_tooltip_column() for a simpler alternative. | ||
| 1523 | func (x *TreeView) SetTooltipCell(TooltipVar *Tooltip, PathVar *TreePath, ColumnVar *TreeViewColumn, CellVar *CellRenderer) { | 1689 | func (x *TreeView) SetTooltipCell(TooltipVar *Tooltip, PathVar *TreePath, ColumnVar *TreeViewColumn, CellVar *CellRenderer) { | ||
| 1690 | + | core.LazyRegister(&xTreeViewSetTooltipCell, "GTK", "gtk_tree_view_set_tooltip_cell", false) | |||
| 1691 | + | ||||
| 1524 | xTreeViewSetTooltipCell(x.GoPointer(), TooltipVar.GoPointer(), PathVar, ColumnVar.GoPointer(), CellVar.GoPointer()) | 1692 | xTreeViewSetTooltipCell(x.GoPointer(), TooltipVar.GoPointer(), PathVar, ColumnVar.GoPointer(), CellVar.GoPointer()) | ||
| 1525 | } | 1693 | } | ||
| 1526 | 1694 | ||||
| @@ -1537,6 +1705,8 @@ var xTreeViewSetTooltipColumn func(uintptr, int) | |||||
| 1537 | // Note that the signal handler sets the text with gtk_tooltip_set_markup(), | 1705 | // Note that the signal handler sets the text with gtk_tooltip_set_markup(), | ||
| 1538 | // so &, <, etc have to be escaped in the text. | 1706 | // so &, <, etc have to be escaped in the text. | ||
| 1539 | func (x *TreeView) SetTooltipColumn(ColumnVar int) { | 1707 | func (x *TreeView) SetTooltipColumn(ColumnVar int) { | ||
| 1708 | + | core.LazyRegister(&xTreeViewSetTooltipColumn, "GTK", "gtk_tree_view_set_tooltip_column", false) | |||
| 1709 | + | ||||
| 1540 | xTreeViewSetTooltipColumn(x.GoPointer(), ColumnVar) | 1710 | xTreeViewSetTooltipColumn(x.GoPointer(), ColumnVar) | ||
| 1541 | } | 1711 | } | ||
| 1542 | 1712 | ||||
| @@ -1546,6 +1716,8 @@ var xTreeViewSetTooltipRow func(uintptr, uintptr, *TreePath) | |||||
| 1546 | // See also gtk_tree_view_set_tooltip_column() for a simpler alternative. | 1716 | // See also gtk_tree_view_set_tooltip_column() for a simpler alternative. | ||
| 1547 | // See also gtk_tooltip_set_tip_area(). | 1717 | // See also gtk_tooltip_set_tip_area(). | ||
| 1548 | func (x *TreeView) SetTooltipRow(TooltipVar *Tooltip, PathVar *TreePath) { | 1718 | func (x *TreeView) SetTooltipRow(TooltipVar *Tooltip, PathVar *TreePath) { | ||
| 1719 | + | core.LazyRegister(&xTreeViewSetTooltipRow, "GTK", "gtk_tree_view_set_tooltip_row", false) | |||
| 1720 | + | ||||
| 1549 | xTreeViewSetTooltipRow(x.GoPointer(), TooltipVar.GoPointer(), PathVar) | 1721 | xTreeViewSetTooltipRow(x.GoPointer(), TooltipVar.GoPointer(), PathVar) | ||
| 1550 | } | 1722 | } | ||
| 1551 | 1723 | ||||
| @@ -1555,6 +1727,8 @@ var xTreeViewUnsetRowsDragDest func(uintptr) | |||||
| 1555 | // gtk_tree_view_enable_model_drag_dest(). Calling this method sets | 1727 | // gtk_tree_view_enable_model_drag_dest(). Calling this method sets | ||
| 1556 | // `GtkTreeView`:reorderable to %FALSE. | 1728 | // `GtkTreeView`:reorderable to %FALSE. | ||
| 1557 | func (x *TreeView) UnsetRowsDragDest() { | 1729 | func (x *TreeView) UnsetRowsDragDest() { | ||
| 1730 | + | core.LazyRegister(&xTreeViewUnsetRowsDragDest, "GTK", "gtk_tree_view_unset_rows_drag_dest", false) | |||
| 1731 | + | ||||
| 1558 | xTreeViewUnsetRowsDragDest(x.GoPointer()) | 1732 | xTreeViewUnsetRowsDragDest(x.GoPointer()) | ||
| 1559 | } | 1733 | } | ||
| 1560 | 1734 | ||||
| @@ -1564,6 +1738,8 @@ var xTreeViewUnsetRowsDragSource func(uintptr) | |||||
| 1564 | // gtk_tree_view_enable_model_drag_source(). Calling this method sets | 1738 | // gtk_tree_view_enable_model_drag_source(). Calling this method sets | ||
| 1565 | // `GtkTreeView`:reorderable to %FALSE. | 1739 | // `GtkTreeView`:reorderable to %FALSE. | ||
| 1566 | func (x *TreeView) UnsetRowsDragSource() { | 1740 | func (x *TreeView) UnsetRowsDragSource() { | ||
| 1741 | + | core.LazyRegister(&xTreeViewUnsetRowsDragSource, "GTK", "gtk_tree_view_unset_rows_drag_source", false) | |||
| 1742 | + | ||||
| 1567 | xTreeViewUnsetRowsDragSource(x.GoPointer()) | 1743 | xTreeViewUnsetRowsDragSource(x.GoPointer()) | ||
| 1568 | } | 1744 | } | ||
| 1569 | 1745 | ||||
| @@ -2555,109 +2731,4 @@ func (x *TreeView) SetVscrollPolicy(PolicyVar ScrollablePolicy) { | |||||
| 2555 | func init() { | 2731 | func init() { | ||
| 2556 | core.SetPackageName("GTK", "gtk4") | 2732 | core.SetPackageName("GTK", "gtk4") | ||
| 2557 | core.SetSharedLibraries("GTK", []string{"libgtk-4.so.1", "libgtk-4.1.dylib"}) | 2733 | core.SetSharedLibraries("GTK", []string{"libgtk-4.so.1", "libgtk-4.1.dylib"}) | ||
| 2558 | - | var libs []uintptr | |||
| 2559 | - | for _, libPath := range core.GetPaths("GTK") { | |||
| 2560 | - | lib, err := purego.Dlopen(libPath, purego.RTLD_NOW|purego.RTLD_GLOBAL) | |||
| 2561 | - | if err != nil { | |||
| 2562 | - | panic(err) | |||
| 2563 | - | } | |||
| 2564 | - | libs = append(libs, lib) | |||
| 2565 | - | } | |||
| 2566 | - | ||||
| 2567 | - | core.PuregoSafeRegister(&xTreeViewDropPositionGLibType, libs, "gtk_tree_view_drop_position_get_type") | |||
| 2568 | - | ||||
| 2569 | - | core.PuregoSafeRegister(&xTreeViewGLibType, libs, "gtk_tree_view_get_type") | |||
| 2570 | - | ||||
| 2571 | - | core.PuregoSafeRegister(&xNewTreeView, libs, "gtk_tree_view_new") | |||
| 2572 | - | core.PuregoSafeRegister(&xNewTreeViewWithModel, libs, "gtk_tree_view_new_with_model") | |||
| 2573 | - | ||||
| 2574 | - | core.PuregoSafeRegister(&xTreeViewAppendColumn, libs, "gtk_tree_view_append_column") | |||
| 2575 | - | core.PuregoSafeRegister(&xTreeViewCollapseAll, libs, "gtk_tree_view_collapse_all") | |||
| 2576 | - | core.PuregoSafeRegister(&xTreeViewCollapseRow, libs, "gtk_tree_view_collapse_row") | |||
| 2577 | - | core.PuregoSafeRegister(&xTreeViewColumnsAutosize, libs, "gtk_tree_view_columns_autosize") | |||
| 2578 | - | core.PuregoSafeRegister(&xTreeViewConvertBinWindowToTreeCoords, libs, "gtk_tree_view_convert_bin_window_to_tree_coords") | |||
| 2579 | - | core.PuregoSafeRegister(&xTreeViewConvertBinWindowToWidgetCoords, libs, "gtk_tree_view_convert_bin_window_to_widget_coords") | |||
| 2580 | - | core.PuregoSafeRegister(&xTreeViewConvertTreeToBinWindowCoords, libs, "gtk_tree_view_convert_tree_to_bin_window_coords") | |||
| 2581 | - | core.PuregoSafeRegister(&xTreeViewConvertTreeToWidgetCoords, libs, "gtk_tree_view_convert_tree_to_widget_coords") | |||
| 2582 | - | core.PuregoSafeRegister(&xTreeViewConvertWidgetToBinWindowCoords, libs, "gtk_tree_view_convert_widget_to_bin_window_coords") | |||
| 2583 | - | core.PuregoSafeRegister(&xTreeViewConvertWidgetToTreeCoords, libs, "gtk_tree_view_convert_widget_to_tree_coords") | |||
| 2584 | - | core.PuregoSafeRegister(&xTreeViewCreateRowDragIcon, libs, "gtk_tree_view_create_row_drag_icon") | |||
| 2585 | - | core.PuregoSafeRegister(&xTreeViewEnableModelDragDest, libs, "gtk_tree_view_enable_model_drag_dest") | |||
| 2586 | - | core.PuregoSafeRegister(&xTreeViewEnableModelDragSource, libs, "gtk_tree_view_enable_model_drag_source") | |||
| 2587 | - | core.PuregoSafeRegister(&xTreeViewExpandAll, libs, "gtk_tree_view_expand_all") | |||
| 2588 | - | core.PuregoSafeRegister(&xTreeViewExpandRow, libs, "gtk_tree_view_expand_row") | |||
| 2589 | - | core.PuregoSafeRegister(&xTreeViewExpandToPath, libs, "gtk_tree_view_expand_to_path") | |||
| 2590 | - | core.PuregoSafeRegister(&xTreeViewGetActivateOnSingleClick, libs, "gtk_tree_view_get_activate_on_single_click") | |||
| 2591 | - | core.PuregoSafeRegister(&xTreeViewGetBackgroundArea, libs, "gtk_tree_view_get_background_area") | |||
| 2592 | - | core.PuregoSafeRegister(&xTreeViewGetCellArea, libs, "gtk_tree_view_get_cell_area") | |||
| 2593 | - | core.PuregoSafeRegister(&xTreeViewGetColumn, libs, "gtk_tree_view_get_column") | |||
| 2594 | - | core.PuregoSafeRegister(&xTreeViewGetColumns, libs, "gtk_tree_view_get_columns") | |||
| 2595 | - | core.PuregoSafeRegister(&xTreeViewGetCursor, libs, "gtk_tree_view_get_cursor") | |||
| 2596 | - | core.PuregoSafeRegister(&xTreeViewGetDestRowAtPos, libs, "gtk_tree_view_get_dest_row_at_pos") | |||
| 2597 | - | core.PuregoSafeRegister(&xTreeViewGetDragDestRow, libs, "gtk_tree_view_get_drag_dest_row") | |||
| 2598 | - | core.PuregoSafeRegister(&xTreeViewGetEnableSearch, libs, "gtk_tree_view_get_enable_search") | |||
| 2599 | - | core.PuregoSafeRegister(&xTreeViewGetEnableTreeLines, libs, "gtk_tree_view_get_enable_tree_lines") | |||
| 2600 | - | core.PuregoSafeRegister(&xTreeViewGetExpanderColumn, libs, "gtk_tree_view_get_expander_column") | |||
| 2601 | - | core.PuregoSafeRegister(&xTreeViewGetFixedHeightMode, libs, "gtk_tree_view_get_fixed_height_mode") | |||
| 2602 | - | core.PuregoSafeRegister(&xTreeViewGetGridLines, libs, "gtk_tree_view_get_grid_lines") | |||
| 2603 | - | core.PuregoSafeRegister(&xTreeViewGetHeadersClickable, libs, "gtk_tree_view_get_headers_clickable") | |||
| 2604 | - | core.PuregoSafeRegister(&xTreeViewGetHeadersVisible, libs, "gtk_tree_view_get_headers_visible") | |||
| 2605 | - | core.PuregoSafeRegister(&xTreeViewGetHoverExpand, libs, "gtk_tree_view_get_hover_expand") | |||
| 2606 | - | core.PuregoSafeRegister(&xTreeViewGetHoverSelection, libs, "gtk_tree_view_get_hover_selection") | |||
| 2607 | - | core.PuregoSafeRegister(&xTreeViewGetLevelIndentation, libs, "gtk_tree_view_get_level_indentation") | |||
| 2608 | - | core.PuregoSafeRegister(&xTreeViewGetModel, libs, "gtk_tree_view_get_model") | |||
| 2609 | - | core.PuregoSafeRegister(&xTreeViewGetNColumns, libs, "gtk_tree_view_get_n_columns") | |||
| 2610 | - | core.PuregoSafeRegister(&xTreeViewGetPathAtPos, libs, "gtk_tree_view_get_path_at_pos") | |||
| 2611 | - | core.PuregoSafeRegister(&xTreeViewGetReorderable, libs, "gtk_tree_view_get_reorderable") | |||
| 2612 | - | core.PuregoSafeRegister(&xTreeViewGetRowSeparatorFunc, libs, "gtk_tree_view_get_row_separator_func") | |||
| 2613 | - | core.PuregoSafeRegister(&xTreeViewGetRubberBanding, libs, "gtk_tree_view_get_rubber_banding") | |||
| 2614 | - | core.PuregoSafeRegister(&xTreeViewGetSearchColumn, libs, "gtk_tree_view_get_search_column") | |||
| 2615 | - | core.PuregoSafeRegister(&xTreeViewGetSearchEntry, libs, "gtk_tree_view_get_search_entry") | |||
| 2616 | - | core.PuregoSafeRegister(&xTreeViewGetSearchEqualFunc, libs, "gtk_tree_view_get_search_equal_func") | |||
| 2617 | - | core.PuregoSafeRegister(&xTreeViewGetSelection, libs, "gtk_tree_view_get_selection") | |||
| 2618 | - | core.PuregoSafeRegister(&xTreeViewGetShowExpanders, libs, "gtk_tree_view_get_show_expanders") | |||
| 2619 | - | core.PuregoSafeRegister(&xTreeViewGetTooltipColumn, libs, "gtk_tree_view_get_tooltip_column") | |||
| 2620 | - | core.PuregoSafeRegister(&xTreeViewGetTooltipContext, libs, "gtk_tree_view_get_tooltip_context") | |||
| 2621 | - | core.PuregoSafeRegister(&xTreeViewGetVisibleRange, libs, "gtk_tree_view_get_visible_range") | |||
| 2622 | - | core.PuregoSafeRegister(&xTreeViewGetVisibleRect, libs, "gtk_tree_view_get_visible_rect") | |||
| 2623 | - | core.PuregoSafeRegister(&xTreeViewInsertColumn, libs, "gtk_tree_view_insert_column") | |||
| 2624 | - | core.PuregoSafeRegister(&xTreeViewInsertColumnWithAttributes, libs, "gtk_tree_view_insert_column_with_attributes") | |||
| 2625 | - | core.PuregoSafeRegister(&xTreeViewInsertColumnWithDataFunc, libs, "gtk_tree_view_insert_column_with_data_func") | |||
| 2626 | - | core.PuregoSafeRegister(&xTreeViewIsBlankAtPos, libs, "gtk_tree_view_is_blank_at_pos") | |||
| 2627 | - | core.PuregoSafeRegister(&xTreeViewIsRubberBandingActive, libs, "gtk_tree_view_is_rubber_banding_active") | |||
| 2628 | - | core.PuregoSafeRegister(&xTreeViewMapExpandedRows, libs, "gtk_tree_view_map_expanded_rows") | |||
| 2629 | - | core.PuregoSafeRegister(&xTreeViewMoveColumnAfter, libs, "gtk_tree_view_move_column_after") | |||
| 2630 | - | core.PuregoSafeRegister(&xTreeViewRemoveColumn, libs, "gtk_tree_view_remove_column") | |||
| 2631 | - | core.PuregoSafeRegister(&xTreeViewRowActivated, libs, "gtk_tree_view_row_activated") | |||
| 2632 | - | core.PuregoSafeRegister(&xTreeViewRowExpanded, libs, "gtk_tree_view_row_expanded") | |||
| 2633 | - | core.PuregoSafeRegister(&xTreeViewScrollToCell, libs, "gtk_tree_view_scroll_to_cell") | |||
| 2634 | - | core.PuregoSafeRegister(&xTreeViewScrollToPoint, libs, "gtk_tree_view_scroll_to_point") | |||
| 2635 | - | core.PuregoSafeRegister(&xTreeViewSetActivateOnSingleClick, libs, "gtk_tree_view_set_activate_on_single_click") | |||
| 2636 | - | core.PuregoSafeRegister(&xTreeViewSetColumnDragFunction, libs, "gtk_tree_view_set_column_drag_function") | |||
| 2637 | - | core.PuregoSafeRegister(&xTreeViewSetCursor, libs, "gtk_tree_view_set_cursor") | |||
| 2638 | - | core.PuregoSafeRegister(&xTreeViewSetCursorOnCell, libs, "gtk_tree_view_set_cursor_on_cell") | |||
| 2639 | - | core.PuregoSafeRegister(&xTreeViewSetDragDestRow, libs, "gtk_tree_view_set_drag_dest_row") | |||
| 2640 | - | core.PuregoSafeRegister(&xTreeViewSetEnableSearch, libs, "gtk_tree_view_set_enable_search") | |||
| 2641 | - | core.PuregoSafeRegister(&xTreeViewSetEnableTreeLines, libs, "gtk_tree_view_set_enable_tree_lines") | |||
| 2642 | - | core.PuregoSafeRegister(&xTreeViewSetExpanderColumn, libs, "gtk_tree_view_set_expander_column") | |||
| 2643 | - | core.PuregoSafeRegister(&xTreeViewSetFixedHeightMode, libs, "gtk_tree_view_set_fixed_height_mode") | |||
| 2644 | - | core.PuregoSafeRegister(&xTreeViewSetGridLines, libs, "gtk_tree_view_set_grid_lines") | |||
| 2645 | - | core.PuregoSafeRegister(&xTreeViewSetHeadersClickable, libs, "gtk_tree_view_set_headers_clickable") | |||
| 2646 | - | core.PuregoSafeRegister(&xTreeViewSetHeadersVisible, libs, "gtk_tree_view_set_headers_visible") | |||
| 2647 | - | core.PuregoSafeRegister(&xTreeViewSetHoverExpand, libs, "gtk_tree_view_set_hover_expand") | |||
| 2648 | - | core.PuregoSafeRegister(&xTreeViewSetHoverSelection, libs, "gtk_tree_view_set_hover_selection") | |||
| 2649 | - | core.PuregoSafeRegister(&xTreeViewSetLevelIndentation, libs, "gtk_tree_view_set_level_indentation") | |||
| 2650 | - | core.PuregoSafeRegister(&xTreeViewSetModel, libs, "gtk_tree_view_set_model") | |||
| 2651 | - | core.PuregoSafeRegister(&xTreeViewSetReorderable, libs, "gtk_tree_view_set_reorderable") | |||
| 2652 | - | core.PuregoSafeRegister(&xTreeViewSetRowSeparatorFunc, libs, "gtk_tree_view_set_row_separator_func") | |||
| 2653 | - | core.PuregoSafeRegister(&xTreeViewSetRubberBanding, libs, "gtk_tree_view_set_rubber_banding") | |||
| 2654 | - | core.PuregoSafeRegister(&xTreeViewSetSearchColumn, libs, "gtk_tree_view_set_search_column") | |||
| 2655 | - | core.PuregoSafeRegister(&xTreeViewSetSearchEntry, libs, "gtk_tree_view_set_search_entry") | |||
| 2656 | - | core.PuregoSafeRegister(&xTreeViewSetSearchEqualFunc, libs, "gtk_tree_view_set_search_equal_func") | |||
| 2657 | - | core.PuregoSafeRegister(&xTreeViewSetShowExpanders, libs, "gtk_tree_view_set_show_expanders") | |||
| 2658 | - | core.PuregoSafeRegister(&xTreeViewSetTooltipCell, libs, "gtk_tree_view_set_tooltip_cell") | |||
| 2659 | - | core.PuregoSafeRegister(&xTreeViewSetTooltipColumn, libs, "gtk_tree_view_set_tooltip_column") | |||
| 2660 | - | core.PuregoSafeRegister(&xTreeViewSetTooltipRow, libs, "gtk_tree_view_set_tooltip_row") | |||
| 2661 | - | core.PuregoSafeRegister(&xTreeViewUnsetRowsDragDest, libs, "gtk_tree_view_unset_rows_drag_dest") | |||
| 2662 | - | core.PuregoSafeRegister(&xTreeViewUnsetRowsDragSource, libs, "gtk_tree_view_unset_rows_drag_source") | |||
| 2663 | } | 2734 | } | ||