fix(deps): repin puregotk lazy registration fix
- commit
- d685b6e820d6baba0d0dea254169664012ed203d
- author
- brice · · 2026-07-14 18:24 UTC
- parent
- ec6db2e
- signature
- GPG Verified
CD88F9E564E0102646FB6077A1A07C7C7C3E349D· arch-gpg Verified for the committer email
907 files · +27874 -25294
M go.mod +3 -1
| @@ -11,7 +11,7 @@ require ( | |||
| 11 | 11 | github.com/bnema/purego-pipewire v0.1.5-0.20260714124450-6504b9cdf02a | |
| 12 | 12 | github.com/bnema/purego-sqlite v0.1.4-0.20260714131321-3614fe683b9c | |
| 13 | 13 | github.com/bnema/purego-webp v0.2.1-0.20260714152238-7bc9c402fdf6 | |
| 14 | - | github.com/bnema/puregotk v0.7.0 | |
| 14 | + | github.com/bnema/puregotk v0.7.1-0.20260714181430-679a9ed72959 | |
| 15 | 15 | github.com/charmbracelet/bubbles v1.0.0 | |
| 16 | 16 | github.com/charmbracelet/bubbletea v1.3.10 | |
| 17 | 17 | github.com/charmbracelet/lipgloss v1.1.0 | |
| @@ -47,6 +47,7 @@ require ( | |||
| 47 | 47 | github.com/erikgeiser/coninput v0.0.0-20211004153227-1c3628e74d0f // indirect | |
| 48 | 48 | github.com/fatih/color v1.19.0 // indirect | |
| 49 | 49 | github.com/go-viper/mapstructure/v2 v2.5.0 // indirect | |
| 50 | + | github.com/google/go-cmp v0.7.0 // indirect | |
| 50 | 51 | github.com/inconshreveable/mousetrap v1.1.0 // indirect | |
| 51 | 52 | github.com/lucasb-eyer/go-colorful v1.4.0 // indirect | |
| 52 | 53 | github.com/mattn/go-colorable v0.1.14 // indirect | |
| @@ -80,6 +81,7 @@ require ( | |||
| 80 | 81 | golang.org/x/text v0.40.0 // indirect | |
| 81 | 82 | golang.org/x/tools v0.47.0 // indirect | |
| 82 | 83 | gopkg.in/check.v1 v1.0.0-20201130134442-10cb98267c6c // indirect | |
| 84 | + | mvdan.cc/gofumpt v0.9.2 // indirect | |
| 83 | 85 | ) | |
| 84 | 86 | ||
| 85 | 87 | tool github.com/a-h/templ/cmd/templ | |
| @@ -11,7 +11,7 @@ require ( | |||||
| 11 | github.com/bnema/purego-pipewire v0.1.5-0.20260714124450-6504b9cdf02a | 11 | github.com/bnema/purego-pipewire v0.1.5-0.20260714124450-6504b9cdf02a | ||
| 12 | github.com/bnema/purego-sqlite v0.1.4-0.20260714131321-3614fe683b9c | 12 | github.com/bnema/purego-sqlite v0.1.4-0.20260714131321-3614fe683b9c | ||
| 13 | github.com/bnema/purego-webp v0.2.1-0.20260714152238-7bc9c402fdf6 | 13 | github.com/bnema/purego-webp v0.2.1-0.20260714152238-7bc9c402fdf6 | ||
| 14 | - | github.com/bnema/puregotk v0.7.0 | 14 | + | github.com/bnema/puregotk v0.7.1-0.20260714181430-679a9ed72959 |
| 15 | github.com/charmbracelet/bubbles v1.0.0 | 15 | github.com/charmbracelet/bubbles v1.0.0 | ||
| 16 | github.com/charmbracelet/bubbletea v1.3.10 | 16 | github.com/charmbracelet/bubbletea v1.3.10 | ||
| 17 | github.com/charmbracelet/lipgloss v1.1.0 | 17 | github.com/charmbracelet/lipgloss v1.1.0 | ||
| @@ -47,6 +47,7 @@ require ( | |||||
| 47 | github.com/erikgeiser/coninput v0.0.0-20211004153227-1c3628e74d0f // indirect | 47 | github.com/erikgeiser/coninput v0.0.0-20211004153227-1c3628e74d0f // indirect | ||
| 48 | github.com/fatih/color v1.19.0 // indirect | 48 | github.com/fatih/color v1.19.0 // indirect | ||
| 49 | github.com/go-viper/mapstructure/v2 v2.5.0 // indirect | 49 | github.com/go-viper/mapstructure/v2 v2.5.0 // indirect | ||
| 50 | + | github.com/google/go-cmp v0.7.0 // indirect | |||
| 50 | github.com/inconshreveable/mousetrap v1.1.0 // indirect | 51 | github.com/inconshreveable/mousetrap v1.1.0 // indirect | ||
| 51 | github.com/lucasb-eyer/go-colorful v1.4.0 // indirect | 52 | github.com/lucasb-eyer/go-colorful v1.4.0 // indirect | ||
| 52 | github.com/mattn/go-colorable v0.1.14 // indirect | 53 | github.com/mattn/go-colorable v0.1.14 // indirect | ||
| @@ -80,6 +81,7 @@ require ( | |||||
| 80 | golang.org/x/text v0.40.0 // indirect | 81 | golang.org/x/text v0.40.0 // indirect | ||
| 81 | golang.org/x/tools v0.47.0 // indirect | 82 | golang.org/x/tools v0.47.0 // indirect | ||
| 82 | gopkg.in/check.v1 v1.0.0-20201130134442-10cb98267c6c // indirect | 83 | gopkg.in/check.v1 v1.0.0-20201130134442-10cb98267c6c // indirect | ||
| 84 | + | mvdan.cc/gofumpt v0.9.2 // indirect | |||
| 83 | ) | 85 | ) | ||
| 84 | 86 | ||||
| 85 | tool github.com/a-h/templ/cmd/templ | 87 | tool github.com/a-h/templ/cmd/templ | ||
M go.sum +4 -16 generated file: collapsed
M vendor/github.com/bnema/puregotk/internal/core/core.go +197 -4 generated file: collapsed
M vendor/github.com/bnema/puregotk/pkg/core/core.go +10 -0 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/adw/adw-about-dialog.go +99 -64 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/adw/adw-about-window.go +95 -62 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/adw/adw-accent-color.go +7 -15 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/adw/adw-action-row.go +33 -29 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/adw/adw-alert-dialog.go +66 -47 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/adw/adw-animation-target.go +10 -27 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/adw/adw-animation-util.go +4 -12 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/adw/adw-animation.go +24 -26 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/adw/adw-application-window.go +14 -22 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/adw/adw-application.go +3 -15 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/adw/adw-avatar.go +22 -25 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/adw/adw-banner.go +23 -26 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/adw/adw-bin.go +5 -16 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/adw/adw-bottom-sheet.go +47 -38 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/adw/adw-breakpoint-bin.go +10 -19 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/adw/adw-breakpoint.go +33 -37 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/adw/adw-button-content.go +18 -22 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/adw/adw-button-row.go +10 -18 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/adw/adw-carousel-indicator-dots.go +5 -16 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/adw/adw-carousel-indicator-lines.go +5 -16 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/adw/adw-carousel.go +47 -37 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/adw/adw-clamp-layout.go +14 -20 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/adw/adw-clamp-scrollable.go +17 -22 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/adw/adw-clamp.go +17 -22 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/adw/adw-combo-row.go +34 -33 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/adw/adw-dialog.go +45 -38 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/adw/adw-easing.go +3 -13 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/adw/adw-entry-row.go +40 -33 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/adw/adw-enum-list-model.go +13 -22 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/adw/adw-expander-row.go +40 -33 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/adw/adw-flap.go +61 -48 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/adw/adw-fold-threshold-policy.go +10 -1 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/adw/adw-header-bar.go +36 -33 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/adw/adw-inline-view-switcher.go +18 -24 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/adw/adw-layout-slot.go +4 -15 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/adw/adw-layout.go +7 -17 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/adw/adw-leaflet.go +69 -56 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/adw/adw-length-unit.go +5 -14 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/adw/adw-main.go +5 -15 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/adw/adw-message-dialog.go +63 -44 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/adw/adw-multi-layout-view.go +17 -23 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/adw/adw-navigation-direction.go +10 -1 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/adw/adw-navigation-split-view.go +36 -32 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/adw/adw-navigation-view.go +60 -49 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/adw/adw-overlay-split-view.go +48 -38 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/adw/adw-password-entry-row.go +2 -13 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/adw/adw-preferences-dialog.go +23 -25 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/adw/adw-preferences-group.go +24 -26 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/adw/adw-preferences-page.go +38 -33 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/adw/adw-preferences-row.go +18 -22 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/adw/adw-preferences-window.go +31 -29 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/adw/adw-shortcut-label.go +10 -18 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/adw/adw-shortcuts-dialog.go +4 -15 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/adw/adw-shortcuts-item.go +23 -25 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/adw/adw-shortcuts-section.go +8 -17 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/adw/adw-sidebar-item.go +45 -37 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/adw/adw-sidebar-section.go +24 -27 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/adw/adw-sidebar.go +41 -39 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/adw/adw-spin-row.go +40 -34 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/adw/adw-spinner-paintable.go +5 -16 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/adw/adw-spinner.go +2 -13 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/adw/adw-split-button.go +39 -34 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/adw/adw-spring-animation.go +34 -30 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/adw/adw-spring-params.go +17 -21 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/adw/adw-squeezer.go +49 -44 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/adw/adw-status-page.go +20 -24 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/adw/adw-style-manager.go +25 -28 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/adw/adw-swipe-tracker.go +33 -30 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/adw/adw-swipeable.go +33 -21 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/adw/adw-switch-row.go +6 -16 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/adw/adw-tab-bar.go +35 -32 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/adw/adw-tab-button.go +5 -16 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/adw/adw-tab-overview.go +45 -37 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/adw/adw-tab-view.go +123 -87 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/adw/adw-timed-animation.go +30 -28 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/adw/adw-toast-overlay.go +9 -18 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/adw/adw-toast.go +41 -36 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/adw/adw-toggle-group.go +64 -51 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/adw/adw-toolbar-view.go +40 -35 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/adw/adw-version.go +7 -16 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/adw/adw-view-stack.go +78 -62 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/adw/adw-view-switcher-bar.go +9 -18 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/adw/adw-view-switcher-sidebar.go +15 -22 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/adw/adw-view-switcher-title.go +19 -23 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/adw/adw-view-switcher.go +10 -20 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/adw/adw-window-title.go +10 -18 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/adw/adw-window.go +14 -22 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/adw/adw-wrap-box.go +66 -46 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/adw/adw-wrap-layout.go +57 -46
| @@ -5,7 +5,6 @@ import ( | |||
| 5 | 5 | "structs" | |
| 6 | 6 | "unsafe" | |
| 7 | 7 | ||
| 8 | - | "github.com/bnema/purego" | |
| 9 | 8 | "github.com/bnema/puregotk/pkg/core" | |
| 10 | 9 | "github.com/bnema/puregotk/v4/gobject" | |
| 11 | 10 | "github.com/bnema/puregotk/v4/gobject/types" | |
| @@ -38,6 +37,7 @@ type JustifyMode int | |||
| 38 | 37 | var xJustifyModeGLibType func() types.GType | |
| 39 | 38 | ||
| 40 | 39 | func JustifyModeGLibType() types.GType { | |
| 40 | + | core.LazyRegister(&xJustifyModeGLibType, "ADW", "adw_justify_mode_get_type", false) | |
| 41 | 41 | return xJustifyModeGLibType() | |
| 42 | 42 | } | |
| 43 | 43 | ||
| @@ -64,6 +64,7 @@ type PackDirection int | |||
| 64 | 64 | var xPackDirectionGLibType func() types.GType | |
| 65 | 65 | ||
| 66 | 66 | func PackDirectionGLibType() types.GType { | |
| 67 | + | core.LazyRegister(&xPackDirectionGLibType, "ADW", "adw_pack_direction_get_type", false) | |
| 67 | 68 | return xPackDirectionGLibType() | |
| 68 | 69 | } | |
| 69 | 70 | ||
| @@ -85,6 +86,7 @@ type WrapPolicy int | |||
| 85 | 86 | var xWrapPolicyGLibType func() types.GType | |
| 86 | 87 | ||
| 87 | 88 | func WrapPolicyGLibType() types.GType { | |
| 89 | + | core.LazyRegister(&xWrapPolicyGLibType, "ADW", "adw_wrap_policy_get_type", false) | |
| 88 | 90 | return xWrapPolicyGLibType() | |
| 89 | 91 | } | |
| 90 | 92 | ||
| @@ -158,6 +160,7 @@ type WrapLayout struct { | |||
| 158 | 160 | var xWrapLayoutGLibType func() types.GType | |
| 159 | 161 | ||
| 160 | 162 | func WrapLayoutGLibType() types.GType { | |
| 163 | + | core.LazyRegister(&xWrapLayoutGLibType, "ADW", "adw_wrap_layout_get_type", false) | |
| 161 | 164 | return xWrapLayoutGLibType() | |
| 162 | 165 | } | |
| 163 | 166 | ||
| @@ -171,6 +174,7 @@ var xNewWrapLayout func() uintptr | |||
| 171 | 174 | ||
| 172 | 175 | // Creates a new `AdwWrapLayout`. | |
| 173 | 176 | func NewWrapLayout() *WrapLayout { | |
| 177 | + | core.LazyRegister(&xNewWrapLayout, "ADW", "adw_wrap_layout_new", false) | |
| 174 | 178 | var cls *WrapLayout | |
| 175 | 179 | ||
| 176 | 180 | cret := xNewWrapLayout() | |
| @@ -187,6 +191,8 @@ var xWrapLayoutGetAlign func(uintptr) float32 | |||
| 187 | 191 | ||
| 188 | 192 | // Gets the alignment of the children within each line. | |
| 189 | 193 | func (x *WrapLayout) GetAlign() float32 { | |
| 194 | + | core.LazyRegister(&xWrapLayoutGetAlign, "ADW", "adw_wrap_layout_get_align", false) | |
| 195 | + | ||
| 190 | 196 | cret := xWrapLayoutGetAlign(x.GoPointer()) | |
| 191 | 197 | return cret | |
| 192 | 198 | } | |
| @@ -195,6 +201,8 @@ var xWrapLayoutGetChildSpacing func(uintptr) int | |||
| 195 | 201 | ||
| 196 | 202 | // Gets spacing between widgets on the same line. | |
| 197 | 203 | func (x *WrapLayout) GetChildSpacing() int { | |
| 204 | + | core.LazyRegister(&xWrapLayoutGetChildSpacing, "ADW", "adw_wrap_layout_get_child_spacing", false) | |
| 205 | + | ||
| 198 | 206 | cret := xWrapLayoutGetChildSpacing(x.GoPointer()) | |
| 199 | 207 | return cret | |
| 200 | 208 | } | |
| @@ -203,6 +211,8 @@ var xWrapLayoutGetChildSpacingUnit func(uintptr) LengthUnit | |||
| 203 | 211 | ||
| 204 | 212 | // Gets the length unit for child spacing. | |
| 205 | 213 | func (x *WrapLayout) GetChildSpacingUnit() LengthUnit { | |
| 214 | + | core.LazyRegister(&xWrapLayoutGetChildSpacingUnit, "ADW", "adw_wrap_layout_get_child_spacing_unit", false) | |
| 215 | + | ||
| 206 | 216 | cret := xWrapLayoutGetChildSpacingUnit(x.GoPointer()) | |
| 207 | 217 | return cret | |
| 208 | 218 | } | |
| @@ -211,6 +221,8 @@ var xWrapLayoutGetJustify func(uintptr) JustifyMode | |||
| 211 | 221 | ||
| 212 | 222 | // Gets whether and how each complete line is stretched to fill the entire widget. | |
| 213 | 223 | func (x *WrapLayout) GetJustify() JustifyMode { | |
| 224 | + | core.LazyRegister(&xWrapLayoutGetJustify, "ADW", "adw_wrap_layout_get_justify", false) | |
| 225 | + | ||
| 214 | 226 | cret := xWrapLayoutGetJustify(x.GoPointer()) | |
| 215 | 227 | return cret | |
| 216 | 228 | } | |
| @@ -219,6 +231,8 @@ var xWrapLayoutGetJustifyLastLine func(uintptr) bool | |||
| 219 | 231 | ||
| 220 | 232 | // Gets whether the last line should be stretched to fill the entire widget. | |
| 221 | 233 | func (x *WrapLayout) GetJustifyLastLine() bool { | |
| 234 | + | core.LazyRegister(&xWrapLayoutGetJustifyLastLine, "ADW", "adw_wrap_layout_get_justify_last_line", false) | |
| 235 | + | ||
| 222 | 236 | cret := xWrapLayoutGetJustifyLastLine(x.GoPointer()) | |
| 223 | 237 | return cret | |
| 224 | 238 | } | |
| @@ -227,6 +241,8 @@ var xWrapLayoutGetLineHomogeneous func(uintptr) bool | |||
| 227 | 241 | ||
| 228 | 242 | // Gets whether all lines should take the same amount of space. | |
| 229 | 243 | func (x *WrapLayout) GetLineHomogeneous() bool { | |
| 244 | + | core.LazyRegister(&xWrapLayoutGetLineHomogeneous, "ADW", "adw_wrap_layout_get_line_homogeneous", false) | |
| 245 | + | ||
| 230 | 246 | cret := xWrapLayoutGetLineHomogeneous(x.GoPointer()) | |
| 231 | 247 | return cret | |
| 232 | 248 | } | |
| @@ -235,6 +251,8 @@ var xWrapLayoutGetLineSpacing func(uintptr) int | |||
| 235 | 251 | ||
| 236 | 252 | // Gets the spacing between lines. | |
| 237 | 253 | func (x *WrapLayout) GetLineSpacing() int { | |
| 254 | + | core.LazyRegister(&xWrapLayoutGetLineSpacing, "ADW", "adw_wrap_layout_get_line_spacing", false) | |
| 255 | + | ||
| 238 | 256 | cret := xWrapLayoutGetLineSpacing(x.GoPointer()) | |
| 239 | 257 | return cret | |
| 240 | 258 | } | |
| @@ -243,6 +261,8 @@ var xWrapLayoutGetLineSpacingUnit func(uintptr) LengthUnit | |||
| 243 | 261 | ||
| 244 | 262 | // Gets the length unit for line spacing. | |
| 245 | 263 | func (x *WrapLayout) GetLineSpacingUnit() LengthUnit { | |
| 264 | + | core.LazyRegister(&xWrapLayoutGetLineSpacingUnit, "ADW", "adw_wrap_layout_get_line_spacing_unit", false) | |
| 265 | + | ||
| 246 | 266 | cret := xWrapLayoutGetLineSpacingUnit(x.GoPointer()) | |
| 247 | 267 | return cret | |
| 248 | 268 | } | |
| @@ -251,6 +271,8 @@ var xWrapLayoutGetNaturalLineLength func(uintptr) int | |||
| 251 | 271 | ||
| 252 | 272 | // Gets the natural size for each line. | |
| 253 | 273 | func (x *WrapLayout) GetNaturalLineLength() int { | |
| 274 | + | core.LazyRegister(&xWrapLayoutGetNaturalLineLength, "ADW", "adw_wrap_layout_get_natural_line_length", false) | |
| 275 | + | ||
| 254 | 276 | cret := xWrapLayoutGetNaturalLineLength(x.GoPointer()) | |
| 255 | 277 | return cret | |
| 256 | 278 | } | |
| @@ -259,6 +281,8 @@ var xWrapLayoutGetNaturalLineLengthUnit func(uintptr) LengthUnit | |||
| 259 | 281 | ||
| 260 | 282 | // Gets the length unit for line spacing. | |
| 261 | 283 | func (x *WrapLayout) GetNaturalLineLengthUnit() LengthUnit { | |
| 284 | + | core.LazyRegister(&xWrapLayoutGetNaturalLineLengthUnit, "ADW", "adw_wrap_layout_get_natural_line_length_unit", false) | |
| 285 | + | ||
| 262 | 286 | cret := xWrapLayoutGetNaturalLineLengthUnit(x.GoPointer()) | |
| 263 | 287 | return cret | |
| 264 | 288 | } | |
| @@ -267,6 +291,8 @@ var xWrapLayoutGetPackDirection func(uintptr) PackDirection | |||
| 267 | 291 | ||
| 268 | 292 | // Gets the direction children are packed in each line. | |
| 269 | 293 | func (x *WrapLayout) GetPackDirection() PackDirection { | |
| 294 | + | core.LazyRegister(&xWrapLayoutGetPackDirection, "ADW", "adw_wrap_layout_get_pack_direction", false) | |
| 295 | + | ||
| 270 | 296 | cret := xWrapLayoutGetPackDirection(x.GoPointer()) | |
| 271 | 297 | return cret | |
| 272 | 298 | } | |
| @@ -275,6 +301,8 @@ var xWrapLayoutGetWrapPolicy func(uintptr) WrapPolicy | |||
| 275 | 301 | ||
| 276 | 302 | // Gets the policy for line wrapping. | |
| 277 | 303 | func (x *WrapLayout) GetWrapPolicy() WrapPolicy { | |
| 304 | + | core.LazyRegister(&xWrapLayoutGetWrapPolicy, "ADW", "adw_wrap_layout_get_wrap_policy", false) | |
| 305 | + | ||
| 278 | 306 | cret := xWrapLayoutGetWrapPolicy(x.GoPointer()) | |
| 279 | 307 | return cret | |
| 280 | 308 | } | |
| @@ -283,6 +311,8 @@ var xWrapLayoutGetWrapReverse func(uintptr) bool | |||
| 283 | 311 | ||
| 284 | 312 | // Gets whether wrap direction is reversed. | |
| 285 | 313 | func (x *WrapLayout) GetWrapReverse() bool { | |
| 314 | + | core.LazyRegister(&xWrapLayoutGetWrapReverse, "ADW", "adw_wrap_layout_get_wrap_reverse", false) | |
| 315 | + | ||
| 286 | 316 | cret := xWrapLayoutGetWrapReverse(x.GoPointer()) | |
| 287 | 317 | return cret | |
| 288 | 318 | } | |
| @@ -299,6 +329,8 @@ var xWrapLayoutSetAlign func(uintptr, float32) | |||
| 299 | 329 | // [enum@Adw.JustifyMode.none], or on the last line when the | |
| 300 | 330 | // [property@WrapLayout:justify-last-line] is `FALSE`. | |
| 301 | 331 | func (x *WrapLayout) SetAlign(AlignVar float32) { | |
| 332 | + | core.LazyRegister(&xWrapLayoutSetAlign, "ADW", "adw_wrap_layout_set_align", false) | |
| 333 | + | ||
| 302 | 334 | xWrapLayoutSetAlign(x.GoPointer(), AlignVar) | |
| 303 | 335 | } | |
| 304 | 336 | ||
| @@ -308,6 +340,8 @@ var xWrapLayoutSetChildSpacing func(uintptr, int) | |||
| 308 | 340 | // | |
| 309 | 341 | // See [property@WrapLayout:child-spacing-unit]. | |
| 310 | 342 | func (x *WrapLayout) SetChildSpacing(ChildSpacingVar int) { | |
| 343 | + | core.LazyRegister(&xWrapLayoutSetChildSpacing, "ADW", "adw_wrap_layout_set_child_spacing", false) | |
| 344 | + | ||
| 311 | 345 | xWrapLayoutSetChildSpacing(x.GoPointer(), ChildSpacingVar) | |
| 312 | 346 | } | |
| 313 | 347 | ||
| @@ -319,6 +353,8 @@ var xWrapLayoutSetChildSpacingUnit func(uintptr, LengthUnit) | |||
| 319 | 353 | // | |
| 320 | 354 | // See [property@WrapLayout:child-spacing]. | |
| 321 | 355 | func (x *WrapLayout) SetChildSpacingUnit(UnitVar LengthUnit) { | |
| 356 | + | core.LazyRegister(&xWrapLayoutSetChildSpacingUnit, "ADW", "adw_wrap_layout_set_child_spacing_unit", false) | |
| 357 | + | ||
| 322 | 358 | xWrapLayoutSetChildSpacingUnit(x.GoPointer(), UnitVar) | |
| 323 | 359 | } | |
| 324 | 360 | ||
| @@ -343,6 +379,8 @@ var xWrapLayoutSetJustify func(uintptr, JustifyMode) | |||
| 343 | 379 | // By default this doesn't affect the last line, as it will be incomplete. Use | |
| 344 | 380 | // [property@WrapLayout:justify-last-line] to justify it as well. | |
| 345 | 381 | func (x *WrapLayout) SetJustify(JustifyVar JustifyMode) { | |
| 382 | + | core.LazyRegister(&xWrapLayoutSetJustify, "ADW", "adw_wrap_layout_set_justify", false) | |
| 383 | + | ||
| 346 | 384 | xWrapLayoutSetJustify(x.GoPointer(), JustifyVar) | |
| 347 | 385 | } | |
| 348 | 386 | ||
| @@ -352,6 +390,8 @@ var xWrapLayoutSetJustifyLastLine func(uintptr, bool) | |||
| 352 | 390 | // | |
| 353 | 391 | // See [property@WrapLayout:justify]. | |
| 354 | 392 | func (x *WrapLayout) SetJustifyLastLine(JustifyLastLineVar bool) { | |
| 393 | + | core.LazyRegister(&xWrapLayoutSetJustifyLastLine, "ADW", "adw_wrap_layout_set_justify_last_line", false) | |
| 394 | + | ||
| 355 | 395 | xWrapLayoutSetJustifyLastLine(x.GoPointer(), JustifyLastLineVar) | |
| 356 | 396 | } | |
| 357 | 397 | ||
| @@ -359,6 +399,8 @@ var xWrapLayoutSetLineHomogeneous func(uintptr, bool) | |||
| 359 | 399 | ||
| 360 | 400 | // Sets whether all lines should take the same amount of space. | |
| 361 | 401 | func (x *WrapLayout) SetLineHomogeneous(HomogeneousVar bool) { | |
| 402 | + | core.LazyRegister(&xWrapLayoutSetLineHomogeneous, "ADW", "adw_wrap_layout_set_line_homogeneous", false) | |
| 403 | + | ||
| 362 | 404 | xWrapLayoutSetLineHomogeneous(x.GoPointer(), HomogeneousVar) | |
| 363 | 405 | } | |
| 364 | 406 | ||
| @@ -368,6 +410,8 @@ var xWrapLayoutSetLineSpacing func(uintptr, int) | |||
| 368 | 410 | // | |
| 369 | 411 | // See [property@WrapLayout:line-spacing-unit]. | |
| 370 | 412 | func (x *WrapLayout) SetLineSpacing(LineSpacingVar int) { | |
| 413 | + | core.LazyRegister(&xWrapLayoutSetLineSpacing, "ADW", "adw_wrap_layout_set_line_spacing", false) | |
| 414 | + | ||
| 371 | 415 | xWrapLayoutSetLineSpacing(x.GoPointer(), LineSpacingVar) | |
| 372 | 416 | } | |
| 373 | 417 | ||
| @@ -379,6 +423,8 @@ var xWrapLayoutSetLineSpacingUnit func(uintptr, LengthUnit) | |||
| 379 | 423 | // | |
| 380 | 424 | // See [property@WrapLayout:line-spacing]. | |
| 381 | 425 | func (x *WrapLayout) SetLineSpacingUnit(UnitVar LengthUnit) { | |
| 426 | + | core.LazyRegister(&xWrapLayoutSetLineSpacingUnit, "ADW", "adw_wrap_layout_set_line_spacing_unit", false) | |
| 427 | + | ||
| 382 | 428 | xWrapLayoutSetLineSpacingUnit(x.GoPointer(), UnitVar) | |
| 383 | 429 | } | |
| 384 | 430 | ||
| @@ -391,6 +437,8 @@ var xWrapLayoutSetNaturalLineLength func(uintptr, int) | |||
| 391 | 437 | // | |
| 392 | 438 | // See [property@WrapLayout:natural-line-length-unit]. | |
| 393 | 439 | func (x *WrapLayout) SetNaturalLineLength(NaturalLineLengthVar int) { | |
| 440 | + | core.LazyRegister(&xWrapLayoutSetNaturalLineLength, "ADW", "adw_wrap_layout_set_natural_line_length", false) | |
| 441 | + | ||
| 394 | 442 | xWrapLayoutSetNaturalLineLength(x.GoPointer(), NaturalLineLengthVar) | |
| 395 | 443 | } | |
| 396 | 444 | ||
| @@ -402,6 +450,8 @@ var xWrapLayoutSetNaturalLineLengthUnit func(uintptr, LengthUnit) | |||
| 402 | 450 | // | |
| 403 | 451 | // See [property@WrapLayout:natural-line-length]. | |
| 404 | 452 | func (x *WrapLayout) SetNaturalLineLengthUnit(UnitVar LengthUnit) { | |
| 453 | + | core.LazyRegister(&xWrapLayoutSetNaturalLineLengthUnit, "ADW", "adw_wrap_layout_set_natural_line_length_unit", false) | |
| 454 | + | ||
| 405 | 455 | xWrapLayoutSetNaturalLineLengthUnit(x.GoPointer(), UnitVar) | |
| 406 | 456 | } | |
| 407 | 457 | ||
| @@ -409,6 +459,8 @@ var xWrapLayoutSetPackDirection func(uintptr, PackDirection) | |||
| 409 | 459 | ||
| 410 | 460 | // Sets the direction children are packed in each line. | |
| 411 | 461 | func (x *WrapLayout) SetPackDirection(PackDirectionVar PackDirection) { | |
| 462 | + | core.LazyRegister(&xWrapLayoutSetPackDirection, "ADW", "adw_wrap_layout_set_pack_direction", false) | |
| 463 | + | ||
| 412 | 464 | xWrapLayoutSetPackDirection(x.GoPointer(), PackDirectionVar) | |
| 413 | 465 | } | |
| 414 | 466 | ||
| @@ -424,6 +476,8 @@ var xWrapLayoutSetWrapPolicy func(uintptr, WrapPolicy) | |||
| 424 | 476 | // children into each line as possible, shrinking them down to their minimum | |
| 425 | 477 | // size before wrapping to the next line. | |
| 426 | 478 | func (x *WrapLayout) SetWrapPolicy(WrapPolicyVar WrapPolicy) { | |
| 479 | + | core.LazyRegister(&xWrapLayoutSetWrapPolicy, "ADW", "adw_wrap_layout_set_wrap_policy", false) | |
| 480 | + | ||
| 427 | 481 | xWrapLayoutSetWrapPolicy(x.GoPointer(), WrapPolicyVar) | |
| 428 | 482 | } | |
| 429 | 483 | ||
| @@ -435,6 +489,8 @@ var xWrapLayoutSetWrapReverse func(uintptr, bool) | |||
| 435 | 489 | // in a vertical box. If set to `TRUE`, they wrap upwards or towards the start | |
| 436 | 490 | // respectively. | |
| 437 | 491 | func (x *WrapLayout) SetWrapReverse(WrapReverseVar bool) { | |
| 492 | + | core.LazyRegister(&xWrapLayoutSetWrapReverse, "ADW", "adw_wrap_layout_set_wrap_reverse", false) | |
| 493 | + | ||
| 438 | 494 | xWrapLayoutSetWrapReverse(x.GoPointer(), WrapReverseVar) | |
| 439 | 495 | } | |
| 440 | 496 | ||
| @@ -628,49 +684,4 @@ func (x *WrapLayout) SetOrientation(OrientationVar gtk.Orientation) { | |||
| 628 | 684 | func init() { | |
| 629 | 685 | core.SetPackageName("ADW", "libadwaita-1") | |
| 630 | 686 | core.SetSharedLibraries("ADW", []string{"libadwaita-1.so.0", "libadwaita-1.0.dylib"}) | |
| 631 | - | var libs []uintptr | |
| 632 | - | for _, libPath := range core.GetPaths("ADW") { | |
| 633 | - | lib, err := purego.Dlopen(libPath, purego.RTLD_NOW|purego.RTLD_GLOBAL) | |
| 634 | - | if err != nil { | |
| 635 | - | panic(err) | |
| 636 | - | } | |
| 637 | - | libs = append(libs, lib) | |
| 638 | - | } | |
| 639 | - | ||
| 640 | - | core.PuregoSafeRegister(&xJustifyModeGLibType, libs, "adw_justify_mode_get_type") | |
| 641 | - | ||
| 642 | - | core.PuregoSafeRegister(&xPackDirectionGLibType, libs, "adw_pack_direction_get_type") | |
| 643 | - | ||
| 644 | - | core.PuregoSafeRegister(&xWrapPolicyGLibType, libs, "adw_wrap_policy_get_type") | |
| 645 | - | ||
| 646 | - | core.PuregoSafeRegister(&xWrapLayoutGLibType, libs, "adw_wrap_layout_get_type") | |
| 647 | - | ||
| 648 | - | core.PuregoSafeRegister(&xNewWrapLayout, libs, "adw_wrap_layout_new") | |
| 649 | - | ||
| 650 | - | core.PuregoSafeRegister(&xWrapLayoutGetAlign, libs, "adw_wrap_layout_get_align") | |
| 651 | - | core.PuregoSafeRegister(&xWrapLayoutGetChildSpacing, libs, "adw_wrap_layout_get_child_spacing") | |
| 652 | - | core.PuregoSafeRegister(&xWrapLayoutGetChildSpacingUnit, libs, "adw_wrap_layout_get_child_spacing_unit") | |
| 653 | - | core.PuregoSafeRegister(&xWrapLayoutGetJustify, libs, "adw_wrap_layout_get_justify") | |
| 654 | - | core.PuregoSafeRegister(&xWrapLayoutGetJustifyLastLine, libs, "adw_wrap_layout_get_justify_last_line") | |
| 655 | - | core.PuregoSafeRegister(&xWrapLayoutGetLineHomogeneous, libs, "adw_wrap_layout_get_line_homogeneous") | |
| 656 | - | core.PuregoSafeRegister(&xWrapLayoutGetLineSpacing, libs, "adw_wrap_layout_get_line_spacing") | |
| 657 | - | core.PuregoSafeRegister(&xWrapLayoutGetLineSpacingUnit, libs, "adw_wrap_layout_get_line_spacing_unit") | |
| 658 | - | core.PuregoSafeRegister(&xWrapLayoutGetNaturalLineLength, libs, "adw_wrap_layout_get_natural_line_length") | |
| 659 | - | core.PuregoSafeRegister(&xWrapLayoutGetNaturalLineLengthUnit, libs, "adw_wrap_layout_get_natural_line_length_unit") | |
| 660 | - | core.PuregoSafeRegister(&xWrapLayoutGetPackDirection, libs, "adw_wrap_layout_get_pack_direction") | |
| 661 | - | core.PuregoSafeRegister(&xWrapLayoutGetWrapPolicy, libs, "adw_wrap_layout_get_wrap_policy") | |
| 662 | - | core.PuregoSafeRegister(&xWrapLayoutGetWrapReverse, libs, "adw_wrap_layout_get_wrap_reverse") | |
| 663 | - | core.PuregoSafeRegister(&xWrapLayoutSetAlign, libs, "adw_wrap_layout_set_align") | |
| 664 | - | core.PuregoSafeRegister(&xWrapLayoutSetChildSpacing, libs, "adw_wrap_layout_set_child_spacing") | |
| 665 | - | core.PuregoSafeRegister(&xWrapLayoutSetChildSpacingUnit, libs, "adw_wrap_layout_set_child_spacing_unit") | |
| 666 | - | core.PuregoSafeRegister(&xWrapLayoutSetJustify, libs, "adw_wrap_layout_set_justify") | |
| 667 | - | core.PuregoSafeRegister(&xWrapLayoutSetJustifyLastLine, libs, "adw_wrap_layout_set_justify_last_line") | |
| 668 | - | core.PuregoSafeRegister(&xWrapLayoutSetLineHomogeneous, libs, "adw_wrap_layout_set_line_homogeneous") | |
| 669 | - | core.PuregoSafeRegister(&xWrapLayoutSetLineSpacing, libs, "adw_wrap_layout_set_line_spacing") | |
| 670 | - | core.PuregoSafeRegister(&xWrapLayoutSetLineSpacingUnit, libs, "adw_wrap_layout_set_line_spacing_unit") | |
| 671 | - | core.PuregoSafeRegister(&xWrapLayoutSetNaturalLineLength, libs, "adw_wrap_layout_set_natural_line_length") | |
| 672 | - | core.PuregoSafeRegister(&xWrapLayoutSetNaturalLineLengthUnit, libs, "adw_wrap_layout_set_natural_line_length_unit") | |
| 673 | - | core.PuregoSafeRegister(&xWrapLayoutSetPackDirection, libs, "adw_wrap_layout_set_pack_direction") | |
| 674 | - | core.PuregoSafeRegister(&xWrapLayoutSetWrapPolicy, libs, "adw_wrap_layout_set_wrap_policy") | |
| 675 | - | core.PuregoSafeRegister(&xWrapLayoutSetWrapReverse, libs, "adw_wrap_layout_set_wrap_reverse") | |
| 676 | 687 | } | |
| @@ -5,7 +5,6 @@ import ( | |||||
| 5 | "structs" | 5 | "structs" | ||
| 6 | "unsafe" | 6 | "unsafe" | ||
| 7 | 7 | ||||
| 8 | - | "github.com/bnema/purego" | |||
| 9 | "github.com/bnema/puregotk/pkg/core" | 8 | "github.com/bnema/puregotk/pkg/core" | ||
| 10 | "github.com/bnema/puregotk/v4/gobject" | 9 | "github.com/bnema/puregotk/v4/gobject" | ||
| 11 | "github.com/bnema/puregotk/v4/gobject/types" | 10 | "github.com/bnema/puregotk/v4/gobject/types" | ||
| @@ -38,6 +37,7 @@ type JustifyMode int | |||||
| 38 | var xJustifyModeGLibType func() types.GType | 37 | var xJustifyModeGLibType func() types.GType | ||
| 39 | 38 | ||||
| 40 | func JustifyModeGLibType() types.GType { | 39 | func JustifyModeGLibType() types.GType { | ||
| 40 | + | core.LazyRegister(&xJustifyModeGLibType, "ADW", "adw_justify_mode_get_type", false) | |||
| 41 | return xJustifyModeGLibType() | 41 | return xJustifyModeGLibType() | ||
| 42 | } | 42 | } | ||
| 43 | 43 | ||||
| @@ -64,6 +64,7 @@ type PackDirection int | |||||
| 64 | var xPackDirectionGLibType func() types.GType | 64 | var xPackDirectionGLibType func() types.GType | ||
| 65 | 65 | ||||
| 66 | func PackDirectionGLibType() types.GType { | 66 | func PackDirectionGLibType() types.GType { | ||
| 67 | + | core.LazyRegister(&xPackDirectionGLibType, "ADW", "adw_pack_direction_get_type", false) | |||
| 67 | return xPackDirectionGLibType() | 68 | return xPackDirectionGLibType() | ||
| 68 | } | 69 | } | ||
| 69 | 70 | ||||
| @@ -85,6 +86,7 @@ type WrapPolicy int | |||||
| 85 | var xWrapPolicyGLibType func() types.GType | 86 | var xWrapPolicyGLibType func() types.GType | ||
| 86 | 87 | ||||
| 87 | func WrapPolicyGLibType() types.GType { | 88 | func WrapPolicyGLibType() types.GType { | ||
| 89 | + | core.LazyRegister(&xWrapPolicyGLibType, "ADW", "adw_wrap_policy_get_type", false) | |||
| 88 | return xWrapPolicyGLibType() | 90 | return xWrapPolicyGLibType() | ||
| 89 | } | 91 | } | ||
| 90 | 92 | ||||
| @@ -158,6 +160,7 @@ type WrapLayout struct { | |||||
| 158 | var xWrapLayoutGLibType func() types.GType | 160 | var xWrapLayoutGLibType func() types.GType | ||
| 159 | 161 | ||||
| 160 | func WrapLayoutGLibType() types.GType { | 162 | func WrapLayoutGLibType() types.GType { | ||
| 163 | + | core.LazyRegister(&xWrapLayoutGLibType, "ADW", "adw_wrap_layout_get_type", false) | |||
| 161 | return xWrapLayoutGLibType() | 164 | return xWrapLayoutGLibType() | ||
| 162 | } | 165 | } | ||
| 163 | 166 | ||||
| @@ -171,6 +174,7 @@ var xNewWrapLayout func() uintptr | |||||
| 171 | 174 | ||||
| 172 | // Creates a new `AdwWrapLayout`. | 175 | // Creates a new `AdwWrapLayout`. | ||
| 173 | func NewWrapLayout() *WrapLayout { | 176 | func NewWrapLayout() *WrapLayout { | ||
| 177 | + | core.LazyRegister(&xNewWrapLayout, "ADW", "adw_wrap_layout_new", false) | |||
| 174 | var cls *WrapLayout | 178 | var cls *WrapLayout | ||
| 175 | 179 | ||||
| 176 | cret := xNewWrapLayout() | 180 | cret := xNewWrapLayout() | ||
| @@ -187,6 +191,8 @@ var xWrapLayoutGetAlign func(uintptr) float32 | |||||
| 187 | 191 | ||||
| 188 | // Gets the alignment of the children within each line. | 192 | // Gets the alignment of the children within each line. | ||
| 189 | func (x *WrapLayout) GetAlign() float32 { | 193 | func (x *WrapLayout) GetAlign() float32 { | ||
| 194 | + | core.LazyRegister(&xWrapLayoutGetAlign, "ADW", "adw_wrap_layout_get_align", false) | |||
| 195 | + | ||||
| 190 | cret := xWrapLayoutGetAlign(x.GoPointer()) | 196 | cret := xWrapLayoutGetAlign(x.GoPointer()) | ||
| 191 | return cret | 197 | return cret | ||
| 192 | } | 198 | } | ||
| @@ -195,6 +201,8 @@ var xWrapLayoutGetChildSpacing func(uintptr) int | |||||
| 195 | 201 | ||||
| 196 | // Gets spacing between widgets on the same line. | 202 | // Gets spacing between widgets on the same line. | ||
| 197 | func (x *WrapLayout) GetChildSpacing() int { | 203 | func (x *WrapLayout) GetChildSpacing() int { | ||
| 204 | + | core.LazyRegister(&xWrapLayoutGetChildSpacing, "ADW", "adw_wrap_layout_get_child_spacing", false) | |||
| 205 | + | ||||
| 198 | cret := xWrapLayoutGetChildSpacing(x.GoPointer()) | 206 | cret := xWrapLayoutGetChildSpacing(x.GoPointer()) | ||
| 199 | return cret | 207 | return cret | ||
| 200 | } | 208 | } | ||
| @@ -203,6 +211,8 @@ var xWrapLayoutGetChildSpacingUnit func(uintptr) LengthUnit | |||||
| 203 | 211 | ||||
| 204 | // Gets the length unit for child spacing. | 212 | // Gets the length unit for child spacing. | ||
| 205 | func (x *WrapLayout) GetChildSpacingUnit() LengthUnit { | 213 | func (x *WrapLayout) GetChildSpacingUnit() LengthUnit { | ||
| 214 | + | core.LazyRegister(&xWrapLayoutGetChildSpacingUnit, "ADW", "adw_wrap_layout_get_child_spacing_unit", false) | |||
| 215 | + | ||||
| 206 | cret := xWrapLayoutGetChildSpacingUnit(x.GoPointer()) | 216 | cret := xWrapLayoutGetChildSpacingUnit(x.GoPointer()) | ||
| 207 | return cret | 217 | return cret | ||
| 208 | } | 218 | } | ||
| @@ -211,6 +221,8 @@ var xWrapLayoutGetJustify func(uintptr) JustifyMode | |||||
| 211 | 221 | ||||
| 212 | // Gets whether and how each complete line is stretched to fill the entire widget. | 222 | // Gets whether and how each complete line is stretched to fill the entire widget. | ||
| 213 | func (x *WrapLayout) GetJustify() JustifyMode { | 223 | func (x *WrapLayout) GetJustify() JustifyMode { | ||
| 224 | + | core.LazyRegister(&xWrapLayoutGetJustify, "ADW", "adw_wrap_layout_get_justify", false) | |||
| 225 | + | ||||
| 214 | cret := xWrapLayoutGetJustify(x.GoPointer()) | 226 | cret := xWrapLayoutGetJustify(x.GoPointer()) | ||
| 215 | return cret | 227 | return cret | ||
| 216 | } | 228 | } | ||
| @@ -219,6 +231,8 @@ var xWrapLayoutGetJustifyLastLine func(uintptr) bool | |||||
| 219 | 231 | ||||
| 220 | // Gets whether the last line should be stretched to fill the entire widget. | 232 | // Gets whether the last line should be stretched to fill the entire widget. | ||
| 221 | func (x *WrapLayout) GetJustifyLastLine() bool { | 233 | func (x *WrapLayout) GetJustifyLastLine() bool { | ||
| 234 | + | core.LazyRegister(&xWrapLayoutGetJustifyLastLine, "ADW", "adw_wrap_layout_get_justify_last_line", false) | |||
| 235 | + | ||||
| 222 | cret := xWrapLayoutGetJustifyLastLine(x.GoPointer()) | 236 | cret := xWrapLayoutGetJustifyLastLine(x.GoPointer()) | ||
| 223 | return cret | 237 | return cret | ||
| 224 | } | 238 | } | ||
| @@ -227,6 +241,8 @@ var xWrapLayoutGetLineHomogeneous func(uintptr) bool | |||||
| 227 | 241 | ||||
| 228 | // Gets whether all lines should take the same amount of space. | 242 | // Gets whether all lines should take the same amount of space. | ||
| 229 | func (x *WrapLayout) GetLineHomogeneous() bool { | 243 | func (x *WrapLayout) GetLineHomogeneous() bool { | ||
| 244 | + | core.LazyRegister(&xWrapLayoutGetLineHomogeneous, "ADW", "adw_wrap_layout_get_line_homogeneous", false) | |||
| 245 | + | ||||
| 230 | cret := xWrapLayoutGetLineHomogeneous(x.GoPointer()) | 246 | cret := xWrapLayoutGetLineHomogeneous(x.GoPointer()) | ||
| 231 | return cret | 247 | return cret | ||
| 232 | } | 248 | } | ||
| @@ -235,6 +251,8 @@ var xWrapLayoutGetLineSpacing func(uintptr) int | |||||
| 235 | 251 | ||||
| 236 | // Gets the spacing between lines. | 252 | // Gets the spacing between lines. | ||
| 237 | func (x *WrapLayout) GetLineSpacing() int { | 253 | func (x *WrapLayout) GetLineSpacing() int { | ||
| 254 | + | core.LazyRegister(&xWrapLayoutGetLineSpacing, "ADW", "adw_wrap_layout_get_line_spacing", false) | |||
| 255 | + | ||||
| 238 | cret := xWrapLayoutGetLineSpacing(x.GoPointer()) | 256 | cret := xWrapLayoutGetLineSpacing(x.GoPointer()) | ||
| 239 | return cret | 257 | return cret | ||
| 240 | } | 258 | } | ||
| @@ -243,6 +261,8 @@ var xWrapLayoutGetLineSpacingUnit func(uintptr) LengthUnit | |||||
| 243 | 261 | ||||
| 244 | // Gets the length unit for line spacing. | 262 | // Gets the length unit for line spacing. | ||
| 245 | func (x *WrapLayout) GetLineSpacingUnit() LengthUnit { | 263 | func (x *WrapLayout) GetLineSpacingUnit() LengthUnit { | ||
| 264 | + | core.LazyRegister(&xWrapLayoutGetLineSpacingUnit, "ADW", "adw_wrap_layout_get_line_spacing_unit", false) | |||
| 265 | + | ||||
| 246 | cret := xWrapLayoutGetLineSpacingUnit(x.GoPointer()) | 266 | cret := xWrapLayoutGetLineSpacingUnit(x.GoPointer()) | ||
| 247 | return cret | 267 | return cret | ||
| 248 | } | 268 | } | ||
| @@ -251,6 +271,8 @@ var xWrapLayoutGetNaturalLineLength func(uintptr) int | |||||
| 251 | 271 | ||||
| 252 | // Gets the natural size for each line. | 272 | // Gets the natural size for each line. | ||
| 253 | func (x *WrapLayout) GetNaturalLineLength() int { | 273 | func (x *WrapLayout) GetNaturalLineLength() int { | ||
| 274 | + | core.LazyRegister(&xWrapLayoutGetNaturalLineLength, "ADW", "adw_wrap_layout_get_natural_line_length", false) | |||
| 275 | + | ||||
| 254 | cret := xWrapLayoutGetNaturalLineLength(x.GoPointer()) | 276 | cret := xWrapLayoutGetNaturalLineLength(x.GoPointer()) | ||
| 255 | return cret | 277 | return cret | ||
| 256 | } | 278 | } | ||
| @@ -259,6 +281,8 @@ var xWrapLayoutGetNaturalLineLengthUnit func(uintptr) LengthUnit | |||||
| 259 | 281 | ||||
| 260 | // Gets the length unit for line spacing. | 282 | // Gets the length unit for line spacing. | ||
| 261 | func (x *WrapLayout) GetNaturalLineLengthUnit() LengthUnit { | 283 | func (x *WrapLayout) GetNaturalLineLengthUnit() LengthUnit { | ||
| 284 | + | core.LazyRegister(&xWrapLayoutGetNaturalLineLengthUnit, "ADW", "adw_wrap_layout_get_natural_line_length_unit", false) | |||
| 285 | + | ||||
| 262 | cret := xWrapLayoutGetNaturalLineLengthUnit(x.GoPointer()) | 286 | cret := xWrapLayoutGetNaturalLineLengthUnit(x.GoPointer()) | ||
| 263 | return cret | 287 | return cret | ||
| 264 | } | 288 | } | ||
| @@ -267,6 +291,8 @@ var xWrapLayoutGetPackDirection func(uintptr) PackDirection | |||||
| 267 | 291 | ||||
| 268 | // Gets the direction children are packed in each line. | 292 | // Gets the direction children are packed in each line. | ||
| 269 | func (x *WrapLayout) GetPackDirection() PackDirection { | 293 | func (x *WrapLayout) GetPackDirection() PackDirection { | ||
| 294 | + | core.LazyRegister(&xWrapLayoutGetPackDirection, "ADW", "adw_wrap_layout_get_pack_direction", false) | |||
| 295 | + | ||||
| 270 | cret := xWrapLayoutGetPackDirection(x.GoPointer()) | 296 | cret := xWrapLayoutGetPackDirection(x.GoPointer()) | ||
| 271 | return cret | 297 | return cret | ||
| 272 | } | 298 | } | ||
| @@ -275,6 +301,8 @@ var xWrapLayoutGetWrapPolicy func(uintptr) WrapPolicy | |||||
| 275 | 301 | ||||
| 276 | // Gets the policy for line wrapping. | 302 | // Gets the policy for line wrapping. | ||
| 277 | func (x *WrapLayout) GetWrapPolicy() WrapPolicy { | 303 | func (x *WrapLayout) GetWrapPolicy() WrapPolicy { | ||
| 304 | + | core.LazyRegister(&xWrapLayoutGetWrapPolicy, "ADW", "adw_wrap_layout_get_wrap_policy", false) | |||
| 305 | + | ||||
| 278 | cret := xWrapLayoutGetWrapPolicy(x.GoPointer()) | 306 | cret := xWrapLayoutGetWrapPolicy(x.GoPointer()) | ||
| 279 | return cret | 307 | return cret | ||
| 280 | } | 308 | } | ||
| @@ -283,6 +311,8 @@ var xWrapLayoutGetWrapReverse func(uintptr) bool | |||||
| 283 | 311 | ||||
| 284 | // Gets whether wrap direction is reversed. | 312 | // Gets whether wrap direction is reversed. | ||
| 285 | func (x *WrapLayout) GetWrapReverse() bool { | 313 | func (x *WrapLayout) GetWrapReverse() bool { | ||
| 314 | + | core.LazyRegister(&xWrapLayoutGetWrapReverse, "ADW", "adw_wrap_layout_get_wrap_reverse", false) | |||
| 315 | + | ||||
| 286 | cret := xWrapLayoutGetWrapReverse(x.GoPointer()) | 316 | cret := xWrapLayoutGetWrapReverse(x.GoPointer()) | ||
| 287 | return cret | 317 | return cret | ||
| 288 | } | 318 | } | ||
| @@ -299,6 +329,8 @@ var xWrapLayoutSetAlign func(uintptr, float32) | |||||
| 299 | // [enum@Adw.JustifyMode.none], or on the last line when the | 329 | // [enum@Adw.JustifyMode.none], or on the last line when the | ||
| 300 | // [property@WrapLayout:justify-last-line] is `FALSE`. | 330 | // [property@WrapLayout:justify-last-line] is `FALSE`. | ||
| 301 | func (x *WrapLayout) SetAlign(AlignVar float32) { | 331 | func (x *WrapLayout) SetAlign(AlignVar float32) { | ||
| 332 | + | core.LazyRegister(&xWrapLayoutSetAlign, "ADW", "adw_wrap_layout_set_align", false) | |||
| 333 | + | ||||
| 302 | xWrapLayoutSetAlign(x.GoPointer(), AlignVar) | 334 | xWrapLayoutSetAlign(x.GoPointer(), AlignVar) | ||
| 303 | } | 335 | } | ||
| 304 | 336 | ||||
| @@ -308,6 +340,8 @@ var xWrapLayoutSetChildSpacing func(uintptr, int) | |||||
| 308 | // | 340 | // | ||
| 309 | // See [property@WrapLayout:child-spacing-unit]. | 341 | // See [property@WrapLayout:child-spacing-unit]. | ||
| 310 | func (x *WrapLayout) SetChildSpacing(ChildSpacingVar int) { | 342 | func (x *WrapLayout) SetChildSpacing(ChildSpacingVar int) { | ||
| 343 | + | core.LazyRegister(&xWrapLayoutSetChildSpacing, "ADW", "adw_wrap_layout_set_child_spacing", false) | |||
| 344 | + | ||||
| 311 | xWrapLayoutSetChildSpacing(x.GoPointer(), ChildSpacingVar) | 345 | xWrapLayoutSetChildSpacing(x.GoPointer(), ChildSpacingVar) | ||
| 312 | } | 346 | } | ||
| 313 | 347 | ||||
| @@ -319,6 +353,8 @@ var xWrapLayoutSetChildSpacingUnit func(uintptr, LengthUnit) | |||||
| 319 | // | 353 | // | ||
| 320 | // See [property@WrapLayout:child-spacing]. | 354 | // See [property@WrapLayout:child-spacing]. | ||
| 321 | func (x *WrapLayout) SetChildSpacingUnit(UnitVar LengthUnit) { | 355 | func (x *WrapLayout) SetChildSpacingUnit(UnitVar LengthUnit) { | ||
| 356 | + | core.LazyRegister(&xWrapLayoutSetChildSpacingUnit, "ADW", "adw_wrap_layout_set_child_spacing_unit", false) | |||
| 357 | + | ||||
| 322 | xWrapLayoutSetChildSpacingUnit(x.GoPointer(), UnitVar) | 358 | xWrapLayoutSetChildSpacingUnit(x.GoPointer(), UnitVar) | ||
| 323 | } | 359 | } | ||
| 324 | 360 | ||||
| @@ -343,6 +379,8 @@ var xWrapLayoutSetJustify func(uintptr, JustifyMode) | |||||
| 343 | // By default this doesn't affect the last line, as it will be incomplete. Use | 379 | // By default this doesn't affect the last line, as it will be incomplete. Use | ||
| 344 | // [property@WrapLayout:justify-last-line] to justify it as well. | 380 | // [property@WrapLayout:justify-last-line] to justify it as well. | ||
| 345 | func (x *WrapLayout) SetJustify(JustifyVar JustifyMode) { | 381 | func (x *WrapLayout) SetJustify(JustifyVar JustifyMode) { | ||
| 382 | + | core.LazyRegister(&xWrapLayoutSetJustify, "ADW", "adw_wrap_layout_set_justify", false) | |||
| 383 | + | ||||
| 346 | xWrapLayoutSetJustify(x.GoPointer(), JustifyVar) | 384 | xWrapLayoutSetJustify(x.GoPointer(), JustifyVar) | ||
| 347 | } | 385 | } | ||
| 348 | 386 | ||||
| @@ -352,6 +390,8 @@ var xWrapLayoutSetJustifyLastLine func(uintptr, bool) | |||||
| 352 | // | 390 | // | ||
| 353 | // See [property@WrapLayout:justify]. | 391 | // See [property@WrapLayout:justify]. | ||
| 354 | func (x *WrapLayout) SetJustifyLastLine(JustifyLastLineVar bool) { | 392 | func (x *WrapLayout) SetJustifyLastLine(JustifyLastLineVar bool) { | ||
| 393 | + | core.LazyRegister(&xWrapLayoutSetJustifyLastLine, "ADW", "adw_wrap_layout_set_justify_last_line", false) | |||
| 394 | + | ||||
| 355 | xWrapLayoutSetJustifyLastLine(x.GoPointer(), JustifyLastLineVar) | 395 | xWrapLayoutSetJustifyLastLine(x.GoPointer(), JustifyLastLineVar) | ||
| 356 | } | 396 | } | ||
| 357 | 397 | ||||
| @@ -359,6 +399,8 @@ var xWrapLayoutSetLineHomogeneous func(uintptr, bool) | |||||
| 359 | 399 | ||||
| 360 | // Sets whether all lines should take the same amount of space. | 400 | // Sets whether all lines should take the same amount of space. | ||
| 361 | func (x *WrapLayout) SetLineHomogeneous(HomogeneousVar bool) { | 401 | func (x *WrapLayout) SetLineHomogeneous(HomogeneousVar bool) { | ||
| 402 | + | core.LazyRegister(&xWrapLayoutSetLineHomogeneous, "ADW", "adw_wrap_layout_set_line_homogeneous", false) | |||
| 403 | + | ||||
| 362 | xWrapLayoutSetLineHomogeneous(x.GoPointer(), HomogeneousVar) | 404 | xWrapLayoutSetLineHomogeneous(x.GoPointer(), HomogeneousVar) | ||
| 363 | } | 405 | } | ||
| 364 | 406 | ||||
| @@ -368,6 +410,8 @@ var xWrapLayoutSetLineSpacing func(uintptr, int) | |||||
| 368 | // | 410 | // | ||
| 369 | // See [property@WrapLayout:line-spacing-unit]. | 411 | // See [property@WrapLayout:line-spacing-unit]. | ||
| 370 | func (x *WrapLayout) SetLineSpacing(LineSpacingVar int) { | 412 | func (x *WrapLayout) SetLineSpacing(LineSpacingVar int) { | ||
| 413 | + | core.LazyRegister(&xWrapLayoutSetLineSpacing, "ADW", "adw_wrap_layout_set_line_spacing", false) | |||
| 414 | + | ||||
| 371 | xWrapLayoutSetLineSpacing(x.GoPointer(), LineSpacingVar) | 415 | xWrapLayoutSetLineSpacing(x.GoPointer(), LineSpacingVar) | ||
| 372 | } | 416 | } | ||
| 373 | 417 | ||||
| @@ -379,6 +423,8 @@ var xWrapLayoutSetLineSpacingUnit func(uintptr, LengthUnit) | |||||
| 379 | // | 423 | // | ||
| 380 | // See [property@WrapLayout:line-spacing]. | 424 | // See [property@WrapLayout:line-spacing]. | ||
| 381 | func (x *WrapLayout) SetLineSpacingUnit(UnitVar LengthUnit) { | 425 | func (x *WrapLayout) SetLineSpacingUnit(UnitVar LengthUnit) { | ||
| 426 | + | core.LazyRegister(&xWrapLayoutSetLineSpacingUnit, "ADW", "adw_wrap_layout_set_line_spacing_unit", false) | |||
| 427 | + | ||||
| 382 | xWrapLayoutSetLineSpacingUnit(x.GoPointer(), UnitVar) | 428 | xWrapLayoutSetLineSpacingUnit(x.GoPointer(), UnitVar) | ||
| 383 | } | 429 | } | ||
| 384 | 430 | ||||
| @@ -391,6 +437,8 @@ var xWrapLayoutSetNaturalLineLength func(uintptr, int) | |||||
| 391 | // | 437 | // | ||
| 392 | // See [property@WrapLayout:natural-line-length-unit]. | 438 | // See [property@WrapLayout:natural-line-length-unit]. | ||
| 393 | func (x *WrapLayout) SetNaturalLineLength(NaturalLineLengthVar int) { | 439 | func (x *WrapLayout) SetNaturalLineLength(NaturalLineLengthVar int) { | ||
| 440 | + | core.LazyRegister(&xWrapLayoutSetNaturalLineLength, "ADW", "adw_wrap_layout_set_natural_line_length", false) | |||
| 441 | + | ||||
| 394 | xWrapLayoutSetNaturalLineLength(x.GoPointer(), NaturalLineLengthVar) | 442 | xWrapLayoutSetNaturalLineLength(x.GoPointer(), NaturalLineLengthVar) | ||
| 395 | } | 443 | } | ||
| 396 | 444 | ||||
| @@ -402,6 +450,8 @@ var xWrapLayoutSetNaturalLineLengthUnit func(uintptr, LengthUnit) | |||||
| 402 | // | 450 | // | ||
| 403 | // See [property@WrapLayout:natural-line-length]. | 451 | // See [property@WrapLayout:natural-line-length]. | ||
| 404 | func (x *WrapLayout) SetNaturalLineLengthUnit(UnitVar LengthUnit) { | 452 | func (x *WrapLayout) SetNaturalLineLengthUnit(UnitVar LengthUnit) { | ||
| 453 | + | core.LazyRegister(&xWrapLayoutSetNaturalLineLengthUnit, "ADW", "adw_wrap_layout_set_natural_line_length_unit", false) | |||
| 454 | + | ||||
| 405 | xWrapLayoutSetNaturalLineLengthUnit(x.GoPointer(), UnitVar) | 455 | xWrapLayoutSetNaturalLineLengthUnit(x.GoPointer(), UnitVar) | ||
| 406 | } | 456 | } | ||
| 407 | 457 | ||||
| @@ -409,6 +459,8 @@ var xWrapLayoutSetPackDirection func(uintptr, PackDirection) | |||||
| 409 | 459 | ||||
| 410 | // Sets the direction children are packed in each line. | 460 | // Sets the direction children are packed in each line. | ||
| 411 | func (x *WrapLayout) SetPackDirection(PackDirectionVar PackDirection) { | 461 | func (x *WrapLayout) SetPackDirection(PackDirectionVar PackDirection) { | ||
| 462 | + | core.LazyRegister(&xWrapLayoutSetPackDirection, "ADW", "adw_wrap_layout_set_pack_direction", false) | |||
| 463 | + | ||||
| 412 | xWrapLayoutSetPackDirection(x.GoPointer(), PackDirectionVar) | 464 | xWrapLayoutSetPackDirection(x.GoPointer(), PackDirectionVar) | ||
| 413 | } | 465 | } | ||
| 414 | 466 | ||||
| @@ -424,6 +476,8 @@ var xWrapLayoutSetWrapPolicy func(uintptr, WrapPolicy) | |||||
| 424 | // children into each line as possible, shrinking them down to their minimum | 476 | // children into each line as possible, shrinking them down to their minimum | ||
| 425 | // size before wrapping to the next line. | 477 | // size before wrapping to the next line. | ||
| 426 | func (x *WrapLayout) SetWrapPolicy(WrapPolicyVar WrapPolicy) { | 478 | func (x *WrapLayout) SetWrapPolicy(WrapPolicyVar WrapPolicy) { | ||
| 479 | + | core.LazyRegister(&xWrapLayoutSetWrapPolicy, "ADW", "adw_wrap_layout_set_wrap_policy", false) | |||
| 480 | + | ||||
| 427 | xWrapLayoutSetWrapPolicy(x.GoPointer(), WrapPolicyVar) | 481 | xWrapLayoutSetWrapPolicy(x.GoPointer(), WrapPolicyVar) | ||
| 428 | } | 482 | } | ||
| 429 | 483 | ||||
| @@ -435,6 +489,8 @@ var xWrapLayoutSetWrapReverse func(uintptr, bool) | |||||
| 435 | // in a vertical box. If set to `TRUE`, they wrap upwards or towards the start | 489 | // in a vertical box. If set to `TRUE`, they wrap upwards or towards the start | ||
| 436 | // respectively. | 490 | // respectively. | ||
| 437 | func (x *WrapLayout) SetWrapReverse(WrapReverseVar bool) { | 491 | func (x *WrapLayout) SetWrapReverse(WrapReverseVar bool) { | ||
| 492 | + | core.LazyRegister(&xWrapLayoutSetWrapReverse, "ADW", "adw_wrap_layout_set_wrap_reverse", false) | |||
| 493 | + | ||||
| 438 | xWrapLayoutSetWrapReverse(x.GoPointer(), WrapReverseVar) | 494 | xWrapLayoutSetWrapReverse(x.GoPointer(), WrapReverseVar) | ||
| 439 | } | 495 | } | ||
| 440 | 496 | ||||
| @@ -628,49 +684,4 @@ func (x *WrapLayout) SetOrientation(OrientationVar gtk.Orientation) { | |||||
| 628 | func init() { | 684 | func init() { | ||
| 629 | core.SetPackageName("ADW", "libadwaita-1") | 685 | core.SetPackageName("ADW", "libadwaita-1") | ||
| 630 | core.SetSharedLibraries("ADW", []string{"libadwaita-1.so.0", "libadwaita-1.0.dylib"}) | 686 | core.SetSharedLibraries("ADW", []string{"libadwaita-1.so.0", "libadwaita-1.0.dylib"}) | ||
| 631 | - | var libs []uintptr | |||
| 632 | - | for _, libPath := range core.GetPaths("ADW") { | |||
| 633 | - | lib, err := purego.Dlopen(libPath, purego.RTLD_NOW|purego.RTLD_GLOBAL) | |||
| 634 | - | if err != nil { | |||
| 635 | - | panic(err) | |||
| 636 | - | } | |||
| 637 | - | libs = append(libs, lib) | |||
| 638 | - | } | |||
| 639 | - | ||||
| 640 | - | core.PuregoSafeRegister(&xJustifyModeGLibType, libs, "adw_justify_mode_get_type") | |||
| 641 | - | ||||
| 642 | - | core.PuregoSafeRegister(&xPackDirectionGLibType, libs, "adw_pack_direction_get_type") | |||
| 643 | - | ||||
| 644 | - | core.PuregoSafeRegister(&xWrapPolicyGLibType, libs, "adw_wrap_policy_get_type") | |||
| 645 | - | ||||
| 646 | - | core.PuregoSafeRegister(&xWrapLayoutGLibType, libs, "adw_wrap_layout_get_type") | |||
| 647 | - | ||||
| 648 | - | core.PuregoSafeRegister(&xNewWrapLayout, libs, "adw_wrap_layout_new") | |||
| 649 | - | ||||
| 650 | - | core.PuregoSafeRegister(&xWrapLayoutGetAlign, libs, "adw_wrap_layout_get_align") | |||
| 651 | - | core.PuregoSafeRegister(&xWrapLayoutGetChildSpacing, libs, "adw_wrap_layout_get_child_spacing") | |||
| 652 | - | core.PuregoSafeRegister(&xWrapLayoutGetChildSpacingUnit, libs, "adw_wrap_layout_get_child_spacing_unit") | |||
| 653 | - | core.PuregoSafeRegister(&xWrapLayoutGetJustify, libs, "adw_wrap_layout_get_justify") | |||
| 654 | - | core.PuregoSafeRegister(&xWrapLayoutGetJustifyLastLine, libs, "adw_wrap_layout_get_justify_last_line") | |||
| 655 | - | core.PuregoSafeRegister(&xWrapLayoutGetLineHomogeneous, libs, "adw_wrap_layout_get_line_homogeneous") | |||
| 656 | - | core.PuregoSafeRegister(&xWrapLayoutGetLineSpacing, libs, "adw_wrap_layout_get_line_spacing") | |||
| 657 | - | core.PuregoSafeRegister(&xWrapLayoutGetLineSpacingUnit, libs, "adw_wrap_layout_get_line_spacing_unit") | |||
| 658 | - | core.PuregoSafeRegister(&xWrapLayoutGetNaturalLineLength, libs, "adw_wrap_layout_get_natural_line_length") | |||
| 659 | - | core.PuregoSafeRegister(&xWrapLayoutGetNaturalLineLengthUnit, libs, "adw_wrap_layout_get_natural_line_length_unit") | |||
| 660 | - | core.PuregoSafeRegister(&xWrapLayoutGetPackDirection, libs, "adw_wrap_layout_get_pack_direction") | |||
| 661 | - | core.PuregoSafeRegister(&xWrapLayoutGetWrapPolicy, libs, "adw_wrap_layout_get_wrap_policy") | |||
| 662 | - | core.PuregoSafeRegister(&xWrapLayoutGetWrapReverse, libs, "adw_wrap_layout_get_wrap_reverse") | |||
| 663 | - | core.PuregoSafeRegister(&xWrapLayoutSetAlign, libs, "adw_wrap_layout_set_align") | |||
| 664 | - | core.PuregoSafeRegister(&xWrapLayoutSetChildSpacing, libs, "adw_wrap_layout_set_child_spacing") | |||
| 665 | - | core.PuregoSafeRegister(&xWrapLayoutSetChildSpacingUnit, libs, "adw_wrap_layout_set_child_spacing_unit") | |||
| 666 | - | core.PuregoSafeRegister(&xWrapLayoutSetJustify, libs, "adw_wrap_layout_set_justify") | |||
| 667 | - | core.PuregoSafeRegister(&xWrapLayoutSetJustifyLastLine, libs, "adw_wrap_layout_set_justify_last_line") | |||
| 668 | - | core.PuregoSafeRegister(&xWrapLayoutSetLineHomogeneous, libs, "adw_wrap_layout_set_line_homogeneous") | |||
| 669 | - | core.PuregoSafeRegister(&xWrapLayoutSetLineSpacing, libs, "adw_wrap_layout_set_line_spacing") | |||
| 670 | - | core.PuregoSafeRegister(&xWrapLayoutSetLineSpacingUnit, libs, "adw_wrap_layout_set_line_spacing_unit") | |||
| 671 | - | core.PuregoSafeRegister(&xWrapLayoutSetNaturalLineLength, libs, "adw_wrap_layout_set_natural_line_length") | |||
| 672 | - | core.PuregoSafeRegister(&xWrapLayoutSetNaturalLineLengthUnit, libs, "adw_wrap_layout_set_natural_line_length_unit") | |||
| 673 | - | core.PuregoSafeRegister(&xWrapLayoutSetPackDirection, libs, "adw_wrap_layout_set_pack_direction") | |||
| 674 | - | core.PuregoSafeRegister(&xWrapLayoutSetWrapPolicy, libs, "adw_wrap_layout_set_wrap_policy") | |||
| 675 | - | core.PuregoSafeRegister(&xWrapLayoutSetWrapReverse, libs, "adw_wrap_layout_set_wrap_reverse") | |||
| 676 | } | 687 | } | ||