Revert "chore(deps): pin puregotk nil-signal fix"
This reverts commit a161e348e2093172038390b0906448f0ae979a0d.
- commit
- 40378d5e4fd2372d054e49168ab2a6f67aedd0fd
- author
- brice · · 2026-07-14 17:59 UTC
- parent
- 8d647bb
- signature
- GPG Verified
CD88F9E564E0102646FB6077A1A07C7C7C3E349D· arch-gpg Verified for the committer email
905 files · +25263 -27842
M go.mod +1 -1
| @@ -11,7 +11,7 @@ require ( | |||
| 11 | 11 | github.com/bnema/purego-pipewire v0.1.5-0.20260714124450-6504b9cdf02a | |
| 12 | 12 | github.com/bnema/purego-sqlite v0.1.4-0.20260714131321-3614fe683b9c | |
| 13 | 13 | github.com/bnema/purego-webp v0.2.1-0.20260714152238-7bc9c402fdf6 | |
| 14 | - | github.com/bnema/puregotk v0.7.1-0.20260714170452-0b6b9b901234 | |
| 14 | + | github.com/bnema/puregotk v0.7.0 | |
| 15 | 15 | github.com/charmbracelet/bubbles v1.0.0 | |
| 16 | 16 | github.com/charmbracelet/bubbletea v1.3.10 | |
| 17 | 17 | github.com/charmbracelet/lipgloss v1.1.0 | |
| @@ -11,7 +11,7 @@ require ( | |||||
| 11 | github.com/bnema/purego-pipewire v0.1.5-0.20260714124450-6504b9cdf02a | 11 | github.com/bnema/purego-pipewire v0.1.5-0.20260714124450-6504b9cdf02a | ||
| 12 | github.com/bnema/purego-sqlite v0.1.4-0.20260714131321-3614fe683b9c | 12 | github.com/bnema/purego-sqlite v0.1.4-0.20260714131321-3614fe683b9c | ||
| 13 | github.com/bnema/purego-webp v0.2.1-0.20260714152238-7bc9c402fdf6 | 13 | github.com/bnema/purego-webp v0.2.1-0.20260714152238-7bc9c402fdf6 | ||
| 14 | - | github.com/bnema/puregotk v0.7.1-0.20260714170452-0b6b9b901234 | 14 | + | github.com/bnema/puregotk v0.7.0 |
| 15 | github.com/charmbracelet/bubbles v1.0.0 | 15 | github.com/charmbracelet/bubbles v1.0.0 | ||
| 16 | github.com/charmbracelet/bubbletea v1.3.10 | 16 | github.com/charmbracelet/bubbletea v1.3.10 | ||
| 17 | github.com/charmbracelet/lipgloss v1.1.0 | 17 | github.com/charmbracelet/lipgloss v1.1.0 | ||
M go.sum +0 -4 generated file: collapsed
M vendor/github.com/bnema/puregotk/internal/core/core.go +4 -197 generated file: collapsed
M vendor/github.com/bnema/puregotk/pkg/core/core.go +0 -10 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/adw/adw-about-dialog.go +64 -99 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/adw/adw-about-window.go +62 -95 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/adw/adw-accent-color.go +15 -7 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/adw/adw-action-row.go +29 -33 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/adw/adw-alert-dialog.go +47 -66 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/adw/adw-animation-target.go +27 -10 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/adw/adw-animation-util.go +12 -4 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/adw/adw-animation.go +26 -24 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/adw/adw-application-window.go +22 -14 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/adw/adw-application.go +15 -3 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/adw/adw-avatar.go +25 -22 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/adw/adw-banner.go +26 -23 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/adw/adw-bin.go +16 -5 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/adw/adw-bottom-sheet.go +38 -47 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/adw/adw-breakpoint-bin.go +19 -10 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/adw/adw-breakpoint.go +37 -33 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/adw/adw-button-content.go +22 -18 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/adw/adw-button-row.go +18 -10 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/adw/adw-carousel-indicator-dots.go +16 -5 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/adw/adw-carousel-indicator-lines.go +16 -5 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/adw/adw-carousel.go +37 -47 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/adw/adw-clamp-layout.go +20 -14 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/adw/adw-clamp-scrollable.go +22 -17 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/adw/adw-clamp.go +22 -17 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/adw/adw-combo-row.go +33 -34 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/adw/adw-dialog.go +38 -45 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/adw/adw-easing.go +13 -3 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/adw/adw-entry-row.go +33 -40 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/adw/adw-enum-list-model.go +22 -13 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/adw/adw-expander-row.go +33 -40 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/adw/adw-flap.go +48 -61 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/adw/adw-fold-threshold-policy.go +1 -10 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/adw/adw-header-bar.go +33 -36 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/adw/adw-inline-view-switcher.go +24 -18 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/adw/adw-layout-slot.go +15 -4 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/adw/adw-layout.go +17 -7 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/adw/adw-leaflet.go +56 -69 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/adw/adw-length-unit.go +14 -5 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/adw/adw-main.go +15 -5 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/adw/adw-message-dialog.go +44 -63 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/adw/adw-multi-layout-view.go +23 -17 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/adw/adw-navigation-direction.go +1 -10 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/adw/adw-navigation-split-view.go +32 -36 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/adw/adw-navigation-view.go +49 -60 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/adw/adw-overlay-split-view.go +38 -48 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/adw/adw-password-entry-row.go +13 -2 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/adw/adw-preferences-dialog.go +25 -23 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/adw/adw-preferences-group.go +26 -24 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/adw/adw-preferences-page.go +33 -38 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/adw/adw-preferences-row.go +22 -18 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/adw/adw-preferences-window.go +29 -31 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/adw/adw-shortcut-label.go +18 -10 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/adw/adw-shortcuts-dialog.go +15 -4 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/adw/adw-shortcuts-item.go +25 -23 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/adw/adw-shortcuts-section.go +17 -8 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/adw/adw-sidebar-item.go +37 -45 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/adw/adw-sidebar-section.go +27 -24 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/adw/adw-sidebar.go +39 -41 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/adw/adw-spin-row.go +34 -40
| @@ -5,6 +5,7 @@ import ( | |||
| 5 | 5 | "structs" | |
| 6 | 6 | "unsafe" | |
| 7 | 7 | ||
| 8 | + | "github.com/bnema/purego" | |
| 8 | 9 | "github.com/bnema/puregotk/pkg/core" | |
| 9 | 10 | "github.com/bnema/puregotk/v4/glib" | |
| 10 | 11 | "github.com/bnema/puregotk/v4/gobject" | |
| @@ -76,7 +77,6 @@ type SpinRow struct { | |||
| 76 | 77 | var xSpinRowGLibType func() types.GType | |
| 77 | 78 | ||
| 78 | 79 | func SpinRowGLibType() types.GType { | |
| 79 | - | core.LazyRegister(&xSpinRowGLibType, "ADW", "adw_spin_row_get_type", false) | |
| 80 | 80 | return xSpinRowGLibType() | |
| 81 | 81 | } | |
| 82 | 82 | ||
| @@ -90,7 +90,6 @@ var xNewSpinRow func(uintptr, float64, uint) uintptr | |||
| 90 | 90 | ||
| 91 | 91 | // Creates a new `AdwSpinRow`. | |
| 92 | 92 | func NewSpinRow(AdjustmentVar *gtk.Adjustment, ClimbRateVar float64, DigitsVar uint) *SpinRow { | |
| 93 | - | core.LazyRegister(&xNewSpinRow, "ADW", "adw_spin_row_new", false) | |
| 94 | 93 | var cls *SpinRow | |
| 95 | 94 | ||
| 96 | 95 | cret := xNewSpinRow(AdjustmentVar.GoPointer(), ClimbRateVar, DigitsVar) | |
| @@ -119,7 +118,6 @@ var xNewSpinRowWithRange func(float64, float64, float64) uintptr | |||
| 119 | 118 | // of ten. If the resulting precision is not suitable for your needs, use | |
| 120 | 119 | // [method@SpinRow.set_digits] to correct it. | |
| 121 | 120 | func NewSpinRowWithRange(MinVar float64, MaxVar float64, StepVar float64) *SpinRow { | |
| 122 | - | core.LazyRegister(&xNewSpinRowWithRange, "ADW", "adw_spin_row_new_with_range", false) | |
| 123 | 121 | var cls *SpinRow | |
| 124 | 122 | ||
| 125 | 123 | cret := xNewSpinRowWithRange(MinVar, MaxVar, StepVar) | |
| @@ -140,8 +138,6 @@ var xSpinRowConfigure func(uintptr, uintptr, float64, uint) | |||
| 140 | 138 | // The adjustment, climb rate, and number of decimal places are updated | |
| 141 | 139 | // accordingly. | |
| 142 | 140 | func (x *SpinRow) Configure(AdjustmentVar *gtk.Adjustment, ClimbRateVar float64, DigitsVar uint) { | |
| 143 | - | core.LazyRegister(&xSpinRowConfigure, "ADW", "adw_spin_row_configure", false) | |
| 144 | - | ||
| 145 | 141 | xSpinRowConfigure(x.GoPointer(), AdjustmentVar.GoPointer(), ClimbRateVar, DigitsVar) | |
| 146 | 142 | } | |
| 147 | 143 | ||
| @@ -149,7 +145,6 @@ var xSpinRowGetAdjustment func(uintptr) uintptr | |||
| 149 | 145 | ||
| 150 | 146 | // Gets the adjustment that holds the value for the spin row. | |
| 151 | 147 | func (x *SpinRow) GetAdjustment() *gtk.Adjustment { | |
| 152 | - | core.LazyRegister(&xSpinRowGetAdjustment, "ADW", "adw_spin_row_get_adjustment", false) | |
| 153 | 148 | var cls *gtk.Adjustment | |
| 154 | 149 | ||
| 155 | 150 | cret := xSpinRowGetAdjustment(x.GoPointer()) | |
| @@ -167,8 +162,6 @@ var xSpinRowGetClimbRate func(uintptr) float64 | |||
| 167 | 162 | ||
| 168 | 163 | // Gets the acceleration rate when you hold down a button or key. | |
| 169 | 164 | func (x *SpinRow) GetClimbRate() float64 { | |
| 170 | - | core.LazyRegister(&xSpinRowGetClimbRate, "ADW", "adw_spin_row_get_climb_rate", false) | |
| 171 | - | ||
| 172 | 165 | cret := xSpinRowGetClimbRate(x.GoPointer()) | |
| 173 | 166 | return cret | |
| 174 | 167 | } | |
| @@ -177,8 +170,6 @@ var xSpinRowGetDigits func(uintptr) uint | |||
| 177 | 170 | ||
| 178 | 171 | // Gets the number of decimal places to display. | |
| 179 | 172 | func (x *SpinRow) GetDigits() uint { | |
| 180 | - | core.LazyRegister(&xSpinRowGetDigits, "ADW", "adw_spin_row_get_digits", false) | |
| 181 | - | ||
| 182 | 173 | cret := xSpinRowGetDigits(x.GoPointer()) | |
| 183 | 174 | return cret | |
| 184 | 175 | } | |
| @@ -187,8 +178,6 @@ var xSpinRowGetNumeric func(uintptr) bool | |||
| 187 | 178 | ||
| 188 | 179 | // Gets whether non-numeric characters should be ignored. | |
| 189 | 180 | func (x *SpinRow) GetNumeric() bool { | |
| 190 | - | core.LazyRegister(&xSpinRowGetNumeric, "ADW", "adw_spin_row_get_numeric", false) | |
| 191 | - | ||
| 192 | 181 | cret := xSpinRowGetNumeric(x.GoPointer()) | |
| 193 | 182 | return cret | |
| 194 | 183 | } | |
| @@ -197,8 +186,6 @@ var xSpinRowGetSnapToTicks func(uintptr) bool | |||
| 197 | 186 | ||
| 198 | 187 | // Gets whether invalid values are snapped to nearest step increment. | |
| 199 | 188 | func (x *SpinRow) GetSnapToTicks() bool { | |
| 200 | - | core.LazyRegister(&xSpinRowGetSnapToTicks, "ADW", "adw_spin_row_get_snap_to_ticks", false) | |
| 201 | - | ||
| 202 | 189 | cret := xSpinRowGetSnapToTicks(x.GoPointer()) | |
| 203 | 190 | return cret | |
| 204 | 191 | } | |
| @@ -207,8 +194,6 @@ var xSpinRowGetUpdatePolicy func(uintptr) gtk.SpinButtonUpdatePolicy | |||
| 207 | 194 | ||
| 208 | 195 | // Gets the policy for updating the spin row. | |
| 209 | 196 | func (x *SpinRow) GetUpdatePolicy() gtk.SpinButtonUpdatePolicy { | |
| 210 | - | core.LazyRegister(&xSpinRowGetUpdatePolicy, "ADW", "adw_spin_row_get_update_policy", false) | |
| 211 | - | ||
| 212 | 197 | cret := xSpinRowGetUpdatePolicy(x.GoPointer()) | |
| 213 | 198 | return cret | |
| 214 | 199 | } | |
| @@ -217,8 +202,6 @@ var xSpinRowGetValue func(uintptr) float64 | |||
| 217 | 202 | ||
| 218 | 203 | // Gets the current value. | |
| 219 | 204 | func (x *SpinRow) GetValue() float64 { | |
| 220 | - | core.LazyRegister(&xSpinRowGetValue, "ADW", "adw_spin_row_get_value", false) | |
| 221 | - | ||
| 222 | 205 | cret := xSpinRowGetValue(x.GoPointer()) | |
| 223 | 206 | return cret | |
| 224 | 207 | } | |
| @@ -227,8 +210,6 @@ var xSpinRowGetWrap func(uintptr) bool | |||
| 227 | 210 | ||
| 228 | 211 | // Gets whether the spin row should wrap upon reaching its limits. | |
| 229 | 212 | func (x *SpinRow) GetWrap() bool { | |
| 230 | - | core.LazyRegister(&xSpinRowGetWrap, "ADW", "adw_spin_row_get_wrap", false) | |
| 231 | - | ||
| 232 | 213 | cret := xSpinRowGetWrap(x.GoPointer()) | |
| 233 | 214 | return cret | |
| 234 | 215 | } | |
| @@ -237,8 +218,6 @@ var xSpinRowSetAdjustment func(uintptr, uintptr) | |||
| 237 | 218 | ||
| 238 | 219 | // Sets the adjustment that holds the value for the spin row. | |
| 239 | 220 | func (x *SpinRow) SetAdjustment(AdjustmentVar *gtk.Adjustment) { | |
| 240 | - | core.LazyRegister(&xSpinRowSetAdjustment, "ADW", "adw_spin_row_set_adjustment", false) | |
| 241 | - | ||
| 242 | 221 | xSpinRowSetAdjustment(x.GoPointer(), AdjustmentVar.GoPointer()) | |
| 243 | 222 | } | |
| 244 | 223 | ||
| @@ -246,8 +225,6 @@ var xSpinRowSetClimbRate func(uintptr, float64) | |||
| 246 | 225 | ||
| 247 | 226 | // Sets the acceleration rate when you hold down a button or key. | |
| 248 | 227 | func (x *SpinRow) SetClimbRate(ClimbRateVar float64) { | |
| 249 | - | core.LazyRegister(&xSpinRowSetClimbRate, "ADW", "adw_spin_row_set_climb_rate", false) | |
| 250 | - | ||
| 251 | 228 | xSpinRowSetClimbRate(x.GoPointer(), ClimbRateVar) | |
| 252 | 229 | } | |
| 253 | 230 | ||
| @@ -255,8 +232,6 @@ var xSpinRowSetDigits func(uintptr, uint) | |||
| 255 | 232 | ||
| 256 | 233 | // Sets the number of decimal places to display. | |
| 257 | 234 | func (x *SpinRow) SetDigits(DigitsVar uint) { | |
| 258 | - | core.LazyRegister(&xSpinRowSetDigits, "ADW", "adw_spin_row_set_digits", false) | |
| 259 | - | ||
| 260 | 235 | xSpinRowSetDigits(x.GoPointer(), DigitsVar) | |
| 261 | 236 | } | |
| 262 | 237 | ||
| @@ -264,8 +239,6 @@ var xSpinRowSetNumeric func(uintptr, bool) | |||
| 264 | 239 | ||
| 265 | 240 | // Sets whether non-numeric characters should be ignored. | |
| 266 | 241 | func (x *SpinRow) SetNumeric(NumericVar bool) { | |
| 267 | - | core.LazyRegister(&xSpinRowSetNumeric, "ADW", "adw_spin_row_set_numeric", false) | |
| 268 | - | ||
| 269 | 242 | xSpinRowSetNumeric(x.GoPointer(), NumericVar) | |
| 270 | 243 | } | |
| 271 | 244 | ||
| @@ -276,8 +249,6 @@ var xSpinRowSetRange func(uintptr, float64, float64) | |||
| 276 | 249 | // If the current value is outside this range, it will be adjusted | |
| 277 | 250 | // to fit within the range, otherwise it will remain unchanged. | |
| 278 | 251 | func (x *SpinRow) SetRange(MinVar float64, MaxVar float64) { | |
| 279 | - | core.LazyRegister(&xSpinRowSetRange, "ADW", "adw_spin_row_set_range", false) | |
| 280 | - | ||
| 281 | 252 | xSpinRowSetRange(x.GoPointer(), MinVar, MaxVar) | |
| 282 | 253 | } | |
| 283 | 254 | ||
| @@ -285,8 +256,6 @@ var xSpinRowSetSnapToTicks func(uintptr, bool) | |||
| 285 | 256 | ||
| 286 | 257 | // Sets whether invalid values are snapped to the nearest step increment. | |
| 287 | 258 | func (x *SpinRow) SetSnapToTicks(SnapToTicksVar bool) { | |
| 288 | - | core.LazyRegister(&xSpinRowSetSnapToTicks, "ADW", "adw_spin_row_set_snap_to_ticks", false) | |
| 289 | - | ||
| 290 | 259 | xSpinRowSetSnapToTicks(x.GoPointer(), SnapToTicksVar) | |
| 291 | 260 | } | |
| 292 | 261 | ||
| @@ -296,8 +265,6 @@ var xSpinRowSetUpdatePolicy func(uintptr, gtk.SpinButtonUpdatePolicy) | |||
| 296 | 265 | // | |
| 297 | 266 | // The options are always, or only when the value is invalid. | |
| 298 | 267 | func (x *SpinRow) SetUpdatePolicy(PolicyVar gtk.SpinButtonUpdatePolicy) { | |
| 299 | - | core.LazyRegister(&xSpinRowSetUpdatePolicy, "ADW", "adw_spin_row_set_update_policy", false) | |
| 300 | - | ||
| 301 | 268 | xSpinRowSetUpdatePolicy(x.GoPointer(), PolicyVar) | |
| 302 | 269 | } | |
| 303 | 270 | ||
| @@ -305,8 +272,6 @@ var xSpinRowSetValue func(uintptr, float64) | |||
| 305 | 272 | ||
| 306 | 273 | // Sets the current value. | |
| 307 | 274 | func (x *SpinRow) SetValue(ValueVar float64) { | |
| 308 | - | core.LazyRegister(&xSpinRowSetValue, "ADW", "adw_spin_row_set_value", false) | |
| 309 | - | ||
| 310 | 275 | xSpinRowSetValue(x.GoPointer(), ValueVar) | |
| 311 | 276 | } | |
| 312 | 277 | ||
| @@ -314,8 +279,6 @@ var xSpinRowSetWrap func(uintptr, bool) | |||
| 314 | 279 | ||
| 315 | 280 | // Sets whether the spin row should wrap upon reaching its limits. | |
| 316 | 281 | func (x *SpinRow) SetWrap(WrapVar bool) { | |
| 317 | - | core.LazyRegister(&xSpinRowSetWrap, "ADW", "adw_spin_row_set_wrap", false) | |
| 318 | - | ||
| 319 | 282 | xSpinRowSetWrap(x.GoPointer(), WrapVar) | |
| 320 | 283 | } | |
| 321 | 284 | ||
| @@ -323,8 +286,6 @@ var xSpinRowUpdate func(uintptr) | |||
| 323 | 286 | ||
| 324 | 287 | // Manually force an update of the spin row. | |
| 325 | 288 | func (x *SpinRow) Update() { | |
| 326 | - | core.LazyRegister(&xSpinRowUpdate, "ADW", "adw_spin_row_update", false) | |
| 327 | - | ||
| 328 | 289 | xSpinRowUpdate(x.GoPointer()) | |
| 329 | 290 | } | |
| 330 | 291 | ||
| @@ -1115,4 +1076,37 @@ func (x *SpinRow) SetWidthChars(NCharsVar int) { | |||
| 1115 | 1076 | func init() { | |
| 1116 | 1077 | core.SetPackageName("ADW", "libadwaita-1") | |
| 1117 | 1078 | core.SetSharedLibraries("ADW", []string{"libadwaita-1.so.0", "libadwaita-1.0.dylib"}) | |
| 1079 | + | var libs []uintptr | |
| 1080 | + | for _, libPath := range core.GetPaths("ADW") { | |
| 1081 | + | lib, err := purego.Dlopen(libPath, purego.RTLD_NOW|purego.RTLD_GLOBAL) | |
| 1082 | + | if err != nil { | |
| 1083 | + | panic(err) | |
| 1084 | + | } | |
| 1085 | + | libs = append(libs, lib) | |
| 1086 | + | } | |
| 1087 | + | ||
| 1088 | + | core.PuregoSafeRegister(&xSpinRowGLibType, libs, "adw_spin_row_get_type") | |
| 1089 | + | ||
| 1090 | + | core.PuregoSafeRegister(&xNewSpinRow, libs, "adw_spin_row_new") | |
| 1091 | + | core.PuregoSafeRegister(&xNewSpinRowWithRange, libs, "adw_spin_row_new_with_range") | |
| 1092 | + | ||
| 1093 | + | core.PuregoSafeRegister(&xSpinRowConfigure, libs, "adw_spin_row_configure") | |
| 1094 | + | core.PuregoSafeRegister(&xSpinRowGetAdjustment, libs, "adw_spin_row_get_adjustment") | |
| 1095 | + | core.PuregoSafeRegister(&xSpinRowGetClimbRate, libs, "adw_spin_row_get_climb_rate") | |
| 1096 | + | core.PuregoSafeRegister(&xSpinRowGetDigits, libs, "adw_spin_row_get_digits") | |
| 1097 | + | core.PuregoSafeRegister(&xSpinRowGetNumeric, libs, "adw_spin_row_get_numeric") | |
| 1098 | + | core.PuregoSafeRegister(&xSpinRowGetSnapToTicks, libs, "adw_spin_row_get_snap_to_ticks") | |
| 1099 | + | core.PuregoSafeRegister(&xSpinRowGetUpdatePolicy, libs, "adw_spin_row_get_update_policy") | |
| 1100 | + | core.PuregoSafeRegister(&xSpinRowGetValue, libs, "adw_spin_row_get_value") | |
| 1101 | + | core.PuregoSafeRegister(&xSpinRowGetWrap, libs, "adw_spin_row_get_wrap") | |
| 1102 | + | core.PuregoSafeRegister(&xSpinRowSetAdjustment, libs, "adw_spin_row_set_adjustment") | |
| 1103 | + | core.PuregoSafeRegister(&xSpinRowSetClimbRate, libs, "adw_spin_row_set_climb_rate") | |
| 1104 | + | core.PuregoSafeRegister(&xSpinRowSetDigits, libs, "adw_spin_row_set_digits") | |
| 1105 | + | core.PuregoSafeRegister(&xSpinRowSetNumeric, libs, "adw_spin_row_set_numeric") | |
| 1106 | + | core.PuregoSafeRegister(&xSpinRowSetRange, libs, "adw_spin_row_set_range") | |
| 1107 | + | core.PuregoSafeRegister(&xSpinRowSetSnapToTicks, libs, "adw_spin_row_set_snap_to_ticks") | |
| 1108 | + | core.PuregoSafeRegister(&xSpinRowSetUpdatePolicy, libs, "adw_spin_row_set_update_policy") | |
| 1109 | + | core.PuregoSafeRegister(&xSpinRowSetValue, libs, "adw_spin_row_set_value") | |
| 1110 | + | core.PuregoSafeRegister(&xSpinRowSetWrap, libs, "adw_spin_row_set_wrap") | |
| 1111 | + | core.PuregoSafeRegister(&xSpinRowUpdate, libs, "adw_spin_row_update") | |
| 1118 | 1112 | } | |
| @@ -5,6 +5,7 @@ import ( | |||||
| 5 | "structs" | 5 | "structs" | ||
| 6 | "unsafe" | 6 | "unsafe" | ||
| 7 | 7 | ||||
| 8 | + | "github.com/bnema/purego" | |||
| 8 | "github.com/bnema/puregotk/pkg/core" | 9 | "github.com/bnema/puregotk/pkg/core" | ||
| 9 | "github.com/bnema/puregotk/v4/glib" | 10 | "github.com/bnema/puregotk/v4/glib" | ||
| 10 | "github.com/bnema/puregotk/v4/gobject" | 11 | "github.com/bnema/puregotk/v4/gobject" | ||
| @@ -76,7 +77,6 @@ type SpinRow struct { | |||||
| 76 | var xSpinRowGLibType func() types.GType | 77 | var xSpinRowGLibType func() types.GType | ||
| 77 | 78 | ||||
| 78 | func SpinRowGLibType() types.GType { | 79 | func SpinRowGLibType() types.GType { | ||
| 79 | - | core.LazyRegister(&xSpinRowGLibType, "ADW", "adw_spin_row_get_type", false) | |||
| 80 | return xSpinRowGLibType() | 80 | return xSpinRowGLibType() | ||
| 81 | } | 81 | } | ||
| 82 | 82 | ||||
| @@ -90,7 +90,6 @@ var xNewSpinRow func(uintptr, float64, uint) uintptr | |||||
| 90 | 90 | ||||
| 91 | // Creates a new `AdwSpinRow`. | 91 | // Creates a new `AdwSpinRow`. | ||
| 92 | func NewSpinRow(AdjustmentVar *gtk.Adjustment, ClimbRateVar float64, DigitsVar uint) *SpinRow { | 92 | func NewSpinRow(AdjustmentVar *gtk.Adjustment, ClimbRateVar float64, DigitsVar uint) *SpinRow { | ||
| 93 | - | core.LazyRegister(&xNewSpinRow, "ADW", "adw_spin_row_new", false) | |||
| 94 | var cls *SpinRow | 93 | var cls *SpinRow | ||
| 95 | 94 | ||||
| 96 | cret := xNewSpinRow(AdjustmentVar.GoPointer(), ClimbRateVar, DigitsVar) | 95 | cret := xNewSpinRow(AdjustmentVar.GoPointer(), ClimbRateVar, DigitsVar) | ||
| @@ -119,7 +118,6 @@ var xNewSpinRowWithRange func(float64, float64, float64) uintptr | |||||
| 119 | // of ten. If the resulting precision is not suitable for your needs, use | 118 | // of ten. If the resulting precision is not suitable for your needs, use | ||
| 120 | // [method@SpinRow.set_digits] to correct it. | 119 | // [method@SpinRow.set_digits] to correct it. | ||
| 121 | func NewSpinRowWithRange(MinVar float64, MaxVar float64, StepVar float64) *SpinRow { | 120 | func NewSpinRowWithRange(MinVar float64, MaxVar float64, StepVar float64) *SpinRow { | ||
| 122 | - | core.LazyRegister(&xNewSpinRowWithRange, "ADW", "adw_spin_row_new_with_range", false) | |||
| 123 | var cls *SpinRow | 121 | var cls *SpinRow | ||
| 124 | 122 | ||||
| 125 | cret := xNewSpinRowWithRange(MinVar, MaxVar, StepVar) | 123 | cret := xNewSpinRowWithRange(MinVar, MaxVar, StepVar) | ||
| @@ -140,8 +138,6 @@ var xSpinRowConfigure func(uintptr, uintptr, float64, uint) | |||||
| 140 | // The adjustment, climb rate, and number of decimal places are updated | 138 | // The adjustment, climb rate, and number of decimal places are updated | ||
| 141 | // accordingly. | 139 | // accordingly. | ||
| 142 | func (x *SpinRow) Configure(AdjustmentVar *gtk.Adjustment, ClimbRateVar float64, DigitsVar uint) { | 140 | func (x *SpinRow) Configure(AdjustmentVar *gtk.Adjustment, ClimbRateVar float64, DigitsVar uint) { | ||
| 143 | - | core.LazyRegister(&xSpinRowConfigure, "ADW", "adw_spin_row_configure", false) | |||
| 144 | - | ||||
| 145 | xSpinRowConfigure(x.GoPointer(), AdjustmentVar.GoPointer(), ClimbRateVar, DigitsVar) | 141 | xSpinRowConfigure(x.GoPointer(), AdjustmentVar.GoPointer(), ClimbRateVar, DigitsVar) | ||
| 146 | } | 142 | } | ||
| 147 | 143 | ||||
| @@ -149,7 +145,6 @@ var xSpinRowGetAdjustment func(uintptr) uintptr | |||||
| 149 | 145 | ||||
| 150 | // Gets the adjustment that holds the value for the spin row. | 146 | // Gets the adjustment that holds the value for the spin row. | ||
| 151 | func (x *SpinRow) GetAdjustment() *gtk.Adjustment { | 147 | func (x *SpinRow) GetAdjustment() *gtk.Adjustment { | ||
| 152 | - | core.LazyRegister(&xSpinRowGetAdjustment, "ADW", "adw_spin_row_get_adjustment", false) | |||
| 153 | var cls *gtk.Adjustment | 148 | var cls *gtk.Adjustment | ||
| 154 | 149 | ||||
| 155 | cret := xSpinRowGetAdjustment(x.GoPointer()) | 150 | cret := xSpinRowGetAdjustment(x.GoPointer()) | ||
| @@ -167,8 +162,6 @@ var xSpinRowGetClimbRate func(uintptr) float64 | |||||
| 167 | 162 | ||||
| 168 | // Gets the acceleration rate when you hold down a button or key. | 163 | // Gets the acceleration rate when you hold down a button or key. | ||
| 169 | func (x *SpinRow) GetClimbRate() float64 { | 164 | func (x *SpinRow) GetClimbRate() float64 { | ||
| 170 | - | core.LazyRegister(&xSpinRowGetClimbRate, "ADW", "adw_spin_row_get_climb_rate", false) | |||
| 171 | - | ||||
| 172 | cret := xSpinRowGetClimbRate(x.GoPointer()) | 165 | cret := xSpinRowGetClimbRate(x.GoPointer()) | ||
| 173 | return cret | 166 | return cret | ||
| 174 | } | 167 | } | ||
| @@ -177,8 +170,6 @@ var xSpinRowGetDigits func(uintptr) uint | |||||
| 177 | 170 | ||||
| 178 | // Gets the number of decimal places to display. | 171 | // Gets the number of decimal places to display. | ||
| 179 | func (x *SpinRow) GetDigits() uint { | 172 | func (x *SpinRow) GetDigits() uint { | ||
| 180 | - | core.LazyRegister(&xSpinRowGetDigits, "ADW", "adw_spin_row_get_digits", false) | |||
| 181 | - | ||||
| 182 | cret := xSpinRowGetDigits(x.GoPointer()) | 173 | cret := xSpinRowGetDigits(x.GoPointer()) | ||
| 183 | return cret | 174 | return cret | ||
| 184 | } | 175 | } | ||
| @@ -187,8 +178,6 @@ var xSpinRowGetNumeric func(uintptr) bool | |||||
| 187 | 178 | ||||
| 188 | // Gets whether non-numeric characters should be ignored. | 179 | // Gets whether non-numeric characters should be ignored. | ||
| 189 | func (x *SpinRow) GetNumeric() bool { | 180 | func (x *SpinRow) GetNumeric() bool { | ||
| 190 | - | core.LazyRegister(&xSpinRowGetNumeric, "ADW", "adw_spin_row_get_numeric", false) | |||
| 191 | - | ||||
| 192 | cret := xSpinRowGetNumeric(x.GoPointer()) | 181 | cret := xSpinRowGetNumeric(x.GoPointer()) | ||
| 193 | return cret | 182 | return cret | ||
| 194 | } | 183 | } | ||
| @@ -197,8 +186,6 @@ var xSpinRowGetSnapToTicks func(uintptr) bool | |||||
| 197 | 186 | ||||
| 198 | // Gets whether invalid values are snapped to nearest step increment. | 187 | // Gets whether invalid values are snapped to nearest step increment. | ||
| 199 | func (x *SpinRow) GetSnapToTicks() bool { | 188 | func (x *SpinRow) GetSnapToTicks() bool { | ||
| 200 | - | core.LazyRegister(&xSpinRowGetSnapToTicks, "ADW", "adw_spin_row_get_snap_to_ticks", false) | |||
| 201 | - | ||||
| 202 | cret := xSpinRowGetSnapToTicks(x.GoPointer()) | 189 | cret := xSpinRowGetSnapToTicks(x.GoPointer()) | ||
| 203 | return cret | 190 | return cret | ||
| 204 | } | 191 | } | ||
| @@ -207,8 +194,6 @@ var xSpinRowGetUpdatePolicy func(uintptr) gtk.SpinButtonUpdatePolicy | |||||
| 207 | 194 | ||||
| 208 | // Gets the policy for updating the spin row. | 195 | // Gets the policy for updating the spin row. | ||
| 209 | func (x *SpinRow) GetUpdatePolicy() gtk.SpinButtonUpdatePolicy { | 196 | func (x *SpinRow) GetUpdatePolicy() gtk.SpinButtonUpdatePolicy { | ||
| 210 | - | core.LazyRegister(&xSpinRowGetUpdatePolicy, "ADW", "adw_spin_row_get_update_policy", false) | |||
| 211 | - | ||||
| 212 | cret := xSpinRowGetUpdatePolicy(x.GoPointer()) | 197 | cret := xSpinRowGetUpdatePolicy(x.GoPointer()) | ||
| 213 | return cret | 198 | return cret | ||
| 214 | } | 199 | } | ||
| @@ -217,8 +202,6 @@ var xSpinRowGetValue func(uintptr) float64 | |||||
| 217 | 202 | ||||
| 218 | // Gets the current value. | 203 | // Gets the current value. | ||
| 219 | func (x *SpinRow) GetValue() float64 { | 204 | func (x *SpinRow) GetValue() float64 { | ||
| 220 | - | core.LazyRegister(&xSpinRowGetValue, "ADW", "adw_spin_row_get_value", false) | |||
| 221 | - | ||||
| 222 | cret := xSpinRowGetValue(x.GoPointer()) | 205 | cret := xSpinRowGetValue(x.GoPointer()) | ||
| 223 | return cret | 206 | return cret | ||
| 224 | } | 207 | } | ||
| @@ -227,8 +210,6 @@ var xSpinRowGetWrap func(uintptr) bool | |||||
| 227 | 210 | ||||
| 228 | // Gets whether the spin row should wrap upon reaching its limits. | 211 | // Gets whether the spin row should wrap upon reaching its limits. | ||
| 229 | func (x *SpinRow) GetWrap() bool { | 212 | func (x *SpinRow) GetWrap() bool { | ||
| 230 | - | core.LazyRegister(&xSpinRowGetWrap, "ADW", "adw_spin_row_get_wrap", false) | |||
| 231 | - | ||||
| 232 | cret := xSpinRowGetWrap(x.GoPointer()) | 213 | cret := xSpinRowGetWrap(x.GoPointer()) | ||
| 233 | return cret | 214 | return cret | ||
| 234 | } | 215 | } | ||
| @@ -237,8 +218,6 @@ var xSpinRowSetAdjustment func(uintptr, uintptr) | |||||
| 237 | 218 | ||||
| 238 | // Sets the adjustment that holds the value for the spin row. | 219 | // Sets the adjustment that holds the value for the spin row. | ||
| 239 | func (x *SpinRow) SetAdjustment(AdjustmentVar *gtk.Adjustment) { | 220 | func (x *SpinRow) SetAdjustment(AdjustmentVar *gtk.Adjustment) { | ||
| 240 | - | core.LazyRegister(&xSpinRowSetAdjustment, "ADW", "adw_spin_row_set_adjustment", false) | |||
| 241 | - | ||||
| 242 | xSpinRowSetAdjustment(x.GoPointer(), AdjustmentVar.GoPointer()) | 221 | xSpinRowSetAdjustment(x.GoPointer(), AdjustmentVar.GoPointer()) | ||
| 243 | } | 222 | } | ||
| 244 | 223 | ||||
| @@ -246,8 +225,6 @@ var xSpinRowSetClimbRate func(uintptr, float64) | |||||
| 246 | 225 | ||||
| 247 | // Sets the acceleration rate when you hold down a button or key. | 226 | // Sets the acceleration rate when you hold down a button or key. | ||
| 248 | func (x *SpinRow) SetClimbRate(ClimbRateVar float64) { | 227 | func (x *SpinRow) SetClimbRate(ClimbRateVar float64) { | ||
| 249 | - | core.LazyRegister(&xSpinRowSetClimbRate, "ADW", "adw_spin_row_set_climb_rate", false) | |||
| 250 | - | ||||
| 251 | xSpinRowSetClimbRate(x.GoPointer(), ClimbRateVar) | 228 | xSpinRowSetClimbRate(x.GoPointer(), ClimbRateVar) | ||
| 252 | } | 229 | } | ||
| 253 | 230 | ||||
| @@ -255,8 +232,6 @@ var xSpinRowSetDigits func(uintptr, uint) | |||||
| 255 | 232 | ||||
| 256 | // Sets the number of decimal places to display. | 233 | // Sets the number of decimal places to display. | ||
| 257 | func (x *SpinRow) SetDigits(DigitsVar uint) { | 234 | func (x *SpinRow) SetDigits(DigitsVar uint) { | ||
| 258 | - | core.LazyRegister(&xSpinRowSetDigits, "ADW", "adw_spin_row_set_digits", false) | |||
| 259 | - | ||||
| 260 | xSpinRowSetDigits(x.GoPointer(), DigitsVar) | 235 | xSpinRowSetDigits(x.GoPointer(), DigitsVar) | ||
| 261 | } | 236 | } | ||
| 262 | 237 | ||||
| @@ -264,8 +239,6 @@ var xSpinRowSetNumeric func(uintptr, bool) | |||||
| 264 | 239 | ||||
| 265 | // Sets whether non-numeric characters should be ignored. | 240 | // Sets whether non-numeric characters should be ignored. | ||
| 266 | func (x *SpinRow) SetNumeric(NumericVar bool) { | 241 | func (x *SpinRow) SetNumeric(NumericVar bool) { | ||
| 267 | - | core.LazyRegister(&xSpinRowSetNumeric, "ADW", "adw_spin_row_set_numeric", false) | |||
| 268 | - | ||||
| 269 | xSpinRowSetNumeric(x.GoPointer(), NumericVar) | 242 | xSpinRowSetNumeric(x.GoPointer(), NumericVar) | ||
| 270 | } | 243 | } | ||
| 271 | 244 | ||||
| @@ -276,8 +249,6 @@ var xSpinRowSetRange func(uintptr, float64, float64) | |||||
| 276 | // If the current value is outside this range, it will be adjusted | 249 | // If the current value is outside this range, it will be adjusted | ||
| 277 | // to fit within the range, otherwise it will remain unchanged. | 250 | // to fit within the range, otherwise it will remain unchanged. | ||
| 278 | func (x *SpinRow) SetRange(MinVar float64, MaxVar float64) { | 251 | func (x *SpinRow) SetRange(MinVar float64, MaxVar float64) { | ||
| 279 | - | core.LazyRegister(&xSpinRowSetRange, "ADW", "adw_spin_row_set_range", false) | |||
| 280 | - | ||||
| 281 | xSpinRowSetRange(x.GoPointer(), MinVar, MaxVar) | 252 | xSpinRowSetRange(x.GoPointer(), MinVar, MaxVar) | ||
| 282 | } | 253 | } | ||
| 283 | 254 | ||||
| @@ -285,8 +256,6 @@ var xSpinRowSetSnapToTicks func(uintptr, bool) | |||||
| 285 | 256 | ||||
| 286 | // Sets whether invalid values are snapped to the nearest step increment. | 257 | // Sets whether invalid values are snapped to the nearest step increment. | ||
| 287 | func (x *SpinRow) SetSnapToTicks(SnapToTicksVar bool) { | 258 | func (x *SpinRow) SetSnapToTicks(SnapToTicksVar bool) { | ||
| 288 | - | core.LazyRegister(&xSpinRowSetSnapToTicks, "ADW", "adw_spin_row_set_snap_to_ticks", false) | |||
| 289 | - | ||||
| 290 | xSpinRowSetSnapToTicks(x.GoPointer(), SnapToTicksVar) | 259 | xSpinRowSetSnapToTicks(x.GoPointer(), SnapToTicksVar) | ||
| 291 | } | 260 | } | ||
| 292 | 261 | ||||
| @@ -296,8 +265,6 @@ var xSpinRowSetUpdatePolicy func(uintptr, gtk.SpinButtonUpdatePolicy) | |||||
| 296 | // | 265 | // | ||
| 297 | // The options are always, or only when the value is invalid. | 266 | // The options are always, or only when the value is invalid. | ||
| 298 | func (x *SpinRow) SetUpdatePolicy(PolicyVar gtk.SpinButtonUpdatePolicy) { | 267 | func (x *SpinRow) SetUpdatePolicy(PolicyVar gtk.SpinButtonUpdatePolicy) { | ||
| 299 | - | core.LazyRegister(&xSpinRowSetUpdatePolicy, "ADW", "adw_spin_row_set_update_policy", false) | |||
| 300 | - | ||||
| 301 | xSpinRowSetUpdatePolicy(x.GoPointer(), PolicyVar) | 268 | xSpinRowSetUpdatePolicy(x.GoPointer(), PolicyVar) | ||
| 302 | } | 269 | } | ||
| 303 | 270 | ||||
| @@ -305,8 +272,6 @@ var xSpinRowSetValue func(uintptr, float64) | |||||
| 305 | 272 | ||||
| 306 | // Sets the current value. | 273 | // Sets the current value. | ||
| 307 | func (x *SpinRow) SetValue(ValueVar float64) { | 274 | func (x *SpinRow) SetValue(ValueVar float64) { | ||
| 308 | - | core.LazyRegister(&xSpinRowSetValue, "ADW", "adw_spin_row_set_value", false) | |||
| 309 | - | ||||
| 310 | xSpinRowSetValue(x.GoPointer(), ValueVar) | 275 | xSpinRowSetValue(x.GoPointer(), ValueVar) | ||
| 311 | } | 276 | } | ||
| 312 | 277 | ||||
| @@ -314,8 +279,6 @@ var xSpinRowSetWrap func(uintptr, bool) | |||||
| 314 | 279 | ||||
| 315 | // Sets whether the spin row should wrap upon reaching its limits. | 280 | // Sets whether the spin row should wrap upon reaching its limits. | ||
| 316 | func (x *SpinRow) SetWrap(WrapVar bool) { | 281 | func (x *SpinRow) SetWrap(WrapVar bool) { | ||
| 317 | - | core.LazyRegister(&xSpinRowSetWrap, "ADW", "adw_spin_row_set_wrap", false) | |||
| 318 | - | ||||
| 319 | xSpinRowSetWrap(x.GoPointer(), WrapVar) | 282 | xSpinRowSetWrap(x.GoPointer(), WrapVar) | ||
| 320 | } | 283 | } | ||
| 321 | 284 | ||||
| @@ -323,8 +286,6 @@ var xSpinRowUpdate func(uintptr) | |||||
| 323 | 286 | ||||
| 324 | // Manually force an update of the spin row. | 287 | // Manually force an update of the spin row. | ||
| 325 | func (x *SpinRow) Update() { | 288 | func (x *SpinRow) Update() { | ||
| 326 | - | core.LazyRegister(&xSpinRowUpdate, "ADW", "adw_spin_row_update", false) | |||
| 327 | - | ||||
| 328 | xSpinRowUpdate(x.GoPointer()) | 289 | xSpinRowUpdate(x.GoPointer()) | ||
| 329 | } | 290 | } | ||
| 330 | 291 | ||||
| @@ -1115,4 +1076,37 @@ func (x *SpinRow) SetWidthChars(NCharsVar int) { | |||||
| 1115 | func init() { | 1076 | func init() { | ||
| 1116 | core.SetPackageName("ADW", "libadwaita-1") | 1077 | core.SetPackageName("ADW", "libadwaita-1") | ||
| 1117 | core.SetSharedLibraries("ADW", []string{"libadwaita-1.so.0", "libadwaita-1.0.dylib"}) | 1078 | core.SetSharedLibraries("ADW", []string{"libadwaita-1.so.0", "libadwaita-1.0.dylib"}) | ||
| 1079 | + | var libs []uintptr | |||
| 1080 | + | for _, libPath := range core.GetPaths("ADW") { | |||
| 1081 | + | lib, err := purego.Dlopen(libPath, purego.RTLD_NOW|purego.RTLD_GLOBAL) | |||
| 1082 | + | if err != nil { | |||
| 1083 | + | panic(err) | |||
| 1084 | + | } | |||
| 1085 | + | libs = append(libs, lib) | |||
| 1086 | + | } | |||
| 1087 | + | ||||
| 1088 | + | core.PuregoSafeRegister(&xSpinRowGLibType, libs, "adw_spin_row_get_type") | |||
| 1089 | + | ||||
| 1090 | + | core.PuregoSafeRegister(&xNewSpinRow, libs, "adw_spin_row_new") | |||
| 1091 | + | core.PuregoSafeRegister(&xNewSpinRowWithRange, libs, "adw_spin_row_new_with_range") | |||
| 1092 | + | ||||
| 1093 | + | core.PuregoSafeRegister(&xSpinRowConfigure, libs, "adw_spin_row_configure") | |||
| 1094 | + | core.PuregoSafeRegister(&xSpinRowGetAdjustment, libs, "adw_spin_row_get_adjustment") | |||
| 1095 | + | core.PuregoSafeRegister(&xSpinRowGetClimbRate, libs, "adw_spin_row_get_climb_rate") | |||
| 1096 | + | core.PuregoSafeRegister(&xSpinRowGetDigits, libs, "adw_spin_row_get_digits") | |||
| 1097 | + | core.PuregoSafeRegister(&xSpinRowGetNumeric, libs, "adw_spin_row_get_numeric") | |||
| 1098 | + | core.PuregoSafeRegister(&xSpinRowGetSnapToTicks, libs, "adw_spin_row_get_snap_to_ticks") | |||
| 1099 | + | core.PuregoSafeRegister(&xSpinRowGetUpdatePolicy, libs, "adw_spin_row_get_update_policy") | |||
| 1100 | + | core.PuregoSafeRegister(&xSpinRowGetValue, libs, "adw_spin_row_get_value") | |||
| 1101 | + | core.PuregoSafeRegister(&xSpinRowGetWrap, libs, "adw_spin_row_get_wrap") | |||
| 1102 | + | core.PuregoSafeRegister(&xSpinRowSetAdjustment, libs, "adw_spin_row_set_adjustment") | |||
| 1103 | + | core.PuregoSafeRegister(&xSpinRowSetClimbRate, libs, "adw_spin_row_set_climb_rate") | |||
| 1104 | + | core.PuregoSafeRegister(&xSpinRowSetDigits, libs, "adw_spin_row_set_digits") | |||
| 1105 | + | core.PuregoSafeRegister(&xSpinRowSetNumeric, libs, "adw_spin_row_set_numeric") | |||
| 1106 | + | core.PuregoSafeRegister(&xSpinRowSetRange, libs, "adw_spin_row_set_range") | |||
| 1107 | + | core.PuregoSafeRegister(&xSpinRowSetSnapToTicks, libs, "adw_spin_row_set_snap_to_ticks") | |||
| 1108 | + | core.PuregoSafeRegister(&xSpinRowSetUpdatePolicy, libs, "adw_spin_row_set_update_policy") | |||
| 1109 | + | core.PuregoSafeRegister(&xSpinRowSetValue, libs, "adw_spin_row_set_value") | |||
| 1110 | + | core.PuregoSafeRegister(&xSpinRowSetWrap, libs, "adw_spin_row_set_wrap") | |||
| 1111 | + | core.PuregoSafeRegister(&xSpinRowUpdate, libs, "adw_spin_row_update") | |||
| 1118 | } | 1112 | } | ||