Merge pull request #350 from bnema/fix/repin-fixed-puregotk
fix(deps): validate puregotk lazy registration fix
907 files · +27874 -25296
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.20260714200603-7370c78950ef | |
| 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.20260714200603-7370c78950ef |
| 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 -18 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
| @@ -186,6 +186,7 @@ type NavigationPage struct { | |||
| 186 | 186 | var xNavigationPageGLibType func() types.GType | |
| 187 | 187 | ||
| 188 | 188 | func NavigationPageGLibType() types.GType { | |
| 189 | + | core.LazyRegister(&xNavigationPageGLibType, "ADW", "adw_navigation_page_get_type", false) | |
| 189 | 190 | return xNavigationPageGLibType() | |
| 190 | 191 | } | |
| 191 | 192 | ||
| @@ -199,6 +200,7 @@ var xNewNavigationPage func(uintptr, string) uintptr | |||
| 199 | 200 | ||
| 200 | 201 | // Creates a new `AdwNavigationPage`. | |
| 201 | 202 | func NewNavigationPage(ChildVar *gtk.Widget, TitleVar string) *NavigationPage { | |
| 203 | + | core.LazyRegister(&xNewNavigationPage, "ADW", "adw_navigation_page_new", false) | |
| 202 | 204 | var cls *NavigationPage | |
| 203 | 205 | ||
| 204 | 206 | cret := xNewNavigationPage(ChildVar.GoPointer(), TitleVar) | |
| @@ -216,6 +218,7 @@ var xNewNavigationPageWithTag func(uintptr, string, string) uintptr | |||
| 216 | 218 | ||
| 217 | 219 | // Creates a new `AdwNavigationPage` with provided tag. | |
| 218 | 220 | func NewNavigationPageWithTag(ChildVar *gtk.Widget, TitleVar string, TagVar string) *NavigationPage { | |
| 221 | + | core.LazyRegister(&xNewNavigationPageWithTag, "ADW", "adw_navigation_page_new_with_tag", false) | |
| 219 | 222 | var cls *NavigationPage | |
| 220 | 223 | ||
| 221 | 224 | cret := xNewNavigationPageWithTag(ChildVar.GoPointer(), TitleVar, TagVar) | |
| @@ -233,6 +236,8 @@ var xNavigationPageGetCanPop func(uintptr) bool | |||
| 233 | 236 | ||
| 234 | 237 | // Gets whether @self can be popped from navigation stack. | |
| 235 | 238 | func (x *NavigationPage) GetCanPop() bool { | |
| 239 | + | core.LazyRegister(&xNavigationPageGetCanPop, "ADW", "adw_navigation_page_get_can_pop", false) | |
| 240 | + | ||
| 236 | 241 | cret := xNavigationPageGetCanPop(x.GoPointer()) | |
| 237 | 242 | return cret | |
| 238 | 243 | } | |
| @@ -241,6 +246,7 @@ var xNavigationPageGetChild func(uintptr) uintptr | |||
| 241 | 246 | ||
| 242 | 247 | // Gets the child widget of @self. | |
| 243 | 248 | func (x *NavigationPage) GetChild() *gtk.Widget { | |
| 249 | + | core.LazyRegister(&xNavigationPageGetChild, "ADW", "adw_navigation_page_get_child", false) | |
| 244 | 250 | var cls *gtk.Widget | |
| 245 | 251 | ||
| 246 | 252 | cret := xNavigationPageGetChild(x.GoPointer()) | |
| @@ -258,6 +264,8 @@ var xNavigationPageGetTag func(uintptr) string | |||
| 258 | 264 | ||
| 259 | 265 | // Gets the tag of @self. | |
| 260 | 266 | func (x *NavigationPage) GetTag() string { | |
| 267 | + | core.LazyRegister(&xNavigationPageGetTag, "ADW", "adw_navigation_page_get_tag", false) | |
| 268 | + | ||
| 261 | 269 | cret := xNavigationPageGetTag(x.GoPointer()) | |
| 262 | 270 | return cret | |
| 263 | 271 | } | |
| @@ -266,6 +274,8 @@ var xNavigationPageGetTitle func(uintptr) string | |||
| 266 | 274 | ||
| 267 | 275 | // Gets the title of @self. | |
| 268 | 276 | func (x *NavigationPage) GetTitle() string { | |
| 277 | + | core.LazyRegister(&xNavigationPageGetTitle, "ADW", "adw_navigation_page_get_title", false) | |
| 278 | + | ||
| 269 | 279 | cret := xNavigationPageGetTitle(x.GoPointer()) | |
| 270 | 280 | return cret | |
| 271 | 281 | } | |
| @@ -283,6 +293,8 @@ var xNavigationPageSetCanPop func(uintptr, bool) | |||
| 283 | 293 | // See [property@HeaderBar:show-back-button] for removing only the back button, | |
| 284 | 294 | // but not shortcuts. | |
| 285 | 295 | func (x *NavigationPage) SetCanPop(CanPopVar bool) { | |
| 296 | + | core.LazyRegister(&xNavigationPageSetCanPop, "ADW", "adw_navigation_page_set_can_pop", false) | |
| 297 | + | ||
| 286 | 298 | xNavigationPageSetCanPop(x.GoPointer(), CanPopVar) | |
| 287 | 299 | } | |
| 288 | 300 | ||
| @@ -290,6 +302,8 @@ var xNavigationPageSetChild func(uintptr, uintptr) | |||
| 290 | 302 | ||
| 291 | 303 | // Sets the child widget of @self. | |
| 292 | 304 | func (x *NavigationPage) SetChild(ChildVar *gtk.Widget) { | |
| 305 | + | core.LazyRegister(&xNavigationPageSetChild, "ADW", "adw_navigation_page_set_child", false) | |
| 306 | + | ||
| 293 | 307 | xNavigationPageSetChild(x.GoPointer(), ChildVar.GoPointer()) | |
| 294 | 308 | } | |
| 295 | 309 | ||
| @@ -306,6 +320,8 @@ var xNavigationPageSetTag func(uintptr, uintptr) | |||
| 306 | 320 | // | |
| 307 | 321 | // The tag also must be set to use the `navigation.push` action. | |
| 308 | 322 | func (x *NavigationPage) SetTag(TagVar *string) { | |
| 323 | + | core.LazyRegister(&xNavigationPageSetTag, "ADW", "adw_navigation_page_set_tag", false) | |
| 324 | + | ||
| 309 | 325 | TagVarPtr := core.GStrdupNullable(TagVar) | |
| 310 | 326 | defer core.GFreeNullable(TagVarPtr) | |
| 311 | 327 | ||
| @@ -319,6 +335,8 @@ var xNavigationPageSetTitle func(uintptr, string) | |||
| 319 | 335 | // It's displayed in [class@HeaderBar] instead of the window title, and used as | |
| 320 | 336 | // the tooltip on the next page's back button, as well as by screen reader. | |
| 321 | 337 | func (x *NavigationPage) SetTitle(TitleVar string) { | |
| 338 | + | core.LazyRegister(&xNavigationPageSetTitle, "ADW", "adw_navigation_page_set_title", false) | |
| 339 | + | ||
| 322 | 340 | xNavigationPageSetTitle(x.GoPointer(), TitleVar) | |
| 323 | 341 | } | |
| 324 | 342 | ||
| @@ -964,6 +982,7 @@ type NavigationView struct { | |||
| 964 | 982 | var xNavigationViewGLibType func() types.GType | |
| 965 | 983 | ||
| 966 | 984 | func NavigationViewGLibType() types.GType { | |
| 985 | + | core.LazyRegister(&xNavigationViewGLibType, "ADW", "adw_navigation_view_get_type", false) | |
| 967 | 986 | return xNavigationViewGLibType() | |
| 968 | 987 | } | |
| 969 | 988 | ||
| @@ -977,6 +996,7 @@ var xNewNavigationView func() uintptr | |||
| 977 | 996 | ||
| 978 | 997 | // Creates a new `AdwNavigationView`. | |
| 979 | 998 | func NewNavigationView() *NavigationView { | |
| 999 | + | core.LazyRegister(&xNewNavigationView, "ADW", "adw_navigation_view_new", false) | |
| 980 | 1000 | var cls *NavigationView | |
| 981 | 1001 | ||
| 982 | 1002 | cret := xNewNavigationView() | |
| @@ -1002,6 +1022,8 @@ var xNavigationViewAdd func(uintptr, uintptr) | |||
| 1002 | 1022 | // | |
| 1003 | 1023 | // See [method@NavigationView.remove]. | |
| 1004 | 1024 | func (x *NavigationView) Add(PageVar *NavigationPage) { | |
| 1025 | + | core.LazyRegister(&xNavigationViewAdd, "ADW", "adw_navigation_view_add", false) | |
| 1026 | + | ||
| 1005 | 1027 | xNavigationViewAdd(x.GoPointer(), PageVar.GoPointer()) | |
| 1006 | 1028 | } | |
| 1007 | 1029 | ||
| @@ -1011,6 +1033,7 @@ var xNavigationViewFindPage func(uintptr, string) uintptr | |||
| 1011 | 1033 | // | |
| 1012 | 1034 | // See [property@NavigationPage:tag]. | |
| 1013 | 1035 | func (x *NavigationView) FindPage(TagVar string) *NavigationPage { | |
| 1036 | + | core.LazyRegister(&xNavigationViewFindPage, "ADW", "adw_navigation_view_find_page", false) | |
| 1014 | 1037 | var cls *NavigationPage | |
| 1015 | 1038 | ||
| 1016 | 1039 | cret := xNavigationViewFindPage(x.GoPointer(), TagVar) | |
| @@ -1028,6 +1051,8 @@ var xNavigationViewGetAnimateTransitions func(uintptr) bool | |||
| 1028 | 1051 | ||
| 1029 | 1052 | // Gets whether @self animates page transitions. | |
| 1030 | 1053 | func (x *NavigationView) GetAnimateTransitions() bool { | |
| 1054 | + | core.LazyRegister(&xNavigationViewGetAnimateTransitions, "ADW", "adw_navigation_view_get_animate_transitions", false) | |
| 1055 | + | ||
| 1031 | 1056 | cret := xNavigationViewGetAnimateTransitions(x.GoPointer()) | |
| 1032 | 1057 | return cret | |
| 1033 | 1058 | } | |
| @@ -1036,6 +1061,8 @@ var xNavigationViewGetHhomogeneous func(uintptr) bool | |||
| 1036 | 1061 | ||
| 1037 | 1062 | // Gets whether @self is horizontally homogeneous. | |
| 1038 | 1063 | func (x *NavigationView) GetHhomogeneous() bool { | |
| 1064 | + | core.LazyRegister(&xNavigationViewGetHhomogeneous, "ADW", "adw_navigation_view_get_hhomogeneous", false) | |
| 1065 | + | ||
| 1039 | 1066 | cret := xNavigationViewGetHhomogeneous(x.GoPointer()) | |
| 1040 | 1067 | return cret | |
| 1041 | 1068 | } | |
| @@ -1048,6 +1075,7 @@ var xNavigationViewGetNavigationStack func(uintptr) uintptr | |||
| 1048 | 1075 | // | |
| 1049 | 1076 | // This can be used to keep an up-to-date view. | |
| 1050 | 1077 | func (x *NavigationView) GetNavigationStack() *gio.ListModelBase { | |
| 1078 | + | core.LazyRegister(&xNavigationViewGetNavigationStack, "ADW", "adw_navigation_view_get_navigation_stack", false) | |
| 1051 | 1079 | var cls *gio.ListModelBase | |
| 1052 | 1080 | ||
| 1053 | 1081 | cret := xNavigationViewGetNavigationStack(x.GoPointer()) | |
| @@ -1064,6 +1092,8 @@ var xNavigationViewGetPopOnEscape func(uintptr) bool | |||
| 1064 | 1092 | ||
| 1065 | 1093 | // Gets whether pressing Escape pops the current page on @self. | |
| 1066 | 1094 | func (x *NavigationView) GetPopOnEscape() bool { | |
| 1095 | + | core.LazyRegister(&xNavigationViewGetPopOnEscape, "ADW", "adw_navigation_view_get_pop_on_escape", false) | |
| 1096 | + | ||
| 1067 | 1097 | cret := xNavigationViewGetPopOnEscape(x.GoPointer()) | |
| 1068 | 1098 | return cret | |
| 1069 | 1099 | } | |
| @@ -1077,6 +1107,7 @@ var xNavigationViewGetPreviousPage func(uintptr, uintptr) uintptr | |||
| 1077 | 1107 | // | |
| 1078 | 1108 | // If @page is the root page or is not in the navigation stack, returns `NULL`. | |
| 1079 | 1109 | func (x *NavigationView) GetPreviousPage(PageVar *NavigationPage) *NavigationPage { | |
| 1110 | + | core.LazyRegister(&xNavigationViewGetPreviousPage, "ADW", "adw_navigation_view_get_previous_page", false) | |
| 1080 | 1111 | var cls *NavigationPage | |
| 1081 | 1112 | ||
| 1082 | 1113 | cret := xNavigationViewGetPreviousPage(x.GoPointer(), PageVar.GoPointer()) | |
| @@ -1094,6 +1125,8 @@ var xNavigationViewGetVhomogeneous func(uintptr) bool | |||
| 1094 | 1125 | ||
| 1095 | 1126 | // Gets whether @self is vertically homogeneous. | |
| 1096 | 1127 | func (x *NavigationView) GetVhomogeneous() bool { | |
| 1128 | + | core.LazyRegister(&xNavigationViewGetVhomogeneous, "ADW", "adw_navigation_view_get_vhomogeneous", false) | |
| 1129 | + | ||
| 1097 | 1130 | cret := xNavigationViewGetVhomogeneous(x.GoPointer()) | |
| 1098 | 1131 | return cret | |
| 1099 | 1132 | } | |
| @@ -1102,6 +1135,7 @@ var xNavigationViewGetVisiblePage func(uintptr) uintptr | |||
| 1102 | 1135 | ||
| 1103 | 1136 | // Gets the currently visible page in @self. | |
| 1104 | 1137 | func (x *NavigationView) GetVisiblePage() *NavigationPage { | |
| 1138 | + | core.LazyRegister(&xNavigationViewGetVisiblePage, "ADW", "adw_navigation_view_get_visible_page", false) | |
| 1105 | 1139 | var cls *NavigationPage | |
| 1106 | 1140 | ||
| 1107 | 1141 | cret := xNavigationViewGetVisiblePage(x.GoPointer()) | |
| @@ -1119,6 +1153,8 @@ var xNavigationViewGetVisiblePageTag func(uintptr) string | |||
| 1119 | 1153 | ||
| 1120 | 1154 | // Gets the tag of the currently visible page in @self. | |
| 1121 | 1155 | func (x *NavigationView) GetVisiblePageTag() string { | |
| 1156 | + | core.LazyRegister(&xNavigationViewGetVisiblePageTag, "ADW", "adw_navigation_view_get_visible_page_tag", false) | |
| 1157 | + | ||
| 1122 | 1158 | cret := xNavigationViewGetVisiblePageTag(x.GoPointer()) | |
| 1123 | 1159 | return cret | |
| 1124 | 1160 | } | |
| @@ -1137,6 +1173,8 @@ var xNavigationViewPop func(uintptr) bool | |||
| 1137 | 1173 | // See [method@NavigationView.pop_to_page] and | |
| 1138 | 1174 | // [method@NavigationView.pop_to_tag]. | |
| 1139 | 1175 | func (x *NavigationView) Pop() bool { | |
| 1176 | + | core.LazyRegister(&xNavigationViewPop, "ADW", "adw_navigation_view_pop", false) | |
| 1177 | + | ||
| 1140 | 1178 | cret := xNavigationViewPop(x.GoPointer()) | |
| 1141 | 1179 | return cret | |
| 1142 | 1180 | } | |
| @@ -1155,6 +1193,8 @@ var xNavigationViewPopToPage func(uintptr, uintptr) bool | |||
| 1155 | 1193 | // | |
| 1156 | 1194 | // See [method@NavigationView.pop] and [method@NavigationView.pop_to_tag]. | |
| 1157 | 1195 | func (x *NavigationView) PopToPage(PageVar *NavigationPage) bool { | |
| 1196 | + | core.LazyRegister(&xNavigationViewPopToPage, "ADW", "adw_navigation_view_pop_to_page", false) | |
| 1197 | + | ||
| 1158 | 1198 | cret := xNavigationViewPopToPage(x.GoPointer(), PageVar.GoPointer()) | |
| 1159 | 1199 | return cret | |
| 1160 | 1200 | } | |
| @@ -1172,6 +1212,8 @@ var xNavigationViewPopToTag func(uintptr, string) bool | |||
| 1172 | 1212 | // | |
| 1173 | 1213 | // See [method@NavigationView.pop_to_page] and [property@NavigationPage:tag]. | |
| 1174 | 1214 | func (x *NavigationView) PopToTag(TagVar string) bool { | |
| 1215 | + | core.LazyRegister(&xNavigationViewPopToTag, "ADW", "adw_navigation_view_pop_to_tag", false) | |
| 1216 | + | ||
| 1175 | 1217 | cret := xNavigationViewPopToTag(x.GoPointer(), TagVar) | |
| 1176 | 1218 | return cret | |
| 1177 | 1219 | } | |
| @@ -1187,6 +1229,8 @@ var xNavigationViewPush func(uintptr, uintptr) | |||
| 1187 | 1229 | // | |
| 1188 | 1230 | // See [method@NavigationView.push_by_tag]. | |
| 1189 | 1231 | func (x *NavigationView) Push(PageVar *NavigationPage) { | |
| 1232 | + | core.LazyRegister(&xNavigationViewPush, "ADW", "adw_navigation_view_push", false) | |
| 1233 | + | ||
| 1190 | 1234 | xNavigationViewPush(x.GoPointer(), PageVar.GoPointer()) | |
| 1191 | 1235 | } | |
| 1192 | 1236 | ||
| @@ -1201,6 +1245,8 @@ var xNavigationViewPushByTag func(uintptr, string) | |||
| 1201 | 1245 | // | |
| 1202 | 1246 | // See [method@NavigationView.push] and [property@NavigationPage:tag]. | |
| 1203 | 1247 | func (x *NavigationView) PushByTag(TagVar string) { | |
| 1248 | + | core.LazyRegister(&xNavigationViewPushByTag, "ADW", "adw_navigation_view_push_by_tag", false) | |
| 1249 | + | ||
| 1204 | 1250 | xNavigationViewPushByTag(x.GoPointer(), TagVar) | |
| 1205 | 1251 | } | |
| 1206 | 1252 | ||
| @@ -1213,6 +1259,8 @@ var xNavigationViewRemove func(uintptr, uintptr) | |||
| 1213 | 1259 | // | |
| 1214 | 1260 | // See [method@NavigationView.add]. | |
| 1215 | 1261 | func (x *NavigationView) Remove(PageVar *NavigationPage) { | |
| 1262 | + | core.LazyRegister(&xNavigationViewRemove, "ADW", "adw_navigation_view_remove", false) | |
| 1263 | + | ||
| 1216 | 1264 | xNavigationViewRemove(x.GoPointer(), PageVar.GoPointer()) | |
| 1217 | 1265 | } | |
| 1218 | 1266 | ||
| @@ -1234,6 +1282,8 @@ var xNavigationViewReplace func(uintptr, uintptr, int) | |||
| 1234 | 1282 | // | |
| 1235 | 1283 | // See [method@NavigationView.replace_with_tags]. | |
| 1236 | 1284 | func (x *NavigationView) Replace(PagesVar uintptr, NPagesVar int) { | |
| 1285 | + | core.LazyRegister(&xNavigationViewReplace, "ADW", "adw_navigation_view_replace", false) | |
| 1286 | + | ||
| 1237 | 1287 | xNavigationViewReplace(x.GoPointer(), PagesVar, NPagesVar) | |
| 1238 | 1288 | } | |
| 1239 | 1289 | ||
| @@ -1255,6 +1305,8 @@ var xNavigationViewReplaceWithTags func(uintptr, []string, int) | |||
| 1255 | 1305 | // | |
| 1256 | 1306 | // See [method@NavigationView.replace] and [property@NavigationPage:tag]. | |
| 1257 | 1307 | func (x *NavigationView) ReplaceWithTags(TagsVar []string, NTagsVar int) { | |
| 1308 | + | core.LazyRegister(&xNavigationViewReplaceWithTags, "ADW", "adw_navigation_view_replace_with_tags", false) | |
| 1309 | + | ||
| 1258 | 1310 | xNavigationViewReplaceWithTags(x.GoPointer(), TagsVar, NTagsVar) | |
| 1259 | 1311 | } | |
| 1260 | 1312 | ||
| @@ -1264,6 +1316,8 @@ var xNavigationViewSetAnimateTransitions func(uintptr, bool) | |||
| 1264 | 1316 | // | |
| 1265 | 1317 | // Gesture-based transitions are always animated. | |
| 1266 | 1318 | func (x *NavigationView) SetAnimateTransitions(AnimateTransitionsVar bool) { | |
| 1319 | + | core.LazyRegister(&xNavigationViewSetAnimateTransitions, "ADW", "adw_navigation_view_set_animate_transitions", false) | |
| 1320 | + | ||
| 1267 | 1321 | xNavigationViewSetAnimateTransitions(x.GoPointer(), AnimateTransitionsVar) | |
| 1268 | 1322 | } | |
| 1269 | 1323 | ||
| @@ -1276,6 +1330,8 @@ var xNavigationViewSetHhomogeneous func(uintptr, bool) | |||
| 1276 | 1330 | // | |
| 1277 | 1331 | // If it's not, the view may change width when a different page becomes visible. | |
| 1278 | 1332 | func (x *NavigationView) SetHhomogeneous(HhomogeneousVar bool) { | |
| 1333 | + | core.LazyRegister(&xNavigationViewSetHhomogeneous, "ADW", "adw_navigation_view_set_hhomogeneous", false) | |
| 1334 | + | ||
| 1279 | 1335 | xNavigationViewSetHhomogeneous(x.GoPointer(), HhomogeneousVar) | |
| 1280 | 1336 | } | |
| 1281 | 1337 | ||
| @@ -1286,6 +1342,8 @@ var xNavigationViewSetPopOnEscape func(uintptr, bool) | |||
| 1286 | 1342 | // Applications using `AdwNavigationView` to implement a browser may want to | |
| 1287 | 1343 | // disable it. | |
| 1288 | 1344 | func (x *NavigationView) SetPopOnEscape(PopOnEscapeVar bool) { | |
| 1345 | + | core.LazyRegister(&xNavigationViewSetPopOnEscape, "ADW", "adw_navigation_view_set_pop_on_escape", false) | |
| 1346 | + | ||
| 1289 | 1347 | xNavigationViewSetPopOnEscape(x.GoPointer(), PopOnEscapeVar) | |
| 1290 | 1348 | } | |
| 1291 | 1349 | ||
| @@ -1299,6 +1357,8 @@ var xNavigationViewSetVhomogeneous func(uintptr, bool) | |||
| 1299 | 1357 | // If it's not, the view may change height when a different page becomes | |
| 1300 | 1358 | // visible. | |
| 1301 | 1359 | func (x *NavigationView) SetVhomogeneous(VhomogeneousVar bool) { | |
| 1360 | + | core.LazyRegister(&xNavigationViewSetVhomogeneous, "ADW", "adw_navigation_view_set_vhomogeneous", false) | |
| 1361 | + | ||
| 1302 | 1362 | xNavigationViewSetVhomogeneous(x.GoPointer(), VhomogeneousVar) | |
| 1303 | 1363 | } | |
| 1304 | 1364 | ||
| @@ -1843,53 +1903,4 @@ func (x *NavigationView) GetBuildableId() string { | |||
| 1843 | 1903 | func init() { | |
| 1844 | 1904 | core.SetPackageName("ADW", "libadwaita-1") | |
| 1845 | 1905 | core.SetSharedLibraries("ADW", []string{"libadwaita-1.so.0", "libadwaita-1.0.dylib"}) | |
| 1846 | - | var libs []uintptr | |
| 1847 | - | for _, libPath := range core.GetPaths("ADW") { | |
| 1848 | - | lib, err := purego.Dlopen(libPath, purego.RTLD_NOW|purego.RTLD_GLOBAL) | |
| 1849 | - | if err != nil { | |
| 1850 | - | panic(err) | |
| 1851 | - | } | |
| 1852 | - | libs = append(libs, lib) | |
| 1853 | - | } | |
| 1854 | - | ||
| 1855 | - | core.PuregoSafeRegister(&xNavigationPageGLibType, libs, "adw_navigation_page_get_type") | |
| 1856 | - | ||
| 1857 | - | core.PuregoSafeRegister(&xNewNavigationPage, libs, "adw_navigation_page_new") | |
| 1858 | - | core.PuregoSafeRegister(&xNewNavigationPageWithTag, libs, "adw_navigation_page_new_with_tag") | |
| 1859 | - | ||
| 1860 | - | core.PuregoSafeRegister(&xNavigationPageGetCanPop, libs, "adw_navigation_page_get_can_pop") | |
| 1861 | - | core.PuregoSafeRegister(&xNavigationPageGetChild, libs, "adw_navigation_page_get_child") | |
| 1862 | - | core.PuregoSafeRegister(&xNavigationPageGetTag, libs, "adw_navigation_page_get_tag") | |
| 1863 | - | core.PuregoSafeRegister(&xNavigationPageGetTitle, libs, "adw_navigation_page_get_title") | |
| 1864 | - | core.PuregoSafeRegister(&xNavigationPageSetCanPop, libs, "adw_navigation_page_set_can_pop") | |
| 1865 | - | core.PuregoSafeRegister(&xNavigationPageSetChild, libs, "adw_navigation_page_set_child") | |
| 1866 | - | core.PuregoSafeRegister(&xNavigationPageSetTag, libs, "adw_navigation_page_set_tag") | |
| 1867 | - | core.PuregoSafeRegister(&xNavigationPageSetTitle, libs, "adw_navigation_page_set_title") | |
| 1868 | - | ||
| 1869 | - | core.PuregoSafeRegister(&xNavigationViewGLibType, libs, "adw_navigation_view_get_type") | |
| 1870 | - | ||
| 1871 | - | core.PuregoSafeRegister(&xNewNavigationView, libs, "adw_navigation_view_new") | |
| 1872 | - | ||
| 1873 | - | core.PuregoSafeRegister(&xNavigationViewAdd, libs, "adw_navigation_view_add") | |
| 1874 | - | core.PuregoSafeRegister(&xNavigationViewFindPage, libs, "adw_navigation_view_find_page") | |
| 1875 | - | core.PuregoSafeRegister(&xNavigationViewGetAnimateTransitions, libs, "adw_navigation_view_get_animate_transitions") | |
| 1876 | - | core.PuregoSafeRegister(&xNavigationViewGetHhomogeneous, libs, "adw_navigation_view_get_hhomogeneous") | |
| 1877 | - | core.PuregoSafeRegister(&xNavigationViewGetNavigationStack, libs, "adw_navigation_view_get_navigation_stack") | |
| 1878 | - | core.PuregoSafeRegister(&xNavigationViewGetPopOnEscape, libs, "adw_navigation_view_get_pop_on_escape") | |
| 1879 | - | core.PuregoSafeRegister(&xNavigationViewGetPreviousPage, libs, "adw_navigation_view_get_previous_page") | |
| 1880 | - | core.PuregoSafeRegister(&xNavigationViewGetVhomogeneous, libs, "adw_navigation_view_get_vhomogeneous") | |
| 1881 | - | core.PuregoSafeRegister(&xNavigationViewGetVisiblePage, libs, "adw_navigation_view_get_visible_page") | |
| 1882 | - | core.PuregoSafeRegister(&xNavigationViewGetVisiblePageTag, libs, "adw_navigation_view_get_visible_page_tag") | |
| 1883 | - | core.PuregoSafeRegister(&xNavigationViewPop, libs, "adw_navigation_view_pop") | |
| 1884 | - | core.PuregoSafeRegister(&xNavigationViewPopToPage, libs, "adw_navigation_view_pop_to_page") | |
| 1885 | - | core.PuregoSafeRegister(&xNavigationViewPopToTag, libs, "adw_navigation_view_pop_to_tag") | |
| 1886 | - | core.PuregoSafeRegister(&xNavigationViewPush, libs, "adw_navigation_view_push") | |
| 1887 | - | core.PuregoSafeRegister(&xNavigationViewPushByTag, libs, "adw_navigation_view_push_by_tag") | |
| 1888 | - | core.PuregoSafeRegister(&xNavigationViewRemove, libs, "adw_navigation_view_remove") | |
| 1889 | - | core.PuregoSafeRegister(&xNavigationViewReplace, libs, "adw_navigation_view_replace") | |
| 1890 | - | core.PuregoSafeRegister(&xNavigationViewReplaceWithTags, libs, "adw_navigation_view_replace_with_tags") | |
| 1891 | - | core.PuregoSafeRegister(&xNavigationViewSetAnimateTransitions, libs, "adw_navigation_view_set_animate_transitions") | |
| 1892 | - | core.PuregoSafeRegister(&xNavigationViewSetHhomogeneous, libs, "adw_navigation_view_set_hhomogeneous") | |
| 1893 | - | core.PuregoSafeRegister(&xNavigationViewSetPopOnEscape, libs, "adw_navigation_view_set_pop_on_escape") | |
| 1894 | - | core.PuregoSafeRegister(&xNavigationViewSetVhomogeneous, libs, "adw_navigation_view_set_vhomogeneous") | |
| 1895 | 1906 | } | |
| @@ -186,6 +186,7 @@ type NavigationPage struct { | |||||
| 186 | var xNavigationPageGLibType func() types.GType | 186 | var xNavigationPageGLibType func() types.GType | ||
| 187 | 187 | ||||
| 188 | func NavigationPageGLibType() types.GType { | 188 | func NavigationPageGLibType() types.GType { | ||
| 189 | + | core.LazyRegister(&xNavigationPageGLibType, "ADW", "adw_navigation_page_get_type", false) | |||
| 189 | return xNavigationPageGLibType() | 190 | return xNavigationPageGLibType() | ||
| 190 | } | 191 | } | ||
| 191 | 192 | ||||
| @@ -199,6 +200,7 @@ var xNewNavigationPage func(uintptr, string) uintptr | |||||
| 199 | 200 | ||||
| 200 | // Creates a new `AdwNavigationPage`. | 201 | // Creates a new `AdwNavigationPage`. | ||
| 201 | func NewNavigationPage(ChildVar *gtk.Widget, TitleVar string) *NavigationPage { | 202 | func NewNavigationPage(ChildVar *gtk.Widget, TitleVar string) *NavigationPage { | ||
| 203 | + | core.LazyRegister(&xNewNavigationPage, "ADW", "adw_navigation_page_new", false) | |||
| 202 | var cls *NavigationPage | 204 | var cls *NavigationPage | ||
| 203 | 205 | ||||
| 204 | cret := xNewNavigationPage(ChildVar.GoPointer(), TitleVar) | 206 | cret := xNewNavigationPage(ChildVar.GoPointer(), TitleVar) | ||
| @@ -216,6 +218,7 @@ var xNewNavigationPageWithTag func(uintptr, string, string) uintptr | |||||
| 216 | 218 | ||||
| 217 | // Creates a new `AdwNavigationPage` with provided tag. | 219 | // Creates a new `AdwNavigationPage` with provided tag. | ||
| 218 | func NewNavigationPageWithTag(ChildVar *gtk.Widget, TitleVar string, TagVar string) *NavigationPage { | 220 | func NewNavigationPageWithTag(ChildVar *gtk.Widget, TitleVar string, TagVar string) *NavigationPage { | ||
| 221 | + | core.LazyRegister(&xNewNavigationPageWithTag, "ADW", "adw_navigation_page_new_with_tag", false) | |||
| 219 | var cls *NavigationPage | 222 | var cls *NavigationPage | ||
| 220 | 223 | ||||
| 221 | cret := xNewNavigationPageWithTag(ChildVar.GoPointer(), TitleVar, TagVar) | 224 | cret := xNewNavigationPageWithTag(ChildVar.GoPointer(), TitleVar, TagVar) | ||
| @@ -233,6 +236,8 @@ var xNavigationPageGetCanPop func(uintptr) bool | |||||
| 233 | 236 | ||||
| 234 | // Gets whether @self can be popped from navigation stack. | 237 | // Gets whether @self can be popped from navigation stack. | ||
| 235 | func (x *NavigationPage) GetCanPop() bool { | 238 | func (x *NavigationPage) GetCanPop() bool { | ||
| 239 | + | core.LazyRegister(&xNavigationPageGetCanPop, "ADW", "adw_navigation_page_get_can_pop", false) | |||
| 240 | + | ||||
| 236 | cret := xNavigationPageGetCanPop(x.GoPointer()) | 241 | cret := xNavigationPageGetCanPop(x.GoPointer()) | ||
| 237 | return cret | 242 | return cret | ||
| 238 | } | 243 | } | ||
| @@ -241,6 +246,7 @@ var xNavigationPageGetChild func(uintptr) uintptr | |||||
| 241 | 246 | ||||
| 242 | // Gets the child widget of @self. | 247 | // Gets the child widget of @self. | ||
| 243 | func (x *NavigationPage) GetChild() *gtk.Widget { | 248 | func (x *NavigationPage) GetChild() *gtk.Widget { | ||
| 249 | + | core.LazyRegister(&xNavigationPageGetChild, "ADW", "adw_navigation_page_get_child", false) | |||
| 244 | var cls *gtk.Widget | 250 | var cls *gtk.Widget | ||
| 245 | 251 | ||||
| 246 | cret := xNavigationPageGetChild(x.GoPointer()) | 252 | cret := xNavigationPageGetChild(x.GoPointer()) | ||
| @@ -258,6 +264,8 @@ var xNavigationPageGetTag func(uintptr) string | |||||
| 258 | 264 | ||||
| 259 | // Gets the tag of @self. | 265 | // Gets the tag of @self. | ||
| 260 | func (x *NavigationPage) GetTag() string { | 266 | func (x *NavigationPage) GetTag() string { | ||
| 267 | + | core.LazyRegister(&xNavigationPageGetTag, "ADW", "adw_navigation_page_get_tag", false) | |||
| 268 | + | ||||
| 261 | cret := xNavigationPageGetTag(x.GoPointer()) | 269 | cret := xNavigationPageGetTag(x.GoPointer()) | ||
| 262 | return cret | 270 | return cret | ||
| 263 | } | 271 | } | ||
| @@ -266,6 +274,8 @@ var xNavigationPageGetTitle func(uintptr) string | |||||
| 266 | 274 | ||||
| 267 | // Gets the title of @self. | 275 | // Gets the title of @self. | ||
| 268 | func (x *NavigationPage) GetTitle() string { | 276 | func (x *NavigationPage) GetTitle() string { | ||
| 277 | + | core.LazyRegister(&xNavigationPageGetTitle, "ADW", "adw_navigation_page_get_title", false) | |||
| 278 | + | ||||
| 269 | cret := xNavigationPageGetTitle(x.GoPointer()) | 279 | cret := xNavigationPageGetTitle(x.GoPointer()) | ||
| 270 | return cret | 280 | return cret | ||
| 271 | } | 281 | } | ||
| @@ -283,6 +293,8 @@ var xNavigationPageSetCanPop func(uintptr, bool) | |||||
| 283 | // See [property@HeaderBar:show-back-button] for removing only the back button, | 293 | // See [property@HeaderBar:show-back-button] for removing only the back button, | ||
| 284 | // but not shortcuts. | 294 | // but not shortcuts. | ||
| 285 | func (x *NavigationPage) SetCanPop(CanPopVar bool) { | 295 | func (x *NavigationPage) SetCanPop(CanPopVar bool) { | ||
| 296 | + | core.LazyRegister(&xNavigationPageSetCanPop, "ADW", "adw_navigation_page_set_can_pop", false) | |||
| 297 | + | ||||
| 286 | xNavigationPageSetCanPop(x.GoPointer(), CanPopVar) | 298 | xNavigationPageSetCanPop(x.GoPointer(), CanPopVar) | ||
| 287 | } | 299 | } | ||
| 288 | 300 | ||||
| @@ -290,6 +302,8 @@ var xNavigationPageSetChild func(uintptr, uintptr) | |||||
| 290 | 302 | ||||
| 291 | // Sets the child widget of @self. | 303 | // Sets the child widget of @self. | ||
| 292 | func (x *NavigationPage) SetChild(ChildVar *gtk.Widget) { | 304 | func (x *NavigationPage) SetChild(ChildVar *gtk.Widget) { | ||
| 305 | + | core.LazyRegister(&xNavigationPageSetChild, "ADW", "adw_navigation_page_set_child", false) | |||
| 306 | + | ||||
| 293 | xNavigationPageSetChild(x.GoPointer(), ChildVar.GoPointer()) | 307 | xNavigationPageSetChild(x.GoPointer(), ChildVar.GoPointer()) | ||
| 294 | } | 308 | } | ||
| 295 | 309 | ||||
| @@ -306,6 +320,8 @@ var xNavigationPageSetTag func(uintptr, uintptr) | |||||
| 306 | // | 320 | // | ||
| 307 | // The tag also must be set to use the `navigation.push` action. | 321 | // The tag also must be set to use the `navigation.push` action. | ||
| 308 | func (x *NavigationPage) SetTag(TagVar *string) { | 322 | func (x *NavigationPage) SetTag(TagVar *string) { | ||
| 323 | + | core.LazyRegister(&xNavigationPageSetTag, "ADW", "adw_navigation_page_set_tag", false) | |||
| 324 | + | ||||
| 309 | TagVarPtr := core.GStrdupNullable(TagVar) | 325 | TagVarPtr := core.GStrdupNullable(TagVar) | ||
| 310 | defer core.GFreeNullable(TagVarPtr) | 326 | defer core.GFreeNullable(TagVarPtr) | ||
| 311 | 327 | ||||
| @@ -319,6 +335,8 @@ var xNavigationPageSetTitle func(uintptr, string) | |||||
| 319 | // It's displayed in [class@HeaderBar] instead of the window title, and used as | 335 | // It's displayed in [class@HeaderBar] instead of the window title, and used as | ||
| 320 | // the tooltip on the next page's back button, as well as by screen reader. | 336 | // the tooltip on the next page's back button, as well as by screen reader. | ||
| 321 | func (x *NavigationPage) SetTitle(TitleVar string) { | 337 | func (x *NavigationPage) SetTitle(TitleVar string) { | ||
| 338 | + | core.LazyRegister(&xNavigationPageSetTitle, "ADW", "adw_navigation_page_set_title", false) | |||
| 339 | + | ||||
| 322 | xNavigationPageSetTitle(x.GoPointer(), TitleVar) | 340 | xNavigationPageSetTitle(x.GoPointer(), TitleVar) | ||
| 323 | } | 341 | } | ||
| 324 | 342 | ||||
| @@ -964,6 +982,7 @@ type NavigationView struct { | |||||
| 964 | var xNavigationViewGLibType func() types.GType | 982 | var xNavigationViewGLibType func() types.GType | ||
| 965 | 983 | ||||
| 966 | func NavigationViewGLibType() types.GType { | 984 | func NavigationViewGLibType() types.GType { | ||
| 985 | + | core.LazyRegister(&xNavigationViewGLibType, "ADW", "adw_navigation_view_get_type", false) | |||
| 967 | return xNavigationViewGLibType() | 986 | return xNavigationViewGLibType() | ||
| 968 | } | 987 | } | ||
| 969 | 988 | ||||
| @@ -977,6 +996,7 @@ var xNewNavigationView func() uintptr | |||||
| 977 | 996 | ||||
| 978 | // Creates a new `AdwNavigationView`. | 997 | // Creates a new `AdwNavigationView`. | ||
| 979 | func NewNavigationView() *NavigationView { | 998 | func NewNavigationView() *NavigationView { | ||
| 999 | + | core.LazyRegister(&xNewNavigationView, "ADW", "adw_navigation_view_new", false) | |||
| 980 | var cls *NavigationView | 1000 | var cls *NavigationView | ||
| 981 | 1001 | ||||
| 982 | cret := xNewNavigationView() | 1002 | cret := xNewNavigationView() | ||
| @@ -1002,6 +1022,8 @@ var xNavigationViewAdd func(uintptr, uintptr) | |||||
| 1002 | // | 1022 | // | ||
| 1003 | // See [method@NavigationView.remove]. | 1023 | // See [method@NavigationView.remove]. | ||
| 1004 | func (x *NavigationView) Add(PageVar *NavigationPage) { | 1024 | func (x *NavigationView) Add(PageVar *NavigationPage) { | ||
| 1025 | + | core.LazyRegister(&xNavigationViewAdd, "ADW", "adw_navigation_view_add", false) | |||
| 1026 | + | ||||
| 1005 | xNavigationViewAdd(x.GoPointer(), PageVar.GoPointer()) | 1027 | xNavigationViewAdd(x.GoPointer(), PageVar.GoPointer()) | ||
| 1006 | } | 1028 | } | ||
| 1007 | 1029 | ||||
| @@ -1011,6 +1033,7 @@ var xNavigationViewFindPage func(uintptr, string) uintptr | |||||
| 1011 | // | 1033 | // | ||
| 1012 | // See [property@NavigationPage:tag]. | 1034 | // See [property@NavigationPage:tag]. | ||
| 1013 | func (x *NavigationView) FindPage(TagVar string) *NavigationPage { | 1035 | func (x *NavigationView) FindPage(TagVar string) *NavigationPage { | ||
| 1036 | + | core.LazyRegister(&xNavigationViewFindPage, "ADW", "adw_navigation_view_find_page", false) | |||
| 1014 | var cls *NavigationPage | 1037 | var cls *NavigationPage | ||
| 1015 | 1038 | ||||
| 1016 | cret := xNavigationViewFindPage(x.GoPointer(), TagVar) | 1039 | cret := xNavigationViewFindPage(x.GoPointer(), TagVar) | ||
| @@ -1028,6 +1051,8 @@ var xNavigationViewGetAnimateTransitions func(uintptr) bool | |||||
| 1028 | 1051 | ||||
| 1029 | // Gets whether @self animates page transitions. | 1052 | // Gets whether @self animates page transitions. | ||
| 1030 | func (x *NavigationView) GetAnimateTransitions() bool { | 1053 | func (x *NavigationView) GetAnimateTransitions() bool { | ||
| 1054 | + | core.LazyRegister(&xNavigationViewGetAnimateTransitions, "ADW", "adw_navigation_view_get_animate_transitions", false) | |||
| 1055 | + | ||||
| 1031 | cret := xNavigationViewGetAnimateTransitions(x.GoPointer()) | 1056 | cret := xNavigationViewGetAnimateTransitions(x.GoPointer()) | ||
| 1032 | return cret | 1057 | return cret | ||
| 1033 | } | 1058 | } | ||
| @@ -1036,6 +1061,8 @@ var xNavigationViewGetHhomogeneous func(uintptr) bool | |||||
| 1036 | 1061 | ||||
| 1037 | // Gets whether @self is horizontally homogeneous. | 1062 | // Gets whether @self is horizontally homogeneous. | ||
| 1038 | func (x *NavigationView) GetHhomogeneous() bool { | 1063 | func (x *NavigationView) GetHhomogeneous() bool { | ||
| 1064 | + | core.LazyRegister(&xNavigationViewGetHhomogeneous, "ADW", "adw_navigation_view_get_hhomogeneous", false) | |||
| 1065 | + | ||||
| 1039 | cret := xNavigationViewGetHhomogeneous(x.GoPointer()) | 1066 | cret := xNavigationViewGetHhomogeneous(x.GoPointer()) | ||
| 1040 | return cret | 1067 | return cret | ||
| 1041 | } | 1068 | } | ||
| @@ -1048,6 +1075,7 @@ var xNavigationViewGetNavigationStack func(uintptr) uintptr | |||||
| 1048 | // | 1075 | // | ||
| 1049 | // This can be used to keep an up-to-date view. | 1076 | // This can be used to keep an up-to-date view. | ||
| 1050 | func (x *NavigationView) GetNavigationStack() *gio.ListModelBase { | 1077 | func (x *NavigationView) GetNavigationStack() *gio.ListModelBase { | ||
| 1078 | + | core.LazyRegister(&xNavigationViewGetNavigationStack, "ADW", "adw_navigation_view_get_navigation_stack", false) | |||
| 1051 | var cls *gio.ListModelBase | 1079 | var cls *gio.ListModelBase | ||
| 1052 | 1080 | ||||
| 1053 | cret := xNavigationViewGetNavigationStack(x.GoPointer()) | 1081 | cret := xNavigationViewGetNavigationStack(x.GoPointer()) | ||
| @@ -1064,6 +1092,8 @@ var xNavigationViewGetPopOnEscape func(uintptr) bool | |||||
| 1064 | 1092 | ||||
| 1065 | // Gets whether pressing Escape pops the current page on @self. | 1093 | // Gets whether pressing Escape pops the current page on @self. | ||
| 1066 | func (x *NavigationView) GetPopOnEscape() bool { | 1094 | func (x *NavigationView) GetPopOnEscape() bool { | ||
| 1095 | + | core.LazyRegister(&xNavigationViewGetPopOnEscape, "ADW", "adw_navigation_view_get_pop_on_escape", false) | |||
| 1096 | + | ||||
| 1067 | cret := xNavigationViewGetPopOnEscape(x.GoPointer()) | 1097 | cret := xNavigationViewGetPopOnEscape(x.GoPointer()) | ||
| 1068 | return cret | 1098 | return cret | ||
| 1069 | } | 1099 | } | ||
| @@ -1077,6 +1107,7 @@ var xNavigationViewGetPreviousPage func(uintptr, uintptr) uintptr | |||||
| 1077 | // | 1107 | // | ||
| 1078 | // If @page is the root page or is not in the navigation stack, returns `NULL`. | 1108 | // If @page is the root page or is not in the navigation stack, returns `NULL`. | ||
| 1079 | func (x *NavigationView) GetPreviousPage(PageVar *NavigationPage) *NavigationPage { | 1109 | func (x *NavigationView) GetPreviousPage(PageVar *NavigationPage) *NavigationPage { | ||
| 1110 | + | core.LazyRegister(&xNavigationViewGetPreviousPage, "ADW", "adw_navigation_view_get_previous_page", false) | |||
| 1080 | var cls *NavigationPage | 1111 | var cls *NavigationPage | ||
| 1081 | 1112 | ||||
| 1082 | cret := xNavigationViewGetPreviousPage(x.GoPointer(), PageVar.GoPointer()) | 1113 | cret := xNavigationViewGetPreviousPage(x.GoPointer(), PageVar.GoPointer()) | ||
| @@ -1094,6 +1125,8 @@ var xNavigationViewGetVhomogeneous func(uintptr) bool | |||||
| 1094 | 1125 | ||||
| 1095 | // Gets whether @self is vertically homogeneous. | 1126 | // Gets whether @self is vertically homogeneous. | ||
| 1096 | func (x *NavigationView) GetVhomogeneous() bool { | 1127 | func (x *NavigationView) GetVhomogeneous() bool { | ||
| 1128 | + | core.LazyRegister(&xNavigationViewGetVhomogeneous, "ADW", "adw_navigation_view_get_vhomogeneous", false) | |||
| 1129 | + | ||||
| 1097 | cret := xNavigationViewGetVhomogeneous(x.GoPointer()) | 1130 | cret := xNavigationViewGetVhomogeneous(x.GoPointer()) | ||
| 1098 | return cret | 1131 | return cret | ||
| 1099 | } | 1132 | } | ||
| @@ -1102,6 +1135,7 @@ var xNavigationViewGetVisiblePage func(uintptr) uintptr | |||||
| 1102 | 1135 | ||||
| 1103 | // Gets the currently visible page in @self. | 1136 | // Gets the currently visible page in @self. | ||
| 1104 | func (x *NavigationView) GetVisiblePage() *NavigationPage { | 1137 | func (x *NavigationView) GetVisiblePage() *NavigationPage { | ||
| 1138 | + | core.LazyRegister(&xNavigationViewGetVisiblePage, "ADW", "adw_navigation_view_get_visible_page", false) | |||
| 1105 | var cls *NavigationPage | 1139 | var cls *NavigationPage | ||
| 1106 | 1140 | ||||
| 1107 | cret := xNavigationViewGetVisiblePage(x.GoPointer()) | 1141 | cret := xNavigationViewGetVisiblePage(x.GoPointer()) | ||
| @@ -1119,6 +1153,8 @@ var xNavigationViewGetVisiblePageTag func(uintptr) string | |||||
| 1119 | 1153 | ||||
| 1120 | // Gets the tag of the currently visible page in @self. | 1154 | // Gets the tag of the currently visible page in @self. | ||
| 1121 | func (x *NavigationView) GetVisiblePageTag() string { | 1155 | func (x *NavigationView) GetVisiblePageTag() string { | ||
| 1156 | + | core.LazyRegister(&xNavigationViewGetVisiblePageTag, "ADW", "adw_navigation_view_get_visible_page_tag", false) | |||
| 1157 | + | ||||
| 1122 | cret := xNavigationViewGetVisiblePageTag(x.GoPointer()) | 1158 | cret := xNavigationViewGetVisiblePageTag(x.GoPointer()) | ||
| 1123 | return cret | 1159 | return cret | ||
| 1124 | } | 1160 | } | ||
| @@ -1137,6 +1173,8 @@ var xNavigationViewPop func(uintptr) bool | |||||
| 1137 | // See [method@NavigationView.pop_to_page] and | 1173 | // See [method@NavigationView.pop_to_page] and | ||
| 1138 | // [method@NavigationView.pop_to_tag]. | 1174 | // [method@NavigationView.pop_to_tag]. | ||
| 1139 | func (x *NavigationView) Pop() bool { | 1175 | func (x *NavigationView) Pop() bool { | ||
| 1176 | + | core.LazyRegister(&xNavigationViewPop, "ADW", "adw_navigation_view_pop", false) | |||
| 1177 | + | ||||
| 1140 | cret := xNavigationViewPop(x.GoPointer()) | 1178 | cret := xNavigationViewPop(x.GoPointer()) | ||
| 1141 | return cret | 1179 | return cret | ||
| 1142 | } | 1180 | } | ||
| @@ -1155,6 +1193,8 @@ var xNavigationViewPopToPage func(uintptr, uintptr) bool | |||||
| 1155 | // | 1193 | // | ||
| 1156 | // See [method@NavigationView.pop] and [method@NavigationView.pop_to_tag]. | 1194 | // See [method@NavigationView.pop] and [method@NavigationView.pop_to_tag]. | ||
| 1157 | func (x *NavigationView) PopToPage(PageVar *NavigationPage) bool { | 1195 | func (x *NavigationView) PopToPage(PageVar *NavigationPage) bool { | ||
| 1196 | + | core.LazyRegister(&xNavigationViewPopToPage, "ADW", "adw_navigation_view_pop_to_page", false) | |||
| 1197 | + | ||||
| 1158 | cret := xNavigationViewPopToPage(x.GoPointer(), PageVar.GoPointer()) | 1198 | cret := xNavigationViewPopToPage(x.GoPointer(), PageVar.GoPointer()) | ||
| 1159 | return cret | 1199 | return cret | ||
| 1160 | } | 1200 | } | ||
| @@ -1172,6 +1212,8 @@ var xNavigationViewPopToTag func(uintptr, string) bool | |||||
| 1172 | // | 1212 | // | ||
| 1173 | // See [method@NavigationView.pop_to_page] and [property@NavigationPage:tag]. | 1213 | // See [method@NavigationView.pop_to_page] and [property@NavigationPage:tag]. | ||
| 1174 | func (x *NavigationView) PopToTag(TagVar string) bool { | 1214 | func (x *NavigationView) PopToTag(TagVar string) bool { | ||
| 1215 | + | core.LazyRegister(&xNavigationViewPopToTag, "ADW", "adw_navigation_view_pop_to_tag", false) | |||
| 1216 | + | ||||
| 1175 | cret := xNavigationViewPopToTag(x.GoPointer(), TagVar) | 1217 | cret := xNavigationViewPopToTag(x.GoPointer(), TagVar) | ||
| 1176 | return cret | 1218 | return cret | ||
| 1177 | } | 1219 | } | ||
| @@ -1187,6 +1229,8 @@ var xNavigationViewPush func(uintptr, uintptr) | |||||
| 1187 | // | 1229 | // | ||
| 1188 | // See [method@NavigationView.push_by_tag]. | 1230 | // See [method@NavigationView.push_by_tag]. | ||
| 1189 | func (x *NavigationView) Push(PageVar *NavigationPage) { | 1231 | func (x *NavigationView) Push(PageVar *NavigationPage) { | ||
| 1232 | + | core.LazyRegister(&xNavigationViewPush, "ADW", "adw_navigation_view_push", false) | |||
| 1233 | + | ||||
| 1190 | xNavigationViewPush(x.GoPointer(), PageVar.GoPointer()) | 1234 | xNavigationViewPush(x.GoPointer(), PageVar.GoPointer()) | ||
| 1191 | } | 1235 | } | ||
| 1192 | 1236 | ||||
| @@ -1201,6 +1245,8 @@ var xNavigationViewPushByTag func(uintptr, string) | |||||
| 1201 | // | 1245 | // | ||
| 1202 | // See [method@NavigationView.push] and [property@NavigationPage:tag]. | 1246 | // See [method@NavigationView.push] and [property@NavigationPage:tag]. | ||
| 1203 | func (x *NavigationView) PushByTag(TagVar string) { | 1247 | func (x *NavigationView) PushByTag(TagVar string) { | ||
| 1248 | + | core.LazyRegister(&xNavigationViewPushByTag, "ADW", "adw_navigation_view_push_by_tag", false) | |||
| 1249 | + | ||||
| 1204 | xNavigationViewPushByTag(x.GoPointer(), TagVar) | 1250 | xNavigationViewPushByTag(x.GoPointer(), TagVar) | ||
| 1205 | } | 1251 | } | ||
| 1206 | 1252 | ||||
| @@ -1213,6 +1259,8 @@ var xNavigationViewRemove func(uintptr, uintptr) | |||||
| 1213 | // | 1259 | // | ||
| 1214 | // See [method@NavigationView.add]. | 1260 | // See [method@NavigationView.add]. | ||
| 1215 | func (x *NavigationView) Remove(PageVar *NavigationPage) { | 1261 | func (x *NavigationView) Remove(PageVar *NavigationPage) { | ||
| 1262 | + | core.LazyRegister(&xNavigationViewRemove, "ADW", "adw_navigation_view_remove", false) | |||
| 1263 | + | ||||
| 1216 | xNavigationViewRemove(x.GoPointer(), PageVar.GoPointer()) | 1264 | xNavigationViewRemove(x.GoPointer(), PageVar.GoPointer()) | ||
| 1217 | } | 1265 | } | ||
| 1218 | 1266 | ||||
| @@ -1234,6 +1282,8 @@ var xNavigationViewReplace func(uintptr, uintptr, int) | |||||
| 1234 | // | 1282 | // | ||
| 1235 | // See [method@NavigationView.replace_with_tags]. | 1283 | // See [method@NavigationView.replace_with_tags]. | ||
| 1236 | func (x *NavigationView) Replace(PagesVar uintptr, NPagesVar int) { | 1284 | func (x *NavigationView) Replace(PagesVar uintptr, NPagesVar int) { | ||
| 1285 | + | core.LazyRegister(&xNavigationViewReplace, "ADW", "adw_navigation_view_replace", false) | |||
| 1286 | + | ||||
| 1237 | xNavigationViewReplace(x.GoPointer(), PagesVar, NPagesVar) | 1287 | xNavigationViewReplace(x.GoPointer(), PagesVar, NPagesVar) | ||
| 1238 | } | 1288 | } | ||
| 1239 | 1289 | ||||
| @@ -1255,6 +1305,8 @@ var xNavigationViewReplaceWithTags func(uintptr, []string, int) | |||||
| 1255 | // | 1305 | // | ||
| 1256 | // See [method@NavigationView.replace] and [property@NavigationPage:tag]. | 1306 | // See [method@NavigationView.replace] and [property@NavigationPage:tag]. | ||
| 1257 | func (x *NavigationView) ReplaceWithTags(TagsVar []string, NTagsVar int) { | 1307 | func (x *NavigationView) ReplaceWithTags(TagsVar []string, NTagsVar int) { | ||
| 1308 | + | core.LazyRegister(&xNavigationViewReplaceWithTags, "ADW", "adw_navigation_view_replace_with_tags", false) | |||
| 1309 | + | ||||
| 1258 | xNavigationViewReplaceWithTags(x.GoPointer(), TagsVar, NTagsVar) | 1310 | xNavigationViewReplaceWithTags(x.GoPointer(), TagsVar, NTagsVar) | ||
| 1259 | } | 1311 | } | ||
| 1260 | 1312 | ||||
| @@ -1264,6 +1316,8 @@ var xNavigationViewSetAnimateTransitions func(uintptr, bool) | |||||
| 1264 | // | 1316 | // | ||
| 1265 | // Gesture-based transitions are always animated. | 1317 | // Gesture-based transitions are always animated. | ||
| 1266 | func (x *NavigationView) SetAnimateTransitions(AnimateTransitionsVar bool) { | 1318 | func (x *NavigationView) SetAnimateTransitions(AnimateTransitionsVar bool) { | ||
| 1319 | + | core.LazyRegister(&xNavigationViewSetAnimateTransitions, "ADW", "adw_navigation_view_set_animate_transitions", false) | |||
| 1320 | + | ||||
| 1267 | xNavigationViewSetAnimateTransitions(x.GoPointer(), AnimateTransitionsVar) | 1321 | xNavigationViewSetAnimateTransitions(x.GoPointer(), AnimateTransitionsVar) | ||
| 1268 | } | 1322 | } | ||
| 1269 | 1323 | ||||
| @@ -1276,6 +1330,8 @@ var xNavigationViewSetHhomogeneous func(uintptr, bool) | |||||
| 1276 | // | 1330 | // | ||
| 1277 | // If it's not, the view may change width when a different page becomes visible. | 1331 | // If it's not, the view may change width when a different page becomes visible. | ||
| 1278 | func (x *NavigationView) SetHhomogeneous(HhomogeneousVar bool) { | 1332 | func (x *NavigationView) SetHhomogeneous(HhomogeneousVar bool) { | ||
| 1333 | + | core.LazyRegister(&xNavigationViewSetHhomogeneous, "ADW", "adw_navigation_view_set_hhomogeneous", false) | |||
| 1334 | + | ||||
| 1279 | xNavigationViewSetHhomogeneous(x.GoPointer(), HhomogeneousVar) | 1335 | xNavigationViewSetHhomogeneous(x.GoPointer(), HhomogeneousVar) | ||
| 1280 | } | 1336 | } | ||
| 1281 | 1337 | ||||
| @@ -1286,6 +1342,8 @@ var xNavigationViewSetPopOnEscape func(uintptr, bool) | |||||
| 1286 | // Applications using `AdwNavigationView` to implement a browser may want to | 1342 | // Applications using `AdwNavigationView` to implement a browser may want to | ||
| 1287 | // disable it. | 1343 | // disable it. | ||
| 1288 | func (x *NavigationView) SetPopOnEscape(PopOnEscapeVar bool) { | 1344 | func (x *NavigationView) SetPopOnEscape(PopOnEscapeVar bool) { | ||
| 1345 | + | core.LazyRegister(&xNavigationViewSetPopOnEscape, "ADW", "adw_navigation_view_set_pop_on_escape", false) | |||
| 1346 | + | ||||
| 1289 | xNavigationViewSetPopOnEscape(x.GoPointer(), PopOnEscapeVar) | 1347 | xNavigationViewSetPopOnEscape(x.GoPointer(), PopOnEscapeVar) | ||
| 1290 | } | 1348 | } | ||
| 1291 | 1349 | ||||
| @@ -1299,6 +1357,8 @@ var xNavigationViewSetVhomogeneous func(uintptr, bool) | |||||
| 1299 | // If it's not, the view may change height when a different page becomes | 1357 | // If it's not, the view may change height when a different page becomes | ||
| 1300 | // visible. | 1358 | // visible. | ||
| 1301 | func (x *NavigationView) SetVhomogeneous(VhomogeneousVar bool) { | 1359 | func (x *NavigationView) SetVhomogeneous(VhomogeneousVar bool) { | ||
| 1360 | + | core.LazyRegister(&xNavigationViewSetVhomogeneous, "ADW", "adw_navigation_view_set_vhomogeneous", false) | |||
| 1361 | + | ||||
| 1302 | xNavigationViewSetVhomogeneous(x.GoPointer(), VhomogeneousVar) | 1362 | xNavigationViewSetVhomogeneous(x.GoPointer(), VhomogeneousVar) | ||
| 1303 | } | 1363 | } | ||
| 1304 | 1364 | ||||
| @@ -1843,53 +1903,4 @@ func (x *NavigationView) GetBuildableId() string { | |||||
| 1843 | func init() { | 1903 | func init() { | ||
| 1844 | core.SetPackageName("ADW", "libadwaita-1") | 1904 | core.SetPackageName("ADW", "libadwaita-1") | ||
| 1845 | core.SetSharedLibraries("ADW", []string{"libadwaita-1.so.0", "libadwaita-1.0.dylib"}) | 1905 | core.SetSharedLibraries("ADW", []string{"libadwaita-1.so.0", "libadwaita-1.0.dylib"}) | ||
| 1846 | - | var libs []uintptr | |||
| 1847 | - | for _, libPath := range core.GetPaths("ADW") { | |||
| 1848 | - | lib, err := purego.Dlopen(libPath, purego.RTLD_NOW|purego.RTLD_GLOBAL) | |||
| 1849 | - | if err != nil { | |||
| 1850 | - | panic(err) | |||
| 1851 | - | } | |||
| 1852 | - | libs = append(libs, lib) | |||
| 1853 | - | } | |||
| 1854 | - | ||||
| 1855 | - | core.PuregoSafeRegister(&xNavigationPageGLibType, libs, "adw_navigation_page_get_type") | |||
| 1856 | - | ||||
| 1857 | - | core.PuregoSafeRegister(&xNewNavigationPage, libs, "adw_navigation_page_new") | |||
| 1858 | - | core.PuregoSafeRegister(&xNewNavigationPageWithTag, libs, "adw_navigation_page_new_with_tag") | |||
| 1859 | - | ||||
| 1860 | - | core.PuregoSafeRegister(&xNavigationPageGetCanPop, libs, "adw_navigation_page_get_can_pop") | |||
| 1861 | - | core.PuregoSafeRegister(&xNavigationPageGetChild, libs, "adw_navigation_page_get_child") | |||
| 1862 | - | core.PuregoSafeRegister(&xNavigationPageGetTag, libs, "adw_navigation_page_get_tag") | |||
| 1863 | - | core.PuregoSafeRegister(&xNavigationPageGetTitle, libs, "adw_navigation_page_get_title") | |||
| 1864 | - | core.PuregoSafeRegister(&xNavigationPageSetCanPop, libs, "adw_navigation_page_set_can_pop") | |||
| 1865 | - | core.PuregoSafeRegister(&xNavigationPageSetChild, libs, "adw_navigation_page_set_child") | |||
| 1866 | - | core.PuregoSafeRegister(&xNavigationPageSetTag, libs, "adw_navigation_page_set_tag") | |||
| 1867 | - | core.PuregoSafeRegister(&xNavigationPageSetTitle, libs, "adw_navigation_page_set_title") | |||
| 1868 | - | ||||
| 1869 | - | core.PuregoSafeRegister(&xNavigationViewGLibType, libs, "adw_navigation_view_get_type") | |||
| 1870 | - | ||||
| 1871 | - | core.PuregoSafeRegister(&xNewNavigationView, libs, "adw_navigation_view_new") | |||
| 1872 | - | ||||
| 1873 | - | core.PuregoSafeRegister(&xNavigationViewAdd, libs, "adw_navigation_view_add") | |||
| 1874 | - | core.PuregoSafeRegister(&xNavigationViewFindPage, libs, "adw_navigation_view_find_page") | |||
| 1875 | - | core.PuregoSafeRegister(&xNavigationViewGetAnimateTransitions, libs, "adw_navigation_view_get_animate_transitions") | |||
| 1876 | - | core.PuregoSafeRegister(&xNavigationViewGetHhomogeneous, libs, "adw_navigation_view_get_hhomogeneous") | |||
| 1877 | - | core.PuregoSafeRegister(&xNavigationViewGetNavigationStack, libs, "adw_navigation_view_get_navigation_stack") | |||
| 1878 | - | core.PuregoSafeRegister(&xNavigationViewGetPopOnEscape, libs, "adw_navigation_view_get_pop_on_escape") | |||
| 1879 | - | core.PuregoSafeRegister(&xNavigationViewGetPreviousPage, libs, "adw_navigation_view_get_previous_page") | |||
| 1880 | - | core.PuregoSafeRegister(&xNavigationViewGetVhomogeneous, libs, "adw_navigation_view_get_vhomogeneous") | |||
| 1881 | - | core.PuregoSafeRegister(&xNavigationViewGetVisiblePage, libs, "adw_navigation_view_get_visible_page") | |||
| 1882 | - | core.PuregoSafeRegister(&xNavigationViewGetVisiblePageTag, libs, "adw_navigation_view_get_visible_page_tag") | |||
| 1883 | - | core.PuregoSafeRegister(&xNavigationViewPop, libs, "adw_navigation_view_pop") | |||
| 1884 | - | core.PuregoSafeRegister(&xNavigationViewPopToPage, libs, "adw_navigation_view_pop_to_page") | |||
| 1885 | - | core.PuregoSafeRegister(&xNavigationViewPopToTag, libs, "adw_navigation_view_pop_to_tag") | |||
| 1886 | - | core.PuregoSafeRegister(&xNavigationViewPush, libs, "adw_navigation_view_push") | |||
| 1887 | - | core.PuregoSafeRegister(&xNavigationViewPushByTag, libs, "adw_navigation_view_push_by_tag") | |||
| 1888 | - | core.PuregoSafeRegister(&xNavigationViewRemove, libs, "adw_navigation_view_remove") | |||
| 1889 | - | core.PuregoSafeRegister(&xNavigationViewReplace, libs, "adw_navigation_view_replace") | |||
| 1890 | - | core.PuregoSafeRegister(&xNavigationViewReplaceWithTags, libs, "adw_navigation_view_replace_with_tags") | |||
| 1891 | - | core.PuregoSafeRegister(&xNavigationViewSetAnimateTransitions, libs, "adw_navigation_view_set_animate_transitions") | |||
| 1892 | - | core.PuregoSafeRegister(&xNavigationViewSetHhomogeneous, libs, "adw_navigation_view_set_hhomogeneous") | |||
| 1893 | - | core.PuregoSafeRegister(&xNavigationViewSetPopOnEscape, libs, "adw_navigation_view_set_pop_on_escape") | |||
| 1894 | - | core.PuregoSafeRegister(&xNavigationViewSetVhomogeneous, libs, "adw_navigation_view_set_vhomogeneous") | |||
| 1895 | } | 1906 | } | ||