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 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/gtk/gtkwidgetpaintable.go +16 -5 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/gtk/gtkwindow.go +79 -121
| @@ -199,7 +199,6 @@ type WindowGravity int | |||
| 199 | 199 | var xWindowGravityGLibType func() types.GType | |
| 200 | 200 | ||
| 201 | 201 | func WindowGravityGLibType() types.GType { | |
| 202 | - | core.LazyRegister(&xWindowGravityGLibType, "GTK", "gtk_window_gravity_get_type", false) | |
| 203 | 202 | return xWindowGravityGLibType() | |
| 204 | 203 | } | |
| 205 | 204 | ||
| @@ -326,7 +325,6 @@ type Window struct { | |||
| 326 | 325 | var xWindowGLibType func() types.GType | |
| 327 | 326 | ||
| 328 | 327 | func WindowGLibType() types.GType { | |
| 329 | - | core.LazyRegister(&xWindowGLibType, "GTK", "gtk_window_get_type", false) | |
| 330 | 328 | return xWindowGLibType() | |
| 331 | 329 | } | |
| 332 | 330 | ||
| @@ -351,7 +349,6 @@ var xNewWindow func() uintptr | |||
| 351 | 349 | // | |
| 352 | 350 | // To delete a `GtkWindow`, call [method@Gtk.Window.destroy]. | |
| 353 | 351 | func NewWindow() *Window { | |
| 354 | - | core.LazyRegister(&xNewWindow, "GTK", "gtk_window_new", false) | |
| 355 | 352 | var cls *Window | |
| 356 | 353 | ||
| 357 | 354 | cret := xNewWindow() | |
| @@ -375,8 +372,6 @@ var xWindowClose func(uintptr) | |||
| 375 | 372 | // This function can be used with close buttons in custom | |
| 376 | 373 | // titlebars. | |
| 377 | 374 | func (x *Window) Close() { | |
| 378 | - | core.LazyRegister(&xWindowClose, "GTK", "gtk_window_close", false) | |
| 379 | - | ||
| 380 | 375 | xWindowClose(x.GoPointer()) | |
| 381 | 376 | } | |
| 382 | 377 | ||
| @@ -384,8 +379,6 @@ var xWindowDestroy func(uintptr) | |||
| 384 | 379 | ||
| 385 | 380 | // Drops the internal reference GTK holds on toplevel windows. | |
| 386 | 381 | func (x *Window) Destroy() { | |
| 387 | - | core.LazyRegister(&xWindowDestroy, "GTK", "gtk_window_destroy", false) | |
| 388 | - | ||
| 389 | 382 | xWindowDestroy(x.GoPointer()) | |
| 390 | 383 | } | |
| 391 | 384 | ||
| @@ -405,8 +398,6 @@ var xWindowFullscreen func(uintptr) | |||
| 405 | 398 | // [property@Gdk.Toplevel:state] property, or by listening to | |
| 406 | 399 | // notifications of the [property@Gtk.Window:fullscreened] property. | |
| 407 | 400 | func (x *Window) Fullscreen() { | |
| 408 | - | core.LazyRegister(&xWindowFullscreen, "GTK", "gtk_window_fullscreen", false) | |
| 409 | - | ||
| 410 | 401 | xWindowFullscreen(x.GoPointer()) | |
| 411 | 402 | } | |
| 412 | 403 | ||
| @@ -422,8 +413,6 @@ var xWindowFullscreenOnMonitor func(uintptr, uintptr) | |||
| 422 | 413 | // [property@Gdk.Toplevel:state] property, or by listening to | |
| 423 | 414 | // notifications of the [property@Gtk.Window:fullscreened] property. | |
| 424 | 415 | func (x *Window) FullscreenOnMonitor(MonitorVar *gdk.Monitor) { | |
| 425 | - | core.LazyRegister(&xWindowFullscreenOnMonitor, "GTK", "gtk_window_fullscreen_on_monitor", false) | |
| 426 | - | ||
| 427 | 416 | xWindowFullscreenOnMonitor(x.GoPointer(), MonitorVar.GoPointer()) | |
| 428 | 417 | } | |
| 429 | 418 | ||
| @@ -431,7 +420,6 @@ var xWindowGetApplication func(uintptr) uintptr | |||
| 431 | 420 | ||
| 432 | 421 | // Gets the application object associated with the window. | |
| 433 | 422 | func (x *Window) GetApplication() *Application { | |
| 434 | - | core.LazyRegister(&xWindowGetApplication, "GTK", "gtk_window_get_application", false) | |
| 435 | 423 | var cls *Application | |
| 436 | 424 | ||
| 437 | 425 | cret := xWindowGetApplication(x.GoPointer()) | |
| @@ -449,7 +437,6 @@ var xWindowGetChild func(uintptr) uintptr | |||
| 449 | 437 | ||
| 450 | 438 | // Gets the child widget of the window. | |
| 451 | 439 | func (x *Window) GetChild() *Widget { | |
| 452 | - | core.LazyRegister(&xWindowGetChild, "GTK", "gtk_window_get_child", false) | |
| 453 | 440 | var cls *Widget | |
| 454 | 441 | ||
| 455 | 442 | cret := xWindowGetChild(x.GoPointer()) | |
| @@ -467,8 +454,6 @@ var xWindowGetDecorated func(uintptr) bool | |||
| 467 | 454 | ||
| 468 | 455 | // Returns whether the window has been set to have decorations. | |
| 469 | 456 | func (x *Window) GetDecorated() bool { | |
| 470 | - | core.LazyRegister(&xWindowGetDecorated, "GTK", "gtk_window_get_decorated", false) | |
| 471 | - | ||
| 472 | 457 | cret := xWindowGetDecorated(x.GoPointer()) | |
| 473 | 458 | return cret | |
| 474 | 459 | } | |
| @@ -484,8 +469,6 @@ var xWindowGetDefaultSize func(uintptr, *int, *int) | |||
| 484 | 469 | // This function is the recommended way for [saving window state | |
| 485 | 470 | // across restarts of applications](https://developer.gnome.org/documentation/tutorials/save-state.html). | |
| 486 | 471 | func (x *Window) GetDefaultSize(WidthVar *int, HeightVar *int) { | |
| 487 | - | core.LazyRegister(&xWindowGetDefaultSize, "GTK", "gtk_window_get_default_size", false) | |
| 488 | - | ||
| 489 | 472 | xWindowGetDefaultSize(x.GoPointer(), WidthVar, HeightVar) | |
| 490 | 473 | } | |
| 491 | 474 | ||
| @@ -493,7 +476,6 @@ var xWindowGetDefaultWidget func(uintptr) uintptr | |||
| 493 | 476 | ||
| 494 | 477 | // Returns the default widget for @window. | |
| 495 | 478 | func (x *Window) GetDefaultWidget() *Widget { | |
| 496 | - | core.LazyRegister(&xWindowGetDefaultWidget, "GTK", "gtk_window_get_default_widget", false) | |
| 497 | 479 | var cls *Widget | |
| 498 | 480 | ||
| 499 | 481 | cret := xWindowGetDefaultWidget(x.GoPointer()) | |
| @@ -511,8 +493,6 @@ var xWindowGetDeletable func(uintptr) bool | |||
| 511 | 493 | ||
| 512 | 494 | // Returns whether the window has been set to have a close button. | |
| 513 | 495 | func (x *Window) GetDeletable() bool { | |
| 514 | - | core.LazyRegister(&xWindowGetDeletable, "GTK", "gtk_window_get_deletable", false) | |
| 515 | - | ||
| 516 | 496 | cret := xWindowGetDeletable(x.GoPointer()) | |
| 517 | 497 | return cret | |
| 518 | 498 | } | |
| @@ -521,8 +501,6 @@ var xWindowGetDestroyWithParent func(uintptr) bool | |||
| 521 | 501 | ||
| 522 | 502 | // Returns whether the window will be destroyed with its transient parent. | |
| 523 | 503 | func (x *Window) GetDestroyWithParent() bool { | |
| 524 | - | core.LazyRegister(&xWindowGetDestroyWithParent, "GTK", "gtk_window_get_destroy_with_parent", false) | |
| 525 | - | ||
| 526 | 504 | cret := xWindowGetDestroyWithParent(x.GoPointer()) | |
| 527 | 505 | return cret | |
| 528 | 506 | } | |
| @@ -536,7 +514,6 @@ var xWindowGetFocus func(uintptr) uintptr | |||
| 536 | 514 | // is not focused then `gtk_widget_has_focus (widget)` will | |
| 537 | 515 | // not be false for the widget. | |
| 538 | 516 | func (x *Window) GetFocus() *Widget { | |
| 539 | - | core.LazyRegister(&xWindowGetFocus, "GTK", "gtk_window_get_focus", false) | |
| 540 | 517 | var cls *Widget | |
| 541 | 518 | ||
| 542 | 519 | cret := xWindowGetFocus(x.GoPointer()) | |
| @@ -554,8 +531,6 @@ var xWindowGetFocusVisible func(uintptr) bool | |||
| 554 | 531 | ||
| 555 | 532 | // Gets whether “focus rectangles” are supposed to be visible. | |
| 556 | 533 | func (x *Window) GetFocusVisible() bool { | |
| 557 | - | core.LazyRegister(&xWindowGetFocusVisible, "GTK", "gtk_window_get_focus_visible", false) | |
| 558 | - | ||
| 559 | 534 | cret := xWindowGetFocusVisible(x.GoPointer()) | |
| 560 | 535 | return cret | |
| 561 | 536 | } | |
| @@ -564,8 +539,6 @@ var xWindowGetGravity func(uintptr) WindowGravity | |||
| 564 | 539 | ||
| 565 | 540 | // Returns the gravity that is used when changing the window size programmatically. | |
| 566 | 541 | func (x *Window) GetGravity() WindowGravity { | |
| 567 | - | core.LazyRegister(&xWindowGetGravity, "GTK", "gtk_window_get_gravity", false) | |
| 568 | - | ||
| 569 | 542 | cret := xWindowGetGravity(x.GoPointer()) | |
| 570 | 543 | return cret | |
| 571 | 544 | } | |
| @@ -576,7 +549,6 @@ var xWindowGetGroup func(uintptr) uintptr | |||
| 576 | 549 | // | |
| 577 | 550 | // If the window has no group, then the default group is returned. | |
| 578 | 551 | func (x *Window) GetGroup() *WindowGroup { | |
| 579 | - | core.LazyRegister(&xWindowGetGroup, "GTK", "gtk_window_get_group", false) | |
| 580 | 552 | var cls *WindowGroup | |
| 581 | 553 | ||
| 582 | 554 | cret := xWindowGetGroup(x.GoPointer()) | |
| @@ -595,8 +567,6 @@ var xWindowGetHandleMenubarAccel func(uintptr) bool | |||
| 595 | 567 | // Returns whether this window reacts to <kbd>F10</kbd> | |
| 596 | 568 | // presses by activating a menubar it contains. | |
| 597 | 569 | func (x *Window) GetHandleMenubarAccel() bool { | |
| 598 | - | core.LazyRegister(&xWindowGetHandleMenubarAccel, "GTK", "gtk_window_get_handle_menubar_accel", false) | |
| 599 | - | ||
| 600 | 570 | cret := xWindowGetHandleMenubarAccel(x.GoPointer()) | |
| 601 | 571 | return cret | |
| 602 | 572 | } | |
| @@ -606,8 +576,6 @@ var xWindowGetHideOnClose func(uintptr) bool | |||
| 606 | 576 | // Returns whether the window will be hidden instead of destroyed when the close | |
| 607 | 577 | // button is clicked. | |
| 608 | 578 | func (x *Window) GetHideOnClose() bool { | |
| 609 | - | core.LazyRegister(&xWindowGetHideOnClose, "GTK", "gtk_window_get_hide_on_close", false) | |
| 610 | - | ||
| 611 | 579 | cret := xWindowGetHideOnClose(x.GoPointer()) | |
| 612 | 580 | return cret | |
| 613 | 581 | } | |
| @@ -616,8 +584,6 @@ var xWindowGetIconName func(uintptr) string | |||
| 616 | 584 | ||
| 617 | 585 | // Returns the name of the themed icon for the window. | |
| 618 | 586 | func (x *Window) GetIconName() string { | |
| 619 | - | core.LazyRegister(&xWindowGetIconName, "GTK", "gtk_window_get_icon_name", false) | |
| 620 | - | ||
| 621 | 587 | cret := xWindowGetIconName(x.GoPointer()) | |
| 622 | 588 | return cret | |
| 623 | 589 | } | |
| @@ -626,8 +592,6 @@ var xWindowGetMnemonicsVisible func(uintptr) bool | |||
| 626 | 592 | ||
| 627 | 593 | // Gets whether mnemonics are supposed to be visible. | |
| 628 | 594 | func (x *Window) GetMnemonicsVisible() bool { | |
| 629 | - | core.LazyRegister(&xWindowGetMnemonicsVisible, "GTK", "gtk_window_get_mnemonics_visible", false) | |
| 630 | - | ||
| 631 | 595 | cret := xWindowGetMnemonicsVisible(x.GoPointer()) | |
| 632 | 596 | return cret | |
| 633 | 597 | } | |
| @@ -636,8 +600,6 @@ var xWindowGetModal func(uintptr) bool | |||
| 636 | 600 | ||
| 637 | 601 | // Returns whether the window is modal. | |
| 638 | 602 | func (x *Window) GetModal() bool { | |
| 639 | - | core.LazyRegister(&xWindowGetModal, "GTK", "gtk_window_get_modal", false) | |
| 640 | - | ||
| 641 | 603 | cret := xWindowGetModal(x.GoPointer()) | |
| 642 | 604 | return cret | |
| 643 | 605 | } | |
| @@ -646,8 +608,6 @@ var xWindowGetResizable func(uintptr) bool | |||
| 646 | 608 | ||
| 647 | 609 | // Gets whether the user can resize the window. | |
| 648 | 610 | func (x *Window) GetResizable() bool { | |
| 649 | - | core.LazyRegister(&xWindowGetResizable, "GTK", "gtk_window_get_resizable", false) | |
| 650 | - | ||
| 651 | 611 | cret := xWindowGetResizable(x.GoPointer()) | |
| 652 | 612 | return cret | |
| 653 | 613 | } | |
| @@ -656,8 +616,6 @@ var xWindowGetTitle func(uintptr) string | |||
| 656 | 616 | ||
| 657 | 617 | // Retrieves the title of the window. | |
| 658 | 618 | func (x *Window) GetTitle() string { | |
| 659 | - | core.LazyRegister(&xWindowGetTitle, "GTK", "gtk_window_get_title", false) | |
| 660 | - | ||
| 661 | 619 | cret := xWindowGetTitle(x.GoPointer()) | |
| 662 | 620 | return cret | |
| 663 | 621 | } | |
| @@ -667,7 +625,6 @@ var xWindowGetTitlebar func(uintptr) uintptr | |||
| 667 | 625 | // Returns the titlebar that has been set with | |
| 668 | 626 | // [method@Gtk.Window.set_titlebar]. | |
| 669 | 627 | func (x *Window) GetTitlebar() *Widget { | |
| 670 | - | core.LazyRegister(&xWindowGetTitlebar, "GTK", "gtk_window_get_titlebar", false) | |
| 671 | 628 | var cls *Widget | |
| 672 | 629 | ||
| 673 | 630 | cret := xWindowGetTitlebar(x.GoPointer()) | |
| @@ -685,7 +642,6 @@ var xWindowGetTransientFor func(uintptr) uintptr | |||
| 685 | 642 | ||
| 686 | 643 | // Fetches the transient parent for this window. | |
| 687 | 644 | func (x *Window) GetTransientFor() *Window { | |
| 688 | - | core.LazyRegister(&xWindowGetTransientFor, "GTK", "gtk_window_get_transient_for", false) | |
| 689 | 645 | var cls *Window | |
| 690 | 646 | ||
| 691 | 647 | cret := xWindowGetTransientFor(x.GoPointer()) | |
| @@ -703,8 +659,6 @@ var xWindowHasGroup func(uintptr) bool | |||
| 703 | 659 | ||
| 704 | 660 | // Returns whether the window has an explicit window group. | |
| 705 | 661 | func (x *Window) HasGroup() bool { | |
| 706 | - | core.LazyRegister(&xWindowHasGroup, "GTK", "gtk_window_has_group", false) | |
| 707 | - | ||
| 708 | 662 | cret := xWindowHasGroup(x.GoPointer()) | |
| 709 | 663 | return cret | |
| 710 | 664 | } | |
| @@ -719,8 +673,6 @@ var xWindowIsActive func(uintptr) bool | |||
| 719 | 673 | // You might use this function if you wanted to draw a widget | |
| 720 | 674 | // differently in an active window from a widget in an inactive window. | |
| 721 | 675 | func (x *Window) IsActive() bool { | |
| 722 | - | core.LazyRegister(&xWindowIsActive, "GTK", "gtk_window_is_active", false) | |
| 723 | - | ||
| 724 | 676 | cret := xWindowIsActive(x.GoPointer()) | |
| 725 | 677 | return cret | |
| 726 | 678 | } | |
| @@ -738,8 +690,6 @@ var xWindowIsFullscreen func(uintptr) bool | |||
| 738 | 690 | // If the window isn't yet mapped, the value returned will whether the | |
| 739 | 691 | // initial requested state is fullscreen. | |
| 740 | 692 | func (x *Window) IsFullscreen() bool { | |
| 741 | - | core.LazyRegister(&xWindowIsFullscreen, "GTK", "gtk_window_is_fullscreen", false) | |
| 742 | - | ||
| 743 | 693 | cret := xWindowIsFullscreen(x.GoPointer()) | |
| 744 | 694 | return cret | |
| 745 | 695 | } | |
| @@ -757,8 +707,6 @@ var xWindowIsMaximized func(uintptr) bool | |||
| 757 | 707 | // If the window isn't yet mapped, the value returned will whether the | |
| 758 | 708 | // initial requested state is maximized. | |
| 759 | 709 | func (x *Window) IsMaximized() bool { | |
| 760 | - | core.LazyRegister(&xWindowIsMaximized, "GTK", "gtk_window_is_maximized", false) | |
| 761 | - | ||
| 762 | 710 | cret := xWindowIsMaximized(x.GoPointer()) | |
| 763 | 711 | return cret | |
| 764 | 712 | } | |
| @@ -771,8 +719,6 @@ var xWindowIsSuspended func(uintptr) bool | |||
| 771 | 719 | // to the user, for example by being on a inactive workspace, | |
| 772 | 720 | // minimized, obstructed. | |
| 773 | 721 | func (x *Window) IsSuspended() bool { | |
| 774 | - | core.LazyRegister(&xWindowIsSuspended, "GTK", "gtk_window_is_suspended", false) | |
| 775 | - | ||
| 776 | 722 | cret := xWindowIsSuspended(x.GoPointer()) | |
| 777 | 723 | return cret | |
| 778 | 724 | } | |
| @@ -800,8 +746,6 @@ var xWindowMaximize func(uintptr) | |||
| 800 | 746 | // notifications on the [property@Gtk.Window:maximized] | |
| 801 | 747 | // property. | |
| 802 | 748 | func (x *Window) Maximize() { | |
| 803 | - | core.LazyRegister(&xWindowMaximize, "GTK", "gtk_window_maximize", false) | |
| 804 | - | ||
| 805 | 749 | xWindowMaximize(x.GoPointer()) | |
| 806 | 750 | } | |
| 807 | 751 | ||
| @@ -822,8 +766,6 @@ var xWindowMinimize func(uintptr) | |||
| 822 | 766 | // You can track result of this operation via the | |
| 823 | 767 | // [property@Gdk.Toplevel:state] property. | |
| 824 | 768 | func (x *Window) Minimize() { | |
| 825 | - | core.LazyRegister(&xWindowMinimize, "GTK", "gtk_window_minimize", false) | |
| 826 | - | ||
| 827 | 769 | xWindowMinimize(x.GoPointer()) | |
| 828 | 770 | } | |
| 829 | 771 | ||
| @@ -838,8 +780,6 @@ var xWindowPresent func(uintptr) | |||
| 838 | 780 | // | |
| 839 | 781 | // If @window is hidden, this function also makes it visible. | |
| 840 | 782 | func (x *Window) Present() { | |
| 841 | - | core.LazyRegister(&xWindowPresent, "GTK", "gtk_window_present", false) | |
| 842 | - | ||
| 843 | 783 | xWindowPresent(x.GoPointer()) | |
| 844 | 784 | } | |
| 845 | 785 | ||
| @@ -853,8 +793,6 @@ var xWindowPresentWithTime func(uintptr, uint32) | |||
| 853 | 793 | // to be shown (when clicking a link for example), rather than once | |
| 854 | 794 | // the window is ready to be shown. | |
| 855 | 795 | func (x *Window) PresentWithTime(TimestampVar uint32) { | |
| 856 | - | core.LazyRegister(&xWindowPresentWithTime, "GTK", "gtk_window_present_with_time", false) | |
| 857 | - | ||
| 858 | 796 | xWindowPresentWithTime(x.GoPointer(), TimestampVar) | |
| 859 | 797 | } | |
| 860 | 798 | ||
| @@ -874,8 +812,6 @@ var xWindowSetApplication func(uintptr, uintptr) | |||
| 874 | 812 | // and/or [method@Gtk.Application.add_window] on the old/new applications | |
| 875 | 813 | // as relevant. | |
| 876 | 814 | func (x *Window) SetApplication(ApplicationVar *Application) { | |
| 877 | - | core.LazyRegister(&xWindowSetApplication, "GTK", "gtk_window_set_application", false) | |
| 878 | - | ||
| 879 | 815 | xWindowSetApplication(x.GoPointer(), ApplicationVar.GoPointer()) | |
| 880 | 816 | } | |
| 881 | 817 | ||
| @@ -883,8 +819,6 @@ var xWindowSetChild func(uintptr, uintptr) | |||
| 883 | 819 | ||
| 884 | 820 | // Sets the child widget of the window. | |
| 885 | 821 | func (x *Window) SetChild(ChildVar *Widget) { | |
| 886 | - | core.LazyRegister(&xWindowSetChild, "GTK", "gtk_window_set_child", false) | |
| 887 | - | ||
| 888 | 822 | xWindowSetChild(x.GoPointer(), ChildVar.GoPointer()) | |
| 889 | 823 | } | |
| 890 | 824 | ||
| @@ -904,8 +838,6 @@ var xWindowSetDecorated func(uintptr, bool) | |||
| 904 | 838 | // On Windows, this function always works, since there’s no window manager | |
| 905 | 839 | // policy involved. | |
| 906 | 840 | func (x *Window) SetDecorated(SettingVar bool) { | |
| 907 | - | core.LazyRegister(&xWindowSetDecorated, "GTK", "gtk_window_set_decorated", false) | |
| 908 | - | ||
| 909 | 841 | xWindowSetDecorated(x.GoPointer(), SettingVar) | |
| 910 | 842 | } | |
| 911 | 843 | ||
| @@ -942,8 +874,6 @@ var xWindowSetDefaultSize func(uintptr, int, int) | |||
| 942 | 874 | // directly will not work in all circumstances and can lead to growing | |
| 943 | 875 | // or shrinking windows. | |
| 944 | 876 | func (x *Window) SetDefaultSize(WidthVar int, HeightVar int) { | |
| 945 | - | core.LazyRegister(&xWindowSetDefaultSize, "GTK", "gtk_window_set_default_size", false) | |
| 946 | - | ||
| 947 | 877 | xWindowSetDefaultSize(x.GoPointer(), WidthVar, HeightVar) | |
| 948 | 878 | } | |
| 949 | 879 | ||
| @@ -955,8 +885,6 @@ var xWindowSetDefaultWidget func(uintptr, uintptr) | |||
| 955 | 885 | // when the user presses <kbd>Enter</kbd> in a dialog | |
| 956 | 886 | // (for example). | |
| 957 | 887 | func (x *Window) SetDefaultWidget(DefaultWidgetVar *Widget) { | |
| 958 | - | core.LazyRegister(&xWindowSetDefaultWidget, "GTK", "gtk_window_set_default_widget", false) | |
| 959 | - | ||
| 960 | 888 | xWindowSetDefaultWidget(x.GoPointer(), DefaultWidgetVar.GoPointer()) | |
| 961 | 889 | } | |
| 962 | 890 | ||
| @@ -975,8 +903,6 @@ var xWindowSetDeletable func(uintptr, bool) | |||
| 975 | 903 | // On Windows, this function always works, since there’s no window | |
| 976 | 904 | // manager policy involved. | |
| 977 | 905 | func (x *Window) SetDeletable(SettingVar bool) { | |
| 978 | - | core.LazyRegister(&xWindowSetDeletable, "GTK", "gtk_window_set_deletable", false) | |
| 979 | - | ||
| 980 | 906 | xWindowSetDeletable(x.GoPointer(), SettingVar) | |
| 981 | 907 | } | |
| 982 | 908 | ||
| @@ -987,8 +913,6 @@ var xWindowSetDestroyWithParent func(uintptr, bool) | |||
| 987 | 913 | // This is useful for dialogs that shouldn’t persist beyond the lifetime | |
| 988 | 914 | // of the main window they are associated with, for example. | |
| 989 | 915 | func (x *Window) SetDestroyWithParent(SettingVar bool) { | |
| 990 | - | core.LazyRegister(&xWindowSetDestroyWithParent, "GTK", "gtk_window_set_destroy_with_parent", false) | |
| 991 | - | ||
| 992 | 916 | xWindowSetDestroyWithParent(x.GoPointer(), SettingVar) | |
| 993 | 917 | } | |
| 994 | 918 | ||
| @@ -999,8 +923,6 @@ var xWindowSetDisplay func(uintptr, uintptr) | |||
| 999 | 923 | // If the window is already mapped, it will be unmapped, | |
| 1000 | 924 | // and then remapped on the new display. | |
| 1001 | 925 | func (x *Window) SetDisplay(DisplayVar *gdk.Display) { | |
| 1002 | - | core.LazyRegister(&xWindowSetDisplay, "GTK", "gtk_window_set_display", false) | |
| 1003 | - | ||
| 1004 | 926 | xWindowSetDisplay(x.GoPointer(), DisplayVar.GoPointer()) | |
| 1005 | 927 | } | |
| 1006 | 928 | ||
| @@ -1014,8 +936,6 @@ var xWindowSetFocus func(uintptr, uintptr) | |||
| 1014 | 936 | // particular widget in the toplevel, it is usually more convenient | |
| 1015 | 937 | // to use [method@Gtk.Widget.grab_focus] instead of this function. | |
| 1016 | 938 | func (x *Window) SetFocus(FocusVar *Widget) { | |
| 1017 | - | core.LazyRegister(&xWindowSetFocus, "GTK", "gtk_window_set_focus", false) | |
| 1018 | - | ||
| 1019 | 939 | xWindowSetFocus(x.GoPointer(), FocusVar.GoPointer()) | |
| 1020 | 940 | } | |
| 1021 | 941 | ||
| @@ -1026,8 +946,6 @@ var xWindowSetFocusVisible func(uintptr, bool) | |||
| 1026 | 946 | // This property is maintained by GTK based on user input, | |
| 1027 | 947 | // and should not be set by applications. | |
| 1028 | 948 | func (x *Window) SetFocusVisible(SettingVar bool) { | |
| 1029 | - | core.LazyRegister(&xWindowSetFocusVisible, "GTK", "gtk_window_set_focus_visible", false) | |
| 1030 | - | ||
| 1031 | 949 | xWindowSetFocusVisible(x.GoPointer(), SettingVar) | |
| 1032 | 950 | } | |
| 1033 | 951 | ||
| @@ -1035,8 +953,6 @@ var xWindowSetGravity func(uintptr, WindowGravity) | |||
| 1035 | 953 | ||
| 1036 | 954 | // Sets the gravity that is used when changing the window size programmatically. | |
| 1037 | 955 | func (x *Window) SetGravity(GravityVar WindowGravity) { | |
| 1038 | - | core.LazyRegister(&xWindowSetGravity, "GTK", "gtk_window_set_gravity", false) | |
| 1039 | - | ||
| 1040 | 956 | xWindowSetGravity(x.GoPointer(), GravityVar) | |
| 1041 | 957 | } | |
| 1042 | 958 | ||
| @@ -1045,8 +961,6 @@ var xWindowSetHandleMenubarAccel func(uintptr, bool) | |||
| 1045 | 961 | // Sets whether this window should react to <kbd>F10</kbd> | |
| 1046 | 962 | // presses by activating a menubar it contains. | |
| 1047 | 963 | func (x *Window) SetHandleMenubarAccel(HandleMenubarAccelVar bool) { | |
| 1048 | - | core.LazyRegister(&xWindowSetHandleMenubarAccel, "GTK", "gtk_window_set_handle_menubar_accel", false) | |
| 1049 | - | ||
| 1050 | 964 | xWindowSetHandleMenubarAccel(x.GoPointer(), HandleMenubarAccelVar) | |
| 1051 | 965 | } | |
| 1052 | 966 | ||
| @@ -1055,8 +969,6 @@ var xWindowSetHideOnClose func(uintptr, bool) | |||
| 1055 | 969 | // Sets whether clicking the close button will hide the window instead | |
| 1056 | 970 | // of destroying it. | |
| 1057 | 971 | func (x *Window) SetHideOnClose(SettingVar bool) { | |
| 1058 | - | core.LazyRegister(&xWindowSetHideOnClose, "GTK", "gtk_window_set_hide_on_close", false) | |
| 1059 | - | ||
| 1060 | 972 | xWindowSetHideOnClose(x.GoPointer(), SettingVar) | |
| 1061 | 973 | } | |
| 1062 | 974 | ||
| @@ -1070,8 +982,6 @@ var xWindowSetIconName func(uintptr, uintptr) | |||
| 1070 | 982 | // Note that this has nothing to do with the WM_ICON_NAME | |
| 1071 | 983 | // property which is mentioned in the ICCCM. | |
| 1072 | 984 | func (x *Window) SetIconName(NameVar *string) { | |
| 1073 | - | core.LazyRegister(&xWindowSetIconName, "GTK", "gtk_window_set_icon_name", false) | |
| 1074 | - | ||
| 1075 | 985 | NameVarPtr := core.GStrdupNullable(NameVar) | |
| 1076 | 986 | defer core.GFreeNullable(NameVarPtr) | |
| 1077 | 987 | ||
| @@ -1085,8 +995,6 @@ var xWindowSetMnemonicsVisible func(uintptr, bool) | |||
| 1085 | 995 | // This property is maintained by GTK based on user input, | |
| 1086 | 996 | // and should not be set by applications. | |
| 1087 | 997 | func (x *Window) SetMnemonicsVisible(SettingVar bool) { | |
| 1088 | - | core.LazyRegister(&xWindowSetMnemonicsVisible, "GTK", "gtk_window_set_mnemonics_visible", false) | |
| 1089 | - | ||
| 1090 | 998 | xWindowSetMnemonicsVisible(x.GoPointer(), SettingVar) | |
| 1091 | 999 | } | |
| 1092 | 1000 | ||
| @@ -1100,8 +1008,6 @@ var xWindowSetModal func(uintptr, bool) | |||
| 1100 | 1008 | // for the parent; most window managers will then disallow lowering the | |
| 1101 | 1009 | // dialog below the parent. | |
| 1102 | 1010 | func (x *Window) SetModal(ModalVar bool) { | |
| 1103 | - | core.LazyRegister(&xWindowSetModal, "GTK", "gtk_window_set_modal", false) | |
| 1104 | - | ||
| 1105 | 1011 | xWindowSetModal(x.GoPointer(), ModalVar) | |
| 1106 | 1012 | } | |
| 1107 | 1013 | ||
| @@ -1111,8 +1017,6 @@ var xWindowSetResizable func(uintptr, bool) | |||
| 1111 | 1017 | // | |
| 1112 | 1018 | // Windows are user resizable by default. | |
| 1113 | 1019 | func (x *Window) SetResizable(ResizableVar bool) { | |
| 1114 | - | core.LazyRegister(&xWindowSetResizable, "GTK", "gtk_window_set_resizable", false) | |
| 1115 | - | ||
| 1116 | 1020 | xWindowSetResizable(x.GoPointer(), ResizableVar) | |
| 1117 | 1021 | } | |
| 1118 | 1022 | ||
| @@ -1134,8 +1038,6 @@ var xWindowSetStartupId func(uintptr, string) | |||
| 1134 | 1038 | // This function is only useful on Wayland or X11, not with other GDK | |
| 1135 | 1039 | // backends. | |
| 1136 | 1040 | func (x *Window) SetStartupId(StartupIdVar string) { | |
| 1137 | - | core.LazyRegister(&xWindowSetStartupId, "GTK", "gtk_window_set_startup_id", false) | |
| 1138 | - | ||
| 1139 | 1041 | xWindowSetStartupId(x.GoPointer(), StartupIdVar) | |
| 1140 | 1042 | } | |
| 1141 | 1043 | ||
| @@ -1152,8 +1054,6 @@ var xWindowSetTitle func(uintptr, uintptr) | |||
| 1152 | 1054 | // | |
| 1153 | 1055 | // Passing `NULL` does the same as setting the title to an empty string. | |
| 1154 | 1056 | func (x *Window) SetTitle(TitleVar *string) { | |
| 1155 | - | core.LazyRegister(&xWindowSetTitle, "GTK", "gtk_window_set_title", false) | |
| 1156 | - | ||
| 1157 | 1057 | TitleVarPtr := core.GStrdupNullable(TitleVar) | |
| 1158 | 1058 | defer core.GFreeNullable(TitleVarPtr) | |
| 1159 | 1059 | ||
| @@ -1174,8 +1074,6 @@ var xWindowSetTitlebar func(uintptr, uintptr) | |||
| 1174 | 1074 | // that is already visible, so you set the titlebar before calling | |
| 1175 | 1075 | // [method@Gtk.Widget.show]. | |
| 1176 | 1076 | func (x *Window) SetTitlebar(TitlebarVar *Widget) { | |
| 1177 | - | core.LazyRegister(&xWindowSetTitlebar, "GTK", "gtk_window_set_titlebar", false) | |
| 1178 | - | ||
| 1179 | 1077 | xWindowSetTitlebar(x.GoPointer(), TitlebarVar.GoPointer()) | |
| 1180 | 1078 | } | |
| 1181 | 1079 | ||
| @@ -1195,8 +1093,6 @@ var xWindowSetTransientFor func(uintptr, uintptr) | |||
| 1195 | 1093 | // On Windows, this function puts the child window on top of the parent, | |
| 1196 | 1094 | // much as the window manager would have done on X. | |
| 1197 | 1095 | func (x *Window) SetTransientFor(ParentVar *Window) { | |
| 1198 | - | core.LazyRegister(&xWindowSetTransientFor, "GTK", "gtk_window_set_transient_for", false) | |
| 1199 | - | ||
| 1200 | 1096 | xWindowSetTransientFor(x.GoPointer(), ParentVar.GoPointer()) | |
| 1201 | 1097 | } | |
| 1202 | 1098 | ||
| @@ -1219,8 +1115,6 @@ var xWindowUnfullscreen func(uintptr) | |||
| 1219 | 1115 | // [property@Gdk.Toplevel:state] property, or by listening to | |
| 1220 | 1116 | // notifications of the [property@Gtk.Window:fullscreened] property. | |
| 1221 | 1117 | func (x *Window) Unfullscreen() { | |
| 1222 | - | core.LazyRegister(&xWindowUnfullscreen, "GTK", "gtk_window_unfullscreen", false) | |
| 1223 | - | ||
| 1224 | 1118 | xWindowUnfullscreen(x.GoPointer()) | |
| 1225 | 1119 | } | |
| 1226 | 1120 | ||
| @@ -1242,8 +1136,6 @@ var xWindowUnmaximize func(uintptr) | |||
| 1242 | 1136 | // [property@Gdk.Toplevel:state] property, or by listening to | |
| 1243 | 1137 | // notifications on the [property@Gtk.Window:maximized] property. | |
| 1244 | 1138 | func (x *Window) Unmaximize() { | |
| 1245 | - | core.LazyRegister(&xWindowUnmaximize, "GTK", "gtk_window_unmaximize", false) | |
| 1246 | - | ||
| 1247 | 1139 | xWindowUnmaximize(x.GoPointer()) | |
| 1248 | 1140 | } | |
| 1249 | 1141 | ||
| @@ -1260,8 +1152,6 @@ var xWindowUnminimize func(uintptr) | |||
| 1260 | 1152 | // You can track result of this operation via the | |
| 1261 | 1153 | // [property@Gdk.Toplevel:state] property. | |
| 1262 | 1154 | func (x *Window) Unminimize() { | |
| 1263 | - | core.LazyRegister(&xWindowUnminimize, "GTK", "gtk_window_unminimize", false) | |
| 1264 | - | ||
| 1265 | 1155 | xWindowUnminimize(x.GoPointer()) | |
| 1266 | 1156 | } | |
| 1267 | 1157 | ||
| @@ -2076,8 +1966,6 @@ var xWindowGetDefaultIconName func() string | |||
| 2076 | 1966 | // be modified. It is only valid until the next call to | |
| 2077 | 1967 | // [func@Gtk.Window.set_default_icon_name]. | |
| 2078 | 1968 | func WindowGetDefaultIconName() string { | |
| 2079 | - | core.LazyRegister(&xWindowGetDefaultIconName, "GTK", "gtk_window_get_default_icon_name", false) | |
| 2080 | - | ||
| 2081 | 1969 | cret := xWindowGetDefaultIconName() | |
| 2082 | 1970 | return cret | |
| 2083 | 1971 | } | |
| @@ -2090,7 +1978,6 @@ var xWindowGetToplevels func() uintptr | |||
| 2090 | 1978 | // callbacks that might destroy the widgets or add new ones, be aware that | |
| 2091 | 1979 | // the list of toplevels will change and emit the "items-changed" signal. | |
| 2092 | 1980 | func WindowGetToplevels() *gio.ListModelBase { | |
| 2093 | - | core.LazyRegister(&xWindowGetToplevels, "GTK", "gtk_window_get_toplevels", false) | |
| 2094 | 1981 | var cls *gio.ListModelBase | |
| 2095 | 1982 | ||
| 2096 | 1983 | cret := xWindowGetToplevels() | |
| @@ -2114,8 +2001,6 @@ var xWindowListToplevels func() uintptr | |||
| 2114 | 2001 | // call `g_list_foreach (result, (GFunc)g_object_ref, NULL)` first, | |
| 2115 | 2002 | // and then unref all the widgets afterwards. | |
| 2116 | 2003 | func WindowListToplevels() *glib.List { | |
| 2117 | - | core.LazyRegister(&xWindowListToplevels, "GTK", "gtk_window_list_toplevels", false) | |
| 2118 | - | ||
| 2119 | 2004 | cret := xWindowListToplevels() | |
| 2120 | 2005 | if cret == 0 { | |
| 2121 | 2006 | return nil | |
| @@ -2138,8 +2023,6 @@ var xWindowSetAutoStartupNotification func(bool) | |||
| 2138 | 2023 | // temporarily, show your splash screen, then re-enable it so that | |
| 2139 | 2024 | // showing the main window would automatically result in notification. | |
| 2140 | 2025 | func WindowSetAutoStartupNotification(SettingVar bool) { | |
| 2141 | - | core.LazyRegister(&xWindowSetAutoStartupNotification, "GTK", "gtk_window_set_auto_startup_notification", false) | |
| 2142 | - | ||
| 2143 | 2026 | xWindowSetAutoStartupNotification(SettingVar) | |
| 2144 | 2027 | } | |
| 2145 | 2028 | ||
| @@ -2151,8 +2034,6 @@ var xWindowSetDefaultIconName func(string) | |||
| 2151 | 2034 | // haven't had [method@Gtk.Window.set_icon_name] | |
| 2152 | 2035 | // called on them. | |
| 2153 | 2036 | func WindowSetDefaultIconName(NameVar string) { | |
| 2154 | - | core.LazyRegister(&xWindowSetDefaultIconName, "GTK", "gtk_window_set_default_icon_name", false) | |
| 2155 | - | ||
| 2156 | 2037 | xWindowSetDefaultIconName(NameVar) | |
| 2157 | 2038 | } | |
| 2158 | 2039 | ||
| @@ -2171,12 +2052,89 @@ var xWindowSetInteractiveDebugging func(bool) | |||
| 2171 | 2052 | // If you are not overriding the default key shortcuts for the Inspector, | |
| 2172 | 2053 | // you should not use this function. | |
| 2173 | 2054 | func WindowSetInteractiveDebugging(EnableVar bool) { | |
| 2174 | - | core.LazyRegister(&xWindowSetInteractiveDebugging, "GTK", "gtk_window_set_interactive_debugging", false) | |
| 2175 | - | ||
| 2176 | 2055 | xWindowSetInteractiveDebugging(EnableVar) | |
| 2177 | 2056 | } | |
| 2178 | 2057 | ||
| 2179 | 2058 | func init() { | |
| 2180 | 2059 | core.SetPackageName("GTK", "gtk4") | |
| 2181 | 2060 | core.SetSharedLibraries("GTK", []string{"libgtk-4.so.1", "libgtk-4.1.dylib"}) | |
| 2061 | + | var libs []uintptr | |
| 2062 | + | for _, libPath := range core.GetPaths("GTK") { | |
| 2063 | + | lib, err := purego.Dlopen(libPath, purego.RTLD_NOW|purego.RTLD_GLOBAL) | |
| 2064 | + | if err != nil { | |
| 2065 | + | panic(err) | |
| 2066 | + | } | |
| 2067 | + | libs = append(libs, lib) | |
| 2068 | + | } | |
| 2069 | + | ||
| 2070 | + | core.PuregoSafeRegister(&xWindowGravityGLibType, libs, "gtk_window_gravity_get_type") | |
| 2071 | + | ||
| 2072 | + | core.PuregoSafeRegister(&xWindowGLibType, libs, "gtk_window_get_type") | |
| 2073 | + | ||
| 2074 | + | core.PuregoSafeRegister(&xNewWindow, libs, "gtk_window_new") | |
| 2075 | + | ||
| 2076 | + | core.PuregoSafeRegister(&xWindowClose, libs, "gtk_window_close") | |
| 2077 | + | core.PuregoSafeRegister(&xWindowDestroy, libs, "gtk_window_destroy") | |
| 2078 | + | core.PuregoSafeRegister(&xWindowFullscreen, libs, "gtk_window_fullscreen") | |
| 2079 | + | core.PuregoSafeRegister(&xWindowFullscreenOnMonitor, libs, "gtk_window_fullscreen_on_monitor") | |
| 2080 | + | core.PuregoSafeRegister(&xWindowGetApplication, libs, "gtk_window_get_application") | |
| 2081 | + | core.PuregoSafeRegister(&xWindowGetChild, libs, "gtk_window_get_child") | |
| 2082 | + | core.PuregoSafeRegister(&xWindowGetDecorated, libs, "gtk_window_get_decorated") | |
| 2083 | + | core.PuregoSafeRegister(&xWindowGetDefaultSize, libs, "gtk_window_get_default_size") | |
| 2084 | + | core.PuregoSafeRegister(&xWindowGetDefaultWidget, libs, "gtk_window_get_default_widget") | |
| 2085 | + | core.PuregoSafeRegister(&xWindowGetDeletable, libs, "gtk_window_get_deletable") | |
| 2086 | + | core.PuregoSafeRegister(&xWindowGetDestroyWithParent, libs, "gtk_window_get_destroy_with_parent") | |
| 2087 | + | core.PuregoSafeRegister(&xWindowGetFocus, libs, "gtk_window_get_focus") | |
| 2088 | + | core.PuregoSafeRegister(&xWindowGetFocusVisible, libs, "gtk_window_get_focus_visible") | |
| 2089 | + | core.PuregoSafeRegister(&xWindowGetGravity, libs, "gtk_window_get_gravity") | |
| 2090 | + | core.PuregoSafeRegister(&xWindowGetGroup, libs, "gtk_window_get_group") | |
| 2091 | + | core.PuregoSafeRegister(&xWindowGetHandleMenubarAccel, libs, "gtk_window_get_handle_menubar_accel") | |
| 2092 | + | core.PuregoSafeRegister(&xWindowGetHideOnClose, libs, "gtk_window_get_hide_on_close") | |
| 2093 | + | core.PuregoSafeRegister(&xWindowGetIconName, libs, "gtk_window_get_icon_name") | |
| 2094 | + | core.PuregoSafeRegister(&xWindowGetMnemonicsVisible, libs, "gtk_window_get_mnemonics_visible") | |
| 2095 | + | core.PuregoSafeRegister(&xWindowGetModal, libs, "gtk_window_get_modal") | |
| 2096 | + | core.PuregoSafeRegister(&xWindowGetResizable, libs, "gtk_window_get_resizable") | |
| 2097 | + | core.PuregoSafeRegister(&xWindowGetTitle, libs, "gtk_window_get_title") | |
| 2098 | + | core.PuregoSafeRegister(&xWindowGetTitlebar, libs, "gtk_window_get_titlebar") | |
| 2099 | + | core.PuregoSafeRegister(&xWindowGetTransientFor, libs, "gtk_window_get_transient_for") | |
| 2100 | + | core.PuregoSafeRegister(&xWindowHasGroup, libs, "gtk_window_has_group") | |
| 2101 | + | core.PuregoSafeRegister(&xWindowIsActive, libs, "gtk_window_is_active") | |
| 2102 | + | core.PuregoSafeRegister(&xWindowIsFullscreen, libs, "gtk_window_is_fullscreen") | |
| 2103 | + | core.PuregoSafeRegister(&xWindowIsMaximized, libs, "gtk_window_is_maximized") | |
| 2104 | + | core.PuregoSafeRegister(&xWindowIsSuspended, libs, "gtk_window_is_suspended") | |
| 2105 | + | core.PuregoSafeRegister(&xWindowMaximize, libs, "gtk_window_maximize") | |
| 2106 | + | core.PuregoSafeRegister(&xWindowMinimize, libs, "gtk_window_minimize") | |
| 2107 | + | core.PuregoSafeRegister(&xWindowPresent, libs, "gtk_window_present") | |
| 2108 | + | core.PuregoSafeRegister(&xWindowPresentWithTime, libs, "gtk_window_present_with_time") | |
| 2109 | + | core.PuregoSafeRegister(&xWindowSetApplication, libs, "gtk_window_set_application") | |
| 2110 | + | core.PuregoSafeRegister(&xWindowSetChild, libs, "gtk_window_set_child") | |
| 2111 | + | core.PuregoSafeRegister(&xWindowSetDecorated, libs, "gtk_window_set_decorated") | |
| 2112 | + | core.PuregoSafeRegister(&xWindowSetDefaultSize, libs, "gtk_window_set_default_size") | |
| 2113 | + | core.PuregoSafeRegister(&xWindowSetDefaultWidget, libs, "gtk_window_set_default_widget") | |
| 2114 | + | core.PuregoSafeRegister(&xWindowSetDeletable, libs, "gtk_window_set_deletable") | |
| 2115 | + | core.PuregoSafeRegister(&xWindowSetDestroyWithParent, libs, "gtk_window_set_destroy_with_parent") | |
| 2116 | + | core.PuregoSafeRegister(&xWindowSetDisplay, libs, "gtk_window_set_display") | |
| 2117 | + | core.PuregoSafeRegister(&xWindowSetFocus, libs, "gtk_window_set_focus") | |
| 2118 | + | core.PuregoSafeRegister(&xWindowSetFocusVisible, libs, "gtk_window_set_focus_visible") | |
| 2119 | + | core.PuregoSafeRegister(&xWindowSetGravity, libs, "gtk_window_set_gravity") | |
| 2120 | + | core.PuregoSafeRegister(&xWindowSetHandleMenubarAccel, libs, "gtk_window_set_handle_menubar_accel") | |
| 2121 | + | core.PuregoSafeRegister(&xWindowSetHideOnClose, libs, "gtk_window_set_hide_on_close") | |
| 2122 | + | core.PuregoSafeRegister(&xWindowSetIconName, libs, "gtk_window_set_icon_name") | |
| 2123 | + | core.PuregoSafeRegister(&xWindowSetMnemonicsVisible, libs, "gtk_window_set_mnemonics_visible") | |
| 2124 | + | core.PuregoSafeRegister(&xWindowSetModal, libs, "gtk_window_set_modal") | |
| 2125 | + | core.PuregoSafeRegister(&xWindowSetResizable, libs, "gtk_window_set_resizable") | |
| 2126 | + | core.PuregoSafeRegister(&xWindowSetStartupId, libs, "gtk_window_set_startup_id") | |
| 2127 | + | core.PuregoSafeRegister(&xWindowSetTitle, libs, "gtk_window_set_title") | |
| 2128 | + | core.PuregoSafeRegister(&xWindowSetTitlebar, libs, "gtk_window_set_titlebar") | |
| 2129 | + | core.PuregoSafeRegister(&xWindowSetTransientFor, libs, "gtk_window_set_transient_for") | |
| 2130 | + | core.PuregoSafeRegister(&xWindowUnfullscreen, libs, "gtk_window_unfullscreen") | |
| 2131 | + | core.PuregoSafeRegister(&xWindowUnmaximize, libs, "gtk_window_unmaximize") | |
| 2132 | + | core.PuregoSafeRegister(&xWindowUnminimize, libs, "gtk_window_unminimize") | |
| 2133 | + | ||
| 2134 | + | core.PuregoSafeRegister(&xWindowGetDefaultIconName, libs, "gtk_window_get_default_icon_name") | |
| 2135 | + | core.PuregoSafeRegister(&xWindowGetToplevels, libs, "gtk_window_get_toplevels") | |
| 2136 | + | core.PuregoSafeRegister(&xWindowListToplevels, libs, "gtk_window_list_toplevels") | |
| 2137 | + | core.PuregoSafeRegister(&xWindowSetAutoStartupNotification, libs, "gtk_window_set_auto_startup_notification") | |
| 2138 | + | core.PuregoSafeRegister(&xWindowSetDefaultIconName, libs, "gtk_window_set_default_icon_name") | |
| 2139 | + | core.PuregoSafeRegister(&xWindowSetInteractiveDebugging, libs, "gtk_window_set_interactive_debugging") | |
| 2182 | 2140 | } | |
| @@ -199,7 +199,6 @@ type WindowGravity int | |||||
| 199 | var xWindowGravityGLibType func() types.GType | 199 | var xWindowGravityGLibType func() types.GType | ||
| 200 | 200 | ||||
| 201 | func WindowGravityGLibType() types.GType { | 201 | func WindowGravityGLibType() types.GType { | ||
| 202 | - | core.LazyRegister(&xWindowGravityGLibType, "GTK", "gtk_window_gravity_get_type", false) | |||
| 203 | return xWindowGravityGLibType() | 202 | return xWindowGravityGLibType() | ||
| 204 | } | 203 | } | ||
| 205 | 204 | ||||
| @@ -326,7 +325,6 @@ type Window struct { | |||||
| 326 | var xWindowGLibType func() types.GType | 325 | var xWindowGLibType func() types.GType | ||
| 327 | 326 | ||||
| 328 | func WindowGLibType() types.GType { | 327 | func WindowGLibType() types.GType { | ||
| 329 | - | core.LazyRegister(&xWindowGLibType, "GTK", "gtk_window_get_type", false) | |||
| 330 | return xWindowGLibType() | 328 | return xWindowGLibType() | ||
| 331 | } | 329 | } | ||
| 332 | 330 | ||||
| @@ -351,7 +349,6 @@ var xNewWindow func() uintptr | |||||
| 351 | // | 349 | // | ||
| 352 | // To delete a `GtkWindow`, call [method@Gtk.Window.destroy]. | 350 | // To delete a `GtkWindow`, call [method@Gtk.Window.destroy]. | ||
| 353 | func NewWindow() *Window { | 351 | func NewWindow() *Window { | ||
| 354 | - | core.LazyRegister(&xNewWindow, "GTK", "gtk_window_new", false) | |||
| 355 | var cls *Window | 352 | var cls *Window | ||
| 356 | 353 | ||||
| 357 | cret := xNewWindow() | 354 | cret := xNewWindow() | ||
| @@ -375,8 +372,6 @@ var xWindowClose func(uintptr) | |||||
| 375 | // This function can be used with close buttons in custom | 372 | // This function can be used with close buttons in custom | ||
| 376 | // titlebars. | 373 | // titlebars. | ||
| 377 | func (x *Window) Close() { | 374 | func (x *Window) Close() { | ||
| 378 | - | core.LazyRegister(&xWindowClose, "GTK", "gtk_window_close", false) | |||
| 379 | - | ||||
| 380 | xWindowClose(x.GoPointer()) | 375 | xWindowClose(x.GoPointer()) | ||
| 381 | } | 376 | } | ||
| 382 | 377 | ||||
| @@ -384,8 +379,6 @@ var xWindowDestroy func(uintptr) | |||||
| 384 | 379 | ||||
| 385 | // Drops the internal reference GTK holds on toplevel windows. | 380 | // Drops the internal reference GTK holds on toplevel windows. | ||
| 386 | func (x *Window) Destroy() { | 381 | func (x *Window) Destroy() { | ||
| 387 | - | core.LazyRegister(&xWindowDestroy, "GTK", "gtk_window_destroy", false) | |||
| 388 | - | ||||
| 389 | xWindowDestroy(x.GoPointer()) | 382 | xWindowDestroy(x.GoPointer()) | ||
| 390 | } | 383 | } | ||
| 391 | 384 | ||||
| @@ -405,8 +398,6 @@ var xWindowFullscreen func(uintptr) | |||||
| 405 | // [property@Gdk.Toplevel:state] property, or by listening to | 398 | // [property@Gdk.Toplevel:state] property, or by listening to | ||
| 406 | // notifications of the [property@Gtk.Window:fullscreened] property. | 399 | // notifications of the [property@Gtk.Window:fullscreened] property. | ||
| 407 | func (x *Window) Fullscreen() { | 400 | func (x *Window) Fullscreen() { | ||
| 408 | - | core.LazyRegister(&xWindowFullscreen, "GTK", "gtk_window_fullscreen", false) | |||
| 409 | - | ||||
| 410 | xWindowFullscreen(x.GoPointer()) | 401 | xWindowFullscreen(x.GoPointer()) | ||
| 411 | } | 402 | } | ||
| 412 | 403 | ||||
| @@ -422,8 +413,6 @@ var xWindowFullscreenOnMonitor func(uintptr, uintptr) | |||||
| 422 | // [property@Gdk.Toplevel:state] property, or by listening to | 413 | // [property@Gdk.Toplevel:state] property, or by listening to | ||
| 423 | // notifications of the [property@Gtk.Window:fullscreened] property. | 414 | // notifications of the [property@Gtk.Window:fullscreened] property. | ||
| 424 | func (x *Window) FullscreenOnMonitor(MonitorVar *gdk.Monitor) { | 415 | func (x *Window) FullscreenOnMonitor(MonitorVar *gdk.Monitor) { | ||
| 425 | - | core.LazyRegister(&xWindowFullscreenOnMonitor, "GTK", "gtk_window_fullscreen_on_monitor", false) | |||
| 426 | - | ||||
| 427 | xWindowFullscreenOnMonitor(x.GoPointer(), MonitorVar.GoPointer()) | 416 | xWindowFullscreenOnMonitor(x.GoPointer(), MonitorVar.GoPointer()) | ||
| 428 | } | 417 | } | ||
| 429 | 418 | ||||
| @@ -431,7 +420,6 @@ var xWindowGetApplication func(uintptr) uintptr | |||||
| 431 | 420 | ||||
| 432 | // Gets the application object associated with the window. | 421 | // Gets the application object associated with the window. | ||
| 433 | func (x *Window) GetApplication() *Application { | 422 | func (x *Window) GetApplication() *Application { | ||
| 434 | - | core.LazyRegister(&xWindowGetApplication, "GTK", "gtk_window_get_application", false) | |||
| 435 | var cls *Application | 423 | var cls *Application | ||
| 436 | 424 | ||||
| 437 | cret := xWindowGetApplication(x.GoPointer()) | 425 | cret := xWindowGetApplication(x.GoPointer()) | ||
| @@ -449,7 +437,6 @@ var xWindowGetChild func(uintptr) uintptr | |||||
| 449 | 437 | ||||
| 450 | // Gets the child widget of the window. | 438 | // Gets the child widget of the window. | ||
| 451 | func (x *Window) GetChild() *Widget { | 439 | func (x *Window) GetChild() *Widget { | ||
| 452 | - | core.LazyRegister(&xWindowGetChild, "GTK", "gtk_window_get_child", false) | |||
| 453 | var cls *Widget | 440 | var cls *Widget | ||
| 454 | 441 | ||||
| 455 | cret := xWindowGetChild(x.GoPointer()) | 442 | cret := xWindowGetChild(x.GoPointer()) | ||
| @@ -467,8 +454,6 @@ var xWindowGetDecorated func(uintptr) bool | |||||
| 467 | 454 | ||||
| 468 | // Returns whether the window has been set to have decorations. | 455 | // Returns whether the window has been set to have decorations. | ||
| 469 | func (x *Window) GetDecorated() bool { | 456 | func (x *Window) GetDecorated() bool { | ||
| 470 | - | core.LazyRegister(&xWindowGetDecorated, "GTK", "gtk_window_get_decorated", false) | |||
| 471 | - | ||||
| 472 | cret := xWindowGetDecorated(x.GoPointer()) | 457 | cret := xWindowGetDecorated(x.GoPointer()) | ||
| 473 | return cret | 458 | return cret | ||
| 474 | } | 459 | } | ||
| @@ -484,8 +469,6 @@ var xWindowGetDefaultSize func(uintptr, *int, *int) | |||||
| 484 | // This function is the recommended way for [saving window state | 469 | // This function is the recommended way for [saving window state | ||
| 485 | // across restarts of applications](https://developer.gnome.org/documentation/tutorials/save-state.html). | 470 | // across restarts of applications](https://developer.gnome.org/documentation/tutorials/save-state.html). | ||
| 486 | func (x *Window) GetDefaultSize(WidthVar *int, HeightVar *int) { | 471 | func (x *Window) GetDefaultSize(WidthVar *int, HeightVar *int) { | ||
| 487 | - | core.LazyRegister(&xWindowGetDefaultSize, "GTK", "gtk_window_get_default_size", false) | |||
| 488 | - | ||||
| 489 | xWindowGetDefaultSize(x.GoPointer(), WidthVar, HeightVar) | 472 | xWindowGetDefaultSize(x.GoPointer(), WidthVar, HeightVar) | ||
| 490 | } | 473 | } | ||
| 491 | 474 | ||||
| @@ -493,7 +476,6 @@ var xWindowGetDefaultWidget func(uintptr) uintptr | |||||
| 493 | 476 | ||||
| 494 | // Returns the default widget for @window. | 477 | // Returns the default widget for @window. | ||
| 495 | func (x *Window) GetDefaultWidget() *Widget { | 478 | func (x *Window) GetDefaultWidget() *Widget { | ||
| 496 | - | core.LazyRegister(&xWindowGetDefaultWidget, "GTK", "gtk_window_get_default_widget", false) | |||
| 497 | var cls *Widget | 479 | var cls *Widget | ||
| 498 | 480 | ||||
| 499 | cret := xWindowGetDefaultWidget(x.GoPointer()) | 481 | cret := xWindowGetDefaultWidget(x.GoPointer()) | ||
| @@ -511,8 +493,6 @@ var xWindowGetDeletable func(uintptr) bool | |||||
| 511 | 493 | ||||
| 512 | // Returns whether the window has been set to have a close button. | 494 | // Returns whether the window has been set to have a close button. | ||
| 513 | func (x *Window) GetDeletable() bool { | 495 | func (x *Window) GetDeletable() bool { | ||
| 514 | - | core.LazyRegister(&xWindowGetDeletable, "GTK", "gtk_window_get_deletable", false) | |||
| 515 | - | ||||
| 516 | cret := xWindowGetDeletable(x.GoPointer()) | 496 | cret := xWindowGetDeletable(x.GoPointer()) | ||
| 517 | return cret | 497 | return cret | ||
| 518 | } | 498 | } | ||
| @@ -521,8 +501,6 @@ var xWindowGetDestroyWithParent func(uintptr) bool | |||||
| 521 | 501 | ||||
| 522 | // Returns whether the window will be destroyed with its transient parent. | 502 | // Returns whether the window will be destroyed with its transient parent. | ||
| 523 | func (x *Window) GetDestroyWithParent() bool { | 503 | func (x *Window) GetDestroyWithParent() bool { | ||
| 524 | - | core.LazyRegister(&xWindowGetDestroyWithParent, "GTK", "gtk_window_get_destroy_with_parent", false) | |||
| 525 | - | ||||
| 526 | cret := xWindowGetDestroyWithParent(x.GoPointer()) | 504 | cret := xWindowGetDestroyWithParent(x.GoPointer()) | ||
| 527 | return cret | 505 | return cret | ||
| 528 | } | 506 | } | ||
| @@ -536,7 +514,6 @@ var xWindowGetFocus func(uintptr) uintptr | |||||
| 536 | // is not focused then `gtk_widget_has_focus (widget)` will | 514 | // is not focused then `gtk_widget_has_focus (widget)` will | ||
| 537 | // not be false for the widget. | 515 | // not be false for the widget. | ||
| 538 | func (x *Window) GetFocus() *Widget { | 516 | func (x *Window) GetFocus() *Widget { | ||
| 539 | - | core.LazyRegister(&xWindowGetFocus, "GTK", "gtk_window_get_focus", false) | |||
| 540 | var cls *Widget | 517 | var cls *Widget | ||
| 541 | 518 | ||||
| 542 | cret := xWindowGetFocus(x.GoPointer()) | 519 | cret := xWindowGetFocus(x.GoPointer()) | ||
| @@ -554,8 +531,6 @@ var xWindowGetFocusVisible func(uintptr) bool | |||||
| 554 | 531 | ||||
| 555 | // Gets whether “focus rectangles” are supposed to be visible. | 532 | // Gets whether “focus rectangles” are supposed to be visible. | ||
| 556 | func (x *Window) GetFocusVisible() bool { | 533 | func (x *Window) GetFocusVisible() bool { | ||
| 557 | - | core.LazyRegister(&xWindowGetFocusVisible, "GTK", "gtk_window_get_focus_visible", false) | |||
| 558 | - | ||||
| 559 | cret := xWindowGetFocusVisible(x.GoPointer()) | 534 | cret := xWindowGetFocusVisible(x.GoPointer()) | ||
| 560 | return cret | 535 | return cret | ||
| 561 | } | 536 | } | ||
| @@ -564,8 +539,6 @@ var xWindowGetGravity func(uintptr) WindowGravity | |||||
| 564 | 539 | ||||
| 565 | // Returns the gravity that is used when changing the window size programmatically. | 540 | // Returns the gravity that is used when changing the window size programmatically. | ||
| 566 | func (x *Window) GetGravity() WindowGravity { | 541 | func (x *Window) GetGravity() WindowGravity { | ||
| 567 | - | core.LazyRegister(&xWindowGetGravity, "GTK", "gtk_window_get_gravity", false) | |||
| 568 | - | ||||
| 569 | cret := xWindowGetGravity(x.GoPointer()) | 542 | cret := xWindowGetGravity(x.GoPointer()) | ||
| 570 | return cret | 543 | return cret | ||
| 571 | } | 544 | } | ||
| @@ -576,7 +549,6 @@ var xWindowGetGroup func(uintptr) uintptr | |||||
| 576 | // | 549 | // | ||
| 577 | // If the window has no group, then the default group is returned. | 550 | // If the window has no group, then the default group is returned. | ||
| 578 | func (x *Window) GetGroup() *WindowGroup { | 551 | func (x *Window) GetGroup() *WindowGroup { | ||
| 579 | - | core.LazyRegister(&xWindowGetGroup, "GTK", "gtk_window_get_group", false) | |||
| 580 | var cls *WindowGroup | 552 | var cls *WindowGroup | ||
| 581 | 553 | ||||
| 582 | cret := xWindowGetGroup(x.GoPointer()) | 554 | cret := xWindowGetGroup(x.GoPointer()) | ||
| @@ -595,8 +567,6 @@ var xWindowGetHandleMenubarAccel func(uintptr) bool | |||||
| 595 | // Returns whether this window reacts to <kbd>F10</kbd> | 567 | // Returns whether this window reacts to <kbd>F10</kbd> | ||
| 596 | // presses by activating a menubar it contains. | 568 | // presses by activating a menubar it contains. | ||
| 597 | func (x *Window) GetHandleMenubarAccel() bool { | 569 | func (x *Window) GetHandleMenubarAccel() bool { | ||
| 598 | - | core.LazyRegister(&xWindowGetHandleMenubarAccel, "GTK", "gtk_window_get_handle_menubar_accel", false) | |||
| 599 | - | ||||
| 600 | cret := xWindowGetHandleMenubarAccel(x.GoPointer()) | 570 | cret := xWindowGetHandleMenubarAccel(x.GoPointer()) | ||
| 601 | return cret | 571 | return cret | ||
| 602 | } | 572 | } | ||
| @@ -606,8 +576,6 @@ var xWindowGetHideOnClose func(uintptr) bool | |||||
| 606 | // Returns whether the window will be hidden instead of destroyed when the close | 576 | // Returns whether the window will be hidden instead of destroyed when the close | ||
| 607 | // button is clicked. | 577 | // button is clicked. | ||
| 608 | func (x *Window) GetHideOnClose() bool { | 578 | func (x *Window) GetHideOnClose() bool { | ||
| 609 | - | core.LazyRegister(&xWindowGetHideOnClose, "GTK", "gtk_window_get_hide_on_close", false) | |||
| 610 | - | ||||
| 611 | cret := xWindowGetHideOnClose(x.GoPointer()) | 579 | cret := xWindowGetHideOnClose(x.GoPointer()) | ||
| 612 | return cret | 580 | return cret | ||
| 613 | } | 581 | } | ||
| @@ -616,8 +584,6 @@ var xWindowGetIconName func(uintptr) string | |||||
| 616 | 584 | ||||
| 617 | // Returns the name of the themed icon for the window. | 585 | // Returns the name of the themed icon for the window. | ||
| 618 | func (x *Window) GetIconName() string { | 586 | func (x *Window) GetIconName() string { | ||
| 619 | - | core.LazyRegister(&xWindowGetIconName, "GTK", "gtk_window_get_icon_name", false) | |||
| 620 | - | ||||
| 621 | cret := xWindowGetIconName(x.GoPointer()) | 587 | cret := xWindowGetIconName(x.GoPointer()) | ||
| 622 | return cret | 588 | return cret | ||
| 623 | } | 589 | } | ||
| @@ -626,8 +592,6 @@ var xWindowGetMnemonicsVisible func(uintptr) bool | |||||
| 626 | 592 | ||||
| 627 | // Gets whether mnemonics are supposed to be visible. | 593 | // Gets whether mnemonics are supposed to be visible. | ||
| 628 | func (x *Window) GetMnemonicsVisible() bool { | 594 | func (x *Window) GetMnemonicsVisible() bool { | ||
| 629 | - | core.LazyRegister(&xWindowGetMnemonicsVisible, "GTK", "gtk_window_get_mnemonics_visible", false) | |||
| 630 | - | ||||
| 631 | cret := xWindowGetMnemonicsVisible(x.GoPointer()) | 595 | cret := xWindowGetMnemonicsVisible(x.GoPointer()) | ||
| 632 | return cret | 596 | return cret | ||
| 633 | } | 597 | } | ||
| @@ -636,8 +600,6 @@ var xWindowGetModal func(uintptr) bool | |||||
| 636 | 600 | ||||
| 637 | // Returns whether the window is modal. | 601 | // Returns whether the window is modal. | ||
| 638 | func (x *Window) GetModal() bool { | 602 | func (x *Window) GetModal() bool { | ||
| 639 | - | core.LazyRegister(&xWindowGetModal, "GTK", "gtk_window_get_modal", false) | |||
| 640 | - | ||||
| 641 | cret := xWindowGetModal(x.GoPointer()) | 603 | cret := xWindowGetModal(x.GoPointer()) | ||
| 642 | return cret | 604 | return cret | ||
| 643 | } | 605 | } | ||
| @@ -646,8 +608,6 @@ var xWindowGetResizable func(uintptr) bool | |||||
| 646 | 608 | ||||
| 647 | // Gets whether the user can resize the window. | 609 | // Gets whether the user can resize the window. | ||
| 648 | func (x *Window) GetResizable() bool { | 610 | func (x *Window) GetResizable() bool { | ||
| 649 | - | core.LazyRegister(&xWindowGetResizable, "GTK", "gtk_window_get_resizable", false) | |||
| 650 | - | ||||
| 651 | cret := xWindowGetResizable(x.GoPointer()) | 611 | cret := xWindowGetResizable(x.GoPointer()) | ||
| 652 | return cret | 612 | return cret | ||
| 653 | } | 613 | } | ||
| @@ -656,8 +616,6 @@ var xWindowGetTitle func(uintptr) string | |||||
| 656 | 616 | ||||
| 657 | // Retrieves the title of the window. | 617 | // Retrieves the title of the window. | ||
| 658 | func (x *Window) GetTitle() string { | 618 | func (x *Window) GetTitle() string { | ||
| 659 | - | core.LazyRegister(&xWindowGetTitle, "GTK", "gtk_window_get_title", false) | |||
| 660 | - | ||||
| 661 | cret := xWindowGetTitle(x.GoPointer()) | 619 | cret := xWindowGetTitle(x.GoPointer()) | ||
| 662 | return cret | 620 | return cret | ||
| 663 | } | 621 | } | ||
| @@ -667,7 +625,6 @@ var xWindowGetTitlebar func(uintptr) uintptr | |||||
| 667 | // Returns the titlebar that has been set with | 625 | // Returns the titlebar that has been set with | ||
| 668 | // [method@Gtk.Window.set_titlebar]. | 626 | // [method@Gtk.Window.set_titlebar]. | ||
| 669 | func (x *Window) GetTitlebar() *Widget { | 627 | func (x *Window) GetTitlebar() *Widget { | ||
| 670 | - | core.LazyRegister(&xWindowGetTitlebar, "GTK", "gtk_window_get_titlebar", false) | |||
| 671 | var cls *Widget | 628 | var cls *Widget | ||
| 672 | 629 | ||||
| 673 | cret := xWindowGetTitlebar(x.GoPointer()) | 630 | cret := xWindowGetTitlebar(x.GoPointer()) | ||
| @@ -685,7 +642,6 @@ var xWindowGetTransientFor func(uintptr) uintptr | |||||
| 685 | 642 | ||||
| 686 | // Fetches the transient parent for this window. | 643 | // Fetches the transient parent for this window. | ||
| 687 | func (x *Window) GetTransientFor() *Window { | 644 | func (x *Window) GetTransientFor() *Window { | ||
| 688 | - | core.LazyRegister(&xWindowGetTransientFor, "GTK", "gtk_window_get_transient_for", false) | |||
| 689 | var cls *Window | 645 | var cls *Window | ||
| 690 | 646 | ||||
| 691 | cret := xWindowGetTransientFor(x.GoPointer()) | 647 | cret := xWindowGetTransientFor(x.GoPointer()) | ||
| @@ -703,8 +659,6 @@ var xWindowHasGroup func(uintptr) bool | |||||
| 703 | 659 | ||||
| 704 | // Returns whether the window has an explicit window group. | 660 | // Returns whether the window has an explicit window group. | ||
| 705 | func (x *Window) HasGroup() bool { | 661 | func (x *Window) HasGroup() bool { | ||
| 706 | - | core.LazyRegister(&xWindowHasGroup, "GTK", "gtk_window_has_group", false) | |||
| 707 | - | ||||
| 708 | cret := xWindowHasGroup(x.GoPointer()) | 662 | cret := xWindowHasGroup(x.GoPointer()) | ||
| 709 | return cret | 663 | return cret | ||
| 710 | } | 664 | } | ||
| @@ -719,8 +673,6 @@ var xWindowIsActive func(uintptr) bool | |||||
| 719 | // You might use this function if you wanted to draw a widget | 673 | // You might use this function if you wanted to draw a widget | ||
| 720 | // differently in an active window from a widget in an inactive window. | 674 | // differently in an active window from a widget in an inactive window. | ||
| 721 | func (x *Window) IsActive() bool { | 675 | func (x *Window) IsActive() bool { | ||
| 722 | - | core.LazyRegister(&xWindowIsActive, "GTK", "gtk_window_is_active", false) | |||
| 723 | - | ||||
| 724 | cret := xWindowIsActive(x.GoPointer()) | 676 | cret := xWindowIsActive(x.GoPointer()) | ||
| 725 | return cret | 677 | return cret | ||
| 726 | } | 678 | } | ||
| @@ -738,8 +690,6 @@ var xWindowIsFullscreen func(uintptr) bool | |||||
| 738 | // If the window isn't yet mapped, the value returned will whether the | 690 | // If the window isn't yet mapped, the value returned will whether the | ||
| 739 | // initial requested state is fullscreen. | 691 | // initial requested state is fullscreen. | ||
| 740 | func (x *Window) IsFullscreen() bool { | 692 | func (x *Window) IsFullscreen() bool { | ||
| 741 | - | core.LazyRegister(&xWindowIsFullscreen, "GTK", "gtk_window_is_fullscreen", false) | |||
| 742 | - | ||||
| 743 | cret := xWindowIsFullscreen(x.GoPointer()) | 693 | cret := xWindowIsFullscreen(x.GoPointer()) | ||
| 744 | return cret | 694 | return cret | ||
| 745 | } | 695 | } | ||
| @@ -757,8 +707,6 @@ var xWindowIsMaximized func(uintptr) bool | |||||
| 757 | // If the window isn't yet mapped, the value returned will whether the | 707 | // If the window isn't yet mapped, the value returned will whether the | ||
| 758 | // initial requested state is maximized. | 708 | // initial requested state is maximized. | ||
| 759 | func (x *Window) IsMaximized() bool { | 709 | func (x *Window) IsMaximized() bool { | ||
| 760 | - | core.LazyRegister(&xWindowIsMaximized, "GTK", "gtk_window_is_maximized", false) | |||
| 761 | - | ||||
| 762 | cret := xWindowIsMaximized(x.GoPointer()) | 710 | cret := xWindowIsMaximized(x.GoPointer()) | ||
| 763 | return cret | 711 | return cret | ||
| 764 | } | 712 | } | ||
| @@ -771,8 +719,6 @@ var xWindowIsSuspended func(uintptr) bool | |||||
| 771 | // to the user, for example by being on a inactive workspace, | 719 | // to the user, for example by being on a inactive workspace, | ||
| 772 | // minimized, obstructed. | 720 | // minimized, obstructed. | ||
| 773 | func (x *Window) IsSuspended() bool { | 721 | func (x *Window) IsSuspended() bool { | ||
| 774 | - | core.LazyRegister(&xWindowIsSuspended, "GTK", "gtk_window_is_suspended", false) | |||
| 775 | - | ||||
| 776 | cret := xWindowIsSuspended(x.GoPointer()) | 722 | cret := xWindowIsSuspended(x.GoPointer()) | ||
| 777 | return cret | 723 | return cret | ||
| 778 | } | 724 | } | ||
| @@ -800,8 +746,6 @@ var xWindowMaximize func(uintptr) | |||||
| 800 | // notifications on the [property@Gtk.Window:maximized] | 746 | // notifications on the [property@Gtk.Window:maximized] | ||
| 801 | // property. | 747 | // property. | ||
| 802 | func (x *Window) Maximize() { | 748 | func (x *Window) Maximize() { | ||
| 803 | - | core.LazyRegister(&xWindowMaximize, "GTK", "gtk_window_maximize", false) | |||
| 804 | - | ||||
| 805 | xWindowMaximize(x.GoPointer()) | 749 | xWindowMaximize(x.GoPointer()) | ||
| 806 | } | 750 | } | ||
| 807 | 751 | ||||
| @@ -822,8 +766,6 @@ var xWindowMinimize func(uintptr) | |||||
| 822 | // You can track result of this operation via the | 766 | // You can track result of this operation via the | ||
| 823 | // [property@Gdk.Toplevel:state] property. | 767 | // [property@Gdk.Toplevel:state] property. | ||
| 824 | func (x *Window) Minimize() { | 768 | func (x *Window) Minimize() { | ||
| 825 | - | core.LazyRegister(&xWindowMinimize, "GTK", "gtk_window_minimize", false) | |||
| 826 | - | ||||
| 827 | xWindowMinimize(x.GoPointer()) | 769 | xWindowMinimize(x.GoPointer()) | ||
| 828 | } | 770 | } | ||
| 829 | 771 | ||||
| @@ -838,8 +780,6 @@ var xWindowPresent func(uintptr) | |||||
| 838 | // | 780 | // | ||
| 839 | // If @window is hidden, this function also makes it visible. | 781 | // If @window is hidden, this function also makes it visible. | ||
| 840 | func (x *Window) Present() { | 782 | func (x *Window) Present() { | ||
| 841 | - | core.LazyRegister(&xWindowPresent, "GTK", "gtk_window_present", false) | |||
| 842 | - | ||||
| 843 | xWindowPresent(x.GoPointer()) | 783 | xWindowPresent(x.GoPointer()) | ||
| 844 | } | 784 | } | ||
| 845 | 785 | ||||
| @@ -853,8 +793,6 @@ var xWindowPresentWithTime func(uintptr, uint32) | |||||
| 853 | // to be shown (when clicking a link for example), rather than once | 793 | // to be shown (when clicking a link for example), rather than once | ||
| 854 | // the window is ready to be shown. | 794 | // the window is ready to be shown. | ||
| 855 | func (x *Window) PresentWithTime(TimestampVar uint32) { | 795 | func (x *Window) PresentWithTime(TimestampVar uint32) { | ||
| 856 | - | core.LazyRegister(&xWindowPresentWithTime, "GTK", "gtk_window_present_with_time", false) | |||
| 857 | - | ||||
| 858 | xWindowPresentWithTime(x.GoPointer(), TimestampVar) | 796 | xWindowPresentWithTime(x.GoPointer(), TimestampVar) | ||
| 859 | } | 797 | } | ||
| 860 | 798 | ||||
| @@ -874,8 +812,6 @@ var xWindowSetApplication func(uintptr, uintptr) | |||||
| 874 | // and/or [method@Gtk.Application.add_window] on the old/new applications | 812 | // and/or [method@Gtk.Application.add_window] on the old/new applications | ||
| 875 | // as relevant. | 813 | // as relevant. | ||
| 876 | func (x *Window) SetApplication(ApplicationVar *Application) { | 814 | func (x *Window) SetApplication(ApplicationVar *Application) { | ||
| 877 | - | core.LazyRegister(&xWindowSetApplication, "GTK", "gtk_window_set_application", false) | |||
| 878 | - | ||||
| 879 | xWindowSetApplication(x.GoPointer(), ApplicationVar.GoPointer()) | 815 | xWindowSetApplication(x.GoPointer(), ApplicationVar.GoPointer()) | ||
| 880 | } | 816 | } | ||
| 881 | 817 | ||||
| @@ -883,8 +819,6 @@ var xWindowSetChild func(uintptr, uintptr) | |||||
| 883 | 819 | ||||
| 884 | // Sets the child widget of the window. | 820 | // Sets the child widget of the window. | ||
| 885 | func (x *Window) SetChild(ChildVar *Widget) { | 821 | func (x *Window) SetChild(ChildVar *Widget) { | ||
| 886 | - | core.LazyRegister(&xWindowSetChild, "GTK", "gtk_window_set_child", false) | |||
| 887 | - | ||||
| 888 | xWindowSetChild(x.GoPointer(), ChildVar.GoPointer()) | 822 | xWindowSetChild(x.GoPointer(), ChildVar.GoPointer()) | ||
| 889 | } | 823 | } | ||
| 890 | 824 | ||||
| @@ -904,8 +838,6 @@ var xWindowSetDecorated func(uintptr, bool) | |||||
| 904 | // On Windows, this function always works, since there’s no window manager | 838 | // On Windows, this function always works, since there’s no window manager | ||
| 905 | // policy involved. | 839 | // policy involved. | ||
| 906 | func (x *Window) SetDecorated(SettingVar bool) { | 840 | func (x *Window) SetDecorated(SettingVar bool) { | ||
| 907 | - | core.LazyRegister(&xWindowSetDecorated, "GTK", "gtk_window_set_decorated", false) | |||
| 908 | - | ||||
| 909 | xWindowSetDecorated(x.GoPointer(), SettingVar) | 841 | xWindowSetDecorated(x.GoPointer(), SettingVar) | ||
| 910 | } | 842 | } | ||
| 911 | 843 | ||||
| @@ -942,8 +874,6 @@ var xWindowSetDefaultSize func(uintptr, int, int) | |||||
| 942 | // directly will not work in all circumstances and can lead to growing | 874 | // directly will not work in all circumstances and can lead to growing | ||
| 943 | // or shrinking windows. | 875 | // or shrinking windows. | ||
| 944 | func (x *Window) SetDefaultSize(WidthVar int, HeightVar int) { | 876 | func (x *Window) SetDefaultSize(WidthVar int, HeightVar int) { | ||
| 945 | - | core.LazyRegister(&xWindowSetDefaultSize, "GTK", "gtk_window_set_default_size", false) | |||
| 946 | - | ||||
| 947 | xWindowSetDefaultSize(x.GoPointer(), WidthVar, HeightVar) | 877 | xWindowSetDefaultSize(x.GoPointer(), WidthVar, HeightVar) | ||
| 948 | } | 878 | } | ||
| 949 | 879 | ||||
| @@ -955,8 +885,6 @@ var xWindowSetDefaultWidget func(uintptr, uintptr) | |||||
| 955 | // when the user presses <kbd>Enter</kbd> in a dialog | 885 | // when the user presses <kbd>Enter</kbd> in a dialog | ||
| 956 | // (for example). | 886 | // (for example). | ||
| 957 | func (x *Window) SetDefaultWidget(DefaultWidgetVar *Widget) { | 887 | func (x *Window) SetDefaultWidget(DefaultWidgetVar *Widget) { | ||
| 958 | - | core.LazyRegister(&xWindowSetDefaultWidget, "GTK", "gtk_window_set_default_widget", false) | |||
| 959 | - | ||||
| 960 | xWindowSetDefaultWidget(x.GoPointer(), DefaultWidgetVar.GoPointer()) | 888 | xWindowSetDefaultWidget(x.GoPointer(), DefaultWidgetVar.GoPointer()) | ||
| 961 | } | 889 | } | ||
| 962 | 890 | ||||
| @@ -975,8 +903,6 @@ var xWindowSetDeletable func(uintptr, bool) | |||||
| 975 | // On Windows, this function always works, since there’s no window | 903 | // On Windows, this function always works, since there’s no window | ||
| 976 | // manager policy involved. | 904 | // manager policy involved. | ||
| 977 | func (x *Window) SetDeletable(SettingVar bool) { | 905 | func (x *Window) SetDeletable(SettingVar bool) { | ||
| 978 | - | core.LazyRegister(&xWindowSetDeletable, "GTK", "gtk_window_set_deletable", false) | |||
| 979 | - | ||||
| 980 | xWindowSetDeletable(x.GoPointer(), SettingVar) | 906 | xWindowSetDeletable(x.GoPointer(), SettingVar) | ||
| 981 | } | 907 | } | ||
| 982 | 908 | ||||
| @@ -987,8 +913,6 @@ var xWindowSetDestroyWithParent func(uintptr, bool) | |||||
| 987 | // This is useful for dialogs that shouldn’t persist beyond the lifetime | 913 | // This is useful for dialogs that shouldn’t persist beyond the lifetime | ||
| 988 | // of the main window they are associated with, for example. | 914 | // of the main window they are associated with, for example. | ||
| 989 | func (x *Window) SetDestroyWithParent(SettingVar bool) { | 915 | func (x *Window) SetDestroyWithParent(SettingVar bool) { | ||
| 990 | - | core.LazyRegister(&xWindowSetDestroyWithParent, "GTK", "gtk_window_set_destroy_with_parent", false) | |||
| 991 | - | ||||
| 992 | xWindowSetDestroyWithParent(x.GoPointer(), SettingVar) | 916 | xWindowSetDestroyWithParent(x.GoPointer(), SettingVar) | ||
| 993 | } | 917 | } | ||
| 994 | 918 | ||||
| @@ -999,8 +923,6 @@ var xWindowSetDisplay func(uintptr, uintptr) | |||||
| 999 | // If the window is already mapped, it will be unmapped, | 923 | // If the window is already mapped, it will be unmapped, | ||
| 1000 | // and then remapped on the new display. | 924 | // and then remapped on the new display. | ||
| 1001 | func (x *Window) SetDisplay(DisplayVar *gdk.Display) { | 925 | func (x *Window) SetDisplay(DisplayVar *gdk.Display) { | ||
| 1002 | - | core.LazyRegister(&xWindowSetDisplay, "GTK", "gtk_window_set_display", false) | |||
| 1003 | - | ||||
| 1004 | xWindowSetDisplay(x.GoPointer(), DisplayVar.GoPointer()) | 926 | xWindowSetDisplay(x.GoPointer(), DisplayVar.GoPointer()) | ||
| 1005 | } | 927 | } | ||
| 1006 | 928 | ||||
| @@ -1014,8 +936,6 @@ var xWindowSetFocus func(uintptr, uintptr) | |||||
| 1014 | // particular widget in the toplevel, it is usually more convenient | 936 | // particular widget in the toplevel, it is usually more convenient | ||
| 1015 | // to use [method@Gtk.Widget.grab_focus] instead of this function. | 937 | // to use [method@Gtk.Widget.grab_focus] instead of this function. | ||
| 1016 | func (x *Window) SetFocus(FocusVar *Widget) { | 938 | func (x *Window) SetFocus(FocusVar *Widget) { | ||
| 1017 | - | core.LazyRegister(&xWindowSetFocus, "GTK", "gtk_window_set_focus", false) | |||
| 1018 | - | ||||
| 1019 | xWindowSetFocus(x.GoPointer(), FocusVar.GoPointer()) | 939 | xWindowSetFocus(x.GoPointer(), FocusVar.GoPointer()) | ||
| 1020 | } | 940 | } | ||
| 1021 | 941 | ||||
| @@ -1026,8 +946,6 @@ var xWindowSetFocusVisible func(uintptr, bool) | |||||
| 1026 | // This property is maintained by GTK based on user input, | 946 | // This property is maintained by GTK based on user input, | ||
| 1027 | // and should not be set by applications. | 947 | // and should not be set by applications. | ||
| 1028 | func (x *Window) SetFocusVisible(SettingVar bool) { | 948 | func (x *Window) SetFocusVisible(SettingVar bool) { | ||
| 1029 | - | core.LazyRegister(&xWindowSetFocusVisible, "GTK", "gtk_window_set_focus_visible", false) | |||
| 1030 | - | ||||
| 1031 | xWindowSetFocusVisible(x.GoPointer(), SettingVar) | 949 | xWindowSetFocusVisible(x.GoPointer(), SettingVar) | ||
| 1032 | } | 950 | } | ||
| 1033 | 951 | ||||
| @@ -1035,8 +953,6 @@ var xWindowSetGravity func(uintptr, WindowGravity) | |||||
| 1035 | 953 | ||||
| 1036 | // Sets the gravity that is used when changing the window size programmatically. | 954 | // Sets the gravity that is used when changing the window size programmatically. | ||
| 1037 | func (x *Window) SetGravity(GravityVar WindowGravity) { | 955 | func (x *Window) SetGravity(GravityVar WindowGravity) { | ||
| 1038 | - | core.LazyRegister(&xWindowSetGravity, "GTK", "gtk_window_set_gravity", false) | |||
| 1039 | - | ||||
| 1040 | xWindowSetGravity(x.GoPointer(), GravityVar) | 956 | xWindowSetGravity(x.GoPointer(), GravityVar) | ||
| 1041 | } | 957 | } | ||
| 1042 | 958 | ||||
| @@ -1045,8 +961,6 @@ var xWindowSetHandleMenubarAccel func(uintptr, bool) | |||||
| 1045 | // Sets whether this window should react to <kbd>F10</kbd> | 961 | // Sets whether this window should react to <kbd>F10</kbd> | ||
| 1046 | // presses by activating a menubar it contains. | 962 | // presses by activating a menubar it contains. | ||
| 1047 | func (x *Window) SetHandleMenubarAccel(HandleMenubarAccelVar bool) { | 963 | func (x *Window) SetHandleMenubarAccel(HandleMenubarAccelVar bool) { | ||
| 1048 | - | core.LazyRegister(&xWindowSetHandleMenubarAccel, "GTK", "gtk_window_set_handle_menubar_accel", false) | |||
| 1049 | - | ||||
| 1050 | xWindowSetHandleMenubarAccel(x.GoPointer(), HandleMenubarAccelVar) | 964 | xWindowSetHandleMenubarAccel(x.GoPointer(), HandleMenubarAccelVar) | ||
| 1051 | } | 965 | } | ||
| 1052 | 966 | ||||
| @@ -1055,8 +969,6 @@ var xWindowSetHideOnClose func(uintptr, bool) | |||||
| 1055 | // Sets whether clicking the close button will hide the window instead | 969 | // Sets whether clicking the close button will hide the window instead | ||
| 1056 | // of destroying it. | 970 | // of destroying it. | ||
| 1057 | func (x *Window) SetHideOnClose(SettingVar bool) { | 971 | func (x *Window) SetHideOnClose(SettingVar bool) { | ||
| 1058 | - | core.LazyRegister(&xWindowSetHideOnClose, "GTK", "gtk_window_set_hide_on_close", false) | |||
| 1059 | - | ||||
| 1060 | xWindowSetHideOnClose(x.GoPointer(), SettingVar) | 972 | xWindowSetHideOnClose(x.GoPointer(), SettingVar) | ||
| 1061 | } | 973 | } | ||
| 1062 | 974 | ||||
| @@ -1070,8 +982,6 @@ var xWindowSetIconName func(uintptr, uintptr) | |||||
| 1070 | // Note that this has nothing to do with the WM_ICON_NAME | 982 | // Note that this has nothing to do with the WM_ICON_NAME | ||
| 1071 | // property which is mentioned in the ICCCM. | 983 | // property which is mentioned in the ICCCM. | ||
| 1072 | func (x *Window) SetIconName(NameVar *string) { | 984 | func (x *Window) SetIconName(NameVar *string) { | ||
| 1073 | - | core.LazyRegister(&xWindowSetIconName, "GTK", "gtk_window_set_icon_name", false) | |||
| 1074 | - | ||||
| 1075 | NameVarPtr := core.GStrdupNullable(NameVar) | 985 | NameVarPtr := core.GStrdupNullable(NameVar) | ||
| 1076 | defer core.GFreeNullable(NameVarPtr) | 986 | defer core.GFreeNullable(NameVarPtr) | ||
| 1077 | 987 | ||||
| @@ -1085,8 +995,6 @@ var xWindowSetMnemonicsVisible func(uintptr, bool) | |||||
| 1085 | // This property is maintained by GTK based on user input, | 995 | // This property is maintained by GTK based on user input, | ||
| 1086 | // and should not be set by applications. | 996 | // and should not be set by applications. | ||
| 1087 | func (x *Window) SetMnemonicsVisible(SettingVar bool) { | 997 | func (x *Window) SetMnemonicsVisible(SettingVar bool) { | ||
| 1088 | - | core.LazyRegister(&xWindowSetMnemonicsVisible, "GTK", "gtk_window_set_mnemonics_visible", false) | |||
| 1089 | - | ||||
| 1090 | xWindowSetMnemonicsVisible(x.GoPointer(), SettingVar) | 998 | xWindowSetMnemonicsVisible(x.GoPointer(), SettingVar) | ||
| 1091 | } | 999 | } | ||
| 1092 | 1000 | ||||
| @@ -1100,8 +1008,6 @@ var xWindowSetModal func(uintptr, bool) | |||||
| 1100 | // for the parent; most window managers will then disallow lowering the | 1008 | // for the parent; most window managers will then disallow lowering the | ||
| 1101 | // dialog below the parent. | 1009 | // dialog below the parent. | ||
| 1102 | func (x *Window) SetModal(ModalVar bool) { | 1010 | func (x *Window) SetModal(ModalVar bool) { | ||
| 1103 | - | core.LazyRegister(&xWindowSetModal, "GTK", "gtk_window_set_modal", false) | |||
| 1104 | - | ||||
| 1105 | xWindowSetModal(x.GoPointer(), ModalVar) | 1011 | xWindowSetModal(x.GoPointer(), ModalVar) | ||
| 1106 | } | 1012 | } | ||
| 1107 | 1013 | ||||
| @@ -1111,8 +1017,6 @@ var xWindowSetResizable func(uintptr, bool) | |||||
| 1111 | // | 1017 | // | ||
| 1112 | // Windows are user resizable by default. | 1018 | // Windows are user resizable by default. | ||
| 1113 | func (x *Window) SetResizable(ResizableVar bool) { | 1019 | func (x *Window) SetResizable(ResizableVar bool) { | ||
| 1114 | - | core.LazyRegister(&xWindowSetResizable, "GTK", "gtk_window_set_resizable", false) | |||
| 1115 | - | ||||
| 1116 | xWindowSetResizable(x.GoPointer(), ResizableVar) | 1020 | xWindowSetResizable(x.GoPointer(), ResizableVar) | ||
| 1117 | } | 1021 | } | ||
| 1118 | 1022 | ||||
| @@ -1134,8 +1038,6 @@ var xWindowSetStartupId func(uintptr, string) | |||||
| 1134 | // This function is only useful on Wayland or X11, not with other GDK | 1038 | // This function is only useful on Wayland or X11, not with other GDK | ||
| 1135 | // backends. | 1039 | // backends. | ||
| 1136 | func (x *Window) SetStartupId(StartupIdVar string) { | 1040 | func (x *Window) SetStartupId(StartupIdVar string) { | ||
| 1137 | - | core.LazyRegister(&xWindowSetStartupId, "GTK", "gtk_window_set_startup_id", false) | |||
| 1138 | - | ||||
| 1139 | xWindowSetStartupId(x.GoPointer(), StartupIdVar) | 1041 | xWindowSetStartupId(x.GoPointer(), StartupIdVar) | ||
| 1140 | } | 1042 | } | ||
| 1141 | 1043 | ||||
| @@ -1152,8 +1054,6 @@ var xWindowSetTitle func(uintptr, uintptr) | |||||
| 1152 | // | 1054 | // | ||
| 1153 | // Passing `NULL` does the same as setting the title to an empty string. | 1055 | // Passing `NULL` does the same as setting the title to an empty string. | ||
| 1154 | func (x *Window) SetTitle(TitleVar *string) { | 1056 | func (x *Window) SetTitle(TitleVar *string) { | ||
| 1155 | - | core.LazyRegister(&xWindowSetTitle, "GTK", "gtk_window_set_title", false) | |||
| 1156 | - | ||||
| 1157 | TitleVarPtr := core.GStrdupNullable(TitleVar) | 1057 | TitleVarPtr := core.GStrdupNullable(TitleVar) | ||
| 1158 | defer core.GFreeNullable(TitleVarPtr) | 1058 | defer core.GFreeNullable(TitleVarPtr) | ||
| 1159 | 1059 | ||||
| @@ -1174,8 +1074,6 @@ var xWindowSetTitlebar func(uintptr, uintptr) | |||||
| 1174 | // that is already visible, so you set the titlebar before calling | 1074 | // that is already visible, so you set the titlebar before calling | ||
| 1175 | // [method@Gtk.Widget.show]. | 1075 | // [method@Gtk.Widget.show]. | ||
| 1176 | func (x *Window) SetTitlebar(TitlebarVar *Widget) { | 1076 | func (x *Window) SetTitlebar(TitlebarVar *Widget) { | ||
| 1177 | - | core.LazyRegister(&xWindowSetTitlebar, "GTK", "gtk_window_set_titlebar", false) | |||
| 1178 | - | ||||
| 1179 | xWindowSetTitlebar(x.GoPointer(), TitlebarVar.GoPointer()) | 1077 | xWindowSetTitlebar(x.GoPointer(), TitlebarVar.GoPointer()) | ||
| 1180 | } | 1078 | } | ||
| 1181 | 1079 | ||||
| @@ -1195,8 +1093,6 @@ var xWindowSetTransientFor func(uintptr, uintptr) | |||||
| 1195 | // On Windows, this function puts the child window on top of the parent, | 1093 | // On Windows, this function puts the child window on top of the parent, | ||
| 1196 | // much as the window manager would have done on X. | 1094 | // much as the window manager would have done on X. | ||
| 1197 | func (x *Window) SetTransientFor(ParentVar *Window) { | 1095 | func (x *Window) SetTransientFor(ParentVar *Window) { | ||
| 1198 | - | core.LazyRegister(&xWindowSetTransientFor, "GTK", "gtk_window_set_transient_for", false) | |||
| 1199 | - | ||||
| 1200 | xWindowSetTransientFor(x.GoPointer(), ParentVar.GoPointer()) | 1096 | xWindowSetTransientFor(x.GoPointer(), ParentVar.GoPointer()) | ||
| 1201 | } | 1097 | } | ||
| 1202 | 1098 | ||||
| @@ -1219,8 +1115,6 @@ var xWindowUnfullscreen func(uintptr) | |||||
| 1219 | // [property@Gdk.Toplevel:state] property, or by listening to | 1115 | // [property@Gdk.Toplevel:state] property, or by listening to | ||
| 1220 | // notifications of the [property@Gtk.Window:fullscreened] property. | 1116 | // notifications of the [property@Gtk.Window:fullscreened] property. | ||
| 1221 | func (x *Window) Unfullscreen() { | 1117 | func (x *Window) Unfullscreen() { | ||
| 1222 | - | core.LazyRegister(&xWindowUnfullscreen, "GTK", "gtk_window_unfullscreen", false) | |||
| 1223 | - | ||||
| 1224 | xWindowUnfullscreen(x.GoPointer()) | 1118 | xWindowUnfullscreen(x.GoPointer()) | ||
| 1225 | } | 1119 | } | ||
| 1226 | 1120 | ||||
| @@ -1242,8 +1136,6 @@ var xWindowUnmaximize func(uintptr) | |||||
| 1242 | // [property@Gdk.Toplevel:state] property, or by listening to | 1136 | // [property@Gdk.Toplevel:state] property, or by listening to | ||
| 1243 | // notifications on the [property@Gtk.Window:maximized] property. | 1137 | // notifications on the [property@Gtk.Window:maximized] property. | ||
| 1244 | func (x *Window) Unmaximize() { | 1138 | func (x *Window) Unmaximize() { | ||
| 1245 | - | core.LazyRegister(&xWindowUnmaximize, "GTK", "gtk_window_unmaximize", false) | |||
| 1246 | - | ||||
| 1247 | xWindowUnmaximize(x.GoPointer()) | 1139 | xWindowUnmaximize(x.GoPointer()) | ||
| 1248 | } | 1140 | } | ||
| 1249 | 1141 | ||||
| @@ -1260,8 +1152,6 @@ var xWindowUnminimize func(uintptr) | |||||
| 1260 | // You can track result of this operation via the | 1152 | // You can track result of this operation via the | ||
| 1261 | // [property@Gdk.Toplevel:state] property. | 1153 | // [property@Gdk.Toplevel:state] property. | ||
| 1262 | func (x *Window) Unminimize() { | 1154 | func (x *Window) Unminimize() { | ||
| 1263 | - | core.LazyRegister(&xWindowUnminimize, "GTK", "gtk_window_unminimize", false) | |||
| 1264 | - | ||||
| 1265 | xWindowUnminimize(x.GoPointer()) | 1155 | xWindowUnminimize(x.GoPointer()) | ||
| 1266 | } | 1156 | } | ||
| 1267 | 1157 | ||||
| @@ -2076,8 +1966,6 @@ var xWindowGetDefaultIconName func() string | |||||
| 2076 | // be modified. It is only valid until the next call to | 1966 | // be modified. It is only valid until the next call to | ||
| 2077 | // [func@Gtk.Window.set_default_icon_name]. | 1967 | // [func@Gtk.Window.set_default_icon_name]. | ||
| 2078 | func WindowGetDefaultIconName() string { | 1968 | func WindowGetDefaultIconName() string { | ||
| 2079 | - | core.LazyRegister(&xWindowGetDefaultIconName, "GTK", "gtk_window_get_default_icon_name", false) | |||
| 2080 | - | ||||
| 2081 | cret := xWindowGetDefaultIconName() | 1969 | cret := xWindowGetDefaultIconName() | ||
| 2082 | return cret | 1970 | return cret | ||
| 2083 | } | 1971 | } | ||
| @@ -2090,7 +1978,6 @@ var xWindowGetToplevels func() uintptr | |||||
| 2090 | // callbacks that might destroy the widgets or add new ones, be aware that | 1978 | // callbacks that might destroy the widgets or add new ones, be aware that | ||
| 2091 | // the list of toplevels will change and emit the "items-changed" signal. | 1979 | // the list of toplevels will change and emit the "items-changed" signal. | ||
| 2092 | func WindowGetToplevels() *gio.ListModelBase { | 1980 | func WindowGetToplevels() *gio.ListModelBase { | ||
| 2093 | - | core.LazyRegister(&xWindowGetToplevels, "GTK", "gtk_window_get_toplevels", false) | |||
| 2094 | var cls *gio.ListModelBase | 1981 | var cls *gio.ListModelBase | ||
| 2095 | 1982 | ||||
| 2096 | cret := xWindowGetToplevels() | 1983 | cret := xWindowGetToplevels() | ||
| @@ -2114,8 +2001,6 @@ var xWindowListToplevels func() uintptr | |||||
| 2114 | // call `g_list_foreach (result, (GFunc)g_object_ref, NULL)` first, | 2001 | // call `g_list_foreach (result, (GFunc)g_object_ref, NULL)` first, | ||
| 2115 | // and then unref all the widgets afterwards. | 2002 | // and then unref all the widgets afterwards. | ||
| 2116 | func WindowListToplevels() *glib.List { | 2003 | func WindowListToplevels() *glib.List { | ||
| 2117 | - | core.LazyRegister(&xWindowListToplevels, "GTK", "gtk_window_list_toplevels", false) | |||
| 2118 | - | ||||
| 2119 | cret := xWindowListToplevels() | 2004 | cret := xWindowListToplevels() | ||
| 2120 | if cret == 0 { | 2005 | if cret == 0 { | ||
| 2121 | return nil | 2006 | return nil | ||
| @@ -2138,8 +2023,6 @@ var xWindowSetAutoStartupNotification func(bool) | |||||
| 2138 | // temporarily, show your splash screen, then re-enable it so that | 2023 | // temporarily, show your splash screen, then re-enable it so that | ||
| 2139 | // showing the main window would automatically result in notification. | 2024 | // showing the main window would automatically result in notification. | ||
| 2140 | func WindowSetAutoStartupNotification(SettingVar bool) { | 2025 | func WindowSetAutoStartupNotification(SettingVar bool) { | ||
| 2141 | - | core.LazyRegister(&xWindowSetAutoStartupNotification, "GTK", "gtk_window_set_auto_startup_notification", false) | |||
| 2142 | - | ||||
| 2143 | xWindowSetAutoStartupNotification(SettingVar) | 2026 | xWindowSetAutoStartupNotification(SettingVar) | ||
| 2144 | } | 2027 | } | ||
| 2145 | 2028 | ||||
| @@ -2151,8 +2034,6 @@ var xWindowSetDefaultIconName func(string) | |||||
| 2151 | // haven't had [method@Gtk.Window.set_icon_name] | 2034 | // haven't had [method@Gtk.Window.set_icon_name] | ||
| 2152 | // called on them. | 2035 | // called on them. | ||
| 2153 | func WindowSetDefaultIconName(NameVar string) { | 2036 | func WindowSetDefaultIconName(NameVar string) { | ||
| 2154 | - | core.LazyRegister(&xWindowSetDefaultIconName, "GTK", "gtk_window_set_default_icon_name", false) | |||
| 2155 | - | ||||
| 2156 | xWindowSetDefaultIconName(NameVar) | 2037 | xWindowSetDefaultIconName(NameVar) | ||
| 2157 | } | 2038 | } | ||
| 2158 | 2039 | ||||
| @@ -2171,12 +2052,89 @@ var xWindowSetInteractiveDebugging func(bool) | |||||
| 2171 | // If you are not overriding the default key shortcuts for the Inspector, | 2052 | // If you are not overriding the default key shortcuts for the Inspector, | ||
| 2172 | // you should not use this function. | 2053 | // you should not use this function. | ||
| 2173 | func WindowSetInteractiveDebugging(EnableVar bool) { | 2054 | func WindowSetInteractiveDebugging(EnableVar bool) { | ||
| 2174 | - | core.LazyRegister(&xWindowSetInteractiveDebugging, "GTK", "gtk_window_set_interactive_debugging", false) | |||
| 2175 | - | ||||
| 2176 | xWindowSetInteractiveDebugging(EnableVar) | 2055 | xWindowSetInteractiveDebugging(EnableVar) | ||
| 2177 | } | 2056 | } | ||
| 2178 | 2057 | ||||
| 2179 | func init() { | 2058 | func init() { | ||
| 2180 | core.SetPackageName("GTK", "gtk4") | 2059 | core.SetPackageName("GTK", "gtk4") | ||
| 2181 | core.SetSharedLibraries("GTK", []string{"libgtk-4.so.1", "libgtk-4.1.dylib"}) | 2060 | core.SetSharedLibraries("GTK", []string{"libgtk-4.so.1", "libgtk-4.1.dylib"}) | ||
| 2061 | + | var libs []uintptr | |||
| 2062 | + | for _, libPath := range core.GetPaths("GTK") { | |||
| 2063 | + | lib, err := purego.Dlopen(libPath, purego.RTLD_NOW|purego.RTLD_GLOBAL) | |||
| 2064 | + | if err != nil { | |||
| 2065 | + | panic(err) | |||
| 2066 | + | } | |||
| 2067 | + | libs = append(libs, lib) | |||
| 2068 | + | } | |||
| 2069 | + | ||||
| 2070 | + | core.PuregoSafeRegister(&xWindowGravityGLibType, libs, "gtk_window_gravity_get_type") | |||
| 2071 | + | ||||
| 2072 | + | core.PuregoSafeRegister(&xWindowGLibType, libs, "gtk_window_get_type") | |||
| 2073 | + | ||||
| 2074 | + | core.PuregoSafeRegister(&xNewWindow, libs, "gtk_window_new") | |||
| 2075 | + | ||||
| 2076 | + | core.PuregoSafeRegister(&xWindowClose, libs, "gtk_window_close") | |||
| 2077 | + | core.PuregoSafeRegister(&xWindowDestroy, libs, "gtk_window_destroy") | |||
| 2078 | + | core.PuregoSafeRegister(&xWindowFullscreen, libs, "gtk_window_fullscreen") | |||
| 2079 | + | core.PuregoSafeRegister(&xWindowFullscreenOnMonitor, libs, "gtk_window_fullscreen_on_monitor") | |||
| 2080 | + | core.PuregoSafeRegister(&xWindowGetApplication, libs, "gtk_window_get_application") | |||
| 2081 | + | core.PuregoSafeRegister(&xWindowGetChild, libs, "gtk_window_get_child") | |||
| 2082 | + | core.PuregoSafeRegister(&xWindowGetDecorated, libs, "gtk_window_get_decorated") | |||
| 2083 | + | core.PuregoSafeRegister(&xWindowGetDefaultSize, libs, "gtk_window_get_default_size") | |||
| 2084 | + | core.PuregoSafeRegister(&xWindowGetDefaultWidget, libs, "gtk_window_get_default_widget") | |||
| 2085 | + | core.PuregoSafeRegister(&xWindowGetDeletable, libs, "gtk_window_get_deletable") | |||
| 2086 | + | core.PuregoSafeRegister(&xWindowGetDestroyWithParent, libs, "gtk_window_get_destroy_with_parent") | |||
| 2087 | + | core.PuregoSafeRegister(&xWindowGetFocus, libs, "gtk_window_get_focus") | |||
| 2088 | + | core.PuregoSafeRegister(&xWindowGetFocusVisible, libs, "gtk_window_get_focus_visible") | |||
| 2089 | + | core.PuregoSafeRegister(&xWindowGetGravity, libs, "gtk_window_get_gravity") | |||
| 2090 | + | core.PuregoSafeRegister(&xWindowGetGroup, libs, "gtk_window_get_group") | |||
| 2091 | + | core.PuregoSafeRegister(&xWindowGetHandleMenubarAccel, libs, "gtk_window_get_handle_menubar_accel") | |||
| 2092 | + | core.PuregoSafeRegister(&xWindowGetHideOnClose, libs, "gtk_window_get_hide_on_close") | |||
| 2093 | + | core.PuregoSafeRegister(&xWindowGetIconName, libs, "gtk_window_get_icon_name") | |||
| 2094 | + | core.PuregoSafeRegister(&xWindowGetMnemonicsVisible, libs, "gtk_window_get_mnemonics_visible") | |||
| 2095 | + | core.PuregoSafeRegister(&xWindowGetModal, libs, "gtk_window_get_modal") | |||
| 2096 | + | core.PuregoSafeRegister(&xWindowGetResizable, libs, "gtk_window_get_resizable") | |||
| 2097 | + | core.PuregoSafeRegister(&xWindowGetTitle, libs, "gtk_window_get_title") | |||
| 2098 | + | core.PuregoSafeRegister(&xWindowGetTitlebar, libs, "gtk_window_get_titlebar") | |||
| 2099 | + | core.PuregoSafeRegister(&xWindowGetTransientFor, libs, "gtk_window_get_transient_for") | |||
| 2100 | + | core.PuregoSafeRegister(&xWindowHasGroup, libs, "gtk_window_has_group") | |||
| 2101 | + | core.PuregoSafeRegister(&xWindowIsActive, libs, "gtk_window_is_active") | |||
| 2102 | + | core.PuregoSafeRegister(&xWindowIsFullscreen, libs, "gtk_window_is_fullscreen") | |||
| 2103 | + | core.PuregoSafeRegister(&xWindowIsMaximized, libs, "gtk_window_is_maximized") | |||
| 2104 | + | core.PuregoSafeRegister(&xWindowIsSuspended, libs, "gtk_window_is_suspended") | |||
| 2105 | + | core.PuregoSafeRegister(&xWindowMaximize, libs, "gtk_window_maximize") | |||
| 2106 | + | core.PuregoSafeRegister(&xWindowMinimize, libs, "gtk_window_minimize") | |||
| 2107 | + | core.PuregoSafeRegister(&xWindowPresent, libs, "gtk_window_present") | |||
| 2108 | + | core.PuregoSafeRegister(&xWindowPresentWithTime, libs, "gtk_window_present_with_time") | |||
| 2109 | + | core.PuregoSafeRegister(&xWindowSetApplication, libs, "gtk_window_set_application") | |||
| 2110 | + | core.PuregoSafeRegister(&xWindowSetChild, libs, "gtk_window_set_child") | |||
| 2111 | + | core.PuregoSafeRegister(&xWindowSetDecorated, libs, "gtk_window_set_decorated") | |||
| 2112 | + | core.PuregoSafeRegister(&xWindowSetDefaultSize, libs, "gtk_window_set_default_size") | |||
| 2113 | + | core.PuregoSafeRegister(&xWindowSetDefaultWidget, libs, "gtk_window_set_default_widget") | |||
| 2114 | + | core.PuregoSafeRegister(&xWindowSetDeletable, libs, "gtk_window_set_deletable") | |||
| 2115 | + | core.PuregoSafeRegister(&xWindowSetDestroyWithParent, libs, "gtk_window_set_destroy_with_parent") | |||
| 2116 | + | core.PuregoSafeRegister(&xWindowSetDisplay, libs, "gtk_window_set_display") | |||
| 2117 | + | core.PuregoSafeRegister(&xWindowSetFocus, libs, "gtk_window_set_focus") | |||
| 2118 | + | core.PuregoSafeRegister(&xWindowSetFocusVisible, libs, "gtk_window_set_focus_visible") | |||
| 2119 | + | core.PuregoSafeRegister(&xWindowSetGravity, libs, "gtk_window_set_gravity") | |||
| 2120 | + | core.PuregoSafeRegister(&xWindowSetHandleMenubarAccel, libs, "gtk_window_set_handle_menubar_accel") | |||
| 2121 | + | core.PuregoSafeRegister(&xWindowSetHideOnClose, libs, "gtk_window_set_hide_on_close") | |||
| 2122 | + | core.PuregoSafeRegister(&xWindowSetIconName, libs, "gtk_window_set_icon_name") | |||
| 2123 | + | core.PuregoSafeRegister(&xWindowSetMnemonicsVisible, libs, "gtk_window_set_mnemonics_visible") | |||
| 2124 | + | core.PuregoSafeRegister(&xWindowSetModal, libs, "gtk_window_set_modal") | |||
| 2125 | + | core.PuregoSafeRegister(&xWindowSetResizable, libs, "gtk_window_set_resizable") | |||
| 2126 | + | core.PuregoSafeRegister(&xWindowSetStartupId, libs, "gtk_window_set_startup_id") | |||
| 2127 | + | core.PuregoSafeRegister(&xWindowSetTitle, libs, "gtk_window_set_title") | |||
| 2128 | + | core.PuregoSafeRegister(&xWindowSetTitlebar, libs, "gtk_window_set_titlebar") | |||
| 2129 | + | core.PuregoSafeRegister(&xWindowSetTransientFor, libs, "gtk_window_set_transient_for") | |||
| 2130 | + | core.PuregoSafeRegister(&xWindowUnfullscreen, libs, "gtk_window_unfullscreen") | |||
| 2131 | + | core.PuregoSafeRegister(&xWindowUnmaximize, libs, "gtk_window_unmaximize") | |||
| 2132 | + | core.PuregoSafeRegister(&xWindowUnminimize, libs, "gtk_window_unminimize") | |||
| 2133 | + | ||||
| 2134 | + | core.PuregoSafeRegister(&xWindowGetDefaultIconName, libs, "gtk_window_get_default_icon_name") | |||
| 2135 | + | core.PuregoSafeRegister(&xWindowGetToplevels, libs, "gtk_window_get_toplevels") | |||
| 2136 | + | core.PuregoSafeRegister(&xWindowListToplevels, libs, "gtk_window_list_toplevels") | |||
| 2137 | + | core.PuregoSafeRegister(&xWindowSetAutoStartupNotification, libs, "gtk_window_set_auto_startup_notification") | |||
| 2138 | + | core.PuregoSafeRegister(&xWindowSetDefaultIconName, libs, "gtk_window_set_default_icon_name") | |||
| 2139 | + | core.PuregoSafeRegister(&xWindowSetInteractiveDebugging, libs, "gtk_window_set_interactive_debugging") | |||
| 2182 | } | 2140 | } | ||