Merge pull request #349 from bnema/fix/rollback-lazy-puregotk
fix(deps): emergency rollback puregotk lazy registration regression
905 files · +25263 -27842
M go.mod +1 -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.1-0.20260714170452-0b6b9b901234 | |
| 14 | + | github.com/bnema/puregotk v0.7.0 | |
| 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 | |
| @@ -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.1-0.20260714170452-0b6b9b901234 | 14 | + | github.com/bnema/puregotk v0.7.0 |
| 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 | ||
M go.sum +0 -4 generated file: collapsed
M vendor/github.com/bnema/puregotk/internal/core/core.go +4 -197 generated file: collapsed
M vendor/github.com/bnema/puregotk/pkg/core/core.go +0 -10 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/adw/adw-about-dialog.go +64 -99 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/adw/adw-about-window.go +62 -95 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/adw/adw-accent-color.go +15 -7 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/adw/adw-action-row.go +29 -33 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/adw/adw-alert-dialog.go +47 -66 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/adw/adw-animation-target.go +27 -10 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/adw/adw-animation-util.go +12 -4 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/adw/adw-animation.go +26 -24 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/adw/adw-application-window.go +22 -14 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/adw/adw-application.go +15 -3 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/adw/adw-avatar.go +25 -22 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/adw/adw-banner.go +26 -23 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/adw/adw-bin.go +16 -5 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/adw/adw-bottom-sheet.go +38 -47 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/adw/adw-breakpoint-bin.go +19 -10 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/adw/adw-breakpoint.go +37 -33 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/adw/adw-button-content.go +22 -18 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/adw/adw-button-row.go +18 -10 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/adw/adw-carousel-indicator-dots.go +16 -5 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/adw/adw-carousel-indicator-lines.go +16 -5 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/adw/adw-carousel.go +37 -47 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/adw/adw-clamp-layout.go +20 -14 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/adw/adw-clamp-scrollable.go +22 -17 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/adw/adw-clamp.go +22 -17 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/adw/adw-combo-row.go +33 -34 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/adw/adw-dialog.go +38 -45 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/adw/adw-easing.go +13 -3 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/adw/adw-entry-row.go +33 -40 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/adw/adw-enum-list-model.go +22 -13 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/adw/adw-expander-row.go +33 -40 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/adw/adw-flap.go +48 -61 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/adw/adw-fold-threshold-policy.go +1 -10 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/adw/adw-header-bar.go +33 -36 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/adw/adw-inline-view-switcher.go +24 -18 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/adw/adw-layout-slot.go +15 -4 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/adw/adw-layout.go +17 -7 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/adw/adw-leaflet.go +56 -69 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/adw/adw-length-unit.go +14 -5 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/adw/adw-main.go +15 -5 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/adw/adw-message-dialog.go +44 -63 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/adw/adw-multi-layout-view.go +23 -17 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/adw/adw-navigation-direction.go +1 -10 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/adw/adw-navigation-split-view.go +32 -36 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/adw/adw-navigation-view.go +49 -60 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/adw/adw-overlay-split-view.go +38 -48 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/adw/adw-password-entry-row.go +13 -2 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/adw/adw-preferences-dialog.go +25 -23 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/adw/adw-preferences-group.go +26 -24 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/adw/adw-preferences-page.go +33 -38 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/adw/adw-preferences-row.go +22 -18 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/adw/adw-preferences-window.go +29 -31 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/adw/adw-shortcut-label.go +18 -10 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/adw/adw-shortcuts-dialog.go +15 -4 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/adw/adw-shortcuts-item.go +25 -23 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/adw/adw-shortcuts-section.go +17 -8 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/adw/adw-sidebar-item.go +37 -45 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/adw/adw-sidebar-section.go +27 -24 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/adw/adw-sidebar.go +39 -41 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/adw/adw-spin-row.go +34 -40 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/adw/adw-spinner-paintable.go +16 -5 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/adw/adw-spinner.go +13 -2 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/adw/adw-split-button.go +34 -39 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/adw/adw-spring-animation.go +30 -34 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/adw/adw-spring-params.go +21 -17 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/adw/adw-squeezer.go +44 -49 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/adw/adw-status-page.go +24 -20 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/adw/adw-style-manager.go +28 -25 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/adw/adw-swipe-tracker.go +30 -33 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/adw/adw-swipeable.go +21 -33 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/adw/adw-switch-row.go +16 -6 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/adw/adw-tab-bar.go +32 -35 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/adw/adw-tab-button.go +16 -5 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/adw/adw-tab-overview.go +37 -45 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/adw/adw-tab-view.go +87 -123 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/adw/adw-timed-animation.go +28 -30 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/adw/adw-toast-overlay.go +18 -9 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/adw/adw-toast.go +36 -41 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/adw/adw-toggle-group.go +51 -64 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/adw/adw-toolbar-view.go +35 -40 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/adw/adw-version.go +16 -7 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/adw/adw-view-stack.go +62 -78 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/adw/adw-view-switcher-bar.go +18 -9 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/adw/adw-view-switcher-sidebar.go +22 -15 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/adw/adw-view-switcher-title.go +23 -19 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/adw/adw-view-switcher.go +20 -10 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/adw/adw-window-title.go +18 -10 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/adw/adw-window.go +22 -14 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/adw/adw-wrap-box.go +46 -66 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/adw/adw-wrap-layout.go +46 -57 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/cairo/main.go +79 -36 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gdk/gdkapplaunchcontext.go +17 -10 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gdk/gdkcairo.go +16 -12 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gdk/gdkcairocontext.go +13 -3 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gdk/gdkcicpparams.go +25 -20 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gdk/gdkclipboard.go +32 -34 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gdk/gdkcolorstate.go +16 -12 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gdk/gdkcontentdeserializer.go +27 -26 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gdk/gdkcontentformats.go +31 -28 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gdk/gdkcontentprovider.go +28 -23 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gdk/gdkcontentserializer.go +27 -26 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gdk/gdkcursor.go +21 -12 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gdk/gdkdevice.go +33 -36 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gdk/gdkdevicepad.go +22 -27 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gdk/gdkdevicetool.go +18 -10 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gdk/gdkdisplay.go +43 -51 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gdk/gdkdisplaymanager.go +20 -10 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gdk/gdkdmabuftexture.go +13 -3 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gdk/gdkdmabuftexturebuilder.go +41 -53 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gdk/gdkdrag.go +28 -20 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gdk/gdkdragsurface.go +14 -6 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gdk/gdkdragsurfacesize.go +13 -3 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gdk/gdkdrawcontext.go +18 -11 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gdk/gdkdrop.go +24 -19 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gdk/gdkenums.go +1 -21 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gdk/gdkevents.go +118 -120 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gdk/gdkframeclock.go +24 -22 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gdk/gdkframetimings.go +20 -17 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gdk/gdkglcontext.go +36 -40 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gdk/gdkgltexture.go +15 -4 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gdk/gdkgltexturebuilder.go +35 -41 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gdk/gdkkeys.go +22 -19 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gdk/gdkmemorytexture.go +13 -2 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gdk/gdkmemorytexturebuilder.go +35 -42 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 +33 -63 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gdk/gdkpango.go +12 -4 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gdk/gdkpixbuf.go +12 -2 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gdk/gdkpopup.go +26 -47 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gdk/gdkpopuplayout.go +32 -36 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gdk/gdkrgba.go +21 -19 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gdk/gdkseat.go +20 -11 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gdk/gdksnapshot.go +0 -7 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gdk/gdksurface.go +40 -46 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gdk/gdktexture.go +31 -27 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gdk/gdktoplevel.go +66 -157 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gdk/gdktoplevellayout.go +25 -24 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gdk/gdktoplevelsize.go +16 -9 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gdk/gdktypes.go +72 -95 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gdk/gdkvulkancontext.go +13 -3 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gdkpixbuf/gdk-pixbuf-animation.go +32 -26 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gdkpixbuf/gdk-pixbuf-core.go +0 -9 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gdkpixbuf/gdk-pixbuf-io.go +23 -25 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gdkpixbuf/gdk-pixbuf-loader.go +22 -13 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gdkpixbuf/gdk-pixbuf-simple-anim.go +17 -8 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gdkpixbuf/gdk-pixbuf-transform.go +1 -11 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gdkpixbuf/gdk-pixbuf.go +79 -102 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gdkpixbuf/main.go +17 -5 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/gaction.go +31 -59 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/gactiongroup.go +39 -96 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/gactionmap.go +21 -33 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/gappinfo.go +116 -244 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/gapplication.go +55 -79 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/gapplicationcommandline.go +27 -31 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/gasyncinitable.go +22 -25 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/gasyncresult.go +19 -26 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/gbufferedinputstream.go +29 -26 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/gbufferedoutputstream.go +18 -11 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/gbytesicon.go +15 -4 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/gcancellable.go +27 -26 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/gcharsetconverter.go +17 -8 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/gcontenttype.go +26 -30 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/gconverter.go +20 -23 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/gconverterinputstream.go +14 -3 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/gconverteroutputstream.go +14 -3 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/gcredentials.go +21 -12 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/gdatagrambased.go +30 -45 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/gdatainputstream.go +35 -31 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/gdataoutputstream.go +23 -14 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/gdbusactiongroup.go +13 -2 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/gdbusaddress.go +17 -10 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/gdbusauthobserver.go +16 -6 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/gdbusconnection.go +66 -77 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/gdbuserror.go +18 -16 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/gdbusinterface.go +19 -26 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/gdbusinterfaceskeleton.go +24 -25 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/gdbusintrospection.go +56 -54 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/gdbusmenumodel.go +13 -2 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/gdbusmessage.go +64 -88 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/gdbusmethodinvocation.go +30 -35 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/gdbusnameowning.go +15 -10 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/gdbusnamewatching.go +15 -10 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/gdbusobject.go +17 -19 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/gdbusobjectmanager.go +19 -26 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/gdbusobjectmanagerclient.go +23 -16 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/gdbusobjectmanagerserver.go +20 -13 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/gdbusobjectproxy.go +15 -3 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/gdbusobjectskeleton.go +18 -12 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/gdbusproxy.go +38 -42 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/gdbusserver.go +20 -14 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/gdbusutils.go +22 -24 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/gdebugcontroller.go +16 -12 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/gdebugcontrollerdbus.go +14 -4 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/gdrive.go +82 -214 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/gdtlsclientconnection.go +24 -34 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/gdtlsconnection.go +80 -207 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/gdtlsserverconnection.go +13 -2 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/gemblem.go +17 -6 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/gemblemedicon.go +18 -9 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/gfile.go +450 -1148 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/gfileattribute.go +19 -13 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/gfileenumerator.go +35 -34 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/gfileicon.go +15 -3 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/gfileinfo.go +84 -138 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/gfileinputstream.go +23 -17 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/gfileiostream.go +27 -23 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/gfilemonitor.go +15 -9 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/gfilenamecompleter.go +16 -8 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/gfileoutputstream.go +27 -23 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/gfilterinputstream.go +14 -6 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/gfilteroutputstream.go +14 -6 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/gicon.go +25 -32 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/ginetaddress.go +34 -40 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/ginetaddressmask.go +21 -14 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/ginetsocketaddress.go +19 -10 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/ginitable.go +18 -11 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/ginputstream.go +48 -52 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/gioenums.go +1 -90 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/gioerror.go +13 -6 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/giomodule.go +29 -26 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/gioscheduler.go +12 -4 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/giostream.go +29 -25 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/giotypes.go +60 -70 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/giptosmessage.go +16 -6 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/gipv6tclassmessage.go +16 -6 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/glistmodel.go +21 -33 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/gliststore.go +24 -22 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/gloadableicon.go +23 -27 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/gmemoryinputstream.go +17 -8 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/gmemorymonitor.go +12 -2 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/gmemoryoutputstream.go +19 -13 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/gmenu.go +50 -62 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/gmenumodel.go +33 -31 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/gmount.go +86 -215 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/gmountoperation.go +32 -40 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/gnativesocketaddress.go +13 -2 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/gnativevolumemonitor.go +0 -7 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/gnetworkaddress.go +21 -11 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/gnetworking.go +14 -3 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/gnetworkmonitor.go +31 -49 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/gnetworkservice.go +19 -12 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 +72 -86 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 +22 -30 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/gpollableoutputstream.go +27 -41 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/gpollableutils.go +15 -7 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/gpowerprofilemonitor.go +16 -7 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/gpropertyaction.go +13 -2 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/gproxy.go +27 -35 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/gproxyaddress.go +21 -16 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/gproxyaddressenumerator.go +0 -7 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/gproxyresolver.go +27 -35 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/gremoteactiongroup.go +15 -12 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/gresolver.go +67 -75 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/gresource.go +23 -19 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/gseekable.go +27 -41 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/gsettings.go +67 -99 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/gsettingsbackend.go +24 -19 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/gsettingsschema.go +43 -48 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/gsimpleaction.go +18 -9 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/gsimpleactiongroup.go +18 -9 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/gsimpleasyncresult.go +40 -46 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/gsimpleiostream.go +13 -2 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/gsimplepermission.go +13 -2 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/gsimpleproxyresolver.go +16 -8 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/gsocket.go +72 -87 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/gsocketaddress.go +19 -11 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/gsocketaddressenumerator.go +20 -13 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/gsocketclient.go +44 -54 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/gsocketconnectable.go +17 -19 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/gsocketconnection.go +21 -14 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/gsocketcontrolmessage.go +17 -10 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/gsocketlistener.go +25 -18 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/gsocketservice.go +16 -8 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/gsrvtarget.go +11 -2 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/gsubprocess.go +39 -40 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/gsubprocesslauncher.go +31 -34 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/gtask.go +52 -70 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/gtcpconnection.go +14 -5 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/gtcpwrapperconnection.go +15 -3 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/gtestdbus.go +22 -16 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/gthemedicon.go +19 -10 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/gthreadedresolver.go +0 -7 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/gthreadedsocketservice.go +12 -2 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/gtlsbackend.go +33 -69 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/gtlscertificate.go +29 -25 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/gtlsclientconnection.go +29 -55 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/gtlsconnection.go +46 -56 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/gtlsdatabase.go +48 -51 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/gtlsfiledatabase.go +13 -2 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/gtlsinteraction.go +31 -27 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/gtlspassword.go +22 -20 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/gtlsserverconnection.go +13 -2 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/gunixconnection.go +20 -11 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/gunixcredentialsmessage.go +17 -6 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/gunixfdlist.go +19 -11 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/gunixsocketaddress.go +22 -14 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/gio/gvfs.go +24 -18 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/gio/gvolume.go +58 -143 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/gio/gvolumemonitor.go +19 -11 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/gio/gzlibcompressor.go +18 -9 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/gio/gzlibdecompressor.go +15 -3 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/gio/main.go +11 -2 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/glib/gallocator.go +28 -32 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/glib/garray.go +59 -82 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/glib/gasyncqueue.go +39 -56 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/glib/gatomic.go +34 -43 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/glib/gbacktrace.go +15 -5 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/glib/gbase64.go +19 -13 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/glib/gbitlock.go +24 -23 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/glib/gbookmarkfile.go +61 -69 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/glib/gcache.go +15 -10 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/glib/gcharset.go +19 -13 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/glib/gchecksum.go +25 -23 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/glib/gcompletion.go +17 -14 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/glib/gconvert.go +28 -25 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/glib/gdataset.go +28 -36 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/glib/gdate.go +65 -103 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/glib/gdatetime.go +66 -107 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/glib/gdir.go +19 -12 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/glib/genviron.go +21 -17 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/glib/gerror.go +29 -30 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/glib/gfileutils.go +38 -45 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/glib/ggettext.go +19 -13 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/glib/ghash.go +53 -81 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/glib/ghmac.go +24 -21 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/glib/ghook.go +26 -28 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/glib/ghostutils.go +18 -11 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/glib/giochannel.go +67 -83 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/glib/gkeyfile.go +62 -72 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/glib/glib-types.go +12 -4 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/glib/glist.go +11 -2 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/glib/gmain.go +117 -181 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/glib/gmappedfile.go +21 -15 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/glib/gmarkup.go +43 -51 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/glib/gmem.go +31 -44 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/glib/gmessages.go +45 -70 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/glib/gnode.go +35 -50 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/glib/goption.go +43 -57 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/glib/gpathbuf.go +24 -26 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/glib/gpattern.go +23 -19 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/glib/gpoll.go +13 -3 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/glib/gprimes.go +14 -3 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/glib/gprintf.go +20 -15 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/glib/gqsort.go +15 -5 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/glib/gquark.go +19 -13 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/glib/gqueue.go +52 -84 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/glib/grand.go +30 -33 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/glib/grcbox.go +27 -29 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/glib/grefcount.go +21 -17 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/glib/grefstring.go +20 -15 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/glib/gregex.go +57 -72 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/glib/grel.go +21 -20 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/glib/gscanner.go +30 -40 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/glib/gsequence.go +49 -74 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/glib/gshell.go +16 -5 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/glib/gslice.go +21 -17 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/glib/gslist.go +11 -2 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/glib/gspawn.go +23 -12 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/glib/gstdio.go +27 -33 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/glib/gstrfuncs.go +71 -115 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/glib/gstring.go +51 -77 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/glib/gstringchunk.go +15 -10 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/glib/gstrvbuilder.go +22 -19 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/glib/gtestutils.go +80 -132 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/glib/gthread.go +97 -146 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/glib/gthreadpool.go +25 -26 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/glib/gtimer.go +20 -18 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/glib/gtimezone.go +26 -27 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/glib/gtrashstack.go +14 -8 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/glib/gtree.go +45 -63 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/glib/gtypes.go +12 -4 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/glib/gunicode.go +85 -132 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/glib/guri.go +50 -63 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/glib/gutils.go +41 -62 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/glib/guuid.go +15 -5 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/glib/gvariant-parser.go +14 -3 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/glib/gvariant.go +143 -242 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/glib/gvarianttype.go +45 -63 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/glib/gversion.go +14 -3 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/glib/main.go +28 -31 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/gmodule/gmodule.go +18 -14 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/gmodule/main.go +11 -2 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/gobject/gbinding.go +22 -14 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/gobject/gbindinggroup.go +19 -11 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/gobject/gboxed.go +13 -6 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/gobject/gclosure.go +31 -37 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/gobject/genums.go +22 -24 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/gobject/glib-types.go +11 -2 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/gobject/gmarshal.go +35 -45 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/gobject/gobject.go +82 -116 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/gobject/gparam.go +43 -54 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/gobject/gparamspecs.go +79 -46 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/gobject/gsignal.go +50 -79 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/gobject/gsignalgroup.go +24 -21 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/gobject/gsourceclosure.go +12 -4 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/gobject/gtype.go +82 -136 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/gobject/gtypemodule.go +18 -15 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/gobject/gtypeplugin.go +20 -26 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/gobject/gvalue.go +85 -141 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/gobject/gvaluearray.go +23 -21 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/gobject/gvaluetypes.go +13 -6 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/gobject/main.go +1 -10 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/gobject/more.go +1 -8 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/graphene/graphene-box.go +44 -61 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/graphene/graphene-euler.go +34 -43 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/graphene/graphene-frustum.go +23 -21 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/graphene/graphene-matrix.go +80 -135 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/graphene/graphene-plane.go +27 -29 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/graphene/graphene-point.go +25 -23 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/graphene/graphene-point3d.go +31 -35 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/graphene/graphene-quad.go +21 -17 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/graphene/graphene-quaternion.go +37 -49 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/graphene/graphene-ray.go +31 -37 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/graphene/graphene-rect.go +46 -67 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/graphene/graphene-size.go +22 -17 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/graphene/graphene-sphere.go +26 -27 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/graphene/graphene-triangle.go +29 -33 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/graphene/graphene-vec2.go +40 -53 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/graphene/graphene-vec3.go +48 -69 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/graphene/graphene-vec4.go +48 -69 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/gsk/gskblendnode.go +17 -6 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/gsk/gskblurnode.go +16 -5 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/gsk/gskbordernode.go +17 -8 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/gsk/gskbroadwayrenderer.go +13 -2 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/gsk/gskcaironode.go +16 -6 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/gsk/gskcairorenderer.go +13 -2 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/gsk/gskclipnode.go +16 -5 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/gsk/gskcolormatrixnode.go +17 -7 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/gsk/gskcolornode.go +15 -4 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/gsk/gskcomponenttransfer.go +14 -3 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/gsk/gskcomponenttransfernode.go +16 -5 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/gsk/gskcompositenode.go +17 -6 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/gsk/gskconicgradientnode.go +19 -12 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/gsk/gskcontainernode.go +16 -5 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/gsk/gskcopynode.go +15 -3 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/gsk/gskcrossfadenode.go +17 -6 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/gsk/gskdebugnode.go +16 -5 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/gsk/gskenums.go +1 -24 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/gsk/gskfillnode.go +17 -7 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/gsk/gskglrenderer.go +17 -4 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/gsk/gskglshader.go +50 -65 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/gsk/gskglshadernode.go +18 -8 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/gsk/gskinsetshadownode.go +20 -14 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/gsk/gskisolationnode.go +16 -5 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/gsk/gsklineargradientnode.go +22 -12 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/gsk/gskmasknode.go +17 -6 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/gsk/gskopacitynode.go +16 -5 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/gsk/gskoutsetshadownode.go +20 -14 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/gsk/gskpastenode.go +15 -4 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/gsk/gskpath.go +15 -4 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/gsk/gskpathpoint.go +21 -19 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/gsk/gskradialgradientnode.go +25 -18 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/gsk/gskrenderer.go +21 -12 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/gsk/gskrendernode.go +29 -26 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/gsk/gskrepeatnode.go +16 -5 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/gsk/gskroundedclipnode.go +16 -5 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 +17 -7 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/gsk/gskstroke.go +14 -3 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/gsk/gskstrokenode.go +17 -7 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/gsk/gsksubsurfacenode.go +17 -5 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/gsk/gsktextnode.go +20 -13 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/gsk/gsktexturenode.go +15 -3 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/gsk/gsktexturescalenode.go +16 -5 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/gsk/gsktransform.go +14 -3 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/gsk/gsktransformnode.go +16 -5 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/gsk/gsktypes.go +153 -237 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/gsk/gskvulkanrenderer.go +13 -2 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/gtk/gtkaboutdialog.go +51 -70 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/gtk/gtkaccelgroup.go +19 -18 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/gtk/gtkaccessible.go +66 -159 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/gtk/gtkaccessiblehypertext.go +16 -5 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/gtk/gtkaccessiblerange.go +0 -7 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 +23 -40 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/gtk/gtkactionbar.go +21 -15 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/gtk/gtkadjustment.go +28 -32 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/gtk/gtkalertdialog.go +29 -31 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/gtk/gtkappchooser.go +18 -19 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/gtk/gtkappchooserbutton.go +25 -24 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/gtk/gtkappchooserdialog.go +18 -8 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 +29 -27 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/gtk/gtkapplicationwindow.go +19 -11 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/gtk/gtkaspectframe.go +24 -21 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/gtk/gtkassistant.go +43 -48 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/gtk/gtkatcontext.go +16 -5 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/gtk/gtkbinlayout.go +13 -2 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/gtk/gtkbitset.go +20 -15 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/gtk/gtkbookmarklist.go +20 -14 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/gtk/gtkboolfilter.go +18 -9 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/gtk/gtkborder.go +16 -7 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/gtk/gtkbox.go +27 -28 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/gtk/gtkboxlayout.go +22 -18 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 +41 -35 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/gtk/gtkbuilderlistitemfactory.go +18 -8 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/gtk/gtkbuilderscope.go +23 -14 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 +33 -40 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/gtk/gtkcellarea.go +59 -87 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/gtk/gtkcellareabox.go +18 -10 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/gtk/gtkcellareacontext.go +21 -20 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/gtk/gtkcelleditable.go +17 -19 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/gtk/gtkcelllayout.go +31 -68 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/gtk/gtkcellrenderer.go +42 -56 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/gtk/gtkcellrendereraccel.go +15 -3 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/gtk/gtkcellrenderercombo.go +13 -2 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/gtk/gtkcellrendererpixbuf.go +13 -2 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/gtk/gtkcellrendererprogress.go +13 -2 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/gtk/gtkcellrendererspin.go +13 -2 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/gtk/gtkcellrendererspinner.go +13 -2 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/gtk/gtkcellrenderertext.go +14 -4 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/gtk/gtkcellrenderertoggle.go +20 -14 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/gtk/gtkcellview.go +26 -21 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/gtk/gtkcenterbox.go +24 -19 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/gtk/gtkcenterlayout.go +26 -23 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/gtk/gtkcheckbutton.go +26 -25 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/gtk/gtkcolorbutton.go +19 -11 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/gtk/gtkcolorchooser.go +21 -33 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/gtk/gtkcolorchooserdialog.go +13 -2 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/gtk/gtkcolorchooserwidget.go +13 -2 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/gtk/gtkcolordialog.go +22 -17 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/gtk/gtkcolordialogbutton.go +18 -9 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/gtk/gtkcolorutils.go +15 -5 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/gtk/gtkcolumnview.go +39 -47 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/gtk/gtkcolumnviewcell.go +19 -13 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/gtk/gtkcolumnviewcolumn.go +33 -36 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/gtk/gtkcolumnviewrow.go +25 -26 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/gtk/gtkcolumnviewsorter.go +16 -7 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/gtk/gtkcombobox.go +40 -51 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/gtk/gtkcomboboxtext.go +24 -21 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/gtk/gtkconstraint.go +28 -24 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/gtk/gtkconstraintguide.go +24 -22 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/gtk/gtkconstraintlayout.go +27 -20 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/gtk/gtkcsserror.go +12 -4 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/gtk/gtkcssprovider.go +22 -18 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/gtk/gtkcsssection.go +24 -22 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/gtk/gtkcustomfilter.go +15 -4 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/gtk/gtkcustomlayout.go +13 -2 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/gtk/gtkcustomsorter.go +15 -4 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/gtk/gtkdebug.go +14 -5 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/gtk/gtkdialog.go +28 -21 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/gtk/gtkdialogerror.go +13 -3 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/gtk/gtkdirectorylist.go +24 -21 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/gtk/gtkdragicon.go +19 -8 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/gtk/gtkdragsource.go +21 -14 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/gtk/gtkdrawingarea.go +18 -12 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/gtk/gtkdropcontrollermotion.go +17 -7 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/gtk/gtkdropdown.go +34 -35 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/gtk/gtkdroptarget.go +25 -22 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/gtk/gtkdroptargetasync.go +19 -12 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/gtk/gtkeditable.go +65 -173 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/gtk/gtkeditablelabel.go +17 -8 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/gtk/gtkemojichooser.go +13 -2 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/gtk/gtkentry.go +76 -119 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/gtk/gtkentrybuffer.go +23 -22 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/gtk/gtkentrycompletion.go +37 -45 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/gtk/gtkenums.go +147 -70 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/gtk/gtkeventcontroller.go +25 -24 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/gtk/gtkeventcontrollerfocus.go +16 -6 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/gtk/gtkeventcontrollerkey.go +18 -9 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/gtk/gtkeventcontrollerlegacy.go +13 -2 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/gtk/gtkeventcontrollermotion.go +16 -6 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/gtk/gtkeventcontrollerscroll.go +19 -9 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 +67 -50 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/gtk/gtkfilechooser.go +68 -177 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/gtk/gtkfilechooserdialog.go +13 -2 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/gtk/gtkfilechoosernative.go +18 -10 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/gtk/gtkfilechooserwidget.go +13 -2 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/gtk/gtkfiledialog.go +46 -54 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/gtk/gtkfilefilter.go +24 -21 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/gtk/gtkfilelauncher.go +24 -19 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/gtk/gtkfilter.go +18 -9 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/gtk/gtkfilterlistmodel.go +23 -18 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/gtk/gtkfixed.go +20 -14 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/gtk/gtkfixedlayout.go +18 -7 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/gtk/gtkflattenlistmodel.go +17 -6 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/gtk/gtkflowbox.go +57 -79 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/gtk/gtkfontbutton.go +23 -19 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/gtk/gtkfontchooser.go +51 -132 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/gtk/gtkfontchooserdialog.go +13 -2 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/gtk/gtkfontchooserwidget.go +13 -2 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 +21 -16 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/gtk/gtkgesture.go +29 -33 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/gtk/gtkgestureclick.go +13 -2 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/gtk/gtkgesturedrag.go +16 -6 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/gtk/gtkgesturelongpress.go +16 -6 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/gtk/gtkgesturepan.go +16 -6 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/gtk/gtkgesturerotate.go +15 -4 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/gtk/gtkgesturesingle.go +20 -17 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/gtk/gtkgesturestylus.go +20 -13 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/gtk/gtkgestureswipe.go +15 -4 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/gtk/gtkgesturezoom.go +15 -4 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/gtk/gtkglarea.go +32 -39 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/gtk/gtkgraphicsoffload.go +22 -14 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/gtk/gtkgrid.go +36 -45 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/gtk/gtkgridlayout.go +37 -43 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/gtk/gtkgridview.go +29 -30 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/gtk/gtkheaderbar.go +25 -23 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/gtk/gtkiconpaintable.go +17 -7 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/gtk/gtkicontheme.go +37 -34 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/gtk/gtkiconview.go +78 -123 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 +26 -31 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/gtk/gtkimcontextsimple.go +16 -6 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/gtk/gtkimmulticontext.go +15 -6 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/gtk/gtkinfobar.go +30 -32 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/gtk/gtkinscription.go +37 -45 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/gtk/gtklabel.go +64 -98 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/gtk/gtklayoutchild.go +14 -3 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/gtk/gtklayoutmanager.go +17 -11 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/gtk/gtklevelbar.go +28 -29 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/gtk/gtklinkbutton.go +19 -11 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/gtk/gtklistbase.go +0 -7 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/gtk/gtklistbox.go +63 -88 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/gtk/gtklistheader.go +18 -11 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/gtk/gtklistitem.go +27 -29 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/gtk/gtklistitemfactory.go +0 -7 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/gtk/gtkliststore.go +34 -41 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 +16 -5 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/gtk/gtkmain.go +18 -16 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/gtk/gtkmaplistmodel.go +18 -9 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/gtk/gtkmediacontrols.go +16 -5 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/gtk/gtkmediafile.go +24 -18 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/gtk/gtkmediastream.go +45 -69 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/gtk/gtkmenubutton.go +41 -53 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/gtk/gtkmessagedialog.go +21 -11 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/gtk/gtkmountoperation.go +18 -10 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/gtk/gtkmultifilter.go +22 -9 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/gtk/gtkmultiselection.go +16 -5 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/gtk/gtkmultisorter.go +16 -6 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/gtk/gtknative.go +24 -34 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/gtk/gtknativedialog.go +21 -20 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/gtk/gtknoselection.go +16 -5 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/gtk/gtknotebook.go +64 -87 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/gtk/gtknumericsorter.go +18 -9 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/gtk/gtkorientable.go +16 -12 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/gtk/gtkoverlay.go +22 -17 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/gtk/gtkoverlaylayout.go +20 -11 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/gtk/gtkpadcontroller.go +18 -7 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/gtk/gtkpagesetup.go +40 -47 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/gtk/gtkpagesetupunixdialog.go +18 -8 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/gtk/gtkpaned.go +30 -32 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/gtk/gtkpapersize.go +39 -50 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/gtk/gtkpasswordentry.go +18 -9 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/gtk/gtkpasswordentrybuffer.go +13 -2 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/gtk/gtkpicture.go +36 -39 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/gtk/gtkpopover.go +33 -41 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/gtk/gtkpopoverbin.go +24 -19 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/gtk/gtkpopovermenu.go +21 -14 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/gtk/gtkpopovermenubar.go +18 -9 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/gtk/gtkprintcontext.go +23 -19 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/gtk/gtkprintdialog.go +37 -36 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/gtk/gtkprinter.go +40 -48 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/gtk/gtkprintjob.go +44 -57 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/gtk/gtkprintoperation.go +54 -65 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/gtk/gtkprintoperationpreview.go +17 -19 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/gtk/gtkprintsettings.go +89 -145 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/gtk/gtkprintunixdialog.go +31 -33 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/gtk/gtkprogressbar.go +27 -28 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/gtk/gtkrange.go +33 -44 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/gtk/gtkrecentmanager.go +54 -65 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/gtk/gtkrender.go +22 -24 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/gtk/gtkrevealer.go +25 -20 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/gtk/gtkroot.go +18 -19 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/gtk/gtkscale.go +27 -28 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/gtk/gtkscalebutton.go +24 -20 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/gtk/gtkscrollable.go +29 -61 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/gtk/gtkscrollbar.go +16 -5 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/gtk/gtkscrolledwindow.go +49 -61 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/gtk/gtksearchbar.go +23 -18 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/gtk/gtksearchentry.go +24 -21 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/gtk/gtksectionmodel.go +15 -12 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/gtk/gtkselectionfiltermodel.go +16 -5 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/gtk/gtkselectionmodel.go +33 -75 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/gtk/gtkseparator.go +13 -2 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/gtk/gtksettings.go +16 -5 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/gtk/gtkshortcut.go +21 -13 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/gtk/gtkshortcutaction.go +47 -25 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/gtk/gtkshortcutcontroller.go +21 -15 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/gtk/gtkshortcutlabel.go +18 -10 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/gtk/gtkshortcutmanager.go +0 -7 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/gtk/gtkshortcutsgroup.go +13 -3 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/gtk/gtkshortcutssection.go +13 -3 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/gtk/gtkshortcutsshortcut.go +0 -8 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/gtk/gtkshortcutswindow.go +13 -3 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/gtk/gtkshortcuttrigger.go +46 -34 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/gtk/gtkshow.go +13 -5 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/gtk/gtksignallistitemfactory.go +13 -2 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/gtk/gtksingleselection.go +23 -18 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/gtk/gtksizegroup.go +19 -12 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/gtk/gtksizerequest.go +11 -2 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/gtk/gtkslicelistmodel.go +20 -13 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/gtk/gtksnapshot.go +71 -112 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/gtk/gtksorter.go +18 -9 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/gtk/gtksortlistmodel.go +23 -17 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/gtk/gtkspinbutton.go +45 -56 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/gtk/gtkspinner.go +18 -10 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/gtk/gtkstack.go +55 -68 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/gtk/gtkstacksidebar.go +16 -5 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/gtk/gtkstackswitcher.go +16 -5 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/gtk/gtkstatusbar.go +19 -12 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/gtk/gtkstringfilter.go +24 -18 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/gtk/gtkstringlist.go +26 -18 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/gtk/gtkstringsorter.go +22 -14 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/gtk/gtkstylecontext.go +35 -43 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/gtk/gtkstyleprovider.go +1 -10 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/gtk/gtksvg.go +39 -41 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/gtk/gtkswitch.go +18 -10 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/gtk/gtksymbolicpaintable.go +15 -12 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/gtk/gtktestatcontext.go +21 -17 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/gtk/gtktestutils.go +17 -9 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/gtk/gtktext.go +49 -69 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/gtk/gtktextbuffer.go +85 -138 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/gtk/gtktextchild.go +16 -7 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/gtk/gtktextiter.go +104 -179 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/gtk/gtktextmark.go +20 -13 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/gtk/gtktexttag.go +17 -8 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/gtk/gtktexttagtable.go +19 -11 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/gtk/gtktextview.go +92 -145 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/gtk/gtktogglebutton.go +19 -12 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/gtk/gtktooltip.go +19 -15 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/gtk/gtktreednd.go +27 -34 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/gtk/gtktreeexpander.go +25 -21 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/gtk/gtktreelistmodel.go +32 -26 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/gtk/gtktreelistrowsorter.go +16 -5 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/gtk/gtktreemodel.go +113 -261 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/gtk/gtktreemodelfilter.go +21 -20 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/gtk/gtktreemodelsort.go +22 -17 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/gtk/gtktreeselection.go +32 -40 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/gtk/gtktreesortable.go +23 -40 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/gtk/gtktreestore.go +36 -45 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/gtk/gtktreeview.go +105 -176 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/gtk/gtktreeviewcolumn.go +68 -102 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/gtk/gtktypes.go +53 -74 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/gtk/gtkurilauncher.go +19 -11 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/gtk/gtkversion.go +19 -13 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/gtk/gtkvideo.go +30 -28 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/gtk/gtkviewport.go +19 -11 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/gtk/gtkvolumebutton.go +13 -2 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/gtk/gtkwidget.go +207 -357
| @@ -44,7 +44,6 @@ 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) | |
| 48 | 47 | return xRequisitionGLibType() | |
| 49 | 48 | } | |
| 50 | 49 | ||
| @@ -66,8 +65,6 @@ var xNewRequisition func() uintptr | |||
| 66 | 65 | // | |
| 67 | 66 | // The struct is initialized to zero. | |
| 68 | 67 | func NewRequisition() *Requisition { | |
| 69 | - | core.LazyRegister(&xNewRequisition, "GTK", "gtk_requisition_new", false) | |
| 70 | - | ||
| 71 | 68 | cret := xNewRequisition() | |
| 72 | 69 | if cret == 0 { | |
| 73 | 70 | return nil | |
| @@ -79,8 +76,6 @@ var xRequisitionCopy func(uintptr) uintptr | |||
| 79 | 76 | ||
| 80 | 77 | // Copies a `GtkRequisition`. | |
| 81 | 78 | func (x *Requisition) Copy() *Requisition { | |
| 82 | - | core.LazyRegister(&xRequisitionCopy, "GTK", "gtk_requisition_copy", false) | |
| 83 | - | ||
| 84 | 79 | cret := xRequisitionCopy(x.GoPointer()) | |
| 85 | 80 | if cret == 0 { | |
| 86 | 81 | return nil | |
| @@ -92,8 +87,6 @@ var xRequisitionFree func(uintptr) | |||
| 92 | 87 | ||
| 93 | 88 | // Frees a `GtkRequisition`. | |
| 94 | 89 | func (x *Requisition) Free() { | |
| 95 | - | core.LazyRegister(&xRequisitionFree, "GTK", "gtk_requisition_free", false) | |
| 96 | - | ||
| 97 | 90 | xRequisitionFree(x.GoPointer()) | |
| 98 | 91 | } | |
| 99 | 92 | ||
| @@ -183,8 +176,6 @@ var xWidgetClassAddBinding func(uintptr, uint, gdk.ModifierType, uintptr, uintpt | |||
| 183 | 176 | // you will have to use [method@Gtk.WidgetClass.add_shortcut] with a custom | |
| 184 | 177 | // shortcut. | |
| 185 | 178 | 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 | - | ||
| 188 | 179 | FormatStringVarPtr := core.GStrdupNullable(FormatStringVar) | |
| 189 | 180 | defer core.GFreeNullable(FormatStringVarPtr) | |
| 190 | 181 | ||
| @@ -203,8 +194,6 @@ var xWidgetClassAddBindingAction func(uintptr, uint, gdk.ModifierType, string, u | |||
| 203 | 194 | // [method@Gtk.WidgetClass.add_shortcut] and must be called during class | |
| 204 | 195 | // initialization. | |
| 205 | 196 | 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 | - | ||
| 208 | 197 | FormatStringVarPtr := core.GStrdupNullable(FormatStringVar) | |
| 209 | 198 | defer core.GFreeNullable(FormatStringVarPtr) | |
| 210 | 199 | ||
| @@ -223,8 +212,6 @@ var xWidgetClassAddBindingSignal func(uintptr, uint, gdk.ModifierType, string, u | |||
| 223 | 212 | // [method@Gtk.WidgetClass.add_shortcut] and must be called during class | |
| 224 | 213 | // initialization. | |
| 225 | 214 | 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 | - | ||
| 228 | 215 | FormatStringVarPtr := core.GStrdupNullable(FormatStringVar) | |
| 229 | 216 | defer core.GFreeNullable(FormatStringVarPtr) | |
| 230 | 217 | ||
| @@ -244,8 +231,6 @@ var xWidgetClassAddShortcut func(uintptr, uintptr) | |||
| 244 | 231 | // This function must only be used in class initialization functions | |
| 245 | 232 | // otherwise it is not guaranteed that the shortcut will be installed. | |
| 246 | 233 | func (x *WidgetClass) AddShortcut(ShortcutVar *Shortcut) { | |
| 247 | - | core.LazyRegister(&xWidgetClassAddShortcut, "GTK", "gtk_widget_class_add_shortcut", false) | |
| 248 | - | ||
| 249 | 234 | xWidgetClassAddShortcut(x.GoPointer(), ShortcutVar.GoPointer()) | |
| 250 | 235 | } | |
| 251 | 236 | ||
| @@ -261,8 +246,6 @@ var xWidgetClassBindTemplateCallbackFull func(uintptr, string, uintptr) | |||
| 261 | 246 | // Note that this must be called from a composite widget classes | |
| 262 | 247 | // class initializer after calling [method@Gtk.WidgetClass.set_template]. | |
| 263 | 248 | func (x *WidgetClass) BindTemplateCallbackFull(CallbackNameVar string, CallbackSymbolVar *gobject.Callback) { | |
| 264 | - | core.LazyRegister(&xWidgetClassBindTemplateCallbackFull, "GTK", "gtk_widget_class_bind_template_callback_full", false) | |
| 265 | - | ||
| 266 | 249 | xWidgetClassBindTemplateCallbackFull(x.GoPointer(), CallbackNameVar, glib.NewCallback(CallbackSymbolVar)) | |
| 267 | 250 | } | |
| 268 | 251 | ||
| @@ -297,8 +280,6 @@ var xWidgetClassBindTemplateChildFull func(uintptr, string, bool, int) | |||
| 297 | 280 | // Note that this must be called from a composite widget classes class | |
| 298 | 281 | // initializer after calling [method@Gtk.WidgetClass.set_template]. | |
| 299 | 282 | func (x *WidgetClass) BindTemplateChildFull(NameVar string, InternalChildVar bool, StructOffsetVar int) { | |
| 300 | - | core.LazyRegister(&xWidgetClassBindTemplateChildFull, "GTK", "gtk_widget_class_bind_template_child_full", false) | |
| 301 | - | ||
| 302 | 283 | xWidgetClassBindTemplateChildFull(x.GoPointer(), NameVar, InternalChildVar, StructOffsetVar) | |
| 303 | 284 | } | |
| 304 | 285 | ||
| @@ -311,8 +292,6 @@ var xWidgetClassGetAccessibleRole func(uintptr) AccessibleRole | |||
| 311 | 292 | // | |
| 312 | 293 | // See also: [method@Gtk.Accessible.get_accessible_role]. | |
| 313 | 294 | func (x *WidgetClass) GetAccessibleRole() AccessibleRole { | |
| 314 | - | core.LazyRegister(&xWidgetClassGetAccessibleRole, "GTK", "gtk_widget_class_get_accessible_role", false) | |
| 315 | - | ||
| 316 | 295 | cret := xWidgetClassGetAccessibleRole(x.GoPointer()) | |
| 317 | 296 | return cret | |
| 318 | 297 | } | |
| @@ -324,8 +303,6 @@ var xWidgetClassGetActivateSignal func(uintptr) uint | |||
| 324 | 303 | // The activation signal is set using | |
| 325 | 304 | // [method@Gtk.WidgetClass.set_activate_signal]. | |
| 326 | 305 | func (x *WidgetClass) GetActivateSignal() uint { | |
| 327 | - | core.LazyRegister(&xWidgetClassGetActivateSignal, "GTK", "gtk_widget_class_get_activate_signal", false) | |
| 328 | - | ||
| 329 | 306 | cret := xWidgetClassGetActivateSignal(x.GoPointer()) | |
| 330 | 307 | return cret | |
| 331 | 308 | } | |
| @@ -336,8 +313,6 @@ var xWidgetClassGetCssName func(uintptr) string | |||
| 336 | 313 | // | |
| 337 | 314 | // See [method@Gtk.WidgetClass.set_css_name] for details. | |
| 338 | 315 | func (x *WidgetClass) GetCssName() string { | |
| 339 | - | core.LazyRegister(&xWidgetClassGetCssName, "GTK", "gtk_widget_class_get_css_name", false) | |
| 340 | - | ||
| 341 | 316 | cret := xWidgetClassGetCssName(x.GoPointer()) | |
| 342 | 317 | return cret | |
| 343 | 318 | } | |
| @@ -349,8 +324,6 @@ var xWidgetClassGetLayoutManagerType func(uintptr) types.GType | |||
| 349 | 324 | // | |
| 350 | 325 | // See also: [method@Gtk.WidgetClass.set_layout_manager_type]. | |
| 351 | 326 | func (x *WidgetClass) GetLayoutManagerType() types.GType { | |
| 352 | - | core.LazyRegister(&xWidgetClassGetLayoutManagerType, "GTK", "gtk_widget_class_get_layout_manager_type", false) | |
| 353 | - | ||
| 354 | 327 | cret := xWidgetClassGetLayoutManagerType(x.GoPointer()) | |
| 355 | 328 | return cret | |
| 356 | 329 | } | |
| @@ -365,8 +338,6 @@ var xWidgetClassInstallAction func(uintptr, string, uintptr, uintptr) | |||
| 365 | 338 | // they have is whether they are enabled or not (which can be changed | |
| 366 | 339 | // with [method@Gtk.Widget.action_set_enabled]). | |
| 367 | 340 | func (x *WidgetClass) InstallAction(ActionNameVar string, ParameterTypeVar *string, ActivateVar *WidgetActionActivateFunc) { | |
| 368 | - | core.LazyRegister(&xWidgetClassInstallAction, "GTK", "gtk_widget_class_install_action", false) | |
| 369 | - | ||
| 370 | 341 | ParameterTypeVarPtr := core.GStrdupNullable(ParameterTypeVar) | |
| 371 | 342 | defer core.GFreeNullable(ParameterTypeVarPtr) | |
| 372 | 343 | ||
| @@ -391,8 +362,6 @@ var xWidgetClassInstallPropertyAction func(uintptr, string, string) | |||
| 391 | 362 | // toggle the property value. Otherwise, the action will have a parameter | |
| 392 | 363 | // of the same type as the property. | |
| 393 | 364 | func (x *WidgetClass) InstallPropertyAction(ActionNameVar string, PropertyNameVar string) { | |
| 394 | - | core.LazyRegister(&xWidgetClassInstallPropertyAction, "GTK", "gtk_widget_class_install_property_action", false) | |
| 395 | - | ||
| 396 | 365 | xWidgetClassInstallPropertyAction(x.GoPointer(), ActionNameVar, PropertyNameVar) | |
| 397 | 366 | } | |
| 398 | 367 | ||
| @@ -408,8 +377,6 @@ var xWidgetClassQueryAction func(uintptr, uint, *types.GType, *string, **glib.Va | |||
| 408 | 377 | // by parent classes. You can identify those by looking | |
| 409 | 378 | // at @owner. | |
| 410 | 379 | 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 | - | ||
| 413 | 380 | cret := xWidgetClassQueryAction(x.GoPointer(), IndexVar, OwnerVar, ActionNameVar, ParameterTypeVar, PropertyNameVar) | |
| 414 | 381 | return cret | |
| 415 | 382 | } | |
| @@ -421,8 +388,6 @@ var xWidgetClassSetAccessibleRole func(uintptr, AccessibleRole) | |||
| 421 | 388 | // Different accessible roles have different states, and are | |
| 422 | 389 | // rendered differently by assistive technologies. | |
| 423 | 390 | func (x *WidgetClass) SetAccessibleRole(AccessibleRoleVar AccessibleRole) { | |
| 424 | - | core.LazyRegister(&xWidgetClassSetAccessibleRole, "GTK", "gtk_widget_class_set_accessible_role", false) | |
| 425 | - | ||
| 426 | 391 | xWidgetClassSetAccessibleRole(x.GoPointer(), AccessibleRoleVar) | |
| 427 | 392 | } | |
| 428 | 393 | ||
| @@ -435,8 +400,6 @@ var xWidgetClassSetActivateSignal func(uintptr, uint) | |||
| 435 | 400 | // The @signal_id must have been registered with [function.GObject.signal_new] | |
| 436 | 401 | // or [func@GObject.signal_newv] before calling this function. | |
| 437 | 402 | func (x *WidgetClass) SetActivateSignal(SignalIdVar uint) { | |
| 438 | - | core.LazyRegister(&xWidgetClassSetActivateSignal, "GTK", "gtk_widget_class_set_activate_signal", false) | |
| 439 | - | ||
| 440 | 403 | xWidgetClassSetActivateSignal(x.GoPointer(), SignalIdVar) | |
| 441 | 404 | } | |
| 442 | 405 | ||
| @@ -451,8 +414,6 @@ var xWidgetClassSetActivateSignalFromName func(uintptr, string) | |||
| 451 | 414 | // The @signal_name must have been registered with [function.GObject.signal_new] | |
| 452 | 415 | // or [func@GObject.signal_newv] before calling this function. | |
| 453 | 416 | func (x *WidgetClass) SetActivateSignalFromName(SignalNameVar string) { | |
| 454 | - | core.LazyRegister(&xWidgetClassSetActivateSignalFromName, "GTK", "gtk_widget_class_set_activate_signal_from_name", false) | |
| 455 | - | ||
| 456 | 417 | xWidgetClassSetActivateSignalFromName(x.GoPointer(), SignalNameVar) | |
| 457 | 418 | } | |
| 458 | 419 | ||
| @@ -464,8 +425,6 @@ var xWidgetClassSetCssName func(uintptr, string) | |||
| 464 | 425 | // set on the parent class is used. By default, `GtkWidget` | |
| 465 | 426 | // uses the name "widget". | |
| 466 | 427 | func (x *WidgetClass) SetCssName(NameVar string) { | |
| 467 | - | core.LazyRegister(&xWidgetClassSetCssName, "GTK", "gtk_widget_class_set_css_name", false) | |
| 468 | - | ||
| 469 | 428 | xWidgetClassSetCssName(x.GoPointer(), NameVar) | |
| 470 | 429 | } | |
| 471 | 430 | ||
| @@ -479,8 +438,6 @@ var xWidgetClassSetLayoutManagerType func(uintptr, types.GType) | |||
| 479 | 438 | // This function should only be called from class init functions | |
| 480 | 439 | // of widgets. | |
| 481 | 440 | func (x *WidgetClass) SetLayoutManagerType(TypeVar types.GType) { | |
| 482 | - | core.LazyRegister(&xWidgetClassSetLayoutManagerType, "GTK", "gtk_widget_class_set_layout_manager_type", false) | |
| 483 | - | ||
| 484 | 441 | xWidgetClassSetLayoutManagerType(x.GoPointer(), TypeVar) | |
| 485 | 442 | } | |
| 486 | 443 | ||
| @@ -495,8 +452,6 @@ var xWidgetClassSetTemplate func(uintptr, *glib.Bytes) | |||
| 495 | 452 | // Note that any class that installs templates must call | |
| 496 | 453 | // [method@Gtk.Widget.init_template] in the widget’s instance initializer. | |
| 497 | 454 | func (x *WidgetClass) SetTemplate(TemplateBytesVar *glib.Bytes) { | |
| 498 | - | core.LazyRegister(&xWidgetClassSetTemplate, "GTK", "gtk_widget_class_set_template", false) | |
| 499 | - | ||
| 500 | 455 | xWidgetClassSetTemplate(x.GoPointer(), TemplateBytesVar) | |
| 501 | 456 | } | |
| 502 | 457 | ||
| @@ -509,8 +464,6 @@ var xWidgetClassSetTemplateFromResource func(uintptr, string) | |||
| 509 | 464 | // [method@Gtk.Widget.init_template] in the widget’s instance | |
| 510 | 465 | // initializer. | |
| 511 | 466 | func (x *WidgetClass) SetTemplateFromResource(ResourceNameVar string) { | |
| 512 | - | core.LazyRegister(&xWidgetClassSetTemplateFromResource, "GTK", "gtk_widget_class_set_template_from_resource", false) | |
| 513 | - | ||
| 514 | 467 | xWidgetClassSetTemplateFromResource(x.GoPointer(), ResourceNameVar) | |
| 515 | 468 | } | |
| 516 | 469 | ||
| @@ -523,8 +476,6 @@ var xWidgetClassSetTemplateScope func(uintptr, uintptr) | |||
| 523 | 476 | // Note that this must be called from a composite widget classes class | |
| 524 | 477 | // initializer after calling [method@Gtk.WidgetClass.set_template]. | |
| 525 | 478 | func (x *WidgetClass) SetTemplateScope(ScopeVar BuilderScope) { | |
| 526 | - | core.LazyRegister(&xWidgetClassSetTemplateScope, "GTK", "gtk_widget_class_set_template_scope", false) | |
| 527 | - | ||
| 528 | 479 | xWidgetClassSetTemplateScope(x.GoPointer(), ScopeVar.GoPointer()) | |
| 529 | 480 | } | |
| 530 | 481 | ||
| @@ -1727,7 +1678,6 @@ type Widget struct { | |||
| 1727 | 1678 | var xWidgetGLibType func() types.GType | |
| 1728 | 1679 | ||
| 1729 | 1680 | func WidgetGLibType() types.GType { | |
| 1730 | - | core.LazyRegister(&xWidgetGLibType, "GTK", "gtk_widget_get_type", false) | |
| 1731 | 1681 | return xWidgetGLibType() | |
| 1732 | 1682 | } | |
| 1733 | 1683 | ||
| @@ -1742,8 +1692,6 @@ var xWidgetActionSetEnabled func(uintptr, string, bool) | |||
| 1742 | 1692 | // Enables or disables an action installed with | |
| 1743 | 1693 | // [method@Gtk.WidgetClass.install_action]. | |
| 1744 | 1694 | func (x *Widget) ActionSetEnabled(ActionNameVar string, EnabledVar bool) { | |
| 1745 | - | core.LazyRegister(&xWidgetActionSetEnabled, "GTK", "gtk_widget_action_set_enabled", false) | |
| 1746 | - | ||
| 1747 | 1695 | xWidgetActionSetEnabled(x.GoPointer(), ActionNameVar, EnabledVar) | |
| 1748 | 1696 | } | |
| 1749 | 1697 | ||
| @@ -1764,8 +1712,6 @@ var xWidgetActivate func(uintptr) bool | |||
| 1764 | 1712 | // | |
| 1765 | 1713 | // If @widget is not activatable, the function returns false. | |
| 1766 | 1714 | func (x *Widget) Activate() bool { | |
| 1767 | - | core.LazyRegister(&xWidgetActivate, "GTK", "gtk_widget_activate", false) | |
| 1768 | - | ||
| 1769 | 1715 | cret := xWidgetActivate(x.GoPointer()) | |
| 1770 | 1716 | return cret | |
| 1771 | 1717 | } | |
| @@ -1780,8 +1726,6 @@ var xWidgetActivateAction func(uintptr, string, uintptr, ...interface{}) bool | |||
| 1780 | 1726 | // This is a wrapper around [method@Gtk.Widget.activate_action_variant] | |
| 1781 | 1727 | // that constructs the @args variant according to @format_string. | |
| 1782 | 1728 | func (x *Widget) ActivateAction(NameVar string, FormatStringVar *string, varArgs ...interface{}) bool { | |
| 1783 | - | core.LazyRegister(&xWidgetActivateAction, "GTK", "gtk_widget_activate_action", false) | |
| 1784 | - | ||
| 1785 | 1729 | FormatStringVarPtr := core.GStrdupNullable(FormatStringVar) | |
| 1786 | 1730 | defer core.GFreeNullable(FormatStringVarPtr) | |
| 1787 | 1731 | ||
| @@ -1804,8 +1748,6 @@ var xWidgetActivateActionVariant func(uintptr, string, *glib.Variant) bool | |||
| 1804 | 1748 | // The arguments must match the actions expected parameter type, | |
| 1805 | 1749 | // as returned by [method@Gio.Action.get_parameter_type]. | |
| 1806 | 1750 | func (x *Widget) ActivateActionVariant(NameVar string, ArgsVar *glib.Variant) bool { | |
| 1807 | - | core.LazyRegister(&xWidgetActivateActionVariant, "GTK", "gtk_widget_activate_action_variant", false) | |
| 1808 | - | ||
| 1809 | 1751 | cret := xWidgetActivateActionVariant(x.GoPointer(), NameVar, ArgsVar) | |
| 1810 | 1752 | return cret | |
| 1811 | 1753 | } | |
| @@ -1817,8 +1759,6 @@ var xWidgetActivateDefault func(uintptr) | |||
| 1817 | 1759 | // The action is looked up in the same was as for | |
| 1818 | 1760 | // [method@Gtk.Widget.activate_action]. | |
| 1819 | 1761 | func (x *Widget) ActivateDefault() { | |
| 1820 | - | core.LazyRegister(&xWidgetActivateDefault, "GTK", "gtk_widget_activate_default", false) | |
| 1821 | - | ||
| 1822 | 1762 | xWidgetActivateDefault(x.GoPointer()) | |
| 1823 | 1763 | } | |
| 1824 | 1764 | ||
| @@ -1832,8 +1772,6 @@ var xWidgetAddController func(uintptr, uintptr) | |||
| 1832 | 1772 | // You will usually want to call this function right after | |
| 1833 | 1773 | // creating any kind of [class@Gtk.EventController]. | |
| 1834 | 1774 | func (x *Widget) AddController(ControllerVar *EventController) { | |
| 1835 | - | core.LazyRegister(&xWidgetAddController, "GTK", "gtk_widget_add_controller", false) | |
| 1836 | - | ||
| 1837 | 1775 | xWidgetAddController(x.GoPointer(), ControllerVar.GoPointer()) | |
| 1838 | 1776 | } | |
| 1839 | 1777 | ||
| @@ -1847,8 +1785,6 @@ var xWidgetAddCssClass func(uintptr, string) | |||
| 1847 | 1785 | // Use [method@Gtk.Widget.remove_css_class] to remove the | |
| 1848 | 1786 | // style again. | |
| 1849 | 1787 | func (x *Widget) AddCssClass(CssClassVar string) { | |
| 1850 | - | core.LazyRegister(&xWidgetAddCssClass, "GTK", "gtk_widget_add_css_class", false) | |
| 1851 | - | ||
| 1852 | 1788 | xWidgetAddCssClass(x.GoPointer(), CssClassVar) | |
| 1853 | 1789 | } | |
| 1854 | 1790 | ||
| @@ -1862,8 +1798,6 @@ var xWidgetAddMnemonicLabel func(uintptr, uintptr) | |||
| 1862 | 1798 | // when the widget is destroyed, so the caller must make sure | |
| 1863 | 1799 | // to update its internal state at this point as well. | |
| 1864 | 1800 | func (x *Widget) AddMnemonicLabel(LabelVar *Widget) { | |
| 1865 | - | core.LazyRegister(&xWidgetAddMnemonicLabel, "GTK", "gtk_widget_add_mnemonic_label", false) | |
| 1866 | - | ||
| 1867 | 1801 | xWidgetAddMnemonicLabel(x.GoPointer(), LabelVar.GoPointer()) | |
| 1868 | 1802 | } | |
| 1869 | 1803 | ||
| @@ -1896,8 +1830,6 @@ var xWidgetAddTickCallback func(uintptr, uintptr, uintptr, uintptr) uint | |||
| 1896 | 1830 | // To remove a tick callback, pass the ID that is returned by this function | |
| 1897 | 1831 | // to [method@Gtk.Widget.remove_tick_callback]. | |
| 1898 | 1832 | func (x *Widget) AddTickCallback(CallbackVar *TickCallback, UserDataVar uintptr, NotifyVar *glib.DestroyNotify) uint { | |
| 1899 | - | core.LazyRegister(&xWidgetAddTickCallback, "GTK", "gtk_widget_add_tick_callback", false) | |
| 1900 | - | ||
| 1901 | 1833 | cret := xWidgetAddTickCallback(x.GoPointer(), glib.NewCallback(CallbackVar), UserDataVar, glib.NewCallbackNullable(NotifyVar)) | |
| 1902 | 1834 | return cret | |
| 1903 | 1835 | } | |
| @@ -1916,8 +1848,6 @@ var xWidgetAllocate func(uintptr, int, int, int, *gsk.Transform) | |||
| 1916 | 1848 | // For a version that does not take a transform, see | |
| 1917 | 1849 | // [method@Gtk.Widget.size_allocate]. | |
| 1918 | 1850 | func (x *Widget) Allocate(WidthVar int, HeightVar int, BaselineVar int, TransformVar *gsk.Transform) { | |
| 1919 | - | core.LazyRegister(&xWidgetAllocate, "GTK", "gtk_widget_allocate", false) | |
| 1920 | - | ||
| 1921 | 1851 | xWidgetAllocate(x.GoPointer(), WidthVar, HeightVar, BaselineVar, TransformVar) | |
| 1922 | 1852 | } | |
| 1923 | 1853 | ||
| @@ -1944,8 +1874,6 @@ var xWidgetChildFocus func(uintptr, DirectionType) bool | |||
| 1944 | 1874 | // writing an app, you’d use [method@Gtk.Widget.grab_focus] to move | |
| 1945 | 1875 | // the focus to a particular widget. | |
| 1946 | 1876 | func (x *Widget) ChildFocus(DirectionVar DirectionType) bool { | |
| 1947 | - | core.LazyRegister(&xWidgetChildFocus, "GTK", "gtk_widget_child_focus", false) | |
| 1948 | - | ||
| 1949 | 1877 | cret := xWidgetChildFocus(x.GoPointer(), DirectionVar) | |
| 1950 | 1878 | return cret | |
| 1951 | 1879 | } | |
| @@ -1965,8 +1893,6 @@ var xWidgetComputeBounds func(uintptr, uintptr, *graphene.Rect) bool | |||
| 1965 | 1893 | // | |
| 1966 | 1894 | // It is valid for @widget and @target to be the same widget. | |
| 1967 | 1895 | func (x *Widget) ComputeBounds(TargetVar *Widget, OutBoundsVar *graphene.Rect) bool { | |
| 1968 | - | core.LazyRegister(&xWidgetComputeBounds, "GTK", "gtk_widget_compute_bounds", false) | |
| 1969 | - | ||
| 1970 | 1896 | cret := xWidgetComputeBounds(x.GoPointer(), TargetVar.GoPointer(), OutBoundsVar) | |
| 1971 | 1897 | return cret | |
| 1972 | 1898 | } | |
| @@ -1987,8 +1913,6 @@ var xWidgetComputeExpand func(uintptr, Orientation) bool | |||
| 1987 | 1913 | // set on the widget itself, or, if none has been explicitly set, | |
| 1988 | 1914 | // the widget may expand if some of its children do. | |
| 1989 | 1915 | func (x *Widget) ComputeExpand(OrientationVar Orientation) bool { | |
| 1990 | - | core.LazyRegister(&xWidgetComputeExpand, "GTK", "gtk_widget_compute_expand", false) | |
| 1991 | - | ||
| 1992 | 1916 | cret := xWidgetComputeExpand(x.GoPointer(), OrientationVar) | |
| 1993 | 1917 | return cret | |
| 1994 | 1918 | } | |
| @@ -2002,8 +1926,6 @@ var xWidgetComputePoint func(uintptr, uintptr, *graphene.Point, *graphene.Point) | |||
| 2002 | 1926 | // a common ancestor. If that is not the case, @out_point is set | |
| 2003 | 1927 | // to (0, 0) and false is returned. | |
| 2004 | 1928 | func (x *Widget) ComputePoint(TargetVar *Widget, PointVar *graphene.Point, OutPointVar *graphene.Point) bool { | |
| 2005 | - | core.LazyRegister(&xWidgetComputePoint, "GTK", "gtk_widget_compute_point", false) | |
| 2006 | - | ||
| 2007 | 1929 | cret := xWidgetComputePoint(x.GoPointer(), TargetVar.GoPointer(), PointVar, OutPointVar) | |
| 2008 | 1930 | return cret | |
| 2009 | 1931 | } | |
| @@ -2020,8 +1942,6 @@ var xWidgetComputeTransform func(uintptr, uintptr, *graphene.Matrix) bool | |||
| 2020 | 1942 | // To learn more about widget coordinate systems, see the coordinate | |
| 2021 | 1943 | // system [overview](coordinates.html). | |
| 2022 | 1944 | func (x *Widget) ComputeTransform(TargetVar *Widget, OutTransformVar *graphene.Matrix) bool { | |
| 2023 | - | core.LazyRegister(&xWidgetComputeTransform, "GTK", "gtk_widget_compute_transform", false) | |
| 2024 | - | ||
| 2025 | 1945 | cret := xWidgetComputeTransform(x.GoPointer(), TargetVar.GoPointer(), OutTransformVar) | |
| 2026 | 1946 | return cret | |
| 2027 | 1947 | } | |
| @@ -2033,8 +1953,6 @@ var xWidgetContains func(uintptr, float64, float64) bool | |||
| 2033 | 1953 | // The coordinates for (x, y) must be in widget coordinates, so | |
| 2034 | 1954 | // (0, 0) is assumed to be the top left of @widget's content area. | |
| 2035 | 1955 | func (x *Widget) Contains(XVar float64, YVar float64) bool { | |
| 2036 | - | core.LazyRegister(&xWidgetContains, "GTK", "gtk_widget_contains", false) | |
| 2037 | - | ||
| 2038 | 1956 | cret := xWidgetContains(x.GoPointer(), XVar, YVar) | |
| 2039 | 1957 | return cret | |
| 2040 | 1958 | } | |
| @@ -2048,7 +1966,6 @@ var xWidgetCreatePangoContext func(uintptr) uintptr | |||
| 2048 | 1966 | // | |
| 2049 | 1967 | // See also [method@Gtk.Widget.get_pango_context]. | |
| 2050 | 1968 | func (x *Widget) CreatePangoContext() *pango.Context { | |
| 2051 | - | core.LazyRegister(&xWidgetCreatePangoContext, "GTK", "gtk_widget_create_pango_context", false) | |
| 2052 | 1969 | var cls *pango.Context | |
| 2053 | 1970 | ||
| 2054 | 1971 | cret := xWidgetCreatePangoContext(x.GoPointer()) | |
| @@ -2073,7 +1990,6 @@ var xWidgetCreatePangoLayout func(uintptr, uintptr) uintptr | |||
| 2073 | 1990 | // is replaced. This can be tracked by listening to changes | |
| 2074 | 1991 | // of the [property@Gtk.Widget:root] property on the widget. | |
| 2075 | 1992 | func (x *Widget) CreatePangoLayout(TextVar *string) *pango.Layout { | |
| 2076 | - | core.LazyRegister(&xWidgetCreatePangoLayout, "GTK", "gtk_widget_create_pango_layout", false) | |
| 2077 | 1993 | var cls *pango.Layout | |
| 2078 | 1994 | ||
| 2079 | 1995 | TextVarPtr := core.GStrdupNullable(TextVar) | |
| @@ -2119,8 +2035,6 @@ var xWidgetDisposeTemplate func(uintptr, types.GType) | |||
| 2119 | 2035 | // | |
| 2120 | 2036 | // ``` | |
| 2121 | 2037 | func (x *Widget) DisposeTemplate(WidgetTypeVar types.GType) { | |
| 2122 | - | core.LazyRegister(&xWidgetDisposeTemplate, "GTK", "gtk_widget_dispose_template", false) | |
| 2123 | - | ||
| 2124 | 2038 | xWidgetDisposeTemplate(x.GoPointer(), WidgetTypeVar) | |
| 2125 | 2039 | } | |
| 2126 | 2040 | ||
| @@ -2128,8 +2042,6 @@ var xWidgetDragCheckThreshold func(uintptr, int, int, int, int) bool | |||
| 2128 | 2042 | ||
| 2129 | 2043 | // Checks to see if a drag movement has passed the GTK drag threshold. | |
| 2130 | 2044 | func (x *Widget) DragCheckThreshold(StartXVar int, StartYVar int, CurrentXVar int, CurrentYVar int) bool { | |
| 2131 | - | core.LazyRegister(&xWidgetDragCheckThreshold, "GTK", "gtk_drag_check_threshold", false) | |
| 2132 | - | ||
| 2133 | 2045 | cret := xWidgetDragCheckThreshold(x.GoPointer(), StartXVar, StartYVar, CurrentXVar, CurrentYVar) | |
| 2134 | 2046 | return cret | |
| 2135 | 2047 | } | |
| @@ -2145,8 +2057,6 @@ var xWidgetErrorBell func(uintptr) | |||
| 2145 | 2057 | // in many ways, depending on the windowing backend and the desktop | |
| 2146 | 2058 | // environment or window manager that is used. | |
| 2147 | 2059 | func (x *Widget) ErrorBell() { | |
| 2148 | - | core.LazyRegister(&xWidgetErrorBell, "GTK", "gtk_widget_error_bell", false) | |
| 2149 | - | ||
| 2150 | 2060 | xWidgetErrorBell(x.GoPointer()) | |
| 2151 | 2061 | } | |
| 2152 | 2062 | ||
| @@ -2158,8 +2068,6 @@ var xWidgetGetAllocatedBaseline func(uintptr) int | |||
| 2158 | 2068 | // for the `GtkWidget`Class.snapshot() function, and when allocating | |
| 2159 | 2069 | // child widgets in `GtkWidget`Class.size_allocate(). | |
| 2160 | 2070 | func (x *Widget) GetAllocatedBaseline() int { | |
| 2161 | - | core.LazyRegister(&xWidgetGetAllocatedBaseline, "GTK", "gtk_widget_get_allocated_baseline", false) | |
| 2162 | - | ||
| 2163 | 2071 | cret := xWidgetGetAllocatedBaseline(x.GoPointer()) | |
| 2164 | 2072 | return cret | |
| 2165 | 2073 | } | |
| @@ -2171,8 +2079,6 @@ var xWidgetGetAllocatedHeight func(uintptr) int | |||
| 2171 | 2079 | // To learn more about widget sizes, see the coordinate | |
| 2172 | 2080 | // system [overview](coordinates.html). | |
| 2173 | 2081 | func (x *Widget) GetAllocatedHeight() int { | |
| 2174 | - | core.LazyRegister(&xWidgetGetAllocatedHeight, "GTK", "gtk_widget_get_allocated_height", false) | |
| 2175 | - | ||
| 2176 | 2082 | cret := xWidgetGetAllocatedHeight(x.GoPointer()) | |
| 2177 | 2083 | return cret | |
| 2178 | 2084 | } | |
| @@ -2184,8 +2090,6 @@ var xWidgetGetAllocatedWidth func(uintptr) int | |||
| 2184 | 2090 | // To learn more about widget sizes, see the coordinate | |
| 2185 | 2091 | // system [overview](coordinates.html). | |
| 2186 | 2092 | func (x *Widget) GetAllocatedWidth() int { | |
| 2187 | - | core.LazyRegister(&xWidgetGetAllocatedWidth, "GTK", "gtk_widget_get_allocated_width", false) | |
| 2188 | - | ||
| 2189 | 2093 | cret := xWidgetGetAllocatedWidth(x.GoPointer()) | |
| 2190 | 2094 | return cret | |
| 2191 | 2095 | } | |
| @@ -2208,8 +2112,6 @@ var xWidgetGetAllocation func(uintptr, *Allocation) | |||
| 2208 | 2112 | // the assigned bounds, but not that they have exactly the bounds the | |
| 2209 | 2113 | // widget assigned. | |
| 2210 | 2114 | func (x *Widget) GetAllocation(AllocationVar *Allocation) { | |
| 2211 | - | core.LazyRegister(&xWidgetGetAllocation, "GTK", "gtk_widget_get_allocation", false) | |
| 2212 | - | ||
| 2213 | 2115 | xWidgetGetAllocation(x.GoPointer(), AllocationVar) | |
| 2214 | 2116 | } | |
| 2215 | 2117 | ||
| @@ -2225,7 +2127,6 @@ var xWidgetGetAncestor func(uintptr, types.GType) uintptr | |||
| 2225 | 2127 | // Note that unlike [method@Gtk.Widget.is_ancestor], this function | |
| 2226 | 2128 | // considers @widget to be an ancestor of itself. | |
| 2227 | 2129 | func (x *Widget) GetAncestor(WidgetTypeVar types.GType) *Widget { | |
| 2228 | - | core.LazyRegister(&xWidgetGetAncestor, "GTK", "gtk_widget_get_ancestor", false) | |
| 2229 | 2130 | var cls *Widget | |
| 2230 | 2131 | ||
| 2231 | 2132 | cret := xWidgetGetAncestor(x.GoPointer(), WidgetTypeVar) | |
| @@ -2247,8 +2148,6 @@ var xWidgetGetBaseline func(uintptr) int | |||
| 2247 | 2148 | // for the `GtkWidgetClass.snapshot()` function, and when allocating | |
| 2248 | 2149 | // child widgets in `GtkWidgetClass.size_allocate()`. | |
| 2249 | 2150 | func (x *Widget) GetBaseline() int { | |
| 2250 | - | core.LazyRegister(&xWidgetGetBaseline, "GTK", "gtk_widget_get_baseline", false) | |
| 2251 | - | ||
| 2252 | 2151 | cret := xWidgetGetBaseline(x.GoPointer()) | |
| 2253 | 2152 | return cret | |
| 2254 | 2153 | } | |
| @@ -2260,8 +2159,6 @@ var xWidgetGetCanFocus func(uintptr) bool | |||
| 2260 | 2159 | // | |
| 2261 | 2160 | // See [method@Gtk.Widget.set_can_focus]. | |
| 2262 | 2161 | func (x *Widget) GetCanFocus() bool { | |
| 2263 | - | core.LazyRegister(&xWidgetGetCanFocus, "GTK", "gtk_widget_get_can_focus", false) | |
| 2264 | - | ||
| 2265 | 2162 | cret := xWidgetGetCanFocus(x.GoPointer()) | |
| 2266 | 2163 | return cret | |
| 2267 | 2164 | } | |
| @@ -2270,8 +2167,6 @@ var xWidgetGetCanTarget func(uintptr) bool | |||
| 2270 | 2167 | ||
| 2271 | 2168 | // Queries whether the widget can be the target of pointer events. | |
| 2272 | 2169 | func (x *Widget) GetCanTarget() bool { | |
| 2273 | - | core.LazyRegister(&xWidgetGetCanTarget, "GTK", "gtk_widget_get_can_target", false) | |
| 2274 | - | ||
| 2275 | 2170 | cret := xWidgetGetCanTarget(x.GoPointer()) | |
| 2276 | 2171 | return cret | |
| 2277 | 2172 | } | |
| @@ -2286,8 +2181,6 @@ var xWidgetGetChildVisible func(uintptr) bool | |||
| 2286 | 2181 | // This function is only useful for widget implementations | |
| 2287 | 2182 | // and should never be called by an application. | |
| 2288 | 2183 | func (x *Widget) GetChildVisible() bool { | |
| 2289 | - | core.LazyRegister(&xWidgetGetChildVisible, "GTK", "gtk_widget_get_child_visible", false) | |
| 2290 | - | ||
| 2291 | 2184 | cret := xWidgetGetChildVisible(x.GoPointer()) | |
| 2292 | 2185 | return cret | |
| 2293 | 2186 | } | |
| @@ -2302,7 +2195,6 @@ var xWidgetGetClipboard func(uintptr) uintptr | |||
| 2302 | 2195 | // Note that this function always works, even when @widget is not | |
| 2303 | 2196 | // realized yet. | |
| 2304 | 2197 | func (x *Widget) GetClipboard() *gdk.Clipboard { | |
| 2305 | - | core.LazyRegister(&xWidgetGetClipboard, "GTK", "gtk_widget_get_clipboard", false) | |
| 2306 | 2198 | var cls *gdk.Clipboard | |
| 2307 | 2199 | ||
| 2308 | 2200 | cret := xWidgetGetClipboard(x.GoPointer()) | |
| @@ -2324,8 +2216,6 @@ var xWidgetGetColor func(uintptr, *gdk.RGBA) | |||
| 2324 | 2216 | // implementations that need to do custom drawing | |
| 2325 | 2217 | // with the foreground color. | |
| 2326 | 2218 | func (x *Widget) GetColor(ColorVar *gdk.RGBA) { | |
| 2327 | - | core.LazyRegister(&xWidgetGetColor, "GTK", "gtk_widget_get_color", false) | |
| 2328 | - | ||
| 2329 | 2219 | xWidgetGetColor(x.GoPointer(), ColorVar) | |
| 2330 | 2220 | } | |
| 2331 | 2221 | ||
| @@ -2333,8 +2223,6 @@ var xWidgetGetCssClasses func(uintptr) []string | |||
| 2333 | 2223 | ||
| 2334 | 2224 | // Returns the list of style classes applied to the widget. | |
| 2335 | 2225 | func (x *Widget) GetCssClasses() []string { | |
| 2336 | - | core.LazyRegister(&xWidgetGetCssClasses, "GTK", "gtk_widget_get_css_classes", false) | |
| 2337 | - | ||
| 2338 | 2226 | cret := xWidgetGetCssClasses(x.GoPointer()) | |
| 2339 | 2227 | return cret | |
| 2340 | 2228 | } | |
| @@ -2343,8 +2231,6 @@ var xWidgetGetCssName func(uintptr) string | |||
| 2343 | 2231 | ||
| 2344 | 2232 | // Returns the CSS name of the widget. | |
| 2345 | 2233 | func (x *Widget) GetCssName() string { | |
| 2346 | - | core.LazyRegister(&xWidgetGetCssName, "GTK", "gtk_widget_get_css_name", false) | |
| 2347 | - | ||
| 2348 | 2234 | cret := xWidgetGetCssName(x.GoPointer()) | |
| 2349 | 2235 | return cret | |
| 2350 | 2236 | } | |
| @@ -2355,7 +2241,6 @@ var xWidgetGetCursor func(uintptr) uintptr | |||
| 2355 | 2241 | // | |
| 2356 | 2242 | // See [method@Gtk.Widget.set_cursor] for details. | |
| 2357 | 2243 | func (x *Widget) GetCursor() *gdk.Cursor { | |
| 2358 | - | core.LazyRegister(&xWidgetGetCursor, "GTK", "gtk_widget_get_cursor", false) | |
| 2359 | 2244 | var cls *gdk.Cursor | |
| 2360 | 2245 | ||
| 2361 | 2246 | cret := xWidgetGetCursor(x.GoPointer()) | |
| @@ -2375,8 +2260,6 @@ var xWidgetGetDirection func(uintptr) TextDirection | |||
| 2375 | 2260 | // | |
| 2376 | 2261 | // See [method@Gtk.Widget.set_direction]. | |
| 2377 | 2262 | func (x *Widget) GetDirection() TextDirection { | |
| 2378 | - | core.LazyRegister(&xWidgetGetDirection, "GTK", "gtk_widget_get_direction", false) | |
| 2379 | - | ||
| 2380 | 2263 | cret := xWidgetGetDirection(x.GoPointer()) | |
| 2381 | 2264 | return cret | |
| 2382 | 2265 | } | |
| @@ -2392,7 +2275,6 @@ var xWidgetGetDisplay func(uintptr) uintptr | |||
| 2392 | 2275 | // resources when a widget has been realized, and you should | |
| 2393 | 2276 | // free those resources when the widget is unrealized. | |
| 2394 | 2277 | func (x *Widget) GetDisplay() *gdk.Display { | |
| 2395 | - | core.LazyRegister(&xWidgetGetDisplay, "GTK", "gtk_widget_get_display", false) | |
| 2396 | 2278 | var cls *gdk.Display | |
| 2397 | 2279 | ||
| 2398 | 2280 | cret := xWidgetGetDisplay(x.GoPointer()) | |
| @@ -2412,7 +2294,6 @@ var xWidgetGetFirstChild func(uintptr) uintptr | |||
| 2412 | 2294 | // | |
| 2413 | 2295 | // This function is primarily meant for widget implementations. | |
| 2414 | 2296 | func (x *Widget) GetFirstChild() *Widget { | |
| 2415 | - | core.LazyRegister(&xWidgetGetFirstChild, "GTK", "gtk_widget_get_first_child", false) | |
| 2416 | 2297 | var cls *Widget | |
| 2417 | 2298 | ||
| 2418 | 2299 | cret := xWidgetGetFirstChild(x.GoPointer()) | |
| @@ -2430,7 +2311,6 @@ var xWidgetGetFocusChild func(uintptr) uintptr | |||
| 2430 | 2311 | ||
| 2431 | 2312 | // Returns the focus child of the widget. | |
| 2432 | 2313 | func (x *Widget) GetFocusChild() *Widget { | |
| 2433 | - | core.LazyRegister(&xWidgetGetFocusChild, "GTK", "gtk_widget_get_focus_child", false) | |
| 2434 | 2314 | var cls *Widget | |
| 2435 | 2315 | ||
| 2436 | 2316 | cret := xWidgetGetFocusChild(x.GoPointer()) | |
| @@ -2451,8 +2331,6 @@ var xWidgetGetFocusOnClick func(uintptr) bool | |||
| 2451 | 2331 | // | |
| 2452 | 2332 | // See [method@Gtk.Widget.set_focus_on_click]. | |
| 2453 | 2333 | func (x *Widget) GetFocusOnClick() bool { | |
| 2454 | - | core.LazyRegister(&xWidgetGetFocusOnClick, "GTK", "gtk_widget_get_focus_on_click", false) | |
| 2455 | - | ||
| 2456 | 2334 | cret := xWidgetGetFocusOnClick(x.GoPointer()) | |
| 2457 | 2335 | return cret | |
| 2458 | 2336 | } | |
| @@ -2463,8 +2341,6 @@ var xWidgetGetFocusable func(uintptr) bool | |||
| 2463 | 2341 | // | |
| 2464 | 2342 | // See [method@Gtk.Widget.set_focusable]. | |
| 2465 | 2343 | func (x *Widget) GetFocusable() bool { | |
| 2466 | - | core.LazyRegister(&xWidgetGetFocusable, "GTK", "gtk_widget_get_focusable", false) | |
| 2467 | - | ||
| 2468 | 2344 | cret := xWidgetGetFocusable(x.GoPointer()) | |
| 2469 | 2345 | return cret | |
| 2470 | 2346 | } | |
| @@ -2475,7 +2351,6 @@ var xWidgetGetFontMap func(uintptr) uintptr | |||
| 2475 | 2351 | // | |
| 2476 | 2352 | // See [method@Gtk.Widget.set_font_map]. | |
| 2477 | 2353 | func (x *Widget) GetFontMap() *pango.FontMap { | |
| 2478 | - | core.LazyRegister(&xWidgetGetFontMap, "GTK", "gtk_widget_get_font_map", false) | |
| 2479 | 2354 | var cls *pango.FontMap | |
| 2480 | 2355 | ||
| 2481 | 2356 | cret := xWidgetGetFontMap(x.GoPointer()) | |
| @@ -2495,8 +2370,6 @@ var xWidgetGetFontOptions func(uintptr) uintptr | |||
| 2495 | 2370 | // | |
| 2496 | 2371 | // Seee [method@Gtk.Widget.set_font_options]. | |
| 2497 | 2372 | func (x *Widget) GetFontOptions() *cairo.FontOptions { | |
| 2498 | - | core.LazyRegister(&xWidgetGetFontOptions, "GTK", "gtk_widget_get_font_options", false) | |
| 2499 | - | ||
| 2500 | 2373 | cret := xWidgetGetFontOptions(x.GoPointer()) | |
| 2501 | 2374 | if cret == 0 { | |
| 2502 | 2375 | return nil | |
| @@ -2529,7 +2402,6 @@ var xWidgetGetFrameClock func(uintptr) uintptr | |||
| 2529 | 2402 | // | |
| 2530 | 2403 | // Unrealized widgets do not have a frame clock. | |
| 2531 | 2404 | func (x *Widget) GetFrameClock() *gdk.FrameClock { | |
| 2532 | - | core.LazyRegister(&xWidgetGetFrameClock, "GTK", "gtk_widget_get_frame_clock", false) | |
| 2533 | 2405 | var cls *gdk.FrameClock | |
| 2534 | 2406 | ||
| 2535 | 2407 | cret := xWidgetGetFrameClock(x.GoPointer()) | |
| @@ -2553,8 +2425,6 @@ var xWidgetGetHalign func(uintptr) Align | |||
| 2553 | 2425 | // | |
| 2554 | 2426 | // Baselines are not supported for horizontal alignment. | |
| 2555 | 2427 | func (x *Widget) GetHalign() Align { | |
| 2556 | - | core.LazyRegister(&xWidgetGetHalign, "GTK", "gtk_widget_get_halign", false) | |
| 2557 | - | ||
| 2558 | 2428 | cret := xWidgetGetHalign(x.GoPointer()) | |
| 2559 | 2429 | return cret | |
| 2560 | 2430 | } | |
| @@ -2563,8 +2433,6 @@ var xWidgetGetHasTooltip func(uintptr) bool | |||
| 2563 | 2433 | ||
| 2564 | 2434 | // Returns the current value of the `has-tooltip` property. | |
| 2565 | 2435 | func (x *Widget) GetHasTooltip() bool { | |
| 2566 | - | core.LazyRegister(&xWidgetGetHasTooltip, "GTK", "gtk_widget_get_has_tooltip", false) | |
| 2567 | - | ||
| 2568 | 2436 | cret := xWidgetGetHasTooltip(x.GoPointer()) | |
| 2569 | 2437 | return cret | |
| 2570 | 2438 | } | |
| @@ -2582,8 +2450,6 @@ var xWidgetGetHeight func(uintptr) int | |||
| 2582 | 2450 | // To learn more about widget sizes, see the coordinate | |
| 2583 | 2451 | // system [overview](coordinates.html). | |
| 2584 | 2452 | func (x *Widget) GetHeight() int { | |
| 2585 | - | core.LazyRegister(&xWidgetGetHeight, "GTK", "gtk_widget_get_height", false) | |
| 2586 | - | ||
| 2587 | 2453 | cret := xWidgetGetHeight(x.GoPointer()) | |
| 2588 | 2454 | return cret | |
| 2589 | 2455 | } | |
| @@ -2606,8 +2472,6 @@ var xWidgetGetHexpand func(uintptr) bool | |||
| 2606 | 2472 | // than computing whether the entire widget tree rooted at this widget | |
| 2607 | 2473 | // wants to expand. | |
| 2608 | 2474 | func (x *Widget) GetHexpand() bool { | |
| 2609 | - | core.LazyRegister(&xWidgetGetHexpand, "GTK", "gtk_widget_get_hexpand", false) | |
| 2610 | - | ||
| 2611 | 2475 | cret := xWidgetGetHexpand(x.GoPointer()) | |
| 2612 | 2476 | return cret | |
| 2613 | 2477 | } | |
| @@ -2624,8 +2488,6 @@ var xWidgetGetHexpandSet func(uintptr) bool | |||
| 2624 | 2488 | // There are few reasons to use this function, but it’s here | |
| 2625 | 2489 | // for completeness and consistency. | |
| 2626 | 2490 | func (x *Widget) GetHexpandSet() bool { | |
| 2627 | - | core.LazyRegister(&xWidgetGetHexpandSet, "GTK", "gtk_widget_get_hexpand_set", false) | |
| 2628 | - | ||
| 2629 | 2491 | cret := xWidgetGetHexpandSet(x.GoPointer()) | |
| 2630 | 2492 | return cret | |
| 2631 | 2493 | } | |
| @@ -2636,7 +2498,6 @@ var xWidgetGetLastChild func(uintptr) uintptr | |||
| 2636 | 2498 | // | |
| 2637 | 2499 | // This function is primarily meant for widget implementations. | |
| 2638 | 2500 | func (x *Widget) GetLastChild() *Widget { | |
| 2639 | - | core.LazyRegister(&xWidgetGetLastChild, "GTK", "gtk_widget_get_last_child", false) | |
| 2640 | 2501 | var cls *Widget | |
| 2641 | 2502 | ||
| 2642 | 2503 | cret := xWidgetGetLastChild(x.GoPointer()) | |
| @@ -2656,7 +2517,6 @@ var xWidgetGetLayoutManager func(uintptr) uintptr | |||
| 2656 | 2517 | // | |
| 2657 | 2518 | // See [method@Gtk.Widget.set_layout_manager]. | |
| 2658 | 2519 | func (x *Widget) GetLayoutManager() *LayoutManager { | |
| 2659 | - | core.LazyRegister(&xWidgetGetLayoutManager, "GTK", "gtk_widget_get_layout_manager", false) | |
| 2660 | 2520 | var cls *LayoutManager | |
| 2661 | 2521 | ||
| 2662 | 2522 | cret := xWidgetGetLayoutManager(x.GoPointer()) | |
| @@ -2674,8 +2534,6 @@ var xWidgetGetLimitEvents func(uintptr) bool | |||
| 2674 | 2534 | ||
| 2675 | 2535 | // Gets the value of the [property@Gtk.Widget:limit-events] property. | |
| 2676 | 2536 | func (x *Widget) GetLimitEvents() bool { | |
| 2677 | - | core.LazyRegister(&xWidgetGetLimitEvents, "GTK", "gtk_widget_get_limit_events", false) | |
| 2678 | - | ||
| 2679 | 2537 | cret := xWidgetGetLimitEvents(x.GoPointer()) | |
| 2680 | 2538 | return cret | |
| 2681 | 2539 | } | |
| @@ -2684,8 +2542,6 @@ var xWidgetGetMapped func(uintptr) bool | |||
| 2684 | 2542 | ||
| 2685 | 2543 | // Returns whether the widget is mapped. | |
| 2686 | 2544 | func (x *Widget) GetMapped() bool { | |
| 2687 | - | core.LazyRegister(&xWidgetGetMapped, "GTK", "gtk_widget_get_mapped", false) | |
| 2688 | - | ||
| 2689 | 2545 | cret := xWidgetGetMapped(x.GoPointer()) | |
| 2690 | 2546 | return cret | |
| 2691 | 2547 | } | |
| @@ -2694,8 +2550,6 @@ var xWidgetGetMarginBottom func(uintptr) int | |||
| 2694 | 2550 | ||
| 2695 | 2551 | // Gets the bottom margin of the widget. | |
| 2696 | 2552 | func (x *Widget) GetMarginBottom() int { | |
| 2697 | - | core.LazyRegister(&xWidgetGetMarginBottom, "GTK", "gtk_widget_get_margin_bottom", false) | |
| 2698 | - | ||
| 2699 | 2553 | cret := xWidgetGetMarginBottom(x.GoPointer()) | |
| 2700 | 2554 | return cret | |
| 2701 | 2555 | } | |
| @@ -2704,8 +2558,6 @@ var xWidgetGetMarginEnd func(uintptr) int | |||
| 2704 | 2558 | ||
| 2705 | 2559 | // Gets the end margin of the widget. | |
| 2706 | 2560 | func (x *Widget) GetMarginEnd() int { | |
| 2707 | - | core.LazyRegister(&xWidgetGetMarginEnd, "GTK", "gtk_widget_get_margin_end", false) | |
| 2708 | - | ||
| 2709 | 2561 | cret := xWidgetGetMarginEnd(x.GoPointer()) | |
| 2710 | 2562 | return cret | |
| 2711 | 2563 | } | |
| @@ -2714,8 +2566,6 @@ var xWidgetGetMarginStart func(uintptr) int | |||
| 2714 | 2566 | ||
| 2715 | 2567 | // Gets the start margin of the widget. | |
| 2716 | 2568 | func (x *Widget) GetMarginStart() int { | |
| 2717 | - | core.LazyRegister(&xWidgetGetMarginStart, "GTK", "gtk_widget_get_margin_start", false) | |
| 2718 | - | ||
| 2719 | 2569 | cret := xWidgetGetMarginStart(x.GoPointer()) | |
| 2720 | 2570 | return cret | |
| 2721 | 2571 | } | |
| @@ -2724,8 +2574,6 @@ var xWidgetGetMarginTop func(uintptr) int | |||
| 2724 | 2574 | ||
| 2725 | 2575 | // Gets the top margin of the widget. | |
| 2726 | 2576 | func (x *Widget) GetMarginTop() int { | |
| 2727 | - | core.LazyRegister(&xWidgetGetMarginTop, "GTK", "gtk_widget_get_margin_top", false) | |
| 2728 | - | ||
| 2729 | 2577 | cret := xWidgetGetMarginTop(x.GoPointer()) | |
| 2730 | 2578 | return cret | |
| 2731 | 2579 | } | |
| @@ -2736,8 +2584,6 @@ var xWidgetGetName func(uintptr) string | |||
| 2736 | 2584 | // | |
| 2737 | 2585 | // See [method@Gtk.Widget.set_name] for the significance of widget names. | |
| 2738 | 2586 | func (x *Widget) GetName() string { | |
| 2739 | - | core.LazyRegister(&xWidgetGetName, "GTK", "gtk_widget_get_name", false) | |
| 2740 | - | ||
| 2741 | 2587 | cret := xWidgetGetName(x.GoPointer()) | |
| 2742 | 2588 | return cret | |
| 2743 | 2589 | } | |
| @@ -2751,7 +2597,6 @@ var xWidgetGetNative func(uintptr) uintptr | |||
| 2751 | 2597 | // | |
| 2752 | 2598 | // `GtkNative` widgets will return themselves here. | |
| 2753 | 2599 | func (x *Widget) GetNative() *NativeBase { | |
| 2754 | - | core.LazyRegister(&xWidgetGetNative, "GTK", "gtk_widget_get_native", false) | |
| 2755 | 2600 | var cls *NativeBase | |
| 2756 | 2601 | ||
| 2757 | 2602 | cret := xWidgetGetNative(x.GoPointer()) | |
| @@ -2771,7 +2616,6 @@ var xWidgetGetNextSibling func(uintptr) uintptr | |||
| 2771 | 2616 | // | |
| 2772 | 2617 | // This function is primarily meant for widget implementations. | |
| 2773 | 2618 | func (x *Widget) GetNextSibling() *Widget { | |
| 2774 | - | core.LazyRegister(&xWidgetGetNextSibling, "GTK", "gtk_widget_get_next_sibling", false) | |
| 2775 | 2619 | var cls *Widget | |
| 2776 | 2620 | ||
| 2777 | 2621 | cret := xWidgetGetNextSibling(x.GoPointer()) | |
| @@ -2791,8 +2635,6 @@ var xWidgetGetOpacity func(uintptr) float64 | |||
| 2791 | 2635 | // | |
| 2792 | 2636 | // See [method@Gtk.Widget.set_opacity]. | |
| 2793 | 2637 | func (x *Widget) GetOpacity() float64 { | |
| 2794 | - | core.LazyRegister(&xWidgetGetOpacity, "GTK", "gtk_widget_get_opacity", false) | |
| 2795 | - | ||
| 2796 | 2638 | cret := xWidgetGetOpacity(x.GoPointer()) | |
| 2797 | 2639 | return cret | |
| 2798 | 2640 | } | |
| @@ -2801,8 +2643,6 @@ var xWidgetGetOverflow func(uintptr) Overflow | |||
| 2801 | 2643 | ||
| 2802 | 2644 | // Returns the widget’s overflow value. | |
| 2803 | 2645 | func (x *Widget) GetOverflow() Overflow { | |
| 2804 | - | core.LazyRegister(&xWidgetGetOverflow, "GTK", "gtk_widget_get_overflow", false) | |
| 2805 | - | ||
| 2806 | 2646 | cret := xWidgetGetOverflow(x.GoPointer()) | |
| 2807 | 2647 | return cret | |
| 2808 | 2648 | } | |
| @@ -2821,7 +2661,6 @@ var xWidgetGetPangoContext func(uintptr) uintptr | |||
| 2821 | 2661 | // This can be tracked by listening to changes of the | |
| 2822 | 2662 | // [property@Gtk.Widget:root] property on the widget. | |
| 2823 | 2663 | func (x *Widget) GetPangoContext() *pango.Context { | |
| 2824 | - | core.LazyRegister(&xWidgetGetPangoContext, "GTK", "gtk_widget_get_pango_context", false) | |
| 2825 | 2664 | var cls *pango.Context | |
| 2826 | 2665 | ||
| 2827 | 2666 | cret := xWidgetGetPangoContext(x.GoPointer()) | |
| @@ -2839,7 +2678,6 @@ var xWidgetGetParent func(uintptr) uintptr | |||
| 2839 | 2678 | ||
| 2840 | 2679 | // Returns the parent widget of the widget. | |
| 2841 | 2680 | func (x *Widget) GetParent() *Widget { | |
| 2842 | - | core.LazyRegister(&xWidgetGetParent, "GTK", "gtk_widget_get_parent", false) | |
| 2843 | 2681 | var cls *Widget | |
| 2844 | 2682 | ||
| 2845 | 2683 | cret := xWidgetGetParent(x.GoPointer()) | |
| @@ -2870,8 +2708,6 @@ var xWidgetGetPreferredSize func(uintptr, *Requisition, *Requisition) | |||
| 2870 | 2708 | // | |
| 2871 | 2709 | // Use [method@Gtk.Widget.measure] if you want to support baseline alignment. | |
| 2872 | 2710 | func (x *Widget) GetPreferredSize(MinimumSizeVar *Requisition, NaturalSizeVar *Requisition) { | |
| 2873 | - | core.LazyRegister(&xWidgetGetPreferredSize, "GTK", "gtk_widget_get_preferred_size", false) | |
| 2874 | - | ||
| 2875 | 2711 | xWidgetGetPreferredSize(x.GoPointer(), MinimumSizeVar, NaturalSizeVar) | |
| 2876 | 2712 | } | |
| 2877 | 2713 | ||
| @@ -2881,7 +2717,6 @@ var xWidgetGetPrevSibling func(uintptr) uintptr | |||
| 2881 | 2717 | // | |
| 2882 | 2718 | // This function is primarily meant for widget implementations. | |
| 2883 | 2719 | func (x *Widget) GetPrevSibling() *Widget { | |
| 2884 | - | core.LazyRegister(&xWidgetGetPrevSibling, "GTK", "gtk_widget_get_prev_sibling", false) | |
| 2885 | 2720 | var cls *Widget | |
| 2886 | 2721 | ||
| 2887 | 2722 | cret := xWidgetGetPrevSibling(x.GoPointer()) | |
| @@ -2905,7 +2740,6 @@ var xWidgetGetPrimaryClipboard func(uintptr) uintptr | |||
| 2905 | 2740 | // Note that this function always works, even when @widget is not | |
| 2906 | 2741 | // realized yet. | |
| 2907 | 2742 | func (x *Widget) GetPrimaryClipboard() *gdk.Clipboard { | |
| 2908 | - | core.LazyRegister(&xWidgetGetPrimaryClipboard, "GTK", "gtk_widget_get_primary_clipboard", false) | |
| 2909 | 2743 | var cls *gdk.Clipboard | |
| 2910 | 2744 | ||
| 2911 | 2745 | cret := xWidgetGetPrimaryClipboard(x.GoPointer()) | |
| @@ -2923,8 +2757,6 @@ var xWidgetGetRealized func(uintptr) bool | |||
| 2923 | 2757 | ||
| 2924 | 2758 | // Determines whether the widget is realized. | |
| 2925 | 2759 | func (x *Widget) GetRealized() bool { | |
| 2926 | - | core.LazyRegister(&xWidgetGetRealized, "GTK", "gtk_widget_get_realized", false) | |
| 2927 | - | ||
| 2928 | 2760 | cret := xWidgetGetRealized(x.GoPointer()) | |
| 2929 | 2761 | return cret | |
| 2930 | 2762 | } | |
| @@ -2937,8 +2769,6 @@ var xWidgetGetReceivesDefault func(uintptr) bool | |||
| 2937 | 2769 | // | |
| 2938 | 2770 | // See [method@Gtk.Widget.set_receives_default]. | |
| 2939 | 2771 | func (x *Widget) GetReceivesDefault() bool { | |
| 2940 | - | core.LazyRegister(&xWidgetGetReceivesDefault, "GTK", "gtk_widget_get_receives_default", false) | |
| 2941 | - | ||
| 2942 | 2772 | cret := xWidgetGetReceivesDefault(x.GoPointer()) | |
| 2943 | 2773 | return cret | |
| 2944 | 2774 | } | |
| @@ -2953,8 +2783,6 @@ var xWidgetGetRequestMode func(uintptr) SizeRequestMode | |||
| 2953 | 2783 | // either in context of their children or in context of their | |
| 2954 | 2784 | // allocation capabilities. | |
| 2955 | 2785 | func (x *Widget) GetRequestMode() SizeRequestMode { | |
| 2956 | - | core.LazyRegister(&xWidgetGetRequestMode, "GTK", "gtk_widget_get_request_mode", false) | |
| 2957 | - | ||
| 2958 | 2786 | cret := xWidgetGetRequestMode(x.GoPointer()) | |
| 2959 | 2787 | return cret | |
| 2960 | 2788 | } | |
| @@ -2968,7 +2796,6 @@ var xWidgetGetRoot func(uintptr) uintptr | |||
| 2968 | 2796 | // | |
| 2969 | 2797 | // `GtkRoot` widgets will return themselves here. | |
| 2970 | 2798 | func (x *Widget) GetRoot() *RootBase { | |
| 2971 | - | core.LazyRegister(&xWidgetGetRoot, "GTK", "gtk_widget_get_root", false) | |
| 2972 | 2799 | var cls *RootBase | |
| 2973 | 2800 | ||
| 2974 | 2801 | cret := xWidgetGetRoot(x.GoPointer()) | |
| @@ -2998,8 +2825,6 @@ var xWidgetGetScaleFactor func(uintptr) int | |||
| 2998 | 2825 | // but you probably want to use [method@Gdk.Surface.get_scale] | |
| 2999 | 2826 | // to get the fractional scale value. | |
| 3000 | 2827 | func (x *Widget) GetScaleFactor() int { | |
| 3001 | - | core.LazyRegister(&xWidgetGetScaleFactor, "GTK", "gtk_widget_get_scale_factor", false) | |
| 3002 | - | ||
| 3003 | 2828 | cret := xWidgetGetScaleFactor(x.GoPointer()) | |
| 3004 | 2829 | return cret | |
| 3005 | 2830 | } | |
| @@ -3015,8 +2840,6 @@ var xWidgetGetSensitive func(uintptr) bool | |||
| 3015 | 2840 | // by both its own and its parent widget’s sensitivity. | |
| 3016 | 2841 | // See [method@Gtk.Widget.is_sensitive]. | |
| 3017 | 2842 | func (x *Widget) GetSensitive() bool { | |
| 3018 | - | core.LazyRegister(&xWidgetGetSensitive, "GTK", "gtk_widget_get_sensitive", false) | |
| 3019 | - | ||
| 3020 | 2843 | cret := xWidgetGetSensitive(x.GoPointer()) | |
| 3021 | 2844 | return cret | |
| 3022 | 2845 | } | |
| @@ -3030,7 +2853,6 @@ var xWidgetGetSettings func(uintptr) uintptr | |||
| 3030 | 2853 | // to a particular display. If you want to monitor the widget for | |
| 3031 | 2854 | // changes in its settings, connect to the `notify::display` signal. | |
| 3032 | 2855 | func (x *Widget) GetSettings() *Settings { | |
| 3033 | - | core.LazyRegister(&xWidgetGetSettings, "GTK", "gtk_widget_get_settings", false) | |
| 3034 | 2856 | var cls *Settings | |
| 3035 | 2857 | ||
| 3036 | 2858 | cret := xWidgetGetSettings(x.GoPointer()) | |
| @@ -3059,8 +2881,6 @@ var xWidgetGetSize func(uintptr, Orientation) int | |||
| 3059 | 2881 | // To learn more about widget sizes, see the coordinate | |
| 3060 | 2882 | // system [overview](coordinates.html). | |
| 3061 | 2883 | func (x *Widget) GetSize(OrientationVar Orientation) int { | |
| 3062 | - | core.LazyRegister(&xWidgetGetSize, "GTK", "gtk_widget_get_size", false) | |
| 3063 | - | ||
| 3064 | 2884 | cret := xWidgetGetSize(x.GoPointer(), OrientationVar) | |
| 3065 | 2885 | return cret | |
| 3066 | 2886 | } | |
| @@ -3078,8 +2898,6 @@ var xWidgetGetSizeRequest func(uintptr, *int, *int) | |||
| 3078 | 2898 | // To get the size a widget will actually request, call | |
| 3079 | 2899 | // [method@Gtk.Widget.measure] instead of this function. | |
| 3080 | 2900 | func (x *Widget) GetSizeRequest(WidthVar *int, HeightVar *int) { | |
| 3081 | - | core.LazyRegister(&xWidgetGetSizeRequest, "GTK", "gtk_widget_get_size_request", false) | |
| 3082 | - | ||
| 3083 | 2901 | xWidgetGetSizeRequest(x.GoPointer(), WidthVar, HeightVar) | |
| 3084 | 2902 | } | |
| 3085 | 2903 | ||
| @@ -3095,8 +2913,6 @@ var xWidgetGetStateFlags func(uintptr) StateFlags | |||
| 3095 | 2913 | // [flags@Gtk.StateFlags] to pass to a [class@Gtk.StyleContext] | |
| 3096 | 2914 | // method, you should look at [method@Gtk.StyleContext.get_state]. | |
| 3097 | 2915 | func (x *Widget) GetStateFlags() StateFlags { | |
| 3098 | - | core.LazyRegister(&xWidgetGetStateFlags, "GTK", "gtk_widget_get_state_flags", false) | |
| 3099 | - | ||
| 3100 | 2916 | cret := xWidgetGetStateFlags(x.GoPointer()) | |
| 3101 | 2917 | return cret | |
| 3102 | 2918 | } | |
| @@ -3108,7 +2924,6 @@ var xWidgetGetStyleContext func(uintptr) uintptr | |||
| 3108 | 2924 | // The returned object is guaranteed to be the same | |
| 3109 | 2925 | // for the lifetime of @widget. | |
| 3110 | 2926 | func (x *Widget) GetStyleContext() *StyleContext { | |
| 3111 | - | core.LazyRegister(&xWidgetGetStyleContext, "GTK", "gtk_widget_get_style_context", false) | |
| 3112 | 2927 | var cls *StyleContext | |
| 3113 | 2928 | ||
| 3114 | 2929 | cret := xWidgetGetStyleContext(x.GoPointer()) | |
| @@ -3135,7 +2950,6 @@ var xWidgetGetTemplateChild func(uintptr, types.GType, string) uintptr | |||
| 3135 | 2950 | // to the @widget_type which declared the child and is meant for language | |
| 3136 | 2951 | // bindings which cannot easily make use of the GObject structure offsets. | |
| 3137 | 2952 | func (x *Widget) GetTemplateChild(WidgetTypeVar types.GType, NameVar string) *gobject.Object { | |
| 3138 | - | core.LazyRegister(&xWidgetGetTemplateChild, "GTK", "gtk_widget_get_template_child", false) | |
| 3139 | 2953 | var cls *gobject.Object | |
| 3140 | 2954 | ||
| 3141 | 2955 | cret := xWidgetGetTemplateChild(x.GoPointer(), WidgetTypeVar, NameVar) | |
| @@ -3157,8 +2971,6 @@ var xWidgetGetTooltipMarkup func(uintptr) string | |||
| 3157 | 2971 | // [method@Gtk.Widget.set_tooltip_markup], this | |
| 3158 | 2972 | // function returns `NULL`. | |
| 3159 | 2973 | func (x *Widget) GetTooltipMarkup() string { | |
| 3160 | - | core.LazyRegister(&xWidgetGetTooltipMarkup, "GTK", "gtk_widget_get_tooltip_markup", false) | |
| 3161 | - | ||
| 3162 | 2974 | cret := xWidgetGetTooltipMarkup(x.GoPointer()) | |
| 3163 | 2975 | return cret | |
| 3164 | 2976 | } | |
| @@ -3171,8 +2983,6 @@ var xWidgetGetTooltipText func(uintptr) string | |||
| 3171 | 2983 | // [method@Gtk.Widget.set_tooltip_markup], | |
| 3172 | 2984 | // this function will return the escaped text. | |
| 3173 | 2985 | func (x *Widget) GetTooltipText() string { | |
| 3174 | - | core.LazyRegister(&xWidgetGetTooltipText, "GTK", "gtk_widget_get_tooltip_text", false) | |
| 3175 | - | ||
| 3176 | 2986 | cret := xWidgetGetTooltipText(x.GoPointer()) | |
| 3177 | 2987 | return cret | |
| 3178 | 2988 | } | |
| @@ -3181,8 +2991,6 @@ var xWidgetGetValign func(uintptr) Align | |||
| 3181 | 2991 | ||
| 3182 | 2992 | // Gets the vertical alignment of the widget. | |
| 3183 | 2993 | func (x *Widget) GetValign() Align { | |
| 3184 | - | core.LazyRegister(&xWidgetGetValign, "GTK", "gtk_widget_get_valign", false) | |
| 3185 | - | ||
| 3186 | 2994 | cret := xWidgetGetValign(x.GoPointer()) | |
| 3187 | 2995 | return cret | |
| 3188 | 2996 | } | |
| @@ -3194,8 +3002,6 @@ var xWidgetGetVexpand func(uintptr) bool | |||
| 3194 | 3002 | // | |
| 3195 | 3003 | // See [method@Gtk.Widget.get_hexpand] for more detail. | |
| 3196 | 3004 | func (x *Widget) GetVexpand() bool { | |
| 3197 | - | core.LazyRegister(&xWidgetGetVexpand, "GTK", "gtk_widget_get_vexpand", false) | |
| 3198 | - | ||
| 3199 | 3005 | cret := xWidgetGetVexpand(x.GoPointer()) | |
| 3200 | 3006 | return cret | |
| 3201 | 3007 | } | |
| @@ -3206,8 +3012,6 @@ var xWidgetGetVexpandSet func(uintptr) bool | |||
| 3206 | 3012 | // | |
| 3207 | 3013 | // See [method@Gtk.Widget.get_hexpand_set] for more detail. | |
| 3208 | 3014 | func (x *Widget) GetVexpandSet() bool { | |
| 3209 | - | core.LazyRegister(&xWidgetGetVexpandSet, "GTK", "gtk_widget_get_vexpand_set", false) | |
| 3210 | - | ||
| 3211 | 3015 | cret := xWidgetGetVexpandSet(x.GoPointer()) | |
| 3212 | 3016 | return cret | |
| 3213 | 3017 | } | |
| @@ -3225,8 +3029,6 @@ var xWidgetGetVisible func(uintptr) bool | |||
| 3225 | 3029 | // | |
| 3226 | 3030 | // See [method@Gtk.Widget.set_visible]. | |
| 3227 | 3031 | func (x *Widget) GetVisible() bool { | |
| 3228 | - | core.LazyRegister(&xWidgetGetVisible, "GTK", "gtk_widget_get_visible", false) | |
| 3229 | - | ||
| 3230 | 3032 | cret := xWidgetGetVisible(x.GoPointer()) | |
| 3231 | 3033 | return cret | |
| 3232 | 3034 | } | |
| @@ -3244,8 +3046,6 @@ var xWidgetGetWidth func(uintptr) int | |||
| 3244 | 3046 | // To learn more about widget sizes, see the coordinate | |
| 3245 | 3047 | // system [overview](coordinates.html). | |
| 3246 | 3048 | func (x *Widget) GetWidth() int { | |
| 3247 | - | core.LazyRegister(&xWidgetGetWidth, "GTK", "gtk_widget_get_width", false) | |
| 3248 | - | ||
| 3249 | 3049 | cret := xWidgetGetWidth(x.GoPointer()) | |
| 3250 | 3050 | return cret | |
| 3251 | 3051 | } | |
| @@ -3262,8 +3062,6 @@ var xWidgetGrabFocus func(uintptr) bool | |||
| 3262 | 3062 | // Calling [method@Gtk.Widget.grab_focus] on an already focused widget | |
| 3263 | 3063 | // is allowed, should not have an effect, and return true. | |
| 3264 | 3064 | func (x *Widget) GrabFocus() bool { | |
| 3265 | - | core.LazyRegister(&xWidgetGrabFocus, "GTK", "gtk_widget_grab_focus", false) | |
| 3266 | - | ||
| 3267 | 3065 | cret := xWidgetGrabFocus(x.GoPointer()) | |
| 3268 | 3066 | return cret | |
| 3269 | 3067 | } | |
| @@ -3272,8 +3070,6 @@ var xWidgetHasCssClass func(uintptr, string) bool | |||
| 3272 | 3070 | ||
| 3273 | 3071 | // Returns whether a style class is currently applied to the widget. | |
| 3274 | 3072 | func (x *Widget) HasCssClass(CssClassVar string) bool { | |
| 3275 | - | core.LazyRegister(&xWidgetHasCssClass, "GTK", "gtk_widget_has_css_class", false) | |
| 3276 | - | ||
| 3277 | 3073 | cret := xWidgetHasCssClass(x.GoPointer(), CssClassVar) | |
| 3278 | 3074 | return cret | |
| 3279 | 3075 | } | |
| @@ -3283,8 +3079,6 @@ var xWidgetHasDefault func(uintptr) bool | |||
| 3283 | 3079 | // Determines whether the widget is the current default widget | |
| 3284 | 3080 | // within its toplevel. | |
| 3285 | 3081 | func (x *Widget) HasDefault() bool { | |
| 3286 | - | core.LazyRegister(&xWidgetHasDefault, "GTK", "gtk_widget_has_default", false) | |
| 3287 | - | ||
| 3288 | 3082 | cret := xWidgetHasDefault(x.GoPointer()) | |
| 3289 | 3083 | return cret | |
| 3290 | 3084 | } | |
| @@ -3297,8 +3091,6 @@ var xWidgetHasFocus func(uintptr) bool | |||
| 3297 | 3091 | // having the global input focus, and only having the focus | |
| 3298 | 3092 | // within a toplevel. | |
| 3299 | 3093 | func (x *Widget) HasFocus() bool { | |
| 3300 | - | core.LazyRegister(&xWidgetHasFocus, "GTK", "gtk_widget_has_focus", false) | |
| 3301 | - | ||
| 3302 | 3094 | cret := xWidgetHasFocus(x.GoPointer()) | |
| 3303 | 3095 | return cret | |
| 3304 | 3096 | } | |
| @@ -3316,8 +3108,6 @@ var xWidgetHasVisibleFocus func(uintptr) bool | |||
| 3316 | 3108 | // To find out if the widget has the global input focus, use | |
| 3317 | 3109 | // [method@Gtk.Widget.has_focus]. | |
| 3318 | 3110 | func (x *Widget) HasVisibleFocus() bool { | |
| 3319 | - | core.LazyRegister(&xWidgetHasVisibleFocus, "GTK", "gtk_widget_has_visible_focus", false) | |
| 3320 | - | ||
| 3321 | 3111 | cret := xWidgetHasVisibleFocus(x.GoPointer()) | |
| 3322 | 3112 | return cret | |
| 3323 | 3113 | } | |
| @@ -3328,8 +3118,6 @@ var xWidgetHide func(uintptr) | |||
| 3328 | 3118 | // | |
| 3329 | 3119 | // This is causing the widget to be hidden (invisible to the user). | |
| 3330 | 3120 | func (x *Widget) Hide() { | |
| 3331 | - | core.LazyRegister(&xWidgetHide, "GTK", "gtk_widget_hide", false) | |
| 3332 | - | ||
| 3333 | 3121 | xWidgetHide(x.GoPointer()) | |
| 3334 | 3122 | } | |
| 3335 | 3123 | ||
| @@ -3340,8 +3128,6 @@ var xWidgetInDestruction func(uintptr) bool | |||
| 3340 | 3128 | // This information can sometimes be used to avoid doing | |
| 3341 | 3129 | // unnecessary work. | |
| 3342 | 3130 | func (x *Widget) InDestruction() bool { | |
| 3343 | - | core.LazyRegister(&xWidgetInDestruction, "GTK", "gtk_widget_in_destruction", false) | |
| 3344 | - | ||
| 3345 | 3131 | cret := xWidgetInDestruction(x.GoPointer()) | |
| 3346 | 3132 | return cret | |
| 3347 | 3133 | } | |
| @@ -3369,8 +3155,6 @@ var xWidgetInitTemplate func(uintptr) | |||
| 3369 | 3155 | // A good rule of thumb is to call this function as the first thing in | |
| 3370 | 3156 | // an instance initialization function. | |
| 3371 | 3157 | func (x *Widget) InitTemplate() { | |
| 3372 | - | core.LazyRegister(&xWidgetInitTemplate, "GTK", "gtk_widget_init_template", false) | |
| 3373 | - | ||
| 3374 | 3158 | xWidgetInitTemplate(x.GoPointer()) | |
| 3375 | 3159 | } | |
| 3376 | 3160 | ||
| @@ -3390,8 +3174,6 @@ var xWidgetInsertActionGroup func(uintptr, string, uintptr) | |||
| 3390 | 3174 | // If @group is `NULL`, a previously inserted group for @name is | |
| 3391 | 3175 | // removed from @widget. | |
| 3392 | 3176 | func (x *Widget) InsertActionGroup(NameVar string, GroupVar gio.ActionGroup) { | |
| 3393 | - | core.LazyRegister(&xWidgetInsertActionGroup, "GTK", "gtk_widget_insert_action_group", false) | |
| 3394 | - | ||
| 3395 | 3177 | xWidgetInsertActionGroup(x.GoPointer(), NameVar, GroupVar.GoPointer()) | |
| 3396 | 3178 | } | |
| 3397 | 3179 | ||
| @@ -3416,8 +3198,6 @@ var xWidgetInsertAfter func(uintptr, uintptr, uintptr) | |||
| 3416 | 3198 | // This function is primarily meant for widget implementations; if you are | |
| 3417 | 3199 | // just using a widget, you *must* use its own API for adding children. | |
| 3418 | 3200 | func (x *Widget) InsertAfter(ParentVar *Widget, PreviousSiblingVar *Widget) { | |
| 3419 | - | core.LazyRegister(&xWidgetInsertAfter, "GTK", "gtk_widget_insert_after", false) | |
| 3420 | - | ||
| 3421 | 3201 | xWidgetInsertAfter(x.GoPointer(), ParentVar.GoPointer(), PreviousSiblingVar.GoPointer()) | |
| 3422 | 3202 | } | |
| 3423 | 3203 | ||
| @@ -3441,8 +3221,6 @@ var xWidgetInsertBefore func(uintptr, uintptr, uintptr) | |||
| 3441 | 3221 | // This function is primarily meant for widget implementations; if you are | |
| 3442 | 3222 | // just using a widget, you *must* use its own API for adding children. | |
| 3443 | 3223 | func (x *Widget) InsertBefore(ParentVar *Widget, NextSiblingVar *Widget) { | |
| 3444 | - | core.LazyRegister(&xWidgetInsertBefore, "GTK", "gtk_widget_insert_before", false) | |
| 3445 | - | ||
| 3446 | 3224 | xWidgetInsertBefore(x.GoPointer(), ParentVar.GoPointer(), NextSiblingVar.GoPointer()) | |
| 3447 | 3225 | } | |
| 3448 | 3226 | ||
| @@ -3450,8 +3228,6 @@ var xWidgetIsAncestor func(uintptr, uintptr) bool | |||
| 3450 | 3228 | ||
| 3451 | 3229 | // Determines whether the widget is a descendent of @ancestor. | |
| 3452 | 3230 | func (x *Widget) IsAncestor(AncestorVar *Widget) bool { | |
| 3453 | - | core.LazyRegister(&xWidgetIsAncestor, "GTK", "gtk_widget_is_ancestor", false) | |
| 3454 | - | ||
| 3455 | 3231 | cret := xWidgetIsAncestor(x.GoPointer(), AncestorVar.GoPointer()) | |
| 3456 | 3232 | return cret | |
| 3457 | 3233 | } | |
| @@ -3462,8 +3238,6 @@ var xWidgetIsDrawable func(uintptr) bool | |||
| 3462 | 3238 | // | |
| 3463 | 3239 | // A widget can be drawn if it is mapped and visible. | |
| 3464 | 3240 | func (x *Widget) IsDrawable() bool { | |
| 3465 | - | core.LazyRegister(&xWidgetIsDrawable, "GTK", "gtk_widget_is_drawable", false) | |
| 3466 | - | ||
| 3467 | 3241 | cret := xWidgetIsDrawable(x.GoPointer()) | |
| 3468 | 3242 | return cret | |
| 3469 | 3243 | } | |
| @@ -3478,8 +3252,6 @@ var xWidgetIsFocus func(uintptr) bool | |||
| 3478 | 3252 | // will only be set if the toplevel widget additionally has the | |
| 3479 | 3253 | // global input focus. | |
| 3480 | 3254 | func (x *Widget) IsFocus() bool { | |
| 3481 | - | core.LazyRegister(&xWidgetIsFocus, "GTK", "gtk_widget_is_focus", false) | |
| 3482 | - | ||
| 3483 | 3255 | cret := xWidgetIsFocus(x.GoPointer()) | |
| 3484 | 3256 | return cret | |
| 3485 | 3257 | } | |
| @@ -3491,8 +3263,6 @@ var xWidgetIsSensitive func(uintptr) bool | |||
| 3491 | 3263 | // This means it is sensitive itself and also its | |
| 3492 | 3264 | // parent widget is sensitive. | |
| 3493 | 3265 | func (x *Widget) IsSensitive() bool { | |
| 3494 | - | core.LazyRegister(&xWidgetIsSensitive, "GTK", "gtk_widget_is_sensitive", false) | |
| 3495 | - | ||
| 3496 | 3266 | cret := xWidgetIsSensitive(x.GoPointer()) | |
| 3497 | 3267 | return cret | |
| 3498 | 3268 | } | |
| @@ -3507,8 +3277,6 @@ var xWidgetIsVisible func(uintptr) bool | |||
| 3507 | 3277 | // See also [method@Gtk.Widget.get_visible] and | |
| 3508 | 3278 | // [method@Gtk.Widget.set_visible]. | |
| 3509 | 3279 | func (x *Widget) IsVisible() bool { | |
| 3510 | - | core.LazyRegister(&xWidgetIsVisible, "GTK", "gtk_widget_is_visible", false) | |
| 3511 | - | ||
| 3512 | 3280 | cret := xWidgetIsVisible(x.GoPointer()) | |
| 3513 | 3281 | return cret | |
| 3514 | 3282 | } | |
| @@ -3544,8 +3312,6 @@ var xWidgetKeynavFailed func(uintptr, DirectionType) bool | |||
| 3544 | 3312 | // the entire row with the cursor keys, as e.g. known from user | |
| 3545 | 3313 | // interfaces that require entering license keys. | |
| 3546 | 3314 | func (x *Widget) KeynavFailed(DirectionVar DirectionType) bool { | |
| 3547 | - | core.LazyRegister(&xWidgetKeynavFailed, "GTK", "gtk_widget_keynav_failed", false) | |
| 3548 | - | ||
| 3549 | 3315 | cret := xWidgetKeynavFailed(x.GoPointer(), DirectionVar) | |
| 3550 | 3316 | return cret | |
| 3551 | 3317 | } | |
| @@ -3564,8 +3330,6 @@ var xWidgetListMnemonicLabels func(uintptr) uintptr | |||
| 3564 | 3330 | // must call `g_list_foreach (result, (GFunc)g_object_ref, NULL)` | |
| 3565 | 3331 | // first, and then unref all the widgets afterwards. | |
| 3566 | 3332 | func (x *Widget) ListMnemonicLabels() *glib.List { | |
| 3567 | - | core.LazyRegister(&xWidgetListMnemonicLabels, "GTK", "gtk_widget_list_mnemonic_labels", false) | |
| 3568 | - | ||
| 3569 | 3333 | cret := xWidgetListMnemonicLabels(x.GoPointer()) | |
| 3570 | 3334 | if cret == 0 { | |
| 3571 | 3335 | return nil | |
| @@ -3579,8 +3343,6 @@ var xWidgetMap func(uintptr) | |||
| 3579 | 3343 | // | |
| 3580 | 3344 | // This function is only for use in widget implementations. | |
| 3581 | 3345 | func (x *Widget) Map() { | |
| 3582 | - | core.LazyRegister(&xWidgetMap, "GTK", "gtk_widget_map", false) | |
| 3583 | - | ||
| 3584 | 3346 | xWidgetMap(x.GoPointer()) | |
| 3585 | 3347 | } | |
| 3586 | 3348 | ||
| @@ -3595,8 +3357,6 @@ var xWidgetMeasure func(uintptr, Orientation, int, *int, *int, *int, *int) | |||
| 3595 | 3357 | // See [GtkWidget’s geometry management section](class.Widget.html#height-for-width-geometry-management) for | |
| 3596 | 3358 | // a more details on implementing `GtkWidgetClass.measure()`. | |
| 3597 | 3359 | 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 | - | ||
| 3600 | 3360 | xWidgetMeasure(x.GoPointer(), OrientationVar, ForSizeVar, MinimumVar, NaturalVar, MinimumBaselineVar, NaturalBaselineVar) | |
| 3601 | 3361 | } | |
| 3602 | 3362 | ||
| @@ -3604,8 +3364,6 @@ var xWidgetMnemonicActivate func(uintptr, bool) bool | |||
| 3604 | 3364 | ||
| 3605 | 3365 | // Emits the [signal@Gtk.Widget::mnemonic-activate] signal. | |
| 3606 | 3366 | func (x *Widget) MnemonicActivate(GroupCyclingVar bool) bool { | |
| 3607 | - | core.LazyRegister(&xWidgetMnemonicActivate, "GTK", "gtk_widget_mnemonic_activate", false) | |
| 3608 | - | ||
| 3609 | 3367 | cret := xWidgetMnemonicActivate(x.GoPointer(), GroupCyclingVar) | |
| 3610 | 3368 | return cret | |
| 3611 | 3369 | } | |
| @@ -3621,7 +3379,6 @@ var xWidgetObserveChildren func(uintptr) uintptr | |||
| 3621 | 3379 | // Applications should try hard to avoid calling this function | |
| 3622 | 3380 | // because of the slowdowns. | |
| 3623 | 3381 | func (x *Widget) ObserveChildren() *gio.ListModelBase { | |
| 3624 | - | core.LazyRegister(&xWidgetObserveChildren, "GTK", "gtk_widget_observe_children", false) | |
| 3625 | 3382 | var cls *gio.ListModelBase | |
| 3626 | 3383 | ||
| 3627 | 3384 | cret := xWidgetObserveChildren(x.GoPointer()) | |
| @@ -3645,7 +3402,6 @@ var xWidgetObserveControllers func(uintptr) uintptr | |||
| 3645 | 3402 | // Applications should try hard to avoid calling this function | |
| 3646 | 3403 | // because of the slowdowns. | |
| 3647 | 3404 | func (x *Widget) ObserveControllers() *gio.ListModelBase { | |
| 3648 | - | core.LazyRegister(&xWidgetObserveControllers, "GTK", "gtk_widget_observe_controllers", false) | |
| 3649 | 3405 | var cls *gio.ListModelBase | |
| 3650 | 3406 | ||
| 3651 | 3407 | cret := xWidgetObserveControllers(x.GoPointer()) | |
| @@ -3675,7 +3431,6 @@ var xWidgetPick func(uintptr, float64, float64, PickFlags) uintptr | |||
| 3675 | 3431 | // below the mouse cursor for purposes of hover highlighting and | |
| 3676 | 3432 | // delivering events. | |
| 3677 | 3433 | func (x *Widget) Pick(XVar float64, YVar float64, FlagsVar PickFlags) *Widget { | |
| 3678 | - | core.LazyRegister(&xWidgetPick, "GTK", "gtk_widget_pick", false) | |
| 3679 | 3434 | var cls *Widget | |
| 3680 | 3435 | ||
| 3681 | 3436 | cret := xWidgetPick(x.GoPointer(), XVar, YVar, FlagsVar) | |
| @@ -3702,8 +3457,6 @@ var xWidgetQueueAllocate func(uintptr) | |||
| 3702 | 3457 | // | |
| 3703 | 3458 | // This function is only for use in widget implementations. | |
| 3704 | 3459 | func (x *Widget) QueueAllocate() { | |
| 3705 | - | core.LazyRegister(&xWidgetQueueAllocate, "GTK", "gtk_widget_queue_allocate", false) | |
| 3706 | - | ||
| 3707 | 3460 | xWidgetQueueAllocate(x.GoPointer()) | |
| 3708 | 3461 | } | |
| 3709 | 3462 | ||
| @@ -3717,8 +3470,6 @@ var xWidgetQueueDraw func(uintptr) | |||
| 3717 | 3470 | // This means @widget's [vfunc@Gtk.Widget.snapshot] | |
| 3718 | 3471 | // implementation will be called. | |
| 3719 | 3472 | func (x *Widget) QueueDraw() { | |
| 3720 | - | core.LazyRegister(&xWidgetQueueDraw, "GTK", "gtk_widget_queue_draw", false) | |
| 3721 | - | ||
| 3722 | 3473 | xWidgetQueueDraw(x.GoPointer()) | |
| 3723 | 3474 | } | |
| 3724 | 3475 | ||
| @@ -3738,8 +3489,6 @@ var xWidgetQueueResize func(uintptr) | |||
| 3738 | 3489 | // | |
| 3739 | 3490 | // This function is only for use in widget implementations. | |
| 3740 | 3491 | func (x *Widget) QueueResize() { | |
| 3741 | - | core.LazyRegister(&xWidgetQueueResize, "GTK", "gtk_widget_queue_resize", false) | |
| 3742 | - | ||
| 3743 | 3492 | xWidgetQueueResize(x.GoPointer()) | |
| 3744 | 3493 | } | |
| 3745 | 3494 | ||
| @@ -3762,8 +3511,6 @@ var xWidgetRealize func(uintptr) | |||
| 3762 | 3511 | // called after the widget is realized automatically, such as | |
| 3763 | 3512 | // [signal@Gtk.Widget::realize]. | |
| 3764 | 3513 | func (x *Widget) Realize() { | |
| 3765 | - | core.LazyRegister(&xWidgetRealize, "GTK", "gtk_widget_realize", false) | |
| 3766 | - | ||
| 3767 | 3514 | xWidgetRealize(x.GoPointer()) | |
| 3768 | 3515 | } | |
| 3769 | 3516 | ||
| @@ -3777,8 +3524,6 @@ var xWidgetRemoveController func(uintptr, uintptr) | |||
| 3777 | 3524 | // Widgets will remove all event controllers automatically when they | |
| 3778 | 3525 | // are destroyed, there is normally no need to call this function. | |
| 3779 | 3526 | func (x *Widget) RemoveController(ControllerVar *EventController) { | |
| 3780 | - | core.LazyRegister(&xWidgetRemoveController, "GTK", "gtk_widget_remove_controller", false) | |
| 3781 | - | ||
| 3782 | 3527 | xWidgetRemoveController(x.GoPointer(), ControllerVar.GoPointer()) | |
| 3783 | 3528 | } | |
| 3784 | 3529 | ||
| @@ -3788,8 +3533,6 @@ var xWidgetRemoveCssClass func(uintptr, string) | |||
| 3788 | 3533 | // | |
| 3789 | 3534 | // After this, the style of @widget will stop matching for @css_class. | |
| 3790 | 3535 | func (x *Widget) RemoveCssClass(CssClassVar string) { | |
| 3791 | - | core.LazyRegister(&xWidgetRemoveCssClass, "GTK", "gtk_widget_remove_css_class", false) | |
| 3792 | - | ||
| 3793 | 3536 | xWidgetRemoveCssClass(x.GoPointer(), CssClassVar) | |
| 3794 | 3537 | } | |
| 3795 | 3538 | ||
| @@ -3802,8 +3545,6 @@ var xWidgetRemoveMnemonicLabel func(uintptr, uintptr) | |||
| 3802 | 3545 | // The widget must have previously been added to the list with | |
| 3803 | 3546 | // [method@Gtk.Widget.add_mnemonic_label]. | |
| 3804 | 3547 | func (x *Widget) RemoveMnemonicLabel(LabelVar *Widget) { | |
| 3805 | - | core.LazyRegister(&xWidgetRemoveMnemonicLabel, "GTK", "gtk_widget_remove_mnemonic_label", false) | |
| 3806 | - | ||
| 3807 | 3548 | xWidgetRemoveMnemonicLabel(x.GoPointer(), LabelVar.GoPointer()) | |
| 3808 | 3549 | } | |
| 3809 | 3550 | ||
| @@ -3812,8 +3553,6 @@ var xWidgetRemoveTickCallback func(uintptr, uint) | |||
| 3812 | 3553 | // Removes a tick callback previously registered with | |
| 3813 | 3554 | // [method@Gtk.Widget.add_tick_callback]. | |
| 3814 | 3555 | func (x *Widget) RemoveTickCallback(IdVar uint) { | |
| 3815 | - | core.LazyRegister(&xWidgetRemoveTickCallback, "GTK", "gtk_widget_remove_tick_callback", false) | |
| 3816 | - | ||
| 3817 | 3556 | xWidgetRemoveTickCallback(x.GoPointer(), IdVar) | |
| 3818 | 3557 | } | |
| 3819 | 3558 | ||
| @@ -3834,8 +3573,6 @@ var xWidgetSetCanFocus func(uintptr, bool) | |||
| 3834 | 3573 | // See [method@Gtk.Widget.grab_focus] for actually setting | |
| 3835 | 3574 | // the input focus on a widget. | |
| 3836 | 3575 | func (x *Widget) SetCanFocus(CanFocusVar bool) { | |
| 3837 | - | core.LazyRegister(&xWidgetSetCanFocus, "GTK", "gtk_widget_set_can_focus", false) | |
| 3838 | - | ||
| 3839 | 3576 | xWidgetSetCanFocus(x.GoPointer(), CanFocusVar) | |
| 3840 | 3577 | } | |
| 3841 | 3578 | ||
| @@ -3843,8 +3580,6 @@ var xWidgetSetCanTarget func(uintptr, bool) | |||
| 3843 | 3580 | ||
| 3844 | 3581 | // Sets whether the widget can be the target of pointer events. | |
| 3845 | 3582 | func (x *Widget) SetCanTarget(CanTargetVar bool) { | |
| 3846 | - | core.LazyRegister(&xWidgetSetCanTarget, "GTK", "gtk_widget_set_can_target", false) | |
| 3847 | - | ||
| 3848 | 3583 | xWidgetSetCanTarget(x.GoPointer(), CanTargetVar) | |
| 3849 | 3584 | } | |
| 3850 | 3585 | ||
| @@ -3867,8 +3602,6 @@ var xWidgetSetChildVisible func(uintptr, bool) | |||
| 3867 | 3602 | // This function is only useful for widget implementations | |
| 3868 | 3603 | // and should never be called by an application. | |
| 3869 | 3604 | func (x *Widget) SetChildVisible(ChildVisibleVar bool) { | |
| 3870 | - | core.LazyRegister(&xWidgetSetChildVisible, "GTK", "gtk_widget_set_child_visible", false) | |
| 3871 | - | ||
| 3872 | 3605 | xWidgetSetChildVisible(x.GoPointer(), ChildVisibleVar) | |
| 3873 | 3606 | } | |
| 3874 | 3607 | ||
| @@ -3876,8 +3609,6 @@ var xWidgetSetCssClasses func(uintptr, []string) | |||
| 3876 | 3609 | ||
| 3877 | 3610 | // Replaces the current style classes of the widget with @classes. | |
| 3878 | 3611 | func (x *Widget) SetCssClasses(ClassesVar []string) { | |
| 3879 | - | core.LazyRegister(&xWidgetSetCssClasses, "GTK", "gtk_widget_set_css_classes", false) | |
| 3880 | - | ||
| 3881 | 3612 | xWidgetSetCssClasses(x.GoPointer(), ClassesVar) | |
| 3882 | 3613 | } | |
| 3883 | 3614 | ||
| @@ -3889,8 +3620,6 @@ var xWidgetSetCursor func(uintptr, uintptr) | |||
| 3889 | 3620 | // If the @cursor is `NULL`, @widget will use the cursor | |
| 3890 | 3621 | // inherited from its parent. | |
| 3891 | 3622 | func (x *Widget) SetCursor(CursorVar *gdk.Cursor) { | |
| 3892 | - | core.LazyRegister(&xWidgetSetCursor, "GTK", "gtk_widget_set_cursor", false) | |
| 3893 | - | ||
| 3894 | 3623 | xWidgetSetCursor(x.GoPointer(), CursorVar.GoPointer()) | |
| 3895 | 3624 | } | |
| 3896 | 3625 | ||
| @@ -3908,8 +3637,6 @@ var xWidgetSetCursorFromName func(uintptr, uintptr) | |||
| 3908 | 3637 | // will do the same as calling [method@Gtk.Widget.set_cursor] | |
| 3909 | 3638 | // with a `NULL` cursor. | |
| 3910 | 3639 | func (x *Widget) SetCursorFromName(NameVar *string) { | |
| 3911 | - | core.LazyRegister(&xWidgetSetCursorFromName, "GTK", "gtk_widget_set_cursor_from_name", false) | |
| 3912 | - | ||
| 3913 | 3640 | NameVarPtr := core.GStrdupNullable(NameVar) | |
| 3914 | 3641 | defer core.GFreeNullable(NameVarPtr) | |
| 3915 | 3642 | ||
| @@ -3934,8 +3661,6 @@ var xWidgetSetDirection func(uintptr, TextDirection) | |||
| 3934 | 3661 | // If the direction is set to [enum@Gtk.TextDirection.none], then | |
| 3935 | 3662 | // the value set by [func@Gtk.Widget.set_default_direction] will be used. | |
| 3936 | 3663 | func (x *Widget) SetDirection(DirVar TextDirection) { | |
| 3937 | - | core.LazyRegister(&xWidgetSetDirection, "GTK", "gtk_widget_set_direction", false) | |
| 3938 | - | ||
| 3939 | 3664 | xWidgetSetDirection(x.GoPointer(), DirVar) | |
| 3940 | 3665 | } | |
| 3941 | 3666 | ||
| @@ -3947,8 +3672,6 @@ var xWidgetSetFocusChild func(uintptr, uintptr) | |||
| 3947 | 3672 | // If you want a certain widget to get the input focus, call | |
| 3948 | 3673 | // [method@Gtk.Widget.grab_focus] on it. | |
| 3949 | 3674 | func (x *Widget) SetFocusChild(ChildVar *Widget) { | |
| 3950 | - | core.LazyRegister(&xWidgetSetFocusChild, "GTK", "gtk_widget_set_focus_child", false) | |
| 3951 | - | ||
| 3952 | 3675 | xWidgetSetFocusChild(x.GoPointer(), ChildVar.GoPointer()) | |
| 3953 | 3676 | } | |
| 3954 | 3677 | ||
| @@ -3961,8 +3684,6 @@ var xWidgetSetFocusOnClick func(uintptr, bool) | |||
| 3961 | 3684 | // toolbars where you don’t want the keyboard focus removed from | |
| 3962 | 3685 | // the main area of the application. | |
| 3963 | 3686 | func (x *Widget) SetFocusOnClick(FocusOnClickVar bool) { | |
| 3964 | - | core.LazyRegister(&xWidgetSetFocusOnClick, "GTK", "gtk_widget_set_focus_on_click", false) | |
| 3965 | - | ||
| 3966 | 3687 | xWidgetSetFocusOnClick(x.GoPointer(), FocusOnClickVar) | |
| 3967 | 3688 | } | |
| 3968 | 3689 | ||
| @@ -3982,8 +3703,6 @@ var xWidgetSetFocusable func(uintptr, bool) | |||
| 3982 | 3703 | // See [method@Gtk.Widget.grab_focus] for actually setting | |
| 3983 | 3704 | // the input focus on a widget. | |
| 3984 | 3705 | func (x *Widget) SetFocusable(FocusableVar bool) { | |
| 3985 | - | core.LazyRegister(&xWidgetSetFocusable, "GTK", "gtk_widget_set_focusable", false) | |
| 3986 | - | ||
| 3987 | 3706 | xWidgetSetFocusable(x.GoPointer(), FocusableVar) | |
| 3988 | 3707 | } | |
| 3989 | 3708 | ||
| @@ -3998,8 +3717,6 @@ var xWidgetSetFontMap func(uintptr, uintptr) | |||
| 3998 | 3717 | // | |
| 3999 | 3718 | // When not set, the widget will inherit the font map from its parent. | |
| 4000 | 3719 | func (x *Widget) SetFontMap(FontMapVar *pango.FontMap) { | |
| 4001 | - | core.LazyRegister(&xWidgetSetFontMap, "GTK", "gtk_widget_set_font_map", false) | |
| 4002 | - | ||
| 4003 | 3720 | xWidgetSetFontMap(x.GoPointer(), FontMapVar.GoPointer()) | |
| 4004 | 3721 | } | |
| 4005 | 3722 | ||
| @@ -4011,8 +3728,6 @@ var xWidgetSetFontOptions func(uintptr, *cairo.FontOptions) | |||
| 4011 | 3728 | // When not set, the default font options for the `GdkDisplay` | |
| 4012 | 3729 | // will be used. | |
| 4013 | 3730 | func (x *Widget) SetFontOptions(OptionsVar *cairo.FontOptions) { | |
| 4014 | - | core.LazyRegister(&xWidgetSetFontOptions, "GTK", "gtk_widget_set_font_options", false) | |
| 4015 | - | ||
| 4016 | 3731 | xWidgetSetFontOptions(x.GoPointer(), OptionsVar) | |
| 4017 | 3732 | } | |
| 4018 | 3733 | ||
| @@ -4020,8 +3735,6 @@ var xWidgetSetHalign func(uintptr, Align) | |||
| 4020 | 3735 | ||
| 4021 | 3736 | // Sets the horizontal alignment of the widget. | |
| 4022 | 3737 | func (x *Widget) SetHalign(AlignVar Align) { | |
| 4023 | - | core.LazyRegister(&xWidgetSetHalign, "GTK", "gtk_widget_set_halign", false) | |
| 4024 | - | ||
| 4025 | 3738 | xWidgetSetHalign(x.GoPointer(), AlignVar) | |
| 4026 | 3739 | } | |
| 4027 | 3740 | ||
| @@ -4029,8 +3742,6 @@ var xWidgetSetHasTooltip func(uintptr, bool) | |||
| 4029 | 3742 | ||
| 4030 | 3743 | // Sets the `has-tooltip` property on the widget. | |
| 4031 | 3744 | func (x *Widget) SetHasTooltip(HasTooltipVar bool) { | |
| 4032 | - | core.LazyRegister(&xWidgetSetHasTooltip, "GTK", "gtk_widget_set_has_tooltip", false) | |
| 4033 | - | ||
| 4034 | 3745 | xWidgetSetHasTooltip(x.GoPointer(), HasTooltipVar) | |
| 4035 | 3746 | } | |
| 4036 | 3747 | ||
| @@ -4063,8 +3774,6 @@ var xWidgetSetHexpand func(uintptr, bool) | |||
| 4063 | 3774 | // [method@Gtk.Widget.set_hexpand_set]) which causes the widget’s hexpand | |
| 4064 | 3775 | // value to be used, rather than looking at children and widget state. | |
| 4065 | 3776 | func (x *Widget) SetHexpand(ExpandVar bool) { | |
| 4066 | - | core.LazyRegister(&xWidgetSetHexpand, "GTK", "gtk_widget_set_hexpand", false) | |
| 4067 | - | ||
| 4068 | 3777 | xWidgetSetHexpand(x.GoPointer(), ExpandVar) | |
| 4069 | 3778 | } | |
| 4070 | 3779 | ||
| @@ -4085,8 +3794,6 @@ var xWidgetSetHexpandSet func(uintptr, bool) | |||
| 4085 | 3794 | // There are few reasons to use this function, but it’s here | |
| 4086 | 3795 | // for completeness and consistency. | |
| 4087 | 3796 | func (x *Widget) SetHexpandSet(SetVar bool) { | |
| 4088 | - | core.LazyRegister(&xWidgetSetHexpandSet, "GTK", "gtk_widget_set_hexpand_set", false) | |
| 4089 | - | ||
| 4090 | 3797 | xWidgetSetHexpandSet(x.GoPointer(), SetVar) | |
| 4091 | 3798 | } | |
| 4092 | 3799 | ||
| @@ -4095,8 +3802,6 @@ var xWidgetSetLayoutManager func(uintptr, uintptr) | |||
| 4095 | 3802 | // Sets the layout manager to use for measuring and allocating children | |
| 4096 | 3803 | // of the widget. | |
| 4097 | 3804 | func (x *Widget) SetLayoutManager(LayoutManagerVar *LayoutManager) { | |
| 4098 | - | core.LazyRegister(&xWidgetSetLayoutManager, "GTK", "gtk_widget_set_layout_manager", false) | |
| 4099 | - | ||
| 4100 | 3805 | xWidgetSetLayoutManager(x.GoPointer(), LayoutManagerVar.GoPointer()) | |
| 4101 | 3806 | } | |
| 4102 | 3807 | ||
| @@ -4105,8 +3810,6 @@ var xWidgetSetLimitEvents func(uintptr, bool) | |||
| 4105 | 3810 | // Sets whether the widget acts like a modal dialog, | |
| 4106 | 3811 | // with respect to event delivery. | |
| 4107 | 3812 | func (x *Widget) SetLimitEvents(LimitEventsVar bool) { | |
| 4108 | - | core.LazyRegister(&xWidgetSetLimitEvents, "GTK", "gtk_widget_set_limit_events", false) | |
| 4109 | - | ||
| 4110 | 3813 | xWidgetSetLimitEvents(x.GoPointer(), LimitEventsVar) | |
| 4111 | 3814 | } | |
| 4112 | 3815 | ||
| @@ -4114,8 +3817,6 @@ var xWidgetSetMarginBottom func(uintptr, int) | |||
| 4114 | 3817 | ||
| 4115 | 3818 | // Sets the bottom margin of the widget. | |
| 4116 | 3819 | func (x *Widget) SetMarginBottom(MarginVar int) { | |
| 4117 | - | core.LazyRegister(&xWidgetSetMarginBottom, "GTK", "gtk_widget_set_margin_bottom", false) | |
| 4118 | - | ||
| 4119 | 3820 | xWidgetSetMarginBottom(x.GoPointer(), MarginVar) | |
| 4120 | 3821 | } | |
| 4121 | 3822 | ||
| @@ -4123,8 +3824,6 @@ var xWidgetSetMarginEnd func(uintptr, int) | |||
| 4123 | 3824 | ||
| 4124 | 3825 | // Sets the end margin of the widget. | |
| 4125 | 3826 | func (x *Widget) SetMarginEnd(MarginVar int) { | |
| 4126 | - | core.LazyRegister(&xWidgetSetMarginEnd, "GTK", "gtk_widget_set_margin_end", false) | |
| 4127 | - | ||
| 4128 | 3827 | xWidgetSetMarginEnd(x.GoPointer(), MarginVar) | |
| 4129 | 3828 | } | |
| 4130 | 3829 | ||
| @@ -4132,8 +3831,6 @@ var xWidgetSetMarginStart func(uintptr, int) | |||
| 4132 | 3831 | ||
| 4133 | 3832 | // Sets the start margin of the widget. | |
| 4134 | 3833 | func (x *Widget) SetMarginStart(MarginVar int) { | |
| 4135 | - | core.LazyRegister(&xWidgetSetMarginStart, "GTK", "gtk_widget_set_margin_start", false) | |
| 4136 | - | ||
| 4137 | 3834 | xWidgetSetMarginStart(x.GoPointer(), MarginVar) | |
| 4138 | 3835 | } | |
| 4139 | 3836 | ||
| @@ -4141,8 +3838,6 @@ var xWidgetSetMarginTop func(uintptr, int) | |||
| 4141 | 3838 | ||
| 4142 | 3839 | // Sets the top margin of the widget. | |
| 4143 | 3840 | func (x *Widget) SetMarginTop(MarginVar int) { | |
| 4144 | - | core.LazyRegister(&xWidgetSetMarginTop, "GTK", "gtk_widget_set_margin_top", false) | |
| 4145 | - | ||
| 4146 | 3841 | xWidgetSetMarginTop(x.GoPointer(), MarginVar) | |
| 4147 | 3842 | } | |
| 4148 | 3843 | ||
| @@ -4160,8 +3855,6 @@ var xWidgetSetName func(uintptr, string) | |||
| 4160 | 3855 | // these will make your widget impossible to match by name. Any combination | |
| 4161 | 3856 | // of alphanumeric symbols, dashes and underscores will suffice. | |
| 4162 | 3857 | func (x *Widget) SetName(NameVar string) { | |
| 4163 | - | core.LazyRegister(&xWidgetSetName, "GTK", "gtk_widget_set_name", false) | |
| 4164 | - | ||
| 4165 | 3858 | xWidgetSetName(x.GoPointer(), NameVar) | |
| 4166 | 3859 | } | |
| 4167 | 3860 | ||
| @@ -4191,8 +3884,6 @@ var xWidgetSetOpacity func(uintptr, float64) | |||
| 4191 | 3884 | // non-translucent, even if they are attached to a toplevel that | |
| 4192 | 3885 | // is translucent. | |
| 4193 | 3886 | func (x *Widget) SetOpacity(OpacityVar float64) { | |
| 4194 | - | core.LazyRegister(&xWidgetSetOpacity, "GTK", "gtk_widget_set_opacity", false) | |
| 4195 | - | ||
| 4196 | 3887 | xWidgetSetOpacity(x.GoPointer(), OpacityVar) | |
| 4197 | 3888 | } | |
| 4198 | 3889 | ||
| @@ -4208,8 +3899,6 @@ var xWidgetSetOverflow func(uintptr, Overflow) | |||
| 4208 | 3899 | // | |
| 4209 | 3900 | // The default value is [enum@Gtk.Overflow.visible]. | |
| 4210 | 3901 | func (x *Widget) SetOverflow(OverflowVar Overflow) { | |
| 4211 | - | core.LazyRegister(&xWidgetSetOverflow, "GTK", "gtk_widget_set_overflow", false) | |
| 4212 | - | ||
| 4213 | 3902 | xWidgetSetOverflow(x.GoPointer(), OverflowVar) | |
| 4214 | 3903 | } | |
| 4215 | 3904 | ||
| @@ -4224,8 +3913,6 @@ var xWidgetSetParent func(uintptr, uintptr) | |||
| 4224 | 3913 | // This function is useful only when implementing subclasses of | |
| 4225 | 3914 | // `GtkWidget`. | |
| 4226 | 3915 | func (x *Widget) SetParent(ParentVar *Widget) { | |
| 4227 | - | core.LazyRegister(&xWidgetSetParent, "GTK", "gtk_widget_set_parent", false) | |
| 4228 | - | ||
| 4229 | 3916 | xWidgetSetParent(x.GoPointer(), ParentVar.GoPointer()) | |
| 4230 | 3917 | } | |
| 4231 | 3918 | ||
| @@ -4235,8 +3922,6 @@ var xWidgetSetReceivesDefault func(uintptr, bool) | |||
| 4235 | 3922 | // widget within its toplevel when it has the focus, even if | |
| 4236 | 3923 | // another widget is the default. | |
| 4237 | 3924 | func (x *Widget) SetReceivesDefault(ReceivesDefaultVar bool) { | |
| 4238 | - | core.LazyRegister(&xWidgetSetReceivesDefault, "GTK", "gtk_widget_set_receives_default", false) | |
| 4239 | - | ||
| 4240 | 3925 | xWidgetSetReceivesDefault(x.GoPointer(), ReceivesDefaultVar) | |
| 4241 | 3926 | } | |
| 4242 | 3927 | ||
| @@ -4249,8 +3934,6 @@ var xWidgetSetSensitive func(uintptr, bool) | |||
| 4249 | 3934 | // interact with them. Insensitive widgets are known as | |
| 4250 | 3935 | // “inactive”, “disabled”, or “ghosted” in some other toolkits. | |
| 4251 | 3936 | func (x *Widget) SetSensitive(SensitiveVar bool) { | |
| 4252 | - | core.LazyRegister(&xWidgetSetSensitive, "GTK", "gtk_widget_set_sensitive", false) | |
| 4253 | - | ||
| 4254 | 3937 | xWidgetSetSensitive(x.GoPointer(), SensitiveVar) | |
| 4255 | 3938 | } | |
| 4256 | 3939 | ||
| @@ -4291,8 +3974,6 @@ var xWidgetSetSizeRequest func(uintptr, int, int) | |||
| 4291 | 3974 | // much all other padding or border properties set by any subclass | |
| 4292 | 3975 | // of `GtkWidget`. | |
| 4293 | 3976 | func (x *Widget) SetSizeRequest(WidthVar int, HeightVar int) { | |
| 4294 | - | core.LazyRegister(&xWidgetSetSizeRequest, "GTK", "gtk_widget_set_size_request", false) | |
| 4295 | - | ||
| 4296 | 3977 | xWidgetSetSizeRequest(x.GoPointer(), WidthVar, HeightVar) | |
| 4297 | 3978 | } | |
| 4298 | 3979 | ||
| @@ -4308,8 +3989,6 @@ var xWidgetSetStateFlags func(uintptr, StateFlags, bool) | |||
| 4308 | 3989 | // | |
| 4309 | 3990 | // This function is for use in widget implementations. | |
| 4310 | 3991 | func (x *Widget) SetStateFlags(FlagsVar StateFlags, ClearVar bool) { | |
| 4311 | - | core.LazyRegister(&xWidgetSetStateFlags, "GTK", "gtk_widget_set_state_flags", false) | |
| 4312 | - | ||
| 4313 | 3992 | xWidgetSetStateFlags(x.GoPointer(), FlagsVar, ClearVar) | |
| 4314 | 3993 | } | |
| 4315 | 3994 | ||
| @@ -4325,8 +4004,6 @@ var xWidgetSetTooltipMarkup func(uintptr, uintptr) | |||
| 4325 | 4004 | // | |
| 4326 | 4005 | // See also [method@Gtk.Tooltip.set_markup]. | |
| 4327 | 4006 | func (x *Widget) SetTooltipMarkup(MarkupVar *string) { | |
| 4328 | - | core.LazyRegister(&xWidgetSetTooltipMarkup, "GTK", "gtk_widget_set_tooltip_markup", false) | |
| 4329 | - | ||
| 4330 | 4007 | MarkupVarPtr := core.GStrdupNullable(MarkupVar) | |
| 4331 | 4008 | defer core.GFreeNullable(MarkupVarPtr) | |
| 4332 | 4009 | ||
| @@ -4346,8 +4023,6 @@ var xWidgetSetTooltipText func(uintptr, uintptr) | |||
| 4346 | 4023 | // | |
| 4347 | 4024 | // See also [method@Gtk.Tooltip.set_text]. | |
| 4348 | 4025 | func (x *Widget) SetTooltipText(TextVar *string) { | |
| 4349 | - | core.LazyRegister(&xWidgetSetTooltipText, "GTK", "gtk_widget_set_tooltip_text", false) | |
| 4350 | - | ||
| 4351 | 4026 | TextVarPtr := core.GStrdupNullable(TextVar) | |
| 4352 | 4027 | defer core.GFreeNullable(TextVarPtr) | |
| 4353 | 4028 | ||
| @@ -4358,8 +4033,6 @@ var xWidgetSetValign func(uintptr, Align) | |||
| 4358 | 4033 | ||
| 4359 | 4034 | // Sets the vertical alignment of the widget. | |
| 4360 | 4035 | func (x *Widget) SetValign(AlignVar Align) { | |
| 4361 | - | core.LazyRegister(&xWidgetSetValign, "GTK", "gtk_widget_set_valign", false) | |
| 4362 | - | ||
| 4363 | 4036 | xWidgetSetValign(x.GoPointer(), AlignVar) | |
| 4364 | 4037 | } | |
| 4365 | 4038 | ||
| @@ -4370,8 +4043,6 @@ var xWidgetSetVexpand func(uintptr, bool) | |||
| 4370 | 4043 | // | |
| 4371 | 4044 | // See [method@Gtk.Widget.set_hexpand] for more detail. | |
| 4372 | 4045 | func (x *Widget) SetVexpand(ExpandVar bool) { | |
| 4373 | - | core.LazyRegister(&xWidgetSetVexpand, "GTK", "gtk_widget_set_vexpand", false) | |
| 4374 | - | ||
| 4375 | 4046 | xWidgetSetVexpand(x.GoPointer(), ExpandVar) | |
| 4376 | 4047 | } | |
| 4377 | 4048 | ||
| @@ -4381,8 +4052,6 @@ var xWidgetSetVexpandSet func(uintptr, bool) | |||
| 4381 | 4052 | // | |
| 4382 | 4053 | // See [method@Gtk.Widget.set_hexpand_set] for more detail. | |
| 4383 | 4054 | func (x *Widget) SetVexpandSet(SetVar bool) { | |
| 4384 | - | core.LazyRegister(&xWidgetSetVexpandSet, "GTK", "gtk_widget_set_vexpand_set", false) | |
| 4385 | - | ||
| 4386 | 4055 | xWidgetSetVexpandSet(x.GoPointer(), SetVar) | |
| 4387 | 4056 | } | |
| 4388 | 4057 | ||
| @@ -4393,8 +4062,6 @@ var xWidgetSetVisible func(uintptr, bool) | |||
| 4393 | 4062 | // Note that setting this to true doesn’t mean the widget is | |
| 4394 | 4063 | // actually viewable, see [method@Gtk.Widget.get_visible]. | |
| 4395 | 4064 | func (x *Widget) SetVisible(VisibleVar bool) { | |
| 4396 | - | core.LazyRegister(&xWidgetSetVisible, "GTK", "gtk_widget_set_visible", false) | |
| 4397 | - | ||
| 4398 | 4065 | xWidgetSetVisible(x.GoPointer(), VisibleVar) | |
| 4399 | 4066 | } | |
| 4400 | 4067 | ||
| @@ -4407,8 +4074,6 @@ var xWidgetShouldLayout func(uintptr) bool | |||
| 4407 | 4074 | // for children that have their own surface, such | |
| 4408 | 4075 | // as [class@Gtk.Popover] instances. | |
| 4409 | 4076 | func (x *Widget) ShouldLayout() bool { | |
| 4410 | - | core.LazyRegister(&xWidgetShouldLayout, "GTK", "gtk_widget_should_layout", false) | |
| 4411 | - | ||
| 4412 | 4077 | cret := xWidgetShouldLayout(x.GoPointer()) | |
| 4413 | 4078 | return cret | |
| 4414 | 4079 | } | |
| @@ -4426,8 +4091,6 @@ var xWidgetShow func(uintptr) | |||
| 4426 | 4091 | // mapped; other shown widgets are realized and mapped when their | |
| 4427 | 4092 | // toplevel widget is realized and mapped. | |
| 4428 | 4093 | func (x *Widget) Show() { | |
| 4429 | - | core.LazyRegister(&xWidgetShow, "GTK", "gtk_widget_show", false) | |
| 4430 | - | ||
| 4431 | 4094 | xWidgetShow(x.GoPointer()) | |
| 4432 | 4095 | } | |
| 4433 | 4096 | ||
| @@ -4438,8 +4101,6 @@ var xWidgetSizeAllocate func(uintptr, *Allocation, int) | |||
| 4438 | 4101 | // | |
| 4439 | 4102 | // This is a simple form of [method@Gtk.Widget.allocate]. | |
| 4440 | 4103 | func (x *Widget) SizeAllocate(AllocationVar *Allocation, BaselineVar int) { | |
| 4441 | - | core.LazyRegister(&xWidgetSizeAllocate, "GTK", "gtk_widget_size_allocate", false) | |
| 4442 | - | ||
| 4443 | 4104 | xWidgetSizeAllocate(x.GoPointer(), AllocationVar, BaselineVar) | |
| 4444 | 4105 | } | |
| 4445 | 4106 | ||
| @@ -4460,8 +4121,6 @@ var xWidgetSnapshotChild func(uintptr, uintptr, uintptr) | |||
| 4460 | 4121 | // | |
| 4461 | 4122 | // It does nothing for children that implement `GtkNative`. | |
| 4462 | 4123 | func (x *Widget) SnapshotChild(ChildVar *Widget, SnapshotVar *Snapshot) { | |
| 4463 | - | core.LazyRegister(&xWidgetSnapshotChild, "GTK", "gtk_widget_snapshot_child", false) | |
| 4464 | - | ||
| 4465 | 4124 | xWidgetSnapshotChild(x.GoPointer(), ChildVar.GoPointer(), SnapshotVar.GoPointer()) | |
| 4466 | 4125 | } | |
| 4467 | 4126 | ||
| @@ -4474,8 +4133,6 @@ var xWidgetTranslateCoordinates func(uintptr, uintptr, float64, float64, *float6 | |||
| 4474 | 4133 | // a common ancestor. If that is not the case, @dest_x and @dest_y | |
| 4475 | 4134 | // are set to 0 and false is returned. | |
| 4476 | 4135 | 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 | - | ||
| 4479 | 4136 | cret := xWidgetTranslateCoordinates(x.GoPointer(), DestWidgetVar.GoPointer(), SrcXVar, SrcYVar, DestXVar, DestYVar) | |
| 4480 | 4137 | return cret | |
| 4481 | 4138 | } | |
| @@ -4484,8 +4141,6 @@ var xWidgetTriggerTooltipQuery func(uintptr) | |||
| 4484 | 4141 | ||
| 4485 | 4142 | // Triggers a tooltip query on the display of the widget. | |
| 4486 | 4143 | func (x *Widget) TriggerTooltipQuery() { | |
| 4487 | - | core.LazyRegister(&xWidgetTriggerTooltipQuery, "GTK", "gtk_widget_trigger_tooltip_query", false) | |
| 4488 | - | ||
| 4489 | 4144 | xWidgetTriggerTooltipQuery(x.GoPointer()) | |
| 4490 | 4145 | } | |
| 4491 | 4146 | ||
| @@ -4495,8 +4150,6 @@ var xWidgetUnmap func(uintptr) | |||
| 4495 | 4150 | // | |
| 4496 | 4151 | // This function is only for use in widget implementations. | |
| 4497 | 4152 | func (x *Widget) Unmap() { | |
| 4498 | - | core.LazyRegister(&xWidgetUnmap, "GTK", "gtk_widget_unmap", false) | |
| 4499 | - | ||
| 4500 | 4153 | xWidgetUnmap(x.GoPointer()) | |
| 4501 | 4154 | } | |
| 4502 | 4155 | ||
| @@ -4507,8 +4160,6 @@ var xWidgetUnparent func(uintptr) | |||
| 4507 | 4160 | // This function is only for use in widget implementations, | |
| 4508 | 4161 | // typically in dispose. | |
| 4509 | 4162 | func (x *Widget) Unparent() { | |
| 4510 | - | core.LazyRegister(&xWidgetUnparent, "GTK", "gtk_widget_unparent", false) | |
| 4511 | - | ||
| 4512 | 4163 | xWidgetUnparent(x.GoPointer()) | |
| 4513 | 4164 | } | |
| 4514 | 4165 | ||
| @@ -4520,8 +4171,6 @@ var xWidgetUnrealize func(uintptr) | |||
| 4520 | 4171 | // | |
| 4521 | 4172 | // This function is only useful in widget implementations. | |
| 4522 | 4173 | func (x *Widget) Unrealize() { | |
| 4523 | - | core.LazyRegister(&xWidgetUnrealize, "GTK", "gtk_widget_unrealize", false) | |
| 4524 | - | ||
| 4525 | 4174 | xWidgetUnrealize(x.GoPointer()) | |
| 4526 | 4175 | } | |
| 4527 | 4176 | ||
| @@ -4533,8 +4182,6 @@ var xWidgetUnsetStateFlags func(uintptr, StateFlags) | |||
| 4533 | 4182 | // | |
| 4534 | 4183 | // This function is for use in widget implementations. | |
| 4535 | 4184 | func (x *Widget) UnsetStateFlags(FlagsVar StateFlags) { | |
| 4536 | - | core.LazyRegister(&xWidgetUnsetStateFlags, "GTK", "gtk_widget_unset_state_flags", false) | |
| 4537 | - | ||
| 4538 | 4185 | xWidgetUnsetStateFlags(x.GoPointer(), FlagsVar) | |
| 4539 | 4186 | } | |
| 4540 | 4187 | ||
| @@ -5754,8 +5401,6 @@ var xWidgetGetDefaultDirection func() TextDirection | |||
| 5754 | 5401 | // | |
| 5755 | 5402 | // See [func@Gtk.Widget.set_default_direction]. | |
| 5756 | 5403 | func WidgetGetDefaultDirection() TextDirection { | |
| 5757 | - | core.LazyRegister(&xWidgetGetDefaultDirection, "GTK", "gtk_widget_get_default_direction", false) | |
| 5758 | - | ||
| 5759 | 5404 | cret := xWidgetGetDefaultDirection() | |
| 5760 | 5405 | return cret | |
| 5761 | 5406 | } | |
| @@ -5766,12 +5411,217 @@ var xWidgetSetDefaultDirection func(TextDirection) | |||
| 5766 | 5411 | // | |
| 5767 | 5412 | // See [method@Gtk.Widget.set_direction]. | |
| 5768 | 5413 | func WidgetSetDefaultDirection(DirVar TextDirection) { | |
| 5769 | - | core.LazyRegister(&xWidgetSetDefaultDirection, "GTK", "gtk_widget_set_default_direction", false) | |
| 5770 | - | ||
| 5771 | 5414 | xWidgetSetDefaultDirection(DirVar) | |
| 5772 | 5415 | } | |
| 5773 | 5416 | ||
| 5774 | 5417 | func init() { | |
| 5775 | 5418 | core.SetPackageName("GTK", "gtk4") | |
| 5776 | 5419 | 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") | |
| 5777 | 5627 | } | |
| @@ -44,7 +44,6 @@ 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) | |||
| 48 | return xRequisitionGLibType() | 47 | return xRequisitionGLibType() | ||
| 49 | } | 48 | } | ||
| 50 | 49 | ||||
| @@ -66,8 +65,6 @@ var xNewRequisition func() uintptr | |||||
| 66 | // | 65 | // | ||
| 67 | // The struct is initialized to zero. | 66 | // The struct is initialized to zero. | ||
| 68 | func NewRequisition() *Requisition { | 67 | func NewRequisition() *Requisition { | ||
| 69 | - | core.LazyRegister(&xNewRequisition, "GTK", "gtk_requisition_new", false) | |||
| 70 | - | ||||
| 71 | cret := xNewRequisition() | 68 | cret := xNewRequisition() | ||
| 72 | if cret == 0 { | 69 | if cret == 0 { | ||
| 73 | return nil | 70 | return nil | ||
| @@ -79,8 +76,6 @@ var xRequisitionCopy func(uintptr) uintptr | |||||
| 79 | 76 | ||||
| 80 | // Copies a `GtkRequisition`. | 77 | // Copies a `GtkRequisition`. | ||
| 81 | func (x *Requisition) Copy() *Requisition { | 78 | func (x *Requisition) Copy() *Requisition { | ||
| 82 | - | core.LazyRegister(&xRequisitionCopy, "GTK", "gtk_requisition_copy", false) | |||
| 83 | - | ||||
| 84 | cret := xRequisitionCopy(x.GoPointer()) | 79 | cret := xRequisitionCopy(x.GoPointer()) | ||
| 85 | if cret == 0 { | 80 | if cret == 0 { | ||
| 86 | return nil | 81 | return nil | ||
| @@ -92,8 +87,6 @@ var xRequisitionFree func(uintptr) | |||||
| 92 | 87 | ||||
| 93 | // Frees a `GtkRequisition`. | 88 | // Frees a `GtkRequisition`. | ||
| 94 | func (x *Requisition) Free() { | 89 | func (x *Requisition) Free() { | ||
| 95 | - | core.LazyRegister(&xRequisitionFree, "GTK", "gtk_requisition_free", false) | |||
| 96 | - | ||||
| 97 | xRequisitionFree(x.GoPointer()) | 90 | xRequisitionFree(x.GoPointer()) | ||
| 98 | } | 91 | } | ||
| 99 | 92 | ||||
| @@ -183,8 +176,6 @@ var xWidgetClassAddBinding func(uintptr, uint, gdk.ModifierType, uintptr, uintpt | |||||
| 183 | // you will have to use [method@Gtk.WidgetClass.add_shortcut] with a custom | 176 | // you will have to use [method@Gtk.WidgetClass.add_shortcut] with a custom | ||
| 184 | // shortcut. | 177 | // shortcut. | ||
| 185 | func (x *WidgetClass) AddBinding(KeyvalVar uint, ModsVar gdk.ModifierType, CallbackVar *ShortcutFunc, FormatStringVar *string, varArgs ...interface{}) { | 178 | 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 | - | ||||
| 188 | FormatStringVarPtr := core.GStrdupNullable(FormatStringVar) | 179 | FormatStringVarPtr := core.GStrdupNullable(FormatStringVar) | ||
| 189 | defer core.GFreeNullable(FormatStringVarPtr) | 180 | defer core.GFreeNullable(FormatStringVarPtr) | ||
| 190 | 181 | ||||
| @@ -203,8 +194,6 @@ var xWidgetClassAddBindingAction func(uintptr, uint, gdk.ModifierType, string, u | |||||
| 203 | // [method@Gtk.WidgetClass.add_shortcut] and must be called during class | 194 | // [method@Gtk.WidgetClass.add_shortcut] and must be called during class | ||
| 204 | // initialization. | 195 | // initialization. | ||
| 205 | func (x *WidgetClass) AddBindingAction(KeyvalVar uint, ModsVar gdk.ModifierType, ActionNameVar string, FormatStringVar *string, varArgs ...interface{}) { | 196 | 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 | - | ||||
| 208 | FormatStringVarPtr := core.GStrdupNullable(FormatStringVar) | 197 | FormatStringVarPtr := core.GStrdupNullable(FormatStringVar) | ||
| 209 | defer core.GFreeNullable(FormatStringVarPtr) | 198 | defer core.GFreeNullable(FormatStringVarPtr) | ||
| 210 | 199 | ||||
| @@ -223,8 +212,6 @@ var xWidgetClassAddBindingSignal func(uintptr, uint, gdk.ModifierType, string, u | |||||
| 223 | // [method@Gtk.WidgetClass.add_shortcut] and must be called during class | 212 | // [method@Gtk.WidgetClass.add_shortcut] and must be called during class | ||
| 224 | // initialization. | 213 | // initialization. | ||
| 225 | func (x *WidgetClass) AddBindingSignal(KeyvalVar uint, ModsVar gdk.ModifierType, SignalVar string, FormatStringVar *string, varArgs ...interface{}) { | 214 | 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 | - | ||||
| 228 | FormatStringVarPtr := core.GStrdupNullable(FormatStringVar) | 215 | FormatStringVarPtr := core.GStrdupNullable(FormatStringVar) | ||
| 229 | defer core.GFreeNullable(FormatStringVarPtr) | 216 | defer core.GFreeNullable(FormatStringVarPtr) | ||
| 230 | 217 | ||||
| @@ -244,8 +231,6 @@ var xWidgetClassAddShortcut func(uintptr, uintptr) | |||||
| 244 | // This function must only be used in class initialization functions | 231 | // This function must only be used in class initialization functions | ||
| 245 | // otherwise it is not guaranteed that the shortcut will be installed. | 232 | // otherwise it is not guaranteed that the shortcut will be installed. | ||
| 246 | func (x *WidgetClass) AddShortcut(ShortcutVar *Shortcut) { | 233 | func (x *WidgetClass) AddShortcut(ShortcutVar *Shortcut) { | ||
| 247 | - | core.LazyRegister(&xWidgetClassAddShortcut, "GTK", "gtk_widget_class_add_shortcut", false) | |||
| 248 | - | ||||
| 249 | xWidgetClassAddShortcut(x.GoPointer(), ShortcutVar.GoPointer()) | 234 | xWidgetClassAddShortcut(x.GoPointer(), ShortcutVar.GoPointer()) | ||
| 250 | } | 235 | } | ||
| 251 | 236 | ||||
| @@ -261,8 +246,6 @@ var xWidgetClassBindTemplateCallbackFull func(uintptr, string, uintptr) | |||||
| 261 | // Note that this must be called from a composite widget classes | 246 | // Note that this must be called from a composite widget classes | ||
| 262 | // class initializer after calling [method@Gtk.WidgetClass.set_template]. | 247 | // class initializer after calling [method@Gtk.WidgetClass.set_template]. | ||
| 263 | func (x *WidgetClass) BindTemplateCallbackFull(CallbackNameVar string, CallbackSymbolVar *gobject.Callback) { | 248 | func (x *WidgetClass) BindTemplateCallbackFull(CallbackNameVar string, CallbackSymbolVar *gobject.Callback) { | ||
| 264 | - | core.LazyRegister(&xWidgetClassBindTemplateCallbackFull, "GTK", "gtk_widget_class_bind_template_callback_full", false) | |||
| 265 | - | ||||
| 266 | xWidgetClassBindTemplateCallbackFull(x.GoPointer(), CallbackNameVar, glib.NewCallback(CallbackSymbolVar)) | 249 | xWidgetClassBindTemplateCallbackFull(x.GoPointer(), CallbackNameVar, glib.NewCallback(CallbackSymbolVar)) | ||
| 267 | } | 250 | } | ||
| 268 | 251 | ||||
| @@ -297,8 +280,6 @@ var xWidgetClassBindTemplateChildFull func(uintptr, string, bool, int) | |||||
| 297 | // Note that this must be called from a composite widget classes class | 280 | // Note that this must be called from a composite widget classes class | ||
| 298 | // initializer after calling [method@Gtk.WidgetClass.set_template]. | 281 | // initializer after calling [method@Gtk.WidgetClass.set_template]. | ||
| 299 | func (x *WidgetClass) BindTemplateChildFull(NameVar string, InternalChildVar bool, StructOffsetVar int) { | 282 | func (x *WidgetClass) BindTemplateChildFull(NameVar string, InternalChildVar bool, StructOffsetVar int) { | ||
| 300 | - | core.LazyRegister(&xWidgetClassBindTemplateChildFull, "GTK", "gtk_widget_class_bind_template_child_full", false) | |||
| 301 | - | ||||
| 302 | xWidgetClassBindTemplateChildFull(x.GoPointer(), NameVar, InternalChildVar, StructOffsetVar) | 283 | xWidgetClassBindTemplateChildFull(x.GoPointer(), NameVar, InternalChildVar, StructOffsetVar) | ||
| 303 | } | 284 | } | ||
| 304 | 285 | ||||
| @@ -311,8 +292,6 @@ var xWidgetClassGetAccessibleRole func(uintptr) AccessibleRole | |||||
| 311 | // | 292 | // | ||
| 312 | // See also: [method@Gtk.Accessible.get_accessible_role]. | 293 | // See also: [method@Gtk.Accessible.get_accessible_role]. | ||
| 313 | func (x *WidgetClass) GetAccessibleRole() AccessibleRole { | 294 | func (x *WidgetClass) GetAccessibleRole() AccessibleRole { | ||
| 314 | - | core.LazyRegister(&xWidgetClassGetAccessibleRole, "GTK", "gtk_widget_class_get_accessible_role", false) | |||
| 315 | - | ||||
| 316 | cret := xWidgetClassGetAccessibleRole(x.GoPointer()) | 295 | cret := xWidgetClassGetAccessibleRole(x.GoPointer()) | ||
| 317 | return cret | 296 | return cret | ||
| 318 | } | 297 | } | ||
| @@ -324,8 +303,6 @@ var xWidgetClassGetActivateSignal func(uintptr) uint | |||||
| 324 | // The activation signal is set using | 303 | // The activation signal is set using | ||
| 325 | // [method@Gtk.WidgetClass.set_activate_signal]. | 304 | // [method@Gtk.WidgetClass.set_activate_signal]. | ||
| 326 | func (x *WidgetClass) GetActivateSignal() uint { | 305 | func (x *WidgetClass) GetActivateSignal() uint { | ||
| 327 | - | core.LazyRegister(&xWidgetClassGetActivateSignal, "GTK", "gtk_widget_class_get_activate_signal", false) | |||
| 328 | - | ||||
| 329 | cret := xWidgetClassGetActivateSignal(x.GoPointer()) | 306 | cret := xWidgetClassGetActivateSignal(x.GoPointer()) | ||
| 330 | return cret | 307 | return cret | ||
| 331 | } | 308 | } | ||
| @@ -336,8 +313,6 @@ var xWidgetClassGetCssName func(uintptr) string | |||||
| 336 | // | 313 | // | ||
| 337 | // See [method@Gtk.WidgetClass.set_css_name] for details. | 314 | // See [method@Gtk.WidgetClass.set_css_name] for details. | ||
| 338 | func (x *WidgetClass) GetCssName() string { | 315 | func (x *WidgetClass) GetCssName() string { | ||
| 339 | - | core.LazyRegister(&xWidgetClassGetCssName, "GTK", "gtk_widget_class_get_css_name", false) | |||
| 340 | - | ||||
| 341 | cret := xWidgetClassGetCssName(x.GoPointer()) | 316 | cret := xWidgetClassGetCssName(x.GoPointer()) | ||
| 342 | return cret | 317 | return cret | ||
| 343 | } | 318 | } | ||
| @@ -349,8 +324,6 @@ var xWidgetClassGetLayoutManagerType func(uintptr) types.GType | |||||
| 349 | // | 324 | // | ||
| 350 | // See also: [method@Gtk.WidgetClass.set_layout_manager_type]. | 325 | // See also: [method@Gtk.WidgetClass.set_layout_manager_type]. | ||
| 351 | func (x *WidgetClass) GetLayoutManagerType() types.GType { | 326 | func (x *WidgetClass) GetLayoutManagerType() types.GType { | ||
| 352 | - | core.LazyRegister(&xWidgetClassGetLayoutManagerType, "GTK", "gtk_widget_class_get_layout_manager_type", false) | |||
| 353 | - | ||||
| 354 | cret := xWidgetClassGetLayoutManagerType(x.GoPointer()) | 327 | cret := xWidgetClassGetLayoutManagerType(x.GoPointer()) | ||
| 355 | return cret | 328 | return cret | ||
| 356 | } | 329 | } | ||
| @@ -365,8 +338,6 @@ var xWidgetClassInstallAction func(uintptr, string, uintptr, uintptr) | |||||
| 365 | // they have is whether they are enabled or not (which can be changed | 338 | // they have is whether they are enabled or not (which can be changed | ||
| 366 | // with [method@Gtk.Widget.action_set_enabled]). | 339 | // with [method@Gtk.Widget.action_set_enabled]). | ||
| 367 | func (x *WidgetClass) InstallAction(ActionNameVar string, ParameterTypeVar *string, ActivateVar *WidgetActionActivateFunc) { | 340 | func (x *WidgetClass) InstallAction(ActionNameVar string, ParameterTypeVar *string, ActivateVar *WidgetActionActivateFunc) { | ||
| 368 | - | core.LazyRegister(&xWidgetClassInstallAction, "GTK", "gtk_widget_class_install_action", false) | |||
| 369 | - | ||||
| 370 | ParameterTypeVarPtr := core.GStrdupNullable(ParameterTypeVar) | 341 | ParameterTypeVarPtr := core.GStrdupNullable(ParameterTypeVar) | ||
| 371 | defer core.GFreeNullable(ParameterTypeVarPtr) | 342 | defer core.GFreeNullable(ParameterTypeVarPtr) | ||
| 372 | 343 | ||||
| @@ -391,8 +362,6 @@ var xWidgetClassInstallPropertyAction func(uintptr, string, string) | |||||
| 391 | // toggle the property value. Otherwise, the action will have a parameter | 362 | // toggle the property value. Otherwise, the action will have a parameter | ||
| 392 | // of the same type as the property. | 363 | // of the same type as the property. | ||
| 393 | func (x *WidgetClass) InstallPropertyAction(ActionNameVar string, PropertyNameVar string) { | 364 | func (x *WidgetClass) InstallPropertyAction(ActionNameVar string, PropertyNameVar string) { | ||
| 394 | - | core.LazyRegister(&xWidgetClassInstallPropertyAction, "GTK", "gtk_widget_class_install_property_action", false) | |||
| 395 | - | ||||
| 396 | xWidgetClassInstallPropertyAction(x.GoPointer(), ActionNameVar, PropertyNameVar) | 365 | xWidgetClassInstallPropertyAction(x.GoPointer(), ActionNameVar, PropertyNameVar) | ||
| 397 | } | 366 | } | ||
| 398 | 367 | ||||
| @@ -408,8 +377,6 @@ var xWidgetClassQueryAction func(uintptr, uint, *types.GType, *string, **glib.Va | |||||
| 408 | // by parent classes. You can identify those by looking | 377 | // by parent classes. You can identify those by looking | ||
| 409 | // at @owner. | 378 | // at @owner. | ||
| 410 | func (x *WidgetClass) QueryAction(IndexVar uint, OwnerVar *types.GType, ActionNameVar *string, ParameterTypeVar **glib.VariantType, PropertyNameVar *string) bool { | 379 | 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 | - | ||||
| 413 | cret := xWidgetClassQueryAction(x.GoPointer(), IndexVar, OwnerVar, ActionNameVar, ParameterTypeVar, PropertyNameVar) | 380 | cret := xWidgetClassQueryAction(x.GoPointer(), IndexVar, OwnerVar, ActionNameVar, ParameterTypeVar, PropertyNameVar) | ||
| 414 | return cret | 381 | return cret | ||
| 415 | } | 382 | } | ||
| @@ -421,8 +388,6 @@ var xWidgetClassSetAccessibleRole func(uintptr, AccessibleRole) | |||||
| 421 | // Different accessible roles have different states, and are | 388 | // Different accessible roles have different states, and are | ||
| 422 | // rendered differently by assistive technologies. | 389 | // rendered differently by assistive technologies. | ||
| 423 | func (x *WidgetClass) SetAccessibleRole(AccessibleRoleVar AccessibleRole) { | 390 | func (x *WidgetClass) SetAccessibleRole(AccessibleRoleVar AccessibleRole) { | ||
| 424 | - | core.LazyRegister(&xWidgetClassSetAccessibleRole, "GTK", "gtk_widget_class_set_accessible_role", false) | |||
| 425 | - | ||||
| 426 | xWidgetClassSetAccessibleRole(x.GoPointer(), AccessibleRoleVar) | 391 | xWidgetClassSetAccessibleRole(x.GoPointer(), AccessibleRoleVar) | ||
| 427 | } | 392 | } | ||
| 428 | 393 | ||||
| @@ -435,8 +400,6 @@ var xWidgetClassSetActivateSignal func(uintptr, uint) | |||||
| 435 | // The @signal_id must have been registered with [function.GObject.signal_new] | 400 | // The @signal_id must have been registered with [function.GObject.signal_new] | ||
| 436 | // or [func@GObject.signal_newv] before calling this function. | 401 | // or [func@GObject.signal_newv] before calling this function. | ||
| 437 | func (x *WidgetClass) SetActivateSignal(SignalIdVar uint) { | 402 | func (x *WidgetClass) SetActivateSignal(SignalIdVar uint) { | ||
| 438 | - | core.LazyRegister(&xWidgetClassSetActivateSignal, "GTK", "gtk_widget_class_set_activate_signal", false) | |||
| 439 | - | ||||
| 440 | xWidgetClassSetActivateSignal(x.GoPointer(), SignalIdVar) | 403 | xWidgetClassSetActivateSignal(x.GoPointer(), SignalIdVar) | ||
| 441 | } | 404 | } | ||
| 442 | 405 | ||||
| @@ -451,8 +414,6 @@ var xWidgetClassSetActivateSignalFromName func(uintptr, string) | |||||
| 451 | // The @signal_name must have been registered with [function.GObject.signal_new] | 414 | // The @signal_name must have been registered with [function.GObject.signal_new] | ||
| 452 | // or [func@GObject.signal_newv] before calling this function. | 415 | // or [func@GObject.signal_newv] before calling this function. | ||
| 453 | func (x *WidgetClass) SetActivateSignalFromName(SignalNameVar string) { | 416 | func (x *WidgetClass) SetActivateSignalFromName(SignalNameVar string) { | ||
| 454 | - | core.LazyRegister(&xWidgetClassSetActivateSignalFromName, "GTK", "gtk_widget_class_set_activate_signal_from_name", false) | |||
| 455 | - | ||||
| 456 | xWidgetClassSetActivateSignalFromName(x.GoPointer(), SignalNameVar) | 417 | xWidgetClassSetActivateSignalFromName(x.GoPointer(), SignalNameVar) | ||
| 457 | } | 418 | } | ||
| 458 | 419 | ||||
| @@ -464,8 +425,6 @@ var xWidgetClassSetCssName func(uintptr, string) | |||||
| 464 | // set on the parent class is used. By default, `GtkWidget` | 425 | // set on the parent class is used. By default, `GtkWidget` | ||
| 465 | // uses the name "widget". | 426 | // uses the name "widget". | ||
| 466 | func (x *WidgetClass) SetCssName(NameVar string) { | 427 | func (x *WidgetClass) SetCssName(NameVar string) { | ||
| 467 | - | core.LazyRegister(&xWidgetClassSetCssName, "GTK", "gtk_widget_class_set_css_name", false) | |||
| 468 | - | ||||
| 469 | xWidgetClassSetCssName(x.GoPointer(), NameVar) | 428 | xWidgetClassSetCssName(x.GoPointer(), NameVar) | ||
| 470 | } | 429 | } | ||
| 471 | 430 | ||||
| @@ -479,8 +438,6 @@ var xWidgetClassSetLayoutManagerType func(uintptr, types.GType) | |||||
| 479 | // This function should only be called from class init functions | 438 | // This function should only be called from class init functions | ||
| 480 | // of widgets. | 439 | // of widgets. | ||
| 481 | func (x *WidgetClass) SetLayoutManagerType(TypeVar types.GType) { | 440 | func (x *WidgetClass) SetLayoutManagerType(TypeVar types.GType) { | ||
| 482 | - | core.LazyRegister(&xWidgetClassSetLayoutManagerType, "GTK", "gtk_widget_class_set_layout_manager_type", false) | |||
| 483 | - | ||||
| 484 | xWidgetClassSetLayoutManagerType(x.GoPointer(), TypeVar) | 441 | xWidgetClassSetLayoutManagerType(x.GoPointer(), TypeVar) | ||
| 485 | } | 442 | } | ||
| 486 | 443 | ||||
| @@ -495,8 +452,6 @@ var xWidgetClassSetTemplate func(uintptr, *glib.Bytes) | |||||
| 495 | // Note that any class that installs templates must call | 452 | // Note that any class that installs templates must call | ||
| 496 | // [method@Gtk.Widget.init_template] in the widget’s instance initializer. | 453 | // [method@Gtk.Widget.init_template] in the widget’s instance initializer. | ||
| 497 | func (x *WidgetClass) SetTemplate(TemplateBytesVar *glib.Bytes) { | 454 | func (x *WidgetClass) SetTemplate(TemplateBytesVar *glib.Bytes) { | ||
| 498 | - | core.LazyRegister(&xWidgetClassSetTemplate, "GTK", "gtk_widget_class_set_template", false) | |||
| 499 | - | ||||
| 500 | xWidgetClassSetTemplate(x.GoPointer(), TemplateBytesVar) | 455 | xWidgetClassSetTemplate(x.GoPointer(), TemplateBytesVar) | ||
| 501 | } | 456 | } | ||
| 502 | 457 | ||||
| @@ -509,8 +464,6 @@ var xWidgetClassSetTemplateFromResource func(uintptr, string) | |||||
| 509 | // [method@Gtk.Widget.init_template] in the widget’s instance | 464 | // [method@Gtk.Widget.init_template] in the widget’s instance | ||
| 510 | // initializer. | 465 | // initializer. | ||
| 511 | func (x *WidgetClass) SetTemplateFromResource(ResourceNameVar string) { | 466 | func (x *WidgetClass) SetTemplateFromResource(ResourceNameVar string) { | ||
| 512 | - | core.LazyRegister(&xWidgetClassSetTemplateFromResource, "GTK", "gtk_widget_class_set_template_from_resource", false) | |||
| 513 | - | ||||
| 514 | xWidgetClassSetTemplateFromResource(x.GoPointer(), ResourceNameVar) | 467 | xWidgetClassSetTemplateFromResource(x.GoPointer(), ResourceNameVar) | ||
| 515 | } | 468 | } | ||
| 516 | 469 | ||||
| @@ -523,8 +476,6 @@ var xWidgetClassSetTemplateScope func(uintptr, uintptr) | |||||
| 523 | // Note that this must be called from a composite widget classes class | 476 | // Note that this must be called from a composite widget classes class | ||
| 524 | // initializer after calling [method@Gtk.WidgetClass.set_template]. | 477 | // initializer after calling [method@Gtk.WidgetClass.set_template]. | ||
| 525 | func (x *WidgetClass) SetTemplateScope(ScopeVar BuilderScope) { | 478 | func (x *WidgetClass) SetTemplateScope(ScopeVar BuilderScope) { | ||
| 526 | - | core.LazyRegister(&xWidgetClassSetTemplateScope, "GTK", "gtk_widget_class_set_template_scope", false) | |||
| 527 | - | ||||
| 528 | xWidgetClassSetTemplateScope(x.GoPointer(), ScopeVar.GoPointer()) | 479 | xWidgetClassSetTemplateScope(x.GoPointer(), ScopeVar.GoPointer()) | ||
| 529 | } | 480 | } | ||
| 530 | 481 | ||||
| @@ -1727,7 +1678,6 @@ type Widget struct { | |||||
| 1727 | var xWidgetGLibType func() types.GType | 1678 | var xWidgetGLibType func() types.GType | ||
| 1728 | 1679 | ||||
| 1729 | func WidgetGLibType() types.GType { | 1680 | func WidgetGLibType() types.GType { | ||
| 1730 | - | core.LazyRegister(&xWidgetGLibType, "GTK", "gtk_widget_get_type", false) | |||
| 1731 | return xWidgetGLibType() | 1681 | return xWidgetGLibType() | ||
| 1732 | } | 1682 | } | ||
| 1733 | 1683 | ||||
| @@ -1742,8 +1692,6 @@ var xWidgetActionSetEnabled func(uintptr, string, bool) | |||||
| 1742 | // Enables or disables an action installed with | 1692 | // Enables or disables an action installed with | ||
| 1743 | // [method@Gtk.WidgetClass.install_action]. | 1693 | // [method@Gtk.WidgetClass.install_action]. | ||
| 1744 | func (x *Widget) ActionSetEnabled(ActionNameVar string, EnabledVar bool) { | 1694 | func (x *Widget) ActionSetEnabled(ActionNameVar string, EnabledVar bool) { | ||
| 1745 | - | core.LazyRegister(&xWidgetActionSetEnabled, "GTK", "gtk_widget_action_set_enabled", false) | |||
| 1746 | - | ||||
| 1747 | xWidgetActionSetEnabled(x.GoPointer(), ActionNameVar, EnabledVar) | 1695 | xWidgetActionSetEnabled(x.GoPointer(), ActionNameVar, EnabledVar) | ||
| 1748 | } | 1696 | } | ||
| 1749 | 1697 | ||||
| @@ -1764,8 +1712,6 @@ var xWidgetActivate func(uintptr) bool | |||||
| 1764 | // | 1712 | // | ||
| 1765 | // If @widget is not activatable, the function returns false. | 1713 | // If @widget is not activatable, the function returns false. | ||
| 1766 | func (x *Widget) Activate() bool { | 1714 | func (x *Widget) Activate() bool { | ||
| 1767 | - | core.LazyRegister(&xWidgetActivate, "GTK", "gtk_widget_activate", false) | |||
| 1768 | - | ||||
| 1769 | cret := xWidgetActivate(x.GoPointer()) | 1715 | cret := xWidgetActivate(x.GoPointer()) | ||
| 1770 | return cret | 1716 | return cret | ||
| 1771 | } | 1717 | } | ||
| @@ -1780,8 +1726,6 @@ var xWidgetActivateAction func(uintptr, string, uintptr, ...interface{}) bool | |||||
| 1780 | // This is a wrapper around [method@Gtk.Widget.activate_action_variant] | 1726 | // This is a wrapper around [method@Gtk.Widget.activate_action_variant] | ||
| 1781 | // that constructs the @args variant according to @format_string. | 1727 | // that constructs the @args variant according to @format_string. | ||
| 1782 | func (x *Widget) ActivateAction(NameVar string, FormatStringVar *string, varArgs ...interface{}) bool { | 1728 | func (x *Widget) ActivateAction(NameVar string, FormatStringVar *string, varArgs ...interface{}) bool { | ||
| 1783 | - | core.LazyRegister(&xWidgetActivateAction, "GTK", "gtk_widget_activate_action", false) | |||
| 1784 | - | ||||
| 1785 | FormatStringVarPtr := core.GStrdupNullable(FormatStringVar) | 1729 | FormatStringVarPtr := core.GStrdupNullable(FormatStringVar) | ||
| 1786 | defer core.GFreeNullable(FormatStringVarPtr) | 1730 | defer core.GFreeNullable(FormatStringVarPtr) | ||
| 1787 | 1731 | ||||
| @@ -1804,8 +1748,6 @@ var xWidgetActivateActionVariant func(uintptr, string, *glib.Variant) bool | |||||
| 1804 | // The arguments must match the actions expected parameter type, | 1748 | // The arguments must match the actions expected parameter type, | ||
| 1805 | // as returned by [method@Gio.Action.get_parameter_type]. | 1749 | // as returned by [method@Gio.Action.get_parameter_type]. | ||
| 1806 | func (x *Widget) ActivateActionVariant(NameVar string, ArgsVar *glib.Variant) bool { | 1750 | func (x *Widget) ActivateActionVariant(NameVar string, ArgsVar *glib.Variant) bool { | ||
| 1807 | - | core.LazyRegister(&xWidgetActivateActionVariant, "GTK", "gtk_widget_activate_action_variant", false) | |||
| 1808 | - | ||||
| 1809 | cret := xWidgetActivateActionVariant(x.GoPointer(), NameVar, ArgsVar) | 1751 | cret := xWidgetActivateActionVariant(x.GoPointer(), NameVar, ArgsVar) | ||
| 1810 | return cret | 1752 | return cret | ||
| 1811 | } | 1753 | } | ||
| @@ -1817,8 +1759,6 @@ var xWidgetActivateDefault func(uintptr) | |||||
| 1817 | // The action is looked up in the same was as for | 1759 | // The action is looked up in the same was as for | ||
| 1818 | // [method@Gtk.Widget.activate_action]. | 1760 | // [method@Gtk.Widget.activate_action]. | ||
| 1819 | func (x *Widget) ActivateDefault() { | 1761 | func (x *Widget) ActivateDefault() { | ||
| 1820 | - | core.LazyRegister(&xWidgetActivateDefault, "GTK", "gtk_widget_activate_default", false) | |||
| 1821 | - | ||||
| 1822 | xWidgetActivateDefault(x.GoPointer()) | 1762 | xWidgetActivateDefault(x.GoPointer()) | ||
| 1823 | } | 1763 | } | ||
| 1824 | 1764 | ||||
| @@ -1832,8 +1772,6 @@ var xWidgetAddController func(uintptr, uintptr) | |||||
| 1832 | // You will usually want to call this function right after | 1772 | // You will usually want to call this function right after | ||
| 1833 | // creating any kind of [class@Gtk.EventController]. | 1773 | // creating any kind of [class@Gtk.EventController]. | ||
| 1834 | func (x *Widget) AddController(ControllerVar *EventController) { | 1774 | func (x *Widget) AddController(ControllerVar *EventController) { | ||
| 1835 | - | core.LazyRegister(&xWidgetAddController, "GTK", "gtk_widget_add_controller", false) | |||
| 1836 | - | ||||
| 1837 | xWidgetAddController(x.GoPointer(), ControllerVar.GoPointer()) | 1775 | xWidgetAddController(x.GoPointer(), ControllerVar.GoPointer()) | ||
| 1838 | } | 1776 | } | ||
| 1839 | 1777 | ||||
| @@ -1847,8 +1785,6 @@ var xWidgetAddCssClass func(uintptr, string) | |||||
| 1847 | // Use [method@Gtk.Widget.remove_css_class] to remove the | 1785 | // Use [method@Gtk.Widget.remove_css_class] to remove the | ||
| 1848 | // style again. | 1786 | // style again. | ||
| 1849 | func (x *Widget) AddCssClass(CssClassVar string) { | 1787 | func (x *Widget) AddCssClass(CssClassVar string) { | ||
| 1850 | - | core.LazyRegister(&xWidgetAddCssClass, "GTK", "gtk_widget_add_css_class", false) | |||
| 1851 | - | ||||
| 1852 | xWidgetAddCssClass(x.GoPointer(), CssClassVar) | 1788 | xWidgetAddCssClass(x.GoPointer(), CssClassVar) | ||
| 1853 | } | 1789 | } | ||
| 1854 | 1790 | ||||
| @@ -1862,8 +1798,6 @@ var xWidgetAddMnemonicLabel func(uintptr, uintptr) | |||||
| 1862 | // when the widget is destroyed, so the caller must make sure | 1798 | // when the widget is destroyed, so the caller must make sure | ||
| 1863 | // to update its internal state at this point as well. | 1799 | // to update its internal state at this point as well. | ||
| 1864 | func (x *Widget) AddMnemonicLabel(LabelVar *Widget) { | 1800 | func (x *Widget) AddMnemonicLabel(LabelVar *Widget) { | ||
| 1865 | - | core.LazyRegister(&xWidgetAddMnemonicLabel, "GTK", "gtk_widget_add_mnemonic_label", false) | |||
| 1866 | - | ||||
| 1867 | xWidgetAddMnemonicLabel(x.GoPointer(), LabelVar.GoPointer()) | 1801 | xWidgetAddMnemonicLabel(x.GoPointer(), LabelVar.GoPointer()) | ||
| 1868 | } | 1802 | } | ||
| 1869 | 1803 | ||||
| @@ -1896,8 +1830,6 @@ var xWidgetAddTickCallback func(uintptr, uintptr, uintptr, uintptr) uint | |||||
| 1896 | // To remove a tick callback, pass the ID that is returned by this function | 1830 | // To remove a tick callback, pass the ID that is returned by this function | ||
| 1897 | // to [method@Gtk.Widget.remove_tick_callback]. | 1831 | // to [method@Gtk.Widget.remove_tick_callback]. | ||
| 1898 | func (x *Widget) AddTickCallback(CallbackVar *TickCallback, UserDataVar uintptr, NotifyVar *glib.DestroyNotify) uint { | 1832 | func (x *Widget) AddTickCallback(CallbackVar *TickCallback, UserDataVar uintptr, NotifyVar *glib.DestroyNotify) uint { | ||
| 1899 | - | core.LazyRegister(&xWidgetAddTickCallback, "GTK", "gtk_widget_add_tick_callback", false) | |||
| 1900 | - | ||||
| 1901 | cret := xWidgetAddTickCallback(x.GoPointer(), glib.NewCallback(CallbackVar), UserDataVar, glib.NewCallbackNullable(NotifyVar)) | 1833 | cret := xWidgetAddTickCallback(x.GoPointer(), glib.NewCallback(CallbackVar), UserDataVar, glib.NewCallbackNullable(NotifyVar)) | ||
| 1902 | return cret | 1834 | return cret | ||
| 1903 | } | 1835 | } | ||
| @@ -1916,8 +1848,6 @@ var xWidgetAllocate func(uintptr, int, int, int, *gsk.Transform) | |||||
| 1916 | // For a version that does not take a transform, see | 1848 | // For a version that does not take a transform, see | ||
| 1917 | // [method@Gtk.Widget.size_allocate]. | 1849 | // [method@Gtk.Widget.size_allocate]. | ||
| 1918 | func (x *Widget) Allocate(WidthVar int, HeightVar int, BaselineVar int, TransformVar *gsk.Transform) { | 1850 | func (x *Widget) Allocate(WidthVar int, HeightVar int, BaselineVar int, TransformVar *gsk.Transform) { | ||
| 1919 | - | core.LazyRegister(&xWidgetAllocate, "GTK", "gtk_widget_allocate", false) | |||
| 1920 | - | ||||
| 1921 | xWidgetAllocate(x.GoPointer(), WidthVar, HeightVar, BaselineVar, TransformVar) | 1851 | xWidgetAllocate(x.GoPointer(), WidthVar, HeightVar, BaselineVar, TransformVar) | ||
| 1922 | } | 1852 | } | ||
| 1923 | 1853 | ||||
| @@ -1944,8 +1874,6 @@ var xWidgetChildFocus func(uintptr, DirectionType) bool | |||||
| 1944 | // writing an app, you’d use [method@Gtk.Widget.grab_focus] to move | 1874 | // writing an app, you’d use [method@Gtk.Widget.grab_focus] to move | ||
| 1945 | // the focus to a particular widget. | 1875 | // the focus to a particular widget. | ||
| 1946 | func (x *Widget) ChildFocus(DirectionVar DirectionType) bool { | 1876 | func (x *Widget) ChildFocus(DirectionVar DirectionType) bool { | ||
| 1947 | - | core.LazyRegister(&xWidgetChildFocus, "GTK", "gtk_widget_child_focus", false) | |||
| 1948 | - | ||||
| 1949 | cret := xWidgetChildFocus(x.GoPointer(), DirectionVar) | 1877 | cret := xWidgetChildFocus(x.GoPointer(), DirectionVar) | ||
| 1950 | return cret | 1878 | return cret | ||
| 1951 | } | 1879 | } | ||
| @@ -1965,8 +1893,6 @@ var xWidgetComputeBounds func(uintptr, uintptr, *graphene.Rect) bool | |||||
| 1965 | // | 1893 | // | ||
| 1966 | // It is valid for @widget and @target to be the same widget. | 1894 | // It is valid for @widget and @target to be the same widget. | ||
| 1967 | func (x *Widget) ComputeBounds(TargetVar *Widget, OutBoundsVar *graphene.Rect) bool { | 1895 | func (x *Widget) ComputeBounds(TargetVar *Widget, OutBoundsVar *graphene.Rect) bool { | ||
| 1968 | - | core.LazyRegister(&xWidgetComputeBounds, "GTK", "gtk_widget_compute_bounds", false) | |||
| 1969 | - | ||||
| 1970 | cret := xWidgetComputeBounds(x.GoPointer(), TargetVar.GoPointer(), OutBoundsVar) | 1896 | cret := xWidgetComputeBounds(x.GoPointer(), TargetVar.GoPointer(), OutBoundsVar) | ||
| 1971 | return cret | 1897 | return cret | ||
| 1972 | } | 1898 | } | ||
| @@ -1987,8 +1913,6 @@ var xWidgetComputeExpand func(uintptr, Orientation) bool | |||||
| 1987 | // set on the widget itself, or, if none has been explicitly set, | 1913 | // set on the widget itself, or, if none has been explicitly set, | ||
| 1988 | // the widget may expand if some of its children do. | 1914 | // the widget may expand if some of its children do. | ||
| 1989 | func (x *Widget) ComputeExpand(OrientationVar Orientation) bool { | 1915 | func (x *Widget) ComputeExpand(OrientationVar Orientation) bool { | ||
| 1990 | - | core.LazyRegister(&xWidgetComputeExpand, "GTK", "gtk_widget_compute_expand", false) | |||
| 1991 | - | ||||
| 1992 | cret := xWidgetComputeExpand(x.GoPointer(), OrientationVar) | 1916 | cret := xWidgetComputeExpand(x.GoPointer(), OrientationVar) | ||
| 1993 | return cret | 1917 | return cret | ||
| 1994 | } | 1918 | } | ||
| @@ -2002,8 +1926,6 @@ var xWidgetComputePoint func(uintptr, uintptr, *graphene.Point, *graphene.Point) | |||||
| 2002 | // a common ancestor. If that is not the case, @out_point is set | 1926 | // a common ancestor. If that is not the case, @out_point is set | ||
| 2003 | // to (0, 0) and false is returned. | 1927 | // to (0, 0) and false is returned. | ||
| 2004 | func (x *Widget) ComputePoint(TargetVar *Widget, PointVar *graphene.Point, OutPointVar *graphene.Point) bool { | 1928 | func (x *Widget) ComputePoint(TargetVar *Widget, PointVar *graphene.Point, OutPointVar *graphene.Point) bool { | ||
| 2005 | - | core.LazyRegister(&xWidgetComputePoint, "GTK", "gtk_widget_compute_point", false) | |||
| 2006 | - | ||||
| 2007 | cret := xWidgetComputePoint(x.GoPointer(), TargetVar.GoPointer(), PointVar, OutPointVar) | 1929 | cret := xWidgetComputePoint(x.GoPointer(), TargetVar.GoPointer(), PointVar, OutPointVar) | ||
| 2008 | return cret | 1930 | return cret | ||
| 2009 | } | 1931 | } | ||
| @@ -2020,8 +1942,6 @@ var xWidgetComputeTransform func(uintptr, uintptr, *graphene.Matrix) bool | |||||
| 2020 | // To learn more about widget coordinate systems, see the coordinate | 1942 | // To learn more about widget coordinate systems, see the coordinate | ||
| 2021 | // system [overview](coordinates.html). | 1943 | // system [overview](coordinates.html). | ||
| 2022 | func (x *Widget) ComputeTransform(TargetVar *Widget, OutTransformVar *graphene.Matrix) bool { | 1944 | func (x *Widget) ComputeTransform(TargetVar *Widget, OutTransformVar *graphene.Matrix) bool { | ||
| 2023 | - | core.LazyRegister(&xWidgetComputeTransform, "GTK", "gtk_widget_compute_transform", false) | |||
| 2024 | - | ||||
| 2025 | cret := xWidgetComputeTransform(x.GoPointer(), TargetVar.GoPointer(), OutTransformVar) | 1945 | cret := xWidgetComputeTransform(x.GoPointer(), TargetVar.GoPointer(), OutTransformVar) | ||
| 2026 | return cret | 1946 | return cret | ||
| 2027 | } | 1947 | } | ||
| @@ -2033,8 +1953,6 @@ var xWidgetContains func(uintptr, float64, float64) bool | |||||
| 2033 | // The coordinates for (x, y) must be in widget coordinates, so | 1953 | // The coordinates for (x, y) must be in widget coordinates, so | ||
| 2034 | // (0, 0) is assumed to be the top left of @widget's content area. | 1954 | // (0, 0) is assumed to be the top left of @widget's content area. | ||
| 2035 | func (x *Widget) Contains(XVar float64, YVar float64) bool { | 1955 | func (x *Widget) Contains(XVar float64, YVar float64) bool { | ||
| 2036 | - | core.LazyRegister(&xWidgetContains, "GTK", "gtk_widget_contains", false) | |||
| 2037 | - | ||||
| 2038 | cret := xWidgetContains(x.GoPointer(), XVar, YVar) | 1956 | cret := xWidgetContains(x.GoPointer(), XVar, YVar) | ||
| 2039 | return cret | 1957 | return cret | ||
| 2040 | } | 1958 | } | ||
| @@ -2048,7 +1966,6 @@ var xWidgetCreatePangoContext func(uintptr) uintptr | |||||
| 2048 | // | 1966 | // | ||
| 2049 | // See also [method@Gtk.Widget.get_pango_context]. | 1967 | // See also [method@Gtk.Widget.get_pango_context]. | ||
| 2050 | func (x *Widget) CreatePangoContext() *pango.Context { | 1968 | func (x *Widget) CreatePangoContext() *pango.Context { | ||
| 2051 | - | core.LazyRegister(&xWidgetCreatePangoContext, "GTK", "gtk_widget_create_pango_context", false) | |||
| 2052 | var cls *pango.Context | 1969 | var cls *pango.Context | ||
| 2053 | 1970 | ||||
| 2054 | cret := xWidgetCreatePangoContext(x.GoPointer()) | 1971 | cret := xWidgetCreatePangoContext(x.GoPointer()) | ||
| @@ -2073,7 +1990,6 @@ var xWidgetCreatePangoLayout func(uintptr, uintptr) uintptr | |||||
| 2073 | // is replaced. This can be tracked by listening to changes | 1990 | // is replaced. This can be tracked by listening to changes | ||
| 2074 | // of the [property@Gtk.Widget:root] property on the widget. | 1991 | // of the [property@Gtk.Widget:root] property on the widget. | ||
| 2075 | func (x *Widget) CreatePangoLayout(TextVar *string) *pango.Layout { | 1992 | func (x *Widget) CreatePangoLayout(TextVar *string) *pango.Layout { | ||
| 2076 | - | core.LazyRegister(&xWidgetCreatePangoLayout, "GTK", "gtk_widget_create_pango_layout", false) | |||
| 2077 | var cls *pango.Layout | 1993 | var cls *pango.Layout | ||
| 2078 | 1994 | ||||
| 2079 | TextVarPtr := core.GStrdupNullable(TextVar) | 1995 | TextVarPtr := core.GStrdupNullable(TextVar) | ||
| @@ -2119,8 +2035,6 @@ var xWidgetDisposeTemplate func(uintptr, types.GType) | |||||
| 2119 | // | 2035 | // | ||
| 2120 | // ``` | 2036 | // ``` | ||
| 2121 | func (x *Widget) DisposeTemplate(WidgetTypeVar types.GType) { | 2037 | func (x *Widget) DisposeTemplate(WidgetTypeVar types.GType) { | ||
| 2122 | - | core.LazyRegister(&xWidgetDisposeTemplate, "GTK", "gtk_widget_dispose_template", false) | |||
| 2123 | - | ||||
| 2124 | xWidgetDisposeTemplate(x.GoPointer(), WidgetTypeVar) | 2038 | xWidgetDisposeTemplate(x.GoPointer(), WidgetTypeVar) | ||
| 2125 | } | 2039 | } | ||
| 2126 | 2040 | ||||
| @@ -2128,8 +2042,6 @@ var xWidgetDragCheckThreshold func(uintptr, int, int, int, int) bool | |||||
| 2128 | 2042 | ||||
| 2129 | // Checks to see if a drag movement has passed the GTK drag threshold. | 2043 | // Checks to see if a drag movement has passed the GTK drag threshold. | ||
| 2130 | func (x *Widget) DragCheckThreshold(StartXVar int, StartYVar int, CurrentXVar int, CurrentYVar int) bool { | 2044 | func (x *Widget) DragCheckThreshold(StartXVar int, StartYVar int, CurrentXVar int, CurrentYVar int) bool { | ||
| 2131 | - | core.LazyRegister(&xWidgetDragCheckThreshold, "GTK", "gtk_drag_check_threshold", false) | |||
| 2132 | - | ||||
| 2133 | cret := xWidgetDragCheckThreshold(x.GoPointer(), StartXVar, StartYVar, CurrentXVar, CurrentYVar) | 2045 | cret := xWidgetDragCheckThreshold(x.GoPointer(), StartXVar, StartYVar, CurrentXVar, CurrentYVar) | ||
| 2134 | return cret | 2046 | return cret | ||
| 2135 | } | 2047 | } | ||
| @@ -2145,8 +2057,6 @@ var xWidgetErrorBell func(uintptr) | |||||
| 2145 | // in many ways, depending on the windowing backend and the desktop | 2057 | // in many ways, depending on the windowing backend and the desktop | ||
| 2146 | // environment or window manager that is used. | 2058 | // environment or window manager that is used. | ||
| 2147 | func (x *Widget) ErrorBell() { | 2059 | func (x *Widget) ErrorBell() { | ||
| 2148 | - | core.LazyRegister(&xWidgetErrorBell, "GTK", "gtk_widget_error_bell", false) | |||
| 2149 | - | ||||
| 2150 | xWidgetErrorBell(x.GoPointer()) | 2060 | xWidgetErrorBell(x.GoPointer()) | ||
| 2151 | } | 2061 | } | ||
| 2152 | 2062 | ||||
| @@ -2158,8 +2068,6 @@ var xWidgetGetAllocatedBaseline func(uintptr) int | |||||
| 2158 | // for the `GtkWidget`Class.snapshot() function, and when allocating | 2068 | // for the `GtkWidget`Class.snapshot() function, and when allocating | ||
| 2159 | // child widgets in `GtkWidget`Class.size_allocate(). | 2069 | // child widgets in `GtkWidget`Class.size_allocate(). | ||
| 2160 | func (x *Widget) GetAllocatedBaseline() int { | 2070 | func (x *Widget) GetAllocatedBaseline() int { | ||
| 2161 | - | core.LazyRegister(&xWidgetGetAllocatedBaseline, "GTK", "gtk_widget_get_allocated_baseline", false) | |||
| 2162 | - | ||||
| 2163 | cret := xWidgetGetAllocatedBaseline(x.GoPointer()) | 2071 | cret := xWidgetGetAllocatedBaseline(x.GoPointer()) | ||
| 2164 | return cret | 2072 | return cret | ||
| 2165 | } | 2073 | } | ||
| @@ -2171,8 +2079,6 @@ var xWidgetGetAllocatedHeight func(uintptr) int | |||||
| 2171 | // To learn more about widget sizes, see the coordinate | 2079 | // To learn more about widget sizes, see the coordinate | ||
| 2172 | // system [overview](coordinates.html). | 2080 | // system [overview](coordinates.html). | ||
| 2173 | func (x *Widget) GetAllocatedHeight() int { | 2081 | func (x *Widget) GetAllocatedHeight() int { | ||
| 2174 | - | core.LazyRegister(&xWidgetGetAllocatedHeight, "GTK", "gtk_widget_get_allocated_height", false) | |||
| 2175 | - | ||||
| 2176 | cret := xWidgetGetAllocatedHeight(x.GoPointer()) | 2082 | cret := xWidgetGetAllocatedHeight(x.GoPointer()) | ||
| 2177 | return cret | 2083 | return cret | ||
| 2178 | } | 2084 | } | ||
| @@ -2184,8 +2090,6 @@ var xWidgetGetAllocatedWidth func(uintptr) int | |||||
| 2184 | // To learn more about widget sizes, see the coordinate | 2090 | // To learn more about widget sizes, see the coordinate | ||
| 2185 | // system [overview](coordinates.html). | 2091 | // system [overview](coordinates.html). | ||
| 2186 | func (x *Widget) GetAllocatedWidth() int { | 2092 | func (x *Widget) GetAllocatedWidth() int { | ||
| 2187 | - | core.LazyRegister(&xWidgetGetAllocatedWidth, "GTK", "gtk_widget_get_allocated_width", false) | |||
| 2188 | - | ||||
| 2189 | cret := xWidgetGetAllocatedWidth(x.GoPointer()) | 2093 | cret := xWidgetGetAllocatedWidth(x.GoPointer()) | ||
| 2190 | return cret | 2094 | return cret | ||
| 2191 | } | 2095 | } | ||
| @@ -2208,8 +2112,6 @@ var xWidgetGetAllocation func(uintptr, *Allocation) | |||||
| 2208 | // the assigned bounds, but not that they have exactly the bounds the | 2112 | // the assigned bounds, but not that they have exactly the bounds the | ||
| 2209 | // widget assigned. | 2113 | // widget assigned. | ||
| 2210 | func (x *Widget) GetAllocation(AllocationVar *Allocation) { | 2114 | func (x *Widget) GetAllocation(AllocationVar *Allocation) { | ||
| 2211 | - | core.LazyRegister(&xWidgetGetAllocation, "GTK", "gtk_widget_get_allocation", false) | |||
| 2212 | - | ||||
| 2213 | xWidgetGetAllocation(x.GoPointer(), AllocationVar) | 2115 | xWidgetGetAllocation(x.GoPointer(), AllocationVar) | ||
| 2214 | } | 2116 | } | ||
| 2215 | 2117 | ||||
| @@ -2225,7 +2127,6 @@ var xWidgetGetAncestor func(uintptr, types.GType) uintptr | |||||
| 2225 | // Note that unlike [method@Gtk.Widget.is_ancestor], this function | 2127 | // Note that unlike [method@Gtk.Widget.is_ancestor], this function | ||
| 2226 | // considers @widget to be an ancestor of itself. | 2128 | // considers @widget to be an ancestor of itself. | ||
| 2227 | func (x *Widget) GetAncestor(WidgetTypeVar types.GType) *Widget { | 2129 | func (x *Widget) GetAncestor(WidgetTypeVar types.GType) *Widget { | ||
| 2228 | - | core.LazyRegister(&xWidgetGetAncestor, "GTK", "gtk_widget_get_ancestor", false) | |||
| 2229 | var cls *Widget | 2130 | var cls *Widget | ||
| 2230 | 2131 | ||||
| 2231 | cret := xWidgetGetAncestor(x.GoPointer(), WidgetTypeVar) | 2132 | cret := xWidgetGetAncestor(x.GoPointer(), WidgetTypeVar) | ||
| @@ -2247,8 +2148,6 @@ var xWidgetGetBaseline func(uintptr) int | |||||
| 2247 | // for the `GtkWidgetClass.snapshot()` function, and when allocating | 2148 | // for the `GtkWidgetClass.snapshot()` function, and when allocating | ||
| 2248 | // child widgets in `GtkWidgetClass.size_allocate()`. | 2149 | // child widgets in `GtkWidgetClass.size_allocate()`. | ||
| 2249 | func (x *Widget) GetBaseline() int { | 2150 | func (x *Widget) GetBaseline() int { | ||
| 2250 | - | core.LazyRegister(&xWidgetGetBaseline, "GTK", "gtk_widget_get_baseline", false) | |||
| 2251 | - | ||||
| 2252 | cret := xWidgetGetBaseline(x.GoPointer()) | 2151 | cret := xWidgetGetBaseline(x.GoPointer()) | ||
| 2253 | return cret | 2152 | return cret | ||
| 2254 | } | 2153 | } | ||
| @@ -2260,8 +2159,6 @@ var xWidgetGetCanFocus func(uintptr) bool | |||||
| 2260 | // | 2159 | // | ||
| 2261 | // See [method@Gtk.Widget.set_can_focus]. | 2160 | // See [method@Gtk.Widget.set_can_focus]. | ||
| 2262 | func (x *Widget) GetCanFocus() bool { | 2161 | func (x *Widget) GetCanFocus() bool { | ||
| 2263 | - | core.LazyRegister(&xWidgetGetCanFocus, "GTK", "gtk_widget_get_can_focus", false) | |||
| 2264 | - | ||||
| 2265 | cret := xWidgetGetCanFocus(x.GoPointer()) | 2162 | cret := xWidgetGetCanFocus(x.GoPointer()) | ||
| 2266 | return cret | 2163 | return cret | ||
| 2267 | } | 2164 | } | ||
| @@ -2270,8 +2167,6 @@ var xWidgetGetCanTarget func(uintptr) bool | |||||
| 2270 | 2167 | ||||
| 2271 | // Queries whether the widget can be the target of pointer events. | 2168 | // Queries whether the widget can be the target of pointer events. | ||
| 2272 | func (x *Widget) GetCanTarget() bool { | 2169 | func (x *Widget) GetCanTarget() bool { | ||
| 2273 | - | core.LazyRegister(&xWidgetGetCanTarget, "GTK", "gtk_widget_get_can_target", false) | |||
| 2274 | - | ||||
| 2275 | cret := xWidgetGetCanTarget(x.GoPointer()) | 2170 | cret := xWidgetGetCanTarget(x.GoPointer()) | ||
| 2276 | return cret | 2171 | return cret | ||
| 2277 | } | 2172 | } | ||
| @@ -2286,8 +2181,6 @@ var xWidgetGetChildVisible func(uintptr) bool | |||||
| 2286 | // This function is only useful for widget implementations | 2181 | // This function is only useful for widget implementations | ||
| 2287 | // and should never be called by an application. | 2182 | // and should never be called by an application. | ||
| 2288 | func (x *Widget) GetChildVisible() bool { | 2183 | func (x *Widget) GetChildVisible() bool { | ||
| 2289 | - | core.LazyRegister(&xWidgetGetChildVisible, "GTK", "gtk_widget_get_child_visible", false) | |||
| 2290 | - | ||||
| 2291 | cret := xWidgetGetChildVisible(x.GoPointer()) | 2184 | cret := xWidgetGetChildVisible(x.GoPointer()) | ||
| 2292 | return cret | 2185 | return cret | ||
| 2293 | } | 2186 | } | ||
| @@ -2302,7 +2195,6 @@ var xWidgetGetClipboard func(uintptr) uintptr | |||||
| 2302 | // Note that this function always works, even when @widget is not | 2195 | // Note that this function always works, even when @widget is not | ||
| 2303 | // realized yet. | 2196 | // realized yet. | ||
| 2304 | func (x *Widget) GetClipboard() *gdk.Clipboard { | 2197 | func (x *Widget) GetClipboard() *gdk.Clipboard { | ||
| 2305 | - | core.LazyRegister(&xWidgetGetClipboard, "GTK", "gtk_widget_get_clipboard", false) | |||
| 2306 | var cls *gdk.Clipboard | 2198 | var cls *gdk.Clipboard | ||
| 2307 | 2199 | ||||
| 2308 | cret := xWidgetGetClipboard(x.GoPointer()) | 2200 | cret := xWidgetGetClipboard(x.GoPointer()) | ||
| @@ -2324,8 +2216,6 @@ var xWidgetGetColor func(uintptr, *gdk.RGBA) | |||||
| 2324 | // implementations that need to do custom drawing | 2216 | // implementations that need to do custom drawing | ||
| 2325 | // with the foreground color. | 2217 | // with the foreground color. | ||
| 2326 | func (x *Widget) GetColor(ColorVar *gdk.RGBA) { | 2218 | func (x *Widget) GetColor(ColorVar *gdk.RGBA) { | ||
| 2327 | - | core.LazyRegister(&xWidgetGetColor, "GTK", "gtk_widget_get_color", false) | |||
| 2328 | - | ||||
| 2329 | xWidgetGetColor(x.GoPointer(), ColorVar) | 2219 | xWidgetGetColor(x.GoPointer(), ColorVar) | ||
| 2330 | } | 2220 | } | ||
| 2331 | 2221 | ||||
| @@ -2333,8 +2223,6 @@ var xWidgetGetCssClasses func(uintptr) []string | |||||
| 2333 | 2223 | ||||
| 2334 | // Returns the list of style classes applied to the widget. | 2224 | // Returns the list of style classes applied to the widget. | ||
| 2335 | func (x *Widget) GetCssClasses() []string { | 2225 | func (x *Widget) GetCssClasses() []string { | ||
| 2336 | - | core.LazyRegister(&xWidgetGetCssClasses, "GTK", "gtk_widget_get_css_classes", false) | |||
| 2337 | - | ||||
| 2338 | cret := xWidgetGetCssClasses(x.GoPointer()) | 2226 | cret := xWidgetGetCssClasses(x.GoPointer()) | ||
| 2339 | return cret | 2227 | return cret | ||
| 2340 | } | 2228 | } | ||
| @@ -2343,8 +2231,6 @@ var xWidgetGetCssName func(uintptr) string | |||||
| 2343 | 2231 | ||||
| 2344 | // Returns the CSS name of the widget. | 2232 | // Returns the CSS name of the widget. | ||
| 2345 | func (x *Widget) GetCssName() string { | 2233 | func (x *Widget) GetCssName() string { | ||
| 2346 | - | core.LazyRegister(&xWidgetGetCssName, "GTK", "gtk_widget_get_css_name", false) | |||
| 2347 | - | ||||
| 2348 | cret := xWidgetGetCssName(x.GoPointer()) | 2234 | cret := xWidgetGetCssName(x.GoPointer()) | ||
| 2349 | return cret | 2235 | return cret | ||
| 2350 | } | 2236 | } | ||
| @@ -2355,7 +2241,6 @@ var xWidgetGetCursor func(uintptr) uintptr | |||||
| 2355 | // | 2241 | // | ||
| 2356 | // See [method@Gtk.Widget.set_cursor] for details. | 2242 | // See [method@Gtk.Widget.set_cursor] for details. | ||
| 2357 | func (x *Widget) GetCursor() *gdk.Cursor { | 2243 | func (x *Widget) GetCursor() *gdk.Cursor { | ||
| 2358 | - | core.LazyRegister(&xWidgetGetCursor, "GTK", "gtk_widget_get_cursor", false) | |||
| 2359 | var cls *gdk.Cursor | 2244 | var cls *gdk.Cursor | ||
| 2360 | 2245 | ||||
| 2361 | cret := xWidgetGetCursor(x.GoPointer()) | 2246 | cret := xWidgetGetCursor(x.GoPointer()) | ||
| @@ -2375,8 +2260,6 @@ var xWidgetGetDirection func(uintptr) TextDirection | |||||
| 2375 | // | 2260 | // | ||
| 2376 | // See [method@Gtk.Widget.set_direction]. | 2261 | // See [method@Gtk.Widget.set_direction]. | ||
| 2377 | func (x *Widget) GetDirection() TextDirection { | 2262 | func (x *Widget) GetDirection() TextDirection { | ||
| 2378 | - | core.LazyRegister(&xWidgetGetDirection, "GTK", "gtk_widget_get_direction", false) | |||
| 2379 | - | ||||
| 2380 | cret := xWidgetGetDirection(x.GoPointer()) | 2263 | cret := xWidgetGetDirection(x.GoPointer()) | ||
| 2381 | return cret | 2264 | return cret | ||
| 2382 | } | 2265 | } | ||
| @@ -2392,7 +2275,6 @@ var xWidgetGetDisplay func(uintptr) uintptr | |||||
| 2392 | // resources when a widget has been realized, and you should | 2275 | // resources when a widget has been realized, and you should | ||
| 2393 | // free those resources when the widget is unrealized. | 2276 | // free those resources when the widget is unrealized. | ||
| 2394 | func (x *Widget) GetDisplay() *gdk.Display { | 2277 | func (x *Widget) GetDisplay() *gdk.Display { | ||
| 2395 | - | core.LazyRegister(&xWidgetGetDisplay, "GTK", "gtk_widget_get_display", false) | |||
| 2396 | var cls *gdk.Display | 2278 | var cls *gdk.Display | ||
| 2397 | 2279 | ||||
| 2398 | cret := xWidgetGetDisplay(x.GoPointer()) | 2280 | cret := xWidgetGetDisplay(x.GoPointer()) | ||
| @@ -2412,7 +2294,6 @@ var xWidgetGetFirstChild func(uintptr) uintptr | |||||
| 2412 | // | 2294 | // | ||
| 2413 | // This function is primarily meant for widget implementations. | 2295 | // This function is primarily meant for widget implementations. | ||
| 2414 | func (x *Widget) GetFirstChild() *Widget { | 2296 | func (x *Widget) GetFirstChild() *Widget { | ||
| 2415 | - | core.LazyRegister(&xWidgetGetFirstChild, "GTK", "gtk_widget_get_first_child", false) | |||
| 2416 | var cls *Widget | 2297 | var cls *Widget | ||
| 2417 | 2298 | ||||
| 2418 | cret := xWidgetGetFirstChild(x.GoPointer()) | 2299 | cret := xWidgetGetFirstChild(x.GoPointer()) | ||
| @@ -2430,7 +2311,6 @@ var xWidgetGetFocusChild func(uintptr) uintptr | |||||
| 2430 | 2311 | ||||
| 2431 | // Returns the focus child of the widget. | 2312 | // Returns the focus child of the widget. | ||
| 2432 | func (x *Widget) GetFocusChild() *Widget { | 2313 | func (x *Widget) GetFocusChild() *Widget { | ||
| 2433 | - | core.LazyRegister(&xWidgetGetFocusChild, "GTK", "gtk_widget_get_focus_child", false) | |||
| 2434 | var cls *Widget | 2314 | var cls *Widget | ||
| 2435 | 2315 | ||||
| 2436 | cret := xWidgetGetFocusChild(x.GoPointer()) | 2316 | cret := xWidgetGetFocusChild(x.GoPointer()) | ||
| @@ -2451,8 +2331,6 @@ var xWidgetGetFocusOnClick func(uintptr) bool | |||||
| 2451 | // | 2331 | // | ||
| 2452 | // See [method@Gtk.Widget.set_focus_on_click]. | 2332 | // See [method@Gtk.Widget.set_focus_on_click]. | ||
| 2453 | func (x *Widget) GetFocusOnClick() bool { | 2333 | func (x *Widget) GetFocusOnClick() bool { | ||
| 2454 | - | core.LazyRegister(&xWidgetGetFocusOnClick, "GTK", "gtk_widget_get_focus_on_click", false) | |||
| 2455 | - | ||||
| 2456 | cret := xWidgetGetFocusOnClick(x.GoPointer()) | 2334 | cret := xWidgetGetFocusOnClick(x.GoPointer()) | ||
| 2457 | return cret | 2335 | return cret | ||
| 2458 | } | 2336 | } | ||
| @@ -2463,8 +2341,6 @@ var xWidgetGetFocusable func(uintptr) bool | |||||
| 2463 | // | 2341 | // | ||
| 2464 | // See [method@Gtk.Widget.set_focusable]. | 2342 | // See [method@Gtk.Widget.set_focusable]. | ||
| 2465 | func (x *Widget) GetFocusable() bool { | 2343 | func (x *Widget) GetFocusable() bool { | ||
| 2466 | - | core.LazyRegister(&xWidgetGetFocusable, "GTK", "gtk_widget_get_focusable", false) | |||
| 2467 | - | ||||
| 2468 | cret := xWidgetGetFocusable(x.GoPointer()) | 2344 | cret := xWidgetGetFocusable(x.GoPointer()) | ||
| 2469 | return cret | 2345 | return cret | ||
| 2470 | } | 2346 | } | ||
| @@ -2475,7 +2351,6 @@ var xWidgetGetFontMap func(uintptr) uintptr | |||||
| 2475 | // | 2351 | // | ||
| 2476 | // See [method@Gtk.Widget.set_font_map]. | 2352 | // See [method@Gtk.Widget.set_font_map]. | ||
| 2477 | func (x *Widget) GetFontMap() *pango.FontMap { | 2353 | func (x *Widget) GetFontMap() *pango.FontMap { | ||
| 2478 | - | core.LazyRegister(&xWidgetGetFontMap, "GTK", "gtk_widget_get_font_map", false) | |||
| 2479 | var cls *pango.FontMap | 2354 | var cls *pango.FontMap | ||
| 2480 | 2355 | ||||
| 2481 | cret := xWidgetGetFontMap(x.GoPointer()) | 2356 | cret := xWidgetGetFontMap(x.GoPointer()) | ||
| @@ -2495,8 +2370,6 @@ var xWidgetGetFontOptions func(uintptr) uintptr | |||||
| 2495 | // | 2370 | // | ||
| 2496 | // Seee [method@Gtk.Widget.set_font_options]. | 2371 | // Seee [method@Gtk.Widget.set_font_options]. | ||
| 2497 | func (x *Widget) GetFontOptions() *cairo.FontOptions { | 2372 | func (x *Widget) GetFontOptions() *cairo.FontOptions { | ||
| 2498 | - | core.LazyRegister(&xWidgetGetFontOptions, "GTK", "gtk_widget_get_font_options", false) | |||
| 2499 | - | ||||
| 2500 | cret := xWidgetGetFontOptions(x.GoPointer()) | 2373 | cret := xWidgetGetFontOptions(x.GoPointer()) | ||
| 2501 | if cret == 0 { | 2374 | if cret == 0 { | ||
| 2502 | return nil | 2375 | return nil | ||
| @@ -2529,7 +2402,6 @@ var xWidgetGetFrameClock func(uintptr) uintptr | |||||
| 2529 | // | 2402 | // | ||
| 2530 | // Unrealized widgets do not have a frame clock. | 2403 | // Unrealized widgets do not have a frame clock. | ||
| 2531 | func (x *Widget) GetFrameClock() *gdk.FrameClock { | 2404 | func (x *Widget) GetFrameClock() *gdk.FrameClock { | ||
| 2532 | - | core.LazyRegister(&xWidgetGetFrameClock, "GTK", "gtk_widget_get_frame_clock", false) | |||
| 2533 | var cls *gdk.FrameClock | 2405 | var cls *gdk.FrameClock | ||
| 2534 | 2406 | ||||
| 2535 | cret := xWidgetGetFrameClock(x.GoPointer()) | 2407 | cret := xWidgetGetFrameClock(x.GoPointer()) | ||
| @@ -2553,8 +2425,6 @@ var xWidgetGetHalign func(uintptr) Align | |||||
| 2553 | // | 2425 | // | ||
| 2554 | // Baselines are not supported for horizontal alignment. | 2426 | // Baselines are not supported for horizontal alignment. | ||
| 2555 | func (x *Widget) GetHalign() Align { | 2427 | func (x *Widget) GetHalign() Align { | ||
| 2556 | - | core.LazyRegister(&xWidgetGetHalign, "GTK", "gtk_widget_get_halign", false) | |||
| 2557 | - | ||||
| 2558 | cret := xWidgetGetHalign(x.GoPointer()) | 2428 | cret := xWidgetGetHalign(x.GoPointer()) | ||
| 2559 | return cret | 2429 | return cret | ||
| 2560 | } | 2430 | } | ||
| @@ -2563,8 +2433,6 @@ var xWidgetGetHasTooltip func(uintptr) bool | |||||
| 2563 | 2433 | ||||
| 2564 | // Returns the current value of the `has-tooltip` property. | 2434 | // Returns the current value of the `has-tooltip` property. | ||
| 2565 | func (x *Widget) GetHasTooltip() bool { | 2435 | func (x *Widget) GetHasTooltip() bool { | ||
| 2566 | - | core.LazyRegister(&xWidgetGetHasTooltip, "GTK", "gtk_widget_get_has_tooltip", false) | |||
| 2567 | - | ||||
| 2568 | cret := xWidgetGetHasTooltip(x.GoPointer()) | 2436 | cret := xWidgetGetHasTooltip(x.GoPointer()) | ||
| 2569 | return cret | 2437 | return cret | ||
| 2570 | } | 2438 | } | ||
| @@ -2582,8 +2450,6 @@ var xWidgetGetHeight func(uintptr) int | |||||
| 2582 | // To learn more about widget sizes, see the coordinate | 2450 | // To learn more about widget sizes, see the coordinate | ||
| 2583 | // system [overview](coordinates.html). | 2451 | // system [overview](coordinates.html). | ||
| 2584 | func (x *Widget) GetHeight() int { | 2452 | func (x *Widget) GetHeight() int { | ||
| 2585 | - | core.LazyRegister(&xWidgetGetHeight, "GTK", "gtk_widget_get_height", false) | |||
| 2586 | - | ||||
| 2587 | cret := xWidgetGetHeight(x.GoPointer()) | 2453 | cret := xWidgetGetHeight(x.GoPointer()) | ||
| 2588 | return cret | 2454 | return cret | ||
| 2589 | } | 2455 | } | ||
| @@ -2606,8 +2472,6 @@ var xWidgetGetHexpand func(uintptr) bool | |||||
| 2606 | // than computing whether the entire widget tree rooted at this widget | 2472 | // than computing whether the entire widget tree rooted at this widget | ||
| 2607 | // wants to expand. | 2473 | // wants to expand. | ||
| 2608 | func (x *Widget) GetHexpand() bool { | 2474 | func (x *Widget) GetHexpand() bool { | ||
| 2609 | - | core.LazyRegister(&xWidgetGetHexpand, "GTK", "gtk_widget_get_hexpand", false) | |||
| 2610 | - | ||||
| 2611 | cret := xWidgetGetHexpand(x.GoPointer()) | 2475 | cret := xWidgetGetHexpand(x.GoPointer()) | ||
| 2612 | return cret | 2476 | return cret | ||
| 2613 | } | 2477 | } | ||
| @@ -2624,8 +2488,6 @@ var xWidgetGetHexpandSet func(uintptr) bool | |||||
| 2624 | // There are few reasons to use this function, but it’s here | 2488 | // There are few reasons to use this function, but it’s here | ||
| 2625 | // for completeness and consistency. | 2489 | // for completeness and consistency. | ||
| 2626 | func (x *Widget) GetHexpandSet() bool { | 2490 | func (x *Widget) GetHexpandSet() bool { | ||
| 2627 | - | core.LazyRegister(&xWidgetGetHexpandSet, "GTK", "gtk_widget_get_hexpand_set", false) | |||
| 2628 | - | ||||
| 2629 | cret := xWidgetGetHexpandSet(x.GoPointer()) | 2491 | cret := xWidgetGetHexpandSet(x.GoPointer()) | ||
| 2630 | return cret | 2492 | return cret | ||
| 2631 | } | 2493 | } | ||
| @@ -2636,7 +2498,6 @@ var xWidgetGetLastChild func(uintptr) uintptr | |||||
| 2636 | // | 2498 | // | ||
| 2637 | // This function is primarily meant for widget implementations. | 2499 | // This function is primarily meant for widget implementations. | ||
| 2638 | func (x *Widget) GetLastChild() *Widget { | 2500 | func (x *Widget) GetLastChild() *Widget { | ||
| 2639 | - | core.LazyRegister(&xWidgetGetLastChild, "GTK", "gtk_widget_get_last_child", false) | |||
| 2640 | var cls *Widget | 2501 | var cls *Widget | ||
| 2641 | 2502 | ||||
| 2642 | cret := xWidgetGetLastChild(x.GoPointer()) | 2503 | cret := xWidgetGetLastChild(x.GoPointer()) | ||
| @@ -2656,7 +2517,6 @@ var xWidgetGetLayoutManager func(uintptr) uintptr | |||||
| 2656 | // | 2517 | // | ||
| 2657 | // See [method@Gtk.Widget.set_layout_manager]. | 2518 | // See [method@Gtk.Widget.set_layout_manager]. | ||
| 2658 | func (x *Widget) GetLayoutManager() *LayoutManager { | 2519 | func (x *Widget) GetLayoutManager() *LayoutManager { | ||
| 2659 | - | core.LazyRegister(&xWidgetGetLayoutManager, "GTK", "gtk_widget_get_layout_manager", false) | |||
| 2660 | var cls *LayoutManager | 2520 | var cls *LayoutManager | ||
| 2661 | 2521 | ||||
| 2662 | cret := xWidgetGetLayoutManager(x.GoPointer()) | 2522 | cret := xWidgetGetLayoutManager(x.GoPointer()) | ||
| @@ -2674,8 +2534,6 @@ var xWidgetGetLimitEvents func(uintptr) bool | |||||
| 2674 | 2534 | ||||
| 2675 | // Gets the value of the [property@Gtk.Widget:limit-events] property. | 2535 | // Gets the value of the [property@Gtk.Widget:limit-events] property. | ||
| 2676 | func (x *Widget) GetLimitEvents() bool { | 2536 | func (x *Widget) GetLimitEvents() bool { | ||
| 2677 | - | core.LazyRegister(&xWidgetGetLimitEvents, "GTK", "gtk_widget_get_limit_events", false) | |||
| 2678 | - | ||||
| 2679 | cret := xWidgetGetLimitEvents(x.GoPointer()) | 2537 | cret := xWidgetGetLimitEvents(x.GoPointer()) | ||
| 2680 | return cret | 2538 | return cret | ||
| 2681 | } | 2539 | } | ||
| @@ -2684,8 +2542,6 @@ var xWidgetGetMapped func(uintptr) bool | |||||
| 2684 | 2542 | ||||
| 2685 | // Returns whether the widget is mapped. | 2543 | // Returns whether the widget is mapped. | ||
| 2686 | func (x *Widget) GetMapped() bool { | 2544 | func (x *Widget) GetMapped() bool { | ||
| 2687 | - | core.LazyRegister(&xWidgetGetMapped, "GTK", "gtk_widget_get_mapped", false) | |||
| 2688 | - | ||||
| 2689 | cret := xWidgetGetMapped(x.GoPointer()) | 2545 | cret := xWidgetGetMapped(x.GoPointer()) | ||
| 2690 | return cret | 2546 | return cret | ||
| 2691 | } | 2547 | } | ||
| @@ -2694,8 +2550,6 @@ var xWidgetGetMarginBottom func(uintptr) int | |||||
| 2694 | 2550 | ||||
| 2695 | // Gets the bottom margin of the widget. | 2551 | // Gets the bottom margin of the widget. | ||
| 2696 | func (x *Widget) GetMarginBottom() int { | 2552 | func (x *Widget) GetMarginBottom() int { | ||
| 2697 | - | core.LazyRegister(&xWidgetGetMarginBottom, "GTK", "gtk_widget_get_margin_bottom", false) | |||
| 2698 | - | ||||
| 2699 | cret := xWidgetGetMarginBottom(x.GoPointer()) | 2553 | cret := xWidgetGetMarginBottom(x.GoPointer()) | ||
| 2700 | return cret | 2554 | return cret | ||
| 2701 | } | 2555 | } | ||
| @@ -2704,8 +2558,6 @@ var xWidgetGetMarginEnd func(uintptr) int | |||||
| 2704 | 2558 | ||||
| 2705 | // Gets the end margin of the widget. | 2559 | // Gets the end margin of the widget. | ||
| 2706 | func (x *Widget) GetMarginEnd() int { | 2560 | func (x *Widget) GetMarginEnd() int { | ||
| 2707 | - | core.LazyRegister(&xWidgetGetMarginEnd, "GTK", "gtk_widget_get_margin_end", false) | |||
| 2708 | - | ||||
| 2709 | cret := xWidgetGetMarginEnd(x.GoPointer()) | 2561 | cret := xWidgetGetMarginEnd(x.GoPointer()) | ||
| 2710 | return cret | 2562 | return cret | ||
| 2711 | } | 2563 | } | ||
| @@ -2714,8 +2566,6 @@ var xWidgetGetMarginStart func(uintptr) int | |||||
| 2714 | 2566 | ||||
| 2715 | // Gets the start margin of the widget. | 2567 | // Gets the start margin of the widget. | ||
| 2716 | func (x *Widget) GetMarginStart() int { | 2568 | func (x *Widget) GetMarginStart() int { | ||
| 2717 | - | core.LazyRegister(&xWidgetGetMarginStart, "GTK", "gtk_widget_get_margin_start", false) | |||
| 2718 | - | ||||
| 2719 | cret := xWidgetGetMarginStart(x.GoPointer()) | 2569 | cret := xWidgetGetMarginStart(x.GoPointer()) | ||
| 2720 | return cret | 2570 | return cret | ||
| 2721 | } | 2571 | } | ||
| @@ -2724,8 +2574,6 @@ var xWidgetGetMarginTop func(uintptr) int | |||||
| 2724 | 2574 | ||||
| 2725 | // Gets the top margin of the widget. | 2575 | // Gets the top margin of the widget. | ||
| 2726 | func (x *Widget) GetMarginTop() int { | 2576 | func (x *Widget) GetMarginTop() int { | ||
| 2727 | - | core.LazyRegister(&xWidgetGetMarginTop, "GTK", "gtk_widget_get_margin_top", false) | |||
| 2728 | - | ||||
| 2729 | cret := xWidgetGetMarginTop(x.GoPointer()) | 2577 | cret := xWidgetGetMarginTop(x.GoPointer()) | ||
| 2730 | return cret | 2578 | return cret | ||
| 2731 | } | 2579 | } | ||
| @@ -2736,8 +2584,6 @@ var xWidgetGetName func(uintptr) string | |||||
| 2736 | // | 2584 | // | ||
| 2737 | // See [method@Gtk.Widget.set_name] for the significance of widget names. | 2585 | // See [method@Gtk.Widget.set_name] for the significance of widget names. | ||
| 2738 | func (x *Widget) GetName() string { | 2586 | func (x *Widget) GetName() string { | ||
| 2739 | - | core.LazyRegister(&xWidgetGetName, "GTK", "gtk_widget_get_name", false) | |||
| 2740 | - | ||||
| 2741 | cret := xWidgetGetName(x.GoPointer()) | 2587 | cret := xWidgetGetName(x.GoPointer()) | ||
| 2742 | return cret | 2588 | return cret | ||
| 2743 | } | 2589 | } | ||
| @@ -2751,7 +2597,6 @@ var xWidgetGetNative func(uintptr) uintptr | |||||
| 2751 | // | 2597 | // | ||
| 2752 | // `GtkNative` widgets will return themselves here. | 2598 | // `GtkNative` widgets will return themselves here. | ||
| 2753 | func (x *Widget) GetNative() *NativeBase { | 2599 | func (x *Widget) GetNative() *NativeBase { | ||
| 2754 | - | core.LazyRegister(&xWidgetGetNative, "GTK", "gtk_widget_get_native", false) | |||
| 2755 | var cls *NativeBase | 2600 | var cls *NativeBase | ||
| 2756 | 2601 | ||||
| 2757 | cret := xWidgetGetNative(x.GoPointer()) | 2602 | cret := xWidgetGetNative(x.GoPointer()) | ||
| @@ -2771,7 +2616,6 @@ var xWidgetGetNextSibling func(uintptr) uintptr | |||||
| 2771 | // | 2616 | // | ||
| 2772 | // This function is primarily meant for widget implementations. | 2617 | // This function is primarily meant for widget implementations. | ||
| 2773 | func (x *Widget) GetNextSibling() *Widget { | 2618 | func (x *Widget) GetNextSibling() *Widget { | ||
| 2774 | - | core.LazyRegister(&xWidgetGetNextSibling, "GTK", "gtk_widget_get_next_sibling", false) | |||
| 2775 | var cls *Widget | 2619 | var cls *Widget | ||
| 2776 | 2620 | ||||
| 2777 | cret := xWidgetGetNextSibling(x.GoPointer()) | 2621 | cret := xWidgetGetNextSibling(x.GoPointer()) | ||
| @@ -2791,8 +2635,6 @@ var xWidgetGetOpacity func(uintptr) float64 | |||||
| 2791 | // | 2635 | // | ||
| 2792 | // See [method@Gtk.Widget.set_opacity]. | 2636 | // See [method@Gtk.Widget.set_opacity]. | ||
| 2793 | func (x *Widget) GetOpacity() float64 { | 2637 | func (x *Widget) GetOpacity() float64 { | ||
| 2794 | - | core.LazyRegister(&xWidgetGetOpacity, "GTK", "gtk_widget_get_opacity", false) | |||
| 2795 | - | ||||
| 2796 | cret := xWidgetGetOpacity(x.GoPointer()) | 2638 | cret := xWidgetGetOpacity(x.GoPointer()) | ||
| 2797 | return cret | 2639 | return cret | ||
| 2798 | } | 2640 | } | ||
| @@ -2801,8 +2643,6 @@ var xWidgetGetOverflow func(uintptr) Overflow | |||||
| 2801 | 2643 | ||||
| 2802 | // Returns the widget’s overflow value. | 2644 | // Returns the widget’s overflow value. | ||
| 2803 | func (x *Widget) GetOverflow() Overflow { | 2645 | func (x *Widget) GetOverflow() Overflow { | ||
| 2804 | - | core.LazyRegister(&xWidgetGetOverflow, "GTK", "gtk_widget_get_overflow", false) | |||
| 2805 | - | ||||
| 2806 | cret := xWidgetGetOverflow(x.GoPointer()) | 2646 | cret := xWidgetGetOverflow(x.GoPointer()) | ||
| 2807 | return cret | 2647 | return cret | ||
| 2808 | } | 2648 | } | ||
| @@ -2821,7 +2661,6 @@ var xWidgetGetPangoContext func(uintptr) uintptr | |||||
| 2821 | // This can be tracked by listening to changes of the | 2661 | // This can be tracked by listening to changes of the | ||
| 2822 | // [property@Gtk.Widget:root] property on the widget. | 2662 | // [property@Gtk.Widget:root] property on the widget. | ||
| 2823 | func (x *Widget) GetPangoContext() *pango.Context { | 2663 | func (x *Widget) GetPangoContext() *pango.Context { | ||
| 2824 | - | core.LazyRegister(&xWidgetGetPangoContext, "GTK", "gtk_widget_get_pango_context", false) | |||
| 2825 | var cls *pango.Context | 2664 | var cls *pango.Context | ||
| 2826 | 2665 | ||||
| 2827 | cret := xWidgetGetPangoContext(x.GoPointer()) | 2666 | cret := xWidgetGetPangoContext(x.GoPointer()) | ||
| @@ -2839,7 +2678,6 @@ var xWidgetGetParent func(uintptr) uintptr | |||||
| 2839 | 2678 | ||||
| 2840 | // Returns the parent widget of the widget. | 2679 | // Returns the parent widget of the widget. | ||
| 2841 | func (x *Widget) GetParent() *Widget { | 2680 | func (x *Widget) GetParent() *Widget { | ||
| 2842 | - | core.LazyRegister(&xWidgetGetParent, "GTK", "gtk_widget_get_parent", false) | |||
| 2843 | var cls *Widget | 2681 | var cls *Widget | ||
| 2844 | 2682 | ||||
| 2845 | cret := xWidgetGetParent(x.GoPointer()) | 2683 | cret := xWidgetGetParent(x.GoPointer()) | ||
| @@ -2870,8 +2708,6 @@ var xWidgetGetPreferredSize func(uintptr, *Requisition, *Requisition) | |||||
| 2870 | // | 2708 | // | ||
| 2871 | // Use [method@Gtk.Widget.measure] if you want to support baseline alignment. | 2709 | // Use [method@Gtk.Widget.measure] if you want to support baseline alignment. | ||
| 2872 | func (x *Widget) GetPreferredSize(MinimumSizeVar *Requisition, NaturalSizeVar *Requisition) { | 2710 | func (x *Widget) GetPreferredSize(MinimumSizeVar *Requisition, NaturalSizeVar *Requisition) { | ||
| 2873 | - | core.LazyRegister(&xWidgetGetPreferredSize, "GTK", "gtk_widget_get_preferred_size", false) | |||
| 2874 | - | ||||
| 2875 | xWidgetGetPreferredSize(x.GoPointer(), MinimumSizeVar, NaturalSizeVar) | 2711 | xWidgetGetPreferredSize(x.GoPointer(), MinimumSizeVar, NaturalSizeVar) | ||
| 2876 | } | 2712 | } | ||
| 2877 | 2713 | ||||
| @@ -2881,7 +2717,6 @@ var xWidgetGetPrevSibling func(uintptr) uintptr | |||||
| 2881 | // | 2717 | // | ||
| 2882 | // This function is primarily meant for widget implementations. | 2718 | // This function is primarily meant for widget implementations. | ||
| 2883 | func (x *Widget) GetPrevSibling() *Widget { | 2719 | func (x *Widget) GetPrevSibling() *Widget { | ||
| 2884 | - | core.LazyRegister(&xWidgetGetPrevSibling, "GTK", "gtk_widget_get_prev_sibling", false) | |||
| 2885 | var cls *Widget | 2720 | var cls *Widget | ||
| 2886 | 2721 | ||||
| 2887 | cret := xWidgetGetPrevSibling(x.GoPointer()) | 2722 | cret := xWidgetGetPrevSibling(x.GoPointer()) | ||
| @@ -2905,7 +2740,6 @@ var xWidgetGetPrimaryClipboard func(uintptr) uintptr | |||||
| 2905 | // Note that this function always works, even when @widget is not | 2740 | // Note that this function always works, even when @widget is not | ||
| 2906 | // realized yet. | 2741 | // realized yet. | ||
| 2907 | func (x *Widget) GetPrimaryClipboard() *gdk.Clipboard { | 2742 | func (x *Widget) GetPrimaryClipboard() *gdk.Clipboard { | ||
| 2908 | - | core.LazyRegister(&xWidgetGetPrimaryClipboard, "GTK", "gtk_widget_get_primary_clipboard", false) | |||
| 2909 | var cls *gdk.Clipboard | 2743 | var cls *gdk.Clipboard | ||
| 2910 | 2744 | ||||
| 2911 | cret := xWidgetGetPrimaryClipboard(x.GoPointer()) | 2745 | cret := xWidgetGetPrimaryClipboard(x.GoPointer()) | ||
| @@ -2923,8 +2757,6 @@ var xWidgetGetRealized func(uintptr) bool | |||||
| 2923 | 2757 | ||||
| 2924 | // Determines whether the widget is realized. | 2758 | // Determines whether the widget is realized. | ||
| 2925 | func (x *Widget) GetRealized() bool { | 2759 | func (x *Widget) GetRealized() bool { | ||
| 2926 | - | core.LazyRegister(&xWidgetGetRealized, "GTK", "gtk_widget_get_realized", false) | |||
| 2927 | - | ||||
| 2928 | cret := xWidgetGetRealized(x.GoPointer()) | 2760 | cret := xWidgetGetRealized(x.GoPointer()) | ||
| 2929 | return cret | 2761 | return cret | ||
| 2930 | } | 2762 | } | ||
| @@ -2937,8 +2769,6 @@ var xWidgetGetReceivesDefault func(uintptr) bool | |||||
| 2937 | // | 2769 | // | ||
| 2938 | // See [method@Gtk.Widget.set_receives_default]. | 2770 | // See [method@Gtk.Widget.set_receives_default]. | ||
| 2939 | func (x *Widget) GetReceivesDefault() bool { | 2771 | func (x *Widget) GetReceivesDefault() bool { | ||
| 2940 | - | core.LazyRegister(&xWidgetGetReceivesDefault, "GTK", "gtk_widget_get_receives_default", false) | |||
| 2941 | - | ||||
| 2942 | cret := xWidgetGetReceivesDefault(x.GoPointer()) | 2772 | cret := xWidgetGetReceivesDefault(x.GoPointer()) | ||
| 2943 | return cret | 2773 | return cret | ||
| 2944 | } | 2774 | } | ||
| @@ -2953,8 +2783,6 @@ var xWidgetGetRequestMode func(uintptr) SizeRequestMode | |||||
| 2953 | // either in context of their children or in context of their | 2783 | // either in context of their children or in context of their | ||
| 2954 | // allocation capabilities. | 2784 | // allocation capabilities. | ||
| 2955 | func (x *Widget) GetRequestMode() SizeRequestMode { | 2785 | func (x *Widget) GetRequestMode() SizeRequestMode { | ||
| 2956 | - | core.LazyRegister(&xWidgetGetRequestMode, "GTK", "gtk_widget_get_request_mode", false) | |||
| 2957 | - | ||||
| 2958 | cret := xWidgetGetRequestMode(x.GoPointer()) | 2786 | cret := xWidgetGetRequestMode(x.GoPointer()) | ||
| 2959 | return cret | 2787 | return cret | ||
| 2960 | } | 2788 | } | ||
| @@ -2968,7 +2796,6 @@ var xWidgetGetRoot func(uintptr) uintptr | |||||
| 2968 | // | 2796 | // | ||
| 2969 | // `GtkRoot` widgets will return themselves here. | 2797 | // `GtkRoot` widgets will return themselves here. | ||
| 2970 | func (x *Widget) GetRoot() *RootBase { | 2798 | func (x *Widget) GetRoot() *RootBase { | ||
| 2971 | - | core.LazyRegister(&xWidgetGetRoot, "GTK", "gtk_widget_get_root", false) | |||
| 2972 | var cls *RootBase | 2799 | var cls *RootBase | ||
| 2973 | 2800 | ||||
| 2974 | cret := xWidgetGetRoot(x.GoPointer()) | 2801 | cret := xWidgetGetRoot(x.GoPointer()) | ||
| @@ -2998,8 +2825,6 @@ var xWidgetGetScaleFactor func(uintptr) int | |||||
| 2998 | // but you probably want to use [method@Gdk.Surface.get_scale] | 2825 | // but you probably want to use [method@Gdk.Surface.get_scale] | ||
| 2999 | // to get the fractional scale value. | 2826 | // to get the fractional scale value. | ||
| 3000 | func (x *Widget) GetScaleFactor() int { | 2827 | func (x *Widget) GetScaleFactor() int { | ||
| 3001 | - | core.LazyRegister(&xWidgetGetScaleFactor, "GTK", "gtk_widget_get_scale_factor", false) | |||
| 3002 | - | ||||
| 3003 | cret := xWidgetGetScaleFactor(x.GoPointer()) | 2828 | cret := xWidgetGetScaleFactor(x.GoPointer()) | ||
| 3004 | return cret | 2829 | return cret | ||
| 3005 | } | 2830 | } | ||
| @@ -3015,8 +2840,6 @@ var xWidgetGetSensitive func(uintptr) bool | |||||
| 3015 | // by both its own and its parent widget’s sensitivity. | 2840 | // by both its own and its parent widget’s sensitivity. | ||
| 3016 | // See [method@Gtk.Widget.is_sensitive]. | 2841 | // See [method@Gtk.Widget.is_sensitive]. | ||
| 3017 | func (x *Widget) GetSensitive() bool { | 2842 | func (x *Widget) GetSensitive() bool { | ||
| 3018 | - | core.LazyRegister(&xWidgetGetSensitive, "GTK", "gtk_widget_get_sensitive", false) | |||
| 3019 | - | ||||
| 3020 | cret := xWidgetGetSensitive(x.GoPointer()) | 2843 | cret := xWidgetGetSensitive(x.GoPointer()) | ||
| 3021 | return cret | 2844 | return cret | ||
| 3022 | } | 2845 | } | ||
| @@ -3030,7 +2853,6 @@ var xWidgetGetSettings func(uintptr) uintptr | |||||
| 3030 | // to a particular display. If you want to monitor the widget for | 2853 | // to a particular display. If you want to monitor the widget for | ||
| 3031 | // changes in its settings, connect to the `notify::display` signal. | 2854 | // changes in its settings, connect to the `notify::display` signal. | ||
| 3032 | func (x *Widget) GetSettings() *Settings { | 2855 | func (x *Widget) GetSettings() *Settings { | ||
| 3033 | - | core.LazyRegister(&xWidgetGetSettings, "GTK", "gtk_widget_get_settings", false) | |||
| 3034 | var cls *Settings | 2856 | var cls *Settings | ||
| 3035 | 2857 | ||||
| 3036 | cret := xWidgetGetSettings(x.GoPointer()) | 2858 | cret := xWidgetGetSettings(x.GoPointer()) | ||
| @@ -3059,8 +2881,6 @@ var xWidgetGetSize func(uintptr, Orientation) int | |||||
| 3059 | // To learn more about widget sizes, see the coordinate | 2881 | // To learn more about widget sizes, see the coordinate | ||
| 3060 | // system [overview](coordinates.html). | 2882 | // system [overview](coordinates.html). | ||
| 3061 | func (x *Widget) GetSize(OrientationVar Orientation) int { | 2883 | func (x *Widget) GetSize(OrientationVar Orientation) int { | ||
| 3062 | - | core.LazyRegister(&xWidgetGetSize, "GTK", "gtk_widget_get_size", false) | |||
| 3063 | - | ||||
| 3064 | cret := xWidgetGetSize(x.GoPointer(), OrientationVar) | 2884 | cret := xWidgetGetSize(x.GoPointer(), OrientationVar) | ||
| 3065 | return cret | 2885 | return cret | ||
| 3066 | } | 2886 | } | ||
| @@ -3078,8 +2898,6 @@ var xWidgetGetSizeRequest func(uintptr, *int, *int) | |||||
| 3078 | // To get the size a widget will actually request, call | 2898 | // To get the size a widget will actually request, call | ||
| 3079 | // [method@Gtk.Widget.measure] instead of this function. | 2899 | // [method@Gtk.Widget.measure] instead of this function. | ||
| 3080 | func (x *Widget) GetSizeRequest(WidthVar *int, HeightVar *int) { | 2900 | func (x *Widget) GetSizeRequest(WidthVar *int, HeightVar *int) { | ||
| 3081 | - | core.LazyRegister(&xWidgetGetSizeRequest, "GTK", "gtk_widget_get_size_request", false) | |||
| 3082 | - | ||||
| 3083 | xWidgetGetSizeRequest(x.GoPointer(), WidthVar, HeightVar) | 2901 | xWidgetGetSizeRequest(x.GoPointer(), WidthVar, HeightVar) | ||
| 3084 | } | 2902 | } | ||
| 3085 | 2903 | ||||
| @@ -3095,8 +2913,6 @@ var xWidgetGetStateFlags func(uintptr) StateFlags | |||||
| 3095 | // [flags@Gtk.StateFlags] to pass to a [class@Gtk.StyleContext] | 2913 | // [flags@Gtk.StateFlags] to pass to a [class@Gtk.StyleContext] | ||
| 3096 | // method, you should look at [method@Gtk.StyleContext.get_state]. | 2914 | // method, you should look at [method@Gtk.StyleContext.get_state]. | ||
| 3097 | func (x *Widget) GetStateFlags() StateFlags { | 2915 | func (x *Widget) GetStateFlags() StateFlags { | ||
| 3098 | - | core.LazyRegister(&xWidgetGetStateFlags, "GTK", "gtk_widget_get_state_flags", false) | |||
| 3099 | - | ||||
| 3100 | cret := xWidgetGetStateFlags(x.GoPointer()) | 2916 | cret := xWidgetGetStateFlags(x.GoPointer()) | ||
| 3101 | return cret | 2917 | return cret | ||
| 3102 | } | 2918 | } | ||
| @@ -3108,7 +2924,6 @@ var xWidgetGetStyleContext func(uintptr) uintptr | |||||
| 3108 | // The returned object is guaranteed to be the same | 2924 | // The returned object is guaranteed to be the same | ||
| 3109 | // for the lifetime of @widget. | 2925 | // for the lifetime of @widget. | ||
| 3110 | func (x *Widget) GetStyleContext() *StyleContext { | 2926 | func (x *Widget) GetStyleContext() *StyleContext { | ||
| 3111 | - | core.LazyRegister(&xWidgetGetStyleContext, "GTK", "gtk_widget_get_style_context", false) | |||
| 3112 | var cls *StyleContext | 2927 | var cls *StyleContext | ||
| 3113 | 2928 | ||||
| 3114 | cret := xWidgetGetStyleContext(x.GoPointer()) | 2929 | cret := xWidgetGetStyleContext(x.GoPointer()) | ||
| @@ -3135,7 +2950,6 @@ var xWidgetGetTemplateChild func(uintptr, types.GType, string) uintptr | |||||
| 3135 | // to the @widget_type which declared the child and is meant for language | 2950 | // to the @widget_type which declared the child and is meant for language | ||
| 3136 | // bindings which cannot easily make use of the GObject structure offsets. | 2951 | // bindings which cannot easily make use of the GObject structure offsets. | ||
| 3137 | func (x *Widget) GetTemplateChild(WidgetTypeVar types.GType, NameVar string) *gobject.Object { | 2952 | func (x *Widget) GetTemplateChild(WidgetTypeVar types.GType, NameVar string) *gobject.Object { | ||
| 3138 | - | core.LazyRegister(&xWidgetGetTemplateChild, "GTK", "gtk_widget_get_template_child", false) | |||
| 3139 | var cls *gobject.Object | 2953 | var cls *gobject.Object | ||
| 3140 | 2954 | ||||
| 3141 | cret := xWidgetGetTemplateChild(x.GoPointer(), WidgetTypeVar, NameVar) | 2955 | cret := xWidgetGetTemplateChild(x.GoPointer(), WidgetTypeVar, NameVar) | ||
| @@ -3157,8 +2971,6 @@ var xWidgetGetTooltipMarkup func(uintptr) string | |||||
| 3157 | // [method@Gtk.Widget.set_tooltip_markup], this | 2971 | // [method@Gtk.Widget.set_tooltip_markup], this | ||
| 3158 | // function returns `NULL`. | 2972 | // function returns `NULL`. | ||
| 3159 | func (x *Widget) GetTooltipMarkup() string { | 2973 | func (x *Widget) GetTooltipMarkup() string { | ||
| 3160 | - | core.LazyRegister(&xWidgetGetTooltipMarkup, "GTK", "gtk_widget_get_tooltip_markup", false) | |||
| 3161 | - | ||||
| 3162 | cret := xWidgetGetTooltipMarkup(x.GoPointer()) | 2974 | cret := xWidgetGetTooltipMarkup(x.GoPointer()) | ||
| 3163 | return cret | 2975 | return cret | ||
| 3164 | } | 2976 | } | ||
| @@ -3171,8 +2983,6 @@ var xWidgetGetTooltipText func(uintptr) string | |||||
| 3171 | // [method@Gtk.Widget.set_tooltip_markup], | 2983 | // [method@Gtk.Widget.set_tooltip_markup], | ||
| 3172 | // this function will return the escaped text. | 2984 | // this function will return the escaped text. | ||
| 3173 | func (x *Widget) GetTooltipText() string { | 2985 | func (x *Widget) GetTooltipText() string { | ||
| 3174 | - | core.LazyRegister(&xWidgetGetTooltipText, "GTK", "gtk_widget_get_tooltip_text", false) | |||
| 3175 | - | ||||
| 3176 | cret := xWidgetGetTooltipText(x.GoPointer()) | 2986 | cret := xWidgetGetTooltipText(x.GoPointer()) | ||
| 3177 | return cret | 2987 | return cret | ||
| 3178 | } | 2988 | } | ||
| @@ -3181,8 +2991,6 @@ var xWidgetGetValign func(uintptr) Align | |||||
| 3181 | 2991 | ||||
| 3182 | // Gets the vertical alignment of the widget. | 2992 | // Gets the vertical alignment of the widget. | ||
| 3183 | func (x *Widget) GetValign() Align { | 2993 | func (x *Widget) GetValign() Align { | ||
| 3184 | - | core.LazyRegister(&xWidgetGetValign, "GTK", "gtk_widget_get_valign", false) | |||
| 3185 | - | ||||
| 3186 | cret := xWidgetGetValign(x.GoPointer()) | 2994 | cret := xWidgetGetValign(x.GoPointer()) | ||
| 3187 | return cret | 2995 | return cret | ||
| 3188 | } | 2996 | } | ||
| @@ -3194,8 +3002,6 @@ var xWidgetGetVexpand func(uintptr) bool | |||||
| 3194 | // | 3002 | // | ||
| 3195 | // See [method@Gtk.Widget.get_hexpand] for more detail. | 3003 | // See [method@Gtk.Widget.get_hexpand] for more detail. | ||
| 3196 | func (x *Widget) GetVexpand() bool { | 3004 | func (x *Widget) GetVexpand() bool { | ||
| 3197 | - | core.LazyRegister(&xWidgetGetVexpand, "GTK", "gtk_widget_get_vexpand", false) | |||
| 3198 | - | ||||
| 3199 | cret := xWidgetGetVexpand(x.GoPointer()) | 3005 | cret := xWidgetGetVexpand(x.GoPointer()) | ||
| 3200 | return cret | 3006 | return cret | ||
| 3201 | } | 3007 | } | ||
| @@ -3206,8 +3012,6 @@ var xWidgetGetVexpandSet func(uintptr) bool | |||||
| 3206 | // | 3012 | // | ||
| 3207 | // See [method@Gtk.Widget.get_hexpand_set] for more detail. | 3013 | // See [method@Gtk.Widget.get_hexpand_set] for more detail. | ||
| 3208 | func (x *Widget) GetVexpandSet() bool { | 3014 | func (x *Widget) GetVexpandSet() bool { | ||
| 3209 | - | core.LazyRegister(&xWidgetGetVexpandSet, "GTK", "gtk_widget_get_vexpand_set", false) | |||
| 3210 | - | ||||
| 3211 | cret := xWidgetGetVexpandSet(x.GoPointer()) | 3015 | cret := xWidgetGetVexpandSet(x.GoPointer()) | ||
| 3212 | return cret | 3016 | return cret | ||
| 3213 | } | 3017 | } | ||
| @@ -3225,8 +3029,6 @@ var xWidgetGetVisible func(uintptr) bool | |||||
| 3225 | // | 3029 | // | ||
| 3226 | // See [method@Gtk.Widget.set_visible]. | 3030 | // See [method@Gtk.Widget.set_visible]. | ||
| 3227 | func (x *Widget) GetVisible() bool { | 3031 | func (x *Widget) GetVisible() bool { | ||
| 3228 | - | core.LazyRegister(&xWidgetGetVisible, "GTK", "gtk_widget_get_visible", false) | |||
| 3229 | - | ||||
| 3230 | cret := xWidgetGetVisible(x.GoPointer()) | 3032 | cret := xWidgetGetVisible(x.GoPointer()) | ||
| 3231 | return cret | 3033 | return cret | ||
| 3232 | } | 3034 | } | ||
| @@ -3244,8 +3046,6 @@ var xWidgetGetWidth func(uintptr) int | |||||
| 3244 | // To learn more about widget sizes, see the coordinate | 3046 | // To learn more about widget sizes, see the coordinate | ||
| 3245 | // system [overview](coordinates.html). | 3047 | // system [overview](coordinates.html). | ||
| 3246 | func (x *Widget) GetWidth() int { | 3048 | func (x *Widget) GetWidth() int { | ||
| 3247 | - | core.LazyRegister(&xWidgetGetWidth, "GTK", "gtk_widget_get_width", false) | |||
| 3248 | - | ||||
| 3249 | cret := xWidgetGetWidth(x.GoPointer()) | 3049 | cret := xWidgetGetWidth(x.GoPointer()) | ||
| 3250 | return cret | 3050 | return cret | ||
| 3251 | } | 3051 | } | ||
| @@ -3262,8 +3062,6 @@ var xWidgetGrabFocus func(uintptr) bool | |||||
| 3262 | // Calling [method@Gtk.Widget.grab_focus] on an already focused widget | 3062 | // Calling [method@Gtk.Widget.grab_focus] on an already focused widget | ||
| 3263 | // is allowed, should not have an effect, and return true. | 3063 | // is allowed, should not have an effect, and return true. | ||
| 3264 | func (x *Widget) GrabFocus() bool { | 3064 | func (x *Widget) GrabFocus() bool { | ||
| 3265 | - | core.LazyRegister(&xWidgetGrabFocus, "GTK", "gtk_widget_grab_focus", false) | |||
| 3266 | - | ||||
| 3267 | cret := xWidgetGrabFocus(x.GoPointer()) | 3065 | cret := xWidgetGrabFocus(x.GoPointer()) | ||
| 3268 | return cret | 3066 | return cret | ||
| 3269 | } | 3067 | } | ||
| @@ -3272,8 +3070,6 @@ var xWidgetHasCssClass func(uintptr, string) bool | |||||
| 3272 | 3070 | ||||
| 3273 | // Returns whether a style class is currently applied to the widget. | 3071 | // Returns whether a style class is currently applied to the widget. | ||
| 3274 | func (x *Widget) HasCssClass(CssClassVar string) bool { | 3072 | func (x *Widget) HasCssClass(CssClassVar string) bool { | ||
| 3275 | - | core.LazyRegister(&xWidgetHasCssClass, "GTK", "gtk_widget_has_css_class", false) | |||
| 3276 | - | ||||
| 3277 | cret := xWidgetHasCssClass(x.GoPointer(), CssClassVar) | 3073 | cret := xWidgetHasCssClass(x.GoPointer(), CssClassVar) | ||
| 3278 | return cret | 3074 | return cret | ||
| 3279 | } | 3075 | } | ||
| @@ -3283,8 +3079,6 @@ var xWidgetHasDefault func(uintptr) bool | |||||
| 3283 | // Determines whether the widget is the current default widget | 3079 | // Determines whether the widget is the current default widget | ||
| 3284 | // within its toplevel. | 3080 | // within its toplevel. | ||
| 3285 | func (x *Widget) HasDefault() bool { | 3081 | func (x *Widget) HasDefault() bool { | ||
| 3286 | - | core.LazyRegister(&xWidgetHasDefault, "GTK", "gtk_widget_has_default", false) | |||
| 3287 | - | ||||
| 3288 | cret := xWidgetHasDefault(x.GoPointer()) | 3082 | cret := xWidgetHasDefault(x.GoPointer()) | ||
| 3289 | return cret | 3083 | return cret | ||
| 3290 | } | 3084 | } | ||
| @@ -3297,8 +3091,6 @@ var xWidgetHasFocus func(uintptr) bool | |||||
| 3297 | // having the global input focus, and only having the focus | 3091 | // having the global input focus, and only having the focus | ||
| 3298 | // within a toplevel. | 3092 | // within a toplevel. | ||
| 3299 | func (x *Widget) HasFocus() bool { | 3093 | func (x *Widget) HasFocus() bool { | ||
| 3300 | - | core.LazyRegister(&xWidgetHasFocus, "GTK", "gtk_widget_has_focus", false) | |||
| 3301 | - | ||||
| 3302 | cret := xWidgetHasFocus(x.GoPointer()) | 3094 | cret := xWidgetHasFocus(x.GoPointer()) | ||
| 3303 | return cret | 3095 | return cret | ||
| 3304 | } | 3096 | } | ||
| @@ -3316,8 +3108,6 @@ var xWidgetHasVisibleFocus func(uintptr) bool | |||||
| 3316 | // To find out if the widget has the global input focus, use | 3108 | // To find out if the widget has the global input focus, use | ||
| 3317 | // [method@Gtk.Widget.has_focus]. | 3109 | // [method@Gtk.Widget.has_focus]. | ||
| 3318 | func (x *Widget) HasVisibleFocus() bool { | 3110 | func (x *Widget) HasVisibleFocus() bool { | ||
| 3319 | - | core.LazyRegister(&xWidgetHasVisibleFocus, "GTK", "gtk_widget_has_visible_focus", false) | |||
| 3320 | - | ||||
| 3321 | cret := xWidgetHasVisibleFocus(x.GoPointer()) | 3111 | cret := xWidgetHasVisibleFocus(x.GoPointer()) | ||
| 3322 | return cret | 3112 | return cret | ||
| 3323 | } | 3113 | } | ||
| @@ -3328,8 +3118,6 @@ var xWidgetHide func(uintptr) | |||||
| 3328 | // | 3118 | // | ||
| 3329 | // This is causing the widget to be hidden (invisible to the user). | 3119 | // This is causing the widget to be hidden (invisible to the user). | ||
| 3330 | func (x *Widget) Hide() { | 3120 | func (x *Widget) Hide() { | ||
| 3331 | - | core.LazyRegister(&xWidgetHide, "GTK", "gtk_widget_hide", false) | |||
| 3332 | - | ||||
| 3333 | xWidgetHide(x.GoPointer()) | 3121 | xWidgetHide(x.GoPointer()) | ||
| 3334 | } | 3122 | } | ||
| 3335 | 3123 | ||||
| @@ -3340,8 +3128,6 @@ var xWidgetInDestruction func(uintptr) bool | |||||
| 3340 | // This information can sometimes be used to avoid doing | 3128 | // This information can sometimes be used to avoid doing | ||
| 3341 | // unnecessary work. | 3129 | // unnecessary work. | ||
| 3342 | func (x *Widget) InDestruction() bool { | 3130 | func (x *Widget) InDestruction() bool { | ||
| 3343 | - | core.LazyRegister(&xWidgetInDestruction, "GTK", "gtk_widget_in_destruction", false) | |||
| 3344 | - | ||||
| 3345 | cret := xWidgetInDestruction(x.GoPointer()) | 3131 | cret := xWidgetInDestruction(x.GoPointer()) | ||
| 3346 | return cret | 3132 | return cret | ||
| 3347 | } | 3133 | } | ||
| @@ -3369,8 +3155,6 @@ var xWidgetInitTemplate func(uintptr) | |||||
| 3369 | // A good rule of thumb is to call this function as the first thing in | 3155 | // A good rule of thumb is to call this function as the first thing in | ||
| 3370 | // an instance initialization function. | 3156 | // an instance initialization function. | ||
| 3371 | func (x *Widget) InitTemplate() { | 3157 | func (x *Widget) InitTemplate() { | ||
| 3372 | - | core.LazyRegister(&xWidgetInitTemplate, "GTK", "gtk_widget_init_template", false) | |||
| 3373 | - | ||||
| 3374 | xWidgetInitTemplate(x.GoPointer()) | 3158 | xWidgetInitTemplate(x.GoPointer()) | ||
| 3375 | } | 3159 | } | ||
| 3376 | 3160 | ||||
| @@ -3390,8 +3174,6 @@ var xWidgetInsertActionGroup func(uintptr, string, uintptr) | |||||
| 3390 | // If @group is `NULL`, a previously inserted group for @name is | 3174 | // If @group is `NULL`, a previously inserted group for @name is | ||
| 3391 | // removed from @widget. | 3175 | // removed from @widget. | ||
| 3392 | func (x *Widget) InsertActionGroup(NameVar string, GroupVar gio.ActionGroup) { | 3176 | func (x *Widget) InsertActionGroup(NameVar string, GroupVar gio.ActionGroup) { | ||
| 3393 | - | core.LazyRegister(&xWidgetInsertActionGroup, "GTK", "gtk_widget_insert_action_group", false) | |||
| 3394 | - | ||||
| 3395 | xWidgetInsertActionGroup(x.GoPointer(), NameVar, GroupVar.GoPointer()) | 3177 | xWidgetInsertActionGroup(x.GoPointer(), NameVar, GroupVar.GoPointer()) | ||
| 3396 | } | 3178 | } | ||
| 3397 | 3179 | ||||
| @@ -3416,8 +3198,6 @@ var xWidgetInsertAfter func(uintptr, uintptr, uintptr) | |||||
| 3416 | // This function is primarily meant for widget implementations; if you are | 3198 | // This function is primarily meant for widget implementations; if you are | ||
| 3417 | // just using a widget, you *must* use its own API for adding children. | 3199 | // just using a widget, you *must* use its own API for adding children. | ||
| 3418 | func (x *Widget) InsertAfter(ParentVar *Widget, PreviousSiblingVar *Widget) { | 3200 | func (x *Widget) InsertAfter(ParentVar *Widget, PreviousSiblingVar *Widget) { | ||
| 3419 | - | core.LazyRegister(&xWidgetInsertAfter, "GTK", "gtk_widget_insert_after", false) | |||
| 3420 | - | ||||
| 3421 | xWidgetInsertAfter(x.GoPointer(), ParentVar.GoPointer(), PreviousSiblingVar.GoPointer()) | 3201 | xWidgetInsertAfter(x.GoPointer(), ParentVar.GoPointer(), PreviousSiblingVar.GoPointer()) | ||
| 3422 | } | 3202 | } | ||
| 3423 | 3203 | ||||
| @@ -3441,8 +3221,6 @@ var xWidgetInsertBefore func(uintptr, uintptr, uintptr) | |||||
| 3441 | // This function is primarily meant for widget implementations; if you are | 3221 | // This function is primarily meant for widget implementations; if you are | ||
| 3442 | // just using a widget, you *must* use its own API for adding children. | 3222 | // just using a widget, you *must* use its own API for adding children. | ||
| 3443 | func (x *Widget) InsertBefore(ParentVar *Widget, NextSiblingVar *Widget) { | 3223 | func (x *Widget) InsertBefore(ParentVar *Widget, NextSiblingVar *Widget) { | ||
| 3444 | - | core.LazyRegister(&xWidgetInsertBefore, "GTK", "gtk_widget_insert_before", false) | |||
| 3445 | - | ||||
| 3446 | xWidgetInsertBefore(x.GoPointer(), ParentVar.GoPointer(), NextSiblingVar.GoPointer()) | 3224 | xWidgetInsertBefore(x.GoPointer(), ParentVar.GoPointer(), NextSiblingVar.GoPointer()) | ||
| 3447 | } | 3225 | } | ||
| 3448 | 3226 | ||||
| @@ -3450,8 +3228,6 @@ var xWidgetIsAncestor func(uintptr, uintptr) bool | |||||
| 3450 | 3228 | ||||
| 3451 | // Determines whether the widget is a descendent of @ancestor. | 3229 | // Determines whether the widget is a descendent of @ancestor. | ||
| 3452 | func (x *Widget) IsAncestor(AncestorVar *Widget) bool { | 3230 | func (x *Widget) IsAncestor(AncestorVar *Widget) bool { | ||
| 3453 | - | core.LazyRegister(&xWidgetIsAncestor, "GTK", "gtk_widget_is_ancestor", false) | |||
| 3454 | - | ||||
| 3455 | cret := xWidgetIsAncestor(x.GoPointer(), AncestorVar.GoPointer()) | 3231 | cret := xWidgetIsAncestor(x.GoPointer(), AncestorVar.GoPointer()) | ||
| 3456 | return cret | 3232 | return cret | ||
| 3457 | } | 3233 | } | ||
| @@ -3462,8 +3238,6 @@ var xWidgetIsDrawable func(uintptr) bool | |||||
| 3462 | // | 3238 | // | ||
| 3463 | // A widget can be drawn if it is mapped and visible. | 3239 | // A widget can be drawn if it is mapped and visible. | ||
| 3464 | func (x *Widget) IsDrawable() bool { | 3240 | func (x *Widget) IsDrawable() bool { | ||
| 3465 | - | core.LazyRegister(&xWidgetIsDrawable, "GTK", "gtk_widget_is_drawable", false) | |||
| 3466 | - | ||||
| 3467 | cret := xWidgetIsDrawable(x.GoPointer()) | 3241 | cret := xWidgetIsDrawable(x.GoPointer()) | ||
| 3468 | return cret | 3242 | return cret | ||
| 3469 | } | 3243 | } | ||
| @@ -3478,8 +3252,6 @@ var xWidgetIsFocus func(uintptr) bool | |||||
| 3478 | // will only be set if the toplevel widget additionally has the | 3252 | // will only be set if the toplevel widget additionally has the | ||
| 3479 | // global input focus. | 3253 | // global input focus. | ||
| 3480 | func (x *Widget) IsFocus() bool { | 3254 | func (x *Widget) IsFocus() bool { | ||
| 3481 | - | core.LazyRegister(&xWidgetIsFocus, "GTK", "gtk_widget_is_focus", false) | |||
| 3482 | - | ||||
| 3483 | cret := xWidgetIsFocus(x.GoPointer()) | 3255 | cret := xWidgetIsFocus(x.GoPointer()) | ||
| 3484 | return cret | 3256 | return cret | ||
| 3485 | } | 3257 | } | ||
| @@ -3491,8 +3263,6 @@ var xWidgetIsSensitive func(uintptr) bool | |||||
| 3491 | // This means it is sensitive itself and also its | 3263 | // This means it is sensitive itself and also its | ||
| 3492 | // parent widget is sensitive. | 3264 | // parent widget is sensitive. | ||
| 3493 | func (x *Widget) IsSensitive() bool { | 3265 | func (x *Widget) IsSensitive() bool { | ||
| 3494 | - | core.LazyRegister(&xWidgetIsSensitive, "GTK", "gtk_widget_is_sensitive", false) | |||
| 3495 | - | ||||
| 3496 | cret := xWidgetIsSensitive(x.GoPointer()) | 3266 | cret := xWidgetIsSensitive(x.GoPointer()) | ||
| 3497 | return cret | 3267 | return cret | ||
| 3498 | } | 3268 | } | ||
| @@ -3507,8 +3277,6 @@ var xWidgetIsVisible func(uintptr) bool | |||||
| 3507 | // See also [method@Gtk.Widget.get_visible] and | 3277 | // See also [method@Gtk.Widget.get_visible] and | ||
| 3508 | // [method@Gtk.Widget.set_visible]. | 3278 | // [method@Gtk.Widget.set_visible]. | ||
| 3509 | func (x *Widget) IsVisible() bool { | 3279 | func (x *Widget) IsVisible() bool { | ||
| 3510 | - | core.LazyRegister(&xWidgetIsVisible, "GTK", "gtk_widget_is_visible", false) | |||
| 3511 | - | ||||
| 3512 | cret := xWidgetIsVisible(x.GoPointer()) | 3280 | cret := xWidgetIsVisible(x.GoPointer()) | ||
| 3513 | return cret | 3281 | return cret | ||
| 3514 | } | 3282 | } | ||
| @@ -3544,8 +3312,6 @@ var xWidgetKeynavFailed func(uintptr, DirectionType) bool | |||||
| 3544 | // the entire row with the cursor keys, as e.g. known from user | 3312 | // the entire row with the cursor keys, as e.g. known from user | ||
| 3545 | // interfaces that require entering license keys. | 3313 | // interfaces that require entering license keys. | ||
| 3546 | func (x *Widget) KeynavFailed(DirectionVar DirectionType) bool { | 3314 | func (x *Widget) KeynavFailed(DirectionVar DirectionType) bool { | ||
| 3547 | - | core.LazyRegister(&xWidgetKeynavFailed, "GTK", "gtk_widget_keynav_failed", false) | |||
| 3548 | - | ||||
| 3549 | cret := xWidgetKeynavFailed(x.GoPointer(), DirectionVar) | 3315 | cret := xWidgetKeynavFailed(x.GoPointer(), DirectionVar) | ||
| 3550 | return cret | 3316 | return cret | ||
| 3551 | } | 3317 | } | ||
| @@ -3564,8 +3330,6 @@ var xWidgetListMnemonicLabels func(uintptr) uintptr | |||||
| 3564 | // must call `g_list_foreach (result, (GFunc)g_object_ref, NULL)` | 3330 | // must call `g_list_foreach (result, (GFunc)g_object_ref, NULL)` | ||
| 3565 | // first, and then unref all the widgets afterwards. | 3331 | // first, and then unref all the widgets afterwards. | ||
| 3566 | func (x *Widget) ListMnemonicLabels() *glib.List { | 3332 | func (x *Widget) ListMnemonicLabels() *glib.List { | ||
| 3567 | - | core.LazyRegister(&xWidgetListMnemonicLabels, "GTK", "gtk_widget_list_mnemonic_labels", false) | |||
| 3568 | - | ||||
| 3569 | cret := xWidgetListMnemonicLabels(x.GoPointer()) | 3333 | cret := xWidgetListMnemonicLabels(x.GoPointer()) | ||
| 3570 | if cret == 0 { | 3334 | if cret == 0 { | ||
| 3571 | return nil | 3335 | return nil | ||
| @@ -3579,8 +3343,6 @@ var xWidgetMap func(uintptr) | |||||
| 3579 | // | 3343 | // | ||
| 3580 | // This function is only for use in widget implementations. | 3344 | // This function is only for use in widget implementations. | ||
| 3581 | func (x *Widget) Map() { | 3345 | func (x *Widget) Map() { | ||
| 3582 | - | core.LazyRegister(&xWidgetMap, "GTK", "gtk_widget_map", false) | |||
| 3583 | - | ||||
| 3584 | xWidgetMap(x.GoPointer()) | 3346 | xWidgetMap(x.GoPointer()) | ||
| 3585 | } | 3347 | } | ||
| 3586 | 3348 | ||||
| @@ -3595,8 +3357,6 @@ var xWidgetMeasure func(uintptr, Orientation, int, *int, *int, *int, *int) | |||||
| 3595 | // See [GtkWidget’s geometry management section](class.Widget.html#height-for-width-geometry-management) for | 3357 | // See [GtkWidget’s geometry management section](class.Widget.html#height-for-width-geometry-management) for | ||
| 3596 | // a more details on implementing `GtkWidgetClass.measure()`. | 3358 | // a more details on implementing `GtkWidgetClass.measure()`. | ||
| 3597 | func (x *Widget) Measure(OrientationVar Orientation, ForSizeVar int, MinimumVar *int, NaturalVar *int, MinimumBaselineVar *int, NaturalBaselineVar *int) { | 3359 | 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 | - | ||||
| 3600 | xWidgetMeasure(x.GoPointer(), OrientationVar, ForSizeVar, MinimumVar, NaturalVar, MinimumBaselineVar, NaturalBaselineVar) | 3360 | xWidgetMeasure(x.GoPointer(), OrientationVar, ForSizeVar, MinimumVar, NaturalVar, MinimumBaselineVar, NaturalBaselineVar) | ||
| 3601 | } | 3361 | } | ||
| 3602 | 3362 | ||||
| @@ -3604,8 +3364,6 @@ var xWidgetMnemonicActivate func(uintptr, bool) bool | |||||
| 3604 | 3364 | ||||
| 3605 | // Emits the [signal@Gtk.Widget::mnemonic-activate] signal. | 3365 | // Emits the [signal@Gtk.Widget::mnemonic-activate] signal. | ||
| 3606 | func (x *Widget) MnemonicActivate(GroupCyclingVar bool) bool { | 3366 | func (x *Widget) MnemonicActivate(GroupCyclingVar bool) bool { | ||
| 3607 | - | core.LazyRegister(&xWidgetMnemonicActivate, "GTK", "gtk_widget_mnemonic_activate", false) | |||
| 3608 | - | ||||
| 3609 | cret := xWidgetMnemonicActivate(x.GoPointer(), GroupCyclingVar) | 3367 | cret := xWidgetMnemonicActivate(x.GoPointer(), GroupCyclingVar) | ||
| 3610 | return cret | 3368 | return cret | ||
| 3611 | } | 3369 | } | ||
| @@ -3621,7 +3379,6 @@ var xWidgetObserveChildren func(uintptr) uintptr | |||||
| 3621 | // Applications should try hard to avoid calling this function | 3379 | // Applications should try hard to avoid calling this function | ||
| 3622 | // because of the slowdowns. | 3380 | // because of the slowdowns. | ||
| 3623 | func (x *Widget) ObserveChildren() *gio.ListModelBase { | 3381 | func (x *Widget) ObserveChildren() *gio.ListModelBase { | ||
| 3624 | - | core.LazyRegister(&xWidgetObserveChildren, "GTK", "gtk_widget_observe_children", false) | |||
| 3625 | var cls *gio.ListModelBase | 3382 | var cls *gio.ListModelBase | ||
| 3626 | 3383 | ||||
| 3627 | cret := xWidgetObserveChildren(x.GoPointer()) | 3384 | cret := xWidgetObserveChildren(x.GoPointer()) | ||
| @@ -3645,7 +3402,6 @@ var xWidgetObserveControllers func(uintptr) uintptr | |||||
| 3645 | // Applications should try hard to avoid calling this function | 3402 | // Applications should try hard to avoid calling this function | ||
| 3646 | // because of the slowdowns. | 3403 | // because of the slowdowns. | ||
| 3647 | func (x *Widget) ObserveControllers() *gio.ListModelBase { | 3404 | func (x *Widget) ObserveControllers() *gio.ListModelBase { | ||
| 3648 | - | core.LazyRegister(&xWidgetObserveControllers, "GTK", "gtk_widget_observe_controllers", false) | |||
| 3649 | var cls *gio.ListModelBase | 3405 | var cls *gio.ListModelBase | ||
| 3650 | 3406 | ||||
| 3651 | cret := xWidgetObserveControllers(x.GoPointer()) | 3407 | cret := xWidgetObserveControllers(x.GoPointer()) | ||
| @@ -3675,7 +3431,6 @@ var xWidgetPick func(uintptr, float64, float64, PickFlags) uintptr | |||||
| 3675 | // below the mouse cursor for purposes of hover highlighting and | 3431 | // below the mouse cursor for purposes of hover highlighting and | ||
| 3676 | // delivering events. | 3432 | // delivering events. | ||
| 3677 | func (x *Widget) Pick(XVar float64, YVar float64, FlagsVar PickFlags) *Widget { | 3433 | func (x *Widget) Pick(XVar float64, YVar float64, FlagsVar PickFlags) *Widget { | ||
| 3678 | - | core.LazyRegister(&xWidgetPick, "GTK", "gtk_widget_pick", false) | |||
| 3679 | var cls *Widget | 3434 | var cls *Widget | ||
| 3680 | 3435 | ||||
| 3681 | cret := xWidgetPick(x.GoPointer(), XVar, YVar, FlagsVar) | 3436 | cret := xWidgetPick(x.GoPointer(), XVar, YVar, FlagsVar) | ||
| @@ -3702,8 +3457,6 @@ var xWidgetQueueAllocate func(uintptr) | |||||
| 3702 | // | 3457 | // | ||
| 3703 | // This function is only for use in widget implementations. | 3458 | // This function is only for use in widget implementations. | ||
| 3704 | func (x *Widget) QueueAllocate() { | 3459 | func (x *Widget) QueueAllocate() { | ||
| 3705 | - | core.LazyRegister(&xWidgetQueueAllocate, "GTK", "gtk_widget_queue_allocate", false) | |||
| 3706 | - | ||||
| 3707 | xWidgetQueueAllocate(x.GoPointer()) | 3460 | xWidgetQueueAllocate(x.GoPointer()) | ||
| 3708 | } | 3461 | } | ||
| 3709 | 3462 | ||||
| @@ -3717,8 +3470,6 @@ var xWidgetQueueDraw func(uintptr) | |||||
| 3717 | // This means @widget's [vfunc@Gtk.Widget.snapshot] | 3470 | // This means @widget's [vfunc@Gtk.Widget.snapshot] | ||
| 3718 | // implementation will be called. | 3471 | // implementation will be called. | ||
| 3719 | func (x *Widget) QueueDraw() { | 3472 | func (x *Widget) QueueDraw() { | ||
| 3720 | - | core.LazyRegister(&xWidgetQueueDraw, "GTK", "gtk_widget_queue_draw", false) | |||
| 3721 | - | ||||
| 3722 | xWidgetQueueDraw(x.GoPointer()) | 3473 | xWidgetQueueDraw(x.GoPointer()) | ||
| 3723 | } | 3474 | } | ||
| 3724 | 3475 | ||||
| @@ -3738,8 +3489,6 @@ var xWidgetQueueResize func(uintptr) | |||||
| 3738 | // | 3489 | // | ||
| 3739 | // This function is only for use in widget implementations. | 3490 | // This function is only for use in widget implementations. | ||
| 3740 | func (x *Widget) QueueResize() { | 3491 | func (x *Widget) QueueResize() { | ||
| 3741 | - | core.LazyRegister(&xWidgetQueueResize, "GTK", "gtk_widget_queue_resize", false) | |||
| 3742 | - | ||||
| 3743 | xWidgetQueueResize(x.GoPointer()) | 3492 | xWidgetQueueResize(x.GoPointer()) | ||
| 3744 | } | 3493 | } | ||
| 3745 | 3494 | ||||
| @@ -3762,8 +3511,6 @@ var xWidgetRealize func(uintptr) | |||||
| 3762 | // called after the widget is realized automatically, such as | 3511 | // called after the widget is realized automatically, such as | ||
| 3763 | // [signal@Gtk.Widget::realize]. | 3512 | // [signal@Gtk.Widget::realize]. | ||
| 3764 | func (x *Widget) Realize() { | 3513 | func (x *Widget) Realize() { | ||
| 3765 | - | core.LazyRegister(&xWidgetRealize, "GTK", "gtk_widget_realize", false) | |||
| 3766 | - | ||||
| 3767 | xWidgetRealize(x.GoPointer()) | 3514 | xWidgetRealize(x.GoPointer()) | ||
| 3768 | } | 3515 | } | ||
| 3769 | 3516 | ||||
| @@ -3777,8 +3524,6 @@ var xWidgetRemoveController func(uintptr, uintptr) | |||||
| 3777 | // Widgets will remove all event controllers automatically when they | 3524 | // Widgets will remove all event controllers automatically when they | ||
| 3778 | // are destroyed, there is normally no need to call this function. | 3525 | // are destroyed, there is normally no need to call this function. | ||
| 3779 | func (x *Widget) RemoveController(ControllerVar *EventController) { | 3526 | func (x *Widget) RemoveController(ControllerVar *EventController) { | ||
| 3780 | - | core.LazyRegister(&xWidgetRemoveController, "GTK", "gtk_widget_remove_controller", false) | |||
| 3781 | - | ||||
| 3782 | xWidgetRemoveController(x.GoPointer(), ControllerVar.GoPointer()) | 3527 | xWidgetRemoveController(x.GoPointer(), ControllerVar.GoPointer()) | ||
| 3783 | } | 3528 | } | ||
| 3784 | 3529 | ||||
| @@ -3788,8 +3533,6 @@ var xWidgetRemoveCssClass func(uintptr, string) | |||||
| 3788 | // | 3533 | // | ||
| 3789 | // After this, the style of @widget will stop matching for @css_class. | 3534 | // After this, the style of @widget will stop matching for @css_class. | ||
| 3790 | func (x *Widget) RemoveCssClass(CssClassVar string) { | 3535 | func (x *Widget) RemoveCssClass(CssClassVar string) { | ||
| 3791 | - | core.LazyRegister(&xWidgetRemoveCssClass, "GTK", "gtk_widget_remove_css_class", false) | |||
| 3792 | - | ||||
| 3793 | xWidgetRemoveCssClass(x.GoPointer(), CssClassVar) | 3536 | xWidgetRemoveCssClass(x.GoPointer(), CssClassVar) | ||
| 3794 | } | 3537 | } | ||
| 3795 | 3538 | ||||
| @@ -3802,8 +3545,6 @@ var xWidgetRemoveMnemonicLabel func(uintptr, uintptr) | |||||
| 3802 | // The widget must have previously been added to the list with | 3545 | // The widget must have previously been added to the list with | ||
| 3803 | // [method@Gtk.Widget.add_mnemonic_label]. | 3546 | // [method@Gtk.Widget.add_mnemonic_label]. | ||
| 3804 | func (x *Widget) RemoveMnemonicLabel(LabelVar *Widget) { | 3547 | func (x *Widget) RemoveMnemonicLabel(LabelVar *Widget) { | ||
| 3805 | - | core.LazyRegister(&xWidgetRemoveMnemonicLabel, "GTK", "gtk_widget_remove_mnemonic_label", false) | |||
| 3806 | - | ||||
| 3807 | xWidgetRemoveMnemonicLabel(x.GoPointer(), LabelVar.GoPointer()) | 3548 | xWidgetRemoveMnemonicLabel(x.GoPointer(), LabelVar.GoPointer()) | ||
| 3808 | } | 3549 | } | ||
| 3809 | 3550 | ||||
| @@ -3812,8 +3553,6 @@ var xWidgetRemoveTickCallback func(uintptr, uint) | |||||
| 3812 | // Removes a tick callback previously registered with | 3553 | // Removes a tick callback previously registered with | ||
| 3813 | // [method@Gtk.Widget.add_tick_callback]. | 3554 | // [method@Gtk.Widget.add_tick_callback]. | ||
| 3814 | func (x *Widget) RemoveTickCallback(IdVar uint) { | 3555 | func (x *Widget) RemoveTickCallback(IdVar uint) { | ||
| 3815 | - | core.LazyRegister(&xWidgetRemoveTickCallback, "GTK", "gtk_widget_remove_tick_callback", false) | |||
| 3816 | - | ||||
| 3817 | xWidgetRemoveTickCallback(x.GoPointer(), IdVar) | 3556 | xWidgetRemoveTickCallback(x.GoPointer(), IdVar) | ||
| 3818 | } | 3557 | } | ||
| 3819 | 3558 | ||||
| @@ -3834,8 +3573,6 @@ var xWidgetSetCanFocus func(uintptr, bool) | |||||
| 3834 | // See [method@Gtk.Widget.grab_focus] for actually setting | 3573 | // See [method@Gtk.Widget.grab_focus] for actually setting | ||
| 3835 | // the input focus on a widget. | 3574 | // the input focus on a widget. | ||
| 3836 | func (x *Widget) SetCanFocus(CanFocusVar bool) { | 3575 | func (x *Widget) SetCanFocus(CanFocusVar bool) { | ||
| 3837 | - | core.LazyRegister(&xWidgetSetCanFocus, "GTK", "gtk_widget_set_can_focus", false) | |||
| 3838 | - | ||||
| 3839 | xWidgetSetCanFocus(x.GoPointer(), CanFocusVar) | 3576 | xWidgetSetCanFocus(x.GoPointer(), CanFocusVar) | ||
| 3840 | } | 3577 | } | ||
| 3841 | 3578 | ||||
| @@ -3843,8 +3580,6 @@ var xWidgetSetCanTarget func(uintptr, bool) | |||||
| 3843 | 3580 | ||||
| 3844 | // Sets whether the widget can be the target of pointer events. | 3581 | // Sets whether the widget can be the target of pointer events. | ||
| 3845 | func (x *Widget) SetCanTarget(CanTargetVar bool) { | 3582 | func (x *Widget) SetCanTarget(CanTargetVar bool) { | ||
| 3846 | - | core.LazyRegister(&xWidgetSetCanTarget, "GTK", "gtk_widget_set_can_target", false) | |||
| 3847 | - | ||||
| 3848 | xWidgetSetCanTarget(x.GoPointer(), CanTargetVar) | 3583 | xWidgetSetCanTarget(x.GoPointer(), CanTargetVar) | ||
| 3849 | } | 3584 | } | ||
| 3850 | 3585 | ||||
| @@ -3867,8 +3602,6 @@ var xWidgetSetChildVisible func(uintptr, bool) | |||||
| 3867 | // This function is only useful for widget implementations | 3602 | // This function is only useful for widget implementations | ||
| 3868 | // and should never be called by an application. | 3603 | // and should never be called by an application. | ||
| 3869 | func (x *Widget) SetChildVisible(ChildVisibleVar bool) { | 3604 | func (x *Widget) SetChildVisible(ChildVisibleVar bool) { | ||
| 3870 | - | core.LazyRegister(&xWidgetSetChildVisible, "GTK", "gtk_widget_set_child_visible", false) | |||
| 3871 | - | ||||
| 3872 | xWidgetSetChildVisible(x.GoPointer(), ChildVisibleVar) | 3605 | xWidgetSetChildVisible(x.GoPointer(), ChildVisibleVar) | ||
| 3873 | } | 3606 | } | ||
| 3874 | 3607 | ||||
| @@ -3876,8 +3609,6 @@ var xWidgetSetCssClasses func(uintptr, []string) | |||||
| 3876 | 3609 | ||||
| 3877 | // Replaces the current style classes of the widget with @classes. | 3610 | // Replaces the current style classes of the widget with @classes. | ||
| 3878 | func (x *Widget) SetCssClasses(ClassesVar []string) { | 3611 | func (x *Widget) SetCssClasses(ClassesVar []string) { | ||
| 3879 | - | core.LazyRegister(&xWidgetSetCssClasses, "GTK", "gtk_widget_set_css_classes", false) | |||
| 3880 | - | ||||
| 3881 | xWidgetSetCssClasses(x.GoPointer(), ClassesVar) | 3612 | xWidgetSetCssClasses(x.GoPointer(), ClassesVar) | ||
| 3882 | } | 3613 | } | ||
| 3883 | 3614 | ||||
| @@ -3889,8 +3620,6 @@ var xWidgetSetCursor func(uintptr, uintptr) | |||||
| 3889 | // If the @cursor is `NULL`, @widget will use the cursor | 3620 | // If the @cursor is `NULL`, @widget will use the cursor | ||
| 3890 | // inherited from its parent. | 3621 | // inherited from its parent. | ||
| 3891 | func (x *Widget) SetCursor(CursorVar *gdk.Cursor) { | 3622 | func (x *Widget) SetCursor(CursorVar *gdk.Cursor) { | ||
| 3892 | - | core.LazyRegister(&xWidgetSetCursor, "GTK", "gtk_widget_set_cursor", false) | |||
| 3893 | - | ||||
| 3894 | xWidgetSetCursor(x.GoPointer(), CursorVar.GoPointer()) | 3623 | xWidgetSetCursor(x.GoPointer(), CursorVar.GoPointer()) | ||
| 3895 | } | 3624 | } | ||
| 3896 | 3625 | ||||
| @@ -3908,8 +3637,6 @@ var xWidgetSetCursorFromName func(uintptr, uintptr) | |||||
| 3908 | // will do the same as calling [method@Gtk.Widget.set_cursor] | 3637 | // will do the same as calling [method@Gtk.Widget.set_cursor] | ||
| 3909 | // with a `NULL` cursor. | 3638 | // with a `NULL` cursor. | ||
| 3910 | func (x *Widget) SetCursorFromName(NameVar *string) { | 3639 | func (x *Widget) SetCursorFromName(NameVar *string) { | ||
| 3911 | - | core.LazyRegister(&xWidgetSetCursorFromName, "GTK", "gtk_widget_set_cursor_from_name", false) | |||
| 3912 | - | ||||
| 3913 | NameVarPtr := core.GStrdupNullable(NameVar) | 3640 | NameVarPtr := core.GStrdupNullable(NameVar) | ||
| 3914 | defer core.GFreeNullable(NameVarPtr) | 3641 | defer core.GFreeNullable(NameVarPtr) | ||
| 3915 | 3642 | ||||
| @@ -3934,8 +3661,6 @@ var xWidgetSetDirection func(uintptr, TextDirection) | |||||
| 3934 | // If the direction is set to [enum@Gtk.TextDirection.none], then | 3661 | // If the direction is set to [enum@Gtk.TextDirection.none], then | ||
| 3935 | // the value set by [func@Gtk.Widget.set_default_direction] will be used. | 3662 | // the value set by [func@Gtk.Widget.set_default_direction] will be used. | ||
| 3936 | func (x *Widget) SetDirection(DirVar TextDirection) { | 3663 | func (x *Widget) SetDirection(DirVar TextDirection) { | ||
| 3937 | - | core.LazyRegister(&xWidgetSetDirection, "GTK", "gtk_widget_set_direction", false) | |||
| 3938 | - | ||||
| 3939 | xWidgetSetDirection(x.GoPointer(), DirVar) | 3664 | xWidgetSetDirection(x.GoPointer(), DirVar) | ||
| 3940 | } | 3665 | } | ||
| 3941 | 3666 | ||||
| @@ -3947,8 +3672,6 @@ var xWidgetSetFocusChild func(uintptr, uintptr) | |||||
| 3947 | // If you want a certain widget to get the input focus, call | 3672 | // If you want a certain widget to get the input focus, call | ||
| 3948 | // [method@Gtk.Widget.grab_focus] on it. | 3673 | // [method@Gtk.Widget.grab_focus] on it. | ||
| 3949 | func (x *Widget) SetFocusChild(ChildVar *Widget) { | 3674 | func (x *Widget) SetFocusChild(ChildVar *Widget) { | ||
| 3950 | - | core.LazyRegister(&xWidgetSetFocusChild, "GTK", "gtk_widget_set_focus_child", false) | |||
| 3951 | - | ||||
| 3952 | xWidgetSetFocusChild(x.GoPointer(), ChildVar.GoPointer()) | 3675 | xWidgetSetFocusChild(x.GoPointer(), ChildVar.GoPointer()) | ||
| 3953 | } | 3676 | } | ||
| 3954 | 3677 | ||||
| @@ -3961,8 +3684,6 @@ var xWidgetSetFocusOnClick func(uintptr, bool) | |||||
| 3961 | // toolbars where you don’t want the keyboard focus removed from | 3684 | // toolbars where you don’t want the keyboard focus removed from | ||
| 3962 | // the main area of the application. | 3685 | // the main area of the application. | ||
| 3963 | func (x *Widget) SetFocusOnClick(FocusOnClickVar bool) { | 3686 | func (x *Widget) SetFocusOnClick(FocusOnClickVar bool) { | ||
| 3964 | - | core.LazyRegister(&xWidgetSetFocusOnClick, "GTK", "gtk_widget_set_focus_on_click", false) | |||
| 3965 | - | ||||
| 3966 | xWidgetSetFocusOnClick(x.GoPointer(), FocusOnClickVar) | 3687 | xWidgetSetFocusOnClick(x.GoPointer(), FocusOnClickVar) | ||
| 3967 | } | 3688 | } | ||
| 3968 | 3689 | ||||
| @@ -3982,8 +3703,6 @@ var xWidgetSetFocusable func(uintptr, bool) | |||||
| 3982 | // See [method@Gtk.Widget.grab_focus] for actually setting | 3703 | // See [method@Gtk.Widget.grab_focus] for actually setting | ||
| 3983 | // the input focus on a widget. | 3704 | // the input focus on a widget. | ||
| 3984 | func (x *Widget) SetFocusable(FocusableVar bool) { | 3705 | func (x *Widget) SetFocusable(FocusableVar bool) { | ||
| 3985 | - | core.LazyRegister(&xWidgetSetFocusable, "GTK", "gtk_widget_set_focusable", false) | |||
| 3986 | - | ||||
| 3987 | xWidgetSetFocusable(x.GoPointer(), FocusableVar) | 3706 | xWidgetSetFocusable(x.GoPointer(), FocusableVar) | ||
| 3988 | } | 3707 | } | ||
| 3989 | 3708 | ||||
| @@ -3998,8 +3717,6 @@ var xWidgetSetFontMap func(uintptr, uintptr) | |||||
| 3998 | // | 3717 | // | ||
| 3999 | // When not set, the widget will inherit the font map from its parent. | 3718 | // When not set, the widget will inherit the font map from its parent. | ||
| 4000 | func (x *Widget) SetFontMap(FontMapVar *pango.FontMap) { | 3719 | func (x *Widget) SetFontMap(FontMapVar *pango.FontMap) { | ||
| 4001 | - | core.LazyRegister(&xWidgetSetFontMap, "GTK", "gtk_widget_set_font_map", false) | |||
| 4002 | - | ||||
| 4003 | xWidgetSetFontMap(x.GoPointer(), FontMapVar.GoPointer()) | 3720 | xWidgetSetFontMap(x.GoPointer(), FontMapVar.GoPointer()) | ||
| 4004 | } | 3721 | } | ||
| 4005 | 3722 | ||||
| @@ -4011,8 +3728,6 @@ var xWidgetSetFontOptions func(uintptr, *cairo.FontOptions) | |||||
| 4011 | // When not set, the default font options for the `GdkDisplay` | 3728 | // When not set, the default font options for the `GdkDisplay` | ||
| 4012 | // will be used. | 3729 | // will be used. | ||
| 4013 | func (x *Widget) SetFontOptions(OptionsVar *cairo.FontOptions) { | 3730 | func (x *Widget) SetFontOptions(OptionsVar *cairo.FontOptions) { | ||
| 4014 | - | core.LazyRegister(&xWidgetSetFontOptions, "GTK", "gtk_widget_set_font_options", false) | |||
| 4015 | - | ||||
| 4016 | xWidgetSetFontOptions(x.GoPointer(), OptionsVar) | 3731 | xWidgetSetFontOptions(x.GoPointer(), OptionsVar) | ||
| 4017 | } | 3732 | } | ||
| 4018 | 3733 | ||||
| @@ -4020,8 +3735,6 @@ var xWidgetSetHalign func(uintptr, Align) | |||||
| 4020 | 3735 | ||||
| 4021 | // Sets the horizontal alignment of the widget. | 3736 | // Sets the horizontal alignment of the widget. | ||
| 4022 | func (x *Widget) SetHalign(AlignVar Align) { | 3737 | func (x *Widget) SetHalign(AlignVar Align) { | ||
| 4023 | - | core.LazyRegister(&xWidgetSetHalign, "GTK", "gtk_widget_set_halign", false) | |||
| 4024 | - | ||||
| 4025 | xWidgetSetHalign(x.GoPointer(), AlignVar) | 3738 | xWidgetSetHalign(x.GoPointer(), AlignVar) | ||
| 4026 | } | 3739 | } | ||
| 4027 | 3740 | ||||
| @@ -4029,8 +3742,6 @@ var xWidgetSetHasTooltip func(uintptr, bool) | |||||
| 4029 | 3742 | ||||
| 4030 | // Sets the `has-tooltip` property on the widget. | 3743 | // Sets the `has-tooltip` property on the widget. | ||
| 4031 | func (x *Widget) SetHasTooltip(HasTooltipVar bool) { | 3744 | func (x *Widget) SetHasTooltip(HasTooltipVar bool) { | ||
| 4032 | - | core.LazyRegister(&xWidgetSetHasTooltip, "GTK", "gtk_widget_set_has_tooltip", false) | |||
| 4033 | - | ||||
| 4034 | xWidgetSetHasTooltip(x.GoPointer(), HasTooltipVar) | 3745 | xWidgetSetHasTooltip(x.GoPointer(), HasTooltipVar) | ||
| 4035 | } | 3746 | } | ||
| 4036 | 3747 | ||||
| @@ -4063,8 +3774,6 @@ var xWidgetSetHexpand func(uintptr, bool) | |||||
| 4063 | // [method@Gtk.Widget.set_hexpand_set]) which causes the widget’s hexpand | 3774 | // [method@Gtk.Widget.set_hexpand_set]) which causes the widget’s hexpand | ||
| 4064 | // value to be used, rather than looking at children and widget state. | 3775 | // value to be used, rather than looking at children and widget state. | ||
| 4065 | func (x *Widget) SetHexpand(ExpandVar bool) { | 3776 | func (x *Widget) SetHexpand(ExpandVar bool) { | ||
| 4066 | - | core.LazyRegister(&xWidgetSetHexpand, "GTK", "gtk_widget_set_hexpand", false) | |||
| 4067 | - | ||||
| 4068 | xWidgetSetHexpand(x.GoPointer(), ExpandVar) | 3777 | xWidgetSetHexpand(x.GoPointer(), ExpandVar) | ||
| 4069 | } | 3778 | } | ||
| 4070 | 3779 | ||||
| @@ -4085,8 +3794,6 @@ var xWidgetSetHexpandSet func(uintptr, bool) | |||||
| 4085 | // There are few reasons to use this function, but it’s here | 3794 | // There are few reasons to use this function, but it’s here | ||
| 4086 | // for completeness and consistency. | 3795 | // for completeness and consistency. | ||
| 4087 | func (x *Widget) SetHexpandSet(SetVar bool) { | 3796 | func (x *Widget) SetHexpandSet(SetVar bool) { | ||
| 4088 | - | core.LazyRegister(&xWidgetSetHexpandSet, "GTK", "gtk_widget_set_hexpand_set", false) | |||
| 4089 | - | ||||
| 4090 | xWidgetSetHexpandSet(x.GoPointer(), SetVar) | 3797 | xWidgetSetHexpandSet(x.GoPointer(), SetVar) | ||
| 4091 | } | 3798 | } | ||
| 4092 | 3799 | ||||
| @@ -4095,8 +3802,6 @@ var xWidgetSetLayoutManager func(uintptr, uintptr) | |||||
| 4095 | // Sets the layout manager to use for measuring and allocating children | 3802 | // Sets the layout manager to use for measuring and allocating children | ||
| 4096 | // of the widget. | 3803 | // of the widget. | ||
| 4097 | func (x *Widget) SetLayoutManager(LayoutManagerVar *LayoutManager) { | 3804 | func (x *Widget) SetLayoutManager(LayoutManagerVar *LayoutManager) { | ||
| 4098 | - | core.LazyRegister(&xWidgetSetLayoutManager, "GTK", "gtk_widget_set_layout_manager", false) | |||
| 4099 | - | ||||
| 4100 | xWidgetSetLayoutManager(x.GoPointer(), LayoutManagerVar.GoPointer()) | 3805 | xWidgetSetLayoutManager(x.GoPointer(), LayoutManagerVar.GoPointer()) | ||
| 4101 | } | 3806 | } | ||
| 4102 | 3807 | ||||
| @@ -4105,8 +3810,6 @@ var xWidgetSetLimitEvents func(uintptr, bool) | |||||
| 4105 | // Sets whether the widget acts like a modal dialog, | 3810 | // Sets whether the widget acts like a modal dialog, | ||
| 4106 | // with respect to event delivery. | 3811 | // with respect to event delivery. | ||
| 4107 | func (x *Widget) SetLimitEvents(LimitEventsVar bool) { | 3812 | func (x *Widget) SetLimitEvents(LimitEventsVar bool) { | ||
| 4108 | - | core.LazyRegister(&xWidgetSetLimitEvents, "GTK", "gtk_widget_set_limit_events", false) | |||
| 4109 | - | ||||
| 4110 | xWidgetSetLimitEvents(x.GoPointer(), LimitEventsVar) | 3813 | xWidgetSetLimitEvents(x.GoPointer(), LimitEventsVar) | ||
| 4111 | } | 3814 | } | ||
| 4112 | 3815 | ||||
| @@ -4114,8 +3817,6 @@ var xWidgetSetMarginBottom func(uintptr, int) | |||||
| 4114 | 3817 | ||||
| 4115 | // Sets the bottom margin of the widget. | 3818 | // Sets the bottom margin of the widget. | ||
| 4116 | func (x *Widget) SetMarginBottom(MarginVar int) { | 3819 | func (x *Widget) SetMarginBottom(MarginVar int) { | ||
| 4117 | - | core.LazyRegister(&xWidgetSetMarginBottom, "GTK", "gtk_widget_set_margin_bottom", false) | |||
| 4118 | - | ||||
| 4119 | xWidgetSetMarginBottom(x.GoPointer(), MarginVar) | 3820 | xWidgetSetMarginBottom(x.GoPointer(), MarginVar) | ||
| 4120 | } | 3821 | } | ||
| 4121 | 3822 | ||||
| @@ -4123,8 +3824,6 @@ var xWidgetSetMarginEnd func(uintptr, int) | |||||
| 4123 | 3824 | ||||
| 4124 | // Sets the end margin of the widget. | 3825 | // Sets the end margin of the widget. | ||
| 4125 | func (x *Widget) SetMarginEnd(MarginVar int) { | 3826 | func (x *Widget) SetMarginEnd(MarginVar int) { | ||
| 4126 | - | core.LazyRegister(&xWidgetSetMarginEnd, "GTK", "gtk_widget_set_margin_end", false) | |||
| 4127 | - | ||||
| 4128 | xWidgetSetMarginEnd(x.GoPointer(), MarginVar) | 3827 | xWidgetSetMarginEnd(x.GoPointer(), MarginVar) | ||
| 4129 | } | 3828 | } | ||
| 4130 | 3829 | ||||
| @@ -4132,8 +3831,6 @@ var xWidgetSetMarginStart func(uintptr, int) | |||||
| 4132 | 3831 | ||||
| 4133 | // Sets the start margin of the widget. | 3832 | // Sets the start margin of the widget. | ||
| 4134 | func (x *Widget) SetMarginStart(MarginVar int) { | 3833 | func (x *Widget) SetMarginStart(MarginVar int) { | ||
| 4135 | - | core.LazyRegister(&xWidgetSetMarginStart, "GTK", "gtk_widget_set_margin_start", false) | |||
| 4136 | - | ||||
| 4137 | xWidgetSetMarginStart(x.GoPointer(), MarginVar) | 3834 | xWidgetSetMarginStart(x.GoPointer(), MarginVar) | ||
| 4138 | } | 3835 | } | ||
| 4139 | 3836 | ||||
| @@ -4141,8 +3838,6 @@ var xWidgetSetMarginTop func(uintptr, int) | |||||
| 4141 | 3838 | ||||
| 4142 | // Sets the top margin of the widget. | 3839 | // Sets the top margin of the widget. | ||
| 4143 | func (x *Widget) SetMarginTop(MarginVar int) { | 3840 | func (x *Widget) SetMarginTop(MarginVar int) { | ||
| 4144 | - | core.LazyRegister(&xWidgetSetMarginTop, "GTK", "gtk_widget_set_margin_top", false) | |||
| 4145 | - | ||||
| 4146 | xWidgetSetMarginTop(x.GoPointer(), MarginVar) | 3841 | xWidgetSetMarginTop(x.GoPointer(), MarginVar) | ||
| 4147 | } | 3842 | } | ||
| 4148 | 3843 | ||||
| @@ -4160,8 +3855,6 @@ var xWidgetSetName func(uintptr, string) | |||||
| 4160 | // these will make your widget impossible to match by name. Any combination | 3855 | // these will make your widget impossible to match by name. Any combination | ||
| 4161 | // of alphanumeric symbols, dashes and underscores will suffice. | 3856 | // of alphanumeric symbols, dashes and underscores will suffice. | ||
| 4162 | func (x *Widget) SetName(NameVar string) { | 3857 | func (x *Widget) SetName(NameVar string) { | ||
| 4163 | - | core.LazyRegister(&xWidgetSetName, "GTK", "gtk_widget_set_name", false) | |||
| 4164 | - | ||||
| 4165 | xWidgetSetName(x.GoPointer(), NameVar) | 3858 | xWidgetSetName(x.GoPointer(), NameVar) | ||
| 4166 | } | 3859 | } | ||
| 4167 | 3860 | ||||
| @@ -4191,8 +3884,6 @@ var xWidgetSetOpacity func(uintptr, float64) | |||||
| 4191 | // non-translucent, even if they are attached to a toplevel that | 3884 | // non-translucent, even if they are attached to a toplevel that | ||
| 4192 | // is translucent. | 3885 | // is translucent. | ||
| 4193 | func (x *Widget) SetOpacity(OpacityVar float64) { | 3886 | func (x *Widget) SetOpacity(OpacityVar float64) { | ||
| 4194 | - | core.LazyRegister(&xWidgetSetOpacity, "GTK", "gtk_widget_set_opacity", false) | |||
| 4195 | - | ||||
| 4196 | xWidgetSetOpacity(x.GoPointer(), OpacityVar) | 3887 | xWidgetSetOpacity(x.GoPointer(), OpacityVar) | ||
| 4197 | } | 3888 | } | ||
| 4198 | 3889 | ||||
| @@ -4208,8 +3899,6 @@ var xWidgetSetOverflow func(uintptr, Overflow) | |||||
| 4208 | // | 3899 | // | ||
| 4209 | // The default value is [enum@Gtk.Overflow.visible]. | 3900 | // The default value is [enum@Gtk.Overflow.visible]. | ||
| 4210 | func (x *Widget) SetOverflow(OverflowVar Overflow) { | 3901 | func (x *Widget) SetOverflow(OverflowVar Overflow) { | ||
| 4211 | - | core.LazyRegister(&xWidgetSetOverflow, "GTK", "gtk_widget_set_overflow", false) | |||
| 4212 | - | ||||
| 4213 | xWidgetSetOverflow(x.GoPointer(), OverflowVar) | 3902 | xWidgetSetOverflow(x.GoPointer(), OverflowVar) | ||
| 4214 | } | 3903 | } | ||
| 4215 | 3904 | ||||
| @@ -4224,8 +3913,6 @@ var xWidgetSetParent func(uintptr, uintptr) | |||||
| 4224 | // This function is useful only when implementing subclasses of | 3913 | // This function is useful only when implementing subclasses of | ||
| 4225 | // `GtkWidget`. | 3914 | // `GtkWidget`. | ||
| 4226 | func (x *Widget) SetParent(ParentVar *Widget) { | 3915 | func (x *Widget) SetParent(ParentVar *Widget) { | ||
| 4227 | - | core.LazyRegister(&xWidgetSetParent, "GTK", "gtk_widget_set_parent", false) | |||
| 4228 | - | ||||
| 4229 | xWidgetSetParent(x.GoPointer(), ParentVar.GoPointer()) | 3916 | xWidgetSetParent(x.GoPointer(), ParentVar.GoPointer()) | ||
| 4230 | } | 3917 | } | ||
| 4231 | 3918 | ||||
| @@ -4235,8 +3922,6 @@ var xWidgetSetReceivesDefault func(uintptr, bool) | |||||
| 4235 | // widget within its toplevel when it has the focus, even if | 3922 | // widget within its toplevel when it has the focus, even if | ||
| 4236 | // another widget is the default. | 3923 | // another widget is the default. | ||
| 4237 | func (x *Widget) SetReceivesDefault(ReceivesDefaultVar bool) { | 3924 | func (x *Widget) SetReceivesDefault(ReceivesDefaultVar bool) { | ||
| 4238 | - | core.LazyRegister(&xWidgetSetReceivesDefault, "GTK", "gtk_widget_set_receives_default", false) | |||
| 4239 | - | ||||
| 4240 | xWidgetSetReceivesDefault(x.GoPointer(), ReceivesDefaultVar) | 3925 | xWidgetSetReceivesDefault(x.GoPointer(), ReceivesDefaultVar) | ||
| 4241 | } | 3926 | } | ||
| 4242 | 3927 | ||||
| @@ -4249,8 +3934,6 @@ var xWidgetSetSensitive func(uintptr, bool) | |||||
| 4249 | // interact with them. Insensitive widgets are known as | 3934 | // interact with them. Insensitive widgets are known as | ||
| 4250 | // “inactive”, “disabled”, or “ghosted” in some other toolkits. | 3935 | // “inactive”, “disabled”, or “ghosted” in some other toolkits. | ||
| 4251 | func (x *Widget) SetSensitive(SensitiveVar bool) { | 3936 | func (x *Widget) SetSensitive(SensitiveVar bool) { | ||
| 4252 | - | core.LazyRegister(&xWidgetSetSensitive, "GTK", "gtk_widget_set_sensitive", false) | |||
| 4253 | - | ||||
| 4254 | xWidgetSetSensitive(x.GoPointer(), SensitiveVar) | 3937 | xWidgetSetSensitive(x.GoPointer(), SensitiveVar) | ||
| 4255 | } | 3938 | } | ||
| 4256 | 3939 | ||||
| @@ -4291,8 +3974,6 @@ var xWidgetSetSizeRequest func(uintptr, int, int) | |||||
| 4291 | // much all other padding or border properties set by any subclass | 3974 | // much all other padding or border properties set by any subclass | ||
| 4292 | // of `GtkWidget`. | 3975 | // of `GtkWidget`. | ||
| 4293 | func (x *Widget) SetSizeRequest(WidthVar int, HeightVar int) { | 3976 | func (x *Widget) SetSizeRequest(WidthVar int, HeightVar int) { | ||
| 4294 | - | core.LazyRegister(&xWidgetSetSizeRequest, "GTK", "gtk_widget_set_size_request", false) | |||
| 4295 | - | ||||
| 4296 | xWidgetSetSizeRequest(x.GoPointer(), WidthVar, HeightVar) | 3977 | xWidgetSetSizeRequest(x.GoPointer(), WidthVar, HeightVar) | ||
| 4297 | } | 3978 | } | ||
| 4298 | 3979 | ||||
| @@ -4308,8 +3989,6 @@ var xWidgetSetStateFlags func(uintptr, StateFlags, bool) | |||||
| 4308 | // | 3989 | // | ||
| 4309 | // This function is for use in widget implementations. | 3990 | // This function is for use in widget implementations. | ||
| 4310 | func (x *Widget) SetStateFlags(FlagsVar StateFlags, ClearVar bool) { | 3991 | func (x *Widget) SetStateFlags(FlagsVar StateFlags, ClearVar bool) { | ||
| 4311 | - | core.LazyRegister(&xWidgetSetStateFlags, "GTK", "gtk_widget_set_state_flags", false) | |||
| 4312 | - | ||||
| 4313 | xWidgetSetStateFlags(x.GoPointer(), FlagsVar, ClearVar) | 3992 | xWidgetSetStateFlags(x.GoPointer(), FlagsVar, ClearVar) | ||
| 4314 | } | 3993 | } | ||
| 4315 | 3994 | ||||
| @@ -4325,8 +4004,6 @@ var xWidgetSetTooltipMarkup func(uintptr, uintptr) | |||||
| 4325 | // | 4004 | // | ||
| 4326 | // See also [method@Gtk.Tooltip.set_markup]. | 4005 | // See also [method@Gtk.Tooltip.set_markup]. | ||
| 4327 | func (x *Widget) SetTooltipMarkup(MarkupVar *string) { | 4006 | func (x *Widget) SetTooltipMarkup(MarkupVar *string) { | ||
| 4328 | - | core.LazyRegister(&xWidgetSetTooltipMarkup, "GTK", "gtk_widget_set_tooltip_markup", false) | |||
| 4329 | - | ||||
| 4330 | MarkupVarPtr := core.GStrdupNullable(MarkupVar) | 4007 | MarkupVarPtr := core.GStrdupNullable(MarkupVar) | ||
| 4331 | defer core.GFreeNullable(MarkupVarPtr) | 4008 | defer core.GFreeNullable(MarkupVarPtr) | ||
| 4332 | 4009 | ||||
| @@ -4346,8 +4023,6 @@ var xWidgetSetTooltipText func(uintptr, uintptr) | |||||
| 4346 | // | 4023 | // | ||
| 4347 | // See also [method@Gtk.Tooltip.set_text]. | 4024 | // See also [method@Gtk.Tooltip.set_text]. | ||
| 4348 | func (x *Widget) SetTooltipText(TextVar *string) { | 4025 | func (x *Widget) SetTooltipText(TextVar *string) { | ||
| 4349 | - | core.LazyRegister(&xWidgetSetTooltipText, "GTK", "gtk_widget_set_tooltip_text", false) | |||
| 4350 | - | ||||
| 4351 | TextVarPtr := core.GStrdupNullable(TextVar) | 4026 | TextVarPtr := core.GStrdupNullable(TextVar) | ||
| 4352 | defer core.GFreeNullable(TextVarPtr) | 4027 | defer core.GFreeNullable(TextVarPtr) | ||
| 4353 | 4028 | ||||
| @@ -4358,8 +4033,6 @@ var xWidgetSetValign func(uintptr, Align) | |||||
| 4358 | 4033 | ||||
| 4359 | // Sets the vertical alignment of the widget. | 4034 | // Sets the vertical alignment of the widget. | ||
| 4360 | func (x *Widget) SetValign(AlignVar Align) { | 4035 | func (x *Widget) SetValign(AlignVar Align) { | ||
| 4361 | - | core.LazyRegister(&xWidgetSetValign, "GTK", "gtk_widget_set_valign", false) | |||
| 4362 | - | ||||
| 4363 | xWidgetSetValign(x.GoPointer(), AlignVar) | 4036 | xWidgetSetValign(x.GoPointer(), AlignVar) | ||
| 4364 | } | 4037 | } | ||
| 4365 | 4038 | ||||
| @@ -4370,8 +4043,6 @@ var xWidgetSetVexpand func(uintptr, bool) | |||||
| 4370 | // | 4043 | // | ||
| 4371 | // See [method@Gtk.Widget.set_hexpand] for more detail. | 4044 | // See [method@Gtk.Widget.set_hexpand] for more detail. | ||
| 4372 | func (x *Widget) SetVexpand(ExpandVar bool) { | 4045 | func (x *Widget) SetVexpand(ExpandVar bool) { | ||
| 4373 | - | core.LazyRegister(&xWidgetSetVexpand, "GTK", "gtk_widget_set_vexpand", false) | |||
| 4374 | - | ||||
| 4375 | xWidgetSetVexpand(x.GoPointer(), ExpandVar) | 4046 | xWidgetSetVexpand(x.GoPointer(), ExpandVar) | ||
| 4376 | } | 4047 | } | ||
| 4377 | 4048 | ||||
| @@ -4381,8 +4052,6 @@ var xWidgetSetVexpandSet func(uintptr, bool) | |||||
| 4381 | // | 4052 | // | ||
| 4382 | // See [method@Gtk.Widget.set_hexpand_set] for more detail. | 4053 | // See [method@Gtk.Widget.set_hexpand_set] for more detail. | ||
| 4383 | func (x *Widget) SetVexpandSet(SetVar bool) { | 4054 | func (x *Widget) SetVexpandSet(SetVar bool) { | ||
| 4384 | - | core.LazyRegister(&xWidgetSetVexpandSet, "GTK", "gtk_widget_set_vexpand_set", false) | |||
| 4385 | - | ||||
| 4386 | xWidgetSetVexpandSet(x.GoPointer(), SetVar) | 4055 | xWidgetSetVexpandSet(x.GoPointer(), SetVar) | ||
| 4387 | } | 4056 | } | ||
| 4388 | 4057 | ||||
| @@ -4393,8 +4062,6 @@ var xWidgetSetVisible func(uintptr, bool) | |||||
| 4393 | // Note that setting this to true doesn’t mean the widget is | 4062 | // Note that setting this to true doesn’t mean the widget is | ||
| 4394 | // actually viewable, see [method@Gtk.Widget.get_visible]. | 4063 | // actually viewable, see [method@Gtk.Widget.get_visible]. | ||
| 4395 | func (x *Widget) SetVisible(VisibleVar bool) { | 4064 | func (x *Widget) SetVisible(VisibleVar bool) { | ||
| 4396 | - | core.LazyRegister(&xWidgetSetVisible, "GTK", "gtk_widget_set_visible", false) | |||
| 4397 | - | ||||
| 4398 | xWidgetSetVisible(x.GoPointer(), VisibleVar) | 4065 | xWidgetSetVisible(x.GoPointer(), VisibleVar) | ||
| 4399 | } | 4066 | } | ||
| 4400 | 4067 | ||||
| @@ -4407,8 +4074,6 @@ var xWidgetShouldLayout func(uintptr) bool | |||||
| 4407 | // for children that have their own surface, such | 4074 | // for children that have their own surface, such | ||
| 4408 | // as [class@Gtk.Popover] instances. | 4075 | // as [class@Gtk.Popover] instances. | ||
| 4409 | func (x *Widget) ShouldLayout() bool { | 4076 | func (x *Widget) ShouldLayout() bool { | ||
| 4410 | - | core.LazyRegister(&xWidgetShouldLayout, "GTK", "gtk_widget_should_layout", false) | |||
| 4411 | - | ||||
| 4412 | cret := xWidgetShouldLayout(x.GoPointer()) | 4077 | cret := xWidgetShouldLayout(x.GoPointer()) | ||
| 4413 | return cret | 4078 | return cret | ||
| 4414 | } | 4079 | } | ||
| @@ -4426,8 +4091,6 @@ var xWidgetShow func(uintptr) | |||||
| 4426 | // mapped; other shown widgets are realized and mapped when their | 4091 | // mapped; other shown widgets are realized and mapped when their | ||
| 4427 | // toplevel widget is realized and mapped. | 4092 | // toplevel widget is realized and mapped. | ||
| 4428 | func (x *Widget) Show() { | 4093 | func (x *Widget) Show() { | ||
| 4429 | - | core.LazyRegister(&xWidgetShow, "GTK", "gtk_widget_show", false) | |||
| 4430 | - | ||||
| 4431 | xWidgetShow(x.GoPointer()) | 4094 | xWidgetShow(x.GoPointer()) | ||
| 4432 | } | 4095 | } | ||
| 4433 | 4096 | ||||
| @@ -4438,8 +4101,6 @@ var xWidgetSizeAllocate func(uintptr, *Allocation, int) | |||||
| 4438 | // | 4101 | // | ||
| 4439 | // This is a simple form of [method@Gtk.Widget.allocate]. | 4102 | // This is a simple form of [method@Gtk.Widget.allocate]. | ||
| 4440 | func (x *Widget) SizeAllocate(AllocationVar *Allocation, BaselineVar int) { | 4103 | func (x *Widget) SizeAllocate(AllocationVar *Allocation, BaselineVar int) { | ||
| 4441 | - | core.LazyRegister(&xWidgetSizeAllocate, "GTK", "gtk_widget_size_allocate", false) | |||
| 4442 | - | ||||
| 4443 | xWidgetSizeAllocate(x.GoPointer(), AllocationVar, BaselineVar) | 4104 | xWidgetSizeAllocate(x.GoPointer(), AllocationVar, BaselineVar) | ||
| 4444 | } | 4105 | } | ||
| 4445 | 4106 | ||||
| @@ -4460,8 +4121,6 @@ var xWidgetSnapshotChild func(uintptr, uintptr, uintptr) | |||||
| 4460 | // | 4121 | // | ||
| 4461 | // It does nothing for children that implement `GtkNative`. | 4122 | // It does nothing for children that implement `GtkNative`. | ||
| 4462 | func (x *Widget) SnapshotChild(ChildVar *Widget, SnapshotVar *Snapshot) { | 4123 | func (x *Widget) SnapshotChild(ChildVar *Widget, SnapshotVar *Snapshot) { | ||
| 4463 | - | core.LazyRegister(&xWidgetSnapshotChild, "GTK", "gtk_widget_snapshot_child", false) | |||
| 4464 | - | ||||
| 4465 | xWidgetSnapshotChild(x.GoPointer(), ChildVar.GoPointer(), SnapshotVar.GoPointer()) | 4124 | xWidgetSnapshotChild(x.GoPointer(), ChildVar.GoPointer(), SnapshotVar.GoPointer()) | ||
| 4466 | } | 4125 | } | ||
| 4467 | 4126 | ||||
| @@ -4474,8 +4133,6 @@ var xWidgetTranslateCoordinates func(uintptr, uintptr, float64, float64, *float6 | |||||
| 4474 | // a common ancestor. If that is not the case, @dest_x and @dest_y | 4133 | // a common ancestor. If that is not the case, @dest_x and @dest_y | ||
| 4475 | // are set to 0 and false is returned. | 4134 | // are set to 0 and false is returned. | ||
| 4476 | func (x *Widget) TranslateCoordinates(DestWidgetVar *Widget, SrcXVar float64, SrcYVar float64, DestXVar *float64, DestYVar *float64) bool { | 4135 | 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 | - | ||||
| 4479 | cret := xWidgetTranslateCoordinates(x.GoPointer(), DestWidgetVar.GoPointer(), SrcXVar, SrcYVar, DestXVar, DestYVar) | 4136 | cret := xWidgetTranslateCoordinates(x.GoPointer(), DestWidgetVar.GoPointer(), SrcXVar, SrcYVar, DestXVar, DestYVar) | ||
| 4480 | return cret | 4137 | return cret | ||
| 4481 | } | 4138 | } | ||
| @@ -4484,8 +4141,6 @@ var xWidgetTriggerTooltipQuery func(uintptr) | |||||
| 4484 | 4141 | ||||
| 4485 | // Triggers a tooltip query on the display of the widget. | 4142 | // Triggers a tooltip query on the display of the widget. | ||
| 4486 | func (x *Widget) TriggerTooltipQuery() { | 4143 | func (x *Widget) TriggerTooltipQuery() { | ||
| 4487 | - | core.LazyRegister(&xWidgetTriggerTooltipQuery, "GTK", "gtk_widget_trigger_tooltip_query", false) | |||
| 4488 | - | ||||
| 4489 | xWidgetTriggerTooltipQuery(x.GoPointer()) | 4144 | xWidgetTriggerTooltipQuery(x.GoPointer()) | ||
| 4490 | } | 4145 | } | ||
| 4491 | 4146 | ||||
| @@ -4495,8 +4150,6 @@ var xWidgetUnmap func(uintptr) | |||||
| 4495 | // | 4150 | // | ||
| 4496 | // This function is only for use in widget implementations. | 4151 | // This function is only for use in widget implementations. | ||
| 4497 | func (x *Widget) Unmap() { | 4152 | func (x *Widget) Unmap() { | ||
| 4498 | - | core.LazyRegister(&xWidgetUnmap, "GTK", "gtk_widget_unmap", false) | |||
| 4499 | - | ||||
| 4500 | xWidgetUnmap(x.GoPointer()) | 4153 | xWidgetUnmap(x.GoPointer()) | ||
| 4501 | } | 4154 | } | ||
| 4502 | 4155 | ||||
| @@ -4507,8 +4160,6 @@ var xWidgetUnparent func(uintptr) | |||||
| 4507 | // This function is only for use in widget implementations, | 4160 | // This function is only for use in widget implementations, | ||
| 4508 | // typically in dispose. | 4161 | // typically in dispose. | ||
| 4509 | func (x *Widget) Unparent() { | 4162 | func (x *Widget) Unparent() { | ||
| 4510 | - | core.LazyRegister(&xWidgetUnparent, "GTK", "gtk_widget_unparent", false) | |||
| 4511 | - | ||||
| 4512 | xWidgetUnparent(x.GoPointer()) | 4163 | xWidgetUnparent(x.GoPointer()) | ||
| 4513 | } | 4164 | } | ||
| 4514 | 4165 | ||||
| @@ -4520,8 +4171,6 @@ var xWidgetUnrealize func(uintptr) | |||||
| 4520 | // | 4171 | // | ||
| 4521 | // This function is only useful in widget implementations. | 4172 | // This function is only useful in widget implementations. | ||
| 4522 | func (x *Widget) Unrealize() { | 4173 | func (x *Widget) Unrealize() { | ||
| 4523 | - | core.LazyRegister(&xWidgetUnrealize, "GTK", "gtk_widget_unrealize", false) | |||
| 4524 | - | ||||
| 4525 | xWidgetUnrealize(x.GoPointer()) | 4174 | xWidgetUnrealize(x.GoPointer()) | ||
| 4526 | } | 4175 | } | ||
| 4527 | 4176 | ||||
| @@ -4533,8 +4182,6 @@ var xWidgetUnsetStateFlags func(uintptr, StateFlags) | |||||
| 4533 | // | 4182 | // | ||
| 4534 | // This function is for use in widget implementations. | 4183 | // This function is for use in widget implementations. | ||
| 4535 | func (x *Widget) UnsetStateFlags(FlagsVar StateFlags) { | 4184 | func (x *Widget) UnsetStateFlags(FlagsVar StateFlags) { | ||
| 4536 | - | core.LazyRegister(&xWidgetUnsetStateFlags, "GTK", "gtk_widget_unset_state_flags", false) | |||
| 4537 | - | ||||
| 4538 | xWidgetUnsetStateFlags(x.GoPointer(), FlagsVar) | 4185 | xWidgetUnsetStateFlags(x.GoPointer(), FlagsVar) | ||
| 4539 | } | 4186 | } | ||
| 4540 | 4187 | ||||
| @@ -5754,8 +5401,6 @@ var xWidgetGetDefaultDirection func() TextDirection | |||||
| 5754 | // | 5401 | // | ||
| 5755 | // See [func@Gtk.Widget.set_default_direction]. | 5402 | // See [func@Gtk.Widget.set_default_direction]. | ||
| 5756 | func WidgetGetDefaultDirection() TextDirection { | 5403 | func WidgetGetDefaultDirection() TextDirection { | ||
| 5757 | - | core.LazyRegister(&xWidgetGetDefaultDirection, "GTK", "gtk_widget_get_default_direction", false) | |||
| 5758 | - | ||||
| 5759 | cret := xWidgetGetDefaultDirection() | 5404 | cret := xWidgetGetDefaultDirection() | ||
| 5760 | return cret | 5405 | return cret | ||
| 5761 | } | 5406 | } | ||
| @@ -5766,12 +5411,217 @@ var xWidgetSetDefaultDirection func(TextDirection) | |||||
| 5766 | // | 5411 | // | ||
| 5767 | // See [method@Gtk.Widget.set_direction]. | 5412 | // See [method@Gtk.Widget.set_direction]. | ||
| 5768 | func WidgetSetDefaultDirection(DirVar TextDirection) { | 5413 | func WidgetSetDefaultDirection(DirVar TextDirection) { | ||
| 5769 | - | core.LazyRegister(&xWidgetSetDefaultDirection, "GTK", "gtk_widget_set_default_direction", false) | |||
| 5770 | - | ||||
| 5771 | xWidgetSetDefaultDirection(DirVar) | 5414 | xWidgetSetDefaultDirection(DirVar) | ||
| 5772 | } | 5415 | } | ||
| 5773 | 5416 | ||||
| 5774 | func init() { | 5417 | func init() { | ||
| 5775 | core.SetPackageName("GTK", "gtk4") | 5418 | core.SetPackageName("GTK", "gtk4") | ||
| 5776 | core.SetSharedLibraries("GTK", []string{"libgtk-4.so.1", "libgtk-4.1.dylib"}) | 5419 | 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") | |||
| 5777 | } | 5627 | } | ||