fix(deps): repin puregotk lazy registration fix
- commit
- d685b6e820d6baba0d0dea254169664012ed203d
- author
- brice · · 2026-07-14 18:24 UTC
- parent
- ec6db2e
- signature
- GPG Verified
CD88F9E564E0102646FB6077A1A07C7C7C3E349D· arch-gpg Verified for the committer email
907 files · +27874 -25294
M go.mod +3 -1
| @@ -11,7 +11,7 @@ require ( | |||
| 11 | 11 | github.com/bnema/purego-pipewire v0.1.5-0.20260714124450-6504b9cdf02a | |
| 12 | 12 | github.com/bnema/purego-sqlite v0.1.4-0.20260714131321-3614fe683b9c | |
| 13 | 13 | github.com/bnema/purego-webp v0.2.1-0.20260714152238-7bc9c402fdf6 | |
| 14 | - | github.com/bnema/puregotk v0.7.0 | |
| 14 | + | github.com/bnema/puregotk v0.7.1-0.20260714181430-679a9ed72959 | |
| 15 | 15 | github.com/charmbracelet/bubbles v1.0.0 | |
| 16 | 16 | github.com/charmbracelet/bubbletea v1.3.10 | |
| 17 | 17 | github.com/charmbracelet/lipgloss v1.1.0 | |
| @@ -47,6 +47,7 @@ require ( | |||
| 47 | 47 | github.com/erikgeiser/coninput v0.0.0-20211004153227-1c3628e74d0f // indirect | |
| 48 | 48 | github.com/fatih/color v1.19.0 // indirect | |
| 49 | 49 | github.com/go-viper/mapstructure/v2 v2.5.0 // indirect | |
| 50 | + | github.com/google/go-cmp v0.7.0 // indirect | |
| 50 | 51 | github.com/inconshreveable/mousetrap v1.1.0 // indirect | |
| 51 | 52 | github.com/lucasb-eyer/go-colorful v1.4.0 // indirect | |
| 52 | 53 | github.com/mattn/go-colorable v0.1.14 // indirect | |
| @@ -80,6 +81,7 @@ require ( | |||
| 80 | 81 | golang.org/x/text v0.40.0 // indirect | |
| 81 | 82 | golang.org/x/tools v0.47.0 // indirect | |
| 82 | 83 | gopkg.in/check.v1 v1.0.0-20201130134442-10cb98267c6c // indirect | |
| 84 | + | mvdan.cc/gofumpt v0.9.2 // indirect | |
| 83 | 85 | ) | |
| 84 | 86 | ||
| 85 | 87 | tool github.com/a-h/templ/cmd/templ | |
| @@ -11,7 +11,7 @@ require ( | |||||
| 11 | github.com/bnema/purego-pipewire v0.1.5-0.20260714124450-6504b9cdf02a | 11 | github.com/bnema/purego-pipewire v0.1.5-0.20260714124450-6504b9cdf02a | ||
| 12 | github.com/bnema/purego-sqlite v0.1.4-0.20260714131321-3614fe683b9c | 12 | github.com/bnema/purego-sqlite v0.1.4-0.20260714131321-3614fe683b9c | ||
| 13 | github.com/bnema/purego-webp v0.2.1-0.20260714152238-7bc9c402fdf6 | 13 | github.com/bnema/purego-webp v0.2.1-0.20260714152238-7bc9c402fdf6 | ||
| 14 | - | github.com/bnema/puregotk v0.7.0 | 14 | + | github.com/bnema/puregotk v0.7.1-0.20260714181430-679a9ed72959 |
| 15 | github.com/charmbracelet/bubbles v1.0.0 | 15 | github.com/charmbracelet/bubbles v1.0.0 | ||
| 16 | github.com/charmbracelet/bubbletea v1.3.10 | 16 | github.com/charmbracelet/bubbletea v1.3.10 | ||
| 17 | github.com/charmbracelet/lipgloss v1.1.0 | 17 | github.com/charmbracelet/lipgloss v1.1.0 | ||
| @@ -47,6 +47,7 @@ require ( | |||||
| 47 | github.com/erikgeiser/coninput v0.0.0-20211004153227-1c3628e74d0f // indirect | 47 | github.com/erikgeiser/coninput v0.0.0-20211004153227-1c3628e74d0f // indirect | ||
| 48 | github.com/fatih/color v1.19.0 // indirect | 48 | github.com/fatih/color v1.19.0 // indirect | ||
| 49 | github.com/go-viper/mapstructure/v2 v2.5.0 // indirect | 49 | github.com/go-viper/mapstructure/v2 v2.5.0 // indirect | ||
| 50 | + | github.com/google/go-cmp v0.7.0 // indirect | |||
| 50 | github.com/inconshreveable/mousetrap v1.1.0 // indirect | 51 | github.com/inconshreveable/mousetrap v1.1.0 // indirect | ||
| 51 | github.com/lucasb-eyer/go-colorful v1.4.0 // indirect | 52 | github.com/lucasb-eyer/go-colorful v1.4.0 // indirect | ||
| 52 | github.com/mattn/go-colorable v0.1.14 // indirect | 53 | github.com/mattn/go-colorable v0.1.14 // indirect | ||
| @@ -80,6 +81,7 @@ require ( | |||||
| 80 | golang.org/x/text v0.40.0 // indirect | 81 | golang.org/x/text v0.40.0 // indirect | ||
| 81 | golang.org/x/tools v0.47.0 // indirect | 82 | golang.org/x/tools v0.47.0 // indirect | ||
| 82 | gopkg.in/check.v1 v1.0.0-20201130134442-10cb98267c6c // indirect | 83 | gopkg.in/check.v1 v1.0.0-20201130134442-10cb98267c6c // indirect | ||
| 84 | + | mvdan.cc/gofumpt v0.9.2 // indirect | |||
| 83 | ) | 85 | ) | ||
| 84 | 86 | ||||
| 85 | tool github.com/a-h/templ/cmd/templ | 87 | tool github.com/a-h/templ/cmd/templ | ||
M go.sum +4 -16 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/gdkdmabuftexturebuilder_extra.go +6 -0 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 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/gthemedicon.go +10 -19 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/gthreadedresolver.go +7 -0 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/gthreadedsocketservice.go +2 -12 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/gtlsbackend.go +69 -33 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/gtlscertificate.go +25 -29 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/gtlsclientconnection.go +55 -29 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/gtlsconnection.go +56 -46 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/gtlsdatabase.go +51 -48 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/gtlsfiledatabase.go +2 -13 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/gtlsinteraction.go +27 -31 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/gtlspassword.go +20 -22 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/gtlsserverconnection.go +2 -13 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/gunixconnection.go +11 -20 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/gunixcredentialsmessage.go +6 -17 generated file: collapsed
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 +22 -16 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 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/gtk/gtktreeviewcolumn.go +102 -68 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/gtk/gtktypes.go +74 -53 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/gtk/gtkurilauncher.go +11 -19 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/gtk/gtkversion.go +13 -19 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/gtk/gtkvideo.go +28 -30 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/gtk/gtkviewport.go +11 -19 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/gtk/gtkvolumebutton.go +2 -13 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/gtk/gtkwidget.go +357 -207
| @@ -44,6 +44,7 @@ type Requisition struct { | |||
| 44 | 44 | var xRequisitionGLibType func() types.GType | |
| 45 | 45 | ||
| 46 | 46 | func RequisitionGLibType() types.GType { | |
| 47 | + | core.LazyRegister(&xRequisitionGLibType, "GTK", "gtk_requisition_get_type", false) | |
| 47 | 48 | return xRequisitionGLibType() | |
| 48 | 49 | } | |
| 49 | 50 | ||
| @@ -65,6 +66,8 @@ var xNewRequisition func() uintptr | |||
| 65 | 66 | // | |
| 66 | 67 | // The struct is initialized to zero. | |
| 67 | 68 | func NewRequisition() *Requisition { | |
| 69 | + | core.LazyRegister(&xNewRequisition, "GTK", "gtk_requisition_new", false) | |
| 70 | + | ||
| 68 | 71 | cret := xNewRequisition() | |
| 69 | 72 | if cret == 0 { | |
| 70 | 73 | return nil | |
| @@ -76,6 +79,8 @@ var xRequisitionCopy func(uintptr) uintptr | |||
| 76 | 79 | ||
| 77 | 80 | // Copies a `GtkRequisition`. | |
| 78 | 81 | func (x *Requisition) Copy() *Requisition { | |
| 82 | + | core.LazyRegister(&xRequisitionCopy, "GTK", "gtk_requisition_copy", false) | |
| 83 | + | ||
| 79 | 84 | cret := xRequisitionCopy(x.GoPointer()) | |
| 80 | 85 | if cret == 0 { | |
| 81 | 86 | return nil | |
| @@ -87,6 +92,8 @@ var xRequisitionFree func(uintptr) | |||
| 87 | 92 | ||
| 88 | 93 | // Frees a `GtkRequisition`. | |
| 89 | 94 | func (x *Requisition) Free() { | |
| 95 | + | core.LazyRegister(&xRequisitionFree, "GTK", "gtk_requisition_free", false) | |
| 96 | + | ||
| 90 | 97 | xRequisitionFree(x.GoPointer()) | |
| 91 | 98 | } | |
| 92 | 99 | ||
| @@ -176,6 +183,8 @@ var xWidgetClassAddBinding func(uintptr, uint, gdk.ModifierType, uintptr, uintpt | |||
| 176 | 183 | // you will have to use [method@Gtk.WidgetClass.add_shortcut] with a custom | |
| 177 | 184 | // shortcut. | |
| 178 | 185 | func (x *WidgetClass) AddBinding(KeyvalVar uint, ModsVar gdk.ModifierType, CallbackVar *ShortcutFunc, FormatStringVar *string, varArgs ...interface{}) { | |
| 186 | + | core.LazyRegister(&xWidgetClassAddBinding, "GTK", "gtk_widget_class_add_binding", false) | |
| 187 | + | ||
| 179 | 188 | FormatStringVarPtr := core.GStrdupNullable(FormatStringVar) | |
| 180 | 189 | defer core.GFreeNullable(FormatStringVarPtr) | |
| 181 | 190 | ||
| @@ -194,6 +203,8 @@ var xWidgetClassAddBindingAction func(uintptr, uint, gdk.ModifierType, string, u | |||
| 194 | 203 | // [method@Gtk.WidgetClass.add_shortcut] and must be called during class | |
| 195 | 204 | // initialization. | |
| 196 | 205 | func (x *WidgetClass) AddBindingAction(KeyvalVar uint, ModsVar gdk.ModifierType, ActionNameVar string, FormatStringVar *string, varArgs ...interface{}) { | |
| 206 | + | core.LazyRegister(&xWidgetClassAddBindingAction, "GTK", "gtk_widget_class_add_binding_action", false) | |
| 207 | + | ||
| 197 | 208 | FormatStringVarPtr := core.GStrdupNullable(FormatStringVar) | |
| 198 | 209 | defer core.GFreeNullable(FormatStringVarPtr) | |
| 199 | 210 | ||
| @@ -212,6 +223,8 @@ var xWidgetClassAddBindingSignal func(uintptr, uint, gdk.ModifierType, string, u | |||
| 212 | 223 | // [method@Gtk.WidgetClass.add_shortcut] and must be called during class | |
| 213 | 224 | // initialization. | |
| 214 | 225 | func (x *WidgetClass) AddBindingSignal(KeyvalVar uint, ModsVar gdk.ModifierType, SignalVar string, FormatStringVar *string, varArgs ...interface{}) { | |
| 226 | + | core.LazyRegister(&xWidgetClassAddBindingSignal, "GTK", "gtk_widget_class_add_binding_signal", false) | |
| 227 | + | ||
| 215 | 228 | FormatStringVarPtr := core.GStrdupNullable(FormatStringVar) | |
| 216 | 229 | defer core.GFreeNullable(FormatStringVarPtr) | |
| 217 | 230 | ||
| @@ -231,6 +244,8 @@ var xWidgetClassAddShortcut func(uintptr, uintptr) | |||
| 231 | 244 | // This function must only be used in class initialization functions | |
| 232 | 245 | // otherwise it is not guaranteed that the shortcut will be installed. | |
| 233 | 246 | func (x *WidgetClass) AddShortcut(ShortcutVar *Shortcut) { | |
| 247 | + | core.LazyRegister(&xWidgetClassAddShortcut, "GTK", "gtk_widget_class_add_shortcut", false) | |
| 248 | + | ||
| 234 | 249 | xWidgetClassAddShortcut(x.GoPointer(), ShortcutVar.GoPointer()) | |
| 235 | 250 | } | |
| 236 | 251 | ||
| @@ -246,6 +261,8 @@ var xWidgetClassBindTemplateCallbackFull func(uintptr, string, uintptr) | |||
| 246 | 261 | // Note that this must be called from a composite widget classes | |
| 247 | 262 | // class initializer after calling [method@Gtk.WidgetClass.set_template]. | |
| 248 | 263 | func (x *WidgetClass) BindTemplateCallbackFull(CallbackNameVar string, CallbackSymbolVar *gobject.Callback) { | |
| 264 | + | core.LazyRegister(&xWidgetClassBindTemplateCallbackFull, "GTK", "gtk_widget_class_bind_template_callback_full", false) | |
| 265 | + | ||
| 249 | 266 | xWidgetClassBindTemplateCallbackFull(x.GoPointer(), CallbackNameVar, glib.NewCallback(CallbackSymbolVar)) | |
| 250 | 267 | } | |
| 251 | 268 | ||
| @@ -280,6 +297,8 @@ var xWidgetClassBindTemplateChildFull func(uintptr, string, bool, int) | |||
| 280 | 297 | // Note that this must be called from a composite widget classes class | |
| 281 | 298 | // initializer after calling [method@Gtk.WidgetClass.set_template]. | |
| 282 | 299 | func (x *WidgetClass) BindTemplateChildFull(NameVar string, InternalChildVar bool, StructOffsetVar int) { | |
| 300 | + | core.LazyRegister(&xWidgetClassBindTemplateChildFull, "GTK", "gtk_widget_class_bind_template_child_full", false) | |
| 301 | + | ||
| 283 | 302 | xWidgetClassBindTemplateChildFull(x.GoPointer(), NameVar, InternalChildVar, StructOffsetVar) | |
| 284 | 303 | } | |
| 285 | 304 | ||
| @@ -292,6 +311,8 @@ var xWidgetClassGetAccessibleRole func(uintptr) AccessibleRole | |||
| 292 | 311 | // | |
| 293 | 312 | // See also: [method@Gtk.Accessible.get_accessible_role]. | |
| 294 | 313 | func (x *WidgetClass) GetAccessibleRole() AccessibleRole { | |
| 314 | + | core.LazyRegister(&xWidgetClassGetAccessibleRole, "GTK", "gtk_widget_class_get_accessible_role", false) | |
| 315 | + | ||
| 295 | 316 | cret := xWidgetClassGetAccessibleRole(x.GoPointer()) | |
| 296 | 317 | return cret | |
| 297 | 318 | } | |
| @@ -303,6 +324,8 @@ var xWidgetClassGetActivateSignal func(uintptr) uint | |||
| 303 | 324 | // The activation signal is set using | |
| 304 | 325 | // [method@Gtk.WidgetClass.set_activate_signal]. | |
| 305 | 326 | func (x *WidgetClass) GetActivateSignal() uint { | |
| 327 | + | core.LazyRegister(&xWidgetClassGetActivateSignal, "GTK", "gtk_widget_class_get_activate_signal", false) | |
| 328 | + | ||
| 306 | 329 | cret := xWidgetClassGetActivateSignal(x.GoPointer()) | |
| 307 | 330 | return cret | |
| 308 | 331 | } | |
| @@ -313,6 +336,8 @@ var xWidgetClassGetCssName func(uintptr) string | |||
| 313 | 336 | // | |
| 314 | 337 | // See [method@Gtk.WidgetClass.set_css_name] for details. | |
| 315 | 338 | func (x *WidgetClass) GetCssName() string { | |
| 339 | + | core.LazyRegister(&xWidgetClassGetCssName, "GTK", "gtk_widget_class_get_css_name", false) | |
| 340 | + | ||
| 316 | 341 | cret := xWidgetClassGetCssName(x.GoPointer()) | |
| 317 | 342 | return cret | |
| 318 | 343 | } | |
| @@ -324,6 +349,8 @@ var xWidgetClassGetLayoutManagerType func(uintptr) types.GType | |||
| 324 | 349 | // | |
| 325 | 350 | // See also: [method@Gtk.WidgetClass.set_layout_manager_type]. | |
| 326 | 351 | func (x *WidgetClass) GetLayoutManagerType() types.GType { | |
| 352 | + | core.LazyRegister(&xWidgetClassGetLayoutManagerType, "GTK", "gtk_widget_class_get_layout_manager_type", false) | |
| 353 | + | ||
| 327 | 354 | cret := xWidgetClassGetLayoutManagerType(x.GoPointer()) | |
| 328 | 355 | return cret | |
| 329 | 356 | } | |
| @@ -338,6 +365,8 @@ var xWidgetClassInstallAction func(uintptr, string, uintptr, uintptr) | |||
| 338 | 365 | // they have is whether they are enabled or not (which can be changed | |
| 339 | 366 | // with [method@Gtk.Widget.action_set_enabled]). | |
| 340 | 367 | func (x *WidgetClass) InstallAction(ActionNameVar string, ParameterTypeVar *string, ActivateVar *WidgetActionActivateFunc) { | |
| 368 | + | core.LazyRegister(&xWidgetClassInstallAction, "GTK", "gtk_widget_class_install_action", false) | |
| 369 | + | ||
| 341 | 370 | ParameterTypeVarPtr := core.GStrdupNullable(ParameterTypeVar) | |
| 342 | 371 | defer core.GFreeNullable(ParameterTypeVarPtr) | |
| 343 | 372 | ||
| @@ -362,6 +391,8 @@ var xWidgetClassInstallPropertyAction func(uintptr, string, string) | |||
| 362 | 391 | // toggle the property value. Otherwise, the action will have a parameter | |
| 363 | 392 | // of the same type as the property. | |
| 364 | 393 | func (x *WidgetClass) InstallPropertyAction(ActionNameVar string, PropertyNameVar string) { | |
| 394 | + | core.LazyRegister(&xWidgetClassInstallPropertyAction, "GTK", "gtk_widget_class_install_property_action", false) | |
| 395 | + | ||
| 365 | 396 | xWidgetClassInstallPropertyAction(x.GoPointer(), ActionNameVar, PropertyNameVar) | |
| 366 | 397 | } | |
| 367 | 398 | ||
| @@ -377,6 +408,8 @@ var xWidgetClassQueryAction func(uintptr, uint, *types.GType, *string, **glib.Va | |||
| 377 | 408 | // by parent classes. You can identify those by looking | |
| 378 | 409 | // at @owner. | |
| 379 | 410 | func (x *WidgetClass) QueryAction(IndexVar uint, OwnerVar *types.GType, ActionNameVar *string, ParameterTypeVar **glib.VariantType, PropertyNameVar *string) bool { | |
| 411 | + | core.LazyRegister(&xWidgetClassQueryAction, "GTK", "gtk_widget_class_query_action", false) | |
| 412 | + | ||
| 380 | 413 | cret := xWidgetClassQueryAction(x.GoPointer(), IndexVar, OwnerVar, ActionNameVar, ParameterTypeVar, PropertyNameVar) | |
| 381 | 414 | return cret | |
| 382 | 415 | } | |
| @@ -388,6 +421,8 @@ var xWidgetClassSetAccessibleRole func(uintptr, AccessibleRole) | |||
| 388 | 421 | // Different accessible roles have different states, and are | |
| 389 | 422 | // rendered differently by assistive technologies. | |
| 390 | 423 | func (x *WidgetClass) SetAccessibleRole(AccessibleRoleVar AccessibleRole) { | |
| 424 | + | core.LazyRegister(&xWidgetClassSetAccessibleRole, "GTK", "gtk_widget_class_set_accessible_role", false) | |
| 425 | + | ||
| 391 | 426 | xWidgetClassSetAccessibleRole(x.GoPointer(), AccessibleRoleVar) | |
| 392 | 427 | } | |
| 393 | 428 | ||
| @@ -400,6 +435,8 @@ var xWidgetClassSetActivateSignal func(uintptr, uint) | |||
| 400 | 435 | // The @signal_id must have been registered with [function.GObject.signal_new] | |
| 401 | 436 | // or [func@GObject.signal_newv] before calling this function. | |
| 402 | 437 | func (x *WidgetClass) SetActivateSignal(SignalIdVar uint) { | |
| 438 | + | core.LazyRegister(&xWidgetClassSetActivateSignal, "GTK", "gtk_widget_class_set_activate_signal", false) | |
| 439 | + | ||
| 403 | 440 | xWidgetClassSetActivateSignal(x.GoPointer(), SignalIdVar) | |
| 404 | 441 | } | |
| 405 | 442 | ||
| @@ -414,6 +451,8 @@ var xWidgetClassSetActivateSignalFromName func(uintptr, string) | |||
| 414 | 451 | // The @signal_name must have been registered with [function.GObject.signal_new] | |
| 415 | 452 | // or [func@GObject.signal_newv] before calling this function. | |
| 416 | 453 | func (x *WidgetClass) SetActivateSignalFromName(SignalNameVar string) { | |
| 454 | + | core.LazyRegister(&xWidgetClassSetActivateSignalFromName, "GTK", "gtk_widget_class_set_activate_signal_from_name", false) | |
| 455 | + | ||
| 417 | 456 | xWidgetClassSetActivateSignalFromName(x.GoPointer(), SignalNameVar) | |
| 418 | 457 | } | |
| 419 | 458 | ||
| @@ -425,6 +464,8 @@ var xWidgetClassSetCssName func(uintptr, string) | |||
| 425 | 464 | // set on the parent class is used. By default, `GtkWidget` | |
| 426 | 465 | // uses the name "widget". | |
| 427 | 466 | func (x *WidgetClass) SetCssName(NameVar string) { | |
| 467 | + | core.LazyRegister(&xWidgetClassSetCssName, "GTK", "gtk_widget_class_set_css_name", false) | |
| 468 | + | ||
| 428 | 469 | xWidgetClassSetCssName(x.GoPointer(), NameVar) | |
| 429 | 470 | } | |
| 430 | 471 | ||
| @@ -438,6 +479,8 @@ var xWidgetClassSetLayoutManagerType func(uintptr, types.GType) | |||
| 438 | 479 | // This function should only be called from class init functions | |
| 439 | 480 | // of widgets. | |
| 440 | 481 | func (x *WidgetClass) SetLayoutManagerType(TypeVar types.GType) { | |
| 482 | + | core.LazyRegister(&xWidgetClassSetLayoutManagerType, "GTK", "gtk_widget_class_set_layout_manager_type", false) | |
| 483 | + | ||
| 441 | 484 | xWidgetClassSetLayoutManagerType(x.GoPointer(), TypeVar) | |
| 442 | 485 | } | |
| 443 | 486 | ||
| @@ -452,6 +495,8 @@ var xWidgetClassSetTemplate func(uintptr, *glib.Bytes) | |||
| 452 | 495 | // Note that any class that installs templates must call | |
| 453 | 496 | // [method@Gtk.Widget.init_template] in the widget’s instance initializer. | |
| 454 | 497 | func (x *WidgetClass) SetTemplate(TemplateBytesVar *glib.Bytes) { | |
| 498 | + | core.LazyRegister(&xWidgetClassSetTemplate, "GTK", "gtk_widget_class_set_template", false) | |
| 499 | + | ||
| 455 | 500 | xWidgetClassSetTemplate(x.GoPointer(), TemplateBytesVar) | |
| 456 | 501 | } | |
| 457 | 502 | ||
| @@ -464,6 +509,8 @@ var xWidgetClassSetTemplateFromResource func(uintptr, string) | |||
| 464 | 509 | // [method@Gtk.Widget.init_template] in the widget’s instance | |
| 465 | 510 | // initializer. | |
| 466 | 511 | func (x *WidgetClass) SetTemplateFromResource(ResourceNameVar string) { | |
| 512 | + | core.LazyRegister(&xWidgetClassSetTemplateFromResource, "GTK", "gtk_widget_class_set_template_from_resource", false) | |
| 513 | + | ||
| 467 | 514 | xWidgetClassSetTemplateFromResource(x.GoPointer(), ResourceNameVar) | |
| 468 | 515 | } | |
| 469 | 516 | ||
| @@ -476,6 +523,8 @@ var xWidgetClassSetTemplateScope func(uintptr, uintptr) | |||
| 476 | 523 | // Note that this must be called from a composite widget classes class | |
| 477 | 524 | // initializer after calling [method@Gtk.WidgetClass.set_template]. | |
| 478 | 525 | func (x *WidgetClass) SetTemplateScope(ScopeVar BuilderScope) { | |
| 526 | + | core.LazyRegister(&xWidgetClassSetTemplateScope, "GTK", "gtk_widget_class_set_template_scope", false) | |
| 527 | + | ||
| 479 | 528 | xWidgetClassSetTemplateScope(x.GoPointer(), ScopeVar.GoPointer()) | |
| 480 | 529 | } | |
| 481 | 530 | ||
| @@ -1678,6 +1727,7 @@ type Widget struct { | |||
| 1678 | 1727 | var xWidgetGLibType func() types.GType | |
| 1679 | 1728 | ||
| 1680 | 1729 | func WidgetGLibType() types.GType { | |
| 1730 | + | core.LazyRegister(&xWidgetGLibType, "GTK", "gtk_widget_get_type", false) | |
| 1681 | 1731 | return xWidgetGLibType() | |
| 1682 | 1732 | } | |
| 1683 | 1733 | ||
| @@ -1692,6 +1742,8 @@ var xWidgetActionSetEnabled func(uintptr, string, bool) | |||
| 1692 | 1742 | // Enables or disables an action installed with | |
| 1693 | 1743 | // [method@Gtk.WidgetClass.install_action]. | |
| 1694 | 1744 | func (x *Widget) ActionSetEnabled(ActionNameVar string, EnabledVar bool) { | |
| 1745 | + | core.LazyRegister(&xWidgetActionSetEnabled, "GTK", "gtk_widget_action_set_enabled", false) | |
| 1746 | + | ||
| 1695 | 1747 | xWidgetActionSetEnabled(x.GoPointer(), ActionNameVar, EnabledVar) | |
| 1696 | 1748 | } | |
| 1697 | 1749 | ||
| @@ -1712,6 +1764,8 @@ var xWidgetActivate func(uintptr) bool | |||
| 1712 | 1764 | // | |
| 1713 | 1765 | // If @widget is not activatable, the function returns false. | |
| 1714 | 1766 | func (x *Widget) Activate() bool { | |
| 1767 | + | core.LazyRegister(&xWidgetActivate, "GTK", "gtk_widget_activate", false) | |
| 1768 | + | ||
| 1715 | 1769 | cret := xWidgetActivate(x.GoPointer()) | |
| 1716 | 1770 | return cret | |
| 1717 | 1771 | } | |
| @@ -1726,6 +1780,8 @@ var xWidgetActivateAction func(uintptr, string, uintptr, ...interface{}) bool | |||
| 1726 | 1780 | // This is a wrapper around [method@Gtk.Widget.activate_action_variant] | |
| 1727 | 1781 | // that constructs the @args variant according to @format_string. | |
| 1728 | 1782 | func (x *Widget) ActivateAction(NameVar string, FormatStringVar *string, varArgs ...interface{}) bool { | |
| 1783 | + | core.LazyRegister(&xWidgetActivateAction, "GTK", "gtk_widget_activate_action", false) | |
| 1784 | + | ||
| 1729 | 1785 | FormatStringVarPtr := core.GStrdupNullable(FormatStringVar) | |
| 1730 | 1786 | defer core.GFreeNullable(FormatStringVarPtr) | |
| 1731 | 1787 | ||
| @@ -1748,6 +1804,8 @@ var xWidgetActivateActionVariant func(uintptr, string, *glib.Variant) bool | |||
| 1748 | 1804 | // The arguments must match the actions expected parameter type, | |
| 1749 | 1805 | // as returned by [method@Gio.Action.get_parameter_type]. | |
| 1750 | 1806 | func (x *Widget) ActivateActionVariant(NameVar string, ArgsVar *glib.Variant) bool { | |
| 1807 | + | core.LazyRegister(&xWidgetActivateActionVariant, "GTK", "gtk_widget_activate_action_variant", false) | |
| 1808 | + | ||
| 1751 | 1809 | cret := xWidgetActivateActionVariant(x.GoPointer(), NameVar, ArgsVar) | |
| 1752 | 1810 | return cret | |
| 1753 | 1811 | } | |
| @@ -1759,6 +1817,8 @@ var xWidgetActivateDefault func(uintptr) | |||
| 1759 | 1817 | // The action is looked up in the same was as for | |
| 1760 | 1818 | // [method@Gtk.Widget.activate_action]. | |
| 1761 | 1819 | func (x *Widget) ActivateDefault() { | |
| 1820 | + | core.LazyRegister(&xWidgetActivateDefault, "GTK", "gtk_widget_activate_default", false) | |
| 1821 | + | ||
| 1762 | 1822 | xWidgetActivateDefault(x.GoPointer()) | |
| 1763 | 1823 | } | |
| 1764 | 1824 | ||
| @@ -1772,6 +1832,8 @@ var xWidgetAddController func(uintptr, uintptr) | |||
| 1772 | 1832 | // You will usually want to call this function right after | |
| 1773 | 1833 | // creating any kind of [class@Gtk.EventController]. | |
| 1774 | 1834 | func (x *Widget) AddController(ControllerVar *EventController) { | |
| 1835 | + | core.LazyRegister(&xWidgetAddController, "GTK", "gtk_widget_add_controller", false) | |
| 1836 | + | ||
| 1775 | 1837 | xWidgetAddController(x.GoPointer(), ControllerVar.GoPointer()) | |
| 1776 | 1838 | } | |
| 1777 | 1839 | ||
| @@ -1785,6 +1847,8 @@ var xWidgetAddCssClass func(uintptr, string) | |||
| 1785 | 1847 | // Use [method@Gtk.Widget.remove_css_class] to remove the | |
| 1786 | 1848 | // style again. | |
| 1787 | 1849 | func (x *Widget) AddCssClass(CssClassVar string) { | |
| 1850 | + | core.LazyRegister(&xWidgetAddCssClass, "GTK", "gtk_widget_add_css_class", false) | |
| 1851 | + | ||
| 1788 | 1852 | xWidgetAddCssClass(x.GoPointer(), CssClassVar) | |
| 1789 | 1853 | } | |
| 1790 | 1854 | ||
| @@ -1798,6 +1862,8 @@ var xWidgetAddMnemonicLabel func(uintptr, uintptr) | |||
| 1798 | 1862 | // when the widget is destroyed, so the caller must make sure | |
| 1799 | 1863 | // to update its internal state at this point as well. | |
| 1800 | 1864 | func (x *Widget) AddMnemonicLabel(LabelVar *Widget) { | |
| 1865 | + | core.LazyRegister(&xWidgetAddMnemonicLabel, "GTK", "gtk_widget_add_mnemonic_label", false) | |
| 1866 | + | ||
| 1801 | 1867 | xWidgetAddMnemonicLabel(x.GoPointer(), LabelVar.GoPointer()) | |
| 1802 | 1868 | } | |
| 1803 | 1869 | ||
| @@ -1830,6 +1896,8 @@ var xWidgetAddTickCallback func(uintptr, uintptr, uintptr, uintptr) uint | |||
| 1830 | 1896 | // To remove a tick callback, pass the ID that is returned by this function | |
| 1831 | 1897 | // to [method@Gtk.Widget.remove_tick_callback]. | |
| 1832 | 1898 | func (x *Widget) AddTickCallback(CallbackVar *TickCallback, UserDataVar uintptr, NotifyVar *glib.DestroyNotify) uint { | |
| 1899 | + | core.LazyRegister(&xWidgetAddTickCallback, "GTK", "gtk_widget_add_tick_callback", false) | |
| 1900 | + | ||
| 1833 | 1901 | cret := xWidgetAddTickCallback(x.GoPointer(), glib.NewCallback(CallbackVar), UserDataVar, glib.NewCallbackNullable(NotifyVar)) | |
| 1834 | 1902 | return cret | |
| 1835 | 1903 | } | |
| @@ -1848,6 +1916,8 @@ var xWidgetAllocate func(uintptr, int, int, int, *gsk.Transform) | |||
| 1848 | 1916 | // For a version that does not take a transform, see | |
| 1849 | 1917 | // [method@Gtk.Widget.size_allocate]. | |
| 1850 | 1918 | func (x *Widget) Allocate(WidthVar int, HeightVar int, BaselineVar int, TransformVar *gsk.Transform) { | |
| 1919 | + | core.LazyRegister(&xWidgetAllocate, "GTK", "gtk_widget_allocate", false) | |
| 1920 | + | ||
| 1851 | 1921 | xWidgetAllocate(x.GoPointer(), WidthVar, HeightVar, BaselineVar, TransformVar) | |
| 1852 | 1922 | } | |
| 1853 | 1923 | ||
| @@ -1874,6 +1944,8 @@ var xWidgetChildFocus func(uintptr, DirectionType) bool | |||
| 1874 | 1944 | // writing an app, you’d use [method@Gtk.Widget.grab_focus] to move | |
| 1875 | 1945 | // the focus to a particular widget. | |
| 1876 | 1946 | func (x *Widget) ChildFocus(DirectionVar DirectionType) bool { | |
| 1947 | + | core.LazyRegister(&xWidgetChildFocus, "GTK", "gtk_widget_child_focus", false) | |
| 1948 | + | ||
| 1877 | 1949 | cret := xWidgetChildFocus(x.GoPointer(), DirectionVar) | |
| 1878 | 1950 | return cret | |
| 1879 | 1951 | } | |
| @@ -1893,6 +1965,8 @@ var xWidgetComputeBounds func(uintptr, uintptr, *graphene.Rect) bool | |||
| 1893 | 1965 | // | |
| 1894 | 1966 | // It is valid for @widget and @target to be the same widget. | |
| 1895 | 1967 | func (x *Widget) ComputeBounds(TargetVar *Widget, OutBoundsVar *graphene.Rect) bool { | |
| 1968 | + | core.LazyRegister(&xWidgetComputeBounds, "GTK", "gtk_widget_compute_bounds", false) | |
| 1969 | + | ||
| 1896 | 1970 | cret := xWidgetComputeBounds(x.GoPointer(), TargetVar.GoPointer(), OutBoundsVar) | |
| 1897 | 1971 | return cret | |
| 1898 | 1972 | } | |
| @@ -1913,6 +1987,8 @@ var xWidgetComputeExpand func(uintptr, Orientation) bool | |||
| 1913 | 1987 | // set on the widget itself, or, if none has been explicitly set, | |
| 1914 | 1988 | // the widget may expand if some of its children do. | |
| 1915 | 1989 | func (x *Widget) ComputeExpand(OrientationVar Orientation) bool { | |
| 1990 | + | core.LazyRegister(&xWidgetComputeExpand, "GTK", "gtk_widget_compute_expand", false) | |
| 1991 | + | ||
| 1916 | 1992 | cret := xWidgetComputeExpand(x.GoPointer(), OrientationVar) | |
| 1917 | 1993 | return cret | |
| 1918 | 1994 | } | |
| @@ -1926,6 +2002,8 @@ var xWidgetComputePoint func(uintptr, uintptr, *graphene.Point, *graphene.Point) | |||
| 1926 | 2002 | // a common ancestor. If that is not the case, @out_point is set | |
| 1927 | 2003 | // to (0, 0) and false is returned. | |
| 1928 | 2004 | func (x *Widget) ComputePoint(TargetVar *Widget, PointVar *graphene.Point, OutPointVar *graphene.Point) bool { | |
| 2005 | + | core.LazyRegister(&xWidgetComputePoint, "GTK", "gtk_widget_compute_point", false) | |
| 2006 | + | ||
| 1929 | 2007 | cret := xWidgetComputePoint(x.GoPointer(), TargetVar.GoPointer(), PointVar, OutPointVar) | |
| 1930 | 2008 | return cret | |
| 1931 | 2009 | } | |
| @@ -1942,6 +2020,8 @@ var xWidgetComputeTransform func(uintptr, uintptr, *graphene.Matrix) bool | |||
| 1942 | 2020 | // To learn more about widget coordinate systems, see the coordinate | |
| 1943 | 2021 | // system [overview](coordinates.html). | |
| 1944 | 2022 | func (x *Widget) ComputeTransform(TargetVar *Widget, OutTransformVar *graphene.Matrix) bool { | |
| 2023 | + | core.LazyRegister(&xWidgetComputeTransform, "GTK", "gtk_widget_compute_transform", false) | |
| 2024 | + | ||
| 1945 | 2025 | cret := xWidgetComputeTransform(x.GoPointer(), TargetVar.GoPointer(), OutTransformVar) | |
| 1946 | 2026 | return cret | |
| 1947 | 2027 | } | |
| @@ -1953,6 +2033,8 @@ var xWidgetContains func(uintptr, float64, float64) bool | |||
| 1953 | 2033 | // The coordinates for (x, y) must be in widget coordinates, so | |
| 1954 | 2034 | // (0, 0) is assumed to be the top left of @widget's content area. | |
| 1955 | 2035 | func (x *Widget) Contains(XVar float64, YVar float64) bool { | |
| 2036 | + | core.LazyRegister(&xWidgetContains, "GTK", "gtk_widget_contains", false) | |
| 2037 | + | ||
| 1956 | 2038 | cret := xWidgetContains(x.GoPointer(), XVar, YVar) | |
| 1957 | 2039 | return cret | |
| 1958 | 2040 | } | |
| @@ -1966,6 +2048,7 @@ var xWidgetCreatePangoContext func(uintptr) uintptr | |||
| 1966 | 2048 | // | |
| 1967 | 2049 | // See also [method@Gtk.Widget.get_pango_context]. | |
| 1968 | 2050 | func (x *Widget) CreatePangoContext() *pango.Context { | |
| 2051 | + | core.LazyRegister(&xWidgetCreatePangoContext, "GTK", "gtk_widget_create_pango_context", false) | |
| 1969 | 2052 | var cls *pango.Context | |
| 1970 | 2053 | ||
| 1971 | 2054 | cret := xWidgetCreatePangoContext(x.GoPointer()) | |
| @@ -1990,6 +2073,7 @@ var xWidgetCreatePangoLayout func(uintptr, uintptr) uintptr | |||
| 1990 | 2073 | // is replaced. This can be tracked by listening to changes | |
| 1991 | 2074 | // of the [property@Gtk.Widget:root] property on the widget. | |
| 1992 | 2075 | func (x *Widget) CreatePangoLayout(TextVar *string) *pango.Layout { | |
| 2076 | + | core.LazyRegister(&xWidgetCreatePangoLayout, "GTK", "gtk_widget_create_pango_layout", false) | |
| 1993 | 2077 | var cls *pango.Layout | |
| 1994 | 2078 | ||
| 1995 | 2079 | TextVarPtr := core.GStrdupNullable(TextVar) | |
| @@ -2035,6 +2119,8 @@ var xWidgetDisposeTemplate func(uintptr, types.GType) | |||
| 2035 | 2119 | // | |
| 2036 | 2120 | // ``` | |
| 2037 | 2121 | func (x *Widget) DisposeTemplate(WidgetTypeVar types.GType) { | |
| 2122 | + | core.LazyRegister(&xWidgetDisposeTemplate, "GTK", "gtk_widget_dispose_template", false) | |
| 2123 | + | ||
| 2038 | 2124 | xWidgetDisposeTemplate(x.GoPointer(), WidgetTypeVar) | |
| 2039 | 2125 | } | |
| 2040 | 2126 | ||
| @@ -2042,6 +2128,8 @@ var xWidgetDragCheckThreshold func(uintptr, int, int, int, int) bool | |||
| 2042 | 2128 | ||
| 2043 | 2129 | // Checks to see if a drag movement has passed the GTK drag threshold. | |
| 2044 | 2130 | func (x *Widget) DragCheckThreshold(StartXVar int, StartYVar int, CurrentXVar int, CurrentYVar int) bool { | |
| 2131 | + | core.LazyRegister(&xWidgetDragCheckThreshold, "GTK", "gtk_drag_check_threshold", false) | |
| 2132 | + | ||
| 2045 | 2133 | cret := xWidgetDragCheckThreshold(x.GoPointer(), StartXVar, StartYVar, CurrentXVar, CurrentYVar) | |
| 2046 | 2134 | return cret | |
| 2047 | 2135 | } | |
| @@ -2057,6 +2145,8 @@ var xWidgetErrorBell func(uintptr) | |||
| 2057 | 2145 | // in many ways, depending on the windowing backend and the desktop | |
| 2058 | 2146 | // environment or window manager that is used. | |
| 2059 | 2147 | func (x *Widget) ErrorBell() { | |
| 2148 | + | core.LazyRegister(&xWidgetErrorBell, "GTK", "gtk_widget_error_bell", false) | |
| 2149 | + | ||
| 2060 | 2150 | xWidgetErrorBell(x.GoPointer()) | |
| 2061 | 2151 | } | |
| 2062 | 2152 | ||
| @@ -2068,6 +2158,8 @@ var xWidgetGetAllocatedBaseline func(uintptr) int | |||
| 2068 | 2158 | // for the `GtkWidget`Class.snapshot() function, and when allocating | |
| 2069 | 2159 | // child widgets in `GtkWidget`Class.size_allocate(). | |
| 2070 | 2160 | func (x *Widget) GetAllocatedBaseline() int { | |
| 2161 | + | core.LazyRegister(&xWidgetGetAllocatedBaseline, "GTK", "gtk_widget_get_allocated_baseline", false) | |
| 2162 | + | ||
| 2071 | 2163 | cret := xWidgetGetAllocatedBaseline(x.GoPointer()) | |
| 2072 | 2164 | return cret | |
| 2073 | 2165 | } | |
| @@ -2079,6 +2171,8 @@ var xWidgetGetAllocatedHeight func(uintptr) int | |||
| 2079 | 2171 | // To learn more about widget sizes, see the coordinate | |
| 2080 | 2172 | // system [overview](coordinates.html). | |
| 2081 | 2173 | func (x *Widget) GetAllocatedHeight() int { | |
| 2174 | + | core.LazyRegister(&xWidgetGetAllocatedHeight, "GTK", "gtk_widget_get_allocated_height", false) | |
| 2175 | + | ||
| 2082 | 2176 | cret := xWidgetGetAllocatedHeight(x.GoPointer()) | |
| 2083 | 2177 | return cret | |
| 2084 | 2178 | } | |
| @@ -2090,6 +2184,8 @@ var xWidgetGetAllocatedWidth func(uintptr) int | |||
| 2090 | 2184 | // To learn more about widget sizes, see the coordinate | |
| 2091 | 2185 | // system [overview](coordinates.html). | |
| 2092 | 2186 | func (x *Widget) GetAllocatedWidth() int { | |
| 2187 | + | core.LazyRegister(&xWidgetGetAllocatedWidth, "GTK", "gtk_widget_get_allocated_width", false) | |
| 2188 | + | ||
| 2093 | 2189 | cret := xWidgetGetAllocatedWidth(x.GoPointer()) | |
| 2094 | 2190 | return cret | |
| 2095 | 2191 | } | |
| @@ -2112,6 +2208,8 @@ var xWidgetGetAllocation func(uintptr, *Allocation) | |||
| 2112 | 2208 | // the assigned bounds, but not that they have exactly the bounds the | |
| 2113 | 2209 | // widget assigned. | |
| 2114 | 2210 | func (x *Widget) GetAllocation(AllocationVar *Allocation) { | |
| 2211 | + | core.LazyRegister(&xWidgetGetAllocation, "GTK", "gtk_widget_get_allocation", false) | |
| 2212 | + | ||
| 2115 | 2213 | xWidgetGetAllocation(x.GoPointer(), AllocationVar) | |
| 2116 | 2214 | } | |
| 2117 | 2215 | ||
| @@ -2127,6 +2225,7 @@ var xWidgetGetAncestor func(uintptr, types.GType) uintptr | |||
| 2127 | 2225 | // Note that unlike [method@Gtk.Widget.is_ancestor], this function | |
| 2128 | 2226 | // considers @widget to be an ancestor of itself. | |
| 2129 | 2227 | func (x *Widget) GetAncestor(WidgetTypeVar types.GType) *Widget { | |
| 2228 | + | core.LazyRegister(&xWidgetGetAncestor, "GTK", "gtk_widget_get_ancestor", false) | |
| 2130 | 2229 | var cls *Widget | |
| 2131 | 2230 | ||
| 2132 | 2231 | cret := xWidgetGetAncestor(x.GoPointer(), WidgetTypeVar) | |
| @@ -2148,6 +2247,8 @@ var xWidgetGetBaseline func(uintptr) int | |||
| 2148 | 2247 | // for the `GtkWidgetClass.snapshot()` function, and when allocating | |
| 2149 | 2248 | // child widgets in `GtkWidgetClass.size_allocate()`. | |
| 2150 | 2249 | func (x *Widget) GetBaseline() int { | |
| 2250 | + | core.LazyRegister(&xWidgetGetBaseline, "GTK", "gtk_widget_get_baseline", false) | |
| 2251 | + | ||
| 2151 | 2252 | cret := xWidgetGetBaseline(x.GoPointer()) | |
| 2152 | 2253 | return cret | |
| 2153 | 2254 | } | |
| @@ -2159,6 +2260,8 @@ var xWidgetGetCanFocus func(uintptr) bool | |||
| 2159 | 2260 | // | |
| 2160 | 2261 | // See [method@Gtk.Widget.set_can_focus]. | |
| 2161 | 2262 | func (x *Widget) GetCanFocus() bool { | |
| 2263 | + | core.LazyRegister(&xWidgetGetCanFocus, "GTK", "gtk_widget_get_can_focus", false) | |
| 2264 | + | ||
| 2162 | 2265 | cret := xWidgetGetCanFocus(x.GoPointer()) | |
| 2163 | 2266 | return cret | |
| 2164 | 2267 | } | |
| @@ -2167,6 +2270,8 @@ var xWidgetGetCanTarget func(uintptr) bool | |||
| 2167 | 2270 | ||
| 2168 | 2271 | // Queries whether the widget can be the target of pointer events. | |
| 2169 | 2272 | func (x *Widget) GetCanTarget() bool { | |
| 2273 | + | core.LazyRegister(&xWidgetGetCanTarget, "GTK", "gtk_widget_get_can_target", false) | |
| 2274 | + | ||
| 2170 | 2275 | cret := xWidgetGetCanTarget(x.GoPointer()) | |
| 2171 | 2276 | return cret | |
| 2172 | 2277 | } | |
| @@ -2181,6 +2286,8 @@ var xWidgetGetChildVisible func(uintptr) bool | |||
| 2181 | 2286 | // This function is only useful for widget implementations | |
| 2182 | 2287 | // and should never be called by an application. | |
| 2183 | 2288 | func (x *Widget) GetChildVisible() bool { | |
| 2289 | + | core.LazyRegister(&xWidgetGetChildVisible, "GTK", "gtk_widget_get_child_visible", false) | |
| 2290 | + | ||
| 2184 | 2291 | cret := xWidgetGetChildVisible(x.GoPointer()) | |
| 2185 | 2292 | return cret | |
| 2186 | 2293 | } | |
| @@ -2195,6 +2302,7 @@ var xWidgetGetClipboard func(uintptr) uintptr | |||
| 2195 | 2302 | // Note that this function always works, even when @widget is not | |
| 2196 | 2303 | // realized yet. | |
| 2197 | 2304 | func (x *Widget) GetClipboard() *gdk.Clipboard { | |
| 2305 | + | core.LazyRegister(&xWidgetGetClipboard, "GTK", "gtk_widget_get_clipboard", false) | |
| 2198 | 2306 | var cls *gdk.Clipboard | |
| 2199 | 2307 | ||
| 2200 | 2308 | cret := xWidgetGetClipboard(x.GoPointer()) | |
| @@ -2216,6 +2324,8 @@ var xWidgetGetColor func(uintptr, *gdk.RGBA) | |||
| 2216 | 2324 | // implementations that need to do custom drawing | |
| 2217 | 2325 | // with the foreground color. | |
| 2218 | 2326 | func (x *Widget) GetColor(ColorVar *gdk.RGBA) { | |
| 2327 | + | core.LazyRegister(&xWidgetGetColor, "GTK", "gtk_widget_get_color", false) | |
| 2328 | + | ||
| 2219 | 2329 | xWidgetGetColor(x.GoPointer(), ColorVar) | |
| 2220 | 2330 | } | |
| 2221 | 2331 | ||
| @@ -2223,6 +2333,8 @@ var xWidgetGetCssClasses func(uintptr) []string | |||
| 2223 | 2333 | ||
| 2224 | 2334 | // Returns the list of style classes applied to the widget. | |
| 2225 | 2335 | func (x *Widget) GetCssClasses() []string { | |
| 2336 | + | core.LazyRegister(&xWidgetGetCssClasses, "GTK", "gtk_widget_get_css_classes", false) | |
| 2337 | + | ||
| 2226 | 2338 | cret := xWidgetGetCssClasses(x.GoPointer()) | |
| 2227 | 2339 | return cret | |
| 2228 | 2340 | } | |
| @@ -2231,6 +2343,8 @@ var xWidgetGetCssName func(uintptr) string | |||
| 2231 | 2343 | ||
| 2232 | 2344 | // Returns the CSS name of the widget. | |
| 2233 | 2345 | func (x *Widget) GetCssName() string { | |
| 2346 | + | core.LazyRegister(&xWidgetGetCssName, "GTK", "gtk_widget_get_css_name", false) | |
| 2347 | + | ||
| 2234 | 2348 | cret := xWidgetGetCssName(x.GoPointer()) | |
| 2235 | 2349 | return cret | |
| 2236 | 2350 | } | |
| @@ -2241,6 +2355,7 @@ var xWidgetGetCursor func(uintptr) uintptr | |||
| 2241 | 2355 | // | |
| 2242 | 2356 | // See [method@Gtk.Widget.set_cursor] for details. | |
| 2243 | 2357 | func (x *Widget) GetCursor() *gdk.Cursor { | |
| 2358 | + | core.LazyRegister(&xWidgetGetCursor, "GTK", "gtk_widget_get_cursor", false) | |
| 2244 | 2359 | var cls *gdk.Cursor | |
| 2245 | 2360 | ||
| 2246 | 2361 | cret := xWidgetGetCursor(x.GoPointer()) | |
| @@ -2260,6 +2375,8 @@ var xWidgetGetDirection func(uintptr) TextDirection | |||
| 2260 | 2375 | // | |
| 2261 | 2376 | // See [method@Gtk.Widget.set_direction]. | |
| 2262 | 2377 | func (x *Widget) GetDirection() TextDirection { | |
| 2378 | + | core.LazyRegister(&xWidgetGetDirection, "GTK", "gtk_widget_get_direction", false) | |
| 2379 | + | ||
| 2263 | 2380 | cret := xWidgetGetDirection(x.GoPointer()) | |
| 2264 | 2381 | return cret | |
| 2265 | 2382 | } | |
| @@ -2275,6 +2392,7 @@ var xWidgetGetDisplay func(uintptr) uintptr | |||
| 2275 | 2392 | // resources when a widget has been realized, and you should | |
| 2276 | 2393 | // free those resources when the widget is unrealized. | |
| 2277 | 2394 | func (x *Widget) GetDisplay() *gdk.Display { | |
| 2395 | + | core.LazyRegister(&xWidgetGetDisplay, "GTK", "gtk_widget_get_display", false) | |
| 2278 | 2396 | var cls *gdk.Display | |
| 2279 | 2397 | ||
| 2280 | 2398 | cret := xWidgetGetDisplay(x.GoPointer()) | |
| @@ -2294,6 +2412,7 @@ var xWidgetGetFirstChild func(uintptr) uintptr | |||
| 2294 | 2412 | // | |
| 2295 | 2413 | // This function is primarily meant for widget implementations. | |
| 2296 | 2414 | func (x *Widget) GetFirstChild() *Widget { | |
| 2415 | + | core.LazyRegister(&xWidgetGetFirstChild, "GTK", "gtk_widget_get_first_child", false) | |
| 2297 | 2416 | var cls *Widget | |
| 2298 | 2417 | ||
| 2299 | 2418 | cret := xWidgetGetFirstChild(x.GoPointer()) | |
| @@ -2311,6 +2430,7 @@ var xWidgetGetFocusChild func(uintptr) uintptr | |||
| 2311 | 2430 | ||
| 2312 | 2431 | // Returns the focus child of the widget. | |
| 2313 | 2432 | func (x *Widget) GetFocusChild() *Widget { | |
| 2433 | + | core.LazyRegister(&xWidgetGetFocusChild, "GTK", "gtk_widget_get_focus_child", false) | |
| 2314 | 2434 | var cls *Widget | |
| 2315 | 2435 | ||
| 2316 | 2436 | cret := xWidgetGetFocusChild(x.GoPointer()) | |
| @@ -2331,6 +2451,8 @@ var xWidgetGetFocusOnClick func(uintptr) bool | |||
| 2331 | 2451 | // | |
| 2332 | 2452 | // See [method@Gtk.Widget.set_focus_on_click]. | |
| 2333 | 2453 | func (x *Widget) GetFocusOnClick() bool { | |
| 2454 | + | core.LazyRegister(&xWidgetGetFocusOnClick, "GTK", "gtk_widget_get_focus_on_click", false) | |
| 2455 | + | ||
| 2334 | 2456 | cret := xWidgetGetFocusOnClick(x.GoPointer()) | |
| 2335 | 2457 | return cret | |
| 2336 | 2458 | } | |
| @@ -2341,6 +2463,8 @@ var xWidgetGetFocusable func(uintptr) bool | |||
| 2341 | 2463 | // | |
| 2342 | 2464 | // See [method@Gtk.Widget.set_focusable]. | |
| 2343 | 2465 | func (x *Widget) GetFocusable() bool { | |
| 2466 | + | core.LazyRegister(&xWidgetGetFocusable, "GTK", "gtk_widget_get_focusable", false) | |
| 2467 | + | ||
| 2344 | 2468 | cret := xWidgetGetFocusable(x.GoPointer()) | |
| 2345 | 2469 | return cret | |
| 2346 | 2470 | } | |
| @@ -2351,6 +2475,7 @@ var xWidgetGetFontMap func(uintptr) uintptr | |||
| 2351 | 2475 | // | |
| 2352 | 2476 | // See [method@Gtk.Widget.set_font_map]. | |
| 2353 | 2477 | func (x *Widget) GetFontMap() *pango.FontMap { | |
| 2478 | + | core.LazyRegister(&xWidgetGetFontMap, "GTK", "gtk_widget_get_font_map", false) | |
| 2354 | 2479 | var cls *pango.FontMap | |
| 2355 | 2480 | ||
| 2356 | 2481 | cret := xWidgetGetFontMap(x.GoPointer()) | |
| @@ -2370,6 +2495,8 @@ var xWidgetGetFontOptions func(uintptr) uintptr | |||
| 2370 | 2495 | // | |
| 2371 | 2496 | // Seee [method@Gtk.Widget.set_font_options]. | |
| 2372 | 2497 | func (x *Widget) GetFontOptions() *cairo.FontOptions { | |
| 2498 | + | core.LazyRegister(&xWidgetGetFontOptions, "GTK", "gtk_widget_get_font_options", false) | |
| 2499 | + | ||
| 2373 | 2500 | cret := xWidgetGetFontOptions(x.GoPointer()) | |
| 2374 | 2501 | if cret == 0 { | |
| 2375 | 2502 | return nil | |
| @@ -2402,6 +2529,7 @@ var xWidgetGetFrameClock func(uintptr) uintptr | |||
| 2402 | 2529 | // | |
| 2403 | 2530 | // Unrealized widgets do not have a frame clock. | |
| 2404 | 2531 | func (x *Widget) GetFrameClock() *gdk.FrameClock { | |
| 2532 | + | core.LazyRegister(&xWidgetGetFrameClock, "GTK", "gtk_widget_get_frame_clock", false) | |
| 2405 | 2533 | var cls *gdk.FrameClock | |
| 2406 | 2534 | ||
| 2407 | 2535 | cret := xWidgetGetFrameClock(x.GoPointer()) | |
| @@ -2425,6 +2553,8 @@ var xWidgetGetHalign func(uintptr) Align | |||
| 2425 | 2553 | // | |
| 2426 | 2554 | // Baselines are not supported for horizontal alignment. | |
| 2427 | 2555 | func (x *Widget) GetHalign() Align { | |
| 2556 | + | core.LazyRegister(&xWidgetGetHalign, "GTK", "gtk_widget_get_halign", false) | |
| 2557 | + | ||
| 2428 | 2558 | cret := xWidgetGetHalign(x.GoPointer()) | |
| 2429 | 2559 | return cret | |
| 2430 | 2560 | } | |
| @@ -2433,6 +2563,8 @@ var xWidgetGetHasTooltip func(uintptr) bool | |||
| 2433 | 2563 | ||
| 2434 | 2564 | // Returns the current value of the `has-tooltip` property. | |
| 2435 | 2565 | func (x *Widget) GetHasTooltip() bool { | |
| 2566 | + | core.LazyRegister(&xWidgetGetHasTooltip, "GTK", "gtk_widget_get_has_tooltip", false) | |
| 2567 | + | ||
| 2436 | 2568 | cret := xWidgetGetHasTooltip(x.GoPointer()) | |
| 2437 | 2569 | return cret | |
| 2438 | 2570 | } | |
| @@ -2450,6 +2582,8 @@ var xWidgetGetHeight func(uintptr) int | |||
| 2450 | 2582 | // To learn more about widget sizes, see the coordinate | |
| 2451 | 2583 | // system [overview](coordinates.html). | |
| 2452 | 2584 | func (x *Widget) GetHeight() int { | |
| 2585 | + | core.LazyRegister(&xWidgetGetHeight, "GTK", "gtk_widget_get_height", false) | |
| 2586 | + | ||
| 2453 | 2587 | cret := xWidgetGetHeight(x.GoPointer()) | |
| 2454 | 2588 | return cret | |
| 2455 | 2589 | } | |
| @@ -2472,6 +2606,8 @@ var xWidgetGetHexpand func(uintptr) bool | |||
| 2472 | 2606 | // than computing whether the entire widget tree rooted at this widget | |
| 2473 | 2607 | // wants to expand. | |
| 2474 | 2608 | func (x *Widget) GetHexpand() bool { | |
| 2609 | + | core.LazyRegister(&xWidgetGetHexpand, "GTK", "gtk_widget_get_hexpand", false) | |
| 2610 | + | ||
| 2475 | 2611 | cret := xWidgetGetHexpand(x.GoPointer()) | |
| 2476 | 2612 | return cret | |
| 2477 | 2613 | } | |
| @@ -2488,6 +2624,8 @@ var xWidgetGetHexpandSet func(uintptr) bool | |||
| 2488 | 2624 | // There are few reasons to use this function, but it’s here | |
| 2489 | 2625 | // for completeness and consistency. | |
| 2490 | 2626 | func (x *Widget) GetHexpandSet() bool { | |
| 2627 | + | core.LazyRegister(&xWidgetGetHexpandSet, "GTK", "gtk_widget_get_hexpand_set", false) | |
| 2628 | + | ||
| 2491 | 2629 | cret := xWidgetGetHexpandSet(x.GoPointer()) | |
| 2492 | 2630 | return cret | |
| 2493 | 2631 | } | |
| @@ -2498,6 +2636,7 @@ var xWidgetGetLastChild func(uintptr) uintptr | |||
| 2498 | 2636 | // | |
| 2499 | 2637 | // This function is primarily meant for widget implementations. | |
| 2500 | 2638 | func (x *Widget) GetLastChild() *Widget { | |
| 2639 | + | core.LazyRegister(&xWidgetGetLastChild, "GTK", "gtk_widget_get_last_child", false) | |
| 2501 | 2640 | var cls *Widget | |
| 2502 | 2641 | ||
| 2503 | 2642 | cret := xWidgetGetLastChild(x.GoPointer()) | |
| @@ -2517,6 +2656,7 @@ var xWidgetGetLayoutManager func(uintptr) uintptr | |||
| 2517 | 2656 | // | |
| 2518 | 2657 | // See [method@Gtk.Widget.set_layout_manager]. | |
| 2519 | 2658 | func (x *Widget) GetLayoutManager() *LayoutManager { | |
| 2659 | + | core.LazyRegister(&xWidgetGetLayoutManager, "GTK", "gtk_widget_get_layout_manager", false) | |
| 2520 | 2660 | var cls *LayoutManager | |
| 2521 | 2661 | ||
| 2522 | 2662 | cret := xWidgetGetLayoutManager(x.GoPointer()) | |
| @@ -2534,6 +2674,8 @@ var xWidgetGetLimitEvents func(uintptr) bool | |||
| 2534 | 2674 | ||
| 2535 | 2675 | // Gets the value of the [property@Gtk.Widget:limit-events] property. | |
| 2536 | 2676 | func (x *Widget) GetLimitEvents() bool { | |
| 2677 | + | core.LazyRegister(&xWidgetGetLimitEvents, "GTK", "gtk_widget_get_limit_events", false) | |
| 2678 | + | ||
| 2537 | 2679 | cret := xWidgetGetLimitEvents(x.GoPointer()) | |
| 2538 | 2680 | return cret | |
| 2539 | 2681 | } | |
| @@ -2542,6 +2684,8 @@ var xWidgetGetMapped func(uintptr) bool | |||
| 2542 | 2684 | ||
| 2543 | 2685 | // Returns whether the widget is mapped. | |
| 2544 | 2686 | func (x *Widget) GetMapped() bool { | |
| 2687 | + | core.LazyRegister(&xWidgetGetMapped, "GTK", "gtk_widget_get_mapped", false) | |
| 2688 | + | ||
| 2545 | 2689 | cret := xWidgetGetMapped(x.GoPointer()) | |
| 2546 | 2690 | return cret | |
| 2547 | 2691 | } | |
| @@ -2550,6 +2694,8 @@ var xWidgetGetMarginBottom func(uintptr) int | |||
| 2550 | 2694 | ||
| 2551 | 2695 | // Gets the bottom margin of the widget. | |
| 2552 | 2696 | func (x *Widget) GetMarginBottom() int { | |
| 2697 | + | core.LazyRegister(&xWidgetGetMarginBottom, "GTK", "gtk_widget_get_margin_bottom", false) | |
| 2698 | + | ||
| 2553 | 2699 | cret := xWidgetGetMarginBottom(x.GoPointer()) | |
| 2554 | 2700 | return cret | |
| 2555 | 2701 | } | |
| @@ -2558,6 +2704,8 @@ var xWidgetGetMarginEnd func(uintptr) int | |||
| 2558 | 2704 | ||
| 2559 | 2705 | // Gets the end margin of the widget. | |
| 2560 | 2706 | func (x *Widget) GetMarginEnd() int { | |
| 2707 | + | core.LazyRegister(&xWidgetGetMarginEnd, "GTK", "gtk_widget_get_margin_end", false) | |
| 2708 | + | ||
| 2561 | 2709 | cret := xWidgetGetMarginEnd(x.GoPointer()) | |
| 2562 | 2710 | return cret | |
| 2563 | 2711 | } | |
| @@ -2566,6 +2714,8 @@ var xWidgetGetMarginStart func(uintptr) int | |||
| 2566 | 2714 | ||
| 2567 | 2715 | // Gets the start margin of the widget. | |
| 2568 | 2716 | func (x *Widget) GetMarginStart() int { | |
| 2717 | + | core.LazyRegister(&xWidgetGetMarginStart, "GTK", "gtk_widget_get_margin_start", false) | |
| 2718 | + | ||
| 2569 | 2719 | cret := xWidgetGetMarginStart(x.GoPointer()) | |
| 2570 | 2720 | return cret | |
| 2571 | 2721 | } | |
| @@ -2574,6 +2724,8 @@ var xWidgetGetMarginTop func(uintptr) int | |||
| 2574 | 2724 | ||
| 2575 | 2725 | // Gets the top margin of the widget. | |
| 2576 | 2726 | func (x *Widget) GetMarginTop() int { | |
| 2727 | + | core.LazyRegister(&xWidgetGetMarginTop, "GTK", "gtk_widget_get_margin_top", false) | |
| 2728 | + | ||
| 2577 | 2729 | cret := xWidgetGetMarginTop(x.GoPointer()) | |
| 2578 | 2730 | return cret | |
| 2579 | 2731 | } | |
| @@ -2584,6 +2736,8 @@ var xWidgetGetName func(uintptr) string | |||
| 2584 | 2736 | // | |
| 2585 | 2737 | // See [method@Gtk.Widget.set_name] for the significance of widget names. | |
| 2586 | 2738 | func (x *Widget) GetName() string { | |
| 2739 | + | core.LazyRegister(&xWidgetGetName, "GTK", "gtk_widget_get_name", false) | |
| 2740 | + | ||
| 2587 | 2741 | cret := xWidgetGetName(x.GoPointer()) | |
| 2588 | 2742 | return cret | |
| 2589 | 2743 | } | |
| @@ -2597,6 +2751,7 @@ var xWidgetGetNative func(uintptr) uintptr | |||
| 2597 | 2751 | // | |
| 2598 | 2752 | // `GtkNative` widgets will return themselves here. | |
| 2599 | 2753 | func (x *Widget) GetNative() *NativeBase { | |
| 2754 | + | core.LazyRegister(&xWidgetGetNative, "GTK", "gtk_widget_get_native", false) | |
| 2600 | 2755 | var cls *NativeBase | |
| 2601 | 2756 | ||
| 2602 | 2757 | cret := xWidgetGetNative(x.GoPointer()) | |
| @@ -2616,6 +2771,7 @@ var xWidgetGetNextSibling func(uintptr) uintptr | |||
| 2616 | 2771 | // | |
| 2617 | 2772 | // This function is primarily meant for widget implementations. | |
| 2618 | 2773 | func (x *Widget) GetNextSibling() *Widget { | |
| 2774 | + | core.LazyRegister(&xWidgetGetNextSibling, "GTK", "gtk_widget_get_next_sibling", false) | |
| 2619 | 2775 | var cls *Widget | |
| 2620 | 2776 | ||
| 2621 | 2777 | cret := xWidgetGetNextSibling(x.GoPointer()) | |
| @@ -2635,6 +2791,8 @@ var xWidgetGetOpacity func(uintptr) float64 | |||
| 2635 | 2791 | // | |
| 2636 | 2792 | // See [method@Gtk.Widget.set_opacity]. | |
| 2637 | 2793 | func (x *Widget) GetOpacity() float64 { | |
| 2794 | + | core.LazyRegister(&xWidgetGetOpacity, "GTK", "gtk_widget_get_opacity", false) | |
| 2795 | + | ||
| 2638 | 2796 | cret := xWidgetGetOpacity(x.GoPointer()) | |
| 2639 | 2797 | return cret | |
| 2640 | 2798 | } | |
| @@ -2643,6 +2801,8 @@ var xWidgetGetOverflow func(uintptr) Overflow | |||
| 2643 | 2801 | ||
| 2644 | 2802 | // Returns the widget’s overflow value. | |
| 2645 | 2803 | func (x *Widget) GetOverflow() Overflow { | |
| 2804 | + | core.LazyRegister(&xWidgetGetOverflow, "GTK", "gtk_widget_get_overflow", false) | |
| 2805 | + | ||
| 2646 | 2806 | cret := xWidgetGetOverflow(x.GoPointer()) | |
| 2647 | 2807 | return cret | |
| 2648 | 2808 | } | |
| @@ -2661,6 +2821,7 @@ var xWidgetGetPangoContext func(uintptr) uintptr | |||
| 2661 | 2821 | // This can be tracked by listening to changes of the | |
| 2662 | 2822 | // [property@Gtk.Widget:root] property on the widget. | |
| 2663 | 2823 | func (x *Widget) GetPangoContext() *pango.Context { | |
| 2824 | + | core.LazyRegister(&xWidgetGetPangoContext, "GTK", "gtk_widget_get_pango_context", false) | |
| 2664 | 2825 | var cls *pango.Context | |
| 2665 | 2826 | ||
| 2666 | 2827 | cret := xWidgetGetPangoContext(x.GoPointer()) | |
| @@ -2678,6 +2839,7 @@ var xWidgetGetParent func(uintptr) uintptr | |||
| 2678 | 2839 | ||
| 2679 | 2840 | // Returns the parent widget of the widget. | |
| 2680 | 2841 | func (x *Widget) GetParent() *Widget { | |
| 2842 | + | core.LazyRegister(&xWidgetGetParent, "GTK", "gtk_widget_get_parent", false) | |
| 2681 | 2843 | var cls *Widget | |
| 2682 | 2844 | ||
| 2683 | 2845 | cret := xWidgetGetParent(x.GoPointer()) | |
| @@ -2708,6 +2870,8 @@ var xWidgetGetPreferredSize func(uintptr, *Requisition, *Requisition) | |||
| 2708 | 2870 | // | |
| 2709 | 2871 | // Use [method@Gtk.Widget.measure] if you want to support baseline alignment. | |
| 2710 | 2872 | func (x *Widget) GetPreferredSize(MinimumSizeVar *Requisition, NaturalSizeVar *Requisition) { | |
| 2873 | + | core.LazyRegister(&xWidgetGetPreferredSize, "GTK", "gtk_widget_get_preferred_size", false) | |
| 2874 | + | ||
| 2711 | 2875 | xWidgetGetPreferredSize(x.GoPointer(), MinimumSizeVar, NaturalSizeVar) | |
| 2712 | 2876 | } | |
| 2713 | 2877 | ||
| @@ -2717,6 +2881,7 @@ var xWidgetGetPrevSibling func(uintptr) uintptr | |||
| 2717 | 2881 | // | |
| 2718 | 2882 | // This function is primarily meant for widget implementations. | |
| 2719 | 2883 | func (x *Widget) GetPrevSibling() *Widget { | |
| 2884 | + | core.LazyRegister(&xWidgetGetPrevSibling, "GTK", "gtk_widget_get_prev_sibling", false) | |
| 2720 | 2885 | var cls *Widget | |
| 2721 | 2886 | ||
| 2722 | 2887 | cret := xWidgetGetPrevSibling(x.GoPointer()) | |
| @@ -2740,6 +2905,7 @@ var xWidgetGetPrimaryClipboard func(uintptr) uintptr | |||
| 2740 | 2905 | // Note that this function always works, even when @widget is not | |
| 2741 | 2906 | // realized yet. | |
| 2742 | 2907 | func (x *Widget) GetPrimaryClipboard() *gdk.Clipboard { | |
| 2908 | + | core.LazyRegister(&xWidgetGetPrimaryClipboard, "GTK", "gtk_widget_get_primary_clipboard", false) | |
| 2743 | 2909 | var cls *gdk.Clipboard | |
| 2744 | 2910 | ||
| 2745 | 2911 | cret := xWidgetGetPrimaryClipboard(x.GoPointer()) | |
| @@ -2757,6 +2923,8 @@ var xWidgetGetRealized func(uintptr) bool | |||
| 2757 | 2923 | ||
| 2758 | 2924 | // Determines whether the widget is realized. | |
| 2759 | 2925 | func (x *Widget) GetRealized() bool { | |
| 2926 | + | core.LazyRegister(&xWidgetGetRealized, "GTK", "gtk_widget_get_realized", false) | |
| 2927 | + | ||
| 2760 | 2928 | cret := xWidgetGetRealized(x.GoPointer()) | |
| 2761 | 2929 | return cret | |
| 2762 | 2930 | } | |
| @@ -2769,6 +2937,8 @@ var xWidgetGetReceivesDefault func(uintptr) bool | |||
| 2769 | 2937 | // | |
| 2770 | 2938 | // See [method@Gtk.Widget.set_receives_default]. | |
| 2771 | 2939 | func (x *Widget) GetReceivesDefault() bool { | |
| 2940 | + | core.LazyRegister(&xWidgetGetReceivesDefault, "GTK", "gtk_widget_get_receives_default", false) | |
| 2941 | + | ||
| 2772 | 2942 | cret := xWidgetGetReceivesDefault(x.GoPointer()) | |
| 2773 | 2943 | return cret | |
| 2774 | 2944 | } | |
| @@ -2783,6 +2953,8 @@ var xWidgetGetRequestMode func(uintptr) SizeRequestMode | |||
| 2783 | 2953 | // either in context of their children or in context of their | |
| 2784 | 2954 | // allocation capabilities. | |
| 2785 | 2955 | func (x *Widget) GetRequestMode() SizeRequestMode { | |
| 2956 | + | core.LazyRegister(&xWidgetGetRequestMode, "GTK", "gtk_widget_get_request_mode", false) | |
| 2957 | + | ||
| 2786 | 2958 | cret := xWidgetGetRequestMode(x.GoPointer()) | |
| 2787 | 2959 | return cret | |
| 2788 | 2960 | } | |
| @@ -2796,6 +2968,7 @@ var xWidgetGetRoot func(uintptr) uintptr | |||
| 2796 | 2968 | // | |
| 2797 | 2969 | // `GtkRoot` widgets will return themselves here. | |
| 2798 | 2970 | func (x *Widget) GetRoot() *RootBase { | |
| 2971 | + | core.LazyRegister(&xWidgetGetRoot, "GTK", "gtk_widget_get_root", false) | |
| 2799 | 2972 | var cls *RootBase | |
| 2800 | 2973 | ||
| 2801 | 2974 | cret := xWidgetGetRoot(x.GoPointer()) | |
| @@ -2825,6 +2998,8 @@ var xWidgetGetScaleFactor func(uintptr) int | |||
| 2825 | 2998 | // but you probably want to use [method@Gdk.Surface.get_scale] | |
| 2826 | 2999 | // to get the fractional scale value. | |
| 2827 | 3000 | func (x *Widget) GetScaleFactor() int { | |
| 3001 | + | core.LazyRegister(&xWidgetGetScaleFactor, "GTK", "gtk_widget_get_scale_factor", false) | |
| 3002 | + | ||
| 2828 | 3003 | cret := xWidgetGetScaleFactor(x.GoPointer()) | |
| 2829 | 3004 | return cret | |
| 2830 | 3005 | } | |
| @@ -2840,6 +3015,8 @@ var xWidgetGetSensitive func(uintptr) bool | |||
| 2840 | 3015 | // by both its own and its parent widget’s sensitivity. | |
| 2841 | 3016 | // See [method@Gtk.Widget.is_sensitive]. | |
| 2842 | 3017 | func (x *Widget) GetSensitive() bool { | |
| 3018 | + | core.LazyRegister(&xWidgetGetSensitive, "GTK", "gtk_widget_get_sensitive", false) | |
| 3019 | + | ||
| 2843 | 3020 | cret := xWidgetGetSensitive(x.GoPointer()) | |
| 2844 | 3021 | return cret | |
| 2845 | 3022 | } | |
| @@ -2853,6 +3030,7 @@ var xWidgetGetSettings func(uintptr) uintptr | |||
| 2853 | 3030 | // to a particular display. If you want to monitor the widget for | |
| 2854 | 3031 | // changes in its settings, connect to the `notify::display` signal. | |
| 2855 | 3032 | func (x *Widget) GetSettings() *Settings { | |
| 3033 | + | core.LazyRegister(&xWidgetGetSettings, "GTK", "gtk_widget_get_settings", false) | |
| 2856 | 3034 | var cls *Settings | |
| 2857 | 3035 | ||
| 2858 | 3036 | cret := xWidgetGetSettings(x.GoPointer()) | |
| @@ -2881,6 +3059,8 @@ var xWidgetGetSize func(uintptr, Orientation) int | |||
| 2881 | 3059 | // To learn more about widget sizes, see the coordinate | |
| 2882 | 3060 | // system [overview](coordinates.html). | |
| 2883 | 3061 | func (x *Widget) GetSize(OrientationVar Orientation) int { | |
| 3062 | + | core.LazyRegister(&xWidgetGetSize, "GTK", "gtk_widget_get_size", false) | |
| 3063 | + | ||
| 2884 | 3064 | cret := xWidgetGetSize(x.GoPointer(), OrientationVar) | |
| 2885 | 3065 | return cret | |
| 2886 | 3066 | } | |
| @@ -2898,6 +3078,8 @@ var xWidgetGetSizeRequest func(uintptr, *int, *int) | |||
| 2898 | 3078 | // To get the size a widget will actually request, call | |
| 2899 | 3079 | // [method@Gtk.Widget.measure] instead of this function. | |
| 2900 | 3080 | func (x *Widget) GetSizeRequest(WidthVar *int, HeightVar *int) { | |
| 3081 | + | core.LazyRegister(&xWidgetGetSizeRequest, "GTK", "gtk_widget_get_size_request", false) | |
| 3082 | + | ||
| 2901 | 3083 | xWidgetGetSizeRequest(x.GoPointer(), WidthVar, HeightVar) | |
| 2902 | 3084 | } | |
| 2903 | 3085 | ||
| @@ -2913,6 +3095,8 @@ var xWidgetGetStateFlags func(uintptr) StateFlags | |||
| 2913 | 3095 | // [flags@Gtk.StateFlags] to pass to a [class@Gtk.StyleContext] | |
| 2914 | 3096 | // method, you should look at [method@Gtk.StyleContext.get_state]. | |
| 2915 | 3097 | func (x *Widget) GetStateFlags() StateFlags { | |
| 3098 | + | core.LazyRegister(&xWidgetGetStateFlags, "GTK", "gtk_widget_get_state_flags", false) | |
| 3099 | + | ||
| 2916 | 3100 | cret := xWidgetGetStateFlags(x.GoPointer()) | |
| 2917 | 3101 | return cret | |
| 2918 | 3102 | } | |
| @@ -2924,6 +3108,7 @@ var xWidgetGetStyleContext func(uintptr) uintptr | |||
| 2924 | 3108 | // The returned object is guaranteed to be the same | |
| 2925 | 3109 | // for the lifetime of @widget. | |
| 2926 | 3110 | func (x *Widget) GetStyleContext() *StyleContext { | |
| 3111 | + | core.LazyRegister(&xWidgetGetStyleContext, "GTK", "gtk_widget_get_style_context", false) | |
| 2927 | 3112 | var cls *StyleContext | |
| 2928 | 3113 | ||
| 2929 | 3114 | cret := xWidgetGetStyleContext(x.GoPointer()) | |
| @@ -2950,6 +3135,7 @@ var xWidgetGetTemplateChild func(uintptr, types.GType, string) uintptr | |||
| 2950 | 3135 | // to the @widget_type which declared the child and is meant for language | |
| 2951 | 3136 | // bindings which cannot easily make use of the GObject structure offsets. | |
| 2952 | 3137 | func (x *Widget) GetTemplateChild(WidgetTypeVar types.GType, NameVar string) *gobject.Object { | |
| 3138 | + | core.LazyRegister(&xWidgetGetTemplateChild, "GTK", "gtk_widget_get_template_child", false) | |
| 2953 | 3139 | var cls *gobject.Object | |
| 2954 | 3140 | ||
| 2955 | 3141 | cret := xWidgetGetTemplateChild(x.GoPointer(), WidgetTypeVar, NameVar) | |
| @@ -2971,6 +3157,8 @@ var xWidgetGetTooltipMarkup func(uintptr) string | |||
| 2971 | 3157 | // [method@Gtk.Widget.set_tooltip_markup], this | |
| 2972 | 3158 | // function returns `NULL`. | |
| 2973 | 3159 | func (x *Widget) GetTooltipMarkup() string { | |
| 3160 | + | core.LazyRegister(&xWidgetGetTooltipMarkup, "GTK", "gtk_widget_get_tooltip_markup", false) | |
| 3161 | + | ||
| 2974 | 3162 | cret := xWidgetGetTooltipMarkup(x.GoPointer()) | |
| 2975 | 3163 | return cret | |
| 2976 | 3164 | } | |
| @@ -2983,6 +3171,8 @@ var xWidgetGetTooltipText func(uintptr) string | |||
| 2983 | 3171 | // [method@Gtk.Widget.set_tooltip_markup], | |
| 2984 | 3172 | // this function will return the escaped text. | |
| 2985 | 3173 | func (x *Widget) GetTooltipText() string { | |
| 3174 | + | core.LazyRegister(&xWidgetGetTooltipText, "GTK", "gtk_widget_get_tooltip_text", false) | |
| 3175 | + | ||
| 2986 | 3176 | cret := xWidgetGetTooltipText(x.GoPointer()) | |
| 2987 | 3177 | return cret | |
| 2988 | 3178 | } | |
| @@ -2991,6 +3181,8 @@ var xWidgetGetValign func(uintptr) Align | |||
| 2991 | 3181 | ||
| 2992 | 3182 | // Gets the vertical alignment of the widget. | |
| 2993 | 3183 | func (x *Widget) GetValign() Align { | |
| 3184 | + | core.LazyRegister(&xWidgetGetValign, "GTK", "gtk_widget_get_valign", false) | |
| 3185 | + | ||
| 2994 | 3186 | cret := xWidgetGetValign(x.GoPointer()) | |
| 2995 | 3187 | return cret | |
| 2996 | 3188 | } | |
| @@ -3002,6 +3194,8 @@ var xWidgetGetVexpand func(uintptr) bool | |||
| 3002 | 3194 | // | |
| 3003 | 3195 | // See [method@Gtk.Widget.get_hexpand] for more detail. | |
| 3004 | 3196 | func (x *Widget) GetVexpand() bool { | |
| 3197 | + | core.LazyRegister(&xWidgetGetVexpand, "GTK", "gtk_widget_get_vexpand", false) | |
| 3198 | + | ||
| 3005 | 3199 | cret := xWidgetGetVexpand(x.GoPointer()) | |
| 3006 | 3200 | return cret | |
| 3007 | 3201 | } | |
| @@ -3012,6 +3206,8 @@ var xWidgetGetVexpandSet func(uintptr) bool | |||
| 3012 | 3206 | // | |
| 3013 | 3207 | // See [method@Gtk.Widget.get_hexpand_set] for more detail. | |
| 3014 | 3208 | func (x *Widget) GetVexpandSet() bool { | |
| 3209 | + | core.LazyRegister(&xWidgetGetVexpandSet, "GTK", "gtk_widget_get_vexpand_set", false) | |
| 3210 | + | ||
| 3015 | 3211 | cret := xWidgetGetVexpandSet(x.GoPointer()) | |
| 3016 | 3212 | return cret | |
| 3017 | 3213 | } | |
| @@ -3029,6 +3225,8 @@ var xWidgetGetVisible func(uintptr) bool | |||
| 3029 | 3225 | // | |
| 3030 | 3226 | // See [method@Gtk.Widget.set_visible]. | |
| 3031 | 3227 | func (x *Widget) GetVisible() bool { | |
| 3228 | + | core.LazyRegister(&xWidgetGetVisible, "GTK", "gtk_widget_get_visible", false) | |
| 3229 | + | ||
| 3032 | 3230 | cret := xWidgetGetVisible(x.GoPointer()) | |
| 3033 | 3231 | return cret | |
| 3034 | 3232 | } | |
| @@ -3046,6 +3244,8 @@ var xWidgetGetWidth func(uintptr) int | |||
| 3046 | 3244 | // To learn more about widget sizes, see the coordinate | |
| 3047 | 3245 | // system [overview](coordinates.html). | |
| 3048 | 3246 | func (x *Widget) GetWidth() int { | |
| 3247 | + | core.LazyRegister(&xWidgetGetWidth, "GTK", "gtk_widget_get_width", false) | |
| 3248 | + | ||
| 3049 | 3249 | cret := xWidgetGetWidth(x.GoPointer()) | |
| 3050 | 3250 | return cret | |
| 3051 | 3251 | } | |
| @@ -3062,6 +3262,8 @@ var xWidgetGrabFocus func(uintptr) bool | |||
| 3062 | 3262 | // Calling [method@Gtk.Widget.grab_focus] on an already focused widget | |
| 3063 | 3263 | // is allowed, should not have an effect, and return true. | |
| 3064 | 3264 | func (x *Widget) GrabFocus() bool { | |
| 3265 | + | core.LazyRegister(&xWidgetGrabFocus, "GTK", "gtk_widget_grab_focus", false) | |
| 3266 | + | ||
| 3065 | 3267 | cret := xWidgetGrabFocus(x.GoPointer()) | |
| 3066 | 3268 | return cret | |
| 3067 | 3269 | } | |
| @@ -3070,6 +3272,8 @@ var xWidgetHasCssClass func(uintptr, string) bool | |||
| 3070 | 3272 | ||
| 3071 | 3273 | // Returns whether a style class is currently applied to the widget. | |
| 3072 | 3274 | func (x *Widget) HasCssClass(CssClassVar string) bool { | |
| 3275 | + | core.LazyRegister(&xWidgetHasCssClass, "GTK", "gtk_widget_has_css_class", false) | |
| 3276 | + | ||
| 3073 | 3277 | cret := xWidgetHasCssClass(x.GoPointer(), CssClassVar) | |
| 3074 | 3278 | return cret | |
| 3075 | 3279 | } | |
| @@ -3079,6 +3283,8 @@ var xWidgetHasDefault func(uintptr) bool | |||
| 3079 | 3283 | // Determines whether the widget is the current default widget | |
| 3080 | 3284 | // within its toplevel. | |
| 3081 | 3285 | func (x *Widget) HasDefault() bool { | |
| 3286 | + | core.LazyRegister(&xWidgetHasDefault, "GTK", "gtk_widget_has_default", false) | |
| 3287 | + | ||
| 3082 | 3288 | cret := xWidgetHasDefault(x.GoPointer()) | |
| 3083 | 3289 | return cret | |
| 3084 | 3290 | } | |
| @@ -3091,6 +3297,8 @@ var xWidgetHasFocus func(uintptr) bool | |||
| 3091 | 3297 | // having the global input focus, and only having the focus | |
| 3092 | 3298 | // within a toplevel. | |
| 3093 | 3299 | func (x *Widget) HasFocus() bool { | |
| 3300 | + | core.LazyRegister(&xWidgetHasFocus, "GTK", "gtk_widget_has_focus", false) | |
| 3301 | + | ||
| 3094 | 3302 | cret := xWidgetHasFocus(x.GoPointer()) | |
| 3095 | 3303 | return cret | |
| 3096 | 3304 | } | |
| @@ -3108,6 +3316,8 @@ var xWidgetHasVisibleFocus func(uintptr) bool | |||
| 3108 | 3316 | // To find out if the widget has the global input focus, use | |
| 3109 | 3317 | // [method@Gtk.Widget.has_focus]. | |
| 3110 | 3318 | func (x *Widget) HasVisibleFocus() bool { | |
| 3319 | + | core.LazyRegister(&xWidgetHasVisibleFocus, "GTK", "gtk_widget_has_visible_focus", false) | |
| 3320 | + | ||
| 3111 | 3321 | cret := xWidgetHasVisibleFocus(x.GoPointer()) | |
| 3112 | 3322 | return cret | |
| 3113 | 3323 | } | |
| @@ -3118,6 +3328,8 @@ var xWidgetHide func(uintptr) | |||
| 3118 | 3328 | // | |
| 3119 | 3329 | // This is causing the widget to be hidden (invisible to the user). | |
| 3120 | 3330 | func (x *Widget) Hide() { | |
| 3331 | + | core.LazyRegister(&xWidgetHide, "GTK", "gtk_widget_hide", false) | |
| 3332 | + | ||
| 3121 | 3333 | xWidgetHide(x.GoPointer()) | |
| 3122 | 3334 | } | |
| 3123 | 3335 | ||
| @@ -3128,6 +3340,8 @@ var xWidgetInDestruction func(uintptr) bool | |||
| 3128 | 3340 | // This information can sometimes be used to avoid doing | |
| 3129 | 3341 | // unnecessary work. | |
| 3130 | 3342 | func (x *Widget) InDestruction() bool { | |
| 3343 | + | core.LazyRegister(&xWidgetInDestruction, "GTK", "gtk_widget_in_destruction", false) | |
| 3344 | + | ||
| 3131 | 3345 | cret := xWidgetInDestruction(x.GoPointer()) | |
| 3132 | 3346 | return cret | |
| 3133 | 3347 | } | |
| @@ -3155,6 +3369,8 @@ var xWidgetInitTemplate func(uintptr) | |||
| 3155 | 3369 | // A good rule of thumb is to call this function as the first thing in | |
| 3156 | 3370 | // an instance initialization function. | |
| 3157 | 3371 | func (x *Widget) InitTemplate() { | |
| 3372 | + | core.LazyRegister(&xWidgetInitTemplate, "GTK", "gtk_widget_init_template", false) | |
| 3373 | + | ||
| 3158 | 3374 | xWidgetInitTemplate(x.GoPointer()) | |
| 3159 | 3375 | } | |
| 3160 | 3376 | ||
| @@ -3174,6 +3390,8 @@ var xWidgetInsertActionGroup func(uintptr, string, uintptr) | |||
| 3174 | 3390 | // If @group is `NULL`, a previously inserted group for @name is | |
| 3175 | 3391 | // removed from @widget. | |
| 3176 | 3392 | func (x *Widget) InsertActionGroup(NameVar string, GroupVar gio.ActionGroup) { | |
| 3393 | + | core.LazyRegister(&xWidgetInsertActionGroup, "GTK", "gtk_widget_insert_action_group", false) | |
| 3394 | + | ||
| 3177 | 3395 | xWidgetInsertActionGroup(x.GoPointer(), NameVar, GroupVar.GoPointer()) | |
| 3178 | 3396 | } | |
| 3179 | 3397 | ||
| @@ -3198,6 +3416,8 @@ var xWidgetInsertAfter func(uintptr, uintptr, uintptr) | |||
| 3198 | 3416 | // This function is primarily meant for widget implementations; if you are | |
| 3199 | 3417 | // just using a widget, you *must* use its own API for adding children. | |
| 3200 | 3418 | func (x *Widget) InsertAfter(ParentVar *Widget, PreviousSiblingVar *Widget) { | |
| 3419 | + | core.LazyRegister(&xWidgetInsertAfter, "GTK", "gtk_widget_insert_after", false) | |
| 3420 | + | ||
| 3201 | 3421 | xWidgetInsertAfter(x.GoPointer(), ParentVar.GoPointer(), PreviousSiblingVar.GoPointer()) | |
| 3202 | 3422 | } | |
| 3203 | 3423 | ||
| @@ -3221,6 +3441,8 @@ var xWidgetInsertBefore func(uintptr, uintptr, uintptr) | |||
| 3221 | 3441 | // This function is primarily meant for widget implementations; if you are | |
| 3222 | 3442 | // just using a widget, you *must* use its own API for adding children. | |
| 3223 | 3443 | func (x *Widget) InsertBefore(ParentVar *Widget, NextSiblingVar *Widget) { | |
| 3444 | + | core.LazyRegister(&xWidgetInsertBefore, "GTK", "gtk_widget_insert_before", false) | |
| 3445 | + | ||
| 3224 | 3446 | xWidgetInsertBefore(x.GoPointer(), ParentVar.GoPointer(), NextSiblingVar.GoPointer()) | |
| 3225 | 3447 | } | |
| 3226 | 3448 | ||
| @@ -3228,6 +3450,8 @@ var xWidgetIsAncestor func(uintptr, uintptr) bool | |||
| 3228 | 3450 | ||
| 3229 | 3451 | // Determines whether the widget is a descendent of @ancestor. | |
| 3230 | 3452 | func (x *Widget) IsAncestor(AncestorVar *Widget) bool { | |
| 3453 | + | core.LazyRegister(&xWidgetIsAncestor, "GTK", "gtk_widget_is_ancestor", false) | |
| 3454 | + | ||
| 3231 | 3455 | cret := xWidgetIsAncestor(x.GoPointer(), AncestorVar.GoPointer()) | |
| 3232 | 3456 | return cret | |
| 3233 | 3457 | } | |
| @@ -3238,6 +3462,8 @@ var xWidgetIsDrawable func(uintptr) bool | |||
| 3238 | 3462 | // | |
| 3239 | 3463 | // A widget can be drawn if it is mapped and visible. | |
| 3240 | 3464 | func (x *Widget) IsDrawable() bool { | |
| 3465 | + | core.LazyRegister(&xWidgetIsDrawable, "GTK", "gtk_widget_is_drawable", false) | |
| 3466 | + | ||
| 3241 | 3467 | cret := xWidgetIsDrawable(x.GoPointer()) | |
| 3242 | 3468 | return cret | |
| 3243 | 3469 | } | |
| @@ -3252,6 +3478,8 @@ var xWidgetIsFocus func(uintptr) bool | |||
| 3252 | 3478 | // will only be set if the toplevel widget additionally has the | |
| 3253 | 3479 | // global input focus. | |
| 3254 | 3480 | func (x *Widget) IsFocus() bool { | |
| 3481 | + | core.LazyRegister(&xWidgetIsFocus, "GTK", "gtk_widget_is_focus", false) | |
| 3482 | + | ||
| 3255 | 3483 | cret := xWidgetIsFocus(x.GoPointer()) | |
| 3256 | 3484 | return cret | |
| 3257 | 3485 | } | |
| @@ -3263,6 +3491,8 @@ var xWidgetIsSensitive func(uintptr) bool | |||
| 3263 | 3491 | // This means it is sensitive itself and also its | |
| 3264 | 3492 | // parent widget is sensitive. | |
| 3265 | 3493 | func (x *Widget) IsSensitive() bool { | |
| 3494 | + | core.LazyRegister(&xWidgetIsSensitive, "GTK", "gtk_widget_is_sensitive", false) | |
| 3495 | + | ||
| 3266 | 3496 | cret := xWidgetIsSensitive(x.GoPointer()) | |
| 3267 | 3497 | return cret | |
| 3268 | 3498 | } | |
| @@ -3277,6 +3507,8 @@ var xWidgetIsVisible func(uintptr) bool | |||
| 3277 | 3507 | // See also [method@Gtk.Widget.get_visible] and | |
| 3278 | 3508 | // [method@Gtk.Widget.set_visible]. | |
| 3279 | 3509 | func (x *Widget) IsVisible() bool { | |
| 3510 | + | core.LazyRegister(&xWidgetIsVisible, "GTK", "gtk_widget_is_visible", false) | |
| 3511 | + | ||
| 3280 | 3512 | cret := xWidgetIsVisible(x.GoPointer()) | |
| 3281 | 3513 | return cret | |
| 3282 | 3514 | } | |
| @@ -3312,6 +3544,8 @@ var xWidgetKeynavFailed func(uintptr, DirectionType) bool | |||
| 3312 | 3544 | // the entire row with the cursor keys, as e.g. known from user | |
| 3313 | 3545 | // interfaces that require entering license keys. | |
| 3314 | 3546 | func (x *Widget) KeynavFailed(DirectionVar DirectionType) bool { | |
| 3547 | + | core.LazyRegister(&xWidgetKeynavFailed, "GTK", "gtk_widget_keynav_failed", false) | |
| 3548 | + | ||
| 3315 | 3549 | cret := xWidgetKeynavFailed(x.GoPointer(), DirectionVar) | |
| 3316 | 3550 | return cret | |
| 3317 | 3551 | } | |
| @@ -3330,6 +3564,8 @@ var xWidgetListMnemonicLabels func(uintptr) uintptr | |||
| 3330 | 3564 | // must call `g_list_foreach (result, (GFunc)g_object_ref, NULL)` | |
| 3331 | 3565 | // first, and then unref all the widgets afterwards. | |
| 3332 | 3566 | func (x *Widget) ListMnemonicLabels() *glib.List { | |
| 3567 | + | core.LazyRegister(&xWidgetListMnemonicLabels, "GTK", "gtk_widget_list_mnemonic_labels", false) | |
| 3568 | + | ||
| 3333 | 3569 | cret := xWidgetListMnemonicLabels(x.GoPointer()) | |
| 3334 | 3570 | if cret == 0 { | |
| 3335 | 3571 | return nil | |
| @@ -3343,6 +3579,8 @@ var xWidgetMap func(uintptr) | |||
| 3343 | 3579 | // | |
| 3344 | 3580 | // This function is only for use in widget implementations. | |
| 3345 | 3581 | func (x *Widget) Map() { | |
| 3582 | + | core.LazyRegister(&xWidgetMap, "GTK", "gtk_widget_map", false) | |
| 3583 | + | ||
| 3346 | 3584 | xWidgetMap(x.GoPointer()) | |
| 3347 | 3585 | } | |
| 3348 | 3586 | ||
| @@ -3357,6 +3595,8 @@ var xWidgetMeasure func(uintptr, Orientation, int, *int, *int, *int, *int) | |||
| 3357 | 3595 | // See [GtkWidget’s geometry management section](class.Widget.html#height-for-width-geometry-management) for | |
| 3358 | 3596 | // a more details on implementing `GtkWidgetClass.measure()`. | |
| 3359 | 3597 | func (x *Widget) Measure(OrientationVar Orientation, ForSizeVar int, MinimumVar *int, NaturalVar *int, MinimumBaselineVar *int, NaturalBaselineVar *int) { | |
| 3598 | + | core.LazyRegister(&xWidgetMeasure, "GTK", "gtk_widget_measure", false) | |
| 3599 | + | ||
| 3360 | 3600 | xWidgetMeasure(x.GoPointer(), OrientationVar, ForSizeVar, MinimumVar, NaturalVar, MinimumBaselineVar, NaturalBaselineVar) | |
| 3361 | 3601 | } | |
| 3362 | 3602 | ||
| @@ -3364,6 +3604,8 @@ var xWidgetMnemonicActivate func(uintptr, bool) bool | |||
| 3364 | 3604 | ||
| 3365 | 3605 | // Emits the [signal@Gtk.Widget::mnemonic-activate] signal. | |
| 3366 | 3606 | func (x *Widget) MnemonicActivate(GroupCyclingVar bool) bool { | |
| 3607 | + | core.LazyRegister(&xWidgetMnemonicActivate, "GTK", "gtk_widget_mnemonic_activate", false) | |
| 3608 | + | ||
| 3367 | 3609 | cret := xWidgetMnemonicActivate(x.GoPointer(), GroupCyclingVar) | |
| 3368 | 3610 | return cret | |
| 3369 | 3611 | } | |
| @@ -3379,6 +3621,7 @@ var xWidgetObserveChildren func(uintptr) uintptr | |||
| 3379 | 3621 | // Applications should try hard to avoid calling this function | |
| 3380 | 3622 | // because of the slowdowns. | |
| 3381 | 3623 | func (x *Widget) ObserveChildren() *gio.ListModelBase { | |
| 3624 | + | core.LazyRegister(&xWidgetObserveChildren, "GTK", "gtk_widget_observe_children", false) | |
| 3382 | 3625 | var cls *gio.ListModelBase | |
| 3383 | 3626 | ||
| 3384 | 3627 | cret := xWidgetObserveChildren(x.GoPointer()) | |
| @@ -3402,6 +3645,7 @@ var xWidgetObserveControllers func(uintptr) uintptr | |||
| 3402 | 3645 | // Applications should try hard to avoid calling this function | |
| 3403 | 3646 | // because of the slowdowns. | |
| 3404 | 3647 | func (x *Widget) ObserveControllers() *gio.ListModelBase { | |
| 3648 | + | core.LazyRegister(&xWidgetObserveControllers, "GTK", "gtk_widget_observe_controllers", false) | |
| 3405 | 3649 | var cls *gio.ListModelBase | |
| 3406 | 3650 | ||
| 3407 | 3651 | cret := xWidgetObserveControllers(x.GoPointer()) | |
| @@ -3431,6 +3675,7 @@ var xWidgetPick func(uintptr, float64, float64, PickFlags) uintptr | |||
| 3431 | 3675 | // below the mouse cursor for purposes of hover highlighting and | |
| 3432 | 3676 | // delivering events. | |
| 3433 | 3677 | func (x *Widget) Pick(XVar float64, YVar float64, FlagsVar PickFlags) *Widget { | |
| 3678 | + | core.LazyRegister(&xWidgetPick, "GTK", "gtk_widget_pick", false) | |
| 3434 | 3679 | var cls *Widget | |
| 3435 | 3680 | ||
| 3436 | 3681 | cret := xWidgetPick(x.GoPointer(), XVar, YVar, FlagsVar) | |
| @@ -3457,6 +3702,8 @@ var xWidgetQueueAllocate func(uintptr) | |||
| 3457 | 3702 | // | |
| 3458 | 3703 | // This function is only for use in widget implementations. | |
| 3459 | 3704 | func (x *Widget) QueueAllocate() { | |
| 3705 | + | core.LazyRegister(&xWidgetQueueAllocate, "GTK", "gtk_widget_queue_allocate", false) | |
| 3706 | + | ||
| 3460 | 3707 | xWidgetQueueAllocate(x.GoPointer()) | |
| 3461 | 3708 | } | |
| 3462 | 3709 | ||
| @@ -3470,6 +3717,8 @@ var xWidgetQueueDraw func(uintptr) | |||
| 3470 | 3717 | // This means @widget's [vfunc@Gtk.Widget.snapshot] | |
| 3471 | 3718 | // implementation will be called. | |
| 3472 | 3719 | func (x *Widget) QueueDraw() { | |
| 3720 | + | core.LazyRegister(&xWidgetQueueDraw, "GTK", "gtk_widget_queue_draw", false) | |
| 3721 | + | ||
| 3473 | 3722 | xWidgetQueueDraw(x.GoPointer()) | |
| 3474 | 3723 | } | |
| 3475 | 3724 | ||
| @@ -3489,6 +3738,8 @@ var xWidgetQueueResize func(uintptr) | |||
| 3489 | 3738 | // | |
| 3490 | 3739 | // This function is only for use in widget implementations. | |
| 3491 | 3740 | func (x *Widget) QueueResize() { | |
| 3741 | + | core.LazyRegister(&xWidgetQueueResize, "GTK", "gtk_widget_queue_resize", false) | |
| 3742 | + | ||
| 3492 | 3743 | xWidgetQueueResize(x.GoPointer()) | |
| 3493 | 3744 | } | |
| 3494 | 3745 | ||
| @@ -3511,6 +3762,8 @@ var xWidgetRealize func(uintptr) | |||
| 3511 | 3762 | // called after the widget is realized automatically, such as | |
| 3512 | 3763 | // [signal@Gtk.Widget::realize]. | |
| 3513 | 3764 | func (x *Widget) Realize() { | |
| 3765 | + | core.LazyRegister(&xWidgetRealize, "GTK", "gtk_widget_realize", false) | |
| 3766 | + | ||
| 3514 | 3767 | xWidgetRealize(x.GoPointer()) | |
| 3515 | 3768 | } | |
| 3516 | 3769 | ||
| @@ -3524,6 +3777,8 @@ var xWidgetRemoveController func(uintptr, uintptr) | |||
| 3524 | 3777 | // Widgets will remove all event controllers automatically when they | |
| 3525 | 3778 | // are destroyed, there is normally no need to call this function. | |
| 3526 | 3779 | func (x *Widget) RemoveController(ControllerVar *EventController) { | |
| 3780 | + | core.LazyRegister(&xWidgetRemoveController, "GTK", "gtk_widget_remove_controller", false) | |
| 3781 | + | ||
| 3527 | 3782 | xWidgetRemoveController(x.GoPointer(), ControllerVar.GoPointer()) | |
| 3528 | 3783 | } | |
| 3529 | 3784 | ||
| @@ -3533,6 +3788,8 @@ var xWidgetRemoveCssClass func(uintptr, string) | |||
| 3533 | 3788 | // | |
| 3534 | 3789 | // After this, the style of @widget will stop matching for @css_class. | |
| 3535 | 3790 | func (x *Widget) RemoveCssClass(CssClassVar string) { | |
| 3791 | + | core.LazyRegister(&xWidgetRemoveCssClass, "GTK", "gtk_widget_remove_css_class", false) | |
| 3792 | + | ||
| 3536 | 3793 | xWidgetRemoveCssClass(x.GoPointer(), CssClassVar) | |
| 3537 | 3794 | } | |
| 3538 | 3795 | ||
| @@ -3545,6 +3802,8 @@ var xWidgetRemoveMnemonicLabel func(uintptr, uintptr) | |||
| 3545 | 3802 | // The widget must have previously been added to the list with | |
| 3546 | 3803 | // [method@Gtk.Widget.add_mnemonic_label]. | |
| 3547 | 3804 | func (x *Widget) RemoveMnemonicLabel(LabelVar *Widget) { | |
| 3805 | + | core.LazyRegister(&xWidgetRemoveMnemonicLabel, "GTK", "gtk_widget_remove_mnemonic_label", false) | |
| 3806 | + | ||
| 3548 | 3807 | xWidgetRemoveMnemonicLabel(x.GoPointer(), LabelVar.GoPointer()) | |
| 3549 | 3808 | } | |
| 3550 | 3809 | ||
| @@ -3553,6 +3812,8 @@ var xWidgetRemoveTickCallback func(uintptr, uint) | |||
| 3553 | 3812 | // Removes a tick callback previously registered with | |
| 3554 | 3813 | // [method@Gtk.Widget.add_tick_callback]. | |
| 3555 | 3814 | func (x *Widget) RemoveTickCallback(IdVar uint) { | |
| 3815 | + | core.LazyRegister(&xWidgetRemoveTickCallback, "GTK", "gtk_widget_remove_tick_callback", false) | |
| 3816 | + | ||
| 3556 | 3817 | xWidgetRemoveTickCallback(x.GoPointer(), IdVar) | |
| 3557 | 3818 | } | |
| 3558 | 3819 | ||
| @@ -3573,6 +3834,8 @@ var xWidgetSetCanFocus func(uintptr, bool) | |||
| 3573 | 3834 | // See [method@Gtk.Widget.grab_focus] for actually setting | |
| 3574 | 3835 | // the input focus on a widget. | |
| 3575 | 3836 | func (x *Widget) SetCanFocus(CanFocusVar bool) { | |
| 3837 | + | core.LazyRegister(&xWidgetSetCanFocus, "GTK", "gtk_widget_set_can_focus", false) | |
| 3838 | + | ||
| 3576 | 3839 | xWidgetSetCanFocus(x.GoPointer(), CanFocusVar) | |
| 3577 | 3840 | } | |
| 3578 | 3841 | ||
| @@ -3580,6 +3843,8 @@ var xWidgetSetCanTarget func(uintptr, bool) | |||
| 3580 | 3843 | ||
| 3581 | 3844 | // Sets whether the widget can be the target of pointer events. | |
| 3582 | 3845 | func (x *Widget) SetCanTarget(CanTargetVar bool) { | |
| 3846 | + | core.LazyRegister(&xWidgetSetCanTarget, "GTK", "gtk_widget_set_can_target", false) | |
| 3847 | + | ||
| 3583 | 3848 | xWidgetSetCanTarget(x.GoPointer(), CanTargetVar) | |
| 3584 | 3849 | } | |
| 3585 | 3850 | ||
| @@ -3602,6 +3867,8 @@ var xWidgetSetChildVisible func(uintptr, bool) | |||
| 3602 | 3867 | // This function is only useful for widget implementations | |
| 3603 | 3868 | // and should never be called by an application. | |
| 3604 | 3869 | func (x *Widget) SetChildVisible(ChildVisibleVar bool) { | |
| 3870 | + | core.LazyRegister(&xWidgetSetChildVisible, "GTK", "gtk_widget_set_child_visible", false) | |
| 3871 | + | ||
| 3605 | 3872 | xWidgetSetChildVisible(x.GoPointer(), ChildVisibleVar) | |
| 3606 | 3873 | } | |
| 3607 | 3874 | ||
| @@ -3609,6 +3876,8 @@ var xWidgetSetCssClasses func(uintptr, []string) | |||
| 3609 | 3876 | ||
| 3610 | 3877 | // Replaces the current style classes of the widget with @classes. | |
| 3611 | 3878 | func (x *Widget) SetCssClasses(ClassesVar []string) { | |
| 3879 | + | core.LazyRegister(&xWidgetSetCssClasses, "GTK", "gtk_widget_set_css_classes", false) | |
| 3880 | + | ||
| 3612 | 3881 | xWidgetSetCssClasses(x.GoPointer(), ClassesVar) | |
| 3613 | 3882 | } | |
| 3614 | 3883 | ||
| @@ -3620,6 +3889,8 @@ var xWidgetSetCursor func(uintptr, uintptr) | |||
| 3620 | 3889 | // If the @cursor is `NULL`, @widget will use the cursor | |
| 3621 | 3890 | // inherited from its parent. | |
| 3622 | 3891 | func (x *Widget) SetCursor(CursorVar *gdk.Cursor) { | |
| 3892 | + | core.LazyRegister(&xWidgetSetCursor, "GTK", "gtk_widget_set_cursor", false) | |
| 3893 | + | ||
| 3623 | 3894 | xWidgetSetCursor(x.GoPointer(), CursorVar.GoPointer()) | |
| 3624 | 3895 | } | |
| 3625 | 3896 | ||
| @@ -3637,6 +3908,8 @@ var xWidgetSetCursorFromName func(uintptr, uintptr) | |||
| 3637 | 3908 | // will do the same as calling [method@Gtk.Widget.set_cursor] | |
| 3638 | 3909 | // with a `NULL` cursor. | |
| 3639 | 3910 | func (x *Widget) SetCursorFromName(NameVar *string) { | |
| 3911 | + | core.LazyRegister(&xWidgetSetCursorFromName, "GTK", "gtk_widget_set_cursor_from_name", false) | |
| 3912 | + | ||
| 3640 | 3913 | NameVarPtr := core.GStrdupNullable(NameVar) | |
| 3641 | 3914 | defer core.GFreeNullable(NameVarPtr) | |
| 3642 | 3915 | ||
| @@ -3661,6 +3934,8 @@ var xWidgetSetDirection func(uintptr, TextDirection) | |||
| 3661 | 3934 | // If the direction is set to [enum@Gtk.TextDirection.none], then | |
| 3662 | 3935 | // the value set by [func@Gtk.Widget.set_default_direction] will be used. | |
| 3663 | 3936 | func (x *Widget) SetDirection(DirVar TextDirection) { | |
| 3937 | + | core.LazyRegister(&xWidgetSetDirection, "GTK", "gtk_widget_set_direction", false) | |
| 3938 | + | ||
| 3664 | 3939 | xWidgetSetDirection(x.GoPointer(), DirVar) | |
| 3665 | 3940 | } | |
| 3666 | 3941 | ||
| @@ -3672,6 +3947,8 @@ var xWidgetSetFocusChild func(uintptr, uintptr) | |||
| 3672 | 3947 | // If you want a certain widget to get the input focus, call | |
| 3673 | 3948 | // [method@Gtk.Widget.grab_focus] on it. | |
| 3674 | 3949 | func (x *Widget) SetFocusChild(ChildVar *Widget) { | |
| 3950 | + | core.LazyRegister(&xWidgetSetFocusChild, "GTK", "gtk_widget_set_focus_child", false) | |
| 3951 | + | ||
| 3675 | 3952 | xWidgetSetFocusChild(x.GoPointer(), ChildVar.GoPointer()) | |
| 3676 | 3953 | } | |
| 3677 | 3954 | ||
| @@ -3684,6 +3961,8 @@ var xWidgetSetFocusOnClick func(uintptr, bool) | |||
| 3684 | 3961 | // toolbars where you don’t want the keyboard focus removed from | |
| 3685 | 3962 | // the main area of the application. | |
| 3686 | 3963 | func (x *Widget) SetFocusOnClick(FocusOnClickVar bool) { | |
| 3964 | + | core.LazyRegister(&xWidgetSetFocusOnClick, "GTK", "gtk_widget_set_focus_on_click", false) | |
| 3965 | + | ||
| 3687 | 3966 | xWidgetSetFocusOnClick(x.GoPointer(), FocusOnClickVar) | |
| 3688 | 3967 | } | |
| 3689 | 3968 | ||
| @@ -3703,6 +3982,8 @@ var xWidgetSetFocusable func(uintptr, bool) | |||
| 3703 | 3982 | // See [method@Gtk.Widget.grab_focus] for actually setting | |
| 3704 | 3983 | // the input focus on a widget. | |
| 3705 | 3984 | func (x *Widget) SetFocusable(FocusableVar bool) { | |
| 3985 | + | core.LazyRegister(&xWidgetSetFocusable, "GTK", "gtk_widget_set_focusable", false) | |
| 3986 | + | ||
| 3706 | 3987 | xWidgetSetFocusable(x.GoPointer(), FocusableVar) | |
| 3707 | 3988 | } | |
| 3708 | 3989 | ||
| @@ -3717,6 +3998,8 @@ var xWidgetSetFontMap func(uintptr, uintptr) | |||
| 3717 | 3998 | // | |
| 3718 | 3999 | // When not set, the widget will inherit the font map from its parent. | |
| 3719 | 4000 | func (x *Widget) SetFontMap(FontMapVar *pango.FontMap) { | |
| 4001 | + | core.LazyRegister(&xWidgetSetFontMap, "GTK", "gtk_widget_set_font_map", false) | |
| 4002 | + | ||
| 3720 | 4003 | xWidgetSetFontMap(x.GoPointer(), FontMapVar.GoPointer()) | |
| 3721 | 4004 | } | |
| 3722 | 4005 | ||
| @@ -3728,6 +4011,8 @@ var xWidgetSetFontOptions func(uintptr, *cairo.FontOptions) | |||
| 3728 | 4011 | // When not set, the default font options for the `GdkDisplay` | |
| 3729 | 4012 | // will be used. | |
| 3730 | 4013 | func (x *Widget) SetFontOptions(OptionsVar *cairo.FontOptions) { | |
| 4014 | + | core.LazyRegister(&xWidgetSetFontOptions, "GTK", "gtk_widget_set_font_options", false) | |
| 4015 | + | ||
| 3731 | 4016 | xWidgetSetFontOptions(x.GoPointer(), OptionsVar) | |
| 3732 | 4017 | } | |
| 3733 | 4018 | ||
| @@ -3735,6 +4020,8 @@ var xWidgetSetHalign func(uintptr, Align) | |||
| 3735 | 4020 | ||
| 3736 | 4021 | // Sets the horizontal alignment of the widget. | |
| 3737 | 4022 | func (x *Widget) SetHalign(AlignVar Align) { | |
| 4023 | + | core.LazyRegister(&xWidgetSetHalign, "GTK", "gtk_widget_set_halign", false) | |
| 4024 | + | ||
| 3738 | 4025 | xWidgetSetHalign(x.GoPointer(), AlignVar) | |
| 3739 | 4026 | } | |
| 3740 | 4027 | ||
| @@ -3742,6 +4029,8 @@ var xWidgetSetHasTooltip func(uintptr, bool) | |||
| 3742 | 4029 | ||
| 3743 | 4030 | // Sets the `has-tooltip` property on the widget. | |
| 3744 | 4031 | func (x *Widget) SetHasTooltip(HasTooltipVar bool) { | |
| 4032 | + | core.LazyRegister(&xWidgetSetHasTooltip, "GTK", "gtk_widget_set_has_tooltip", false) | |
| 4033 | + | ||
| 3745 | 4034 | xWidgetSetHasTooltip(x.GoPointer(), HasTooltipVar) | |
| 3746 | 4035 | } | |
| 3747 | 4036 | ||
| @@ -3774,6 +4063,8 @@ var xWidgetSetHexpand func(uintptr, bool) | |||
| 3774 | 4063 | // [method@Gtk.Widget.set_hexpand_set]) which causes the widget’s hexpand | |
| 3775 | 4064 | // value to be used, rather than looking at children and widget state. | |
| 3776 | 4065 | func (x *Widget) SetHexpand(ExpandVar bool) { | |
| 4066 | + | core.LazyRegister(&xWidgetSetHexpand, "GTK", "gtk_widget_set_hexpand", false) | |
| 4067 | + | ||
| 3777 | 4068 | xWidgetSetHexpand(x.GoPointer(), ExpandVar) | |
| 3778 | 4069 | } | |
| 3779 | 4070 | ||
| @@ -3794,6 +4085,8 @@ var xWidgetSetHexpandSet func(uintptr, bool) | |||
| 3794 | 4085 | // There are few reasons to use this function, but it’s here | |
| 3795 | 4086 | // for completeness and consistency. | |
| 3796 | 4087 | func (x *Widget) SetHexpandSet(SetVar bool) { | |
| 4088 | + | core.LazyRegister(&xWidgetSetHexpandSet, "GTK", "gtk_widget_set_hexpand_set", false) | |
| 4089 | + | ||
| 3797 | 4090 | xWidgetSetHexpandSet(x.GoPointer(), SetVar) | |
| 3798 | 4091 | } | |
| 3799 | 4092 | ||
| @@ -3802,6 +4095,8 @@ var xWidgetSetLayoutManager func(uintptr, uintptr) | |||
| 3802 | 4095 | // Sets the layout manager to use for measuring and allocating children | |
| 3803 | 4096 | // of the widget. | |
| 3804 | 4097 | func (x *Widget) SetLayoutManager(LayoutManagerVar *LayoutManager) { | |
| 4098 | + | core.LazyRegister(&xWidgetSetLayoutManager, "GTK", "gtk_widget_set_layout_manager", false) | |
| 4099 | + | ||
| 3805 | 4100 | xWidgetSetLayoutManager(x.GoPointer(), LayoutManagerVar.GoPointer()) | |
| 3806 | 4101 | } | |
| 3807 | 4102 | ||
| @@ -3810,6 +4105,8 @@ var xWidgetSetLimitEvents func(uintptr, bool) | |||
| 3810 | 4105 | // Sets whether the widget acts like a modal dialog, | |
| 3811 | 4106 | // with respect to event delivery. | |
| 3812 | 4107 | func (x *Widget) SetLimitEvents(LimitEventsVar bool) { | |
| 4108 | + | core.LazyRegister(&xWidgetSetLimitEvents, "GTK", "gtk_widget_set_limit_events", false) | |
| 4109 | + | ||
| 3813 | 4110 | xWidgetSetLimitEvents(x.GoPointer(), LimitEventsVar) | |
| 3814 | 4111 | } | |
| 3815 | 4112 | ||
| @@ -3817,6 +4114,8 @@ var xWidgetSetMarginBottom func(uintptr, int) | |||
| 3817 | 4114 | ||
| 3818 | 4115 | // Sets the bottom margin of the widget. | |
| 3819 | 4116 | func (x *Widget) SetMarginBottom(MarginVar int) { | |
| 4117 | + | core.LazyRegister(&xWidgetSetMarginBottom, "GTK", "gtk_widget_set_margin_bottom", false) | |
| 4118 | + | ||
| 3820 | 4119 | xWidgetSetMarginBottom(x.GoPointer(), MarginVar) | |
| 3821 | 4120 | } | |
| 3822 | 4121 | ||
| @@ -3824,6 +4123,8 @@ var xWidgetSetMarginEnd func(uintptr, int) | |||
| 3824 | 4123 | ||
| 3825 | 4124 | // Sets the end margin of the widget. | |
| 3826 | 4125 | func (x *Widget) SetMarginEnd(MarginVar int) { | |
| 4126 | + | core.LazyRegister(&xWidgetSetMarginEnd, "GTK", "gtk_widget_set_margin_end", false) | |
| 4127 | + | ||
| 3827 | 4128 | xWidgetSetMarginEnd(x.GoPointer(), MarginVar) | |
| 3828 | 4129 | } | |
| 3829 | 4130 | ||
| @@ -3831,6 +4132,8 @@ var xWidgetSetMarginStart func(uintptr, int) | |||
| 3831 | 4132 | ||
| 3832 | 4133 | // Sets the start margin of the widget. | |
| 3833 | 4134 | func (x *Widget) SetMarginStart(MarginVar int) { | |
| 4135 | + | core.LazyRegister(&xWidgetSetMarginStart, "GTK", "gtk_widget_set_margin_start", false) | |
| 4136 | + | ||
| 3834 | 4137 | xWidgetSetMarginStart(x.GoPointer(), MarginVar) | |
| 3835 | 4138 | } | |
| 3836 | 4139 | ||
| @@ -3838,6 +4141,8 @@ var xWidgetSetMarginTop func(uintptr, int) | |||
| 3838 | 4141 | ||
| 3839 | 4142 | // Sets the top margin of the widget. | |
| 3840 | 4143 | func (x *Widget) SetMarginTop(MarginVar int) { | |
| 4144 | + | core.LazyRegister(&xWidgetSetMarginTop, "GTK", "gtk_widget_set_margin_top", false) | |
| 4145 | + | ||
| 3841 | 4146 | xWidgetSetMarginTop(x.GoPointer(), MarginVar) | |
| 3842 | 4147 | } | |
| 3843 | 4148 | ||
| @@ -3855,6 +4160,8 @@ var xWidgetSetName func(uintptr, string) | |||
| 3855 | 4160 | // these will make your widget impossible to match by name. Any combination | |
| 3856 | 4161 | // of alphanumeric symbols, dashes and underscores will suffice. | |
| 3857 | 4162 | func (x *Widget) SetName(NameVar string) { | |
| 4163 | + | core.LazyRegister(&xWidgetSetName, "GTK", "gtk_widget_set_name", false) | |
| 4164 | + | ||
| 3858 | 4165 | xWidgetSetName(x.GoPointer(), NameVar) | |
| 3859 | 4166 | } | |
| 3860 | 4167 | ||
| @@ -3884,6 +4191,8 @@ var xWidgetSetOpacity func(uintptr, float64) | |||
| 3884 | 4191 | // non-translucent, even if they are attached to a toplevel that | |
| 3885 | 4192 | // is translucent. | |
| 3886 | 4193 | func (x *Widget) SetOpacity(OpacityVar float64) { | |
| 4194 | + | core.LazyRegister(&xWidgetSetOpacity, "GTK", "gtk_widget_set_opacity", false) | |
| 4195 | + | ||
| 3887 | 4196 | xWidgetSetOpacity(x.GoPointer(), OpacityVar) | |
| 3888 | 4197 | } | |
| 3889 | 4198 | ||
| @@ -3899,6 +4208,8 @@ var xWidgetSetOverflow func(uintptr, Overflow) | |||
| 3899 | 4208 | // | |
| 3900 | 4209 | // The default value is [enum@Gtk.Overflow.visible]. | |
| 3901 | 4210 | func (x *Widget) SetOverflow(OverflowVar Overflow) { | |
| 4211 | + | core.LazyRegister(&xWidgetSetOverflow, "GTK", "gtk_widget_set_overflow", false) | |
| 4212 | + | ||
| 3902 | 4213 | xWidgetSetOverflow(x.GoPointer(), OverflowVar) | |
| 3903 | 4214 | } | |
| 3904 | 4215 | ||
| @@ -3913,6 +4224,8 @@ var xWidgetSetParent func(uintptr, uintptr) | |||
| 3913 | 4224 | // This function is useful only when implementing subclasses of | |
| 3914 | 4225 | // `GtkWidget`. | |
| 3915 | 4226 | func (x *Widget) SetParent(ParentVar *Widget) { | |
| 4227 | + | core.LazyRegister(&xWidgetSetParent, "GTK", "gtk_widget_set_parent", false) | |
| 4228 | + | ||
| 3916 | 4229 | xWidgetSetParent(x.GoPointer(), ParentVar.GoPointer()) | |
| 3917 | 4230 | } | |
| 3918 | 4231 | ||
| @@ -3922,6 +4235,8 @@ var xWidgetSetReceivesDefault func(uintptr, bool) | |||
| 3922 | 4235 | // widget within its toplevel when it has the focus, even if | |
| 3923 | 4236 | // another widget is the default. | |
| 3924 | 4237 | func (x *Widget) SetReceivesDefault(ReceivesDefaultVar bool) { | |
| 4238 | + | core.LazyRegister(&xWidgetSetReceivesDefault, "GTK", "gtk_widget_set_receives_default", false) | |
| 4239 | + | ||
| 3925 | 4240 | xWidgetSetReceivesDefault(x.GoPointer(), ReceivesDefaultVar) | |
| 3926 | 4241 | } | |
| 3927 | 4242 | ||
| @@ -3934,6 +4249,8 @@ var xWidgetSetSensitive func(uintptr, bool) | |||
| 3934 | 4249 | // interact with them. Insensitive widgets are known as | |
| 3935 | 4250 | // “inactive”, “disabled”, or “ghosted” in some other toolkits. | |
| 3936 | 4251 | func (x *Widget) SetSensitive(SensitiveVar bool) { | |
| 4252 | + | core.LazyRegister(&xWidgetSetSensitive, "GTK", "gtk_widget_set_sensitive", false) | |
| 4253 | + | ||
| 3937 | 4254 | xWidgetSetSensitive(x.GoPointer(), SensitiveVar) | |
| 3938 | 4255 | } | |
| 3939 | 4256 | ||
| @@ -3974,6 +4291,8 @@ var xWidgetSetSizeRequest func(uintptr, int, int) | |||
| 3974 | 4291 | // much all other padding or border properties set by any subclass | |
| 3975 | 4292 | // of `GtkWidget`. | |
| 3976 | 4293 | func (x *Widget) SetSizeRequest(WidthVar int, HeightVar int) { | |
| 4294 | + | core.LazyRegister(&xWidgetSetSizeRequest, "GTK", "gtk_widget_set_size_request", false) | |
| 4295 | + | ||
| 3977 | 4296 | xWidgetSetSizeRequest(x.GoPointer(), WidthVar, HeightVar) | |
| 3978 | 4297 | } | |
| 3979 | 4298 | ||
| @@ -3989,6 +4308,8 @@ var xWidgetSetStateFlags func(uintptr, StateFlags, bool) | |||
| 3989 | 4308 | // | |
| 3990 | 4309 | // This function is for use in widget implementations. | |
| 3991 | 4310 | func (x *Widget) SetStateFlags(FlagsVar StateFlags, ClearVar bool) { | |
| 4311 | + | core.LazyRegister(&xWidgetSetStateFlags, "GTK", "gtk_widget_set_state_flags", false) | |
| 4312 | + | ||
| 3992 | 4313 | xWidgetSetStateFlags(x.GoPointer(), FlagsVar, ClearVar) | |
| 3993 | 4314 | } | |
| 3994 | 4315 | ||
| @@ -4004,6 +4325,8 @@ var xWidgetSetTooltipMarkup func(uintptr, uintptr) | |||
| 4004 | 4325 | // | |
| 4005 | 4326 | // See also [method@Gtk.Tooltip.set_markup]. | |
| 4006 | 4327 | func (x *Widget) SetTooltipMarkup(MarkupVar *string) { | |
| 4328 | + | core.LazyRegister(&xWidgetSetTooltipMarkup, "GTK", "gtk_widget_set_tooltip_markup", false) | |
| 4329 | + | ||
| 4007 | 4330 | MarkupVarPtr := core.GStrdupNullable(MarkupVar) | |
| 4008 | 4331 | defer core.GFreeNullable(MarkupVarPtr) | |
| 4009 | 4332 | ||
| @@ -4023,6 +4346,8 @@ var xWidgetSetTooltipText func(uintptr, uintptr) | |||
| 4023 | 4346 | // | |
| 4024 | 4347 | // See also [method@Gtk.Tooltip.set_text]. | |
| 4025 | 4348 | func (x *Widget) SetTooltipText(TextVar *string) { | |
| 4349 | + | core.LazyRegister(&xWidgetSetTooltipText, "GTK", "gtk_widget_set_tooltip_text", false) | |
| 4350 | + | ||
| 4026 | 4351 | TextVarPtr := core.GStrdupNullable(TextVar) | |
| 4027 | 4352 | defer core.GFreeNullable(TextVarPtr) | |
| 4028 | 4353 | ||
| @@ -4033,6 +4358,8 @@ var xWidgetSetValign func(uintptr, Align) | |||
| 4033 | 4358 | ||
| 4034 | 4359 | // Sets the vertical alignment of the widget. | |
| 4035 | 4360 | func (x *Widget) SetValign(AlignVar Align) { | |
| 4361 | + | core.LazyRegister(&xWidgetSetValign, "GTK", "gtk_widget_set_valign", false) | |
| 4362 | + | ||
| 4036 | 4363 | xWidgetSetValign(x.GoPointer(), AlignVar) | |
| 4037 | 4364 | } | |
| 4038 | 4365 | ||
| @@ -4043,6 +4370,8 @@ var xWidgetSetVexpand func(uintptr, bool) | |||
| 4043 | 4370 | // | |
| 4044 | 4371 | // See [method@Gtk.Widget.set_hexpand] for more detail. | |
| 4045 | 4372 | func (x *Widget) SetVexpand(ExpandVar bool) { | |
| 4373 | + | core.LazyRegister(&xWidgetSetVexpand, "GTK", "gtk_widget_set_vexpand", false) | |
| 4374 | + | ||
| 4046 | 4375 | xWidgetSetVexpand(x.GoPointer(), ExpandVar) | |
| 4047 | 4376 | } | |
| 4048 | 4377 | ||
| @@ -4052,6 +4381,8 @@ var xWidgetSetVexpandSet func(uintptr, bool) | |||
| 4052 | 4381 | // | |
| 4053 | 4382 | // See [method@Gtk.Widget.set_hexpand_set] for more detail. | |
| 4054 | 4383 | func (x *Widget) SetVexpandSet(SetVar bool) { | |
| 4384 | + | core.LazyRegister(&xWidgetSetVexpandSet, "GTK", "gtk_widget_set_vexpand_set", false) | |
| 4385 | + | ||
| 4055 | 4386 | xWidgetSetVexpandSet(x.GoPointer(), SetVar) | |
| 4056 | 4387 | } | |
| 4057 | 4388 | ||
| @@ -4062,6 +4393,8 @@ var xWidgetSetVisible func(uintptr, bool) | |||
| 4062 | 4393 | // Note that setting this to true doesn’t mean the widget is | |
| 4063 | 4394 | // actually viewable, see [method@Gtk.Widget.get_visible]. | |
| 4064 | 4395 | func (x *Widget) SetVisible(VisibleVar bool) { | |
| 4396 | + | core.LazyRegister(&xWidgetSetVisible, "GTK", "gtk_widget_set_visible", false) | |
| 4397 | + | ||
| 4065 | 4398 | xWidgetSetVisible(x.GoPointer(), VisibleVar) | |
| 4066 | 4399 | } | |
| 4067 | 4400 | ||
| @@ -4074,6 +4407,8 @@ var xWidgetShouldLayout func(uintptr) bool | |||
| 4074 | 4407 | // for children that have their own surface, such | |
| 4075 | 4408 | // as [class@Gtk.Popover] instances. | |
| 4076 | 4409 | func (x *Widget) ShouldLayout() bool { | |
| 4410 | + | core.LazyRegister(&xWidgetShouldLayout, "GTK", "gtk_widget_should_layout", false) | |
| 4411 | + | ||
| 4077 | 4412 | cret := xWidgetShouldLayout(x.GoPointer()) | |
| 4078 | 4413 | return cret | |
| 4079 | 4414 | } | |
| @@ -4091,6 +4426,8 @@ var xWidgetShow func(uintptr) | |||
| 4091 | 4426 | // mapped; other shown widgets are realized and mapped when their | |
| 4092 | 4427 | // toplevel widget is realized and mapped. | |
| 4093 | 4428 | func (x *Widget) Show() { | |
| 4429 | + | core.LazyRegister(&xWidgetShow, "GTK", "gtk_widget_show", false) | |
| 4430 | + | ||
| 4094 | 4431 | xWidgetShow(x.GoPointer()) | |
| 4095 | 4432 | } | |
| 4096 | 4433 | ||
| @@ -4101,6 +4438,8 @@ var xWidgetSizeAllocate func(uintptr, *Allocation, int) | |||
| 4101 | 4438 | // | |
| 4102 | 4439 | // This is a simple form of [method@Gtk.Widget.allocate]. | |
| 4103 | 4440 | func (x *Widget) SizeAllocate(AllocationVar *Allocation, BaselineVar int) { | |
| 4441 | + | core.LazyRegister(&xWidgetSizeAllocate, "GTK", "gtk_widget_size_allocate", false) | |
| 4442 | + | ||
| 4104 | 4443 | xWidgetSizeAllocate(x.GoPointer(), AllocationVar, BaselineVar) | |
| 4105 | 4444 | } | |
| 4106 | 4445 | ||
| @@ -4121,6 +4460,8 @@ var xWidgetSnapshotChild func(uintptr, uintptr, uintptr) | |||
| 4121 | 4460 | // | |
| 4122 | 4461 | // It does nothing for children that implement `GtkNative`. | |
| 4123 | 4462 | func (x *Widget) SnapshotChild(ChildVar *Widget, SnapshotVar *Snapshot) { | |
| 4463 | + | core.LazyRegister(&xWidgetSnapshotChild, "GTK", "gtk_widget_snapshot_child", false) | |
| 4464 | + | ||
| 4124 | 4465 | xWidgetSnapshotChild(x.GoPointer(), ChildVar.GoPointer(), SnapshotVar.GoPointer()) | |
| 4125 | 4466 | } | |
| 4126 | 4467 | ||
| @@ -4133,6 +4474,8 @@ var xWidgetTranslateCoordinates func(uintptr, uintptr, float64, float64, *float6 | |||
| 4133 | 4474 | // a common ancestor. If that is not the case, @dest_x and @dest_y | |
| 4134 | 4475 | // are set to 0 and false is returned. | |
| 4135 | 4476 | func (x *Widget) TranslateCoordinates(DestWidgetVar *Widget, SrcXVar float64, SrcYVar float64, DestXVar *float64, DestYVar *float64) bool { | |
| 4477 | + | core.LazyRegister(&xWidgetTranslateCoordinates, "GTK", "gtk_widget_translate_coordinates", false) | |
| 4478 | + | ||
| 4136 | 4479 | cret := xWidgetTranslateCoordinates(x.GoPointer(), DestWidgetVar.GoPointer(), SrcXVar, SrcYVar, DestXVar, DestYVar) | |
| 4137 | 4480 | return cret | |
| 4138 | 4481 | } | |
| @@ -4141,6 +4484,8 @@ var xWidgetTriggerTooltipQuery func(uintptr) | |||
| 4141 | 4484 | ||
| 4142 | 4485 | // Triggers a tooltip query on the display of the widget. | |
| 4143 | 4486 | func (x *Widget) TriggerTooltipQuery() { | |
| 4487 | + | core.LazyRegister(&xWidgetTriggerTooltipQuery, "GTK", "gtk_widget_trigger_tooltip_query", false) | |
| 4488 | + | ||
| 4144 | 4489 | xWidgetTriggerTooltipQuery(x.GoPointer()) | |
| 4145 | 4490 | } | |
| 4146 | 4491 | ||
| @@ -4150,6 +4495,8 @@ var xWidgetUnmap func(uintptr) | |||
| 4150 | 4495 | // | |
| 4151 | 4496 | // This function is only for use in widget implementations. | |
| 4152 | 4497 | func (x *Widget) Unmap() { | |
| 4498 | + | core.LazyRegister(&xWidgetUnmap, "GTK", "gtk_widget_unmap", false) | |
| 4499 | + | ||
| 4153 | 4500 | xWidgetUnmap(x.GoPointer()) | |
| 4154 | 4501 | } | |
| 4155 | 4502 | ||
| @@ -4160,6 +4507,8 @@ var xWidgetUnparent func(uintptr) | |||
| 4160 | 4507 | // This function is only for use in widget implementations, | |
| 4161 | 4508 | // typically in dispose. | |
| 4162 | 4509 | func (x *Widget) Unparent() { | |
| 4510 | + | core.LazyRegister(&xWidgetUnparent, "GTK", "gtk_widget_unparent", false) | |
| 4511 | + | ||
| 4163 | 4512 | xWidgetUnparent(x.GoPointer()) | |
| 4164 | 4513 | } | |
| 4165 | 4514 | ||
| @@ -4171,6 +4520,8 @@ var xWidgetUnrealize func(uintptr) | |||
| 4171 | 4520 | // | |
| 4172 | 4521 | // This function is only useful in widget implementations. | |
| 4173 | 4522 | func (x *Widget) Unrealize() { | |
| 4523 | + | core.LazyRegister(&xWidgetUnrealize, "GTK", "gtk_widget_unrealize", false) | |
| 4524 | + | ||
| 4174 | 4525 | xWidgetUnrealize(x.GoPointer()) | |
| 4175 | 4526 | } | |
| 4176 | 4527 | ||
| @@ -4182,6 +4533,8 @@ var xWidgetUnsetStateFlags func(uintptr, StateFlags) | |||
| 4182 | 4533 | // | |
| 4183 | 4534 | // This function is for use in widget implementations. | |
| 4184 | 4535 | func (x *Widget) UnsetStateFlags(FlagsVar StateFlags) { | |
| 4536 | + | core.LazyRegister(&xWidgetUnsetStateFlags, "GTK", "gtk_widget_unset_state_flags", false) | |
| 4537 | + | ||
| 4185 | 4538 | xWidgetUnsetStateFlags(x.GoPointer(), FlagsVar) | |
| 4186 | 4539 | } | |
| 4187 | 4540 | ||
| @@ -5401,6 +5754,8 @@ var xWidgetGetDefaultDirection func() TextDirection | |||
| 5401 | 5754 | // | |
| 5402 | 5755 | // See [func@Gtk.Widget.set_default_direction]. | |
| 5403 | 5756 | func WidgetGetDefaultDirection() TextDirection { | |
| 5757 | + | core.LazyRegister(&xWidgetGetDefaultDirection, "GTK", "gtk_widget_get_default_direction", false) | |
| 5758 | + | ||
| 5404 | 5759 | cret := xWidgetGetDefaultDirection() | |
| 5405 | 5760 | return cret | |
| 5406 | 5761 | } | |
| @@ -5411,217 +5766,12 @@ var xWidgetSetDefaultDirection func(TextDirection) | |||
| 5411 | 5766 | // | |
| 5412 | 5767 | // See [method@Gtk.Widget.set_direction]. | |
| 5413 | 5768 | func WidgetSetDefaultDirection(DirVar TextDirection) { | |
| 5769 | + | core.LazyRegister(&xWidgetSetDefaultDirection, "GTK", "gtk_widget_set_default_direction", false) | |
| 5770 | + | ||
| 5414 | 5771 | xWidgetSetDefaultDirection(DirVar) | |
| 5415 | 5772 | } | |
| 5416 | 5773 | ||
| 5417 | 5774 | func init() { | |
| 5418 | 5775 | core.SetPackageName("GTK", "gtk4") | |
| 5419 | 5776 | core.SetSharedLibraries("GTK", []string{"libgtk-4.so.1", "libgtk-4.1.dylib"}) | |
| 5420 | - | var libs []uintptr | |
| 5421 | - | for _, libPath := range core.GetPaths("GTK") { | |
| 5422 | - | lib, err := purego.Dlopen(libPath, purego.RTLD_NOW|purego.RTLD_GLOBAL) | |
| 5423 | - | if err != nil { | |
| 5424 | - | panic(err) | |
| 5425 | - | } | |
| 5426 | - | libs = append(libs, lib) | |
| 5427 | - | } | |
| 5428 | - | ||
| 5429 | - | core.PuregoSafeRegister(&xRequisitionGLibType, libs, "gtk_requisition_get_type") | |
| 5430 | - | ||
| 5431 | - | core.PuregoSafeRegister(&xNewRequisition, libs, "gtk_requisition_new") | |
| 5432 | - | ||
| 5433 | - | core.PuregoSafeRegister(&xRequisitionCopy, libs, "gtk_requisition_copy") | |
| 5434 | - | core.PuregoSafeRegister(&xRequisitionFree, libs, "gtk_requisition_free") | |
| 5435 | - | ||
| 5436 | - | core.PuregoSafeRegister(&xWidgetClassAddBinding, libs, "gtk_widget_class_add_binding") | |
| 5437 | - | core.PuregoSafeRegister(&xWidgetClassAddBindingAction, libs, "gtk_widget_class_add_binding_action") | |
| 5438 | - | core.PuregoSafeRegister(&xWidgetClassAddBindingSignal, libs, "gtk_widget_class_add_binding_signal") | |
| 5439 | - | core.PuregoSafeRegister(&xWidgetClassAddShortcut, libs, "gtk_widget_class_add_shortcut") | |
| 5440 | - | core.PuregoSafeRegister(&xWidgetClassBindTemplateCallbackFull, libs, "gtk_widget_class_bind_template_callback_full") | |
| 5441 | - | core.PuregoSafeRegister(&xWidgetClassBindTemplateChildFull, libs, "gtk_widget_class_bind_template_child_full") | |
| 5442 | - | core.PuregoSafeRegister(&xWidgetClassGetAccessibleRole, libs, "gtk_widget_class_get_accessible_role") | |
| 5443 | - | core.PuregoSafeRegister(&xWidgetClassGetActivateSignal, libs, "gtk_widget_class_get_activate_signal") | |
| 5444 | - | core.PuregoSafeRegister(&xWidgetClassGetCssName, libs, "gtk_widget_class_get_css_name") | |
| 5445 | - | core.PuregoSafeRegister(&xWidgetClassGetLayoutManagerType, libs, "gtk_widget_class_get_layout_manager_type") | |
| 5446 | - | core.PuregoSafeRegister(&xWidgetClassInstallAction, libs, "gtk_widget_class_install_action") | |
| 5447 | - | core.PuregoSafeRegister(&xWidgetClassInstallPropertyAction, libs, "gtk_widget_class_install_property_action") | |
| 5448 | - | core.PuregoSafeRegister(&xWidgetClassQueryAction, libs, "gtk_widget_class_query_action") | |
| 5449 | - | core.PuregoSafeRegister(&xWidgetClassSetAccessibleRole, libs, "gtk_widget_class_set_accessible_role") | |
| 5450 | - | core.PuregoSafeRegister(&xWidgetClassSetActivateSignal, libs, "gtk_widget_class_set_activate_signal") | |
| 5451 | - | core.PuregoSafeRegister(&xWidgetClassSetActivateSignalFromName, libs, "gtk_widget_class_set_activate_signal_from_name") | |
| 5452 | - | core.PuregoSafeRegister(&xWidgetClassSetCssName, libs, "gtk_widget_class_set_css_name") | |
| 5453 | - | core.PuregoSafeRegister(&xWidgetClassSetLayoutManagerType, libs, "gtk_widget_class_set_layout_manager_type") | |
| 5454 | - | core.PuregoSafeRegister(&xWidgetClassSetTemplate, libs, "gtk_widget_class_set_template") | |
| 5455 | - | core.PuregoSafeRegister(&xWidgetClassSetTemplateFromResource, libs, "gtk_widget_class_set_template_from_resource") | |
| 5456 | - | core.PuregoSafeRegister(&xWidgetClassSetTemplateScope, libs, "gtk_widget_class_set_template_scope") | |
| 5457 | - | ||
| 5458 | - | core.PuregoSafeRegister(&xWidgetGLibType, libs, "gtk_widget_get_type") | |
| 5459 | - | ||
| 5460 | - | core.PuregoSafeRegister(&xWidgetActionSetEnabled, libs, "gtk_widget_action_set_enabled") | |
| 5461 | - | core.PuregoSafeRegister(&xWidgetActivate, libs, "gtk_widget_activate") | |
| 5462 | - | core.PuregoSafeRegister(&xWidgetActivateAction, libs, "gtk_widget_activate_action") | |
| 5463 | - | core.PuregoSafeRegister(&xWidgetActivateActionVariant, libs, "gtk_widget_activate_action_variant") | |
| 5464 | - | core.PuregoSafeRegister(&xWidgetActivateDefault, libs, "gtk_widget_activate_default") | |
| 5465 | - | core.PuregoSafeRegister(&xWidgetAddController, libs, "gtk_widget_add_controller") | |
| 5466 | - | core.PuregoSafeRegister(&xWidgetAddCssClass, libs, "gtk_widget_add_css_class") | |
| 5467 | - | core.PuregoSafeRegister(&xWidgetAddMnemonicLabel, libs, "gtk_widget_add_mnemonic_label") | |
| 5468 | - | core.PuregoSafeRegister(&xWidgetAddTickCallback, libs, "gtk_widget_add_tick_callback") | |
| 5469 | - | core.PuregoSafeRegister(&xWidgetAllocate, libs, "gtk_widget_allocate") | |
| 5470 | - | core.PuregoSafeRegister(&xWidgetChildFocus, libs, "gtk_widget_child_focus") | |
| 5471 | - | core.PuregoSafeRegister(&xWidgetComputeBounds, libs, "gtk_widget_compute_bounds") | |
| 5472 | - | core.PuregoSafeRegister(&xWidgetComputeExpand, libs, "gtk_widget_compute_expand") | |
| 5473 | - | core.PuregoSafeRegister(&xWidgetComputePoint, libs, "gtk_widget_compute_point") | |
| 5474 | - | core.PuregoSafeRegister(&xWidgetComputeTransform, libs, "gtk_widget_compute_transform") | |
| 5475 | - | core.PuregoSafeRegister(&xWidgetContains, libs, "gtk_widget_contains") | |
| 5476 | - | core.PuregoSafeRegister(&xWidgetCreatePangoContext, libs, "gtk_widget_create_pango_context") | |
| 5477 | - | core.PuregoSafeRegister(&xWidgetCreatePangoLayout, libs, "gtk_widget_create_pango_layout") | |
| 5478 | - | core.PuregoSafeRegister(&xWidgetDisposeTemplate, libs, "gtk_widget_dispose_template") | |
| 5479 | - | core.PuregoSafeRegister(&xWidgetDragCheckThreshold, libs, "gtk_drag_check_threshold") | |
| 5480 | - | core.PuregoSafeRegister(&xWidgetErrorBell, libs, "gtk_widget_error_bell") | |
| 5481 | - | core.PuregoSafeRegister(&xWidgetGetAllocatedBaseline, libs, "gtk_widget_get_allocated_baseline") | |
| 5482 | - | core.PuregoSafeRegister(&xWidgetGetAllocatedHeight, libs, "gtk_widget_get_allocated_height") | |
| 5483 | - | core.PuregoSafeRegister(&xWidgetGetAllocatedWidth, libs, "gtk_widget_get_allocated_width") | |
| 5484 | - | core.PuregoSafeRegister(&xWidgetGetAllocation, libs, "gtk_widget_get_allocation") | |
| 5485 | - | core.PuregoSafeRegister(&xWidgetGetAncestor, libs, "gtk_widget_get_ancestor") | |
| 5486 | - | core.PuregoSafeRegister(&xWidgetGetBaseline, libs, "gtk_widget_get_baseline") | |
| 5487 | - | core.PuregoSafeRegister(&xWidgetGetCanFocus, libs, "gtk_widget_get_can_focus") | |
| 5488 | - | core.PuregoSafeRegister(&xWidgetGetCanTarget, libs, "gtk_widget_get_can_target") | |
| 5489 | - | core.PuregoSafeRegister(&xWidgetGetChildVisible, libs, "gtk_widget_get_child_visible") | |
| 5490 | - | core.PuregoSafeRegister(&xWidgetGetClipboard, libs, "gtk_widget_get_clipboard") | |
| 5491 | - | core.PuregoSafeRegister(&xWidgetGetColor, libs, "gtk_widget_get_color") | |
| 5492 | - | core.PuregoSafeRegister(&xWidgetGetCssClasses, libs, "gtk_widget_get_css_classes") | |
| 5493 | - | core.PuregoSafeRegister(&xWidgetGetCssName, libs, "gtk_widget_get_css_name") | |
| 5494 | - | core.PuregoSafeRegister(&xWidgetGetCursor, libs, "gtk_widget_get_cursor") | |
| 5495 | - | core.PuregoSafeRegister(&xWidgetGetDirection, libs, "gtk_widget_get_direction") | |
| 5496 | - | core.PuregoSafeRegister(&xWidgetGetDisplay, libs, "gtk_widget_get_display") | |
| 5497 | - | core.PuregoSafeRegister(&xWidgetGetFirstChild, libs, "gtk_widget_get_first_child") | |
| 5498 | - | core.PuregoSafeRegister(&xWidgetGetFocusChild, libs, "gtk_widget_get_focus_child") | |
| 5499 | - | core.PuregoSafeRegister(&xWidgetGetFocusOnClick, libs, "gtk_widget_get_focus_on_click") | |
| 5500 | - | core.PuregoSafeRegister(&xWidgetGetFocusable, libs, "gtk_widget_get_focusable") | |
| 5501 | - | core.PuregoSafeRegister(&xWidgetGetFontMap, libs, "gtk_widget_get_font_map") | |
| 5502 | - | core.PuregoSafeRegister(&xWidgetGetFontOptions, libs, "gtk_widget_get_font_options") | |
| 5503 | - | core.PuregoSafeRegister(&xWidgetGetFrameClock, libs, "gtk_widget_get_frame_clock") | |
| 5504 | - | core.PuregoSafeRegister(&xWidgetGetHalign, libs, "gtk_widget_get_halign") | |
| 5505 | - | core.PuregoSafeRegister(&xWidgetGetHasTooltip, libs, "gtk_widget_get_has_tooltip") | |
| 5506 | - | core.PuregoSafeRegister(&xWidgetGetHeight, libs, "gtk_widget_get_height") | |
| 5507 | - | core.PuregoSafeRegister(&xWidgetGetHexpand, libs, "gtk_widget_get_hexpand") | |
| 5508 | - | core.PuregoSafeRegister(&xWidgetGetHexpandSet, libs, "gtk_widget_get_hexpand_set") | |
| 5509 | - | core.PuregoSafeRegister(&xWidgetGetLastChild, libs, "gtk_widget_get_last_child") | |
| 5510 | - | core.PuregoSafeRegister(&xWidgetGetLayoutManager, libs, "gtk_widget_get_layout_manager") | |
| 5511 | - | core.PuregoSafeRegister(&xWidgetGetLimitEvents, libs, "gtk_widget_get_limit_events") | |
| 5512 | - | core.PuregoSafeRegister(&xWidgetGetMapped, libs, "gtk_widget_get_mapped") | |
| 5513 | - | core.PuregoSafeRegister(&xWidgetGetMarginBottom, libs, "gtk_widget_get_margin_bottom") | |
| 5514 | - | core.PuregoSafeRegister(&xWidgetGetMarginEnd, libs, "gtk_widget_get_margin_end") | |
| 5515 | - | core.PuregoSafeRegister(&xWidgetGetMarginStart, libs, "gtk_widget_get_margin_start") | |
| 5516 | - | core.PuregoSafeRegister(&xWidgetGetMarginTop, libs, "gtk_widget_get_margin_top") | |
| 5517 | - | core.PuregoSafeRegister(&xWidgetGetName, libs, "gtk_widget_get_name") | |
| 5518 | - | core.PuregoSafeRegister(&xWidgetGetNative, libs, "gtk_widget_get_native") | |
| 5519 | - | core.PuregoSafeRegister(&xWidgetGetNextSibling, libs, "gtk_widget_get_next_sibling") | |
| 5520 | - | core.PuregoSafeRegister(&xWidgetGetOpacity, libs, "gtk_widget_get_opacity") | |
| 5521 | - | core.PuregoSafeRegister(&xWidgetGetOverflow, libs, "gtk_widget_get_overflow") | |
| 5522 | - | core.PuregoSafeRegister(&xWidgetGetPangoContext, libs, "gtk_widget_get_pango_context") | |
| 5523 | - | core.PuregoSafeRegister(&xWidgetGetParent, libs, "gtk_widget_get_parent") | |
| 5524 | - | core.PuregoSafeRegister(&xWidgetGetPreferredSize, libs, "gtk_widget_get_preferred_size") | |
| 5525 | - | core.PuregoSafeRegister(&xWidgetGetPrevSibling, libs, "gtk_widget_get_prev_sibling") | |
| 5526 | - | core.PuregoSafeRegister(&xWidgetGetPrimaryClipboard, libs, "gtk_widget_get_primary_clipboard") | |
| 5527 | - | core.PuregoSafeRegister(&xWidgetGetRealized, libs, "gtk_widget_get_realized") | |
| 5528 | - | core.PuregoSafeRegister(&xWidgetGetReceivesDefault, libs, "gtk_widget_get_receives_default") | |
| 5529 | - | core.PuregoSafeRegister(&xWidgetGetRequestMode, libs, "gtk_widget_get_request_mode") | |
| 5530 | - | core.PuregoSafeRegister(&xWidgetGetRoot, libs, "gtk_widget_get_root") | |
| 5531 | - | core.PuregoSafeRegister(&xWidgetGetScaleFactor, libs, "gtk_widget_get_scale_factor") | |
| 5532 | - | core.PuregoSafeRegister(&xWidgetGetSensitive, libs, "gtk_widget_get_sensitive") | |
| 5533 | - | core.PuregoSafeRegister(&xWidgetGetSettings, libs, "gtk_widget_get_settings") | |
| 5534 | - | core.PuregoSafeRegister(&xWidgetGetSize, libs, "gtk_widget_get_size") | |
| 5535 | - | core.PuregoSafeRegister(&xWidgetGetSizeRequest, libs, "gtk_widget_get_size_request") | |
| 5536 | - | core.PuregoSafeRegister(&xWidgetGetStateFlags, libs, "gtk_widget_get_state_flags") | |
| 5537 | - | core.PuregoSafeRegister(&xWidgetGetStyleContext, libs, "gtk_widget_get_style_context") | |
| 5538 | - | core.PuregoSafeRegister(&xWidgetGetTemplateChild, libs, "gtk_widget_get_template_child") | |
| 5539 | - | core.PuregoSafeRegister(&xWidgetGetTooltipMarkup, libs, "gtk_widget_get_tooltip_markup") | |
| 5540 | - | core.PuregoSafeRegister(&xWidgetGetTooltipText, libs, "gtk_widget_get_tooltip_text") | |
| 5541 | - | core.PuregoSafeRegister(&xWidgetGetValign, libs, "gtk_widget_get_valign") | |
| 5542 | - | core.PuregoSafeRegister(&xWidgetGetVexpand, libs, "gtk_widget_get_vexpand") | |
| 5543 | - | core.PuregoSafeRegister(&xWidgetGetVexpandSet, libs, "gtk_widget_get_vexpand_set") | |
| 5544 | - | core.PuregoSafeRegister(&xWidgetGetVisible, libs, "gtk_widget_get_visible") | |
| 5545 | - | core.PuregoSafeRegister(&xWidgetGetWidth, libs, "gtk_widget_get_width") | |
| 5546 | - | core.PuregoSafeRegister(&xWidgetGrabFocus, libs, "gtk_widget_grab_focus") | |
| 5547 | - | core.PuregoSafeRegister(&xWidgetHasCssClass, libs, "gtk_widget_has_css_class") | |
| 5548 | - | core.PuregoSafeRegister(&xWidgetHasDefault, libs, "gtk_widget_has_default") | |
| 5549 | - | core.PuregoSafeRegister(&xWidgetHasFocus, libs, "gtk_widget_has_focus") | |
| 5550 | - | core.PuregoSafeRegister(&xWidgetHasVisibleFocus, libs, "gtk_widget_has_visible_focus") | |
| 5551 | - | core.PuregoSafeRegister(&xWidgetHide, libs, "gtk_widget_hide") | |
| 5552 | - | core.PuregoSafeRegister(&xWidgetInDestruction, libs, "gtk_widget_in_destruction") | |
| 5553 | - | core.PuregoSafeRegister(&xWidgetInitTemplate, libs, "gtk_widget_init_template") | |
| 5554 | - | core.PuregoSafeRegister(&xWidgetInsertActionGroup, libs, "gtk_widget_insert_action_group") | |
| 5555 | - | core.PuregoSafeRegister(&xWidgetInsertAfter, libs, "gtk_widget_insert_after") | |
| 5556 | - | core.PuregoSafeRegister(&xWidgetInsertBefore, libs, "gtk_widget_insert_before") | |
| 5557 | - | core.PuregoSafeRegister(&xWidgetIsAncestor, libs, "gtk_widget_is_ancestor") | |
| 5558 | - | core.PuregoSafeRegister(&xWidgetIsDrawable, libs, "gtk_widget_is_drawable") | |
| 5559 | - | core.PuregoSafeRegister(&xWidgetIsFocus, libs, "gtk_widget_is_focus") | |
| 5560 | - | core.PuregoSafeRegister(&xWidgetIsSensitive, libs, "gtk_widget_is_sensitive") | |
| 5561 | - | core.PuregoSafeRegister(&xWidgetIsVisible, libs, "gtk_widget_is_visible") | |
| 5562 | - | core.PuregoSafeRegister(&xWidgetKeynavFailed, libs, "gtk_widget_keynav_failed") | |
| 5563 | - | core.PuregoSafeRegister(&xWidgetListMnemonicLabels, libs, "gtk_widget_list_mnemonic_labels") | |
| 5564 | - | core.PuregoSafeRegister(&xWidgetMap, libs, "gtk_widget_map") | |
| 5565 | - | core.PuregoSafeRegister(&xWidgetMeasure, libs, "gtk_widget_measure") | |
| 5566 | - | core.PuregoSafeRegister(&xWidgetMnemonicActivate, libs, "gtk_widget_mnemonic_activate") | |
| 5567 | - | core.PuregoSafeRegister(&xWidgetObserveChildren, libs, "gtk_widget_observe_children") | |
| 5568 | - | core.PuregoSafeRegister(&xWidgetObserveControllers, libs, "gtk_widget_observe_controllers") | |
| 5569 | - | core.PuregoSafeRegister(&xWidgetPick, libs, "gtk_widget_pick") | |
| 5570 | - | core.PuregoSafeRegister(&xWidgetQueueAllocate, libs, "gtk_widget_queue_allocate") | |
| 5571 | - | core.PuregoSafeRegister(&xWidgetQueueDraw, libs, "gtk_widget_queue_draw") | |
| 5572 | - | core.PuregoSafeRegister(&xWidgetQueueResize, libs, "gtk_widget_queue_resize") | |
| 5573 | - | core.PuregoSafeRegister(&xWidgetRealize, libs, "gtk_widget_realize") | |
| 5574 | - | core.PuregoSafeRegister(&xWidgetRemoveController, libs, "gtk_widget_remove_controller") | |
| 5575 | - | core.PuregoSafeRegister(&xWidgetRemoveCssClass, libs, "gtk_widget_remove_css_class") | |
| 5576 | - | core.PuregoSafeRegister(&xWidgetRemoveMnemonicLabel, libs, "gtk_widget_remove_mnemonic_label") | |
| 5577 | - | core.PuregoSafeRegister(&xWidgetRemoveTickCallback, libs, "gtk_widget_remove_tick_callback") | |
| 5578 | - | core.PuregoSafeRegister(&xWidgetSetCanFocus, libs, "gtk_widget_set_can_focus") | |
| 5579 | - | core.PuregoSafeRegister(&xWidgetSetCanTarget, libs, "gtk_widget_set_can_target") | |
| 5580 | - | core.PuregoSafeRegister(&xWidgetSetChildVisible, libs, "gtk_widget_set_child_visible") | |
| 5581 | - | core.PuregoSafeRegister(&xWidgetSetCssClasses, libs, "gtk_widget_set_css_classes") | |
| 5582 | - | core.PuregoSafeRegister(&xWidgetSetCursor, libs, "gtk_widget_set_cursor") | |
| 5583 | - | core.PuregoSafeRegister(&xWidgetSetCursorFromName, libs, "gtk_widget_set_cursor_from_name") | |
| 5584 | - | core.PuregoSafeRegister(&xWidgetSetDirection, libs, "gtk_widget_set_direction") | |
| 5585 | - | core.PuregoSafeRegister(&xWidgetSetFocusChild, libs, "gtk_widget_set_focus_child") | |
| 5586 | - | core.PuregoSafeRegister(&xWidgetSetFocusOnClick, libs, "gtk_widget_set_focus_on_click") | |
| 5587 | - | core.PuregoSafeRegister(&xWidgetSetFocusable, libs, "gtk_widget_set_focusable") | |
| 5588 | - | core.PuregoSafeRegister(&xWidgetSetFontMap, libs, "gtk_widget_set_font_map") | |
| 5589 | - | core.PuregoSafeRegister(&xWidgetSetFontOptions, libs, "gtk_widget_set_font_options") | |
| 5590 | - | core.PuregoSafeRegister(&xWidgetSetHalign, libs, "gtk_widget_set_halign") | |
| 5591 | - | core.PuregoSafeRegister(&xWidgetSetHasTooltip, libs, "gtk_widget_set_has_tooltip") | |
| 5592 | - | core.PuregoSafeRegister(&xWidgetSetHexpand, libs, "gtk_widget_set_hexpand") | |
| 5593 | - | core.PuregoSafeRegister(&xWidgetSetHexpandSet, libs, "gtk_widget_set_hexpand_set") | |
| 5594 | - | core.PuregoSafeRegister(&xWidgetSetLayoutManager, libs, "gtk_widget_set_layout_manager") | |
| 5595 | - | core.PuregoSafeRegister(&xWidgetSetLimitEvents, libs, "gtk_widget_set_limit_events") | |
| 5596 | - | core.PuregoSafeRegister(&xWidgetSetMarginBottom, libs, "gtk_widget_set_margin_bottom") | |
| 5597 | - | core.PuregoSafeRegister(&xWidgetSetMarginEnd, libs, "gtk_widget_set_margin_end") | |
| 5598 | - | core.PuregoSafeRegister(&xWidgetSetMarginStart, libs, "gtk_widget_set_margin_start") | |
| 5599 | - | core.PuregoSafeRegister(&xWidgetSetMarginTop, libs, "gtk_widget_set_margin_top") | |
| 5600 | - | core.PuregoSafeRegister(&xWidgetSetName, libs, "gtk_widget_set_name") | |
| 5601 | - | core.PuregoSafeRegister(&xWidgetSetOpacity, libs, "gtk_widget_set_opacity") | |
| 5602 | - | core.PuregoSafeRegister(&xWidgetSetOverflow, libs, "gtk_widget_set_overflow") | |
| 5603 | - | core.PuregoSafeRegister(&xWidgetSetParent, libs, "gtk_widget_set_parent") | |
| 5604 | - | core.PuregoSafeRegister(&xWidgetSetReceivesDefault, libs, "gtk_widget_set_receives_default") | |
| 5605 | - | core.PuregoSafeRegister(&xWidgetSetSensitive, libs, "gtk_widget_set_sensitive") | |
| 5606 | - | core.PuregoSafeRegister(&xWidgetSetSizeRequest, libs, "gtk_widget_set_size_request") | |
| 5607 | - | core.PuregoSafeRegister(&xWidgetSetStateFlags, libs, "gtk_widget_set_state_flags") | |
| 5608 | - | core.PuregoSafeRegister(&xWidgetSetTooltipMarkup, libs, "gtk_widget_set_tooltip_markup") | |
| 5609 | - | core.PuregoSafeRegister(&xWidgetSetTooltipText, libs, "gtk_widget_set_tooltip_text") | |
| 5610 | - | core.PuregoSafeRegister(&xWidgetSetValign, libs, "gtk_widget_set_valign") | |
| 5611 | - | core.PuregoSafeRegister(&xWidgetSetVexpand, libs, "gtk_widget_set_vexpand") | |
| 5612 | - | core.PuregoSafeRegister(&xWidgetSetVexpandSet, libs, "gtk_widget_set_vexpand_set") | |
| 5613 | - | core.PuregoSafeRegister(&xWidgetSetVisible, libs, "gtk_widget_set_visible") | |
| 5614 | - | core.PuregoSafeRegister(&xWidgetShouldLayout, libs, "gtk_widget_should_layout") | |
| 5615 | - | core.PuregoSafeRegister(&xWidgetShow, libs, "gtk_widget_show") | |
| 5616 | - | core.PuregoSafeRegister(&xWidgetSizeAllocate, libs, "gtk_widget_size_allocate") | |
| 5617 | - | core.PuregoSafeRegister(&xWidgetSnapshotChild, libs, "gtk_widget_snapshot_child") | |
| 5618 | - | core.PuregoSafeRegister(&xWidgetTranslateCoordinates, libs, "gtk_widget_translate_coordinates") | |
| 5619 | - | core.PuregoSafeRegister(&xWidgetTriggerTooltipQuery, libs, "gtk_widget_trigger_tooltip_query") | |
| 5620 | - | core.PuregoSafeRegister(&xWidgetUnmap, libs, "gtk_widget_unmap") | |
| 5621 | - | core.PuregoSafeRegister(&xWidgetUnparent, libs, "gtk_widget_unparent") | |
| 5622 | - | core.PuregoSafeRegister(&xWidgetUnrealize, libs, "gtk_widget_unrealize") | |
| 5623 | - | core.PuregoSafeRegister(&xWidgetUnsetStateFlags, libs, "gtk_widget_unset_state_flags") | |
| 5624 | - | ||
| 5625 | - | core.PuregoSafeRegister(&xWidgetGetDefaultDirection, libs, "gtk_widget_get_default_direction") | |
| 5626 | - | core.PuregoSafeRegister(&xWidgetSetDefaultDirection, libs, "gtk_widget_set_default_direction") | |
| 5627 | 5777 | } | |
| @@ -44,6 +44,7 @@ type Requisition struct { | |||||
| 44 | var xRequisitionGLibType func() types.GType | 44 | var xRequisitionGLibType func() types.GType | ||
| 45 | 45 | ||||
| 46 | func RequisitionGLibType() types.GType { | 46 | func RequisitionGLibType() types.GType { | ||
| 47 | + | core.LazyRegister(&xRequisitionGLibType, "GTK", "gtk_requisition_get_type", false) | |||
| 47 | return xRequisitionGLibType() | 48 | return xRequisitionGLibType() | ||
| 48 | } | 49 | } | ||
| 49 | 50 | ||||
| @@ -65,6 +66,8 @@ var xNewRequisition func() uintptr | |||||
| 65 | // | 66 | // | ||
| 66 | // The struct is initialized to zero. | 67 | // The struct is initialized to zero. | ||
| 67 | func NewRequisition() *Requisition { | 68 | func NewRequisition() *Requisition { | ||
| 69 | + | core.LazyRegister(&xNewRequisition, "GTK", "gtk_requisition_new", false) | |||
| 70 | + | ||||
| 68 | cret := xNewRequisition() | 71 | cret := xNewRequisition() | ||
| 69 | if cret == 0 { | 72 | if cret == 0 { | ||
| 70 | return nil | 73 | return nil | ||
| @@ -76,6 +79,8 @@ var xRequisitionCopy func(uintptr) uintptr | |||||
| 76 | 79 | ||||
| 77 | // Copies a `GtkRequisition`. | 80 | // Copies a `GtkRequisition`. | ||
| 78 | func (x *Requisition) Copy() *Requisition { | 81 | func (x *Requisition) Copy() *Requisition { | ||
| 82 | + | core.LazyRegister(&xRequisitionCopy, "GTK", "gtk_requisition_copy", false) | |||
| 83 | + | ||||
| 79 | cret := xRequisitionCopy(x.GoPointer()) | 84 | cret := xRequisitionCopy(x.GoPointer()) | ||
| 80 | if cret == 0 { | 85 | if cret == 0 { | ||
| 81 | return nil | 86 | return nil | ||
| @@ -87,6 +92,8 @@ var xRequisitionFree func(uintptr) | |||||
| 87 | 92 | ||||
| 88 | // Frees a `GtkRequisition`. | 93 | // Frees a `GtkRequisition`. | ||
| 89 | func (x *Requisition) Free() { | 94 | func (x *Requisition) Free() { | ||
| 95 | + | core.LazyRegister(&xRequisitionFree, "GTK", "gtk_requisition_free", false) | |||
| 96 | + | ||||
| 90 | xRequisitionFree(x.GoPointer()) | 97 | xRequisitionFree(x.GoPointer()) | ||
| 91 | } | 98 | } | ||
| 92 | 99 | ||||
| @@ -176,6 +183,8 @@ var xWidgetClassAddBinding func(uintptr, uint, gdk.ModifierType, uintptr, uintpt | |||||
| 176 | // you will have to use [method@Gtk.WidgetClass.add_shortcut] with a custom | 183 | // you will have to use [method@Gtk.WidgetClass.add_shortcut] with a custom | ||
| 177 | // shortcut. | 184 | // shortcut. | ||
| 178 | func (x *WidgetClass) AddBinding(KeyvalVar uint, ModsVar gdk.ModifierType, CallbackVar *ShortcutFunc, FormatStringVar *string, varArgs ...interface{}) { | 185 | func (x *WidgetClass) AddBinding(KeyvalVar uint, ModsVar gdk.ModifierType, CallbackVar *ShortcutFunc, FormatStringVar *string, varArgs ...interface{}) { | ||
| 186 | + | core.LazyRegister(&xWidgetClassAddBinding, "GTK", "gtk_widget_class_add_binding", false) | |||
| 187 | + | ||||
| 179 | FormatStringVarPtr := core.GStrdupNullable(FormatStringVar) | 188 | FormatStringVarPtr := core.GStrdupNullable(FormatStringVar) | ||
| 180 | defer core.GFreeNullable(FormatStringVarPtr) | 189 | defer core.GFreeNullable(FormatStringVarPtr) | ||
| 181 | 190 | ||||
| @@ -194,6 +203,8 @@ var xWidgetClassAddBindingAction func(uintptr, uint, gdk.ModifierType, string, u | |||||
| 194 | // [method@Gtk.WidgetClass.add_shortcut] and must be called during class | 203 | // [method@Gtk.WidgetClass.add_shortcut] and must be called during class | ||
| 195 | // initialization. | 204 | // initialization. | ||
| 196 | func (x *WidgetClass) AddBindingAction(KeyvalVar uint, ModsVar gdk.ModifierType, ActionNameVar string, FormatStringVar *string, varArgs ...interface{}) { | 205 | func (x *WidgetClass) AddBindingAction(KeyvalVar uint, ModsVar gdk.ModifierType, ActionNameVar string, FormatStringVar *string, varArgs ...interface{}) { | ||
| 206 | + | core.LazyRegister(&xWidgetClassAddBindingAction, "GTK", "gtk_widget_class_add_binding_action", false) | |||
| 207 | + | ||||
| 197 | FormatStringVarPtr := core.GStrdupNullable(FormatStringVar) | 208 | FormatStringVarPtr := core.GStrdupNullable(FormatStringVar) | ||
| 198 | defer core.GFreeNullable(FormatStringVarPtr) | 209 | defer core.GFreeNullable(FormatStringVarPtr) | ||
| 199 | 210 | ||||
| @@ -212,6 +223,8 @@ var xWidgetClassAddBindingSignal func(uintptr, uint, gdk.ModifierType, string, u | |||||
| 212 | // [method@Gtk.WidgetClass.add_shortcut] and must be called during class | 223 | // [method@Gtk.WidgetClass.add_shortcut] and must be called during class | ||
| 213 | // initialization. | 224 | // initialization. | ||
| 214 | func (x *WidgetClass) AddBindingSignal(KeyvalVar uint, ModsVar gdk.ModifierType, SignalVar string, FormatStringVar *string, varArgs ...interface{}) { | 225 | func (x *WidgetClass) AddBindingSignal(KeyvalVar uint, ModsVar gdk.ModifierType, SignalVar string, FormatStringVar *string, varArgs ...interface{}) { | ||
| 226 | + | core.LazyRegister(&xWidgetClassAddBindingSignal, "GTK", "gtk_widget_class_add_binding_signal", false) | |||
| 227 | + | ||||
| 215 | FormatStringVarPtr := core.GStrdupNullable(FormatStringVar) | 228 | FormatStringVarPtr := core.GStrdupNullable(FormatStringVar) | ||
| 216 | defer core.GFreeNullable(FormatStringVarPtr) | 229 | defer core.GFreeNullable(FormatStringVarPtr) | ||
| 217 | 230 | ||||
| @@ -231,6 +244,8 @@ var xWidgetClassAddShortcut func(uintptr, uintptr) | |||||
| 231 | // This function must only be used in class initialization functions | 244 | // This function must only be used in class initialization functions | ||
| 232 | // otherwise it is not guaranteed that the shortcut will be installed. | 245 | // otherwise it is not guaranteed that the shortcut will be installed. | ||
| 233 | func (x *WidgetClass) AddShortcut(ShortcutVar *Shortcut) { | 246 | func (x *WidgetClass) AddShortcut(ShortcutVar *Shortcut) { | ||
| 247 | + | core.LazyRegister(&xWidgetClassAddShortcut, "GTK", "gtk_widget_class_add_shortcut", false) | |||
| 248 | + | ||||
| 234 | xWidgetClassAddShortcut(x.GoPointer(), ShortcutVar.GoPointer()) | 249 | xWidgetClassAddShortcut(x.GoPointer(), ShortcutVar.GoPointer()) | ||
| 235 | } | 250 | } | ||
| 236 | 251 | ||||
| @@ -246,6 +261,8 @@ var xWidgetClassBindTemplateCallbackFull func(uintptr, string, uintptr) | |||||
| 246 | // Note that this must be called from a composite widget classes | 261 | // Note that this must be called from a composite widget classes | ||
| 247 | // class initializer after calling [method@Gtk.WidgetClass.set_template]. | 262 | // class initializer after calling [method@Gtk.WidgetClass.set_template]. | ||
| 248 | func (x *WidgetClass) BindTemplateCallbackFull(CallbackNameVar string, CallbackSymbolVar *gobject.Callback) { | 263 | func (x *WidgetClass) BindTemplateCallbackFull(CallbackNameVar string, CallbackSymbolVar *gobject.Callback) { | ||
| 264 | + | core.LazyRegister(&xWidgetClassBindTemplateCallbackFull, "GTK", "gtk_widget_class_bind_template_callback_full", false) | |||
| 265 | + | ||||
| 249 | xWidgetClassBindTemplateCallbackFull(x.GoPointer(), CallbackNameVar, glib.NewCallback(CallbackSymbolVar)) | 266 | xWidgetClassBindTemplateCallbackFull(x.GoPointer(), CallbackNameVar, glib.NewCallback(CallbackSymbolVar)) | ||
| 250 | } | 267 | } | ||
| 251 | 268 | ||||
| @@ -280,6 +297,8 @@ var xWidgetClassBindTemplateChildFull func(uintptr, string, bool, int) | |||||
| 280 | // Note that this must be called from a composite widget classes class | 297 | // Note that this must be called from a composite widget classes class | ||
| 281 | // initializer after calling [method@Gtk.WidgetClass.set_template]. | 298 | // initializer after calling [method@Gtk.WidgetClass.set_template]. | ||
| 282 | func (x *WidgetClass) BindTemplateChildFull(NameVar string, InternalChildVar bool, StructOffsetVar int) { | 299 | func (x *WidgetClass) BindTemplateChildFull(NameVar string, InternalChildVar bool, StructOffsetVar int) { | ||
| 300 | + | core.LazyRegister(&xWidgetClassBindTemplateChildFull, "GTK", "gtk_widget_class_bind_template_child_full", false) | |||
| 301 | + | ||||
| 283 | xWidgetClassBindTemplateChildFull(x.GoPointer(), NameVar, InternalChildVar, StructOffsetVar) | 302 | xWidgetClassBindTemplateChildFull(x.GoPointer(), NameVar, InternalChildVar, StructOffsetVar) | ||
| 284 | } | 303 | } | ||
| 285 | 304 | ||||
| @@ -292,6 +311,8 @@ var xWidgetClassGetAccessibleRole func(uintptr) AccessibleRole | |||||
| 292 | // | 311 | // | ||
| 293 | // See also: [method@Gtk.Accessible.get_accessible_role]. | 312 | // See also: [method@Gtk.Accessible.get_accessible_role]. | ||
| 294 | func (x *WidgetClass) GetAccessibleRole() AccessibleRole { | 313 | func (x *WidgetClass) GetAccessibleRole() AccessibleRole { | ||
| 314 | + | core.LazyRegister(&xWidgetClassGetAccessibleRole, "GTK", "gtk_widget_class_get_accessible_role", false) | |||
| 315 | + | ||||
| 295 | cret := xWidgetClassGetAccessibleRole(x.GoPointer()) | 316 | cret := xWidgetClassGetAccessibleRole(x.GoPointer()) | ||
| 296 | return cret | 317 | return cret | ||
| 297 | } | 318 | } | ||
| @@ -303,6 +324,8 @@ var xWidgetClassGetActivateSignal func(uintptr) uint | |||||
| 303 | // The activation signal is set using | 324 | // The activation signal is set using | ||
| 304 | // [method@Gtk.WidgetClass.set_activate_signal]. | 325 | // [method@Gtk.WidgetClass.set_activate_signal]. | ||
| 305 | func (x *WidgetClass) GetActivateSignal() uint { | 326 | func (x *WidgetClass) GetActivateSignal() uint { | ||
| 327 | + | core.LazyRegister(&xWidgetClassGetActivateSignal, "GTK", "gtk_widget_class_get_activate_signal", false) | |||
| 328 | + | ||||
| 306 | cret := xWidgetClassGetActivateSignal(x.GoPointer()) | 329 | cret := xWidgetClassGetActivateSignal(x.GoPointer()) | ||
| 307 | return cret | 330 | return cret | ||
| 308 | } | 331 | } | ||
| @@ -313,6 +336,8 @@ var xWidgetClassGetCssName func(uintptr) string | |||||
| 313 | // | 336 | // | ||
| 314 | // See [method@Gtk.WidgetClass.set_css_name] for details. | 337 | // See [method@Gtk.WidgetClass.set_css_name] for details. | ||
| 315 | func (x *WidgetClass) GetCssName() string { | 338 | func (x *WidgetClass) GetCssName() string { | ||
| 339 | + | core.LazyRegister(&xWidgetClassGetCssName, "GTK", "gtk_widget_class_get_css_name", false) | |||
| 340 | + | ||||
| 316 | cret := xWidgetClassGetCssName(x.GoPointer()) | 341 | cret := xWidgetClassGetCssName(x.GoPointer()) | ||
| 317 | return cret | 342 | return cret | ||
| 318 | } | 343 | } | ||
| @@ -324,6 +349,8 @@ var xWidgetClassGetLayoutManagerType func(uintptr) types.GType | |||||
| 324 | // | 349 | // | ||
| 325 | // See also: [method@Gtk.WidgetClass.set_layout_manager_type]. | 350 | // See also: [method@Gtk.WidgetClass.set_layout_manager_type]. | ||
| 326 | func (x *WidgetClass) GetLayoutManagerType() types.GType { | 351 | func (x *WidgetClass) GetLayoutManagerType() types.GType { | ||
| 352 | + | core.LazyRegister(&xWidgetClassGetLayoutManagerType, "GTK", "gtk_widget_class_get_layout_manager_type", false) | |||
| 353 | + | ||||
| 327 | cret := xWidgetClassGetLayoutManagerType(x.GoPointer()) | 354 | cret := xWidgetClassGetLayoutManagerType(x.GoPointer()) | ||
| 328 | return cret | 355 | return cret | ||
| 329 | } | 356 | } | ||
| @@ -338,6 +365,8 @@ var xWidgetClassInstallAction func(uintptr, string, uintptr, uintptr) | |||||
| 338 | // they have is whether they are enabled or not (which can be changed | 365 | // they have is whether they are enabled or not (which can be changed | ||
| 339 | // with [method@Gtk.Widget.action_set_enabled]). | 366 | // with [method@Gtk.Widget.action_set_enabled]). | ||
| 340 | func (x *WidgetClass) InstallAction(ActionNameVar string, ParameterTypeVar *string, ActivateVar *WidgetActionActivateFunc) { | 367 | func (x *WidgetClass) InstallAction(ActionNameVar string, ParameterTypeVar *string, ActivateVar *WidgetActionActivateFunc) { | ||
| 368 | + | core.LazyRegister(&xWidgetClassInstallAction, "GTK", "gtk_widget_class_install_action", false) | |||
| 369 | + | ||||
| 341 | ParameterTypeVarPtr := core.GStrdupNullable(ParameterTypeVar) | 370 | ParameterTypeVarPtr := core.GStrdupNullable(ParameterTypeVar) | ||
| 342 | defer core.GFreeNullable(ParameterTypeVarPtr) | 371 | defer core.GFreeNullable(ParameterTypeVarPtr) | ||
| 343 | 372 | ||||
| @@ -362,6 +391,8 @@ var xWidgetClassInstallPropertyAction func(uintptr, string, string) | |||||
| 362 | // toggle the property value. Otherwise, the action will have a parameter | 391 | // toggle the property value. Otherwise, the action will have a parameter | ||
| 363 | // of the same type as the property. | 392 | // of the same type as the property. | ||
| 364 | func (x *WidgetClass) InstallPropertyAction(ActionNameVar string, PropertyNameVar string) { | 393 | func (x *WidgetClass) InstallPropertyAction(ActionNameVar string, PropertyNameVar string) { | ||
| 394 | + | core.LazyRegister(&xWidgetClassInstallPropertyAction, "GTK", "gtk_widget_class_install_property_action", false) | |||
| 395 | + | ||||
| 365 | xWidgetClassInstallPropertyAction(x.GoPointer(), ActionNameVar, PropertyNameVar) | 396 | xWidgetClassInstallPropertyAction(x.GoPointer(), ActionNameVar, PropertyNameVar) | ||
| 366 | } | 397 | } | ||
| 367 | 398 | ||||
| @@ -377,6 +408,8 @@ var xWidgetClassQueryAction func(uintptr, uint, *types.GType, *string, **glib.Va | |||||
| 377 | // by parent classes. You can identify those by looking | 408 | // by parent classes. You can identify those by looking | ||
| 378 | // at @owner. | 409 | // at @owner. | ||
| 379 | func (x *WidgetClass) QueryAction(IndexVar uint, OwnerVar *types.GType, ActionNameVar *string, ParameterTypeVar **glib.VariantType, PropertyNameVar *string) bool { | 410 | func (x *WidgetClass) QueryAction(IndexVar uint, OwnerVar *types.GType, ActionNameVar *string, ParameterTypeVar **glib.VariantType, PropertyNameVar *string) bool { | ||
| 411 | + | core.LazyRegister(&xWidgetClassQueryAction, "GTK", "gtk_widget_class_query_action", false) | |||
| 412 | + | ||||
| 380 | cret := xWidgetClassQueryAction(x.GoPointer(), IndexVar, OwnerVar, ActionNameVar, ParameterTypeVar, PropertyNameVar) | 413 | cret := xWidgetClassQueryAction(x.GoPointer(), IndexVar, OwnerVar, ActionNameVar, ParameterTypeVar, PropertyNameVar) | ||
| 381 | return cret | 414 | return cret | ||
| 382 | } | 415 | } | ||
| @@ -388,6 +421,8 @@ var xWidgetClassSetAccessibleRole func(uintptr, AccessibleRole) | |||||
| 388 | // Different accessible roles have different states, and are | 421 | // Different accessible roles have different states, and are | ||
| 389 | // rendered differently by assistive technologies. | 422 | // rendered differently by assistive technologies. | ||
| 390 | func (x *WidgetClass) SetAccessibleRole(AccessibleRoleVar AccessibleRole) { | 423 | func (x *WidgetClass) SetAccessibleRole(AccessibleRoleVar AccessibleRole) { | ||
| 424 | + | core.LazyRegister(&xWidgetClassSetAccessibleRole, "GTK", "gtk_widget_class_set_accessible_role", false) | |||
| 425 | + | ||||
| 391 | xWidgetClassSetAccessibleRole(x.GoPointer(), AccessibleRoleVar) | 426 | xWidgetClassSetAccessibleRole(x.GoPointer(), AccessibleRoleVar) | ||
| 392 | } | 427 | } | ||
| 393 | 428 | ||||
| @@ -400,6 +435,8 @@ var xWidgetClassSetActivateSignal func(uintptr, uint) | |||||
| 400 | // The @signal_id must have been registered with [function.GObject.signal_new] | 435 | // The @signal_id must have been registered with [function.GObject.signal_new] | ||
| 401 | // or [func@GObject.signal_newv] before calling this function. | 436 | // or [func@GObject.signal_newv] before calling this function. | ||
| 402 | func (x *WidgetClass) SetActivateSignal(SignalIdVar uint) { | 437 | func (x *WidgetClass) SetActivateSignal(SignalIdVar uint) { | ||
| 438 | + | core.LazyRegister(&xWidgetClassSetActivateSignal, "GTK", "gtk_widget_class_set_activate_signal", false) | |||
| 439 | + | ||||
| 403 | xWidgetClassSetActivateSignal(x.GoPointer(), SignalIdVar) | 440 | xWidgetClassSetActivateSignal(x.GoPointer(), SignalIdVar) | ||
| 404 | } | 441 | } | ||
| 405 | 442 | ||||
| @@ -414,6 +451,8 @@ var xWidgetClassSetActivateSignalFromName func(uintptr, string) | |||||
| 414 | // The @signal_name must have been registered with [function.GObject.signal_new] | 451 | // The @signal_name must have been registered with [function.GObject.signal_new] | ||
| 415 | // or [func@GObject.signal_newv] before calling this function. | 452 | // or [func@GObject.signal_newv] before calling this function. | ||
| 416 | func (x *WidgetClass) SetActivateSignalFromName(SignalNameVar string) { | 453 | func (x *WidgetClass) SetActivateSignalFromName(SignalNameVar string) { | ||
| 454 | + | core.LazyRegister(&xWidgetClassSetActivateSignalFromName, "GTK", "gtk_widget_class_set_activate_signal_from_name", false) | |||
| 455 | + | ||||
| 417 | xWidgetClassSetActivateSignalFromName(x.GoPointer(), SignalNameVar) | 456 | xWidgetClassSetActivateSignalFromName(x.GoPointer(), SignalNameVar) | ||
| 418 | } | 457 | } | ||
| 419 | 458 | ||||
| @@ -425,6 +464,8 @@ var xWidgetClassSetCssName func(uintptr, string) | |||||
| 425 | // set on the parent class is used. By default, `GtkWidget` | 464 | // set on the parent class is used. By default, `GtkWidget` | ||
| 426 | // uses the name "widget". | 465 | // uses the name "widget". | ||
| 427 | func (x *WidgetClass) SetCssName(NameVar string) { | 466 | func (x *WidgetClass) SetCssName(NameVar string) { | ||
| 467 | + | core.LazyRegister(&xWidgetClassSetCssName, "GTK", "gtk_widget_class_set_css_name", false) | |||
| 468 | + | ||||
| 428 | xWidgetClassSetCssName(x.GoPointer(), NameVar) | 469 | xWidgetClassSetCssName(x.GoPointer(), NameVar) | ||
| 429 | } | 470 | } | ||
| 430 | 471 | ||||
| @@ -438,6 +479,8 @@ var xWidgetClassSetLayoutManagerType func(uintptr, types.GType) | |||||
| 438 | // This function should only be called from class init functions | 479 | // This function should only be called from class init functions | ||
| 439 | // of widgets. | 480 | // of widgets. | ||
| 440 | func (x *WidgetClass) SetLayoutManagerType(TypeVar types.GType) { | 481 | func (x *WidgetClass) SetLayoutManagerType(TypeVar types.GType) { | ||
| 482 | + | core.LazyRegister(&xWidgetClassSetLayoutManagerType, "GTK", "gtk_widget_class_set_layout_manager_type", false) | |||
| 483 | + | ||||
| 441 | xWidgetClassSetLayoutManagerType(x.GoPointer(), TypeVar) | 484 | xWidgetClassSetLayoutManagerType(x.GoPointer(), TypeVar) | ||
| 442 | } | 485 | } | ||
| 443 | 486 | ||||
| @@ -452,6 +495,8 @@ var xWidgetClassSetTemplate func(uintptr, *glib.Bytes) | |||||
| 452 | // Note that any class that installs templates must call | 495 | // Note that any class that installs templates must call | ||
| 453 | // [method@Gtk.Widget.init_template] in the widget’s instance initializer. | 496 | // [method@Gtk.Widget.init_template] in the widget’s instance initializer. | ||
| 454 | func (x *WidgetClass) SetTemplate(TemplateBytesVar *glib.Bytes) { | 497 | func (x *WidgetClass) SetTemplate(TemplateBytesVar *glib.Bytes) { | ||
| 498 | + | core.LazyRegister(&xWidgetClassSetTemplate, "GTK", "gtk_widget_class_set_template", false) | |||
| 499 | + | ||||
| 455 | xWidgetClassSetTemplate(x.GoPointer(), TemplateBytesVar) | 500 | xWidgetClassSetTemplate(x.GoPointer(), TemplateBytesVar) | ||
| 456 | } | 501 | } | ||
| 457 | 502 | ||||
| @@ -464,6 +509,8 @@ var xWidgetClassSetTemplateFromResource func(uintptr, string) | |||||
| 464 | // [method@Gtk.Widget.init_template] in the widget’s instance | 509 | // [method@Gtk.Widget.init_template] in the widget’s instance | ||
| 465 | // initializer. | 510 | // initializer. | ||
| 466 | func (x *WidgetClass) SetTemplateFromResource(ResourceNameVar string) { | 511 | func (x *WidgetClass) SetTemplateFromResource(ResourceNameVar string) { | ||
| 512 | + | core.LazyRegister(&xWidgetClassSetTemplateFromResource, "GTK", "gtk_widget_class_set_template_from_resource", false) | |||
| 513 | + | ||||
| 467 | xWidgetClassSetTemplateFromResource(x.GoPointer(), ResourceNameVar) | 514 | xWidgetClassSetTemplateFromResource(x.GoPointer(), ResourceNameVar) | ||
| 468 | } | 515 | } | ||
| 469 | 516 | ||||
| @@ -476,6 +523,8 @@ var xWidgetClassSetTemplateScope func(uintptr, uintptr) | |||||
| 476 | // Note that this must be called from a composite widget classes class | 523 | // Note that this must be called from a composite widget classes class | ||
| 477 | // initializer after calling [method@Gtk.WidgetClass.set_template]. | 524 | // initializer after calling [method@Gtk.WidgetClass.set_template]. | ||
| 478 | func (x *WidgetClass) SetTemplateScope(ScopeVar BuilderScope) { | 525 | func (x *WidgetClass) SetTemplateScope(ScopeVar BuilderScope) { | ||
| 526 | + | core.LazyRegister(&xWidgetClassSetTemplateScope, "GTK", "gtk_widget_class_set_template_scope", false) | |||
| 527 | + | ||||
| 479 | xWidgetClassSetTemplateScope(x.GoPointer(), ScopeVar.GoPointer()) | 528 | xWidgetClassSetTemplateScope(x.GoPointer(), ScopeVar.GoPointer()) | ||
| 480 | } | 529 | } | ||
| 481 | 530 | ||||
| @@ -1678,6 +1727,7 @@ type Widget struct { | |||||
| 1678 | var xWidgetGLibType func() types.GType | 1727 | var xWidgetGLibType func() types.GType | ||
| 1679 | 1728 | ||||
| 1680 | func WidgetGLibType() types.GType { | 1729 | func WidgetGLibType() types.GType { | ||
| 1730 | + | core.LazyRegister(&xWidgetGLibType, "GTK", "gtk_widget_get_type", false) | |||
| 1681 | return xWidgetGLibType() | 1731 | return xWidgetGLibType() | ||
| 1682 | } | 1732 | } | ||
| 1683 | 1733 | ||||
| @@ -1692,6 +1742,8 @@ var xWidgetActionSetEnabled func(uintptr, string, bool) | |||||
| 1692 | // Enables or disables an action installed with | 1742 | // Enables or disables an action installed with | ||
| 1693 | // [method@Gtk.WidgetClass.install_action]. | 1743 | // [method@Gtk.WidgetClass.install_action]. | ||
| 1694 | func (x *Widget) ActionSetEnabled(ActionNameVar string, EnabledVar bool) { | 1744 | func (x *Widget) ActionSetEnabled(ActionNameVar string, EnabledVar bool) { | ||
| 1745 | + | core.LazyRegister(&xWidgetActionSetEnabled, "GTK", "gtk_widget_action_set_enabled", false) | |||
| 1746 | + | ||||
| 1695 | xWidgetActionSetEnabled(x.GoPointer(), ActionNameVar, EnabledVar) | 1747 | xWidgetActionSetEnabled(x.GoPointer(), ActionNameVar, EnabledVar) | ||
| 1696 | } | 1748 | } | ||
| 1697 | 1749 | ||||
| @@ -1712,6 +1764,8 @@ var xWidgetActivate func(uintptr) bool | |||||
| 1712 | // | 1764 | // | ||
| 1713 | // If @widget is not activatable, the function returns false. | 1765 | // If @widget is not activatable, the function returns false. | ||
| 1714 | func (x *Widget) Activate() bool { | 1766 | func (x *Widget) Activate() bool { | ||
| 1767 | + | core.LazyRegister(&xWidgetActivate, "GTK", "gtk_widget_activate", false) | |||
| 1768 | + | ||||
| 1715 | cret := xWidgetActivate(x.GoPointer()) | 1769 | cret := xWidgetActivate(x.GoPointer()) | ||
| 1716 | return cret | 1770 | return cret | ||
| 1717 | } | 1771 | } | ||
| @@ -1726,6 +1780,8 @@ var xWidgetActivateAction func(uintptr, string, uintptr, ...interface{}) bool | |||||
| 1726 | // This is a wrapper around [method@Gtk.Widget.activate_action_variant] | 1780 | // This is a wrapper around [method@Gtk.Widget.activate_action_variant] | ||
| 1727 | // that constructs the @args variant according to @format_string. | 1781 | // that constructs the @args variant according to @format_string. | ||
| 1728 | func (x *Widget) ActivateAction(NameVar string, FormatStringVar *string, varArgs ...interface{}) bool { | 1782 | func (x *Widget) ActivateAction(NameVar string, FormatStringVar *string, varArgs ...interface{}) bool { | ||
| 1783 | + | core.LazyRegister(&xWidgetActivateAction, "GTK", "gtk_widget_activate_action", false) | |||
| 1784 | + | ||||
| 1729 | FormatStringVarPtr := core.GStrdupNullable(FormatStringVar) | 1785 | FormatStringVarPtr := core.GStrdupNullable(FormatStringVar) | ||
| 1730 | defer core.GFreeNullable(FormatStringVarPtr) | 1786 | defer core.GFreeNullable(FormatStringVarPtr) | ||
| 1731 | 1787 | ||||
| @@ -1748,6 +1804,8 @@ var xWidgetActivateActionVariant func(uintptr, string, *glib.Variant) bool | |||||
| 1748 | // The arguments must match the actions expected parameter type, | 1804 | // The arguments must match the actions expected parameter type, | ||
| 1749 | // as returned by [method@Gio.Action.get_parameter_type]. | 1805 | // as returned by [method@Gio.Action.get_parameter_type]. | ||
| 1750 | func (x *Widget) ActivateActionVariant(NameVar string, ArgsVar *glib.Variant) bool { | 1806 | func (x *Widget) ActivateActionVariant(NameVar string, ArgsVar *glib.Variant) bool { | ||
| 1807 | + | core.LazyRegister(&xWidgetActivateActionVariant, "GTK", "gtk_widget_activate_action_variant", false) | |||
| 1808 | + | ||||
| 1751 | cret := xWidgetActivateActionVariant(x.GoPointer(), NameVar, ArgsVar) | 1809 | cret := xWidgetActivateActionVariant(x.GoPointer(), NameVar, ArgsVar) | ||
| 1752 | return cret | 1810 | return cret | ||
| 1753 | } | 1811 | } | ||
| @@ -1759,6 +1817,8 @@ var xWidgetActivateDefault func(uintptr) | |||||
| 1759 | // The action is looked up in the same was as for | 1817 | // The action is looked up in the same was as for | ||
| 1760 | // [method@Gtk.Widget.activate_action]. | 1818 | // [method@Gtk.Widget.activate_action]. | ||
| 1761 | func (x *Widget) ActivateDefault() { | 1819 | func (x *Widget) ActivateDefault() { | ||
| 1820 | + | core.LazyRegister(&xWidgetActivateDefault, "GTK", "gtk_widget_activate_default", false) | |||
| 1821 | + | ||||
| 1762 | xWidgetActivateDefault(x.GoPointer()) | 1822 | xWidgetActivateDefault(x.GoPointer()) | ||
| 1763 | } | 1823 | } | ||
| 1764 | 1824 | ||||
| @@ -1772,6 +1832,8 @@ var xWidgetAddController func(uintptr, uintptr) | |||||
| 1772 | // You will usually want to call this function right after | 1832 | // You will usually want to call this function right after | ||
| 1773 | // creating any kind of [class@Gtk.EventController]. | 1833 | // creating any kind of [class@Gtk.EventController]. | ||
| 1774 | func (x *Widget) AddController(ControllerVar *EventController) { | 1834 | func (x *Widget) AddController(ControllerVar *EventController) { | ||
| 1835 | + | core.LazyRegister(&xWidgetAddController, "GTK", "gtk_widget_add_controller", false) | |||
| 1836 | + | ||||
| 1775 | xWidgetAddController(x.GoPointer(), ControllerVar.GoPointer()) | 1837 | xWidgetAddController(x.GoPointer(), ControllerVar.GoPointer()) | ||
| 1776 | } | 1838 | } | ||
| 1777 | 1839 | ||||
| @@ -1785,6 +1847,8 @@ var xWidgetAddCssClass func(uintptr, string) | |||||
| 1785 | // Use [method@Gtk.Widget.remove_css_class] to remove the | 1847 | // Use [method@Gtk.Widget.remove_css_class] to remove the | ||
| 1786 | // style again. | 1848 | // style again. | ||
| 1787 | func (x *Widget) AddCssClass(CssClassVar string) { | 1849 | func (x *Widget) AddCssClass(CssClassVar string) { | ||
| 1850 | + | core.LazyRegister(&xWidgetAddCssClass, "GTK", "gtk_widget_add_css_class", false) | |||
| 1851 | + | ||||
| 1788 | xWidgetAddCssClass(x.GoPointer(), CssClassVar) | 1852 | xWidgetAddCssClass(x.GoPointer(), CssClassVar) | ||
| 1789 | } | 1853 | } | ||
| 1790 | 1854 | ||||
| @@ -1798,6 +1862,8 @@ var xWidgetAddMnemonicLabel func(uintptr, uintptr) | |||||
| 1798 | // when the widget is destroyed, so the caller must make sure | 1862 | // when the widget is destroyed, so the caller must make sure | ||
| 1799 | // to update its internal state at this point as well. | 1863 | // to update its internal state at this point as well. | ||
| 1800 | func (x *Widget) AddMnemonicLabel(LabelVar *Widget) { | 1864 | func (x *Widget) AddMnemonicLabel(LabelVar *Widget) { | ||
| 1865 | + | core.LazyRegister(&xWidgetAddMnemonicLabel, "GTK", "gtk_widget_add_mnemonic_label", false) | |||
| 1866 | + | ||||
| 1801 | xWidgetAddMnemonicLabel(x.GoPointer(), LabelVar.GoPointer()) | 1867 | xWidgetAddMnemonicLabel(x.GoPointer(), LabelVar.GoPointer()) | ||
| 1802 | } | 1868 | } | ||
| 1803 | 1869 | ||||
| @@ -1830,6 +1896,8 @@ var xWidgetAddTickCallback func(uintptr, uintptr, uintptr, uintptr) uint | |||||
| 1830 | // To remove a tick callback, pass the ID that is returned by this function | 1896 | // To remove a tick callback, pass the ID that is returned by this function | ||
| 1831 | // to [method@Gtk.Widget.remove_tick_callback]. | 1897 | // to [method@Gtk.Widget.remove_tick_callback]. | ||
| 1832 | func (x *Widget) AddTickCallback(CallbackVar *TickCallback, UserDataVar uintptr, NotifyVar *glib.DestroyNotify) uint { | 1898 | func (x *Widget) AddTickCallback(CallbackVar *TickCallback, UserDataVar uintptr, NotifyVar *glib.DestroyNotify) uint { | ||
| 1899 | + | core.LazyRegister(&xWidgetAddTickCallback, "GTK", "gtk_widget_add_tick_callback", false) | |||
| 1900 | + | ||||
| 1833 | cret := xWidgetAddTickCallback(x.GoPointer(), glib.NewCallback(CallbackVar), UserDataVar, glib.NewCallbackNullable(NotifyVar)) | 1901 | cret := xWidgetAddTickCallback(x.GoPointer(), glib.NewCallback(CallbackVar), UserDataVar, glib.NewCallbackNullable(NotifyVar)) | ||
| 1834 | return cret | 1902 | return cret | ||
| 1835 | } | 1903 | } | ||
| @@ -1848,6 +1916,8 @@ var xWidgetAllocate func(uintptr, int, int, int, *gsk.Transform) | |||||
| 1848 | // For a version that does not take a transform, see | 1916 | // For a version that does not take a transform, see | ||
| 1849 | // [method@Gtk.Widget.size_allocate]. | 1917 | // [method@Gtk.Widget.size_allocate]. | ||
| 1850 | func (x *Widget) Allocate(WidthVar int, HeightVar int, BaselineVar int, TransformVar *gsk.Transform) { | 1918 | func (x *Widget) Allocate(WidthVar int, HeightVar int, BaselineVar int, TransformVar *gsk.Transform) { | ||
| 1919 | + | core.LazyRegister(&xWidgetAllocate, "GTK", "gtk_widget_allocate", false) | |||
| 1920 | + | ||||
| 1851 | xWidgetAllocate(x.GoPointer(), WidthVar, HeightVar, BaselineVar, TransformVar) | 1921 | xWidgetAllocate(x.GoPointer(), WidthVar, HeightVar, BaselineVar, TransformVar) | ||
| 1852 | } | 1922 | } | ||
| 1853 | 1923 | ||||
| @@ -1874,6 +1944,8 @@ var xWidgetChildFocus func(uintptr, DirectionType) bool | |||||
| 1874 | // writing an app, you’d use [method@Gtk.Widget.grab_focus] to move | 1944 | // writing an app, you’d use [method@Gtk.Widget.grab_focus] to move | ||
| 1875 | // the focus to a particular widget. | 1945 | // the focus to a particular widget. | ||
| 1876 | func (x *Widget) ChildFocus(DirectionVar DirectionType) bool { | 1946 | func (x *Widget) ChildFocus(DirectionVar DirectionType) bool { | ||
| 1947 | + | core.LazyRegister(&xWidgetChildFocus, "GTK", "gtk_widget_child_focus", false) | |||
| 1948 | + | ||||
| 1877 | cret := xWidgetChildFocus(x.GoPointer(), DirectionVar) | 1949 | cret := xWidgetChildFocus(x.GoPointer(), DirectionVar) | ||
| 1878 | return cret | 1950 | return cret | ||
| 1879 | } | 1951 | } | ||
| @@ -1893,6 +1965,8 @@ var xWidgetComputeBounds func(uintptr, uintptr, *graphene.Rect) bool | |||||
| 1893 | // | 1965 | // | ||
| 1894 | // It is valid for @widget and @target to be the same widget. | 1966 | // It is valid for @widget and @target to be the same widget. | ||
| 1895 | func (x *Widget) ComputeBounds(TargetVar *Widget, OutBoundsVar *graphene.Rect) bool { | 1967 | func (x *Widget) ComputeBounds(TargetVar *Widget, OutBoundsVar *graphene.Rect) bool { | ||
| 1968 | + | core.LazyRegister(&xWidgetComputeBounds, "GTK", "gtk_widget_compute_bounds", false) | |||
| 1969 | + | ||||
| 1896 | cret := xWidgetComputeBounds(x.GoPointer(), TargetVar.GoPointer(), OutBoundsVar) | 1970 | cret := xWidgetComputeBounds(x.GoPointer(), TargetVar.GoPointer(), OutBoundsVar) | ||
| 1897 | return cret | 1971 | return cret | ||
| 1898 | } | 1972 | } | ||
| @@ -1913,6 +1987,8 @@ var xWidgetComputeExpand func(uintptr, Orientation) bool | |||||
| 1913 | // set on the widget itself, or, if none has been explicitly set, | 1987 | // set on the widget itself, or, if none has been explicitly set, | ||
| 1914 | // the widget may expand if some of its children do. | 1988 | // the widget may expand if some of its children do. | ||
| 1915 | func (x *Widget) ComputeExpand(OrientationVar Orientation) bool { | 1989 | func (x *Widget) ComputeExpand(OrientationVar Orientation) bool { | ||
| 1990 | + | core.LazyRegister(&xWidgetComputeExpand, "GTK", "gtk_widget_compute_expand", false) | |||
| 1991 | + | ||||
| 1916 | cret := xWidgetComputeExpand(x.GoPointer(), OrientationVar) | 1992 | cret := xWidgetComputeExpand(x.GoPointer(), OrientationVar) | ||
| 1917 | return cret | 1993 | return cret | ||
| 1918 | } | 1994 | } | ||
| @@ -1926,6 +2002,8 @@ var xWidgetComputePoint func(uintptr, uintptr, *graphene.Point, *graphene.Point) | |||||
| 1926 | // a common ancestor. If that is not the case, @out_point is set | 2002 | // a common ancestor. If that is not the case, @out_point is set | ||
| 1927 | // to (0, 0) and false is returned. | 2003 | // to (0, 0) and false is returned. | ||
| 1928 | func (x *Widget) ComputePoint(TargetVar *Widget, PointVar *graphene.Point, OutPointVar *graphene.Point) bool { | 2004 | func (x *Widget) ComputePoint(TargetVar *Widget, PointVar *graphene.Point, OutPointVar *graphene.Point) bool { | ||
| 2005 | + | core.LazyRegister(&xWidgetComputePoint, "GTK", "gtk_widget_compute_point", false) | |||
| 2006 | + | ||||
| 1929 | cret := xWidgetComputePoint(x.GoPointer(), TargetVar.GoPointer(), PointVar, OutPointVar) | 2007 | cret := xWidgetComputePoint(x.GoPointer(), TargetVar.GoPointer(), PointVar, OutPointVar) | ||
| 1930 | return cret | 2008 | return cret | ||
| 1931 | } | 2009 | } | ||
| @@ -1942,6 +2020,8 @@ var xWidgetComputeTransform func(uintptr, uintptr, *graphene.Matrix) bool | |||||
| 1942 | // To learn more about widget coordinate systems, see the coordinate | 2020 | // To learn more about widget coordinate systems, see the coordinate | ||
| 1943 | // system [overview](coordinates.html). | 2021 | // system [overview](coordinates.html). | ||
| 1944 | func (x *Widget) ComputeTransform(TargetVar *Widget, OutTransformVar *graphene.Matrix) bool { | 2022 | func (x *Widget) ComputeTransform(TargetVar *Widget, OutTransformVar *graphene.Matrix) bool { | ||
| 2023 | + | core.LazyRegister(&xWidgetComputeTransform, "GTK", "gtk_widget_compute_transform", false) | |||
| 2024 | + | ||||
| 1945 | cret := xWidgetComputeTransform(x.GoPointer(), TargetVar.GoPointer(), OutTransformVar) | 2025 | cret := xWidgetComputeTransform(x.GoPointer(), TargetVar.GoPointer(), OutTransformVar) | ||
| 1946 | return cret | 2026 | return cret | ||
| 1947 | } | 2027 | } | ||
| @@ -1953,6 +2033,8 @@ var xWidgetContains func(uintptr, float64, float64) bool | |||||
| 1953 | // The coordinates for (x, y) must be in widget coordinates, so | 2033 | // The coordinates for (x, y) must be in widget coordinates, so | ||
| 1954 | // (0, 0) is assumed to be the top left of @widget's content area. | 2034 | // (0, 0) is assumed to be the top left of @widget's content area. | ||
| 1955 | func (x *Widget) Contains(XVar float64, YVar float64) bool { | 2035 | func (x *Widget) Contains(XVar float64, YVar float64) bool { | ||
| 2036 | + | core.LazyRegister(&xWidgetContains, "GTK", "gtk_widget_contains", false) | |||
| 2037 | + | ||||
| 1956 | cret := xWidgetContains(x.GoPointer(), XVar, YVar) | 2038 | cret := xWidgetContains(x.GoPointer(), XVar, YVar) | ||
| 1957 | return cret | 2039 | return cret | ||
| 1958 | } | 2040 | } | ||
| @@ -1966,6 +2048,7 @@ var xWidgetCreatePangoContext func(uintptr) uintptr | |||||
| 1966 | // | 2048 | // | ||
| 1967 | // See also [method@Gtk.Widget.get_pango_context]. | 2049 | // See also [method@Gtk.Widget.get_pango_context]. | ||
| 1968 | func (x *Widget) CreatePangoContext() *pango.Context { | 2050 | func (x *Widget) CreatePangoContext() *pango.Context { | ||
| 2051 | + | core.LazyRegister(&xWidgetCreatePangoContext, "GTK", "gtk_widget_create_pango_context", false) | |||
| 1969 | var cls *pango.Context | 2052 | var cls *pango.Context | ||
| 1970 | 2053 | ||||
| 1971 | cret := xWidgetCreatePangoContext(x.GoPointer()) | 2054 | cret := xWidgetCreatePangoContext(x.GoPointer()) | ||
| @@ -1990,6 +2073,7 @@ var xWidgetCreatePangoLayout func(uintptr, uintptr) uintptr | |||||
| 1990 | // is replaced. This can be tracked by listening to changes | 2073 | // is replaced. This can be tracked by listening to changes | ||
| 1991 | // of the [property@Gtk.Widget:root] property on the widget. | 2074 | // of the [property@Gtk.Widget:root] property on the widget. | ||
| 1992 | func (x *Widget) CreatePangoLayout(TextVar *string) *pango.Layout { | 2075 | func (x *Widget) CreatePangoLayout(TextVar *string) *pango.Layout { | ||
| 2076 | + | core.LazyRegister(&xWidgetCreatePangoLayout, "GTK", "gtk_widget_create_pango_layout", false) | |||
| 1993 | var cls *pango.Layout | 2077 | var cls *pango.Layout | ||
| 1994 | 2078 | ||||
| 1995 | TextVarPtr := core.GStrdupNullable(TextVar) | 2079 | TextVarPtr := core.GStrdupNullable(TextVar) | ||
| @@ -2035,6 +2119,8 @@ var xWidgetDisposeTemplate func(uintptr, types.GType) | |||||
| 2035 | // | 2119 | // | ||
| 2036 | // ``` | 2120 | // ``` | ||
| 2037 | func (x *Widget) DisposeTemplate(WidgetTypeVar types.GType) { | 2121 | func (x *Widget) DisposeTemplate(WidgetTypeVar types.GType) { | ||
| 2122 | + | core.LazyRegister(&xWidgetDisposeTemplate, "GTK", "gtk_widget_dispose_template", false) | |||
| 2123 | + | ||||
| 2038 | xWidgetDisposeTemplate(x.GoPointer(), WidgetTypeVar) | 2124 | xWidgetDisposeTemplate(x.GoPointer(), WidgetTypeVar) | ||
| 2039 | } | 2125 | } | ||
| 2040 | 2126 | ||||
| @@ -2042,6 +2128,8 @@ var xWidgetDragCheckThreshold func(uintptr, int, int, int, int) bool | |||||
| 2042 | 2128 | ||||
| 2043 | // Checks to see if a drag movement has passed the GTK drag threshold. | 2129 | // Checks to see if a drag movement has passed the GTK drag threshold. | ||
| 2044 | func (x *Widget) DragCheckThreshold(StartXVar int, StartYVar int, CurrentXVar int, CurrentYVar int) bool { | 2130 | func (x *Widget) DragCheckThreshold(StartXVar int, StartYVar int, CurrentXVar int, CurrentYVar int) bool { | ||
| 2131 | + | core.LazyRegister(&xWidgetDragCheckThreshold, "GTK", "gtk_drag_check_threshold", false) | |||
| 2132 | + | ||||
| 2045 | cret := xWidgetDragCheckThreshold(x.GoPointer(), StartXVar, StartYVar, CurrentXVar, CurrentYVar) | 2133 | cret := xWidgetDragCheckThreshold(x.GoPointer(), StartXVar, StartYVar, CurrentXVar, CurrentYVar) | ||
| 2046 | return cret | 2134 | return cret | ||
| 2047 | } | 2135 | } | ||
| @@ -2057,6 +2145,8 @@ var xWidgetErrorBell func(uintptr) | |||||
| 2057 | // in many ways, depending on the windowing backend and the desktop | 2145 | // in many ways, depending on the windowing backend and the desktop | ||
| 2058 | // environment or window manager that is used. | 2146 | // environment or window manager that is used. | ||
| 2059 | func (x *Widget) ErrorBell() { | 2147 | func (x *Widget) ErrorBell() { | ||
| 2148 | + | core.LazyRegister(&xWidgetErrorBell, "GTK", "gtk_widget_error_bell", false) | |||
| 2149 | + | ||||
| 2060 | xWidgetErrorBell(x.GoPointer()) | 2150 | xWidgetErrorBell(x.GoPointer()) | ||
| 2061 | } | 2151 | } | ||
| 2062 | 2152 | ||||
| @@ -2068,6 +2158,8 @@ var xWidgetGetAllocatedBaseline func(uintptr) int | |||||
| 2068 | // for the `GtkWidget`Class.snapshot() function, and when allocating | 2158 | // for the `GtkWidget`Class.snapshot() function, and when allocating | ||
| 2069 | // child widgets in `GtkWidget`Class.size_allocate(). | 2159 | // child widgets in `GtkWidget`Class.size_allocate(). | ||
| 2070 | func (x *Widget) GetAllocatedBaseline() int { | 2160 | func (x *Widget) GetAllocatedBaseline() int { | ||
| 2161 | + | core.LazyRegister(&xWidgetGetAllocatedBaseline, "GTK", "gtk_widget_get_allocated_baseline", false) | |||
| 2162 | + | ||||
| 2071 | cret := xWidgetGetAllocatedBaseline(x.GoPointer()) | 2163 | cret := xWidgetGetAllocatedBaseline(x.GoPointer()) | ||
| 2072 | return cret | 2164 | return cret | ||
| 2073 | } | 2165 | } | ||
| @@ -2079,6 +2171,8 @@ var xWidgetGetAllocatedHeight func(uintptr) int | |||||
| 2079 | // To learn more about widget sizes, see the coordinate | 2171 | // To learn more about widget sizes, see the coordinate | ||
| 2080 | // system [overview](coordinates.html). | 2172 | // system [overview](coordinates.html). | ||
| 2081 | func (x *Widget) GetAllocatedHeight() int { | 2173 | func (x *Widget) GetAllocatedHeight() int { | ||
| 2174 | + | core.LazyRegister(&xWidgetGetAllocatedHeight, "GTK", "gtk_widget_get_allocated_height", false) | |||
| 2175 | + | ||||
| 2082 | cret := xWidgetGetAllocatedHeight(x.GoPointer()) | 2176 | cret := xWidgetGetAllocatedHeight(x.GoPointer()) | ||
| 2083 | return cret | 2177 | return cret | ||
| 2084 | } | 2178 | } | ||
| @@ -2090,6 +2184,8 @@ var xWidgetGetAllocatedWidth func(uintptr) int | |||||
| 2090 | // To learn more about widget sizes, see the coordinate | 2184 | // To learn more about widget sizes, see the coordinate | ||
| 2091 | // system [overview](coordinates.html). | 2185 | // system [overview](coordinates.html). | ||
| 2092 | func (x *Widget) GetAllocatedWidth() int { | 2186 | func (x *Widget) GetAllocatedWidth() int { | ||
| 2187 | + | core.LazyRegister(&xWidgetGetAllocatedWidth, "GTK", "gtk_widget_get_allocated_width", false) | |||
| 2188 | + | ||||
| 2093 | cret := xWidgetGetAllocatedWidth(x.GoPointer()) | 2189 | cret := xWidgetGetAllocatedWidth(x.GoPointer()) | ||
| 2094 | return cret | 2190 | return cret | ||
| 2095 | } | 2191 | } | ||
| @@ -2112,6 +2208,8 @@ var xWidgetGetAllocation func(uintptr, *Allocation) | |||||
| 2112 | // the assigned bounds, but not that they have exactly the bounds the | 2208 | // the assigned bounds, but not that they have exactly the bounds the | ||
| 2113 | // widget assigned. | 2209 | // widget assigned. | ||
| 2114 | func (x *Widget) GetAllocation(AllocationVar *Allocation) { | 2210 | func (x *Widget) GetAllocation(AllocationVar *Allocation) { | ||
| 2211 | + | core.LazyRegister(&xWidgetGetAllocation, "GTK", "gtk_widget_get_allocation", false) | |||
| 2212 | + | ||||
| 2115 | xWidgetGetAllocation(x.GoPointer(), AllocationVar) | 2213 | xWidgetGetAllocation(x.GoPointer(), AllocationVar) | ||
| 2116 | } | 2214 | } | ||
| 2117 | 2215 | ||||
| @@ -2127,6 +2225,7 @@ var xWidgetGetAncestor func(uintptr, types.GType) uintptr | |||||
| 2127 | // Note that unlike [method@Gtk.Widget.is_ancestor], this function | 2225 | // Note that unlike [method@Gtk.Widget.is_ancestor], this function | ||
| 2128 | // considers @widget to be an ancestor of itself. | 2226 | // considers @widget to be an ancestor of itself. | ||
| 2129 | func (x *Widget) GetAncestor(WidgetTypeVar types.GType) *Widget { | 2227 | func (x *Widget) GetAncestor(WidgetTypeVar types.GType) *Widget { | ||
| 2228 | + | core.LazyRegister(&xWidgetGetAncestor, "GTK", "gtk_widget_get_ancestor", false) | |||
| 2130 | var cls *Widget | 2229 | var cls *Widget | ||
| 2131 | 2230 | ||||
| 2132 | cret := xWidgetGetAncestor(x.GoPointer(), WidgetTypeVar) | 2231 | cret := xWidgetGetAncestor(x.GoPointer(), WidgetTypeVar) | ||
| @@ -2148,6 +2247,8 @@ var xWidgetGetBaseline func(uintptr) int | |||||
| 2148 | // for the `GtkWidgetClass.snapshot()` function, and when allocating | 2247 | // for the `GtkWidgetClass.snapshot()` function, and when allocating | ||
| 2149 | // child widgets in `GtkWidgetClass.size_allocate()`. | 2248 | // child widgets in `GtkWidgetClass.size_allocate()`. | ||
| 2150 | func (x *Widget) GetBaseline() int { | 2249 | func (x *Widget) GetBaseline() int { | ||
| 2250 | + | core.LazyRegister(&xWidgetGetBaseline, "GTK", "gtk_widget_get_baseline", false) | |||
| 2251 | + | ||||
| 2151 | cret := xWidgetGetBaseline(x.GoPointer()) | 2252 | cret := xWidgetGetBaseline(x.GoPointer()) | ||
| 2152 | return cret | 2253 | return cret | ||
| 2153 | } | 2254 | } | ||
| @@ -2159,6 +2260,8 @@ var xWidgetGetCanFocus func(uintptr) bool | |||||
| 2159 | // | 2260 | // | ||
| 2160 | // See [method@Gtk.Widget.set_can_focus]. | 2261 | // See [method@Gtk.Widget.set_can_focus]. | ||
| 2161 | func (x *Widget) GetCanFocus() bool { | 2262 | func (x *Widget) GetCanFocus() bool { | ||
| 2263 | + | core.LazyRegister(&xWidgetGetCanFocus, "GTK", "gtk_widget_get_can_focus", false) | |||
| 2264 | + | ||||
| 2162 | cret := xWidgetGetCanFocus(x.GoPointer()) | 2265 | cret := xWidgetGetCanFocus(x.GoPointer()) | ||
| 2163 | return cret | 2266 | return cret | ||
| 2164 | } | 2267 | } | ||
| @@ -2167,6 +2270,8 @@ var xWidgetGetCanTarget func(uintptr) bool | |||||
| 2167 | 2270 | ||||
| 2168 | // Queries whether the widget can be the target of pointer events. | 2271 | // Queries whether the widget can be the target of pointer events. | ||
| 2169 | func (x *Widget) GetCanTarget() bool { | 2272 | func (x *Widget) GetCanTarget() bool { | ||
| 2273 | + | core.LazyRegister(&xWidgetGetCanTarget, "GTK", "gtk_widget_get_can_target", false) | |||
| 2274 | + | ||||
| 2170 | cret := xWidgetGetCanTarget(x.GoPointer()) | 2275 | cret := xWidgetGetCanTarget(x.GoPointer()) | ||
| 2171 | return cret | 2276 | return cret | ||
| 2172 | } | 2277 | } | ||
| @@ -2181,6 +2286,8 @@ var xWidgetGetChildVisible func(uintptr) bool | |||||
| 2181 | // This function is only useful for widget implementations | 2286 | // This function is only useful for widget implementations | ||
| 2182 | // and should never be called by an application. | 2287 | // and should never be called by an application. | ||
| 2183 | func (x *Widget) GetChildVisible() bool { | 2288 | func (x *Widget) GetChildVisible() bool { | ||
| 2289 | + | core.LazyRegister(&xWidgetGetChildVisible, "GTK", "gtk_widget_get_child_visible", false) | |||
| 2290 | + | ||||
| 2184 | cret := xWidgetGetChildVisible(x.GoPointer()) | 2291 | cret := xWidgetGetChildVisible(x.GoPointer()) | ||
| 2185 | return cret | 2292 | return cret | ||
| 2186 | } | 2293 | } | ||
| @@ -2195,6 +2302,7 @@ var xWidgetGetClipboard func(uintptr) uintptr | |||||
| 2195 | // Note that this function always works, even when @widget is not | 2302 | // Note that this function always works, even when @widget is not | ||
| 2196 | // realized yet. | 2303 | // realized yet. | ||
| 2197 | func (x *Widget) GetClipboard() *gdk.Clipboard { | 2304 | func (x *Widget) GetClipboard() *gdk.Clipboard { | ||
| 2305 | + | core.LazyRegister(&xWidgetGetClipboard, "GTK", "gtk_widget_get_clipboard", false) | |||
| 2198 | var cls *gdk.Clipboard | 2306 | var cls *gdk.Clipboard | ||
| 2199 | 2307 | ||||
| 2200 | cret := xWidgetGetClipboard(x.GoPointer()) | 2308 | cret := xWidgetGetClipboard(x.GoPointer()) | ||
| @@ -2216,6 +2324,8 @@ var xWidgetGetColor func(uintptr, *gdk.RGBA) | |||||
| 2216 | // implementations that need to do custom drawing | 2324 | // implementations that need to do custom drawing | ||
| 2217 | // with the foreground color. | 2325 | // with the foreground color. | ||
| 2218 | func (x *Widget) GetColor(ColorVar *gdk.RGBA) { | 2326 | func (x *Widget) GetColor(ColorVar *gdk.RGBA) { | ||
| 2327 | + | core.LazyRegister(&xWidgetGetColor, "GTK", "gtk_widget_get_color", false) | |||
| 2328 | + | ||||
| 2219 | xWidgetGetColor(x.GoPointer(), ColorVar) | 2329 | xWidgetGetColor(x.GoPointer(), ColorVar) | ||
| 2220 | } | 2330 | } | ||
| 2221 | 2331 | ||||
| @@ -2223,6 +2333,8 @@ var xWidgetGetCssClasses func(uintptr) []string | |||||
| 2223 | 2333 | ||||
| 2224 | // Returns the list of style classes applied to the widget. | 2334 | // Returns the list of style classes applied to the widget. | ||
| 2225 | func (x *Widget) GetCssClasses() []string { | 2335 | func (x *Widget) GetCssClasses() []string { | ||
| 2336 | + | core.LazyRegister(&xWidgetGetCssClasses, "GTK", "gtk_widget_get_css_classes", false) | |||
| 2337 | + | ||||
| 2226 | cret := xWidgetGetCssClasses(x.GoPointer()) | 2338 | cret := xWidgetGetCssClasses(x.GoPointer()) | ||
| 2227 | return cret | 2339 | return cret | ||
| 2228 | } | 2340 | } | ||
| @@ -2231,6 +2343,8 @@ var xWidgetGetCssName func(uintptr) string | |||||
| 2231 | 2343 | ||||
| 2232 | // Returns the CSS name of the widget. | 2344 | // Returns the CSS name of the widget. | ||
| 2233 | func (x *Widget) GetCssName() string { | 2345 | func (x *Widget) GetCssName() string { | ||
| 2346 | + | core.LazyRegister(&xWidgetGetCssName, "GTK", "gtk_widget_get_css_name", false) | |||
| 2347 | + | ||||
| 2234 | cret := xWidgetGetCssName(x.GoPointer()) | 2348 | cret := xWidgetGetCssName(x.GoPointer()) | ||
| 2235 | return cret | 2349 | return cret | ||
| 2236 | } | 2350 | } | ||
| @@ -2241,6 +2355,7 @@ var xWidgetGetCursor func(uintptr) uintptr | |||||
| 2241 | // | 2355 | // | ||
| 2242 | // See [method@Gtk.Widget.set_cursor] for details. | 2356 | // See [method@Gtk.Widget.set_cursor] for details. | ||
| 2243 | func (x *Widget) GetCursor() *gdk.Cursor { | 2357 | func (x *Widget) GetCursor() *gdk.Cursor { | ||
| 2358 | + | core.LazyRegister(&xWidgetGetCursor, "GTK", "gtk_widget_get_cursor", false) | |||
| 2244 | var cls *gdk.Cursor | 2359 | var cls *gdk.Cursor | ||
| 2245 | 2360 | ||||
| 2246 | cret := xWidgetGetCursor(x.GoPointer()) | 2361 | cret := xWidgetGetCursor(x.GoPointer()) | ||
| @@ -2260,6 +2375,8 @@ var xWidgetGetDirection func(uintptr) TextDirection | |||||
| 2260 | // | 2375 | // | ||
| 2261 | // See [method@Gtk.Widget.set_direction]. | 2376 | // See [method@Gtk.Widget.set_direction]. | ||
| 2262 | func (x *Widget) GetDirection() TextDirection { | 2377 | func (x *Widget) GetDirection() TextDirection { | ||
| 2378 | + | core.LazyRegister(&xWidgetGetDirection, "GTK", "gtk_widget_get_direction", false) | |||
| 2379 | + | ||||
| 2263 | cret := xWidgetGetDirection(x.GoPointer()) | 2380 | cret := xWidgetGetDirection(x.GoPointer()) | ||
| 2264 | return cret | 2381 | return cret | ||
| 2265 | } | 2382 | } | ||
| @@ -2275,6 +2392,7 @@ var xWidgetGetDisplay func(uintptr) uintptr | |||||
| 2275 | // resources when a widget has been realized, and you should | 2392 | // resources when a widget has been realized, and you should | ||
| 2276 | // free those resources when the widget is unrealized. | 2393 | // free those resources when the widget is unrealized. | ||
| 2277 | func (x *Widget) GetDisplay() *gdk.Display { | 2394 | func (x *Widget) GetDisplay() *gdk.Display { | ||
| 2395 | + | core.LazyRegister(&xWidgetGetDisplay, "GTK", "gtk_widget_get_display", false) | |||
| 2278 | var cls *gdk.Display | 2396 | var cls *gdk.Display | ||
| 2279 | 2397 | ||||
| 2280 | cret := xWidgetGetDisplay(x.GoPointer()) | 2398 | cret := xWidgetGetDisplay(x.GoPointer()) | ||
| @@ -2294,6 +2412,7 @@ var xWidgetGetFirstChild func(uintptr) uintptr | |||||
| 2294 | // | 2412 | // | ||
| 2295 | // This function is primarily meant for widget implementations. | 2413 | // This function is primarily meant for widget implementations. | ||
| 2296 | func (x *Widget) GetFirstChild() *Widget { | 2414 | func (x *Widget) GetFirstChild() *Widget { | ||
| 2415 | + | core.LazyRegister(&xWidgetGetFirstChild, "GTK", "gtk_widget_get_first_child", false) | |||
| 2297 | var cls *Widget | 2416 | var cls *Widget | ||
| 2298 | 2417 | ||||
| 2299 | cret := xWidgetGetFirstChild(x.GoPointer()) | 2418 | cret := xWidgetGetFirstChild(x.GoPointer()) | ||
| @@ -2311,6 +2430,7 @@ var xWidgetGetFocusChild func(uintptr) uintptr | |||||
| 2311 | 2430 | ||||
| 2312 | // Returns the focus child of the widget. | 2431 | // Returns the focus child of the widget. | ||
| 2313 | func (x *Widget) GetFocusChild() *Widget { | 2432 | func (x *Widget) GetFocusChild() *Widget { | ||
| 2433 | + | core.LazyRegister(&xWidgetGetFocusChild, "GTK", "gtk_widget_get_focus_child", false) | |||
| 2314 | var cls *Widget | 2434 | var cls *Widget | ||
| 2315 | 2435 | ||||
| 2316 | cret := xWidgetGetFocusChild(x.GoPointer()) | 2436 | cret := xWidgetGetFocusChild(x.GoPointer()) | ||
| @@ -2331,6 +2451,8 @@ var xWidgetGetFocusOnClick func(uintptr) bool | |||||
| 2331 | // | 2451 | // | ||
| 2332 | // See [method@Gtk.Widget.set_focus_on_click]. | 2452 | // See [method@Gtk.Widget.set_focus_on_click]. | ||
| 2333 | func (x *Widget) GetFocusOnClick() bool { | 2453 | func (x *Widget) GetFocusOnClick() bool { | ||
| 2454 | + | core.LazyRegister(&xWidgetGetFocusOnClick, "GTK", "gtk_widget_get_focus_on_click", false) | |||
| 2455 | + | ||||
| 2334 | cret := xWidgetGetFocusOnClick(x.GoPointer()) | 2456 | cret := xWidgetGetFocusOnClick(x.GoPointer()) | ||
| 2335 | return cret | 2457 | return cret | ||
| 2336 | } | 2458 | } | ||
| @@ -2341,6 +2463,8 @@ var xWidgetGetFocusable func(uintptr) bool | |||||
| 2341 | // | 2463 | // | ||
| 2342 | // See [method@Gtk.Widget.set_focusable]. | 2464 | // See [method@Gtk.Widget.set_focusable]. | ||
| 2343 | func (x *Widget) GetFocusable() bool { | 2465 | func (x *Widget) GetFocusable() bool { | ||
| 2466 | + | core.LazyRegister(&xWidgetGetFocusable, "GTK", "gtk_widget_get_focusable", false) | |||
| 2467 | + | ||||
| 2344 | cret := xWidgetGetFocusable(x.GoPointer()) | 2468 | cret := xWidgetGetFocusable(x.GoPointer()) | ||
| 2345 | return cret | 2469 | return cret | ||
| 2346 | } | 2470 | } | ||
| @@ -2351,6 +2475,7 @@ var xWidgetGetFontMap func(uintptr) uintptr | |||||
| 2351 | // | 2475 | // | ||
| 2352 | // See [method@Gtk.Widget.set_font_map]. | 2476 | // See [method@Gtk.Widget.set_font_map]. | ||
| 2353 | func (x *Widget) GetFontMap() *pango.FontMap { | 2477 | func (x *Widget) GetFontMap() *pango.FontMap { | ||
| 2478 | + | core.LazyRegister(&xWidgetGetFontMap, "GTK", "gtk_widget_get_font_map", false) | |||
| 2354 | var cls *pango.FontMap | 2479 | var cls *pango.FontMap | ||
| 2355 | 2480 | ||||
| 2356 | cret := xWidgetGetFontMap(x.GoPointer()) | 2481 | cret := xWidgetGetFontMap(x.GoPointer()) | ||
| @@ -2370,6 +2495,8 @@ var xWidgetGetFontOptions func(uintptr) uintptr | |||||
| 2370 | // | 2495 | // | ||
| 2371 | // Seee [method@Gtk.Widget.set_font_options]. | 2496 | // Seee [method@Gtk.Widget.set_font_options]. | ||
| 2372 | func (x *Widget) GetFontOptions() *cairo.FontOptions { | 2497 | func (x *Widget) GetFontOptions() *cairo.FontOptions { | ||
| 2498 | + | core.LazyRegister(&xWidgetGetFontOptions, "GTK", "gtk_widget_get_font_options", false) | |||
| 2499 | + | ||||
| 2373 | cret := xWidgetGetFontOptions(x.GoPointer()) | 2500 | cret := xWidgetGetFontOptions(x.GoPointer()) | ||
| 2374 | if cret == 0 { | 2501 | if cret == 0 { | ||
| 2375 | return nil | 2502 | return nil | ||
| @@ -2402,6 +2529,7 @@ var xWidgetGetFrameClock func(uintptr) uintptr | |||||
| 2402 | // | 2529 | // | ||
| 2403 | // Unrealized widgets do not have a frame clock. | 2530 | // Unrealized widgets do not have a frame clock. | ||
| 2404 | func (x *Widget) GetFrameClock() *gdk.FrameClock { | 2531 | func (x *Widget) GetFrameClock() *gdk.FrameClock { | ||
| 2532 | + | core.LazyRegister(&xWidgetGetFrameClock, "GTK", "gtk_widget_get_frame_clock", false) | |||
| 2405 | var cls *gdk.FrameClock | 2533 | var cls *gdk.FrameClock | ||
| 2406 | 2534 | ||||
| 2407 | cret := xWidgetGetFrameClock(x.GoPointer()) | 2535 | cret := xWidgetGetFrameClock(x.GoPointer()) | ||
| @@ -2425,6 +2553,8 @@ var xWidgetGetHalign func(uintptr) Align | |||||
| 2425 | // | 2553 | // | ||
| 2426 | // Baselines are not supported for horizontal alignment. | 2554 | // Baselines are not supported for horizontal alignment. | ||
| 2427 | func (x *Widget) GetHalign() Align { | 2555 | func (x *Widget) GetHalign() Align { | ||
| 2556 | + | core.LazyRegister(&xWidgetGetHalign, "GTK", "gtk_widget_get_halign", false) | |||
| 2557 | + | ||||
| 2428 | cret := xWidgetGetHalign(x.GoPointer()) | 2558 | cret := xWidgetGetHalign(x.GoPointer()) | ||
| 2429 | return cret | 2559 | return cret | ||
| 2430 | } | 2560 | } | ||
| @@ -2433,6 +2563,8 @@ var xWidgetGetHasTooltip func(uintptr) bool | |||||
| 2433 | 2563 | ||||
| 2434 | // Returns the current value of the `has-tooltip` property. | 2564 | // Returns the current value of the `has-tooltip` property. | ||
| 2435 | func (x *Widget) GetHasTooltip() bool { | 2565 | func (x *Widget) GetHasTooltip() bool { | ||
| 2566 | + | core.LazyRegister(&xWidgetGetHasTooltip, "GTK", "gtk_widget_get_has_tooltip", false) | |||
| 2567 | + | ||||
| 2436 | cret := xWidgetGetHasTooltip(x.GoPointer()) | 2568 | cret := xWidgetGetHasTooltip(x.GoPointer()) | ||
| 2437 | return cret | 2569 | return cret | ||
| 2438 | } | 2570 | } | ||
| @@ -2450,6 +2582,8 @@ var xWidgetGetHeight func(uintptr) int | |||||
| 2450 | // To learn more about widget sizes, see the coordinate | 2582 | // To learn more about widget sizes, see the coordinate | ||
| 2451 | // system [overview](coordinates.html). | 2583 | // system [overview](coordinates.html). | ||
| 2452 | func (x *Widget) GetHeight() int { | 2584 | func (x *Widget) GetHeight() int { | ||
| 2585 | + | core.LazyRegister(&xWidgetGetHeight, "GTK", "gtk_widget_get_height", false) | |||
| 2586 | + | ||||
| 2453 | cret := xWidgetGetHeight(x.GoPointer()) | 2587 | cret := xWidgetGetHeight(x.GoPointer()) | ||
| 2454 | return cret | 2588 | return cret | ||
| 2455 | } | 2589 | } | ||
| @@ -2472,6 +2606,8 @@ var xWidgetGetHexpand func(uintptr) bool | |||||
| 2472 | // than computing whether the entire widget tree rooted at this widget | 2606 | // than computing whether the entire widget tree rooted at this widget | ||
| 2473 | // wants to expand. | 2607 | // wants to expand. | ||
| 2474 | func (x *Widget) GetHexpand() bool { | 2608 | func (x *Widget) GetHexpand() bool { | ||
| 2609 | + | core.LazyRegister(&xWidgetGetHexpand, "GTK", "gtk_widget_get_hexpand", false) | |||
| 2610 | + | ||||
| 2475 | cret := xWidgetGetHexpand(x.GoPointer()) | 2611 | cret := xWidgetGetHexpand(x.GoPointer()) | ||
| 2476 | return cret | 2612 | return cret | ||
| 2477 | } | 2613 | } | ||
| @@ -2488,6 +2624,8 @@ var xWidgetGetHexpandSet func(uintptr) bool | |||||
| 2488 | // There are few reasons to use this function, but it’s here | 2624 | // There are few reasons to use this function, but it’s here | ||
| 2489 | // for completeness and consistency. | 2625 | // for completeness and consistency. | ||
| 2490 | func (x *Widget) GetHexpandSet() bool { | 2626 | func (x *Widget) GetHexpandSet() bool { | ||
| 2627 | + | core.LazyRegister(&xWidgetGetHexpandSet, "GTK", "gtk_widget_get_hexpand_set", false) | |||
| 2628 | + | ||||
| 2491 | cret := xWidgetGetHexpandSet(x.GoPointer()) | 2629 | cret := xWidgetGetHexpandSet(x.GoPointer()) | ||
| 2492 | return cret | 2630 | return cret | ||
| 2493 | } | 2631 | } | ||
| @@ -2498,6 +2636,7 @@ var xWidgetGetLastChild func(uintptr) uintptr | |||||
| 2498 | // | 2636 | // | ||
| 2499 | // This function is primarily meant for widget implementations. | 2637 | // This function is primarily meant for widget implementations. | ||
| 2500 | func (x *Widget) GetLastChild() *Widget { | 2638 | func (x *Widget) GetLastChild() *Widget { | ||
| 2639 | + | core.LazyRegister(&xWidgetGetLastChild, "GTK", "gtk_widget_get_last_child", false) | |||
| 2501 | var cls *Widget | 2640 | var cls *Widget | ||
| 2502 | 2641 | ||||
| 2503 | cret := xWidgetGetLastChild(x.GoPointer()) | 2642 | cret := xWidgetGetLastChild(x.GoPointer()) | ||
| @@ -2517,6 +2656,7 @@ var xWidgetGetLayoutManager func(uintptr) uintptr | |||||
| 2517 | // | 2656 | // | ||
| 2518 | // See [method@Gtk.Widget.set_layout_manager]. | 2657 | // See [method@Gtk.Widget.set_layout_manager]. | ||
| 2519 | func (x *Widget) GetLayoutManager() *LayoutManager { | 2658 | func (x *Widget) GetLayoutManager() *LayoutManager { | ||
| 2659 | + | core.LazyRegister(&xWidgetGetLayoutManager, "GTK", "gtk_widget_get_layout_manager", false) | |||
| 2520 | var cls *LayoutManager | 2660 | var cls *LayoutManager | ||
| 2521 | 2661 | ||||
| 2522 | cret := xWidgetGetLayoutManager(x.GoPointer()) | 2662 | cret := xWidgetGetLayoutManager(x.GoPointer()) | ||
| @@ -2534,6 +2674,8 @@ var xWidgetGetLimitEvents func(uintptr) bool | |||||
| 2534 | 2674 | ||||
| 2535 | // Gets the value of the [property@Gtk.Widget:limit-events] property. | 2675 | // Gets the value of the [property@Gtk.Widget:limit-events] property. | ||
| 2536 | func (x *Widget) GetLimitEvents() bool { | 2676 | func (x *Widget) GetLimitEvents() bool { | ||
| 2677 | + | core.LazyRegister(&xWidgetGetLimitEvents, "GTK", "gtk_widget_get_limit_events", false) | |||
| 2678 | + | ||||
| 2537 | cret := xWidgetGetLimitEvents(x.GoPointer()) | 2679 | cret := xWidgetGetLimitEvents(x.GoPointer()) | ||
| 2538 | return cret | 2680 | return cret | ||
| 2539 | } | 2681 | } | ||
| @@ -2542,6 +2684,8 @@ var xWidgetGetMapped func(uintptr) bool | |||||
| 2542 | 2684 | ||||
| 2543 | // Returns whether the widget is mapped. | 2685 | // Returns whether the widget is mapped. | ||
| 2544 | func (x *Widget) GetMapped() bool { | 2686 | func (x *Widget) GetMapped() bool { | ||
| 2687 | + | core.LazyRegister(&xWidgetGetMapped, "GTK", "gtk_widget_get_mapped", false) | |||
| 2688 | + | ||||
| 2545 | cret := xWidgetGetMapped(x.GoPointer()) | 2689 | cret := xWidgetGetMapped(x.GoPointer()) | ||
| 2546 | return cret | 2690 | return cret | ||
| 2547 | } | 2691 | } | ||
| @@ -2550,6 +2694,8 @@ var xWidgetGetMarginBottom func(uintptr) int | |||||
| 2550 | 2694 | ||||
| 2551 | // Gets the bottom margin of the widget. | 2695 | // Gets the bottom margin of the widget. | ||
| 2552 | func (x *Widget) GetMarginBottom() int { | 2696 | func (x *Widget) GetMarginBottom() int { | ||
| 2697 | + | core.LazyRegister(&xWidgetGetMarginBottom, "GTK", "gtk_widget_get_margin_bottom", false) | |||
| 2698 | + | ||||
| 2553 | cret := xWidgetGetMarginBottom(x.GoPointer()) | 2699 | cret := xWidgetGetMarginBottom(x.GoPointer()) | ||
| 2554 | return cret | 2700 | return cret | ||
| 2555 | } | 2701 | } | ||
| @@ -2558,6 +2704,8 @@ var xWidgetGetMarginEnd func(uintptr) int | |||||
| 2558 | 2704 | ||||
| 2559 | // Gets the end margin of the widget. | 2705 | // Gets the end margin of the widget. | ||
| 2560 | func (x *Widget) GetMarginEnd() int { | 2706 | func (x *Widget) GetMarginEnd() int { | ||
| 2707 | + | core.LazyRegister(&xWidgetGetMarginEnd, "GTK", "gtk_widget_get_margin_end", false) | |||
| 2708 | + | ||||
| 2561 | cret := xWidgetGetMarginEnd(x.GoPointer()) | 2709 | cret := xWidgetGetMarginEnd(x.GoPointer()) | ||
| 2562 | return cret | 2710 | return cret | ||
| 2563 | } | 2711 | } | ||
| @@ -2566,6 +2714,8 @@ var xWidgetGetMarginStart func(uintptr) int | |||||
| 2566 | 2714 | ||||
| 2567 | // Gets the start margin of the widget. | 2715 | // Gets the start margin of the widget. | ||
| 2568 | func (x *Widget) GetMarginStart() int { | 2716 | func (x *Widget) GetMarginStart() int { | ||
| 2717 | + | core.LazyRegister(&xWidgetGetMarginStart, "GTK", "gtk_widget_get_margin_start", false) | |||
| 2718 | + | ||||
| 2569 | cret := xWidgetGetMarginStart(x.GoPointer()) | 2719 | cret := xWidgetGetMarginStart(x.GoPointer()) | ||
| 2570 | return cret | 2720 | return cret | ||
| 2571 | } | 2721 | } | ||
| @@ -2574,6 +2724,8 @@ var xWidgetGetMarginTop func(uintptr) int | |||||
| 2574 | 2724 | ||||
| 2575 | // Gets the top margin of the widget. | 2725 | // Gets the top margin of the widget. | ||
| 2576 | func (x *Widget) GetMarginTop() int { | 2726 | func (x *Widget) GetMarginTop() int { | ||
| 2727 | + | core.LazyRegister(&xWidgetGetMarginTop, "GTK", "gtk_widget_get_margin_top", false) | |||
| 2728 | + | ||||
| 2577 | cret := xWidgetGetMarginTop(x.GoPointer()) | 2729 | cret := xWidgetGetMarginTop(x.GoPointer()) | ||
| 2578 | return cret | 2730 | return cret | ||
| 2579 | } | 2731 | } | ||
| @@ -2584,6 +2736,8 @@ var xWidgetGetName func(uintptr) string | |||||
| 2584 | // | 2736 | // | ||
| 2585 | // See [method@Gtk.Widget.set_name] for the significance of widget names. | 2737 | // See [method@Gtk.Widget.set_name] for the significance of widget names. | ||
| 2586 | func (x *Widget) GetName() string { | 2738 | func (x *Widget) GetName() string { | ||
| 2739 | + | core.LazyRegister(&xWidgetGetName, "GTK", "gtk_widget_get_name", false) | |||
| 2740 | + | ||||
| 2587 | cret := xWidgetGetName(x.GoPointer()) | 2741 | cret := xWidgetGetName(x.GoPointer()) | ||
| 2588 | return cret | 2742 | return cret | ||
| 2589 | } | 2743 | } | ||
| @@ -2597,6 +2751,7 @@ var xWidgetGetNative func(uintptr) uintptr | |||||
| 2597 | // | 2751 | // | ||
| 2598 | // `GtkNative` widgets will return themselves here. | 2752 | // `GtkNative` widgets will return themselves here. | ||
| 2599 | func (x *Widget) GetNative() *NativeBase { | 2753 | func (x *Widget) GetNative() *NativeBase { | ||
| 2754 | + | core.LazyRegister(&xWidgetGetNative, "GTK", "gtk_widget_get_native", false) | |||
| 2600 | var cls *NativeBase | 2755 | var cls *NativeBase | ||
| 2601 | 2756 | ||||
| 2602 | cret := xWidgetGetNative(x.GoPointer()) | 2757 | cret := xWidgetGetNative(x.GoPointer()) | ||
| @@ -2616,6 +2771,7 @@ var xWidgetGetNextSibling func(uintptr) uintptr | |||||
| 2616 | // | 2771 | // | ||
| 2617 | // This function is primarily meant for widget implementations. | 2772 | // This function is primarily meant for widget implementations. | ||
| 2618 | func (x *Widget) GetNextSibling() *Widget { | 2773 | func (x *Widget) GetNextSibling() *Widget { | ||
| 2774 | + | core.LazyRegister(&xWidgetGetNextSibling, "GTK", "gtk_widget_get_next_sibling", false) | |||
| 2619 | var cls *Widget | 2775 | var cls *Widget | ||
| 2620 | 2776 | ||||
| 2621 | cret := xWidgetGetNextSibling(x.GoPointer()) | 2777 | cret := xWidgetGetNextSibling(x.GoPointer()) | ||
| @@ -2635,6 +2791,8 @@ var xWidgetGetOpacity func(uintptr) float64 | |||||
| 2635 | // | 2791 | // | ||
| 2636 | // See [method@Gtk.Widget.set_opacity]. | 2792 | // See [method@Gtk.Widget.set_opacity]. | ||
| 2637 | func (x *Widget) GetOpacity() float64 { | 2793 | func (x *Widget) GetOpacity() float64 { | ||
| 2794 | + | core.LazyRegister(&xWidgetGetOpacity, "GTK", "gtk_widget_get_opacity", false) | |||
| 2795 | + | ||||
| 2638 | cret := xWidgetGetOpacity(x.GoPointer()) | 2796 | cret := xWidgetGetOpacity(x.GoPointer()) | ||
| 2639 | return cret | 2797 | return cret | ||
| 2640 | } | 2798 | } | ||
| @@ -2643,6 +2801,8 @@ var xWidgetGetOverflow func(uintptr) Overflow | |||||
| 2643 | 2801 | ||||
| 2644 | // Returns the widget’s overflow value. | 2802 | // Returns the widget’s overflow value. | ||
| 2645 | func (x *Widget) GetOverflow() Overflow { | 2803 | func (x *Widget) GetOverflow() Overflow { | ||
| 2804 | + | core.LazyRegister(&xWidgetGetOverflow, "GTK", "gtk_widget_get_overflow", false) | |||
| 2805 | + | ||||
| 2646 | cret := xWidgetGetOverflow(x.GoPointer()) | 2806 | cret := xWidgetGetOverflow(x.GoPointer()) | ||
| 2647 | return cret | 2807 | return cret | ||
| 2648 | } | 2808 | } | ||
| @@ -2661,6 +2821,7 @@ var xWidgetGetPangoContext func(uintptr) uintptr | |||||
| 2661 | // This can be tracked by listening to changes of the | 2821 | // This can be tracked by listening to changes of the | ||
| 2662 | // [property@Gtk.Widget:root] property on the widget. | 2822 | // [property@Gtk.Widget:root] property on the widget. | ||
| 2663 | func (x *Widget) GetPangoContext() *pango.Context { | 2823 | func (x *Widget) GetPangoContext() *pango.Context { | ||
| 2824 | + | core.LazyRegister(&xWidgetGetPangoContext, "GTK", "gtk_widget_get_pango_context", false) | |||
| 2664 | var cls *pango.Context | 2825 | var cls *pango.Context | ||
| 2665 | 2826 | ||||
| 2666 | cret := xWidgetGetPangoContext(x.GoPointer()) | 2827 | cret := xWidgetGetPangoContext(x.GoPointer()) | ||
| @@ -2678,6 +2839,7 @@ var xWidgetGetParent func(uintptr) uintptr | |||||
| 2678 | 2839 | ||||
| 2679 | // Returns the parent widget of the widget. | 2840 | // Returns the parent widget of the widget. | ||
| 2680 | func (x *Widget) GetParent() *Widget { | 2841 | func (x *Widget) GetParent() *Widget { | ||
| 2842 | + | core.LazyRegister(&xWidgetGetParent, "GTK", "gtk_widget_get_parent", false) | |||
| 2681 | var cls *Widget | 2843 | var cls *Widget | ||
| 2682 | 2844 | ||||
| 2683 | cret := xWidgetGetParent(x.GoPointer()) | 2845 | cret := xWidgetGetParent(x.GoPointer()) | ||
| @@ -2708,6 +2870,8 @@ var xWidgetGetPreferredSize func(uintptr, *Requisition, *Requisition) | |||||
| 2708 | // | 2870 | // | ||
| 2709 | // Use [method@Gtk.Widget.measure] if you want to support baseline alignment. | 2871 | // Use [method@Gtk.Widget.measure] if you want to support baseline alignment. | ||
| 2710 | func (x *Widget) GetPreferredSize(MinimumSizeVar *Requisition, NaturalSizeVar *Requisition) { | 2872 | func (x *Widget) GetPreferredSize(MinimumSizeVar *Requisition, NaturalSizeVar *Requisition) { | ||
| 2873 | + | core.LazyRegister(&xWidgetGetPreferredSize, "GTK", "gtk_widget_get_preferred_size", false) | |||
| 2874 | + | ||||
| 2711 | xWidgetGetPreferredSize(x.GoPointer(), MinimumSizeVar, NaturalSizeVar) | 2875 | xWidgetGetPreferredSize(x.GoPointer(), MinimumSizeVar, NaturalSizeVar) | ||
| 2712 | } | 2876 | } | ||
| 2713 | 2877 | ||||
| @@ -2717,6 +2881,7 @@ var xWidgetGetPrevSibling func(uintptr) uintptr | |||||
| 2717 | // | 2881 | // | ||
| 2718 | // This function is primarily meant for widget implementations. | 2882 | // This function is primarily meant for widget implementations. | ||
| 2719 | func (x *Widget) GetPrevSibling() *Widget { | 2883 | func (x *Widget) GetPrevSibling() *Widget { | ||
| 2884 | + | core.LazyRegister(&xWidgetGetPrevSibling, "GTK", "gtk_widget_get_prev_sibling", false) | |||
| 2720 | var cls *Widget | 2885 | var cls *Widget | ||
| 2721 | 2886 | ||||
| 2722 | cret := xWidgetGetPrevSibling(x.GoPointer()) | 2887 | cret := xWidgetGetPrevSibling(x.GoPointer()) | ||
| @@ -2740,6 +2905,7 @@ var xWidgetGetPrimaryClipboard func(uintptr) uintptr | |||||
| 2740 | // Note that this function always works, even when @widget is not | 2905 | // Note that this function always works, even when @widget is not | ||
| 2741 | // realized yet. | 2906 | // realized yet. | ||
| 2742 | func (x *Widget) GetPrimaryClipboard() *gdk.Clipboard { | 2907 | func (x *Widget) GetPrimaryClipboard() *gdk.Clipboard { | ||
| 2908 | + | core.LazyRegister(&xWidgetGetPrimaryClipboard, "GTK", "gtk_widget_get_primary_clipboard", false) | |||
| 2743 | var cls *gdk.Clipboard | 2909 | var cls *gdk.Clipboard | ||
| 2744 | 2910 | ||||
| 2745 | cret := xWidgetGetPrimaryClipboard(x.GoPointer()) | 2911 | cret := xWidgetGetPrimaryClipboard(x.GoPointer()) | ||
| @@ -2757,6 +2923,8 @@ var xWidgetGetRealized func(uintptr) bool | |||||
| 2757 | 2923 | ||||
| 2758 | // Determines whether the widget is realized. | 2924 | // Determines whether the widget is realized. | ||
| 2759 | func (x *Widget) GetRealized() bool { | 2925 | func (x *Widget) GetRealized() bool { | ||
| 2926 | + | core.LazyRegister(&xWidgetGetRealized, "GTK", "gtk_widget_get_realized", false) | |||
| 2927 | + | ||||
| 2760 | cret := xWidgetGetRealized(x.GoPointer()) | 2928 | cret := xWidgetGetRealized(x.GoPointer()) | ||
| 2761 | return cret | 2929 | return cret | ||
| 2762 | } | 2930 | } | ||
| @@ -2769,6 +2937,8 @@ var xWidgetGetReceivesDefault func(uintptr) bool | |||||
| 2769 | // | 2937 | // | ||
| 2770 | // See [method@Gtk.Widget.set_receives_default]. | 2938 | // See [method@Gtk.Widget.set_receives_default]. | ||
| 2771 | func (x *Widget) GetReceivesDefault() bool { | 2939 | func (x *Widget) GetReceivesDefault() bool { | ||
| 2940 | + | core.LazyRegister(&xWidgetGetReceivesDefault, "GTK", "gtk_widget_get_receives_default", false) | |||
| 2941 | + | ||||
| 2772 | cret := xWidgetGetReceivesDefault(x.GoPointer()) | 2942 | cret := xWidgetGetReceivesDefault(x.GoPointer()) | ||
| 2773 | return cret | 2943 | return cret | ||
| 2774 | } | 2944 | } | ||
| @@ -2783,6 +2953,8 @@ var xWidgetGetRequestMode func(uintptr) SizeRequestMode | |||||
| 2783 | // either in context of their children or in context of their | 2953 | // either in context of their children or in context of their | ||
| 2784 | // allocation capabilities. | 2954 | // allocation capabilities. | ||
| 2785 | func (x *Widget) GetRequestMode() SizeRequestMode { | 2955 | func (x *Widget) GetRequestMode() SizeRequestMode { | ||
| 2956 | + | core.LazyRegister(&xWidgetGetRequestMode, "GTK", "gtk_widget_get_request_mode", false) | |||
| 2957 | + | ||||
| 2786 | cret := xWidgetGetRequestMode(x.GoPointer()) | 2958 | cret := xWidgetGetRequestMode(x.GoPointer()) | ||
| 2787 | return cret | 2959 | return cret | ||
| 2788 | } | 2960 | } | ||
| @@ -2796,6 +2968,7 @@ var xWidgetGetRoot func(uintptr) uintptr | |||||
| 2796 | // | 2968 | // | ||
| 2797 | // `GtkRoot` widgets will return themselves here. | 2969 | // `GtkRoot` widgets will return themselves here. | ||
| 2798 | func (x *Widget) GetRoot() *RootBase { | 2970 | func (x *Widget) GetRoot() *RootBase { | ||
| 2971 | + | core.LazyRegister(&xWidgetGetRoot, "GTK", "gtk_widget_get_root", false) | |||
| 2799 | var cls *RootBase | 2972 | var cls *RootBase | ||
| 2800 | 2973 | ||||
| 2801 | cret := xWidgetGetRoot(x.GoPointer()) | 2974 | cret := xWidgetGetRoot(x.GoPointer()) | ||
| @@ -2825,6 +2998,8 @@ var xWidgetGetScaleFactor func(uintptr) int | |||||
| 2825 | // but you probably want to use [method@Gdk.Surface.get_scale] | 2998 | // but you probably want to use [method@Gdk.Surface.get_scale] | ||
| 2826 | // to get the fractional scale value. | 2999 | // to get the fractional scale value. | ||
| 2827 | func (x *Widget) GetScaleFactor() int { | 3000 | func (x *Widget) GetScaleFactor() int { | ||
| 3001 | + | core.LazyRegister(&xWidgetGetScaleFactor, "GTK", "gtk_widget_get_scale_factor", false) | |||
| 3002 | + | ||||
| 2828 | cret := xWidgetGetScaleFactor(x.GoPointer()) | 3003 | cret := xWidgetGetScaleFactor(x.GoPointer()) | ||
| 2829 | return cret | 3004 | return cret | ||
| 2830 | } | 3005 | } | ||
| @@ -2840,6 +3015,8 @@ var xWidgetGetSensitive func(uintptr) bool | |||||
| 2840 | // by both its own and its parent widget’s sensitivity. | 3015 | // by both its own and its parent widget’s sensitivity. | ||
| 2841 | // See [method@Gtk.Widget.is_sensitive]. | 3016 | // See [method@Gtk.Widget.is_sensitive]. | ||
| 2842 | func (x *Widget) GetSensitive() bool { | 3017 | func (x *Widget) GetSensitive() bool { | ||
| 3018 | + | core.LazyRegister(&xWidgetGetSensitive, "GTK", "gtk_widget_get_sensitive", false) | |||
| 3019 | + | ||||
| 2843 | cret := xWidgetGetSensitive(x.GoPointer()) | 3020 | cret := xWidgetGetSensitive(x.GoPointer()) | ||
| 2844 | return cret | 3021 | return cret | ||
| 2845 | } | 3022 | } | ||
| @@ -2853,6 +3030,7 @@ var xWidgetGetSettings func(uintptr) uintptr | |||||
| 2853 | // to a particular display. If you want to monitor the widget for | 3030 | // to a particular display. If you want to monitor the widget for | ||
| 2854 | // changes in its settings, connect to the `notify::display` signal. | 3031 | // changes in its settings, connect to the `notify::display` signal. | ||
| 2855 | func (x *Widget) GetSettings() *Settings { | 3032 | func (x *Widget) GetSettings() *Settings { | ||
| 3033 | + | core.LazyRegister(&xWidgetGetSettings, "GTK", "gtk_widget_get_settings", false) | |||
| 2856 | var cls *Settings | 3034 | var cls *Settings | ||
| 2857 | 3035 | ||||
| 2858 | cret := xWidgetGetSettings(x.GoPointer()) | 3036 | cret := xWidgetGetSettings(x.GoPointer()) | ||
| @@ -2881,6 +3059,8 @@ var xWidgetGetSize func(uintptr, Orientation) int | |||||
| 2881 | // To learn more about widget sizes, see the coordinate | 3059 | // To learn more about widget sizes, see the coordinate | ||
| 2882 | // system [overview](coordinates.html). | 3060 | // system [overview](coordinates.html). | ||
| 2883 | func (x *Widget) GetSize(OrientationVar Orientation) int { | 3061 | func (x *Widget) GetSize(OrientationVar Orientation) int { | ||
| 3062 | + | core.LazyRegister(&xWidgetGetSize, "GTK", "gtk_widget_get_size", false) | |||
| 3063 | + | ||||
| 2884 | cret := xWidgetGetSize(x.GoPointer(), OrientationVar) | 3064 | cret := xWidgetGetSize(x.GoPointer(), OrientationVar) | ||
| 2885 | return cret | 3065 | return cret | ||
| 2886 | } | 3066 | } | ||
| @@ -2898,6 +3078,8 @@ var xWidgetGetSizeRequest func(uintptr, *int, *int) | |||||
| 2898 | // To get the size a widget will actually request, call | 3078 | // To get the size a widget will actually request, call | ||
| 2899 | // [method@Gtk.Widget.measure] instead of this function. | 3079 | // [method@Gtk.Widget.measure] instead of this function. | ||
| 2900 | func (x *Widget) GetSizeRequest(WidthVar *int, HeightVar *int) { | 3080 | func (x *Widget) GetSizeRequest(WidthVar *int, HeightVar *int) { | ||
| 3081 | + | core.LazyRegister(&xWidgetGetSizeRequest, "GTK", "gtk_widget_get_size_request", false) | |||
| 3082 | + | ||||
| 2901 | xWidgetGetSizeRequest(x.GoPointer(), WidthVar, HeightVar) | 3083 | xWidgetGetSizeRequest(x.GoPointer(), WidthVar, HeightVar) | ||
| 2902 | } | 3084 | } | ||
| 2903 | 3085 | ||||
| @@ -2913,6 +3095,8 @@ var xWidgetGetStateFlags func(uintptr) StateFlags | |||||
| 2913 | // [flags@Gtk.StateFlags] to pass to a [class@Gtk.StyleContext] | 3095 | // [flags@Gtk.StateFlags] to pass to a [class@Gtk.StyleContext] | ||
| 2914 | // method, you should look at [method@Gtk.StyleContext.get_state]. | 3096 | // method, you should look at [method@Gtk.StyleContext.get_state]. | ||
| 2915 | func (x *Widget) GetStateFlags() StateFlags { | 3097 | func (x *Widget) GetStateFlags() StateFlags { | ||
| 3098 | + | core.LazyRegister(&xWidgetGetStateFlags, "GTK", "gtk_widget_get_state_flags", false) | |||
| 3099 | + | ||||
| 2916 | cret := xWidgetGetStateFlags(x.GoPointer()) | 3100 | cret := xWidgetGetStateFlags(x.GoPointer()) | ||
| 2917 | return cret | 3101 | return cret | ||
| 2918 | } | 3102 | } | ||
| @@ -2924,6 +3108,7 @@ var xWidgetGetStyleContext func(uintptr) uintptr | |||||
| 2924 | // The returned object is guaranteed to be the same | 3108 | // The returned object is guaranteed to be the same | ||
| 2925 | // for the lifetime of @widget. | 3109 | // for the lifetime of @widget. | ||
| 2926 | func (x *Widget) GetStyleContext() *StyleContext { | 3110 | func (x *Widget) GetStyleContext() *StyleContext { | ||
| 3111 | + | core.LazyRegister(&xWidgetGetStyleContext, "GTK", "gtk_widget_get_style_context", false) | |||
| 2927 | var cls *StyleContext | 3112 | var cls *StyleContext | ||
| 2928 | 3113 | ||||
| 2929 | cret := xWidgetGetStyleContext(x.GoPointer()) | 3114 | cret := xWidgetGetStyleContext(x.GoPointer()) | ||
| @@ -2950,6 +3135,7 @@ var xWidgetGetTemplateChild func(uintptr, types.GType, string) uintptr | |||||
| 2950 | // to the @widget_type which declared the child and is meant for language | 3135 | // to the @widget_type which declared the child and is meant for language | ||
| 2951 | // bindings which cannot easily make use of the GObject structure offsets. | 3136 | // bindings which cannot easily make use of the GObject structure offsets. | ||
| 2952 | func (x *Widget) GetTemplateChild(WidgetTypeVar types.GType, NameVar string) *gobject.Object { | 3137 | func (x *Widget) GetTemplateChild(WidgetTypeVar types.GType, NameVar string) *gobject.Object { | ||
| 3138 | + | core.LazyRegister(&xWidgetGetTemplateChild, "GTK", "gtk_widget_get_template_child", false) | |||
| 2953 | var cls *gobject.Object | 3139 | var cls *gobject.Object | ||
| 2954 | 3140 | ||||
| 2955 | cret := xWidgetGetTemplateChild(x.GoPointer(), WidgetTypeVar, NameVar) | 3141 | cret := xWidgetGetTemplateChild(x.GoPointer(), WidgetTypeVar, NameVar) | ||
| @@ -2971,6 +3157,8 @@ var xWidgetGetTooltipMarkup func(uintptr) string | |||||
| 2971 | // [method@Gtk.Widget.set_tooltip_markup], this | 3157 | // [method@Gtk.Widget.set_tooltip_markup], this | ||
| 2972 | // function returns `NULL`. | 3158 | // function returns `NULL`. | ||
| 2973 | func (x *Widget) GetTooltipMarkup() string { | 3159 | func (x *Widget) GetTooltipMarkup() string { | ||
| 3160 | + | core.LazyRegister(&xWidgetGetTooltipMarkup, "GTK", "gtk_widget_get_tooltip_markup", false) | |||
| 3161 | + | ||||
| 2974 | cret := xWidgetGetTooltipMarkup(x.GoPointer()) | 3162 | cret := xWidgetGetTooltipMarkup(x.GoPointer()) | ||
| 2975 | return cret | 3163 | return cret | ||
| 2976 | } | 3164 | } | ||
| @@ -2983,6 +3171,8 @@ var xWidgetGetTooltipText func(uintptr) string | |||||
| 2983 | // [method@Gtk.Widget.set_tooltip_markup], | 3171 | // [method@Gtk.Widget.set_tooltip_markup], | ||
| 2984 | // this function will return the escaped text. | 3172 | // this function will return the escaped text. | ||
| 2985 | func (x *Widget) GetTooltipText() string { | 3173 | func (x *Widget) GetTooltipText() string { | ||
| 3174 | + | core.LazyRegister(&xWidgetGetTooltipText, "GTK", "gtk_widget_get_tooltip_text", false) | |||
| 3175 | + | ||||
| 2986 | cret := xWidgetGetTooltipText(x.GoPointer()) | 3176 | cret := xWidgetGetTooltipText(x.GoPointer()) | ||
| 2987 | return cret | 3177 | return cret | ||
| 2988 | } | 3178 | } | ||
| @@ -2991,6 +3181,8 @@ var xWidgetGetValign func(uintptr) Align | |||||
| 2991 | 3181 | ||||
| 2992 | // Gets the vertical alignment of the widget. | 3182 | // Gets the vertical alignment of the widget. | ||
| 2993 | func (x *Widget) GetValign() Align { | 3183 | func (x *Widget) GetValign() Align { | ||
| 3184 | + | core.LazyRegister(&xWidgetGetValign, "GTK", "gtk_widget_get_valign", false) | |||
| 3185 | + | ||||
| 2994 | cret := xWidgetGetValign(x.GoPointer()) | 3186 | cret := xWidgetGetValign(x.GoPointer()) | ||
| 2995 | return cret | 3187 | return cret | ||
| 2996 | } | 3188 | } | ||
| @@ -3002,6 +3194,8 @@ var xWidgetGetVexpand func(uintptr) bool | |||||
| 3002 | // | 3194 | // | ||
| 3003 | // See [method@Gtk.Widget.get_hexpand] for more detail. | 3195 | // See [method@Gtk.Widget.get_hexpand] for more detail. | ||
| 3004 | func (x *Widget) GetVexpand() bool { | 3196 | func (x *Widget) GetVexpand() bool { | ||
| 3197 | + | core.LazyRegister(&xWidgetGetVexpand, "GTK", "gtk_widget_get_vexpand", false) | |||
| 3198 | + | ||||
| 3005 | cret := xWidgetGetVexpand(x.GoPointer()) | 3199 | cret := xWidgetGetVexpand(x.GoPointer()) | ||
| 3006 | return cret | 3200 | return cret | ||
| 3007 | } | 3201 | } | ||
| @@ -3012,6 +3206,8 @@ var xWidgetGetVexpandSet func(uintptr) bool | |||||
| 3012 | // | 3206 | // | ||
| 3013 | // See [method@Gtk.Widget.get_hexpand_set] for more detail. | 3207 | // See [method@Gtk.Widget.get_hexpand_set] for more detail. | ||
| 3014 | func (x *Widget) GetVexpandSet() bool { | 3208 | func (x *Widget) GetVexpandSet() bool { | ||
| 3209 | + | core.LazyRegister(&xWidgetGetVexpandSet, "GTK", "gtk_widget_get_vexpand_set", false) | |||
| 3210 | + | ||||
| 3015 | cret := xWidgetGetVexpandSet(x.GoPointer()) | 3211 | cret := xWidgetGetVexpandSet(x.GoPointer()) | ||
| 3016 | return cret | 3212 | return cret | ||
| 3017 | } | 3213 | } | ||
| @@ -3029,6 +3225,8 @@ var xWidgetGetVisible func(uintptr) bool | |||||
| 3029 | // | 3225 | // | ||
| 3030 | // See [method@Gtk.Widget.set_visible]. | 3226 | // See [method@Gtk.Widget.set_visible]. | ||
| 3031 | func (x *Widget) GetVisible() bool { | 3227 | func (x *Widget) GetVisible() bool { | ||
| 3228 | + | core.LazyRegister(&xWidgetGetVisible, "GTK", "gtk_widget_get_visible", false) | |||
| 3229 | + | ||||
| 3032 | cret := xWidgetGetVisible(x.GoPointer()) | 3230 | cret := xWidgetGetVisible(x.GoPointer()) | ||
| 3033 | return cret | 3231 | return cret | ||
| 3034 | } | 3232 | } | ||
| @@ -3046,6 +3244,8 @@ var xWidgetGetWidth func(uintptr) int | |||||
| 3046 | // To learn more about widget sizes, see the coordinate | 3244 | // To learn more about widget sizes, see the coordinate | ||
| 3047 | // system [overview](coordinates.html). | 3245 | // system [overview](coordinates.html). | ||
| 3048 | func (x *Widget) GetWidth() int { | 3246 | func (x *Widget) GetWidth() int { | ||
| 3247 | + | core.LazyRegister(&xWidgetGetWidth, "GTK", "gtk_widget_get_width", false) | |||
| 3248 | + | ||||
| 3049 | cret := xWidgetGetWidth(x.GoPointer()) | 3249 | cret := xWidgetGetWidth(x.GoPointer()) | ||
| 3050 | return cret | 3250 | return cret | ||
| 3051 | } | 3251 | } | ||
| @@ -3062,6 +3262,8 @@ var xWidgetGrabFocus func(uintptr) bool | |||||
| 3062 | // Calling [method@Gtk.Widget.grab_focus] on an already focused widget | 3262 | // Calling [method@Gtk.Widget.grab_focus] on an already focused widget | ||
| 3063 | // is allowed, should not have an effect, and return true. | 3263 | // is allowed, should not have an effect, and return true. | ||
| 3064 | func (x *Widget) GrabFocus() bool { | 3264 | func (x *Widget) GrabFocus() bool { | ||
| 3265 | + | core.LazyRegister(&xWidgetGrabFocus, "GTK", "gtk_widget_grab_focus", false) | |||
| 3266 | + | ||||
| 3065 | cret := xWidgetGrabFocus(x.GoPointer()) | 3267 | cret := xWidgetGrabFocus(x.GoPointer()) | ||
| 3066 | return cret | 3268 | return cret | ||
| 3067 | } | 3269 | } | ||
| @@ -3070,6 +3272,8 @@ var xWidgetHasCssClass func(uintptr, string) bool | |||||
| 3070 | 3272 | ||||
| 3071 | // Returns whether a style class is currently applied to the widget. | 3273 | // Returns whether a style class is currently applied to the widget. | ||
| 3072 | func (x *Widget) HasCssClass(CssClassVar string) bool { | 3274 | func (x *Widget) HasCssClass(CssClassVar string) bool { | ||
| 3275 | + | core.LazyRegister(&xWidgetHasCssClass, "GTK", "gtk_widget_has_css_class", false) | |||
| 3276 | + | ||||
| 3073 | cret := xWidgetHasCssClass(x.GoPointer(), CssClassVar) | 3277 | cret := xWidgetHasCssClass(x.GoPointer(), CssClassVar) | ||
| 3074 | return cret | 3278 | return cret | ||
| 3075 | } | 3279 | } | ||
| @@ -3079,6 +3283,8 @@ var xWidgetHasDefault func(uintptr) bool | |||||
| 3079 | // Determines whether the widget is the current default widget | 3283 | // Determines whether the widget is the current default widget | ||
| 3080 | // within its toplevel. | 3284 | // within its toplevel. | ||
| 3081 | func (x *Widget) HasDefault() bool { | 3285 | func (x *Widget) HasDefault() bool { | ||
| 3286 | + | core.LazyRegister(&xWidgetHasDefault, "GTK", "gtk_widget_has_default", false) | |||
| 3287 | + | ||||
| 3082 | cret := xWidgetHasDefault(x.GoPointer()) | 3288 | cret := xWidgetHasDefault(x.GoPointer()) | ||
| 3083 | return cret | 3289 | return cret | ||
| 3084 | } | 3290 | } | ||
| @@ -3091,6 +3297,8 @@ var xWidgetHasFocus func(uintptr) bool | |||||
| 3091 | // having the global input focus, and only having the focus | 3297 | // having the global input focus, and only having the focus | ||
| 3092 | // within a toplevel. | 3298 | // within a toplevel. | ||
| 3093 | func (x *Widget) HasFocus() bool { | 3299 | func (x *Widget) HasFocus() bool { | ||
| 3300 | + | core.LazyRegister(&xWidgetHasFocus, "GTK", "gtk_widget_has_focus", false) | |||
| 3301 | + | ||||
| 3094 | cret := xWidgetHasFocus(x.GoPointer()) | 3302 | cret := xWidgetHasFocus(x.GoPointer()) | ||
| 3095 | return cret | 3303 | return cret | ||
| 3096 | } | 3304 | } | ||
| @@ -3108,6 +3316,8 @@ var xWidgetHasVisibleFocus func(uintptr) bool | |||||
| 3108 | // To find out if the widget has the global input focus, use | 3316 | // To find out if the widget has the global input focus, use | ||
| 3109 | // [method@Gtk.Widget.has_focus]. | 3317 | // [method@Gtk.Widget.has_focus]. | ||
| 3110 | func (x *Widget) HasVisibleFocus() bool { | 3318 | func (x *Widget) HasVisibleFocus() bool { | ||
| 3319 | + | core.LazyRegister(&xWidgetHasVisibleFocus, "GTK", "gtk_widget_has_visible_focus", false) | |||
| 3320 | + | ||||
| 3111 | cret := xWidgetHasVisibleFocus(x.GoPointer()) | 3321 | cret := xWidgetHasVisibleFocus(x.GoPointer()) | ||
| 3112 | return cret | 3322 | return cret | ||
| 3113 | } | 3323 | } | ||
| @@ -3118,6 +3328,8 @@ var xWidgetHide func(uintptr) | |||||
| 3118 | // | 3328 | // | ||
| 3119 | // This is causing the widget to be hidden (invisible to the user). | 3329 | // This is causing the widget to be hidden (invisible to the user). | ||
| 3120 | func (x *Widget) Hide() { | 3330 | func (x *Widget) Hide() { | ||
| 3331 | + | core.LazyRegister(&xWidgetHide, "GTK", "gtk_widget_hide", false) | |||
| 3332 | + | ||||
| 3121 | xWidgetHide(x.GoPointer()) | 3333 | xWidgetHide(x.GoPointer()) | ||
| 3122 | } | 3334 | } | ||
| 3123 | 3335 | ||||
| @@ -3128,6 +3340,8 @@ var xWidgetInDestruction func(uintptr) bool | |||||
| 3128 | // This information can sometimes be used to avoid doing | 3340 | // This information can sometimes be used to avoid doing | ||
| 3129 | // unnecessary work. | 3341 | // unnecessary work. | ||
| 3130 | func (x *Widget) InDestruction() bool { | 3342 | func (x *Widget) InDestruction() bool { | ||
| 3343 | + | core.LazyRegister(&xWidgetInDestruction, "GTK", "gtk_widget_in_destruction", false) | |||
| 3344 | + | ||||
| 3131 | cret := xWidgetInDestruction(x.GoPointer()) | 3345 | cret := xWidgetInDestruction(x.GoPointer()) | ||
| 3132 | return cret | 3346 | return cret | ||
| 3133 | } | 3347 | } | ||
| @@ -3155,6 +3369,8 @@ var xWidgetInitTemplate func(uintptr) | |||||
| 3155 | // A good rule of thumb is to call this function as the first thing in | 3369 | // A good rule of thumb is to call this function as the first thing in | ||
| 3156 | // an instance initialization function. | 3370 | // an instance initialization function. | ||
| 3157 | func (x *Widget) InitTemplate() { | 3371 | func (x *Widget) InitTemplate() { | ||
| 3372 | + | core.LazyRegister(&xWidgetInitTemplate, "GTK", "gtk_widget_init_template", false) | |||
| 3373 | + | ||||
| 3158 | xWidgetInitTemplate(x.GoPointer()) | 3374 | xWidgetInitTemplate(x.GoPointer()) | ||
| 3159 | } | 3375 | } | ||
| 3160 | 3376 | ||||
| @@ -3174,6 +3390,8 @@ var xWidgetInsertActionGroup func(uintptr, string, uintptr) | |||||
| 3174 | // If @group is `NULL`, a previously inserted group for @name is | 3390 | // If @group is `NULL`, a previously inserted group for @name is | ||
| 3175 | // removed from @widget. | 3391 | // removed from @widget. | ||
| 3176 | func (x *Widget) InsertActionGroup(NameVar string, GroupVar gio.ActionGroup) { | 3392 | func (x *Widget) InsertActionGroup(NameVar string, GroupVar gio.ActionGroup) { | ||
| 3393 | + | core.LazyRegister(&xWidgetInsertActionGroup, "GTK", "gtk_widget_insert_action_group", false) | |||
| 3394 | + | ||||
| 3177 | xWidgetInsertActionGroup(x.GoPointer(), NameVar, GroupVar.GoPointer()) | 3395 | xWidgetInsertActionGroup(x.GoPointer(), NameVar, GroupVar.GoPointer()) | ||
| 3178 | } | 3396 | } | ||
| 3179 | 3397 | ||||
| @@ -3198,6 +3416,8 @@ var xWidgetInsertAfter func(uintptr, uintptr, uintptr) | |||||
| 3198 | // This function is primarily meant for widget implementations; if you are | 3416 | // This function is primarily meant for widget implementations; if you are | ||
| 3199 | // just using a widget, you *must* use its own API for adding children. | 3417 | // just using a widget, you *must* use its own API for adding children. | ||
| 3200 | func (x *Widget) InsertAfter(ParentVar *Widget, PreviousSiblingVar *Widget) { | 3418 | func (x *Widget) InsertAfter(ParentVar *Widget, PreviousSiblingVar *Widget) { | ||
| 3419 | + | core.LazyRegister(&xWidgetInsertAfter, "GTK", "gtk_widget_insert_after", false) | |||
| 3420 | + | ||||
| 3201 | xWidgetInsertAfter(x.GoPointer(), ParentVar.GoPointer(), PreviousSiblingVar.GoPointer()) | 3421 | xWidgetInsertAfter(x.GoPointer(), ParentVar.GoPointer(), PreviousSiblingVar.GoPointer()) | ||
| 3202 | } | 3422 | } | ||
| 3203 | 3423 | ||||
| @@ -3221,6 +3441,8 @@ var xWidgetInsertBefore func(uintptr, uintptr, uintptr) | |||||
| 3221 | // This function is primarily meant for widget implementations; if you are | 3441 | // This function is primarily meant for widget implementations; if you are | ||
| 3222 | // just using a widget, you *must* use its own API for adding children. | 3442 | // just using a widget, you *must* use its own API for adding children. | ||
| 3223 | func (x *Widget) InsertBefore(ParentVar *Widget, NextSiblingVar *Widget) { | 3443 | func (x *Widget) InsertBefore(ParentVar *Widget, NextSiblingVar *Widget) { | ||
| 3444 | + | core.LazyRegister(&xWidgetInsertBefore, "GTK", "gtk_widget_insert_before", false) | |||
| 3445 | + | ||||
| 3224 | xWidgetInsertBefore(x.GoPointer(), ParentVar.GoPointer(), NextSiblingVar.GoPointer()) | 3446 | xWidgetInsertBefore(x.GoPointer(), ParentVar.GoPointer(), NextSiblingVar.GoPointer()) | ||
| 3225 | } | 3447 | } | ||
| 3226 | 3448 | ||||
| @@ -3228,6 +3450,8 @@ var xWidgetIsAncestor func(uintptr, uintptr) bool | |||||
| 3228 | 3450 | ||||
| 3229 | // Determines whether the widget is a descendent of @ancestor. | 3451 | // Determines whether the widget is a descendent of @ancestor. | ||
| 3230 | func (x *Widget) IsAncestor(AncestorVar *Widget) bool { | 3452 | func (x *Widget) IsAncestor(AncestorVar *Widget) bool { | ||
| 3453 | + | core.LazyRegister(&xWidgetIsAncestor, "GTK", "gtk_widget_is_ancestor", false) | |||
| 3454 | + | ||||
| 3231 | cret := xWidgetIsAncestor(x.GoPointer(), AncestorVar.GoPointer()) | 3455 | cret := xWidgetIsAncestor(x.GoPointer(), AncestorVar.GoPointer()) | ||
| 3232 | return cret | 3456 | return cret | ||
| 3233 | } | 3457 | } | ||
| @@ -3238,6 +3462,8 @@ var xWidgetIsDrawable func(uintptr) bool | |||||
| 3238 | // | 3462 | // | ||
| 3239 | // A widget can be drawn if it is mapped and visible. | 3463 | // A widget can be drawn if it is mapped and visible. | ||
| 3240 | func (x *Widget) IsDrawable() bool { | 3464 | func (x *Widget) IsDrawable() bool { | ||
| 3465 | + | core.LazyRegister(&xWidgetIsDrawable, "GTK", "gtk_widget_is_drawable", false) | |||
| 3466 | + | ||||
| 3241 | cret := xWidgetIsDrawable(x.GoPointer()) | 3467 | cret := xWidgetIsDrawable(x.GoPointer()) | ||
| 3242 | return cret | 3468 | return cret | ||
| 3243 | } | 3469 | } | ||
| @@ -3252,6 +3478,8 @@ var xWidgetIsFocus func(uintptr) bool | |||||
| 3252 | // will only be set if the toplevel widget additionally has the | 3478 | // will only be set if the toplevel widget additionally has the | ||
| 3253 | // global input focus. | 3479 | // global input focus. | ||
| 3254 | func (x *Widget) IsFocus() bool { | 3480 | func (x *Widget) IsFocus() bool { | ||
| 3481 | + | core.LazyRegister(&xWidgetIsFocus, "GTK", "gtk_widget_is_focus", false) | |||
| 3482 | + | ||||
| 3255 | cret := xWidgetIsFocus(x.GoPointer()) | 3483 | cret := xWidgetIsFocus(x.GoPointer()) | ||
| 3256 | return cret | 3484 | return cret | ||
| 3257 | } | 3485 | } | ||
| @@ -3263,6 +3491,8 @@ var xWidgetIsSensitive func(uintptr) bool | |||||
| 3263 | // This means it is sensitive itself and also its | 3491 | // This means it is sensitive itself and also its | ||
| 3264 | // parent widget is sensitive. | 3492 | // parent widget is sensitive. | ||
| 3265 | func (x *Widget) IsSensitive() bool { | 3493 | func (x *Widget) IsSensitive() bool { | ||
| 3494 | + | core.LazyRegister(&xWidgetIsSensitive, "GTK", "gtk_widget_is_sensitive", false) | |||
| 3495 | + | ||||
| 3266 | cret := xWidgetIsSensitive(x.GoPointer()) | 3496 | cret := xWidgetIsSensitive(x.GoPointer()) | ||
| 3267 | return cret | 3497 | return cret | ||
| 3268 | } | 3498 | } | ||
| @@ -3277,6 +3507,8 @@ var xWidgetIsVisible func(uintptr) bool | |||||
| 3277 | // See also [method@Gtk.Widget.get_visible] and | 3507 | // See also [method@Gtk.Widget.get_visible] and | ||
| 3278 | // [method@Gtk.Widget.set_visible]. | 3508 | // [method@Gtk.Widget.set_visible]. | ||
| 3279 | func (x *Widget) IsVisible() bool { | 3509 | func (x *Widget) IsVisible() bool { | ||
| 3510 | + | core.LazyRegister(&xWidgetIsVisible, "GTK", "gtk_widget_is_visible", false) | |||
| 3511 | + | ||||
| 3280 | cret := xWidgetIsVisible(x.GoPointer()) | 3512 | cret := xWidgetIsVisible(x.GoPointer()) | ||
| 3281 | return cret | 3513 | return cret | ||
| 3282 | } | 3514 | } | ||
| @@ -3312,6 +3544,8 @@ var xWidgetKeynavFailed func(uintptr, DirectionType) bool | |||||
| 3312 | // the entire row with the cursor keys, as e.g. known from user | 3544 | // the entire row with the cursor keys, as e.g. known from user | ||
| 3313 | // interfaces that require entering license keys. | 3545 | // interfaces that require entering license keys. | ||
| 3314 | func (x *Widget) KeynavFailed(DirectionVar DirectionType) bool { | 3546 | func (x *Widget) KeynavFailed(DirectionVar DirectionType) bool { | ||
| 3547 | + | core.LazyRegister(&xWidgetKeynavFailed, "GTK", "gtk_widget_keynav_failed", false) | |||
| 3548 | + | ||||
| 3315 | cret := xWidgetKeynavFailed(x.GoPointer(), DirectionVar) | 3549 | cret := xWidgetKeynavFailed(x.GoPointer(), DirectionVar) | ||
| 3316 | return cret | 3550 | return cret | ||
| 3317 | } | 3551 | } | ||
| @@ -3330,6 +3564,8 @@ var xWidgetListMnemonicLabels func(uintptr) uintptr | |||||
| 3330 | // must call `g_list_foreach (result, (GFunc)g_object_ref, NULL)` | 3564 | // must call `g_list_foreach (result, (GFunc)g_object_ref, NULL)` | ||
| 3331 | // first, and then unref all the widgets afterwards. | 3565 | // first, and then unref all the widgets afterwards. | ||
| 3332 | func (x *Widget) ListMnemonicLabels() *glib.List { | 3566 | func (x *Widget) ListMnemonicLabels() *glib.List { | ||
| 3567 | + | core.LazyRegister(&xWidgetListMnemonicLabels, "GTK", "gtk_widget_list_mnemonic_labels", false) | |||
| 3568 | + | ||||
| 3333 | cret := xWidgetListMnemonicLabels(x.GoPointer()) | 3569 | cret := xWidgetListMnemonicLabels(x.GoPointer()) | ||
| 3334 | if cret == 0 { | 3570 | if cret == 0 { | ||
| 3335 | return nil | 3571 | return nil | ||
| @@ -3343,6 +3579,8 @@ var xWidgetMap func(uintptr) | |||||
| 3343 | // | 3579 | // | ||
| 3344 | // This function is only for use in widget implementations. | 3580 | // This function is only for use in widget implementations. | ||
| 3345 | func (x *Widget) Map() { | 3581 | func (x *Widget) Map() { | ||
| 3582 | + | core.LazyRegister(&xWidgetMap, "GTK", "gtk_widget_map", false) | |||
| 3583 | + | ||||
| 3346 | xWidgetMap(x.GoPointer()) | 3584 | xWidgetMap(x.GoPointer()) | ||
| 3347 | } | 3585 | } | ||
| 3348 | 3586 | ||||
| @@ -3357,6 +3595,8 @@ var xWidgetMeasure func(uintptr, Orientation, int, *int, *int, *int, *int) | |||||
| 3357 | // See [GtkWidget’s geometry management section](class.Widget.html#height-for-width-geometry-management) for | 3595 | // See [GtkWidget’s geometry management section](class.Widget.html#height-for-width-geometry-management) for | ||
| 3358 | // a more details on implementing `GtkWidgetClass.measure()`. | 3596 | // a more details on implementing `GtkWidgetClass.measure()`. | ||
| 3359 | func (x *Widget) Measure(OrientationVar Orientation, ForSizeVar int, MinimumVar *int, NaturalVar *int, MinimumBaselineVar *int, NaturalBaselineVar *int) { | 3597 | func (x *Widget) Measure(OrientationVar Orientation, ForSizeVar int, MinimumVar *int, NaturalVar *int, MinimumBaselineVar *int, NaturalBaselineVar *int) { | ||
| 3598 | + | core.LazyRegister(&xWidgetMeasure, "GTK", "gtk_widget_measure", false) | |||
| 3599 | + | ||||
| 3360 | xWidgetMeasure(x.GoPointer(), OrientationVar, ForSizeVar, MinimumVar, NaturalVar, MinimumBaselineVar, NaturalBaselineVar) | 3600 | xWidgetMeasure(x.GoPointer(), OrientationVar, ForSizeVar, MinimumVar, NaturalVar, MinimumBaselineVar, NaturalBaselineVar) | ||
| 3361 | } | 3601 | } | ||
| 3362 | 3602 | ||||
| @@ -3364,6 +3604,8 @@ var xWidgetMnemonicActivate func(uintptr, bool) bool | |||||
| 3364 | 3604 | ||||
| 3365 | // Emits the [signal@Gtk.Widget::mnemonic-activate] signal. | 3605 | // Emits the [signal@Gtk.Widget::mnemonic-activate] signal. | ||
| 3366 | func (x *Widget) MnemonicActivate(GroupCyclingVar bool) bool { | 3606 | func (x *Widget) MnemonicActivate(GroupCyclingVar bool) bool { | ||
| 3607 | + | core.LazyRegister(&xWidgetMnemonicActivate, "GTK", "gtk_widget_mnemonic_activate", false) | |||
| 3608 | + | ||||
| 3367 | cret := xWidgetMnemonicActivate(x.GoPointer(), GroupCyclingVar) | 3609 | cret := xWidgetMnemonicActivate(x.GoPointer(), GroupCyclingVar) | ||
| 3368 | return cret | 3610 | return cret | ||
| 3369 | } | 3611 | } | ||
| @@ -3379,6 +3621,7 @@ var xWidgetObserveChildren func(uintptr) uintptr | |||||
| 3379 | // Applications should try hard to avoid calling this function | 3621 | // Applications should try hard to avoid calling this function | ||
| 3380 | // because of the slowdowns. | 3622 | // because of the slowdowns. | ||
| 3381 | func (x *Widget) ObserveChildren() *gio.ListModelBase { | 3623 | func (x *Widget) ObserveChildren() *gio.ListModelBase { | ||
| 3624 | + | core.LazyRegister(&xWidgetObserveChildren, "GTK", "gtk_widget_observe_children", false) | |||
| 3382 | var cls *gio.ListModelBase | 3625 | var cls *gio.ListModelBase | ||
| 3383 | 3626 | ||||
| 3384 | cret := xWidgetObserveChildren(x.GoPointer()) | 3627 | cret := xWidgetObserveChildren(x.GoPointer()) | ||
| @@ -3402,6 +3645,7 @@ var xWidgetObserveControllers func(uintptr) uintptr | |||||
| 3402 | // Applications should try hard to avoid calling this function | 3645 | // Applications should try hard to avoid calling this function | ||
| 3403 | // because of the slowdowns. | 3646 | // because of the slowdowns. | ||
| 3404 | func (x *Widget) ObserveControllers() *gio.ListModelBase { | 3647 | func (x *Widget) ObserveControllers() *gio.ListModelBase { | ||
| 3648 | + | core.LazyRegister(&xWidgetObserveControllers, "GTK", "gtk_widget_observe_controllers", false) | |||
| 3405 | var cls *gio.ListModelBase | 3649 | var cls *gio.ListModelBase | ||
| 3406 | 3650 | ||||
| 3407 | cret := xWidgetObserveControllers(x.GoPointer()) | 3651 | cret := xWidgetObserveControllers(x.GoPointer()) | ||
| @@ -3431,6 +3675,7 @@ var xWidgetPick func(uintptr, float64, float64, PickFlags) uintptr | |||||
| 3431 | // below the mouse cursor for purposes of hover highlighting and | 3675 | // below the mouse cursor for purposes of hover highlighting and | ||
| 3432 | // delivering events. | 3676 | // delivering events. | ||
| 3433 | func (x *Widget) Pick(XVar float64, YVar float64, FlagsVar PickFlags) *Widget { | 3677 | func (x *Widget) Pick(XVar float64, YVar float64, FlagsVar PickFlags) *Widget { | ||
| 3678 | + | core.LazyRegister(&xWidgetPick, "GTK", "gtk_widget_pick", false) | |||
| 3434 | var cls *Widget | 3679 | var cls *Widget | ||
| 3435 | 3680 | ||||
| 3436 | cret := xWidgetPick(x.GoPointer(), XVar, YVar, FlagsVar) | 3681 | cret := xWidgetPick(x.GoPointer(), XVar, YVar, FlagsVar) | ||
| @@ -3457,6 +3702,8 @@ var xWidgetQueueAllocate func(uintptr) | |||||
| 3457 | // | 3702 | // | ||
| 3458 | // This function is only for use in widget implementations. | 3703 | // This function is only for use in widget implementations. | ||
| 3459 | func (x *Widget) QueueAllocate() { | 3704 | func (x *Widget) QueueAllocate() { | ||
| 3705 | + | core.LazyRegister(&xWidgetQueueAllocate, "GTK", "gtk_widget_queue_allocate", false) | |||
| 3706 | + | ||||
| 3460 | xWidgetQueueAllocate(x.GoPointer()) | 3707 | xWidgetQueueAllocate(x.GoPointer()) | ||
| 3461 | } | 3708 | } | ||
| 3462 | 3709 | ||||
| @@ -3470,6 +3717,8 @@ var xWidgetQueueDraw func(uintptr) | |||||
| 3470 | // This means @widget's [vfunc@Gtk.Widget.snapshot] | 3717 | // This means @widget's [vfunc@Gtk.Widget.snapshot] | ||
| 3471 | // implementation will be called. | 3718 | // implementation will be called. | ||
| 3472 | func (x *Widget) QueueDraw() { | 3719 | func (x *Widget) QueueDraw() { | ||
| 3720 | + | core.LazyRegister(&xWidgetQueueDraw, "GTK", "gtk_widget_queue_draw", false) | |||
| 3721 | + | ||||
| 3473 | xWidgetQueueDraw(x.GoPointer()) | 3722 | xWidgetQueueDraw(x.GoPointer()) | ||
| 3474 | } | 3723 | } | ||
| 3475 | 3724 | ||||
| @@ -3489,6 +3738,8 @@ var xWidgetQueueResize func(uintptr) | |||||
| 3489 | // | 3738 | // | ||
| 3490 | // This function is only for use in widget implementations. | 3739 | // This function is only for use in widget implementations. | ||
| 3491 | func (x *Widget) QueueResize() { | 3740 | func (x *Widget) QueueResize() { | ||
| 3741 | + | core.LazyRegister(&xWidgetQueueResize, "GTK", "gtk_widget_queue_resize", false) | |||
| 3742 | + | ||||
| 3492 | xWidgetQueueResize(x.GoPointer()) | 3743 | xWidgetQueueResize(x.GoPointer()) | ||
| 3493 | } | 3744 | } | ||
| 3494 | 3745 | ||||
| @@ -3511,6 +3762,8 @@ var xWidgetRealize func(uintptr) | |||||
| 3511 | // called after the widget is realized automatically, such as | 3762 | // called after the widget is realized automatically, such as | ||
| 3512 | // [signal@Gtk.Widget::realize]. | 3763 | // [signal@Gtk.Widget::realize]. | ||
| 3513 | func (x *Widget) Realize() { | 3764 | func (x *Widget) Realize() { | ||
| 3765 | + | core.LazyRegister(&xWidgetRealize, "GTK", "gtk_widget_realize", false) | |||
| 3766 | + | ||||
| 3514 | xWidgetRealize(x.GoPointer()) | 3767 | xWidgetRealize(x.GoPointer()) | ||
| 3515 | } | 3768 | } | ||
| 3516 | 3769 | ||||
| @@ -3524,6 +3777,8 @@ var xWidgetRemoveController func(uintptr, uintptr) | |||||
| 3524 | // Widgets will remove all event controllers automatically when they | 3777 | // Widgets will remove all event controllers automatically when they | ||
| 3525 | // are destroyed, there is normally no need to call this function. | 3778 | // are destroyed, there is normally no need to call this function. | ||
| 3526 | func (x *Widget) RemoveController(ControllerVar *EventController) { | 3779 | func (x *Widget) RemoveController(ControllerVar *EventController) { | ||
| 3780 | + | core.LazyRegister(&xWidgetRemoveController, "GTK", "gtk_widget_remove_controller", false) | |||
| 3781 | + | ||||
| 3527 | xWidgetRemoveController(x.GoPointer(), ControllerVar.GoPointer()) | 3782 | xWidgetRemoveController(x.GoPointer(), ControllerVar.GoPointer()) | ||
| 3528 | } | 3783 | } | ||
| 3529 | 3784 | ||||
| @@ -3533,6 +3788,8 @@ var xWidgetRemoveCssClass func(uintptr, string) | |||||
| 3533 | // | 3788 | // | ||
| 3534 | // After this, the style of @widget will stop matching for @css_class. | 3789 | // After this, the style of @widget will stop matching for @css_class. | ||
| 3535 | func (x *Widget) RemoveCssClass(CssClassVar string) { | 3790 | func (x *Widget) RemoveCssClass(CssClassVar string) { | ||
| 3791 | + | core.LazyRegister(&xWidgetRemoveCssClass, "GTK", "gtk_widget_remove_css_class", false) | |||
| 3792 | + | ||||
| 3536 | xWidgetRemoveCssClass(x.GoPointer(), CssClassVar) | 3793 | xWidgetRemoveCssClass(x.GoPointer(), CssClassVar) | ||
| 3537 | } | 3794 | } | ||
| 3538 | 3795 | ||||
| @@ -3545,6 +3802,8 @@ var xWidgetRemoveMnemonicLabel func(uintptr, uintptr) | |||||
| 3545 | // The widget must have previously been added to the list with | 3802 | // The widget must have previously been added to the list with | ||
| 3546 | // [method@Gtk.Widget.add_mnemonic_label]. | 3803 | // [method@Gtk.Widget.add_mnemonic_label]. | ||
| 3547 | func (x *Widget) RemoveMnemonicLabel(LabelVar *Widget) { | 3804 | func (x *Widget) RemoveMnemonicLabel(LabelVar *Widget) { | ||
| 3805 | + | core.LazyRegister(&xWidgetRemoveMnemonicLabel, "GTK", "gtk_widget_remove_mnemonic_label", false) | |||
| 3806 | + | ||||
| 3548 | xWidgetRemoveMnemonicLabel(x.GoPointer(), LabelVar.GoPointer()) | 3807 | xWidgetRemoveMnemonicLabel(x.GoPointer(), LabelVar.GoPointer()) | ||
| 3549 | } | 3808 | } | ||
| 3550 | 3809 | ||||
| @@ -3553,6 +3812,8 @@ var xWidgetRemoveTickCallback func(uintptr, uint) | |||||
| 3553 | // Removes a tick callback previously registered with | 3812 | // Removes a tick callback previously registered with | ||
| 3554 | // [method@Gtk.Widget.add_tick_callback]. | 3813 | // [method@Gtk.Widget.add_tick_callback]. | ||
| 3555 | func (x *Widget) RemoveTickCallback(IdVar uint) { | 3814 | func (x *Widget) RemoveTickCallback(IdVar uint) { | ||
| 3815 | + | core.LazyRegister(&xWidgetRemoveTickCallback, "GTK", "gtk_widget_remove_tick_callback", false) | |||
| 3816 | + | ||||
| 3556 | xWidgetRemoveTickCallback(x.GoPointer(), IdVar) | 3817 | xWidgetRemoveTickCallback(x.GoPointer(), IdVar) | ||
| 3557 | } | 3818 | } | ||
| 3558 | 3819 | ||||
| @@ -3573,6 +3834,8 @@ var xWidgetSetCanFocus func(uintptr, bool) | |||||
| 3573 | // See [method@Gtk.Widget.grab_focus] for actually setting | 3834 | // See [method@Gtk.Widget.grab_focus] for actually setting | ||
| 3574 | // the input focus on a widget. | 3835 | // the input focus on a widget. | ||
| 3575 | func (x *Widget) SetCanFocus(CanFocusVar bool) { | 3836 | func (x *Widget) SetCanFocus(CanFocusVar bool) { | ||
| 3837 | + | core.LazyRegister(&xWidgetSetCanFocus, "GTK", "gtk_widget_set_can_focus", false) | |||
| 3838 | + | ||||
| 3576 | xWidgetSetCanFocus(x.GoPointer(), CanFocusVar) | 3839 | xWidgetSetCanFocus(x.GoPointer(), CanFocusVar) | ||
| 3577 | } | 3840 | } | ||
| 3578 | 3841 | ||||
| @@ -3580,6 +3843,8 @@ var xWidgetSetCanTarget func(uintptr, bool) | |||||
| 3580 | 3843 | ||||
| 3581 | // Sets whether the widget can be the target of pointer events. | 3844 | // Sets whether the widget can be the target of pointer events. | ||
| 3582 | func (x *Widget) SetCanTarget(CanTargetVar bool) { | 3845 | func (x *Widget) SetCanTarget(CanTargetVar bool) { | ||
| 3846 | + | core.LazyRegister(&xWidgetSetCanTarget, "GTK", "gtk_widget_set_can_target", false) | |||
| 3847 | + | ||||
| 3583 | xWidgetSetCanTarget(x.GoPointer(), CanTargetVar) | 3848 | xWidgetSetCanTarget(x.GoPointer(), CanTargetVar) | ||
| 3584 | } | 3849 | } | ||
| 3585 | 3850 | ||||
| @@ -3602,6 +3867,8 @@ var xWidgetSetChildVisible func(uintptr, bool) | |||||
| 3602 | // This function is only useful for widget implementations | 3867 | // This function is only useful for widget implementations | ||
| 3603 | // and should never be called by an application. | 3868 | // and should never be called by an application. | ||
| 3604 | func (x *Widget) SetChildVisible(ChildVisibleVar bool) { | 3869 | func (x *Widget) SetChildVisible(ChildVisibleVar bool) { | ||
| 3870 | + | core.LazyRegister(&xWidgetSetChildVisible, "GTK", "gtk_widget_set_child_visible", false) | |||
| 3871 | + | ||||
| 3605 | xWidgetSetChildVisible(x.GoPointer(), ChildVisibleVar) | 3872 | xWidgetSetChildVisible(x.GoPointer(), ChildVisibleVar) | ||
| 3606 | } | 3873 | } | ||
| 3607 | 3874 | ||||
| @@ -3609,6 +3876,8 @@ var xWidgetSetCssClasses func(uintptr, []string) | |||||
| 3609 | 3876 | ||||
| 3610 | // Replaces the current style classes of the widget with @classes. | 3877 | // Replaces the current style classes of the widget with @classes. | ||
| 3611 | func (x *Widget) SetCssClasses(ClassesVar []string) { | 3878 | func (x *Widget) SetCssClasses(ClassesVar []string) { | ||
| 3879 | + | core.LazyRegister(&xWidgetSetCssClasses, "GTK", "gtk_widget_set_css_classes", false) | |||
| 3880 | + | ||||
| 3612 | xWidgetSetCssClasses(x.GoPointer(), ClassesVar) | 3881 | xWidgetSetCssClasses(x.GoPointer(), ClassesVar) | ||
| 3613 | } | 3882 | } | ||
| 3614 | 3883 | ||||
| @@ -3620,6 +3889,8 @@ var xWidgetSetCursor func(uintptr, uintptr) | |||||
| 3620 | // If the @cursor is `NULL`, @widget will use the cursor | 3889 | // If the @cursor is `NULL`, @widget will use the cursor | ||
| 3621 | // inherited from its parent. | 3890 | // inherited from its parent. | ||
| 3622 | func (x *Widget) SetCursor(CursorVar *gdk.Cursor) { | 3891 | func (x *Widget) SetCursor(CursorVar *gdk.Cursor) { | ||
| 3892 | + | core.LazyRegister(&xWidgetSetCursor, "GTK", "gtk_widget_set_cursor", false) | |||
| 3893 | + | ||||
| 3623 | xWidgetSetCursor(x.GoPointer(), CursorVar.GoPointer()) | 3894 | xWidgetSetCursor(x.GoPointer(), CursorVar.GoPointer()) | ||
| 3624 | } | 3895 | } | ||
| 3625 | 3896 | ||||
| @@ -3637,6 +3908,8 @@ var xWidgetSetCursorFromName func(uintptr, uintptr) | |||||
| 3637 | // will do the same as calling [method@Gtk.Widget.set_cursor] | 3908 | // will do the same as calling [method@Gtk.Widget.set_cursor] | ||
| 3638 | // with a `NULL` cursor. | 3909 | // with a `NULL` cursor. | ||
| 3639 | func (x *Widget) SetCursorFromName(NameVar *string) { | 3910 | func (x *Widget) SetCursorFromName(NameVar *string) { | ||
| 3911 | + | core.LazyRegister(&xWidgetSetCursorFromName, "GTK", "gtk_widget_set_cursor_from_name", false) | |||
| 3912 | + | ||||
| 3640 | NameVarPtr := core.GStrdupNullable(NameVar) | 3913 | NameVarPtr := core.GStrdupNullable(NameVar) | ||
| 3641 | defer core.GFreeNullable(NameVarPtr) | 3914 | defer core.GFreeNullable(NameVarPtr) | ||
| 3642 | 3915 | ||||
| @@ -3661,6 +3934,8 @@ var xWidgetSetDirection func(uintptr, TextDirection) | |||||
| 3661 | // If the direction is set to [enum@Gtk.TextDirection.none], then | 3934 | // If the direction is set to [enum@Gtk.TextDirection.none], then | ||
| 3662 | // the value set by [func@Gtk.Widget.set_default_direction] will be used. | 3935 | // the value set by [func@Gtk.Widget.set_default_direction] will be used. | ||
| 3663 | func (x *Widget) SetDirection(DirVar TextDirection) { | 3936 | func (x *Widget) SetDirection(DirVar TextDirection) { | ||
| 3937 | + | core.LazyRegister(&xWidgetSetDirection, "GTK", "gtk_widget_set_direction", false) | |||
| 3938 | + | ||||
| 3664 | xWidgetSetDirection(x.GoPointer(), DirVar) | 3939 | xWidgetSetDirection(x.GoPointer(), DirVar) | ||
| 3665 | } | 3940 | } | ||
| 3666 | 3941 | ||||
| @@ -3672,6 +3947,8 @@ var xWidgetSetFocusChild func(uintptr, uintptr) | |||||
| 3672 | // If you want a certain widget to get the input focus, call | 3947 | // If you want a certain widget to get the input focus, call | ||
| 3673 | // [method@Gtk.Widget.grab_focus] on it. | 3948 | // [method@Gtk.Widget.grab_focus] on it. | ||
| 3674 | func (x *Widget) SetFocusChild(ChildVar *Widget) { | 3949 | func (x *Widget) SetFocusChild(ChildVar *Widget) { | ||
| 3950 | + | core.LazyRegister(&xWidgetSetFocusChild, "GTK", "gtk_widget_set_focus_child", false) | |||
| 3951 | + | ||||
| 3675 | xWidgetSetFocusChild(x.GoPointer(), ChildVar.GoPointer()) | 3952 | xWidgetSetFocusChild(x.GoPointer(), ChildVar.GoPointer()) | ||
| 3676 | } | 3953 | } | ||
| 3677 | 3954 | ||||
| @@ -3684,6 +3961,8 @@ var xWidgetSetFocusOnClick func(uintptr, bool) | |||||
| 3684 | // toolbars where you don’t want the keyboard focus removed from | 3961 | // toolbars where you don’t want the keyboard focus removed from | ||
| 3685 | // the main area of the application. | 3962 | // the main area of the application. | ||
| 3686 | func (x *Widget) SetFocusOnClick(FocusOnClickVar bool) { | 3963 | func (x *Widget) SetFocusOnClick(FocusOnClickVar bool) { | ||
| 3964 | + | core.LazyRegister(&xWidgetSetFocusOnClick, "GTK", "gtk_widget_set_focus_on_click", false) | |||
| 3965 | + | ||||
| 3687 | xWidgetSetFocusOnClick(x.GoPointer(), FocusOnClickVar) | 3966 | xWidgetSetFocusOnClick(x.GoPointer(), FocusOnClickVar) | ||
| 3688 | } | 3967 | } | ||
| 3689 | 3968 | ||||
| @@ -3703,6 +3982,8 @@ var xWidgetSetFocusable func(uintptr, bool) | |||||
| 3703 | // See [method@Gtk.Widget.grab_focus] for actually setting | 3982 | // See [method@Gtk.Widget.grab_focus] for actually setting | ||
| 3704 | // the input focus on a widget. | 3983 | // the input focus on a widget. | ||
| 3705 | func (x *Widget) SetFocusable(FocusableVar bool) { | 3984 | func (x *Widget) SetFocusable(FocusableVar bool) { | ||
| 3985 | + | core.LazyRegister(&xWidgetSetFocusable, "GTK", "gtk_widget_set_focusable", false) | |||
| 3986 | + | ||||
| 3706 | xWidgetSetFocusable(x.GoPointer(), FocusableVar) | 3987 | xWidgetSetFocusable(x.GoPointer(), FocusableVar) | ||
| 3707 | } | 3988 | } | ||
| 3708 | 3989 | ||||
| @@ -3717,6 +3998,8 @@ var xWidgetSetFontMap func(uintptr, uintptr) | |||||
| 3717 | // | 3998 | // | ||
| 3718 | // When not set, the widget will inherit the font map from its parent. | 3999 | // When not set, the widget will inherit the font map from its parent. | ||
| 3719 | func (x *Widget) SetFontMap(FontMapVar *pango.FontMap) { | 4000 | func (x *Widget) SetFontMap(FontMapVar *pango.FontMap) { | ||
| 4001 | + | core.LazyRegister(&xWidgetSetFontMap, "GTK", "gtk_widget_set_font_map", false) | |||
| 4002 | + | ||||
| 3720 | xWidgetSetFontMap(x.GoPointer(), FontMapVar.GoPointer()) | 4003 | xWidgetSetFontMap(x.GoPointer(), FontMapVar.GoPointer()) | ||
| 3721 | } | 4004 | } | ||
| 3722 | 4005 | ||||
| @@ -3728,6 +4011,8 @@ var xWidgetSetFontOptions func(uintptr, *cairo.FontOptions) | |||||
| 3728 | // When not set, the default font options for the `GdkDisplay` | 4011 | // When not set, the default font options for the `GdkDisplay` | ||
| 3729 | // will be used. | 4012 | // will be used. | ||
| 3730 | func (x *Widget) SetFontOptions(OptionsVar *cairo.FontOptions) { | 4013 | func (x *Widget) SetFontOptions(OptionsVar *cairo.FontOptions) { | ||
| 4014 | + | core.LazyRegister(&xWidgetSetFontOptions, "GTK", "gtk_widget_set_font_options", false) | |||
| 4015 | + | ||||
| 3731 | xWidgetSetFontOptions(x.GoPointer(), OptionsVar) | 4016 | xWidgetSetFontOptions(x.GoPointer(), OptionsVar) | ||
| 3732 | } | 4017 | } | ||
| 3733 | 4018 | ||||
| @@ -3735,6 +4020,8 @@ var xWidgetSetHalign func(uintptr, Align) | |||||
| 3735 | 4020 | ||||
| 3736 | // Sets the horizontal alignment of the widget. | 4021 | // Sets the horizontal alignment of the widget. | ||
| 3737 | func (x *Widget) SetHalign(AlignVar Align) { | 4022 | func (x *Widget) SetHalign(AlignVar Align) { | ||
| 4023 | + | core.LazyRegister(&xWidgetSetHalign, "GTK", "gtk_widget_set_halign", false) | |||
| 4024 | + | ||||
| 3738 | xWidgetSetHalign(x.GoPointer(), AlignVar) | 4025 | xWidgetSetHalign(x.GoPointer(), AlignVar) | ||
| 3739 | } | 4026 | } | ||
| 3740 | 4027 | ||||
| @@ -3742,6 +4029,8 @@ var xWidgetSetHasTooltip func(uintptr, bool) | |||||
| 3742 | 4029 | ||||
| 3743 | // Sets the `has-tooltip` property on the widget. | 4030 | // Sets the `has-tooltip` property on the widget. | ||
| 3744 | func (x *Widget) SetHasTooltip(HasTooltipVar bool) { | 4031 | func (x *Widget) SetHasTooltip(HasTooltipVar bool) { | ||
| 4032 | + | core.LazyRegister(&xWidgetSetHasTooltip, "GTK", "gtk_widget_set_has_tooltip", false) | |||
| 4033 | + | ||||
| 3745 | xWidgetSetHasTooltip(x.GoPointer(), HasTooltipVar) | 4034 | xWidgetSetHasTooltip(x.GoPointer(), HasTooltipVar) | ||
| 3746 | } | 4035 | } | ||
| 3747 | 4036 | ||||
| @@ -3774,6 +4063,8 @@ var xWidgetSetHexpand func(uintptr, bool) | |||||
| 3774 | // [method@Gtk.Widget.set_hexpand_set]) which causes the widget’s hexpand | 4063 | // [method@Gtk.Widget.set_hexpand_set]) which causes the widget’s hexpand | ||
| 3775 | // value to be used, rather than looking at children and widget state. | 4064 | // value to be used, rather than looking at children and widget state. | ||
| 3776 | func (x *Widget) SetHexpand(ExpandVar bool) { | 4065 | func (x *Widget) SetHexpand(ExpandVar bool) { | ||
| 4066 | + | core.LazyRegister(&xWidgetSetHexpand, "GTK", "gtk_widget_set_hexpand", false) | |||
| 4067 | + | ||||
| 3777 | xWidgetSetHexpand(x.GoPointer(), ExpandVar) | 4068 | xWidgetSetHexpand(x.GoPointer(), ExpandVar) | ||
| 3778 | } | 4069 | } | ||
| 3779 | 4070 | ||||
| @@ -3794,6 +4085,8 @@ var xWidgetSetHexpandSet func(uintptr, bool) | |||||
| 3794 | // There are few reasons to use this function, but it’s here | 4085 | // There are few reasons to use this function, but it’s here | ||
| 3795 | // for completeness and consistency. | 4086 | // for completeness and consistency. | ||
| 3796 | func (x *Widget) SetHexpandSet(SetVar bool) { | 4087 | func (x *Widget) SetHexpandSet(SetVar bool) { | ||
| 4088 | + | core.LazyRegister(&xWidgetSetHexpandSet, "GTK", "gtk_widget_set_hexpand_set", false) | |||
| 4089 | + | ||||
| 3797 | xWidgetSetHexpandSet(x.GoPointer(), SetVar) | 4090 | xWidgetSetHexpandSet(x.GoPointer(), SetVar) | ||
| 3798 | } | 4091 | } | ||
| 3799 | 4092 | ||||
| @@ -3802,6 +4095,8 @@ var xWidgetSetLayoutManager func(uintptr, uintptr) | |||||
| 3802 | // Sets the layout manager to use for measuring and allocating children | 4095 | // Sets the layout manager to use for measuring and allocating children | ||
| 3803 | // of the widget. | 4096 | // of the widget. | ||
| 3804 | func (x *Widget) SetLayoutManager(LayoutManagerVar *LayoutManager) { | 4097 | func (x *Widget) SetLayoutManager(LayoutManagerVar *LayoutManager) { | ||
| 4098 | + | core.LazyRegister(&xWidgetSetLayoutManager, "GTK", "gtk_widget_set_layout_manager", false) | |||
| 4099 | + | ||||
| 3805 | xWidgetSetLayoutManager(x.GoPointer(), LayoutManagerVar.GoPointer()) | 4100 | xWidgetSetLayoutManager(x.GoPointer(), LayoutManagerVar.GoPointer()) | ||
| 3806 | } | 4101 | } | ||
| 3807 | 4102 | ||||
| @@ -3810,6 +4105,8 @@ var xWidgetSetLimitEvents func(uintptr, bool) | |||||
| 3810 | // Sets whether the widget acts like a modal dialog, | 4105 | // Sets whether the widget acts like a modal dialog, | ||
| 3811 | // with respect to event delivery. | 4106 | // with respect to event delivery. | ||
| 3812 | func (x *Widget) SetLimitEvents(LimitEventsVar bool) { | 4107 | func (x *Widget) SetLimitEvents(LimitEventsVar bool) { | ||
| 4108 | + | core.LazyRegister(&xWidgetSetLimitEvents, "GTK", "gtk_widget_set_limit_events", false) | |||
| 4109 | + | ||||
| 3813 | xWidgetSetLimitEvents(x.GoPointer(), LimitEventsVar) | 4110 | xWidgetSetLimitEvents(x.GoPointer(), LimitEventsVar) | ||
| 3814 | } | 4111 | } | ||
| 3815 | 4112 | ||||
| @@ -3817,6 +4114,8 @@ var xWidgetSetMarginBottom func(uintptr, int) | |||||
| 3817 | 4114 | ||||
| 3818 | // Sets the bottom margin of the widget. | 4115 | // Sets the bottom margin of the widget. | ||
| 3819 | func (x *Widget) SetMarginBottom(MarginVar int) { | 4116 | func (x *Widget) SetMarginBottom(MarginVar int) { | ||
| 4117 | + | core.LazyRegister(&xWidgetSetMarginBottom, "GTK", "gtk_widget_set_margin_bottom", false) | |||
| 4118 | + | ||||
| 3820 | xWidgetSetMarginBottom(x.GoPointer(), MarginVar) | 4119 | xWidgetSetMarginBottom(x.GoPointer(), MarginVar) | ||
| 3821 | } | 4120 | } | ||
| 3822 | 4121 | ||||
| @@ -3824,6 +4123,8 @@ var xWidgetSetMarginEnd func(uintptr, int) | |||||
| 3824 | 4123 | ||||
| 3825 | // Sets the end margin of the widget. | 4124 | // Sets the end margin of the widget. | ||
| 3826 | func (x *Widget) SetMarginEnd(MarginVar int) { | 4125 | func (x *Widget) SetMarginEnd(MarginVar int) { | ||
| 4126 | + | core.LazyRegister(&xWidgetSetMarginEnd, "GTK", "gtk_widget_set_margin_end", false) | |||
| 4127 | + | ||||
| 3827 | xWidgetSetMarginEnd(x.GoPointer(), MarginVar) | 4128 | xWidgetSetMarginEnd(x.GoPointer(), MarginVar) | ||
| 3828 | } | 4129 | } | ||
| 3829 | 4130 | ||||
| @@ -3831,6 +4132,8 @@ var xWidgetSetMarginStart func(uintptr, int) | |||||
| 3831 | 4132 | ||||
| 3832 | // Sets the start margin of the widget. | 4133 | // Sets the start margin of the widget. | ||
| 3833 | func (x *Widget) SetMarginStart(MarginVar int) { | 4134 | func (x *Widget) SetMarginStart(MarginVar int) { | ||
| 4135 | + | core.LazyRegister(&xWidgetSetMarginStart, "GTK", "gtk_widget_set_margin_start", false) | |||
| 4136 | + | ||||
| 3834 | xWidgetSetMarginStart(x.GoPointer(), MarginVar) | 4137 | xWidgetSetMarginStart(x.GoPointer(), MarginVar) | ||
| 3835 | } | 4138 | } | ||
| 3836 | 4139 | ||||
| @@ -3838,6 +4141,8 @@ var xWidgetSetMarginTop func(uintptr, int) | |||||
| 3838 | 4141 | ||||
| 3839 | // Sets the top margin of the widget. | 4142 | // Sets the top margin of the widget. | ||
| 3840 | func (x *Widget) SetMarginTop(MarginVar int) { | 4143 | func (x *Widget) SetMarginTop(MarginVar int) { | ||
| 4144 | + | core.LazyRegister(&xWidgetSetMarginTop, "GTK", "gtk_widget_set_margin_top", false) | |||
| 4145 | + | ||||
| 3841 | xWidgetSetMarginTop(x.GoPointer(), MarginVar) | 4146 | xWidgetSetMarginTop(x.GoPointer(), MarginVar) | ||
| 3842 | } | 4147 | } | ||
| 3843 | 4148 | ||||
| @@ -3855,6 +4160,8 @@ var xWidgetSetName func(uintptr, string) | |||||
| 3855 | // these will make your widget impossible to match by name. Any combination | 4160 | // these will make your widget impossible to match by name. Any combination | ||
| 3856 | // of alphanumeric symbols, dashes and underscores will suffice. | 4161 | // of alphanumeric symbols, dashes and underscores will suffice. | ||
| 3857 | func (x *Widget) SetName(NameVar string) { | 4162 | func (x *Widget) SetName(NameVar string) { | ||
| 4163 | + | core.LazyRegister(&xWidgetSetName, "GTK", "gtk_widget_set_name", false) | |||
| 4164 | + | ||||
| 3858 | xWidgetSetName(x.GoPointer(), NameVar) | 4165 | xWidgetSetName(x.GoPointer(), NameVar) | ||
| 3859 | } | 4166 | } | ||
| 3860 | 4167 | ||||
| @@ -3884,6 +4191,8 @@ var xWidgetSetOpacity func(uintptr, float64) | |||||
| 3884 | // non-translucent, even if they are attached to a toplevel that | 4191 | // non-translucent, even if they are attached to a toplevel that | ||
| 3885 | // is translucent. | 4192 | // is translucent. | ||
| 3886 | func (x *Widget) SetOpacity(OpacityVar float64) { | 4193 | func (x *Widget) SetOpacity(OpacityVar float64) { | ||
| 4194 | + | core.LazyRegister(&xWidgetSetOpacity, "GTK", "gtk_widget_set_opacity", false) | |||
| 4195 | + | ||||
| 3887 | xWidgetSetOpacity(x.GoPointer(), OpacityVar) | 4196 | xWidgetSetOpacity(x.GoPointer(), OpacityVar) | ||
| 3888 | } | 4197 | } | ||
| 3889 | 4198 | ||||
| @@ -3899,6 +4208,8 @@ var xWidgetSetOverflow func(uintptr, Overflow) | |||||
| 3899 | // | 4208 | // | ||
| 3900 | // The default value is [enum@Gtk.Overflow.visible]. | 4209 | // The default value is [enum@Gtk.Overflow.visible]. | ||
| 3901 | func (x *Widget) SetOverflow(OverflowVar Overflow) { | 4210 | func (x *Widget) SetOverflow(OverflowVar Overflow) { | ||
| 4211 | + | core.LazyRegister(&xWidgetSetOverflow, "GTK", "gtk_widget_set_overflow", false) | |||
| 4212 | + | ||||
| 3902 | xWidgetSetOverflow(x.GoPointer(), OverflowVar) | 4213 | xWidgetSetOverflow(x.GoPointer(), OverflowVar) | ||
| 3903 | } | 4214 | } | ||
| 3904 | 4215 | ||||
| @@ -3913,6 +4224,8 @@ var xWidgetSetParent func(uintptr, uintptr) | |||||
| 3913 | // This function is useful only when implementing subclasses of | 4224 | // This function is useful only when implementing subclasses of | ||
| 3914 | // `GtkWidget`. | 4225 | // `GtkWidget`. | ||
| 3915 | func (x *Widget) SetParent(ParentVar *Widget) { | 4226 | func (x *Widget) SetParent(ParentVar *Widget) { | ||
| 4227 | + | core.LazyRegister(&xWidgetSetParent, "GTK", "gtk_widget_set_parent", false) | |||
| 4228 | + | ||||
| 3916 | xWidgetSetParent(x.GoPointer(), ParentVar.GoPointer()) | 4229 | xWidgetSetParent(x.GoPointer(), ParentVar.GoPointer()) | ||
| 3917 | } | 4230 | } | ||
| 3918 | 4231 | ||||
| @@ -3922,6 +4235,8 @@ var xWidgetSetReceivesDefault func(uintptr, bool) | |||||
| 3922 | // widget within its toplevel when it has the focus, even if | 4235 | // widget within its toplevel when it has the focus, even if | ||
| 3923 | // another widget is the default. | 4236 | // another widget is the default. | ||
| 3924 | func (x *Widget) SetReceivesDefault(ReceivesDefaultVar bool) { | 4237 | func (x *Widget) SetReceivesDefault(ReceivesDefaultVar bool) { | ||
| 4238 | + | core.LazyRegister(&xWidgetSetReceivesDefault, "GTK", "gtk_widget_set_receives_default", false) | |||
| 4239 | + | ||||
| 3925 | xWidgetSetReceivesDefault(x.GoPointer(), ReceivesDefaultVar) | 4240 | xWidgetSetReceivesDefault(x.GoPointer(), ReceivesDefaultVar) | ||
| 3926 | } | 4241 | } | ||
| 3927 | 4242 | ||||
| @@ -3934,6 +4249,8 @@ var xWidgetSetSensitive func(uintptr, bool) | |||||
| 3934 | // interact with them. Insensitive widgets are known as | 4249 | // interact with them. Insensitive widgets are known as | ||
| 3935 | // “inactive”, “disabled”, or “ghosted” in some other toolkits. | 4250 | // “inactive”, “disabled”, or “ghosted” in some other toolkits. | ||
| 3936 | func (x *Widget) SetSensitive(SensitiveVar bool) { | 4251 | func (x *Widget) SetSensitive(SensitiveVar bool) { | ||
| 4252 | + | core.LazyRegister(&xWidgetSetSensitive, "GTK", "gtk_widget_set_sensitive", false) | |||
| 4253 | + | ||||
| 3937 | xWidgetSetSensitive(x.GoPointer(), SensitiveVar) | 4254 | xWidgetSetSensitive(x.GoPointer(), SensitiveVar) | ||
| 3938 | } | 4255 | } | ||
| 3939 | 4256 | ||||
| @@ -3974,6 +4291,8 @@ var xWidgetSetSizeRequest func(uintptr, int, int) | |||||
| 3974 | // much all other padding or border properties set by any subclass | 4291 | // much all other padding or border properties set by any subclass | ||
| 3975 | // of `GtkWidget`. | 4292 | // of `GtkWidget`. | ||
| 3976 | func (x *Widget) SetSizeRequest(WidthVar int, HeightVar int) { | 4293 | func (x *Widget) SetSizeRequest(WidthVar int, HeightVar int) { | ||
| 4294 | + | core.LazyRegister(&xWidgetSetSizeRequest, "GTK", "gtk_widget_set_size_request", false) | |||
| 4295 | + | ||||
| 3977 | xWidgetSetSizeRequest(x.GoPointer(), WidthVar, HeightVar) | 4296 | xWidgetSetSizeRequest(x.GoPointer(), WidthVar, HeightVar) | ||
| 3978 | } | 4297 | } | ||
| 3979 | 4298 | ||||
| @@ -3989,6 +4308,8 @@ var xWidgetSetStateFlags func(uintptr, StateFlags, bool) | |||||
| 3989 | // | 4308 | // | ||
| 3990 | // This function is for use in widget implementations. | 4309 | // This function is for use in widget implementations. | ||
| 3991 | func (x *Widget) SetStateFlags(FlagsVar StateFlags, ClearVar bool) { | 4310 | func (x *Widget) SetStateFlags(FlagsVar StateFlags, ClearVar bool) { | ||
| 4311 | + | core.LazyRegister(&xWidgetSetStateFlags, "GTK", "gtk_widget_set_state_flags", false) | |||
| 4312 | + | ||||
| 3992 | xWidgetSetStateFlags(x.GoPointer(), FlagsVar, ClearVar) | 4313 | xWidgetSetStateFlags(x.GoPointer(), FlagsVar, ClearVar) | ||
| 3993 | } | 4314 | } | ||
| 3994 | 4315 | ||||
| @@ -4004,6 +4325,8 @@ var xWidgetSetTooltipMarkup func(uintptr, uintptr) | |||||
| 4004 | // | 4325 | // | ||
| 4005 | // See also [method@Gtk.Tooltip.set_markup]. | 4326 | // See also [method@Gtk.Tooltip.set_markup]. | ||
| 4006 | func (x *Widget) SetTooltipMarkup(MarkupVar *string) { | 4327 | func (x *Widget) SetTooltipMarkup(MarkupVar *string) { | ||
| 4328 | + | core.LazyRegister(&xWidgetSetTooltipMarkup, "GTK", "gtk_widget_set_tooltip_markup", false) | |||
| 4329 | + | ||||
| 4007 | MarkupVarPtr := core.GStrdupNullable(MarkupVar) | 4330 | MarkupVarPtr := core.GStrdupNullable(MarkupVar) | ||
| 4008 | defer core.GFreeNullable(MarkupVarPtr) | 4331 | defer core.GFreeNullable(MarkupVarPtr) | ||
| 4009 | 4332 | ||||
| @@ -4023,6 +4346,8 @@ var xWidgetSetTooltipText func(uintptr, uintptr) | |||||
| 4023 | // | 4346 | // | ||
| 4024 | // See also [method@Gtk.Tooltip.set_text]. | 4347 | // See also [method@Gtk.Tooltip.set_text]. | ||
| 4025 | func (x *Widget) SetTooltipText(TextVar *string) { | 4348 | func (x *Widget) SetTooltipText(TextVar *string) { | ||
| 4349 | + | core.LazyRegister(&xWidgetSetTooltipText, "GTK", "gtk_widget_set_tooltip_text", false) | |||
| 4350 | + | ||||
| 4026 | TextVarPtr := core.GStrdupNullable(TextVar) | 4351 | TextVarPtr := core.GStrdupNullable(TextVar) | ||
| 4027 | defer core.GFreeNullable(TextVarPtr) | 4352 | defer core.GFreeNullable(TextVarPtr) | ||
| 4028 | 4353 | ||||
| @@ -4033,6 +4358,8 @@ var xWidgetSetValign func(uintptr, Align) | |||||
| 4033 | 4358 | ||||
| 4034 | // Sets the vertical alignment of the widget. | 4359 | // Sets the vertical alignment of the widget. | ||
| 4035 | func (x *Widget) SetValign(AlignVar Align) { | 4360 | func (x *Widget) SetValign(AlignVar Align) { | ||
| 4361 | + | core.LazyRegister(&xWidgetSetValign, "GTK", "gtk_widget_set_valign", false) | |||
| 4362 | + | ||||
| 4036 | xWidgetSetValign(x.GoPointer(), AlignVar) | 4363 | xWidgetSetValign(x.GoPointer(), AlignVar) | ||
| 4037 | } | 4364 | } | ||
| 4038 | 4365 | ||||
| @@ -4043,6 +4370,8 @@ var xWidgetSetVexpand func(uintptr, bool) | |||||
| 4043 | // | 4370 | // | ||
| 4044 | // See [method@Gtk.Widget.set_hexpand] for more detail. | 4371 | // See [method@Gtk.Widget.set_hexpand] for more detail. | ||
| 4045 | func (x *Widget) SetVexpand(ExpandVar bool) { | 4372 | func (x *Widget) SetVexpand(ExpandVar bool) { | ||
| 4373 | + | core.LazyRegister(&xWidgetSetVexpand, "GTK", "gtk_widget_set_vexpand", false) | |||
| 4374 | + | ||||
| 4046 | xWidgetSetVexpand(x.GoPointer(), ExpandVar) | 4375 | xWidgetSetVexpand(x.GoPointer(), ExpandVar) | ||
| 4047 | } | 4376 | } | ||
| 4048 | 4377 | ||||
| @@ -4052,6 +4381,8 @@ var xWidgetSetVexpandSet func(uintptr, bool) | |||||
| 4052 | // | 4381 | // | ||
| 4053 | // See [method@Gtk.Widget.set_hexpand_set] for more detail. | 4382 | // See [method@Gtk.Widget.set_hexpand_set] for more detail. | ||
| 4054 | func (x *Widget) SetVexpandSet(SetVar bool) { | 4383 | func (x *Widget) SetVexpandSet(SetVar bool) { | ||
| 4384 | + | core.LazyRegister(&xWidgetSetVexpandSet, "GTK", "gtk_widget_set_vexpand_set", false) | |||
| 4385 | + | ||||
| 4055 | xWidgetSetVexpandSet(x.GoPointer(), SetVar) | 4386 | xWidgetSetVexpandSet(x.GoPointer(), SetVar) | ||
| 4056 | } | 4387 | } | ||
| 4057 | 4388 | ||||
| @@ -4062,6 +4393,8 @@ var xWidgetSetVisible func(uintptr, bool) | |||||
| 4062 | // Note that setting this to true doesn’t mean the widget is | 4393 | // Note that setting this to true doesn’t mean the widget is | ||
| 4063 | // actually viewable, see [method@Gtk.Widget.get_visible]. | 4394 | // actually viewable, see [method@Gtk.Widget.get_visible]. | ||
| 4064 | func (x *Widget) SetVisible(VisibleVar bool) { | 4395 | func (x *Widget) SetVisible(VisibleVar bool) { | ||
| 4396 | + | core.LazyRegister(&xWidgetSetVisible, "GTK", "gtk_widget_set_visible", false) | |||
| 4397 | + | ||||
| 4065 | xWidgetSetVisible(x.GoPointer(), VisibleVar) | 4398 | xWidgetSetVisible(x.GoPointer(), VisibleVar) | ||
| 4066 | } | 4399 | } | ||
| 4067 | 4400 | ||||
| @@ -4074,6 +4407,8 @@ var xWidgetShouldLayout func(uintptr) bool | |||||
| 4074 | // for children that have their own surface, such | 4407 | // for children that have their own surface, such | ||
| 4075 | // as [class@Gtk.Popover] instances. | 4408 | // as [class@Gtk.Popover] instances. | ||
| 4076 | func (x *Widget) ShouldLayout() bool { | 4409 | func (x *Widget) ShouldLayout() bool { | ||
| 4410 | + | core.LazyRegister(&xWidgetShouldLayout, "GTK", "gtk_widget_should_layout", false) | |||
| 4411 | + | ||||
| 4077 | cret := xWidgetShouldLayout(x.GoPointer()) | 4412 | cret := xWidgetShouldLayout(x.GoPointer()) | ||
| 4078 | return cret | 4413 | return cret | ||
| 4079 | } | 4414 | } | ||
| @@ -4091,6 +4426,8 @@ var xWidgetShow func(uintptr) | |||||
| 4091 | // mapped; other shown widgets are realized and mapped when their | 4426 | // mapped; other shown widgets are realized and mapped when their | ||
| 4092 | // toplevel widget is realized and mapped. | 4427 | // toplevel widget is realized and mapped. | ||
| 4093 | func (x *Widget) Show() { | 4428 | func (x *Widget) Show() { | ||
| 4429 | + | core.LazyRegister(&xWidgetShow, "GTK", "gtk_widget_show", false) | |||
| 4430 | + | ||||
| 4094 | xWidgetShow(x.GoPointer()) | 4431 | xWidgetShow(x.GoPointer()) | ||
| 4095 | } | 4432 | } | ||
| 4096 | 4433 | ||||
| @@ -4101,6 +4438,8 @@ var xWidgetSizeAllocate func(uintptr, *Allocation, int) | |||||
| 4101 | // | 4438 | // | ||
| 4102 | // This is a simple form of [method@Gtk.Widget.allocate]. | 4439 | // This is a simple form of [method@Gtk.Widget.allocate]. | ||
| 4103 | func (x *Widget) SizeAllocate(AllocationVar *Allocation, BaselineVar int) { | 4440 | func (x *Widget) SizeAllocate(AllocationVar *Allocation, BaselineVar int) { | ||
| 4441 | + | core.LazyRegister(&xWidgetSizeAllocate, "GTK", "gtk_widget_size_allocate", false) | |||
| 4442 | + | ||||
| 4104 | xWidgetSizeAllocate(x.GoPointer(), AllocationVar, BaselineVar) | 4443 | xWidgetSizeAllocate(x.GoPointer(), AllocationVar, BaselineVar) | ||
| 4105 | } | 4444 | } | ||
| 4106 | 4445 | ||||
| @@ -4121,6 +4460,8 @@ var xWidgetSnapshotChild func(uintptr, uintptr, uintptr) | |||||
| 4121 | // | 4460 | // | ||
| 4122 | // It does nothing for children that implement `GtkNative`. | 4461 | // It does nothing for children that implement `GtkNative`. | ||
| 4123 | func (x *Widget) SnapshotChild(ChildVar *Widget, SnapshotVar *Snapshot) { | 4462 | func (x *Widget) SnapshotChild(ChildVar *Widget, SnapshotVar *Snapshot) { | ||
| 4463 | + | core.LazyRegister(&xWidgetSnapshotChild, "GTK", "gtk_widget_snapshot_child", false) | |||
| 4464 | + | ||||
| 4124 | xWidgetSnapshotChild(x.GoPointer(), ChildVar.GoPointer(), SnapshotVar.GoPointer()) | 4465 | xWidgetSnapshotChild(x.GoPointer(), ChildVar.GoPointer(), SnapshotVar.GoPointer()) | ||
| 4125 | } | 4466 | } | ||
| 4126 | 4467 | ||||
| @@ -4133,6 +4474,8 @@ var xWidgetTranslateCoordinates func(uintptr, uintptr, float64, float64, *float6 | |||||
| 4133 | // a common ancestor. If that is not the case, @dest_x and @dest_y | 4474 | // a common ancestor. If that is not the case, @dest_x and @dest_y | ||
| 4134 | // are set to 0 and false is returned. | 4475 | // are set to 0 and false is returned. | ||
| 4135 | func (x *Widget) TranslateCoordinates(DestWidgetVar *Widget, SrcXVar float64, SrcYVar float64, DestXVar *float64, DestYVar *float64) bool { | 4476 | func (x *Widget) TranslateCoordinates(DestWidgetVar *Widget, SrcXVar float64, SrcYVar float64, DestXVar *float64, DestYVar *float64) bool { | ||
| 4477 | + | core.LazyRegister(&xWidgetTranslateCoordinates, "GTK", "gtk_widget_translate_coordinates", false) | |||
| 4478 | + | ||||
| 4136 | cret := xWidgetTranslateCoordinates(x.GoPointer(), DestWidgetVar.GoPointer(), SrcXVar, SrcYVar, DestXVar, DestYVar) | 4479 | cret := xWidgetTranslateCoordinates(x.GoPointer(), DestWidgetVar.GoPointer(), SrcXVar, SrcYVar, DestXVar, DestYVar) | ||
| 4137 | return cret | 4480 | return cret | ||
| 4138 | } | 4481 | } | ||
| @@ -4141,6 +4484,8 @@ var xWidgetTriggerTooltipQuery func(uintptr) | |||||
| 4141 | 4484 | ||||
| 4142 | // Triggers a tooltip query on the display of the widget. | 4485 | // Triggers a tooltip query on the display of the widget. | ||
| 4143 | func (x *Widget) TriggerTooltipQuery() { | 4486 | func (x *Widget) TriggerTooltipQuery() { | ||
| 4487 | + | core.LazyRegister(&xWidgetTriggerTooltipQuery, "GTK", "gtk_widget_trigger_tooltip_query", false) | |||
| 4488 | + | ||||
| 4144 | xWidgetTriggerTooltipQuery(x.GoPointer()) | 4489 | xWidgetTriggerTooltipQuery(x.GoPointer()) | ||
| 4145 | } | 4490 | } | ||
| 4146 | 4491 | ||||
| @@ -4150,6 +4495,8 @@ var xWidgetUnmap func(uintptr) | |||||
| 4150 | // | 4495 | // | ||
| 4151 | // This function is only for use in widget implementations. | 4496 | // This function is only for use in widget implementations. | ||
| 4152 | func (x *Widget) Unmap() { | 4497 | func (x *Widget) Unmap() { | ||
| 4498 | + | core.LazyRegister(&xWidgetUnmap, "GTK", "gtk_widget_unmap", false) | |||
| 4499 | + | ||||
| 4153 | xWidgetUnmap(x.GoPointer()) | 4500 | xWidgetUnmap(x.GoPointer()) | ||
| 4154 | } | 4501 | } | ||
| 4155 | 4502 | ||||
| @@ -4160,6 +4507,8 @@ var xWidgetUnparent func(uintptr) | |||||
| 4160 | // This function is only for use in widget implementations, | 4507 | // This function is only for use in widget implementations, | ||
| 4161 | // typically in dispose. | 4508 | // typically in dispose. | ||
| 4162 | func (x *Widget) Unparent() { | 4509 | func (x *Widget) Unparent() { | ||
| 4510 | + | core.LazyRegister(&xWidgetUnparent, "GTK", "gtk_widget_unparent", false) | |||
| 4511 | + | ||||
| 4163 | xWidgetUnparent(x.GoPointer()) | 4512 | xWidgetUnparent(x.GoPointer()) | ||
| 4164 | } | 4513 | } | ||
| 4165 | 4514 | ||||
| @@ -4171,6 +4520,8 @@ var xWidgetUnrealize func(uintptr) | |||||
| 4171 | // | 4520 | // | ||
| 4172 | // This function is only useful in widget implementations. | 4521 | // This function is only useful in widget implementations. | ||
| 4173 | func (x *Widget) Unrealize() { | 4522 | func (x *Widget) Unrealize() { | ||
| 4523 | + | core.LazyRegister(&xWidgetUnrealize, "GTK", "gtk_widget_unrealize", false) | |||
| 4524 | + | ||||
| 4174 | xWidgetUnrealize(x.GoPointer()) | 4525 | xWidgetUnrealize(x.GoPointer()) | ||
| 4175 | } | 4526 | } | ||
| 4176 | 4527 | ||||
| @@ -4182,6 +4533,8 @@ var xWidgetUnsetStateFlags func(uintptr, StateFlags) | |||||
| 4182 | // | 4533 | // | ||
| 4183 | // This function is for use in widget implementations. | 4534 | // This function is for use in widget implementations. | ||
| 4184 | func (x *Widget) UnsetStateFlags(FlagsVar StateFlags) { | 4535 | func (x *Widget) UnsetStateFlags(FlagsVar StateFlags) { | ||
| 4536 | + | core.LazyRegister(&xWidgetUnsetStateFlags, "GTK", "gtk_widget_unset_state_flags", false) | |||
| 4537 | + | ||||
| 4185 | xWidgetUnsetStateFlags(x.GoPointer(), FlagsVar) | 4538 | xWidgetUnsetStateFlags(x.GoPointer(), FlagsVar) | ||
| 4186 | } | 4539 | } | ||
| 4187 | 4540 | ||||
| @@ -5401,6 +5754,8 @@ var xWidgetGetDefaultDirection func() TextDirection | |||||
| 5401 | // | 5754 | // | ||
| 5402 | // See [func@Gtk.Widget.set_default_direction]. | 5755 | // See [func@Gtk.Widget.set_default_direction]. | ||
| 5403 | func WidgetGetDefaultDirection() TextDirection { | 5756 | func WidgetGetDefaultDirection() TextDirection { | ||
| 5757 | + | core.LazyRegister(&xWidgetGetDefaultDirection, "GTK", "gtk_widget_get_default_direction", false) | |||
| 5758 | + | ||||
| 5404 | cret := xWidgetGetDefaultDirection() | 5759 | cret := xWidgetGetDefaultDirection() | ||
| 5405 | return cret | 5760 | return cret | ||
| 5406 | } | 5761 | } | ||
| @@ -5411,217 +5766,12 @@ var xWidgetSetDefaultDirection func(TextDirection) | |||||
| 5411 | // | 5766 | // | ||
| 5412 | // See [method@Gtk.Widget.set_direction]. | 5767 | // See [method@Gtk.Widget.set_direction]. | ||
| 5413 | func WidgetSetDefaultDirection(DirVar TextDirection) { | 5768 | func WidgetSetDefaultDirection(DirVar TextDirection) { | ||
| 5769 | + | core.LazyRegister(&xWidgetSetDefaultDirection, "GTK", "gtk_widget_set_default_direction", false) | |||
| 5770 | + | ||||
| 5414 | xWidgetSetDefaultDirection(DirVar) | 5771 | xWidgetSetDefaultDirection(DirVar) | ||
| 5415 | } | 5772 | } | ||
| 5416 | 5773 | ||||
| 5417 | func init() { | 5774 | func init() { | ||
| 5418 | core.SetPackageName("GTK", "gtk4") | 5775 | core.SetPackageName("GTK", "gtk4") | ||
| 5419 | core.SetSharedLibraries("GTK", []string{"libgtk-4.so.1", "libgtk-4.1.dylib"}) | 5776 | core.SetSharedLibraries("GTK", []string{"libgtk-4.so.1", "libgtk-4.1.dylib"}) | ||
| 5420 | - | var libs []uintptr | |||
| 5421 | - | for _, libPath := range core.GetPaths("GTK") { | |||
| 5422 | - | lib, err := purego.Dlopen(libPath, purego.RTLD_NOW|purego.RTLD_GLOBAL) | |||
| 5423 | - | if err != nil { | |||
| 5424 | - | panic(err) | |||
| 5425 | - | } | |||
| 5426 | - | libs = append(libs, lib) | |||
| 5427 | - | } | |||
| 5428 | - | ||||
| 5429 | - | core.PuregoSafeRegister(&xRequisitionGLibType, libs, "gtk_requisition_get_type") | |||
| 5430 | - | ||||
| 5431 | - | core.PuregoSafeRegister(&xNewRequisition, libs, "gtk_requisition_new") | |||
| 5432 | - | ||||
| 5433 | - | core.PuregoSafeRegister(&xRequisitionCopy, libs, "gtk_requisition_copy") | |||
| 5434 | - | core.PuregoSafeRegister(&xRequisitionFree, libs, "gtk_requisition_free") | |||
| 5435 | - | ||||
| 5436 | - | core.PuregoSafeRegister(&xWidgetClassAddBinding, libs, "gtk_widget_class_add_binding") | |||
| 5437 | - | core.PuregoSafeRegister(&xWidgetClassAddBindingAction, libs, "gtk_widget_class_add_binding_action") | |||
| 5438 | - | core.PuregoSafeRegister(&xWidgetClassAddBindingSignal, libs, "gtk_widget_class_add_binding_signal") | |||
| 5439 | - | core.PuregoSafeRegister(&xWidgetClassAddShortcut, libs, "gtk_widget_class_add_shortcut") | |||
| 5440 | - | core.PuregoSafeRegister(&xWidgetClassBindTemplateCallbackFull, libs, "gtk_widget_class_bind_template_callback_full") | |||
| 5441 | - | core.PuregoSafeRegister(&xWidgetClassBindTemplateChildFull, libs, "gtk_widget_class_bind_template_child_full") | |||
| 5442 | - | core.PuregoSafeRegister(&xWidgetClassGetAccessibleRole, libs, "gtk_widget_class_get_accessible_role") | |||
| 5443 | - | core.PuregoSafeRegister(&xWidgetClassGetActivateSignal, libs, "gtk_widget_class_get_activate_signal") | |||
| 5444 | - | core.PuregoSafeRegister(&xWidgetClassGetCssName, libs, "gtk_widget_class_get_css_name") | |||
| 5445 | - | core.PuregoSafeRegister(&xWidgetClassGetLayoutManagerType, libs, "gtk_widget_class_get_layout_manager_type") | |||
| 5446 | - | core.PuregoSafeRegister(&xWidgetClassInstallAction, libs, "gtk_widget_class_install_action") | |||
| 5447 | - | core.PuregoSafeRegister(&xWidgetClassInstallPropertyAction, libs, "gtk_widget_class_install_property_action") | |||
| 5448 | - | core.PuregoSafeRegister(&xWidgetClassQueryAction, libs, "gtk_widget_class_query_action") | |||
| 5449 | - | core.PuregoSafeRegister(&xWidgetClassSetAccessibleRole, libs, "gtk_widget_class_set_accessible_role") | |||
| 5450 | - | core.PuregoSafeRegister(&xWidgetClassSetActivateSignal, libs, "gtk_widget_class_set_activate_signal") | |||
| 5451 | - | core.PuregoSafeRegister(&xWidgetClassSetActivateSignalFromName, libs, "gtk_widget_class_set_activate_signal_from_name") | |||
| 5452 | - | core.PuregoSafeRegister(&xWidgetClassSetCssName, libs, "gtk_widget_class_set_css_name") | |||
| 5453 | - | core.PuregoSafeRegister(&xWidgetClassSetLayoutManagerType, libs, "gtk_widget_class_set_layout_manager_type") | |||
| 5454 | - | core.PuregoSafeRegister(&xWidgetClassSetTemplate, libs, "gtk_widget_class_set_template") | |||
| 5455 | - | core.PuregoSafeRegister(&xWidgetClassSetTemplateFromResource, libs, "gtk_widget_class_set_template_from_resource") | |||
| 5456 | - | core.PuregoSafeRegister(&xWidgetClassSetTemplateScope, libs, "gtk_widget_class_set_template_scope") | |||
| 5457 | - | ||||
| 5458 | - | core.PuregoSafeRegister(&xWidgetGLibType, libs, "gtk_widget_get_type") | |||
| 5459 | - | ||||
| 5460 | - | core.PuregoSafeRegister(&xWidgetActionSetEnabled, libs, "gtk_widget_action_set_enabled") | |||
| 5461 | - | core.PuregoSafeRegister(&xWidgetActivate, libs, "gtk_widget_activate") | |||
| 5462 | - | core.PuregoSafeRegister(&xWidgetActivateAction, libs, "gtk_widget_activate_action") | |||
| 5463 | - | core.PuregoSafeRegister(&xWidgetActivateActionVariant, libs, "gtk_widget_activate_action_variant") | |||
| 5464 | - | core.PuregoSafeRegister(&xWidgetActivateDefault, libs, "gtk_widget_activate_default") | |||
| 5465 | - | core.PuregoSafeRegister(&xWidgetAddController, libs, "gtk_widget_add_controller") | |||
| 5466 | - | core.PuregoSafeRegister(&xWidgetAddCssClass, libs, "gtk_widget_add_css_class") | |||
| 5467 | - | core.PuregoSafeRegister(&xWidgetAddMnemonicLabel, libs, "gtk_widget_add_mnemonic_label") | |||
| 5468 | - | core.PuregoSafeRegister(&xWidgetAddTickCallback, libs, "gtk_widget_add_tick_callback") | |||
| 5469 | - | core.PuregoSafeRegister(&xWidgetAllocate, libs, "gtk_widget_allocate") | |||
| 5470 | - | core.PuregoSafeRegister(&xWidgetChildFocus, libs, "gtk_widget_child_focus") | |||
| 5471 | - | core.PuregoSafeRegister(&xWidgetComputeBounds, libs, "gtk_widget_compute_bounds") | |||
| 5472 | - | core.PuregoSafeRegister(&xWidgetComputeExpand, libs, "gtk_widget_compute_expand") | |||
| 5473 | - | core.PuregoSafeRegister(&xWidgetComputePoint, libs, "gtk_widget_compute_point") | |||
| 5474 | - | core.PuregoSafeRegister(&xWidgetComputeTransform, libs, "gtk_widget_compute_transform") | |||
| 5475 | - | core.PuregoSafeRegister(&xWidgetContains, libs, "gtk_widget_contains") | |||
| 5476 | - | core.PuregoSafeRegister(&xWidgetCreatePangoContext, libs, "gtk_widget_create_pango_context") | |||
| 5477 | - | core.PuregoSafeRegister(&xWidgetCreatePangoLayout, libs, "gtk_widget_create_pango_layout") | |||
| 5478 | - | core.PuregoSafeRegister(&xWidgetDisposeTemplate, libs, "gtk_widget_dispose_template") | |||
| 5479 | - | core.PuregoSafeRegister(&xWidgetDragCheckThreshold, libs, "gtk_drag_check_threshold") | |||
| 5480 | - | core.PuregoSafeRegister(&xWidgetErrorBell, libs, "gtk_widget_error_bell") | |||
| 5481 | - | core.PuregoSafeRegister(&xWidgetGetAllocatedBaseline, libs, "gtk_widget_get_allocated_baseline") | |||
| 5482 | - | core.PuregoSafeRegister(&xWidgetGetAllocatedHeight, libs, "gtk_widget_get_allocated_height") | |||
| 5483 | - | core.PuregoSafeRegister(&xWidgetGetAllocatedWidth, libs, "gtk_widget_get_allocated_width") | |||
| 5484 | - | core.PuregoSafeRegister(&xWidgetGetAllocation, libs, "gtk_widget_get_allocation") | |||
| 5485 | - | core.PuregoSafeRegister(&xWidgetGetAncestor, libs, "gtk_widget_get_ancestor") | |||
| 5486 | - | core.PuregoSafeRegister(&xWidgetGetBaseline, libs, "gtk_widget_get_baseline") | |||
| 5487 | - | core.PuregoSafeRegister(&xWidgetGetCanFocus, libs, "gtk_widget_get_can_focus") | |||
| 5488 | - | core.PuregoSafeRegister(&xWidgetGetCanTarget, libs, "gtk_widget_get_can_target") | |||
| 5489 | - | core.PuregoSafeRegister(&xWidgetGetChildVisible, libs, "gtk_widget_get_child_visible") | |||
| 5490 | - | core.PuregoSafeRegister(&xWidgetGetClipboard, libs, "gtk_widget_get_clipboard") | |||
| 5491 | - | core.PuregoSafeRegister(&xWidgetGetColor, libs, "gtk_widget_get_color") | |||
| 5492 | - | core.PuregoSafeRegister(&xWidgetGetCssClasses, libs, "gtk_widget_get_css_classes") | |||
| 5493 | - | core.PuregoSafeRegister(&xWidgetGetCssName, libs, "gtk_widget_get_css_name") | |||
| 5494 | - | core.PuregoSafeRegister(&xWidgetGetCursor, libs, "gtk_widget_get_cursor") | |||
| 5495 | - | core.PuregoSafeRegister(&xWidgetGetDirection, libs, "gtk_widget_get_direction") | |||
| 5496 | - | core.PuregoSafeRegister(&xWidgetGetDisplay, libs, "gtk_widget_get_display") | |||
| 5497 | - | core.PuregoSafeRegister(&xWidgetGetFirstChild, libs, "gtk_widget_get_first_child") | |||
| 5498 | - | core.PuregoSafeRegister(&xWidgetGetFocusChild, libs, "gtk_widget_get_focus_child") | |||
| 5499 | - | core.PuregoSafeRegister(&xWidgetGetFocusOnClick, libs, "gtk_widget_get_focus_on_click") | |||
| 5500 | - | core.PuregoSafeRegister(&xWidgetGetFocusable, libs, "gtk_widget_get_focusable") | |||
| 5501 | - | core.PuregoSafeRegister(&xWidgetGetFontMap, libs, "gtk_widget_get_font_map") | |||
| 5502 | - | core.PuregoSafeRegister(&xWidgetGetFontOptions, libs, "gtk_widget_get_font_options") | |||
| 5503 | - | core.PuregoSafeRegister(&xWidgetGetFrameClock, libs, "gtk_widget_get_frame_clock") | |||
| 5504 | - | core.PuregoSafeRegister(&xWidgetGetHalign, libs, "gtk_widget_get_halign") | |||
| 5505 | - | core.PuregoSafeRegister(&xWidgetGetHasTooltip, libs, "gtk_widget_get_has_tooltip") | |||
| 5506 | - | core.PuregoSafeRegister(&xWidgetGetHeight, libs, "gtk_widget_get_height") | |||
| 5507 | - | core.PuregoSafeRegister(&xWidgetGetHexpand, libs, "gtk_widget_get_hexpand") | |||
| 5508 | - | core.PuregoSafeRegister(&xWidgetGetHexpandSet, libs, "gtk_widget_get_hexpand_set") | |||
| 5509 | - | core.PuregoSafeRegister(&xWidgetGetLastChild, libs, "gtk_widget_get_last_child") | |||
| 5510 | - | core.PuregoSafeRegister(&xWidgetGetLayoutManager, libs, "gtk_widget_get_layout_manager") | |||
| 5511 | - | core.PuregoSafeRegister(&xWidgetGetLimitEvents, libs, "gtk_widget_get_limit_events") | |||
| 5512 | - | core.PuregoSafeRegister(&xWidgetGetMapped, libs, "gtk_widget_get_mapped") | |||
| 5513 | - | core.PuregoSafeRegister(&xWidgetGetMarginBottom, libs, "gtk_widget_get_margin_bottom") | |||
| 5514 | - | core.PuregoSafeRegister(&xWidgetGetMarginEnd, libs, "gtk_widget_get_margin_end") | |||
| 5515 | - | core.PuregoSafeRegister(&xWidgetGetMarginStart, libs, "gtk_widget_get_margin_start") | |||
| 5516 | - | core.PuregoSafeRegister(&xWidgetGetMarginTop, libs, "gtk_widget_get_margin_top") | |||
| 5517 | - | core.PuregoSafeRegister(&xWidgetGetName, libs, "gtk_widget_get_name") | |||
| 5518 | - | core.PuregoSafeRegister(&xWidgetGetNative, libs, "gtk_widget_get_native") | |||
| 5519 | - | core.PuregoSafeRegister(&xWidgetGetNextSibling, libs, "gtk_widget_get_next_sibling") | |||
| 5520 | - | core.PuregoSafeRegister(&xWidgetGetOpacity, libs, "gtk_widget_get_opacity") | |||
| 5521 | - | core.PuregoSafeRegister(&xWidgetGetOverflow, libs, "gtk_widget_get_overflow") | |||
| 5522 | - | core.PuregoSafeRegister(&xWidgetGetPangoContext, libs, "gtk_widget_get_pango_context") | |||
| 5523 | - | core.PuregoSafeRegister(&xWidgetGetParent, libs, "gtk_widget_get_parent") | |||
| 5524 | - | core.PuregoSafeRegister(&xWidgetGetPreferredSize, libs, "gtk_widget_get_preferred_size") | |||
| 5525 | - | core.PuregoSafeRegister(&xWidgetGetPrevSibling, libs, "gtk_widget_get_prev_sibling") | |||
| 5526 | - | core.PuregoSafeRegister(&xWidgetGetPrimaryClipboard, libs, "gtk_widget_get_primary_clipboard") | |||
| 5527 | - | core.PuregoSafeRegister(&xWidgetGetRealized, libs, "gtk_widget_get_realized") | |||
| 5528 | - | core.PuregoSafeRegister(&xWidgetGetReceivesDefault, libs, "gtk_widget_get_receives_default") | |||
| 5529 | - | core.PuregoSafeRegister(&xWidgetGetRequestMode, libs, "gtk_widget_get_request_mode") | |||
| 5530 | - | core.PuregoSafeRegister(&xWidgetGetRoot, libs, "gtk_widget_get_root") | |||
| 5531 | - | core.PuregoSafeRegister(&xWidgetGetScaleFactor, libs, "gtk_widget_get_scale_factor") | |||
| 5532 | - | core.PuregoSafeRegister(&xWidgetGetSensitive, libs, "gtk_widget_get_sensitive") | |||
| 5533 | - | core.PuregoSafeRegister(&xWidgetGetSettings, libs, "gtk_widget_get_settings") | |||
| 5534 | - | core.PuregoSafeRegister(&xWidgetGetSize, libs, "gtk_widget_get_size") | |||
| 5535 | - | core.PuregoSafeRegister(&xWidgetGetSizeRequest, libs, "gtk_widget_get_size_request") | |||
| 5536 | - | core.PuregoSafeRegister(&xWidgetGetStateFlags, libs, "gtk_widget_get_state_flags") | |||
| 5537 | - | core.PuregoSafeRegister(&xWidgetGetStyleContext, libs, "gtk_widget_get_style_context") | |||
| 5538 | - | core.PuregoSafeRegister(&xWidgetGetTemplateChild, libs, "gtk_widget_get_template_child") | |||
| 5539 | - | core.PuregoSafeRegister(&xWidgetGetTooltipMarkup, libs, "gtk_widget_get_tooltip_markup") | |||
| 5540 | - | core.PuregoSafeRegister(&xWidgetGetTooltipText, libs, "gtk_widget_get_tooltip_text") | |||
| 5541 | - | core.PuregoSafeRegister(&xWidgetGetValign, libs, "gtk_widget_get_valign") | |||
| 5542 | - | core.PuregoSafeRegister(&xWidgetGetVexpand, libs, "gtk_widget_get_vexpand") | |||
| 5543 | - | core.PuregoSafeRegister(&xWidgetGetVexpandSet, libs, "gtk_widget_get_vexpand_set") | |||
| 5544 | - | core.PuregoSafeRegister(&xWidgetGetVisible, libs, "gtk_widget_get_visible") | |||
| 5545 | - | core.PuregoSafeRegister(&xWidgetGetWidth, libs, "gtk_widget_get_width") | |||
| 5546 | - | core.PuregoSafeRegister(&xWidgetGrabFocus, libs, "gtk_widget_grab_focus") | |||
| 5547 | - | core.PuregoSafeRegister(&xWidgetHasCssClass, libs, "gtk_widget_has_css_class") | |||
| 5548 | - | core.PuregoSafeRegister(&xWidgetHasDefault, libs, "gtk_widget_has_default") | |||
| 5549 | - | core.PuregoSafeRegister(&xWidgetHasFocus, libs, "gtk_widget_has_focus") | |||
| 5550 | - | core.PuregoSafeRegister(&xWidgetHasVisibleFocus, libs, "gtk_widget_has_visible_focus") | |||
| 5551 | - | core.PuregoSafeRegister(&xWidgetHide, libs, "gtk_widget_hide") | |||
| 5552 | - | core.PuregoSafeRegister(&xWidgetInDestruction, libs, "gtk_widget_in_destruction") | |||
| 5553 | - | core.PuregoSafeRegister(&xWidgetInitTemplate, libs, "gtk_widget_init_template") | |||
| 5554 | - | core.PuregoSafeRegister(&xWidgetInsertActionGroup, libs, "gtk_widget_insert_action_group") | |||
| 5555 | - | core.PuregoSafeRegister(&xWidgetInsertAfter, libs, "gtk_widget_insert_after") | |||
| 5556 | - | core.PuregoSafeRegister(&xWidgetInsertBefore, libs, "gtk_widget_insert_before") | |||
| 5557 | - | core.PuregoSafeRegister(&xWidgetIsAncestor, libs, "gtk_widget_is_ancestor") | |||
| 5558 | - | core.PuregoSafeRegister(&xWidgetIsDrawable, libs, "gtk_widget_is_drawable") | |||
| 5559 | - | core.PuregoSafeRegister(&xWidgetIsFocus, libs, "gtk_widget_is_focus") | |||
| 5560 | - | core.PuregoSafeRegister(&xWidgetIsSensitive, libs, "gtk_widget_is_sensitive") | |||
| 5561 | - | core.PuregoSafeRegister(&xWidgetIsVisible, libs, "gtk_widget_is_visible") | |||
| 5562 | - | core.PuregoSafeRegister(&xWidgetKeynavFailed, libs, "gtk_widget_keynav_failed") | |||
| 5563 | - | core.PuregoSafeRegister(&xWidgetListMnemonicLabels, libs, "gtk_widget_list_mnemonic_labels") | |||
| 5564 | - | core.PuregoSafeRegister(&xWidgetMap, libs, "gtk_widget_map") | |||
| 5565 | - | core.PuregoSafeRegister(&xWidgetMeasure, libs, "gtk_widget_measure") | |||
| 5566 | - | core.PuregoSafeRegister(&xWidgetMnemonicActivate, libs, "gtk_widget_mnemonic_activate") | |||
| 5567 | - | core.PuregoSafeRegister(&xWidgetObserveChildren, libs, "gtk_widget_observe_children") | |||
| 5568 | - | core.PuregoSafeRegister(&xWidgetObserveControllers, libs, "gtk_widget_observe_controllers") | |||
| 5569 | - | core.PuregoSafeRegister(&xWidgetPick, libs, "gtk_widget_pick") | |||
| 5570 | - | core.PuregoSafeRegister(&xWidgetQueueAllocate, libs, "gtk_widget_queue_allocate") | |||
| 5571 | - | core.PuregoSafeRegister(&xWidgetQueueDraw, libs, "gtk_widget_queue_draw") | |||
| 5572 | - | core.PuregoSafeRegister(&xWidgetQueueResize, libs, "gtk_widget_queue_resize") | |||
| 5573 | - | core.PuregoSafeRegister(&xWidgetRealize, libs, "gtk_widget_realize") | |||
| 5574 | - | core.PuregoSafeRegister(&xWidgetRemoveController, libs, "gtk_widget_remove_controller") | |||
| 5575 | - | core.PuregoSafeRegister(&xWidgetRemoveCssClass, libs, "gtk_widget_remove_css_class") | |||
| 5576 | - | core.PuregoSafeRegister(&xWidgetRemoveMnemonicLabel, libs, "gtk_widget_remove_mnemonic_label") | |||
| 5577 | - | core.PuregoSafeRegister(&xWidgetRemoveTickCallback, libs, "gtk_widget_remove_tick_callback") | |||
| 5578 | - | core.PuregoSafeRegister(&xWidgetSetCanFocus, libs, "gtk_widget_set_can_focus") | |||
| 5579 | - | core.PuregoSafeRegister(&xWidgetSetCanTarget, libs, "gtk_widget_set_can_target") | |||
| 5580 | - | core.PuregoSafeRegister(&xWidgetSetChildVisible, libs, "gtk_widget_set_child_visible") | |||
| 5581 | - | core.PuregoSafeRegister(&xWidgetSetCssClasses, libs, "gtk_widget_set_css_classes") | |||
| 5582 | - | core.PuregoSafeRegister(&xWidgetSetCursor, libs, "gtk_widget_set_cursor") | |||
| 5583 | - | core.PuregoSafeRegister(&xWidgetSetCursorFromName, libs, "gtk_widget_set_cursor_from_name") | |||
| 5584 | - | core.PuregoSafeRegister(&xWidgetSetDirection, libs, "gtk_widget_set_direction") | |||
| 5585 | - | core.PuregoSafeRegister(&xWidgetSetFocusChild, libs, "gtk_widget_set_focus_child") | |||
| 5586 | - | core.PuregoSafeRegister(&xWidgetSetFocusOnClick, libs, "gtk_widget_set_focus_on_click") | |||
| 5587 | - | core.PuregoSafeRegister(&xWidgetSetFocusable, libs, "gtk_widget_set_focusable") | |||
| 5588 | - | core.PuregoSafeRegister(&xWidgetSetFontMap, libs, "gtk_widget_set_font_map") | |||
| 5589 | - | core.PuregoSafeRegister(&xWidgetSetFontOptions, libs, "gtk_widget_set_font_options") | |||
| 5590 | - | core.PuregoSafeRegister(&xWidgetSetHalign, libs, "gtk_widget_set_halign") | |||
| 5591 | - | core.PuregoSafeRegister(&xWidgetSetHasTooltip, libs, "gtk_widget_set_has_tooltip") | |||
| 5592 | - | core.PuregoSafeRegister(&xWidgetSetHexpand, libs, "gtk_widget_set_hexpand") | |||
| 5593 | - | core.PuregoSafeRegister(&xWidgetSetHexpandSet, libs, "gtk_widget_set_hexpand_set") | |||
| 5594 | - | core.PuregoSafeRegister(&xWidgetSetLayoutManager, libs, "gtk_widget_set_layout_manager") | |||
| 5595 | - | core.PuregoSafeRegister(&xWidgetSetLimitEvents, libs, "gtk_widget_set_limit_events") | |||
| 5596 | - | core.PuregoSafeRegister(&xWidgetSetMarginBottom, libs, "gtk_widget_set_margin_bottom") | |||
| 5597 | - | core.PuregoSafeRegister(&xWidgetSetMarginEnd, libs, "gtk_widget_set_margin_end") | |||
| 5598 | - | core.PuregoSafeRegister(&xWidgetSetMarginStart, libs, "gtk_widget_set_margin_start") | |||
| 5599 | - | core.PuregoSafeRegister(&xWidgetSetMarginTop, libs, "gtk_widget_set_margin_top") | |||
| 5600 | - | core.PuregoSafeRegister(&xWidgetSetName, libs, "gtk_widget_set_name") | |||
| 5601 | - | core.PuregoSafeRegister(&xWidgetSetOpacity, libs, "gtk_widget_set_opacity") | |||
| 5602 | - | core.PuregoSafeRegister(&xWidgetSetOverflow, libs, "gtk_widget_set_overflow") | |||
| 5603 | - | core.PuregoSafeRegister(&xWidgetSetParent, libs, "gtk_widget_set_parent") | |||
| 5604 | - | core.PuregoSafeRegister(&xWidgetSetReceivesDefault, libs, "gtk_widget_set_receives_default") | |||
| 5605 | - | core.PuregoSafeRegister(&xWidgetSetSensitive, libs, "gtk_widget_set_sensitive") | |||
| 5606 | - | core.PuregoSafeRegister(&xWidgetSetSizeRequest, libs, "gtk_widget_set_size_request") | |||
| 5607 | - | core.PuregoSafeRegister(&xWidgetSetStateFlags, libs, "gtk_widget_set_state_flags") | |||
| 5608 | - | core.PuregoSafeRegister(&xWidgetSetTooltipMarkup, libs, "gtk_widget_set_tooltip_markup") | |||
| 5609 | - | core.PuregoSafeRegister(&xWidgetSetTooltipText, libs, "gtk_widget_set_tooltip_text") | |||
| 5610 | - | core.PuregoSafeRegister(&xWidgetSetValign, libs, "gtk_widget_set_valign") | |||
| 5611 | - | core.PuregoSafeRegister(&xWidgetSetVexpand, libs, "gtk_widget_set_vexpand") | |||
| 5612 | - | core.PuregoSafeRegister(&xWidgetSetVexpandSet, libs, "gtk_widget_set_vexpand_set") | |||
| 5613 | - | core.PuregoSafeRegister(&xWidgetSetVisible, libs, "gtk_widget_set_visible") | |||
| 5614 | - | core.PuregoSafeRegister(&xWidgetShouldLayout, libs, "gtk_widget_should_layout") | |||
| 5615 | - | core.PuregoSafeRegister(&xWidgetShow, libs, "gtk_widget_show") | |||
| 5616 | - | core.PuregoSafeRegister(&xWidgetSizeAllocate, libs, "gtk_widget_size_allocate") | |||
| 5617 | - | core.PuregoSafeRegister(&xWidgetSnapshotChild, libs, "gtk_widget_snapshot_child") | |||
| 5618 | - | core.PuregoSafeRegister(&xWidgetTranslateCoordinates, libs, "gtk_widget_translate_coordinates") | |||
| 5619 | - | core.PuregoSafeRegister(&xWidgetTriggerTooltipQuery, libs, "gtk_widget_trigger_tooltip_query") | |||
| 5620 | - | core.PuregoSafeRegister(&xWidgetUnmap, libs, "gtk_widget_unmap") | |||
| 5621 | - | core.PuregoSafeRegister(&xWidgetUnparent, libs, "gtk_widget_unparent") | |||
| 5622 | - | core.PuregoSafeRegister(&xWidgetUnrealize, libs, "gtk_widget_unrealize") | |||
| 5623 | - | core.PuregoSafeRegister(&xWidgetUnsetStateFlags, libs, "gtk_widget_unset_state_flags") | |||
| 5624 | - | ||||
| 5625 | - | core.PuregoSafeRegister(&xWidgetGetDefaultDirection, libs, "gtk_widget_get_default_direction") | |||
| 5626 | - | core.PuregoSafeRegister(&xWidgetSetDefaultDirection, libs, "gtk_widget_set_default_direction") | |||
| 5627 | } | 5777 | } | ||