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
| @@ -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" | |
| @@ -66,6 +65,7 @@ type SpringAnimation struct { | |||
| 66 | 65 | var xSpringAnimationGLibType func() types.GType | |
| 67 | 66 | ||
| 68 | 67 | func SpringAnimationGLibType() types.GType { | |
| 68 | + | core.LazyRegister(&xSpringAnimationGLibType, "ADW", "adw_spring_animation_get_type", false) | |
| 69 | 69 | return xSpringAnimationGLibType() | |
| 70 | 70 | } | |
| 71 | 71 | ||
| @@ -82,6 +82,7 @@ var xNewSpringAnimation func(uintptr, float64, float64, *SpringParams, uintptr) | |||
| 82 | 82 | // The animation will animate @target from @from to @to with the dynamics of a | |
| 83 | 83 | // spring described by @spring_params. | |
| 84 | 84 | func NewSpringAnimation(WidgetVar *gtk.Widget, FromVar float64, ToVar float64, SpringParamsVar *SpringParams, TargetVar *AnimationTarget) *SpringAnimation { | |
| 85 | + | core.LazyRegister(&xNewSpringAnimation, "ADW", "adw_spring_animation_new", false) | |
| 85 | 86 | var cls *SpringAnimation | |
| 86 | 87 | ||
| 87 | 88 | cret := xNewSpringAnimation(WidgetVar.GoPointer(), FromVar, ToVar, SpringParamsVar, TargetVar.GoPointer()) | |
| @@ -104,6 +105,8 @@ var xSpringAnimationCalculateValue func(uintptr, uint) float64 | |||
| 104 | 105 | // | |
| 105 | 106 | // See also [method@SpringAnimation.calculate_velocity]. | |
| 106 | 107 | func (x *SpringAnimation) CalculateValue(TimeVar uint) float64 { | |
| 108 | + | core.LazyRegister(&xSpringAnimationCalculateValue, "ADW", "adw_spring_animation_calculate_value", false) | |
| 109 | + | ||
| 107 | 110 | cret := xSpringAnimationCalculateValue(x.GoPointer(), TimeVar) | |
| 108 | 111 | return cret | |
| 109 | 112 | } | |
| @@ -117,6 +120,8 @@ var xSpringAnimationCalculateVelocity func(uintptr, uint) float64 | |||
| 117 | 120 | // | |
| 118 | 121 | // See also [method@SpringAnimation.calculate_value]. | |
| 119 | 122 | func (x *SpringAnimation) CalculateVelocity(TimeVar uint) float64 { | |
| 123 | + | core.LazyRegister(&xSpringAnimationCalculateVelocity, "ADW", "adw_spring_animation_calculate_velocity", false) | |
| 124 | + | ||
| 120 | 125 | cret := xSpringAnimationCalculateVelocity(x.GoPointer(), TimeVar) | |
| 121 | 126 | return cret | |
| 122 | 127 | } | |
| @@ -125,6 +130,8 @@ var xSpringAnimationGetClamp func(uintptr) bool | |||
| 125 | 130 | ||
| 126 | 131 | // Gets whether @self should be clamped. | |
| 127 | 132 | func (x *SpringAnimation) GetClamp() bool { | |
| 133 | + | core.LazyRegister(&xSpringAnimationGetClamp, "ADW", "adw_spring_animation_get_clamp", false) | |
| 134 | + | ||
| 128 | 135 | cret := xSpringAnimationGetClamp(x.GoPointer()) | |
| 129 | 136 | return cret | |
| 130 | 137 | } | |
| @@ -133,6 +140,8 @@ var xSpringAnimationGetEpsilon func(uintptr) float64 | |||
| 133 | 140 | ||
| 134 | 141 | // Gets the precision of the spring. | |
| 135 | 142 | func (x *SpringAnimation) GetEpsilon() float64 { | |
| 143 | + | core.LazyRegister(&xSpringAnimationGetEpsilon, "ADW", "adw_spring_animation_get_epsilon", false) | |
| 144 | + | ||
| 136 | 145 | cret := xSpringAnimationGetEpsilon(x.GoPointer()) | |
| 137 | 146 | return cret | |
| 138 | 147 | } | |
| @@ -143,6 +152,8 @@ var xSpringAnimationGetEstimatedDuration func(uintptr) uint | |||
| 143 | 152 | // | |
| 144 | 153 | // Can be [const@DURATION_INFINITE] if the spring damping is set to 0. | |
| 145 | 154 | func (x *SpringAnimation) GetEstimatedDuration() uint { | |
| 155 | + | core.LazyRegister(&xSpringAnimationGetEstimatedDuration, "ADW", "adw_spring_animation_get_estimated_duration", false) | |
| 156 | + | ||
| 146 | 157 | cret := xSpringAnimationGetEstimatedDuration(x.GoPointer()) | |
| 147 | 158 | return cret | |
| 148 | 159 | } | |
| @@ -151,6 +162,8 @@ var xSpringAnimationGetInitialVelocity func(uintptr) float64 | |||
| 151 | 162 | ||
| 152 | 163 | // Gets the initial velocity of @self. | |
| 153 | 164 | func (x *SpringAnimation) GetInitialVelocity() float64 { | |
| 165 | + | core.LazyRegister(&xSpringAnimationGetInitialVelocity, "ADW", "adw_spring_animation_get_initial_velocity", false) | |
| 166 | + | ||
| 154 | 167 | cret := xSpringAnimationGetInitialVelocity(x.GoPointer()) | |
| 155 | 168 | return cret | |
| 156 | 169 | } | |
| @@ -159,6 +172,8 @@ var xSpringAnimationGetSpringParams func(uintptr) uintptr | |||
| 159 | 172 | ||
| 160 | 173 | // Gets the physical parameters of the spring of @self. | |
| 161 | 174 | func (x *SpringAnimation) GetSpringParams() *SpringParams { | |
| 175 | + | core.LazyRegister(&xSpringAnimationGetSpringParams, "ADW", "adw_spring_animation_get_spring_params", false) | |
| 176 | + | ||
| 162 | 177 | cret := xSpringAnimationGetSpringParams(x.GoPointer()) | |
| 163 | 178 | if cret == 0 { | |
| 164 | 179 | return nil | |
| @@ -170,6 +185,8 @@ var xSpringAnimationGetValueFrom func(uintptr) float64 | |||
| 170 | 185 | ||
| 171 | 186 | // Gets the value @self will animate from. | |
| 172 | 187 | func (x *SpringAnimation) GetValueFrom() float64 { | |
| 188 | + | core.LazyRegister(&xSpringAnimationGetValueFrom, "ADW", "adw_spring_animation_get_value_from", false) | |
| 189 | + | ||
| 173 | 190 | cret := xSpringAnimationGetValueFrom(x.GoPointer()) | |
| 174 | 191 | return cret | |
| 175 | 192 | } | |
| @@ -178,6 +195,8 @@ var xSpringAnimationGetValueTo func(uintptr) float64 | |||
| 178 | 195 | ||
| 179 | 196 | // Gets the value @self will animate to. | |
| 180 | 197 | func (x *SpringAnimation) GetValueTo() float64 { | |
| 198 | + | core.LazyRegister(&xSpringAnimationGetValueTo, "ADW", "adw_spring_animation_get_value_to", false) | |
| 199 | + | ||
| 181 | 200 | cret := xSpringAnimationGetValueTo(x.GoPointer()) | |
| 182 | 201 | return cret | |
| 183 | 202 | } | |
| @@ -186,6 +205,8 @@ var xSpringAnimationGetVelocity func(uintptr) float64 | |||
| 186 | 205 | ||
| 187 | 206 | // Gets the current velocity of @self. | |
| 188 | 207 | func (x *SpringAnimation) GetVelocity() float64 { | |
| 208 | + | core.LazyRegister(&xSpringAnimationGetVelocity, "ADW", "adw_spring_animation_get_velocity", false) | |
| 209 | + | ||
| 189 | 210 | cret := xSpringAnimationGetVelocity(x.GoPointer()) | |
| 190 | 211 | return cret | |
| 191 | 212 | } | |
| @@ -200,6 +221,8 @@ var xSpringAnimationSetClamp func(uintptr, bool) | |||
| 200 | 221 | // It won't prevent overshooting [property@SpringAnimation:value-from] if a | |
| 201 | 222 | // relative negative [property@SpringAnimation:initial-velocity] is set. | |
| 202 | 223 | func (x *SpringAnimation) SetClamp(ClampVar bool) { | |
| 224 | + | core.LazyRegister(&xSpringAnimationSetClamp, "ADW", "adw_spring_animation_set_clamp", false) | |
| 225 | + | ||
| 203 | 226 | xSpringAnimationSetClamp(x.GoPointer(), ClampVar) | |
| 204 | 227 | } | |
| 205 | 228 | ||
| @@ -218,6 +241,8 @@ var xSpringAnimationSetEpsilon func(uintptr, float64) | |||
| 218 | 241 | // | |
| 219 | 242 | // The default value is 0.001. | |
| 220 | 243 | func (x *SpringAnimation) SetEpsilon(EpsilonVar float64) { | |
| 244 | + | core.LazyRegister(&xSpringAnimationSetEpsilon, "ADW", "adw_spring_animation_set_epsilon", false) | |
| 245 | + | ||
| 221 | 246 | xSpringAnimationSetEpsilon(x.GoPointer(), EpsilonVar) | |
| 222 | 247 | } | |
| 223 | 248 | ||
| @@ -227,6 +252,8 @@ var xSpringAnimationSetInitialVelocity func(uintptr, float64) | |||
| 227 | 252 | // | |
| 228 | 253 | // Initial velocity affects only the animation curve, but not its duration. | |
| 229 | 254 | func (x *SpringAnimation) SetInitialVelocity(VelocityVar float64) { | |
| 255 | + | core.LazyRegister(&xSpringAnimationSetInitialVelocity, "ADW", "adw_spring_animation_set_initial_velocity", false) | |
| 256 | + | ||
| 230 | 257 | xSpringAnimationSetInitialVelocity(x.GoPointer(), VelocityVar) | |
| 231 | 258 | } | |
| 232 | 259 | ||
| @@ -234,6 +261,8 @@ var xSpringAnimationSetSpringParams func(uintptr, *SpringParams) | |||
| 234 | 261 | ||
| 235 | 262 | // Sets the physical parameters of the spring of @self. | |
| 236 | 263 | func (x *SpringAnimation) SetSpringParams(SpringParamsVar *SpringParams) { | |
| 264 | + | core.LazyRegister(&xSpringAnimationSetSpringParams, "ADW", "adw_spring_animation_set_spring_params", false) | |
| 265 | + | ||
| 237 | 266 | xSpringAnimationSetSpringParams(x.GoPointer(), SpringParamsVar) | |
| 238 | 267 | } | |
| 239 | 268 | ||
| @@ -244,6 +273,8 @@ var xSpringAnimationSetValueFrom func(uintptr, float64) | |||
| 244 | 273 | // The animation will start at this value and end at | |
| 245 | 274 | // [property@SpringAnimation:value-to]. | |
| 246 | 275 | func (x *SpringAnimation) SetValueFrom(ValueVar float64) { | |
| 276 | + | core.LazyRegister(&xSpringAnimationSetValueFrom, "ADW", "adw_spring_animation_set_value_from", false) | |
| 277 | + | ||
| 247 | 278 | xSpringAnimationSetValueFrom(x.GoPointer(), ValueVar) | |
| 248 | 279 | } | |
| 249 | 280 | ||
| @@ -254,6 +285,8 @@ var xSpringAnimationSetValueTo func(uintptr, float64) | |||
| 254 | 285 | // The animation will start at [property@SpringAnimation:value-from] and end at | |
| 255 | 286 | // this value. | |
| 256 | 287 | func (x *SpringAnimation) SetValueTo(ValueVar float64) { | |
| 288 | + | core.LazyRegister(&xSpringAnimationSetValueTo, "ADW", "adw_spring_animation_set_value_to", false) | |
| 289 | + | ||
| 257 | 290 | xSpringAnimationSetValueTo(x.GoPointer(), ValueVar) | |
| 258 | 291 | } | |
| 259 | 292 | ||
| @@ -441,33 +474,4 @@ func (x *SpringAnimation) GetPropertyVelocity() float64 { | |||
| 441 | 474 | func init() { | |
| 442 | 475 | core.SetPackageName("ADW", "libadwaita-1") | |
| 443 | 476 | core.SetSharedLibraries("ADW", []string{"libadwaita-1.so.0", "libadwaita-1.0.dylib"}) | |
| 444 | - | var libs []uintptr | |
| 445 | - | for _, libPath := range core.GetPaths("ADW") { | |
| 446 | - | lib, err := purego.Dlopen(libPath, purego.RTLD_NOW|purego.RTLD_GLOBAL) | |
| 447 | - | if err != nil { | |
| 448 | - | panic(err) | |
| 449 | - | } | |
| 450 | - | libs = append(libs, lib) | |
| 451 | - | } | |
| 452 | - | ||
| 453 | - | core.PuregoSafeRegister(&xSpringAnimationGLibType, libs, "adw_spring_animation_get_type") | |
| 454 | - | ||
| 455 | - | core.PuregoSafeRegister(&xNewSpringAnimation, libs, "adw_spring_animation_new") | |
| 456 | - | ||
| 457 | - | core.PuregoSafeRegister(&xSpringAnimationCalculateValue, libs, "adw_spring_animation_calculate_value") | |
| 458 | - | core.PuregoSafeRegister(&xSpringAnimationCalculateVelocity, libs, "adw_spring_animation_calculate_velocity") | |
| 459 | - | core.PuregoSafeRegister(&xSpringAnimationGetClamp, libs, "adw_spring_animation_get_clamp") | |
| 460 | - | core.PuregoSafeRegister(&xSpringAnimationGetEpsilon, libs, "adw_spring_animation_get_epsilon") | |
| 461 | - | core.PuregoSafeRegister(&xSpringAnimationGetEstimatedDuration, libs, "adw_spring_animation_get_estimated_duration") | |
| 462 | - | core.PuregoSafeRegister(&xSpringAnimationGetInitialVelocity, libs, "adw_spring_animation_get_initial_velocity") | |
| 463 | - | core.PuregoSafeRegister(&xSpringAnimationGetSpringParams, libs, "adw_spring_animation_get_spring_params") | |
| 464 | - | core.PuregoSafeRegister(&xSpringAnimationGetValueFrom, libs, "adw_spring_animation_get_value_from") | |
| 465 | - | core.PuregoSafeRegister(&xSpringAnimationGetValueTo, libs, "adw_spring_animation_get_value_to") | |
| 466 | - | core.PuregoSafeRegister(&xSpringAnimationGetVelocity, libs, "adw_spring_animation_get_velocity") | |
| 467 | - | core.PuregoSafeRegister(&xSpringAnimationSetClamp, libs, "adw_spring_animation_set_clamp") | |
| 468 | - | core.PuregoSafeRegister(&xSpringAnimationSetEpsilon, libs, "adw_spring_animation_set_epsilon") | |
| 469 | - | core.PuregoSafeRegister(&xSpringAnimationSetInitialVelocity, libs, "adw_spring_animation_set_initial_velocity") | |
| 470 | - | core.PuregoSafeRegister(&xSpringAnimationSetSpringParams, libs, "adw_spring_animation_set_spring_params") | |
| 471 | - | core.PuregoSafeRegister(&xSpringAnimationSetValueFrom, libs, "adw_spring_animation_set_value_from") | |
| 472 | - | core.PuregoSafeRegister(&xSpringAnimationSetValueTo, libs, "adw_spring_animation_set_value_to") | |
| 473 | 477 | } | |
| @@ -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" | ||
| @@ -66,6 +65,7 @@ type SpringAnimation struct { | |||||
| 66 | var xSpringAnimationGLibType func() types.GType | 65 | var xSpringAnimationGLibType func() types.GType | ||
| 67 | 66 | ||||
| 68 | func SpringAnimationGLibType() types.GType { | 67 | func SpringAnimationGLibType() types.GType { | ||
| 68 | + | core.LazyRegister(&xSpringAnimationGLibType, "ADW", "adw_spring_animation_get_type", false) | |||
| 69 | return xSpringAnimationGLibType() | 69 | return xSpringAnimationGLibType() | ||
| 70 | } | 70 | } | ||
| 71 | 71 | ||||
| @@ -82,6 +82,7 @@ var xNewSpringAnimation func(uintptr, float64, float64, *SpringParams, uintptr) | |||||
| 82 | // The animation will animate @target from @from to @to with the dynamics of a | 82 | // The animation will animate @target from @from to @to with the dynamics of a | ||
| 83 | // spring described by @spring_params. | 83 | // spring described by @spring_params. | ||
| 84 | func NewSpringAnimation(WidgetVar *gtk.Widget, FromVar float64, ToVar float64, SpringParamsVar *SpringParams, TargetVar *AnimationTarget) *SpringAnimation { | 84 | func NewSpringAnimation(WidgetVar *gtk.Widget, FromVar float64, ToVar float64, SpringParamsVar *SpringParams, TargetVar *AnimationTarget) *SpringAnimation { | ||
| 85 | + | core.LazyRegister(&xNewSpringAnimation, "ADW", "adw_spring_animation_new", false) | |||
| 85 | var cls *SpringAnimation | 86 | var cls *SpringAnimation | ||
| 86 | 87 | ||||
| 87 | cret := xNewSpringAnimation(WidgetVar.GoPointer(), FromVar, ToVar, SpringParamsVar, TargetVar.GoPointer()) | 88 | cret := xNewSpringAnimation(WidgetVar.GoPointer(), FromVar, ToVar, SpringParamsVar, TargetVar.GoPointer()) | ||
| @@ -104,6 +105,8 @@ var xSpringAnimationCalculateValue func(uintptr, uint) float64 | |||||
| 104 | // | 105 | // | ||
| 105 | // See also [method@SpringAnimation.calculate_velocity]. | 106 | // See also [method@SpringAnimation.calculate_velocity]. | ||
| 106 | func (x *SpringAnimation) CalculateValue(TimeVar uint) float64 { | 107 | func (x *SpringAnimation) CalculateValue(TimeVar uint) float64 { | ||
| 108 | + | core.LazyRegister(&xSpringAnimationCalculateValue, "ADW", "adw_spring_animation_calculate_value", false) | |||
| 109 | + | ||||
| 107 | cret := xSpringAnimationCalculateValue(x.GoPointer(), TimeVar) | 110 | cret := xSpringAnimationCalculateValue(x.GoPointer(), TimeVar) | ||
| 108 | return cret | 111 | return cret | ||
| 109 | } | 112 | } | ||
| @@ -117,6 +120,8 @@ var xSpringAnimationCalculateVelocity func(uintptr, uint) float64 | |||||
| 117 | // | 120 | // | ||
| 118 | // See also [method@SpringAnimation.calculate_value]. | 121 | // See also [method@SpringAnimation.calculate_value]. | ||
| 119 | func (x *SpringAnimation) CalculateVelocity(TimeVar uint) float64 { | 122 | func (x *SpringAnimation) CalculateVelocity(TimeVar uint) float64 { | ||
| 123 | + | core.LazyRegister(&xSpringAnimationCalculateVelocity, "ADW", "adw_spring_animation_calculate_velocity", false) | |||
| 124 | + | ||||
| 120 | cret := xSpringAnimationCalculateVelocity(x.GoPointer(), TimeVar) | 125 | cret := xSpringAnimationCalculateVelocity(x.GoPointer(), TimeVar) | ||
| 121 | return cret | 126 | return cret | ||
| 122 | } | 127 | } | ||
| @@ -125,6 +130,8 @@ var xSpringAnimationGetClamp func(uintptr) bool | |||||
| 125 | 130 | ||||
| 126 | // Gets whether @self should be clamped. | 131 | // Gets whether @self should be clamped. | ||
| 127 | func (x *SpringAnimation) GetClamp() bool { | 132 | func (x *SpringAnimation) GetClamp() bool { | ||
| 133 | + | core.LazyRegister(&xSpringAnimationGetClamp, "ADW", "adw_spring_animation_get_clamp", false) | |||
| 134 | + | ||||
| 128 | cret := xSpringAnimationGetClamp(x.GoPointer()) | 135 | cret := xSpringAnimationGetClamp(x.GoPointer()) | ||
| 129 | return cret | 136 | return cret | ||
| 130 | } | 137 | } | ||
| @@ -133,6 +140,8 @@ var xSpringAnimationGetEpsilon func(uintptr) float64 | |||||
| 133 | 140 | ||||
| 134 | // Gets the precision of the spring. | 141 | // Gets the precision of the spring. | ||
| 135 | func (x *SpringAnimation) GetEpsilon() float64 { | 142 | func (x *SpringAnimation) GetEpsilon() float64 { | ||
| 143 | + | core.LazyRegister(&xSpringAnimationGetEpsilon, "ADW", "adw_spring_animation_get_epsilon", false) | |||
| 144 | + | ||||
| 136 | cret := xSpringAnimationGetEpsilon(x.GoPointer()) | 145 | cret := xSpringAnimationGetEpsilon(x.GoPointer()) | ||
| 137 | return cret | 146 | return cret | ||
| 138 | } | 147 | } | ||
| @@ -143,6 +152,8 @@ var xSpringAnimationGetEstimatedDuration func(uintptr) uint | |||||
| 143 | // | 152 | // | ||
| 144 | // Can be [const@DURATION_INFINITE] if the spring damping is set to 0. | 153 | // Can be [const@DURATION_INFINITE] if the spring damping is set to 0. | ||
| 145 | func (x *SpringAnimation) GetEstimatedDuration() uint { | 154 | func (x *SpringAnimation) GetEstimatedDuration() uint { | ||
| 155 | + | core.LazyRegister(&xSpringAnimationGetEstimatedDuration, "ADW", "adw_spring_animation_get_estimated_duration", false) | |||
| 156 | + | ||||
| 146 | cret := xSpringAnimationGetEstimatedDuration(x.GoPointer()) | 157 | cret := xSpringAnimationGetEstimatedDuration(x.GoPointer()) | ||
| 147 | return cret | 158 | return cret | ||
| 148 | } | 159 | } | ||
| @@ -151,6 +162,8 @@ var xSpringAnimationGetInitialVelocity func(uintptr) float64 | |||||
| 151 | 162 | ||||
| 152 | // Gets the initial velocity of @self. | 163 | // Gets the initial velocity of @self. | ||
| 153 | func (x *SpringAnimation) GetInitialVelocity() float64 { | 164 | func (x *SpringAnimation) GetInitialVelocity() float64 { | ||
| 165 | + | core.LazyRegister(&xSpringAnimationGetInitialVelocity, "ADW", "adw_spring_animation_get_initial_velocity", false) | |||
| 166 | + | ||||
| 154 | cret := xSpringAnimationGetInitialVelocity(x.GoPointer()) | 167 | cret := xSpringAnimationGetInitialVelocity(x.GoPointer()) | ||
| 155 | return cret | 168 | return cret | ||
| 156 | } | 169 | } | ||
| @@ -159,6 +172,8 @@ var xSpringAnimationGetSpringParams func(uintptr) uintptr | |||||
| 159 | 172 | ||||
| 160 | // Gets the physical parameters of the spring of @self. | 173 | // Gets the physical parameters of the spring of @self. | ||
| 161 | func (x *SpringAnimation) GetSpringParams() *SpringParams { | 174 | func (x *SpringAnimation) GetSpringParams() *SpringParams { | ||
| 175 | + | core.LazyRegister(&xSpringAnimationGetSpringParams, "ADW", "adw_spring_animation_get_spring_params", false) | |||
| 176 | + | ||||
| 162 | cret := xSpringAnimationGetSpringParams(x.GoPointer()) | 177 | cret := xSpringAnimationGetSpringParams(x.GoPointer()) | ||
| 163 | if cret == 0 { | 178 | if cret == 0 { | ||
| 164 | return nil | 179 | return nil | ||
| @@ -170,6 +185,8 @@ var xSpringAnimationGetValueFrom func(uintptr) float64 | |||||
| 170 | 185 | ||||
| 171 | // Gets the value @self will animate from. | 186 | // Gets the value @self will animate from. | ||
| 172 | func (x *SpringAnimation) GetValueFrom() float64 { | 187 | func (x *SpringAnimation) GetValueFrom() float64 { | ||
| 188 | + | core.LazyRegister(&xSpringAnimationGetValueFrom, "ADW", "adw_spring_animation_get_value_from", false) | |||
| 189 | + | ||||
| 173 | cret := xSpringAnimationGetValueFrom(x.GoPointer()) | 190 | cret := xSpringAnimationGetValueFrom(x.GoPointer()) | ||
| 174 | return cret | 191 | return cret | ||
| 175 | } | 192 | } | ||
| @@ -178,6 +195,8 @@ var xSpringAnimationGetValueTo func(uintptr) float64 | |||||
| 178 | 195 | ||||
| 179 | // Gets the value @self will animate to. | 196 | // Gets the value @self will animate to. | ||
| 180 | func (x *SpringAnimation) GetValueTo() float64 { | 197 | func (x *SpringAnimation) GetValueTo() float64 { | ||
| 198 | + | core.LazyRegister(&xSpringAnimationGetValueTo, "ADW", "adw_spring_animation_get_value_to", false) | |||
| 199 | + | ||||
| 181 | cret := xSpringAnimationGetValueTo(x.GoPointer()) | 200 | cret := xSpringAnimationGetValueTo(x.GoPointer()) | ||
| 182 | return cret | 201 | return cret | ||
| 183 | } | 202 | } | ||
| @@ -186,6 +205,8 @@ var xSpringAnimationGetVelocity func(uintptr) float64 | |||||
| 186 | 205 | ||||
| 187 | // Gets the current velocity of @self. | 206 | // Gets the current velocity of @self. | ||
| 188 | func (x *SpringAnimation) GetVelocity() float64 { | 207 | func (x *SpringAnimation) GetVelocity() float64 { | ||
| 208 | + | core.LazyRegister(&xSpringAnimationGetVelocity, "ADW", "adw_spring_animation_get_velocity", false) | |||
| 209 | + | ||||
| 189 | cret := xSpringAnimationGetVelocity(x.GoPointer()) | 210 | cret := xSpringAnimationGetVelocity(x.GoPointer()) | ||
| 190 | return cret | 211 | return cret | ||
| 191 | } | 212 | } | ||
| @@ -200,6 +221,8 @@ var xSpringAnimationSetClamp func(uintptr, bool) | |||||
| 200 | // It won't prevent overshooting [property@SpringAnimation:value-from] if a | 221 | // It won't prevent overshooting [property@SpringAnimation:value-from] if a | ||
| 201 | // relative negative [property@SpringAnimation:initial-velocity] is set. | 222 | // relative negative [property@SpringAnimation:initial-velocity] is set. | ||
| 202 | func (x *SpringAnimation) SetClamp(ClampVar bool) { | 223 | func (x *SpringAnimation) SetClamp(ClampVar bool) { | ||
| 224 | + | core.LazyRegister(&xSpringAnimationSetClamp, "ADW", "adw_spring_animation_set_clamp", false) | |||
| 225 | + | ||||
| 203 | xSpringAnimationSetClamp(x.GoPointer(), ClampVar) | 226 | xSpringAnimationSetClamp(x.GoPointer(), ClampVar) | ||
| 204 | } | 227 | } | ||
| 205 | 228 | ||||
| @@ -218,6 +241,8 @@ var xSpringAnimationSetEpsilon func(uintptr, float64) | |||||
| 218 | // | 241 | // | ||
| 219 | // The default value is 0.001. | 242 | // The default value is 0.001. | ||
| 220 | func (x *SpringAnimation) SetEpsilon(EpsilonVar float64) { | 243 | func (x *SpringAnimation) SetEpsilon(EpsilonVar float64) { | ||
| 244 | + | core.LazyRegister(&xSpringAnimationSetEpsilon, "ADW", "adw_spring_animation_set_epsilon", false) | |||
| 245 | + | ||||
| 221 | xSpringAnimationSetEpsilon(x.GoPointer(), EpsilonVar) | 246 | xSpringAnimationSetEpsilon(x.GoPointer(), EpsilonVar) | ||
| 222 | } | 247 | } | ||
| 223 | 248 | ||||
| @@ -227,6 +252,8 @@ var xSpringAnimationSetInitialVelocity func(uintptr, float64) | |||||
| 227 | // | 252 | // | ||
| 228 | // Initial velocity affects only the animation curve, but not its duration. | 253 | // Initial velocity affects only the animation curve, but not its duration. | ||
| 229 | func (x *SpringAnimation) SetInitialVelocity(VelocityVar float64) { | 254 | func (x *SpringAnimation) SetInitialVelocity(VelocityVar float64) { | ||
| 255 | + | core.LazyRegister(&xSpringAnimationSetInitialVelocity, "ADW", "adw_spring_animation_set_initial_velocity", false) | |||
| 256 | + | ||||
| 230 | xSpringAnimationSetInitialVelocity(x.GoPointer(), VelocityVar) | 257 | xSpringAnimationSetInitialVelocity(x.GoPointer(), VelocityVar) | ||
| 231 | } | 258 | } | ||
| 232 | 259 | ||||
| @@ -234,6 +261,8 @@ var xSpringAnimationSetSpringParams func(uintptr, *SpringParams) | |||||
| 234 | 261 | ||||
| 235 | // Sets the physical parameters of the spring of @self. | 262 | // Sets the physical parameters of the spring of @self. | ||
| 236 | func (x *SpringAnimation) SetSpringParams(SpringParamsVar *SpringParams) { | 263 | func (x *SpringAnimation) SetSpringParams(SpringParamsVar *SpringParams) { | ||
| 264 | + | core.LazyRegister(&xSpringAnimationSetSpringParams, "ADW", "adw_spring_animation_set_spring_params", false) | |||
| 265 | + | ||||
| 237 | xSpringAnimationSetSpringParams(x.GoPointer(), SpringParamsVar) | 266 | xSpringAnimationSetSpringParams(x.GoPointer(), SpringParamsVar) | ||
| 238 | } | 267 | } | ||
| 239 | 268 | ||||
| @@ -244,6 +273,8 @@ var xSpringAnimationSetValueFrom func(uintptr, float64) | |||||
| 244 | // The animation will start at this value and end at | 273 | // The animation will start at this value and end at | ||
| 245 | // [property@SpringAnimation:value-to]. | 274 | // [property@SpringAnimation:value-to]. | ||
| 246 | func (x *SpringAnimation) SetValueFrom(ValueVar float64) { | 275 | func (x *SpringAnimation) SetValueFrom(ValueVar float64) { | ||
| 276 | + | core.LazyRegister(&xSpringAnimationSetValueFrom, "ADW", "adw_spring_animation_set_value_from", false) | |||
| 277 | + | ||||
| 247 | xSpringAnimationSetValueFrom(x.GoPointer(), ValueVar) | 278 | xSpringAnimationSetValueFrom(x.GoPointer(), ValueVar) | ||
| 248 | } | 279 | } | ||
| 249 | 280 | ||||
| @@ -254,6 +285,8 @@ var xSpringAnimationSetValueTo func(uintptr, float64) | |||||
| 254 | // The animation will start at [property@SpringAnimation:value-from] and end at | 285 | // The animation will start at [property@SpringAnimation:value-from] and end at | ||
| 255 | // this value. | 286 | // this value. | ||
| 256 | func (x *SpringAnimation) SetValueTo(ValueVar float64) { | 287 | func (x *SpringAnimation) SetValueTo(ValueVar float64) { | ||
| 288 | + | core.LazyRegister(&xSpringAnimationSetValueTo, "ADW", "adw_spring_animation_set_value_to", false) | |||
| 289 | + | ||||
| 257 | xSpringAnimationSetValueTo(x.GoPointer(), ValueVar) | 290 | xSpringAnimationSetValueTo(x.GoPointer(), ValueVar) | ||
| 258 | } | 291 | } | ||
| 259 | 292 | ||||
| @@ -441,33 +474,4 @@ func (x *SpringAnimation) GetPropertyVelocity() float64 { | |||||
| 441 | func init() { | 474 | func init() { | ||
| 442 | core.SetPackageName("ADW", "libadwaita-1") | 475 | core.SetPackageName("ADW", "libadwaita-1") | ||
| 443 | core.SetSharedLibraries("ADW", []string{"libadwaita-1.so.0", "libadwaita-1.0.dylib"}) | 476 | core.SetSharedLibraries("ADW", []string{"libadwaita-1.so.0", "libadwaita-1.0.dylib"}) | ||
| 444 | - | var libs []uintptr | |||
| 445 | - | for _, libPath := range core.GetPaths("ADW") { | |||
| 446 | - | lib, err := purego.Dlopen(libPath, purego.RTLD_NOW|purego.RTLD_GLOBAL) | |||
| 447 | - | if err != nil { | |||
| 448 | - | panic(err) | |||
| 449 | - | } | |||
| 450 | - | libs = append(libs, lib) | |||
| 451 | - | } | |||
| 452 | - | ||||
| 453 | - | core.PuregoSafeRegister(&xSpringAnimationGLibType, libs, "adw_spring_animation_get_type") | |||
| 454 | - | ||||
| 455 | - | core.PuregoSafeRegister(&xNewSpringAnimation, libs, "adw_spring_animation_new") | |||
| 456 | - | ||||
| 457 | - | core.PuregoSafeRegister(&xSpringAnimationCalculateValue, libs, "adw_spring_animation_calculate_value") | |||
| 458 | - | core.PuregoSafeRegister(&xSpringAnimationCalculateVelocity, libs, "adw_spring_animation_calculate_velocity") | |||
| 459 | - | core.PuregoSafeRegister(&xSpringAnimationGetClamp, libs, "adw_spring_animation_get_clamp") | |||
| 460 | - | core.PuregoSafeRegister(&xSpringAnimationGetEpsilon, libs, "adw_spring_animation_get_epsilon") | |||
| 461 | - | core.PuregoSafeRegister(&xSpringAnimationGetEstimatedDuration, libs, "adw_spring_animation_get_estimated_duration") | |||
| 462 | - | core.PuregoSafeRegister(&xSpringAnimationGetInitialVelocity, libs, "adw_spring_animation_get_initial_velocity") | |||
| 463 | - | core.PuregoSafeRegister(&xSpringAnimationGetSpringParams, libs, "adw_spring_animation_get_spring_params") | |||
| 464 | - | core.PuregoSafeRegister(&xSpringAnimationGetValueFrom, libs, "adw_spring_animation_get_value_from") | |||
| 465 | - | core.PuregoSafeRegister(&xSpringAnimationGetValueTo, libs, "adw_spring_animation_get_value_to") | |||
| 466 | - | core.PuregoSafeRegister(&xSpringAnimationGetVelocity, libs, "adw_spring_animation_get_velocity") | |||
| 467 | - | core.PuregoSafeRegister(&xSpringAnimationSetClamp, libs, "adw_spring_animation_set_clamp") | |||
| 468 | - | core.PuregoSafeRegister(&xSpringAnimationSetEpsilon, libs, "adw_spring_animation_set_epsilon") | |||
| 469 | - | core.PuregoSafeRegister(&xSpringAnimationSetInitialVelocity, libs, "adw_spring_animation_set_initial_velocity") | |||
| 470 | - | core.PuregoSafeRegister(&xSpringAnimationSetSpringParams, libs, "adw_spring_animation_set_spring_params") | |||
| 471 | - | core.PuregoSafeRegister(&xSpringAnimationSetValueFrom, libs, "adw_spring_animation_set_value_from") | |||
| 472 | - | core.PuregoSafeRegister(&xSpringAnimationSetValueTo, libs, "adw_spring_animation_set_value_to") | |||
| 473 | } | 477 | } | ||