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
| @@ -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/gobject" | |
| 10 | 11 | "github.com/bnema/puregotk/v4/gobject/types" | |
| @@ -178,7 +179,6 @@ type NavigationSplitView struct { | |||
| 178 | 179 | var xNavigationSplitViewGLibType func() types.GType | |
| 179 | 180 | ||
| 180 | 181 | func NavigationSplitViewGLibType() types.GType { | |
| 181 | - | core.LazyRegister(&xNavigationSplitViewGLibType, "ADW", "adw_navigation_split_view_get_type", false) | |
| 182 | 182 | return xNavigationSplitViewGLibType() | |
| 183 | 183 | } | |
| 184 | 184 | ||
| @@ -192,7 +192,6 @@ var xNewNavigationSplitView func() uintptr | |||
| 192 | 192 | ||
| 193 | 193 | // Creates a new `AdwNavigationSplitView`. | |
| 194 | 194 | func NewNavigationSplitView() *NavigationSplitView { | |
| 195 | - | core.LazyRegister(&xNewNavigationSplitView, "ADW", "adw_navigation_split_view_new", false) | |
| 196 | 195 | var cls *NavigationSplitView | |
| 197 | 196 | ||
| 198 | 197 | cret := xNewNavigationSplitView() | |
| @@ -210,8 +209,6 @@ var xNavigationSplitViewGetCollapsed func(uintptr) bool | |||
| 210 | 209 | ||
| 211 | 210 | // Gets whether @self is collapsed. | |
| 212 | 211 | func (x *NavigationSplitView) GetCollapsed() bool { | |
| 213 | - | core.LazyRegister(&xNavigationSplitViewGetCollapsed, "ADW", "adw_navigation_split_view_get_collapsed", false) | |
| 214 | - | ||
| 215 | 212 | cret := xNavigationSplitViewGetCollapsed(x.GoPointer()) | |
| 216 | 213 | return cret | |
| 217 | 214 | } | |
| @@ -220,7 +217,6 @@ var xNavigationSplitViewGetContent func(uintptr) uintptr | |||
| 220 | 217 | ||
| 221 | 218 | // Sets the content widget for @self. | |
| 222 | 219 | func (x *NavigationSplitView) GetContent() *NavigationPage { | |
| 223 | - | core.LazyRegister(&xNavigationSplitViewGetContent, "ADW", "adw_navigation_split_view_get_content", false) | |
| 224 | 220 | var cls *NavigationPage | |
| 225 | 221 | ||
| 226 | 222 | cret := xNavigationSplitViewGetContent(x.GoPointer()) | |
| @@ -238,8 +234,6 @@ var xNavigationSplitViewGetMaxSidebarWidth func(uintptr) float64 | |||
| 238 | 234 | ||
| 239 | 235 | // Gets the maximum sidebar width for @self. | |
| 240 | 236 | func (x *NavigationSplitView) GetMaxSidebarWidth() float64 { | |
| 241 | - | core.LazyRegister(&xNavigationSplitViewGetMaxSidebarWidth, "ADW", "adw_navigation_split_view_get_max_sidebar_width", false) | |
| 242 | - | ||
| 243 | 237 | cret := xNavigationSplitViewGetMaxSidebarWidth(x.GoPointer()) | |
| 244 | 238 | return cret | |
| 245 | 239 | } | |
| @@ -248,8 +242,6 @@ var xNavigationSplitViewGetMinSidebarWidth func(uintptr) float64 | |||
| 248 | 242 | ||
| 249 | 243 | // Gets the minimum sidebar width for @self. | |
| 250 | 244 | func (x *NavigationSplitView) GetMinSidebarWidth() float64 { | |
| 251 | - | core.LazyRegister(&xNavigationSplitViewGetMinSidebarWidth, "ADW", "adw_navigation_split_view_get_min_sidebar_width", false) | |
| 252 | - | ||
| 253 | 245 | cret := xNavigationSplitViewGetMinSidebarWidth(x.GoPointer()) | |
| 254 | 246 | return cret | |
| 255 | 247 | } | |
| @@ -258,8 +250,6 @@ var xNavigationSplitViewGetShowContent func(uintptr) bool | |||
| 258 | 250 | ||
| 259 | 251 | // Gets which page is visible when @self is collapsed. | |
| 260 | 252 | func (x *NavigationSplitView) GetShowContent() bool { | |
| 261 | - | core.LazyRegister(&xNavigationSplitViewGetShowContent, "ADW", "adw_navigation_split_view_get_show_content", false) | |
| 262 | - | ||
| 263 | 253 | cret := xNavigationSplitViewGetShowContent(x.GoPointer()) | |
| 264 | 254 | return cret | |
| 265 | 255 | } | |
| @@ -268,7 +258,6 @@ var xNavigationSplitViewGetSidebar func(uintptr) uintptr | |||
| 268 | 258 | ||
| 269 | 259 | // Gets the sidebar widget for @self. | |
| 270 | 260 | func (x *NavigationSplitView) GetSidebar() *NavigationPage { | |
| 271 | - | core.LazyRegister(&xNavigationSplitViewGetSidebar, "ADW", "adw_navigation_split_view_get_sidebar", false) | |
| 272 | 261 | var cls *NavigationPage | |
| 273 | 262 | ||
| 274 | 263 | cret := xNavigationSplitViewGetSidebar(x.GoPointer()) | |
| @@ -286,8 +275,6 @@ var xNavigationSplitViewGetSidebarPosition func(uintptr) gtk.PackType | |||
| 286 | 275 | ||
| 287 | 276 | // Gets the sidebar position for @self. | |
| 288 | 277 | func (x *NavigationSplitView) GetSidebarPosition() gtk.PackType { | |
| 289 | - | core.LazyRegister(&xNavigationSplitViewGetSidebarPosition, "ADW", "adw_navigation_split_view_get_sidebar_position", false) | |
| 290 | - | ||
| 291 | 278 | cret := xNavigationSplitViewGetSidebarPosition(x.GoPointer()) | |
| 292 | 279 | return cret | |
| 293 | 280 | } | |
| @@ -296,8 +283,6 @@ var xNavigationSplitViewGetSidebarWidthFraction func(uintptr) float64 | |||
| 296 | 283 | ||
| 297 | 284 | // Gets the preferred sidebar width fraction for @self. | |
| 298 | 285 | func (x *NavigationSplitView) GetSidebarWidthFraction() float64 { | |
| 299 | - | core.LazyRegister(&xNavigationSplitViewGetSidebarWidthFraction, "ADW", "adw_navigation_split_view_get_sidebar_width_fraction", false) | |
| 300 | - | ||
| 301 | 286 | cret := xNavigationSplitViewGetSidebarWidthFraction(x.GoPointer()) | |
| 302 | 287 | return cret | |
| 303 | 288 | } | |
| @@ -306,8 +291,6 @@ var xNavigationSplitViewGetSidebarWidthUnit func(uintptr) LengthUnit | |||
| 306 | 291 | ||
| 307 | 292 | // Gets the length unit for minimum and maximum sidebar widths. | |
| 308 | 293 | func (x *NavigationSplitView) GetSidebarWidthUnit() LengthUnit { | |
| 309 | - | core.LazyRegister(&xNavigationSplitViewGetSidebarWidthUnit, "ADW", "adw_navigation_split_view_get_sidebar_width_unit", false) | |
| 310 | - | ||
| 311 | 294 | cret := xNavigationSplitViewGetSidebarWidthUnit(x.GoPointer()) | |
| 312 | 295 | return cret | |
| 313 | 296 | } | |
| @@ -322,8 +305,6 @@ var xNavigationSplitViewSetCollapsed func(uintptr, bool) | |||
| 322 | 305 | // The [property@NavigationSplitView:show-content] controls which child is | |
| 323 | 306 | // visible while collapsed. | |
| 324 | 307 | func (x *NavigationSplitView) SetCollapsed(CollapsedVar bool) { | |
| 325 | - | core.LazyRegister(&xNavigationSplitViewSetCollapsed, "ADW", "adw_navigation_split_view_set_collapsed", false) | |
| 326 | - | ||
| 327 | 308 | xNavigationSplitViewSetCollapsed(x.GoPointer(), CollapsedVar) | |
| 328 | 309 | } | |
| 329 | 310 | ||
| @@ -331,8 +312,6 @@ var xNavigationSplitViewSetContent func(uintptr, uintptr) | |||
| 331 | 312 | ||
| 332 | 313 | // Sets the content widget for @self. | |
| 333 | 314 | func (x *NavigationSplitView) SetContent(ContentVar *NavigationPage) { | |
| 334 | - | core.LazyRegister(&xNavigationSplitViewSetContent, "ADW", "adw_navigation_split_view_set_content", false) | |
| 335 | - | ||
| 336 | 315 | xNavigationSplitViewSetContent(x.GoPointer(), ContentVar.GoPointer()) | |
| 337 | 316 | } | |
| 338 | 317 | ||
| @@ -346,8 +325,6 @@ var xNavigationSplitViewSetMaxSidebarWidth func(uintptr, float64) | |||
| 346 | 325 | // The sidebar widget can still be allocated with larger width if its own | |
| 347 | 326 | // minimum width exceeds it. | |
| 348 | 327 | func (x *NavigationSplitView) SetMaxSidebarWidth(WidthVar float64) { | |
| 349 | - | core.LazyRegister(&xNavigationSplitViewSetMaxSidebarWidth, "ADW", "adw_navigation_split_view_set_max_sidebar_width", false) | |
| 350 | - | ||
| 351 | 328 | xNavigationSplitViewSetMaxSidebarWidth(x.GoPointer(), WidthVar) | |
| 352 | 329 | } | |
| 353 | 330 | ||
| @@ -361,8 +338,6 @@ var xNavigationSplitViewSetMinSidebarWidth func(uintptr, float64) | |||
| 361 | 338 | // The sidebar widget can still be allocated with larger width if its own | |
| 362 | 339 | // minimum width exceeds it. | |
| 363 | 340 | func (x *NavigationSplitView) SetMinSidebarWidth(WidthVar float64) { | |
| 364 | - | core.LazyRegister(&xNavigationSplitViewSetMinSidebarWidth, "ADW", "adw_navigation_split_view_set_min_sidebar_width", false) | |
| 365 | - | ||
| 366 | 341 | xNavigationSplitViewSetMinSidebarWidth(x.GoPointer(), WidthVar) | |
| 367 | 342 | } | |
| 368 | 343 | ||
| @@ -376,8 +351,6 @@ var xNavigationSplitViewSetShowContent func(uintptr, bool) | |||
| 376 | 351 | // | |
| 377 | 352 | // If the split view is already collapsed, the visible page changes immediately. | |
| 378 | 353 | func (x *NavigationSplitView) SetShowContent(ShowContentVar bool) { | |
| 379 | - | core.LazyRegister(&xNavigationSplitViewSetShowContent, "ADW", "adw_navigation_split_view_set_show_content", false) | |
| 380 | - | ||
| 381 | 354 | xNavigationSplitViewSetShowContent(x.GoPointer(), ShowContentVar) | |
| 382 | 355 | } | |
| 383 | 356 | ||
| @@ -385,8 +358,6 @@ var xNavigationSplitViewSetSidebar func(uintptr, uintptr) | |||
| 385 | 358 | ||
| 386 | 359 | // Sets the sidebar widget for @self. | |
| 387 | 360 | func (x *NavigationSplitView) SetSidebar(SidebarVar *NavigationPage) { | |
| 388 | - | core.LazyRegister(&xNavigationSplitViewSetSidebar, "ADW", "adw_navigation_split_view_set_sidebar", false) | |
| 389 | - | ||
| 390 | 361 | xNavigationSplitViewSetSidebar(x.GoPointer(), SidebarVar.GoPointer()) | |
| 391 | 362 | } | |
| 392 | 363 | ||
| @@ -400,8 +371,6 @@ var xNavigationSplitViewSetSidebarPosition func(uintptr, gtk.PackType) | |||
| 400 | 371 | // If set to [enum@Gtk.PackType.end], the sidebar is displayed after the | |
| 401 | 372 | // content, and the content will be the root page. | |
| 402 | 373 | func (x *NavigationSplitView) SetSidebarPosition(PositionVar gtk.PackType) { | |
| 403 | - | core.LazyRegister(&xNavigationSplitViewSetSidebarPosition, "ADW", "adw_navigation_split_view_set_sidebar_position", false) | |
| 404 | - | ||
| 405 | 374 | xNavigationSplitViewSetSidebarPosition(x.GoPointer(), PositionVar) | |
| 406 | 375 | } | |
| 407 | 376 | ||
| @@ -416,8 +385,6 @@ var xNavigationSplitViewSetSidebarWidthFraction func(uintptr, float64) | |||
| 416 | 385 | // The sidebar widget can be allocated with larger width if its own minimum | |
| 417 | 386 | // width exceeds the preferred width. | |
| 418 | 387 | func (x *NavigationSplitView) SetSidebarWidthFraction(FractionVar float64) { | |
| 419 | - | core.LazyRegister(&xNavigationSplitViewSetSidebarWidthFraction, "ADW", "adw_navigation_split_view_set_sidebar_width_fraction", false) | |
| 420 | - | ||
| 421 | 388 | xNavigationSplitViewSetSidebarWidthFraction(x.GoPointer(), FractionVar) | |
| 422 | 389 | } | |
| 423 | 390 | ||
| @@ -428,8 +395,6 @@ var xNavigationSplitViewSetSidebarWidthUnit func(uintptr, LengthUnit) | |||
| 428 | 395 | // See [property@NavigationSplitView:min-sidebar-width] and | |
| 429 | 396 | // [property@NavigationSplitView:max-sidebar-width]. | |
| 430 | 397 | func (x *NavigationSplitView) SetSidebarWidthUnit(UnitVar LengthUnit) { | |
| 431 | - | core.LazyRegister(&xNavigationSplitViewSetSidebarWidthUnit, "ADW", "adw_navigation_split_view_set_sidebar_width_unit", false) | |
| 432 | - | ||
| 433 | 398 | xNavigationSplitViewSetSidebarWidthUnit(x.GoPointer(), UnitVar) | |
| 434 | 399 | } | |
| 435 | 400 | ||
| @@ -856,4 +821,35 @@ func (x *NavigationSplitView) GetBuildableId() string { | |||
| 856 | 821 | func init() { | |
| 857 | 822 | core.SetPackageName("ADW", "libadwaita-1") | |
| 858 | 823 | core.SetSharedLibraries("ADW", []string{"libadwaita-1.so.0", "libadwaita-1.0.dylib"}) | |
| 824 | + | var libs []uintptr | |
| 825 | + | for _, libPath := range core.GetPaths("ADW") { | |
| 826 | + | lib, err := purego.Dlopen(libPath, purego.RTLD_NOW|purego.RTLD_GLOBAL) | |
| 827 | + | if err != nil { | |
| 828 | + | panic(err) | |
| 829 | + | } | |
| 830 | + | libs = append(libs, lib) | |
| 831 | + | } | |
| 832 | + | ||
| 833 | + | core.PuregoSafeRegister(&xNavigationSplitViewGLibType, libs, "adw_navigation_split_view_get_type") | |
| 834 | + | ||
| 835 | + | core.PuregoSafeRegister(&xNewNavigationSplitView, libs, "adw_navigation_split_view_new") | |
| 836 | + | ||
| 837 | + | core.PuregoSafeRegister(&xNavigationSplitViewGetCollapsed, libs, "adw_navigation_split_view_get_collapsed") | |
| 838 | + | core.PuregoSafeRegister(&xNavigationSplitViewGetContent, libs, "adw_navigation_split_view_get_content") | |
| 839 | + | core.PuregoSafeRegister(&xNavigationSplitViewGetMaxSidebarWidth, libs, "adw_navigation_split_view_get_max_sidebar_width") | |
| 840 | + | core.PuregoSafeRegister(&xNavigationSplitViewGetMinSidebarWidth, libs, "adw_navigation_split_view_get_min_sidebar_width") | |
| 841 | + | core.PuregoSafeRegister(&xNavigationSplitViewGetShowContent, libs, "adw_navigation_split_view_get_show_content") | |
| 842 | + | core.PuregoSafeRegister(&xNavigationSplitViewGetSidebar, libs, "adw_navigation_split_view_get_sidebar") | |
| 843 | + | core.PuregoSafeRegister(&xNavigationSplitViewGetSidebarPosition, libs, "adw_navigation_split_view_get_sidebar_position") | |
| 844 | + | core.PuregoSafeRegister(&xNavigationSplitViewGetSidebarWidthFraction, libs, "adw_navigation_split_view_get_sidebar_width_fraction") | |
| 845 | + | core.PuregoSafeRegister(&xNavigationSplitViewGetSidebarWidthUnit, libs, "adw_navigation_split_view_get_sidebar_width_unit") | |
| 846 | + | core.PuregoSafeRegister(&xNavigationSplitViewSetCollapsed, libs, "adw_navigation_split_view_set_collapsed") | |
| 847 | + | core.PuregoSafeRegister(&xNavigationSplitViewSetContent, libs, "adw_navigation_split_view_set_content") | |
| 848 | + | core.PuregoSafeRegister(&xNavigationSplitViewSetMaxSidebarWidth, libs, "adw_navigation_split_view_set_max_sidebar_width") | |
| 849 | + | core.PuregoSafeRegister(&xNavigationSplitViewSetMinSidebarWidth, libs, "adw_navigation_split_view_set_min_sidebar_width") | |
| 850 | + | core.PuregoSafeRegister(&xNavigationSplitViewSetShowContent, libs, "adw_navigation_split_view_set_show_content") | |
| 851 | + | core.PuregoSafeRegister(&xNavigationSplitViewSetSidebar, libs, "adw_navigation_split_view_set_sidebar") | |
| 852 | + | core.PuregoSafeRegister(&xNavigationSplitViewSetSidebarPosition, libs, "adw_navigation_split_view_set_sidebar_position") | |
| 853 | + | core.PuregoSafeRegister(&xNavigationSplitViewSetSidebarWidthFraction, libs, "adw_navigation_split_view_set_sidebar_width_fraction") | |
| 854 | + | core.PuregoSafeRegister(&xNavigationSplitViewSetSidebarWidthUnit, libs, "adw_navigation_split_view_set_sidebar_width_unit") | |
| 859 | 855 | } | |
| @@ -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/gobject" | 10 | "github.com/bnema/puregotk/v4/gobject" | ||
| 10 | "github.com/bnema/puregotk/v4/gobject/types" | 11 | "github.com/bnema/puregotk/v4/gobject/types" | ||
| @@ -178,7 +179,6 @@ type NavigationSplitView struct { | |||||
| 178 | var xNavigationSplitViewGLibType func() types.GType | 179 | var xNavigationSplitViewGLibType func() types.GType | ||
| 179 | 180 | ||||
| 180 | func NavigationSplitViewGLibType() types.GType { | 181 | func NavigationSplitViewGLibType() types.GType { | ||
| 181 | - | core.LazyRegister(&xNavigationSplitViewGLibType, "ADW", "adw_navigation_split_view_get_type", false) | |||
| 182 | return xNavigationSplitViewGLibType() | 182 | return xNavigationSplitViewGLibType() | ||
| 183 | } | 183 | } | ||
| 184 | 184 | ||||
| @@ -192,7 +192,6 @@ var xNewNavigationSplitView func() uintptr | |||||
| 192 | 192 | ||||
| 193 | // Creates a new `AdwNavigationSplitView`. | 193 | // Creates a new `AdwNavigationSplitView`. | ||
| 194 | func NewNavigationSplitView() *NavigationSplitView { | 194 | func NewNavigationSplitView() *NavigationSplitView { | ||
| 195 | - | core.LazyRegister(&xNewNavigationSplitView, "ADW", "adw_navigation_split_view_new", false) | |||
| 196 | var cls *NavigationSplitView | 195 | var cls *NavigationSplitView | ||
| 197 | 196 | ||||
| 198 | cret := xNewNavigationSplitView() | 197 | cret := xNewNavigationSplitView() | ||
| @@ -210,8 +209,6 @@ var xNavigationSplitViewGetCollapsed func(uintptr) bool | |||||
| 210 | 209 | ||||
| 211 | // Gets whether @self is collapsed. | 210 | // Gets whether @self is collapsed. | ||
| 212 | func (x *NavigationSplitView) GetCollapsed() bool { | 211 | func (x *NavigationSplitView) GetCollapsed() bool { | ||
| 213 | - | core.LazyRegister(&xNavigationSplitViewGetCollapsed, "ADW", "adw_navigation_split_view_get_collapsed", false) | |||
| 214 | - | ||||
| 215 | cret := xNavigationSplitViewGetCollapsed(x.GoPointer()) | 212 | cret := xNavigationSplitViewGetCollapsed(x.GoPointer()) | ||
| 216 | return cret | 213 | return cret | ||
| 217 | } | 214 | } | ||
| @@ -220,7 +217,6 @@ var xNavigationSplitViewGetContent func(uintptr) uintptr | |||||
| 220 | 217 | ||||
| 221 | // Sets the content widget for @self. | 218 | // Sets the content widget for @self. | ||
| 222 | func (x *NavigationSplitView) GetContent() *NavigationPage { | 219 | func (x *NavigationSplitView) GetContent() *NavigationPage { | ||
| 223 | - | core.LazyRegister(&xNavigationSplitViewGetContent, "ADW", "adw_navigation_split_view_get_content", false) | |||
| 224 | var cls *NavigationPage | 220 | var cls *NavigationPage | ||
| 225 | 221 | ||||
| 226 | cret := xNavigationSplitViewGetContent(x.GoPointer()) | 222 | cret := xNavigationSplitViewGetContent(x.GoPointer()) | ||
| @@ -238,8 +234,6 @@ var xNavigationSplitViewGetMaxSidebarWidth func(uintptr) float64 | |||||
| 238 | 234 | ||||
| 239 | // Gets the maximum sidebar width for @self. | 235 | // Gets the maximum sidebar width for @self. | ||
| 240 | func (x *NavigationSplitView) GetMaxSidebarWidth() float64 { | 236 | func (x *NavigationSplitView) GetMaxSidebarWidth() float64 { | ||
| 241 | - | core.LazyRegister(&xNavigationSplitViewGetMaxSidebarWidth, "ADW", "adw_navigation_split_view_get_max_sidebar_width", false) | |||
| 242 | - | ||||
| 243 | cret := xNavigationSplitViewGetMaxSidebarWidth(x.GoPointer()) | 237 | cret := xNavigationSplitViewGetMaxSidebarWidth(x.GoPointer()) | ||
| 244 | return cret | 238 | return cret | ||
| 245 | } | 239 | } | ||
| @@ -248,8 +242,6 @@ var xNavigationSplitViewGetMinSidebarWidth func(uintptr) float64 | |||||
| 248 | 242 | ||||
| 249 | // Gets the minimum sidebar width for @self. | 243 | // Gets the minimum sidebar width for @self. | ||
| 250 | func (x *NavigationSplitView) GetMinSidebarWidth() float64 { | 244 | func (x *NavigationSplitView) GetMinSidebarWidth() float64 { | ||
| 251 | - | core.LazyRegister(&xNavigationSplitViewGetMinSidebarWidth, "ADW", "adw_navigation_split_view_get_min_sidebar_width", false) | |||
| 252 | - | ||||
| 253 | cret := xNavigationSplitViewGetMinSidebarWidth(x.GoPointer()) | 245 | cret := xNavigationSplitViewGetMinSidebarWidth(x.GoPointer()) | ||
| 254 | return cret | 246 | return cret | ||
| 255 | } | 247 | } | ||
| @@ -258,8 +250,6 @@ var xNavigationSplitViewGetShowContent func(uintptr) bool | |||||
| 258 | 250 | ||||
| 259 | // Gets which page is visible when @self is collapsed. | 251 | // Gets which page is visible when @self is collapsed. | ||
| 260 | func (x *NavigationSplitView) GetShowContent() bool { | 252 | func (x *NavigationSplitView) GetShowContent() bool { | ||
| 261 | - | core.LazyRegister(&xNavigationSplitViewGetShowContent, "ADW", "adw_navigation_split_view_get_show_content", false) | |||
| 262 | - | ||||
| 263 | cret := xNavigationSplitViewGetShowContent(x.GoPointer()) | 253 | cret := xNavigationSplitViewGetShowContent(x.GoPointer()) | ||
| 264 | return cret | 254 | return cret | ||
| 265 | } | 255 | } | ||
| @@ -268,7 +258,6 @@ var xNavigationSplitViewGetSidebar func(uintptr) uintptr | |||||
| 268 | 258 | ||||
| 269 | // Gets the sidebar widget for @self. | 259 | // Gets the sidebar widget for @self. | ||
| 270 | func (x *NavigationSplitView) GetSidebar() *NavigationPage { | 260 | func (x *NavigationSplitView) GetSidebar() *NavigationPage { | ||
| 271 | - | core.LazyRegister(&xNavigationSplitViewGetSidebar, "ADW", "adw_navigation_split_view_get_sidebar", false) | |||
| 272 | var cls *NavigationPage | 261 | var cls *NavigationPage | ||
| 273 | 262 | ||||
| 274 | cret := xNavigationSplitViewGetSidebar(x.GoPointer()) | 263 | cret := xNavigationSplitViewGetSidebar(x.GoPointer()) | ||
| @@ -286,8 +275,6 @@ var xNavigationSplitViewGetSidebarPosition func(uintptr) gtk.PackType | |||||
| 286 | 275 | ||||
| 287 | // Gets the sidebar position for @self. | 276 | // Gets the sidebar position for @self. | ||
| 288 | func (x *NavigationSplitView) GetSidebarPosition() gtk.PackType { | 277 | func (x *NavigationSplitView) GetSidebarPosition() gtk.PackType { | ||
| 289 | - | core.LazyRegister(&xNavigationSplitViewGetSidebarPosition, "ADW", "adw_navigation_split_view_get_sidebar_position", false) | |||
| 290 | - | ||||
| 291 | cret := xNavigationSplitViewGetSidebarPosition(x.GoPointer()) | 278 | cret := xNavigationSplitViewGetSidebarPosition(x.GoPointer()) | ||
| 292 | return cret | 279 | return cret | ||
| 293 | } | 280 | } | ||
| @@ -296,8 +283,6 @@ var xNavigationSplitViewGetSidebarWidthFraction func(uintptr) float64 | |||||
| 296 | 283 | ||||
| 297 | // Gets the preferred sidebar width fraction for @self. | 284 | // Gets the preferred sidebar width fraction for @self. | ||
| 298 | func (x *NavigationSplitView) GetSidebarWidthFraction() float64 { | 285 | func (x *NavigationSplitView) GetSidebarWidthFraction() float64 { | ||
| 299 | - | core.LazyRegister(&xNavigationSplitViewGetSidebarWidthFraction, "ADW", "adw_navigation_split_view_get_sidebar_width_fraction", false) | |||
| 300 | - | ||||
| 301 | cret := xNavigationSplitViewGetSidebarWidthFraction(x.GoPointer()) | 286 | cret := xNavigationSplitViewGetSidebarWidthFraction(x.GoPointer()) | ||
| 302 | return cret | 287 | return cret | ||
| 303 | } | 288 | } | ||
| @@ -306,8 +291,6 @@ var xNavigationSplitViewGetSidebarWidthUnit func(uintptr) LengthUnit | |||||
| 306 | 291 | ||||
| 307 | // Gets the length unit for minimum and maximum sidebar widths. | 292 | // Gets the length unit for minimum and maximum sidebar widths. | ||
| 308 | func (x *NavigationSplitView) GetSidebarWidthUnit() LengthUnit { | 293 | func (x *NavigationSplitView) GetSidebarWidthUnit() LengthUnit { | ||
| 309 | - | core.LazyRegister(&xNavigationSplitViewGetSidebarWidthUnit, "ADW", "adw_navigation_split_view_get_sidebar_width_unit", false) | |||
| 310 | - | ||||
| 311 | cret := xNavigationSplitViewGetSidebarWidthUnit(x.GoPointer()) | 294 | cret := xNavigationSplitViewGetSidebarWidthUnit(x.GoPointer()) | ||
| 312 | return cret | 295 | return cret | ||
| 313 | } | 296 | } | ||
| @@ -322,8 +305,6 @@ var xNavigationSplitViewSetCollapsed func(uintptr, bool) | |||||
| 322 | // The [property@NavigationSplitView:show-content] controls which child is | 305 | // The [property@NavigationSplitView:show-content] controls which child is | ||
| 323 | // visible while collapsed. | 306 | // visible while collapsed. | ||
| 324 | func (x *NavigationSplitView) SetCollapsed(CollapsedVar bool) { | 307 | func (x *NavigationSplitView) SetCollapsed(CollapsedVar bool) { | ||
| 325 | - | core.LazyRegister(&xNavigationSplitViewSetCollapsed, "ADW", "adw_navigation_split_view_set_collapsed", false) | |||
| 326 | - | ||||
| 327 | xNavigationSplitViewSetCollapsed(x.GoPointer(), CollapsedVar) | 308 | xNavigationSplitViewSetCollapsed(x.GoPointer(), CollapsedVar) | ||
| 328 | } | 309 | } | ||
| 329 | 310 | ||||
| @@ -331,8 +312,6 @@ var xNavigationSplitViewSetContent func(uintptr, uintptr) | |||||
| 331 | 312 | ||||
| 332 | // Sets the content widget for @self. | 313 | // Sets the content widget for @self. | ||
| 333 | func (x *NavigationSplitView) SetContent(ContentVar *NavigationPage) { | 314 | func (x *NavigationSplitView) SetContent(ContentVar *NavigationPage) { | ||
| 334 | - | core.LazyRegister(&xNavigationSplitViewSetContent, "ADW", "adw_navigation_split_view_set_content", false) | |||
| 335 | - | ||||
| 336 | xNavigationSplitViewSetContent(x.GoPointer(), ContentVar.GoPointer()) | 315 | xNavigationSplitViewSetContent(x.GoPointer(), ContentVar.GoPointer()) | ||
| 337 | } | 316 | } | ||
| 338 | 317 | ||||
| @@ -346,8 +325,6 @@ var xNavigationSplitViewSetMaxSidebarWidth func(uintptr, float64) | |||||
| 346 | // The sidebar widget can still be allocated with larger width if its own | 325 | // The sidebar widget can still be allocated with larger width if its own | ||
| 347 | // minimum width exceeds it. | 326 | // minimum width exceeds it. | ||
| 348 | func (x *NavigationSplitView) SetMaxSidebarWidth(WidthVar float64) { | 327 | func (x *NavigationSplitView) SetMaxSidebarWidth(WidthVar float64) { | ||
| 349 | - | core.LazyRegister(&xNavigationSplitViewSetMaxSidebarWidth, "ADW", "adw_navigation_split_view_set_max_sidebar_width", false) | |||
| 350 | - | ||||
| 351 | xNavigationSplitViewSetMaxSidebarWidth(x.GoPointer(), WidthVar) | 328 | xNavigationSplitViewSetMaxSidebarWidth(x.GoPointer(), WidthVar) | ||
| 352 | } | 329 | } | ||
| 353 | 330 | ||||
| @@ -361,8 +338,6 @@ var xNavigationSplitViewSetMinSidebarWidth func(uintptr, float64) | |||||
| 361 | // The sidebar widget can still be allocated with larger width if its own | 338 | // The sidebar widget can still be allocated with larger width if its own | ||
| 362 | // minimum width exceeds it. | 339 | // minimum width exceeds it. | ||
| 363 | func (x *NavigationSplitView) SetMinSidebarWidth(WidthVar float64) { | 340 | func (x *NavigationSplitView) SetMinSidebarWidth(WidthVar float64) { | ||
| 364 | - | core.LazyRegister(&xNavigationSplitViewSetMinSidebarWidth, "ADW", "adw_navigation_split_view_set_min_sidebar_width", false) | |||
| 365 | - | ||||
| 366 | xNavigationSplitViewSetMinSidebarWidth(x.GoPointer(), WidthVar) | 341 | xNavigationSplitViewSetMinSidebarWidth(x.GoPointer(), WidthVar) | ||
| 367 | } | 342 | } | ||
| 368 | 343 | ||||
| @@ -376,8 +351,6 @@ var xNavigationSplitViewSetShowContent func(uintptr, bool) | |||||
| 376 | // | 351 | // | ||
| 377 | // If the split view is already collapsed, the visible page changes immediately. | 352 | // If the split view is already collapsed, the visible page changes immediately. | ||
| 378 | func (x *NavigationSplitView) SetShowContent(ShowContentVar bool) { | 353 | func (x *NavigationSplitView) SetShowContent(ShowContentVar bool) { | ||
| 379 | - | core.LazyRegister(&xNavigationSplitViewSetShowContent, "ADW", "adw_navigation_split_view_set_show_content", false) | |||
| 380 | - | ||||
| 381 | xNavigationSplitViewSetShowContent(x.GoPointer(), ShowContentVar) | 354 | xNavigationSplitViewSetShowContent(x.GoPointer(), ShowContentVar) | ||
| 382 | } | 355 | } | ||
| 383 | 356 | ||||
| @@ -385,8 +358,6 @@ var xNavigationSplitViewSetSidebar func(uintptr, uintptr) | |||||
| 385 | 358 | ||||
| 386 | // Sets the sidebar widget for @self. | 359 | // Sets the sidebar widget for @self. | ||
| 387 | func (x *NavigationSplitView) SetSidebar(SidebarVar *NavigationPage) { | 360 | func (x *NavigationSplitView) SetSidebar(SidebarVar *NavigationPage) { | ||
| 388 | - | core.LazyRegister(&xNavigationSplitViewSetSidebar, "ADW", "adw_navigation_split_view_set_sidebar", false) | |||
| 389 | - | ||||
| 390 | xNavigationSplitViewSetSidebar(x.GoPointer(), SidebarVar.GoPointer()) | 361 | xNavigationSplitViewSetSidebar(x.GoPointer(), SidebarVar.GoPointer()) | ||
| 391 | } | 362 | } | ||
| 392 | 363 | ||||
| @@ -400,8 +371,6 @@ var xNavigationSplitViewSetSidebarPosition func(uintptr, gtk.PackType) | |||||
| 400 | // If set to [enum@Gtk.PackType.end], the sidebar is displayed after the | 371 | // If set to [enum@Gtk.PackType.end], the sidebar is displayed after the | ||
| 401 | // content, and the content will be the root page. | 372 | // content, and the content will be the root page. | ||
| 402 | func (x *NavigationSplitView) SetSidebarPosition(PositionVar gtk.PackType) { | 373 | func (x *NavigationSplitView) SetSidebarPosition(PositionVar gtk.PackType) { | ||
| 403 | - | core.LazyRegister(&xNavigationSplitViewSetSidebarPosition, "ADW", "adw_navigation_split_view_set_sidebar_position", false) | |||
| 404 | - | ||||
| 405 | xNavigationSplitViewSetSidebarPosition(x.GoPointer(), PositionVar) | 374 | xNavigationSplitViewSetSidebarPosition(x.GoPointer(), PositionVar) | ||
| 406 | } | 375 | } | ||
| 407 | 376 | ||||
| @@ -416,8 +385,6 @@ var xNavigationSplitViewSetSidebarWidthFraction func(uintptr, float64) | |||||
| 416 | // The sidebar widget can be allocated with larger width if its own minimum | 385 | // The sidebar widget can be allocated with larger width if its own minimum | ||
| 417 | // width exceeds the preferred width. | 386 | // width exceeds the preferred width. | ||
| 418 | func (x *NavigationSplitView) SetSidebarWidthFraction(FractionVar float64) { | 387 | func (x *NavigationSplitView) SetSidebarWidthFraction(FractionVar float64) { | ||
| 419 | - | core.LazyRegister(&xNavigationSplitViewSetSidebarWidthFraction, "ADW", "adw_navigation_split_view_set_sidebar_width_fraction", false) | |||
| 420 | - | ||||
| 421 | xNavigationSplitViewSetSidebarWidthFraction(x.GoPointer(), FractionVar) | 388 | xNavigationSplitViewSetSidebarWidthFraction(x.GoPointer(), FractionVar) | ||
| 422 | } | 389 | } | ||
| 423 | 390 | ||||
| @@ -428,8 +395,6 @@ var xNavigationSplitViewSetSidebarWidthUnit func(uintptr, LengthUnit) | |||||
| 428 | // See [property@NavigationSplitView:min-sidebar-width] and | 395 | // See [property@NavigationSplitView:min-sidebar-width] and | ||
| 429 | // [property@NavigationSplitView:max-sidebar-width]. | 396 | // [property@NavigationSplitView:max-sidebar-width]. | ||
| 430 | func (x *NavigationSplitView) SetSidebarWidthUnit(UnitVar LengthUnit) { | 397 | func (x *NavigationSplitView) SetSidebarWidthUnit(UnitVar LengthUnit) { | ||
| 431 | - | core.LazyRegister(&xNavigationSplitViewSetSidebarWidthUnit, "ADW", "adw_navigation_split_view_set_sidebar_width_unit", false) | |||
| 432 | - | ||||
| 433 | xNavigationSplitViewSetSidebarWidthUnit(x.GoPointer(), UnitVar) | 398 | xNavigationSplitViewSetSidebarWidthUnit(x.GoPointer(), UnitVar) | ||
| 434 | } | 399 | } | ||
| 435 | 400 | ||||
| @@ -856,4 +821,35 @@ func (x *NavigationSplitView) GetBuildableId() string { | |||||
| 856 | func init() { | 821 | func init() { | ||
| 857 | core.SetPackageName("ADW", "libadwaita-1") | 822 | core.SetPackageName("ADW", "libadwaita-1") | ||
| 858 | core.SetSharedLibraries("ADW", []string{"libadwaita-1.so.0", "libadwaita-1.0.dylib"}) | 823 | core.SetSharedLibraries("ADW", []string{"libadwaita-1.so.0", "libadwaita-1.0.dylib"}) | ||
| 824 | + | var libs []uintptr | |||
| 825 | + | for _, libPath := range core.GetPaths("ADW") { | |||
| 826 | + | lib, err := purego.Dlopen(libPath, purego.RTLD_NOW|purego.RTLD_GLOBAL) | |||
| 827 | + | if err != nil { | |||
| 828 | + | panic(err) | |||
| 829 | + | } | |||
| 830 | + | libs = append(libs, lib) | |||
| 831 | + | } | |||
| 832 | + | ||||
| 833 | + | core.PuregoSafeRegister(&xNavigationSplitViewGLibType, libs, "adw_navigation_split_view_get_type") | |||
| 834 | + | ||||
| 835 | + | core.PuregoSafeRegister(&xNewNavigationSplitView, libs, "adw_navigation_split_view_new") | |||
| 836 | + | ||||
| 837 | + | core.PuregoSafeRegister(&xNavigationSplitViewGetCollapsed, libs, "adw_navigation_split_view_get_collapsed") | |||
| 838 | + | core.PuregoSafeRegister(&xNavigationSplitViewGetContent, libs, "adw_navigation_split_view_get_content") | |||
| 839 | + | core.PuregoSafeRegister(&xNavigationSplitViewGetMaxSidebarWidth, libs, "adw_navigation_split_view_get_max_sidebar_width") | |||
| 840 | + | core.PuregoSafeRegister(&xNavigationSplitViewGetMinSidebarWidth, libs, "adw_navigation_split_view_get_min_sidebar_width") | |||
| 841 | + | core.PuregoSafeRegister(&xNavigationSplitViewGetShowContent, libs, "adw_navigation_split_view_get_show_content") | |||
| 842 | + | core.PuregoSafeRegister(&xNavigationSplitViewGetSidebar, libs, "adw_navigation_split_view_get_sidebar") | |||
| 843 | + | core.PuregoSafeRegister(&xNavigationSplitViewGetSidebarPosition, libs, "adw_navigation_split_view_get_sidebar_position") | |||
| 844 | + | core.PuregoSafeRegister(&xNavigationSplitViewGetSidebarWidthFraction, libs, "adw_navigation_split_view_get_sidebar_width_fraction") | |||
| 845 | + | core.PuregoSafeRegister(&xNavigationSplitViewGetSidebarWidthUnit, libs, "adw_navigation_split_view_get_sidebar_width_unit") | |||
| 846 | + | core.PuregoSafeRegister(&xNavigationSplitViewSetCollapsed, libs, "adw_navigation_split_view_set_collapsed") | |||
| 847 | + | core.PuregoSafeRegister(&xNavigationSplitViewSetContent, libs, "adw_navigation_split_view_set_content") | |||
| 848 | + | core.PuregoSafeRegister(&xNavigationSplitViewSetMaxSidebarWidth, libs, "adw_navigation_split_view_set_max_sidebar_width") | |||
| 849 | + | core.PuregoSafeRegister(&xNavigationSplitViewSetMinSidebarWidth, libs, "adw_navigation_split_view_set_min_sidebar_width") | |||
| 850 | + | core.PuregoSafeRegister(&xNavigationSplitViewSetShowContent, libs, "adw_navigation_split_view_set_show_content") | |||
| 851 | + | core.PuregoSafeRegister(&xNavigationSplitViewSetSidebar, libs, "adw_navigation_split_view_set_sidebar") | |||
| 852 | + | core.PuregoSafeRegister(&xNavigationSplitViewSetSidebarPosition, libs, "adw_navigation_split_view_set_sidebar_position") | |||
| 853 | + | core.PuregoSafeRegister(&xNavigationSplitViewSetSidebarWidthFraction, libs, "adw_navigation_split_view_set_sidebar_width_fraction") | |||
| 854 | + | core.PuregoSafeRegister(&xNavigationSplitViewSetSidebarWidthUnit, libs, "adw_navigation_split_view_set_sidebar_width_unit") | |||
| 859 | } | 855 | } | ||