Revert "chore(deps): pin puregotk nil-signal fix"
This reverts commit a161e348e2093172038390b0906448f0ae979a0d.
- commit
- 40378d5e4fd2372d054e49168ab2a6f67aedd0fd
- author
- brice · · 2026-07-14 17:59 UTC
- parent
- 8d647bb
- signature
- GPG Verified
CD88F9E564E0102646FB6077A1A07C7C7C3E349D· arch-gpg Verified for the committer email
905 files · +25263 -27842
M go.mod +1 -1
| @@ -11,7 +11,7 @@ require ( | |||
| 11 | 11 | github.com/bnema/purego-pipewire v0.1.5-0.20260714124450-6504b9cdf02a | |
| 12 | 12 | github.com/bnema/purego-sqlite v0.1.4-0.20260714131321-3614fe683b9c | |
| 13 | 13 | github.com/bnema/purego-webp v0.2.1-0.20260714152238-7bc9c402fdf6 | |
| 14 | - | github.com/bnema/puregotk v0.7.1-0.20260714170452-0b6b9b901234 | |
| 14 | + | github.com/bnema/puregotk v0.7.0 | |
| 15 | 15 | github.com/charmbracelet/bubbles v1.0.0 | |
| 16 | 16 | github.com/charmbracelet/bubbletea v1.3.10 | |
| 17 | 17 | github.com/charmbracelet/lipgloss v1.1.0 | |
| @@ -11,7 +11,7 @@ require ( | |||||
| 11 | github.com/bnema/purego-pipewire v0.1.5-0.20260714124450-6504b9cdf02a | 11 | github.com/bnema/purego-pipewire v0.1.5-0.20260714124450-6504b9cdf02a | ||
| 12 | github.com/bnema/purego-sqlite v0.1.4-0.20260714131321-3614fe683b9c | 12 | github.com/bnema/purego-sqlite v0.1.4-0.20260714131321-3614fe683b9c | ||
| 13 | github.com/bnema/purego-webp v0.2.1-0.20260714152238-7bc9c402fdf6 | 13 | github.com/bnema/purego-webp v0.2.1-0.20260714152238-7bc9c402fdf6 | ||
| 14 | - | github.com/bnema/puregotk v0.7.1-0.20260714170452-0b6b9b901234 | 14 | + | github.com/bnema/puregotk v0.7.0 |
| 15 | github.com/charmbracelet/bubbles v1.0.0 | 15 | github.com/charmbracelet/bubbles v1.0.0 | ||
| 16 | github.com/charmbracelet/bubbletea v1.3.10 | 16 | github.com/charmbracelet/bubbletea v1.3.10 | ||
| 17 | github.com/charmbracelet/lipgloss v1.1.0 | 17 | github.com/charmbracelet/lipgloss v1.1.0 | ||
M go.sum +0 -4 generated file: collapsed
M vendor/github.com/bnema/puregotk/internal/core/core.go +4 -197 generated file: collapsed
M vendor/github.com/bnema/puregotk/pkg/core/core.go +0 -10 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/adw/adw-about-dialog.go +64 -99 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/adw/adw-about-window.go +62 -95 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/adw/adw-accent-color.go +15 -7 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/adw/adw-action-row.go +29 -33 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/adw/adw-alert-dialog.go +47 -66 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/adw/adw-animation-target.go +27 -10 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/adw/adw-animation-util.go +12 -4 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/adw/adw-animation.go +26 -24 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/adw/adw-application-window.go +22 -14 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/adw/adw-application.go +15 -3 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/adw/adw-avatar.go +25 -22 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/adw/adw-banner.go +26 -23 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/adw/adw-bin.go +16 -5 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/adw/adw-bottom-sheet.go +38 -47 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/adw/adw-breakpoint-bin.go +19 -10 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/adw/adw-breakpoint.go +37 -33 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/adw/adw-button-content.go +22 -18 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/adw/adw-button-row.go +18 -10 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/adw/adw-carousel-indicator-dots.go +16 -5 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/adw/adw-carousel-indicator-lines.go +16 -5 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/adw/adw-carousel.go +37 -47 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/adw/adw-clamp-layout.go +20 -14 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/adw/adw-clamp-scrollable.go +22 -17 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/adw/adw-clamp.go +22 -17 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/adw/adw-combo-row.go +33 -34 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/adw/adw-dialog.go +38 -45 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/adw/adw-easing.go +13 -3 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/adw/adw-entry-row.go +33 -40 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/adw/adw-enum-list-model.go +22 -13 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/adw/adw-expander-row.go +33 -40 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/adw/adw-flap.go +48 -61 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/adw/adw-fold-threshold-policy.go +1 -10 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/adw/adw-header-bar.go +33 -36 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/adw/adw-inline-view-switcher.go +24 -18 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/adw/adw-layout-slot.go +15 -4 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/adw/adw-layout.go +17 -7 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/adw/adw-leaflet.go +56 -69 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/adw/adw-length-unit.go +14 -5 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/adw/adw-main.go +15 -5 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/adw/adw-message-dialog.go +44 -63 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/adw/adw-multi-layout-view.go +23 -17 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/adw/adw-navigation-direction.go +1 -10 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/adw/adw-navigation-split-view.go +32 -36 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/adw/adw-navigation-view.go +49 -60
| @@ -186,7 +186,6 @@ 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) | |
| 190 | 189 | return xNavigationPageGLibType() | |
| 191 | 190 | } | |
| 192 | 191 | ||
| @@ -200,7 +199,6 @@ var xNewNavigationPage func(uintptr, string) uintptr | |||
| 200 | 199 | ||
| 201 | 200 | // Creates a new `AdwNavigationPage`. | |
| 202 | 201 | func NewNavigationPage(ChildVar *gtk.Widget, TitleVar string) *NavigationPage { | |
| 203 | - | core.LazyRegister(&xNewNavigationPage, "ADW", "adw_navigation_page_new", false) | |
| 204 | 202 | var cls *NavigationPage | |
| 205 | 203 | ||
| 206 | 204 | cret := xNewNavigationPage(ChildVar.GoPointer(), TitleVar) | |
| @@ -218,7 +216,6 @@ var xNewNavigationPageWithTag func(uintptr, string, string) uintptr | |||
| 218 | 216 | ||
| 219 | 217 | // Creates a new `AdwNavigationPage` with provided tag. | |
| 220 | 218 | func NewNavigationPageWithTag(ChildVar *gtk.Widget, TitleVar string, TagVar string) *NavigationPage { | |
| 221 | - | core.LazyRegister(&xNewNavigationPageWithTag, "ADW", "adw_navigation_page_new_with_tag", false) | |
| 222 | 219 | var cls *NavigationPage | |
| 223 | 220 | ||
| 224 | 221 | cret := xNewNavigationPageWithTag(ChildVar.GoPointer(), TitleVar, TagVar) | |
| @@ -236,8 +233,6 @@ var xNavigationPageGetCanPop func(uintptr) bool | |||
| 236 | 233 | ||
| 237 | 234 | // Gets whether @self can be popped from navigation stack. | |
| 238 | 235 | func (x *NavigationPage) GetCanPop() bool { | |
| 239 | - | core.LazyRegister(&xNavigationPageGetCanPop, "ADW", "adw_navigation_page_get_can_pop", false) | |
| 240 | - | ||
| 241 | 236 | cret := xNavigationPageGetCanPop(x.GoPointer()) | |
| 242 | 237 | return cret | |
| 243 | 238 | } | |
| @@ -246,7 +241,6 @@ var xNavigationPageGetChild func(uintptr) uintptr | |||
| 246 | 241 | ||
| 247 | 242 | // Gets the child widget of @self. | |
| 248 | 243 | func (x *NavigationPage) GetChild() *gtk.Widget { | |
| 249 | - | core.LazyRegister(&xNavigationPageGetChild, "ADW", "adw_navigation_page_get_child", false) | |
| 250 | 244 | var cls *gtk.Widget | |
| 251 | 245 | ||
| 252 | 246 | cret := xNavigationPageGetChild(x.GoPointer()) | |
| @@ -264,8 +258,6 @@ var xNavigationPageGetTag func(uintptr) string | |||
| 264 | 258 | ||
| 265 | 259 | // Gets the tag of @self. | |
| 266 | 260 | func (x *NavigationPage) GetTag() string { | |
| 267 | - | core.LazyRegister(&xNavigationPageGetTag, "ADW", "adw_navigation_page_get_tag", false) | |
| 268 | - | ||
| 269 | 261 | cret := xNavigationPageGetTag(x.GoPointer()) | |
| 270 | 262 | return cret | |
| 271 | 263 | } | |
| @@ -274,8 +266,6 @@ var xNavigationPageGetTitle func(uintptr) string | |||
| 274 | 266 | ||
| 275 | 267 | // Gets the title of @self. | |
| 276 | 268 | func (x *NavigationPage) GetTitle() string { | |
| 277 | - | core.LazyRegister(&xNavigationPageGetTitle, "ADW", "adw_navigation_page_get_title", false) | |
| 278 | - | ||
| 279 | 269 | cret := xNavigationPageGetTitle(x.GoPointer()) | |
| 280 | 270 | return cret | |
| 281 | 271 | } | |
| @@ -293,8 +283,6 @@ var xNavigationPageSetCanPop func(uintptr, bool) | |||
| 293 | 283 | // See [property@HeaderBar:show-back-button] for removing only the back button, | |
| 294 | 284 | // but not shortcuts. | |
| 295 | 285 | func (x *NavigationPage) SetCanPop(CanPopVar bool) { | |
| 296 | - | core.LazyRegister(&xNavigationPageSetCanPop, "ADW", "adw_navigation_page_set_can_pop", false) | |
| 297 | - | ||
| 298 | 286 | xNavigationPageSetCanPop(x.GoPointer(), CanPopVar) | |
| 299 | 287 | } | |
| 300 | 288 | ||
| @@ -302,8 +290,6 @@ var xNavigationPageSetChild func(uintptr, uintptr) | |||
| 302 | 290 | ||
| 303 | 291 | // Sets the child widget of @self. | |
| 304 | 292 | func (x *NavigationPage) SetChild(ChildVar *gtk.Widget) { | |
| 305 | - | core.LazyRegister(&xNavigationPageSetChild, "ADW", "adw_navigation_page_set_child", false) | |
| 306 | - | ||
| 307 | 293 | xNavigationPageSetChild(x.GoPointer(), ChildVar.GoPointer()) | |
| 308 | 294 | } | |
| 309 | 295 | ||
| @@ -320,8 +306,6 @@ var xNavigationPageSetTag func(uintptr, uintptr) | |||
| 320 | 306 | // | |
| 321 | 307 | // The tag also must be set to use the `navigation.push` action. | |
| 322 | 308 | func (x *NavigationPage) SetTag(TagVar *string) { | |
| 323 | - | core.LazyRegister(&xNavigationPageSetTag, "ADW", "adw_navigation_page_set_tag", false) | |
| 324 | - | ||
| 325 | 309 | TagVarPtr := core.GStrdupNullable(TagVar) | |
| 326 | 310 | defer core.GFreeNullable(TagVarPtr) | |
| 327 | 311 | ||
| @@ -335,8 +319,6 @@ var xNavigationPageSetTitle func(uintptr, string) | |||
| 335 | 319 | // It's displayed in [class@HeaderBar] instead of the window title, and used as | |
| 336 | 320 | // the tooltip on the next page's back button, as well as by screen reader. | |
| 337 | 321 | func (x *NavigationPage) SetTitle(TitleVar string) { | |
| 338 | - | core.LazyRegister(&xNavigationPageSetTitle, "ADW", "adw_navigation_page_set_title", false) | |
| 339 | - | ||
| 340 | 322 | xNavigationPageSetTitle(x.GoPointer(), TitleVar) | |
| 341 | 323 | } | |
| 342 | 324 | ||
| @@ -982,7 +964,6 @@ type NavigationView struct { | |||
| 982 | 964 | var xNavigationViewGLibType func() types.GType | |
| 983 | 965 | ||
| 984 | 966 | func NavigationViewGLibType() types.GType { | |
| 985 | - | core.LazyRegister(&xNavigationViewGLibType, "ADW", "adw_navigation_view_get_type", false) | |
| 986 | 967 | return xNavigationViewGLibType() | |
| 987 | 968 | } | |
| 988 | 969 | ||
| @@ -996,7 +977,6 @@ var xNewNavigationView func() uintptr | |||
| 996 | 977 | ||
| 997 | 978 | // Creates a new `AdwNavigationView`. | |
| 998 | 979 | func NewNavigationView() *NavigationView { | |
| 999 | - | core.LazyRegister(&xNewNavigationView, "ADW", "adw_navigation_view_new", false) | |
| 1000 | 980 | var cls *NavigationView | |
| 1001 | 981 | ||
| 1002 | 982 | cret := xNewNavigationView() | |
| @@ -1022,8 +1002,6 @@ var xNavigationViewAdd func(uintptr, uintptr) | |||
| 1022 | 1002 | // | |
| 1023 | 1003 | // See [method@NavigationView.remove]. | |
| 1024 | 1004 | func (x *NavigationView) Add(PageVar *NavigationPage) { | |
| 1025 | - | core.LazyRegister(&xNavigationViewAdd, "ADW", "adw_navigation_view_add", false) | |
| 1026 | - | ||
| 1027 | 1005 | xNavigationViewAdd(x.GoPointer(), PageVar.GoPointer()) | |
| 1028 | 1006 | } | |
| 1029 | 1007 | ||
| @@ -1033,7 +1011,6 @@ var xNavigationViewFindPage func(uintptr, string) uintptr | |||
| 1033 | 1011 | // | |
| 1034 | 1012 | // See [property@NavigationPage:tag]. | |
| 1035 | 1013 | func (x *NavigationView) FindPage(TagVar string) *NavigationPage { | |
| 1036 | - | core.LazyRegister(&xNavigationViewFindPage, "ADW", "adw_navigation_view_find_page", false) | |
| 1037 | 1014 | var cls *NavigationPage | |
| 1038 | 1015 | ||
| 1039 | 1016 | cret := xNavigationViewFindPage(x.GoPointer(), TagVar) | |
| @@ -1051,8 +1028,6 @@ var xNavigationViewGetAnimateTransitions func(uintptr) bool | |||
| 1051 | 1028 | ||
| 1052 | 1029 | // Gets whether @self animates page transitions. | |
| 1053 | 1030 | func (x *NavigationView) GetAnimateTransitions() bool { | |
| 1054 | - | core.LazyRegister(&xNavigationViewGetAnimateTransitions, "ADW", "adw_navigation_view_get_animate_transitions", false) | |
| 1055 | - | ||
| 1056 | 1031 | cret := xNavigationViewGetAnimateTransitions(x.GoPointer()) | |
| 1057 | 1032 | return cret | |
| 1058 | 1033 | } | |
| @@ -1061,8 +1036,6 @@ var xNavigationViewGetHhomogeneous func(uintptr) bool | |||
| 1061 | 1036 | ||
| 1062 | 1037 | // Gets whether @self is horizontally homogeneous. | |
| 1063 | 1038 | func (x *NavigationView) GetHhomogeneous() bool { | |
| 1064 | - | core.LazyRegister(&xNavigationViewGetHhomogeneous, "ADW", "adw_navigation_view_get_hhomogeneous", false) | |
| 1065 | - | ||
| 1066 | 1039 | cret := xNavigationViewGetHhomogeneous(x.GoPointer()) | |
| 1067 | 1040 | return cret | |
| 1068 | 1041 | } | |
| @@ -1075,7 +1048,6 @@ var xNavigationViewGetNavigationStack func(uintptr) uintptr | |||
| 1075 | 1048 | // | |
| 1076 | 1049 | // This can be used to keep an up-to-date view. | |
| 1077 | 1050 | func (x *NavigationView) GetNavigationStack() *gio.ListModelBase { | |
| 1078 | - | core.LazyRegister(&xNavigationViewGetNavigationStack, "ADW", "adw_navigation_view_get_navigation_stack", false) | |
| 1079 | 1051 | var cls *gio.ListModelBase | |
| 1080 | 1052 | ||
| 1081 | 1053 | cret := xNavigationViewGetNavigationStack(x.GoPointer()) | |
| @@ -1092,8 +1064,6 @@ var xNavigationViewGetPopOnEscape func(uintptr) bool | |||
| 1092 | 1064 | ||
| 1093 | 1065 | // Gets whether pressing Escape pops the current page on @self. | |
| 1094 | 1066 | func (x *NavigationView) GetPopOnEscape() bool { | |
| 1095 | - | core.LazyRegister(&xNavigationViewGetPopOnEscape, "ADW", "adw_navigation_view_get_pop_on_escape", false) | |
| 1096 | - | ||
| 1097 | 1067 | cret := xNavigationViewGetPopOnEscape(x.GoPointer()) | |
| 1098 | 1068 | return cret | |
| 1099 | 1069 | } | |
| @@ -1107,7 +1077,6 @@ var xNavigationViewGetPreviousPage func(uintptr, uintptr) uintptr | |||
| 1107 | 1077 | // | |
| 1108 | 1078 | // If @page is the root page or is not in the navigation stack, returns `NULL`. | |
| 1109 | 1079 | func (x *NavigationView) GetPreviousPage(PageVar *NavigationPage) *NavigationPage { | |
| 1110 | - | core.LazyRegister(&xNavigationViewGetPreviousPage, "ADW", "adw_navigation_view_get_previous_page", false) | |
| 1111 | 1080 | var cls *NavigationPage | |
| 1112 | 1081 | ||
| 1113 | 1082 | cret := xNavigationViewGetPreviousPage(x.GoPointer(), PageVar.GoPointer()) | |
| @@ -1125,8 +1094,6 @@ var xNavigationViewGetVhomogeneous func(uintptr) bool | |||
| 1125 | 1094 | ||
| 1126 | 1095 | // Gets whether @self is vertically homogeneous. | |
| 1127 | 1096 | func (x *NavigationView) GetVhomogeneous() bool { | |
| 1128 | - | core.LazyRegister(&xNavigationViewGetVhomogeneous, "ADW", "adw_navigation_view_get_vhomogeneous", false) | |
| 1129 | - | ||
| 1130 | 1097 | cret := xNavigationViewGetVhomogeneous(x.GoPointer()) | |
| 1131 | 1098 | return cret | |
| 1132 | 1099 | } | |
| @@ -1135,7 +1102,6 @@ var xNavigationViewGetVisiblePage func(uintptr) uintptr | |||
| 1135 | 1102 | ||
| 1136 | 1103 | // Gets the currently visible page in @self. | |
| 1137 | 1104 | func (x *NavigationView) GetVisiblePage() *NavigationPage { | |
| 1138 | - | core.LazyRegister(&xNavigationViewGetVisiblePage, "ADW", "adw_navigation_view_get_visible_page", false) | |
| 1139 | 1105 | var cls *NavigationPage | |
| 1140 | 1106 | ||
| 1141 | 1107 | cret := xNavigationViewGetVisiblePage(x.GoPointer()) | |
| @@ -1153,8 +1119,6 @@ var xNavigationViewGetVisiblePageTag func(uintptr) string | |||
| 1153 | 1119 | ||
| 1154 | 1120 | // Gets the tag of the currently visible page in @self. | |
| 1155 | 1121 | func (x *NavigationView) GetVisiblePageTag() string { | |
| 1156 | - | core.LazyRegister(&xNavigationViewGetVisiblePageTag, "ADW", "adw_navigation_view_get_visible_page_tag", false) | |
| 1157 | - | ||
| 1158 | 1122 | cret := xNavigationViewGetVisiblePageTag(x.GoPointer()) | |
| 1159 | 1123 | return cret | |
| 1160 | 1124 | } | |
| @@ -1173,8 +1137,6 @@ var xNavigationViewPop func(uintptr) bool | |||
| 1173 | 1137 | // See [method@NavigationView.pop_to_page] and | |
| 1174 | 1138 | // [method@NavigationView.pop_to_tag]. | |
| 1175 | 1139 | func (x *NavigationView) Pop() bool { | |
| 1176 | - | core.LazyRegister(&xNavigationViewPop, "ADW", "adw_navigation_view_pop", false) | |
| 1177 | - | ||
| 1178 | 1140 | cret := xNavigationViewPop(x.GoPointer()) | |
| 1179 | 1141 | return cret | |
| 1180 | 1142 | } | |
| @@ -1193,8 +1155,6 @@ var xNavigationViewPopToPage func(uintptr, uintptr) bool | |||
| 1193 | 1155 | // | |
| 1194 | 1156 | // See [method@NavigationView.pop] and [method@NavigationView.pop_to_tag]. | |
| 1195 | 1157 | func (x *NavigationView) PopToPage(PageVar *NavigationPage) bool { | |
| 1196 | - | core.LazyRegister(&xNavigationViewPopToPage, "ADW", "adw_navigation_view_pop_to_page", false) | |
| 1197 | - | ||
| 1198 | 1158 | cret := xNavigationViewPopToPage(x.GoPointer(), PageVar.GoPointer()) | |
| 1199 | 1159 | return cret | |
| 1200 | 1160 | } | |
| @@ -1212,8 +1172,6 @@ var xNavigationViewPopToTag func(uintptr, string) bool | |||
| 1212 | 1172 | // | |
| 1213 | 1173 | // See [method@NavigationView.pop_to_page] and [property@NavigationPage:tag]. | |
| 1214 | 1174 | func (x *NavigationView) PopToTag(TagVar string) bool { | |
| 1215 | - | core.LazyRegister(&xNavigationViewPopToTag, "ADW", "adw_navigation_view_pop_to_tag", false) | |
| 1216 | - | ||
| 1217 | 1175 | cret := xNavigationViewPopToTag(x.GoPointer(), TagVar) | |
| 1218 | 1176 | return cret | |
| 1219 | 1177 | } | |
| @@ -1229,8 +1187,6 @@ var xNavigationViewPush func(uintptr, uintptr) | |||
| 1229 | 1187 | // | |
| 1230 | 1188 | // See [method@NavigationView.push_by_tag]. | |
| 1231 | 1189 | func (x *NavigationView) Push(PageVar *NavigationPage) { | |
| 1232 | - | core.LazyRegister(&xNavigationViewPush, "ADW", "adw_navigation_view_push", false) | |
| 1233 | - | ||
| 1234 | 1190 | xNavigationViewPush(x.GoPointer(), PageVar.GoPointer()) | |
| 1235 | 1191 | } | |
| 1236 | 1192 | ||
| @@ -1245,8 +1201,6 @@ var xNavigationViewPushByTag func(uintptr, string) | |||
| 1245 | 1201 | // | |
| 1246 | 1202 | // See [method@NavigationView.push] and [property@NavigationPage:tag]. | |
| 1247 | 1203 | func (x *NavigationView) PushByTag(TagVar string) { | |
| 1248 | - | core.LazyRegister(&xNavigationViewPushByTag, "ADW", "adw_navigation_view_push_by_tag", false) | |
| 1249 | - | ||
| 1250 | 1204 | xNavigationViewPushByTag(x.GoPointer(), TagVar) | |
| 1251 | 1205 | } | |
| 1252 | 1206 | ||
| @@ -1259,8 +1213,6 @@ var xNavigationViewRemove func(uintptr, uintptr) | |||
| 1259 | 1213 | // | |
| 1260 | 1214 | // See [method@NavigationView.add]. | |
| 1261 | 1215 | func (x *NavigationView) Remove(PageVar *NavigationPage) { | |
| 1262 | - | core.LazyRegister(&xNavigationViewRemove, "ADW", "adw_navigation_view_remove", false) | |
| 1263 | - | ||
| 1264 | 1216 | xNavigationViewRemove(x.GoPointer(), PageVar.GoPointer()) | |
| 1265 | 1217 | } | |
| 1266 | 1218 | ||
| @@ -1282,8 +1234,6 @@ var xNavigationViewReplace func(uintptr, uintptr, int) | |||
| 1282 | 1234 | // | |
| 1283 | 1235 | // See [method@NavigationView.replace_with_tags]. | |
| 1284 | 1236 | func (x *NavigationView) Replace(PagesVar uintptr, NPagesVar int) { | |
| 1285 | - | core.LazyRegister(&xNavigationViewReplace, "ADW", "adw_navigation_view_replace", false) | |
| 1286 | - | ||
| 1287 | 1237 | xNavigationViewReplace(x.GoPointer(), PagesVar, NPagesVar) | |
| 1288 | 1238 | } | |
| 1289 | 1239 | ||
| @@ -1305,8 +1255,6 @@ var xNavigationViewReplaceWithTags func(uintptr, []string, int) | |||
| 1305 | 1255 | // | |
| 1306 | 1256 | // See [method@NavigationView.replace] and [property@NavigationPage:tag]. | |
| 1307 | 1257 | func (x *NavigationView) ReplaceWithTags(TagsVar []string, NTagsVar int) { | |
| 1308 | - | core.LazyRegister(&xNavigationViewReplaceWithTags, "ADW", "adw_navigation_view_replace_with_tags", false) | |
| 1309 | - | ||
| 1310 | 1258 | xNavigationViewReplaceWithTags(x.GoPointer(), TagsVar, NTagsVar) | |
| 1311 | 1259 | } | |
| 1312 | 1260 | ||
| @@ -1316,8 +1264,6 @@ var xNavigationViewSetAnimateTransitions func(uintptr, bool) | |||
| 1316 | 1264 | // | |
| 1317 | 1265 | // Gesture-based transitions are always animated. | |
| 1318 | 1266 | func (x *NavigationView) SetAnimateTransitions(AnimateTransitionsVar bool) { | |
| 1319 | - | core.LazyRegister(&xNavigationViewSetAnimateTransitions, "ADW", "adw_navigation_view_set_animate_transitions", false) | |
| 1320 | - | ||
| 1321 | 1267 | xNavigationViewSetAnimateTransitions(x.GoPointer(), AnimateTransitionsVar) | |
| 1322 | 1268 | } | |
| 1323 | 1269 | ||
| @@ -1330,8 +1276,6 @@ var xNavigationViewSetHhomogeneous func(uintptr, bool) | |||
| 1330 | 1276 | // | |
| 1331 | 1277 | // If it's not, the view may change width when a different page becomes visible. | |
| 1332 | 1278 | func (x *NavigationView) SetHhomogeneous(HhomogeneousVar bool) { | |
| 1333 | - | core.LazyRegister(&xNavigationViewSetHhomogeneous, "ADW", "adw_navigation_view_set_hhomogeneous", false) | |
| 1334 | - | ||
| 1335 | 1279 | xNavigationViewSetHhomogeneous(x.GoPointer(), HhomogeneousVar) | |
| 1336 | 1280 | } | |
| 1337 | 1281 | ||
| @@ -1342,8 +1286,6 @@ var xNavigationViewSetPopOnEscape func(uintptr, bool) | |||
| 1342 | 1286 | // Applications using `AdwNavigationView` to implement a browser may want to | |
| 1343 | 1287 | // disable it. | |
| 1344 | 1288 | func (x *NavigationView) SetPopOnEscape(PopOnEscapeVar bool) { | |
| 1345 | - | core.LazyRegister(&xNavigationViewSetPopOnEscape, "ADW", "adw_navigation_view_set_pop_on_escape", false) | |
| 1346 | - | ||
| 1347 | 1289 | xNavigationViewSetPopOnEscape(x.GoPointer(), PopOnEscapeVar) | |
| 1348 | 1290 | } | |
| 1349 | 1291 | ||
| @@ -1357,8 +1299,6 @@ var xNavigationViewSetVhomogeneous func(uintptr, bool) | |||
| 1357 | 1299 | // If it's not, the view may change height when a different page becomes | |
| 1358 | 1300 | // visible. | |
| 1359 | 1301 | func (x *NavigationView) SetVhomogeneous(VhomogeneousVar bool) { | |
| 1360 | - | core.LazyRegister(&xNavigationViewSetVhomogeneous, "ADW", "adw_navigation_view_set_vhomogeneous", false) | |
| 1361 | - | ||
| 1362 | 1302 | xNavigationViewSetVhomogeneous(x.GoPointer(), VhomogeneousVar) | |
| 1363 | 1303 | } | |
| 1364 | 1304 | ||
| @@ -1903,4 +1843,53 @@ func (x *NavigationView) GetBuildableId() string { | |||
| 1903 | 1843 | func init() { | |
| 1904 | 1844 | core.SetPackageName("ADW", "libadwaita-1") | |
| 1905 | 1845 | 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") | |
| 1906 | 1895 | } | |
| @@ -186,7 +186,6 @@ 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) | |||
| 190 | return xNavigationPageGLibType() | 189 | return xNavigationPageGLibType() | ||
| 191 | } | 190 | } | ||
| 192 | 191 | ||||
| @@ -200,7 +199,6 @@ var xNewNavigationPage func(uintptr, string) uintptr | |||||
| 200 | 199 | ||||
| 201 | // Creates a new `AdwNavigationPage`. | 200 | // Creates a new `AdwNavigationPage`. | ||
| 202 | func NewNavigationPage(ChildVar *gtk.Widget, TitleVar string) *NavigationPage { | 201 | func NewNavigationPage(ChildVar *gtk.Widget, TitleVar string) *NavigationPage { | ||
| 203 | - | core.LazyRegister(&xNewNavigationPage, "ADW", "adw_navigation_page_new", false) | |||
| 204 | var cls *NavigationPage | 202 | var cls *NavigationPage | ||
| 205 | 203 | ||||
| 206 | cret := xNewNavigationPage(ChildVar.GoPointer(), TitleVar) | 204 | cret := xNewNavigationPage(ChildVar.GoPointer(), TitleVar) | ||
| @@ -218,7 +216,6 @@ var xNewNavigationPageWithTag func(uintptr, string, string) uintptr | |||||
| 218 | 216 | ||||
| 219 | // Creates a new `AdwNavigationPage` with provided tag. | 217 | // Creates a new `AdwNavigationPage` with provided tag. | ||
| 220 | func NewNavigationPageWithTag(ChildVar *gtk.Widget, TitleVar string, TagVar string) *NavigationPage { | 218 | func NewNavigationPageWithTag(ChildVar *gtk.Widget, TitleVar string, TagVar string) *NavigationPage { | ||
| 221 | - | core.LazyRegister(&xNewNavigationPageWithTag, "ADW", "adw_navigation_page_new_with_tag", false) | |||
| 222 | var cls *NavigationPage | 219 | var cls *NavigationPage | ||
| 223 | 220 | ||||
| 224 | cret := xNewNavigationPageWithTag(ChildVar.GoPointer(), TitleVar, TagVar) | 221 | cret := xNewNavigationPageWithTag(ChildVar.GoPointer(), TitleVar, TagVar) | ||
| @@ -236,8 +233,6 @@ var xNavigationPageGetCanPop func(uintptr) bool | |||||
| 236 | 233 | ||||
| 237 | // Gets whether @self can be popped from navigation stack. | 234 | // Gets whether @self can be popped from navigation stack. | ||
| 238 | func (x *NavigationPage) GetCanPop() bool { | 235 | func (x *NavigationPage) GetCanPop() bool { | ||
| 239 | - | core.LazyRegister(&xNavigationPageGetCanPop, "ADW", "adw_navigation_page_get_can_pop", false) | |||
| 240 | - | ||||
| 241 | cret := xNavigationPageGetCanPop(x.GoPointer()) | 236 | cret := xNavigationPageGetCanPop(x.GoPointer()) | ||
| 242 | return cret | 237 | return cret | ||
| 243 | } | 238 | } | ||
| @@ -246,7 +241,6 @@ var xNavigationPageGetChild func(uintptr) uintptr | |||||
| 246 | 241 | ||||
| 247 | // Gets the child widget of @self. | 242 | // Gets the child widget of @self. | ||
| 248 | func (x *NavigationPage) GetChild() *gtk.Widget { | 243 | func (x *NavigationPage) GetChild() *gtk.Widget { | ||
| 249 | - | core.LazyRegister(&xNavigationPageGetChild, "ADW", "adw_navigation_page_get_child", false) | |||
| 250 | var cls *gtk.Widget | 244 | var cls *gtk.Widget | ||
| 251 | 245 | ||||
| 252 | cret := xNavigationPageGetChild(x.GoPointer()) | 246 | cret := xNavigationPageGetChild(x.GoPointer()) | ||
| @@ -264,8 +258,6 @@ var xNavigationPageGetTag func(uintptr) string | |||||
| 264 | 258 | ||||
| 265 | // Gets the tag of @self. | 259 | // Gets the tag of @self. | ||
| 266 | func (x *NavigationPage) GetTag() string { | 260 | func (x *NavigationPage) GetTag() string { | ||
| 267 | - | core.LazyRegister(&xNavigationPageGetTag, "ADW", "adw_navigation_page_get_tag", false) | |||
| 268 | - | ||||
| 269 | cret := xNavigationPageGetTag(x.GoPointer()) | 261 | cret := xNavigationPageGetTag(x.GoPointer()) | ||
| 270 | return cret | 262 | return cret | ||
| 271 | } | 263 | } | ||
| @@ -274,8 +266,6 @@ var xNavigationPageGetTitle func(uintptr) string | |||||
| 274 | 266 | ||||
| 275 | // Gets the title of @self. | 267 | // Gets the title of @self. | ||
| 276 | func (x *NavigationPage) GetTitle() string { | 268 | func (x *NavigationPage) GetTitle() string { | ||
| 277 | - | core.LazyRegister(&xNavigationPageGetTitle, "ADW", "adw_navigation_page_get_title", false) | |||
| 278 | - | ||||
| 279 | cret := xNavigationPageGetTitle(x.GoPointer()) | 269 | cret := xNavigationPageGetTitle(x.GoPointer()) | ||
| 280 | return cret | 270 | return cret | ||
| 281 | } | 271 | } | ||
| @@ -293,8 +283,6 @@ var xNavigationPageSetCanPop func(uintptr, bool) | |||||
| 293 | // See [property@HeaderBar:show-back-button] for removing only the back button, | 283 | // See [property@HeaderBar:show-back-button] for removing only the back button, | ||
| 294 | // but not shortcuts. | 284 | // but not shortcuts. | ||
| 295 | func (x *NavigationPage) SetCanPop(CanPopVar bool) { | 285 | func (x *NavigationPage) SetCanPop(CanPopVar bool) { | ||
| 296 | - | core.LazyRegister(&xNavigationPageSetCanPop, "ADW", "adw_navigation_page_set_can_pop", false) | |||
| 297 | - | ||||
| 298 | xNavigationPageSetCanPop(x.GoPointer(), CanPopVar) | 286 | xNavigationPageSetCanPop(x.GoPointer(), CanPopVar) | ||
| 299 | } | 287 | } | ||
| 300 | 288 | ||||
| @@ -302,8 +290,6 @@ var xNavigationPageSetChild func(uintptr, uintptr) | |||||
| 302 | 290 | ||||
| 303 | // Sets the child widget of @self. | 291 | // Sets the child widget of @self. | ||
| 304 | func (x *NavigationPage) SetChild(ChildVar *gtk.Widget) { | 292 | func (x *NavigationPage) SetChild(ChildVar *gtk.Widget) { | ||
| 305 | - | core.LazyRegister(&xNavigationPageSetChild, "ADW", "adw_navigation_page_set_child", false) | |||
| 306 | - | ||||
| 307 | xNavigationPageSetChild(x.GoPointer(), ChildVar.GoPointer()) | 293 | xNavigationPageSetChild(x.GoPointer(), ChildVar.GoPointer()) | ||
| 308 | } | 294 | } | ||
| 309 | 295 | ||||
| @@ -320,8 +306,6 @@ var xNavigationPageSetTag func(uintptr, uintptr) | |||||
| 320 | // | 306 | // | ||
| 321 | // The tag also must be set to use the `navigation.push` action. | 307 | // The tag also must be set to use the `navigation.push` action. | ||
| 322 | func (x *NavigationPage) SetTag(TagVar *string) { | 308 | func (x *NavigationPage) SetTag(TagVar *string) { | ||
| 323 | - | core.LazyRegister(&xNavigationPageSetTag, "ADW", "adw_navigation_page_set_tag", false) | |||
| 324 | - | ||||
| 325 | TagVarPtr := core.GStrdupNullable(TagVar) | 309 | TagVarPtr := core.GStrdupNullable(TagVar) | ||
| 326 | defer core.GFreeNullable(TagVarPtr) | 310 | defer core.GFreeNullable(TagVarPtr) | ||
| 327 | 311 | ||||
| @@ -335,8 +319,6 @@ var xNavigationPageSetTitle func(uintptr, string) | |||||
| 335 | // It's displayed in [class@HeaderBar] instead of the window title, and used as | 319 | // It's displayed in [class@HeaderBar] instead of the window title, and used as | ||
| 336 | // the tooltip on the next page's back button, as well as by screen reader. | 320 | // the tooltip on the next page's back button, as well as by screen reader. | ||
| 337 | func (x *NavigationPage) SetTitle(TitleVar string) { | 321 | func (x *NavigationPage) SetTitle(TitleVar string) { | ||
| 338 | - | core.LazyRegister(&xNavigationPageSetTitle, "ADW", "adw_navigation_page_set_title", false) | |||
| 339 | - | ||||
| 340 | xNavigationPageSetTitle(x.GoPointer(), TitleVar) | 322 | xNavigationPageSetTitle(x.GoPointer(), TitleVar) | ||
| 341 | } | 323 | } | ||
| 342 | 324 | ||||
| @@ -982,7 +964,6 @@ type NavigationView struct { | |||||
| 982 | var xNavigationViewGLibType func() types.GType | 964 | var xNavigationViewGLibType func() types.GType | ||
| 983 | 965 | ||||
| 984 | func NavigationViewGLibType() types.GType { | 966 | func NavigationViewGLibType() types.GType { | ||
| 985 | - | core.LazyRegister(&xNavigationViewGLibType, "ADW", "adw_navigation_view_get_type", false) | |||
| 986 | return xNavigationViewGLibType() | 967 | return xNavigationViewGLibType() | ||
| 987 | } | 968 | } | ||
| 988 | 969 | ||||
| @@ -996,7 +977,6 @@ var xNewNavigationView func() uintptr | |||||
| 996 | 977 | ||||
| 997 | // Creates a new `AdwNavigationView`. | 978 | // Creates a new `AdwNavigationView`. | ||
| 998 | func NewNavigationView() *NavigationView { | 979 | func NewNavigationView() *NavigationView { | ||
| 999 | - | core.LazyRegister(&xNewNavigationView, "ADW", "adw_navigation_view_new", false) | |||
| 1000 | var cls *NavigationView | 980 | var cls *NavigationView | ||
| 1001 | 981 | ||||
| 1002 | cret := xNewNavigationView() | 982 | cret := xNewNavigationView() | ||
| @@ -1022,8 +1002,6 @@ var xNavigationViewAdd func(uintptr, uintptr) | |||||
| 1022 | // | 1002 | // | ||
| 1023 | // See [method@NavigationView.remove]. | 1003 | // See [method@NavigationView.remove]. | ||
| 1024 | func (x *NavigationView) Add(PageVar *NavigationPage) { | 1004 | func (x *NavigationView) Add(PageVar *NavigationPage) { | ||
| 1025 | - | core.LazyRegister(&xNavigationViewAdd, "ADW", "adw_navigation_view_add", false) | |||
| 1026 | - | ||||
| 1027 | xNavigationViewAdd(x.GoPointer(), PageVar.GoPointer()) | 1005 | xNavigationViewAdd(x.GoPointer(), PageVar.GoPointer()) | ||
| 1028 | } | 1006 | } | ||
| 1029 | 1007 | ||||
| @@ -1033,7 +1011,6 @@ var xNavigationViewFindPage func(uintptr, string) uintptr | |||||
| 1033 | // | 1011 | // | ||
| 1034 | // See [property@NavigationPage:tag]. | 1012 | // See [property@NavigationPage:tag]. | ||
| 1035 | func (x *NavigationView) FindPage(TagVar string) *NavigationPage { | 1013 | func (x *NavigationView) FindPage(TagVar string) *NavigationPage { | ||
| 1036 | - | core.LazyRegister(&xNavigationViewFindPage, "ADW", "adw_navigation_view_find_page", false) | |||
| 1037 | var cls *NavigationPage | 1014 | var cls *NavigationPage | ||
| 1038 | 1015 | ||||
| 1039 | cret := xNavigationViewFindPage(x.GoPointer(), TagVar) | 1016 | cret := xNavigationViewFindPage(x.GoPointer(), TagVar) | ||
| @@ -1051,8 +1028,6 @@ var xNavigationViewGetAnimateTransitions func(uintptr) bool | |||||
| 1051 | 1028 | ||||
| 1052 | // Gets whether @self animates page transitions. | 1029 | // Gets whether @self animates page transitions. | ||
| 1053 | func (x *NavigationView) GetAnimateTransitions() bool { | 1030 | func (x *NavigationView) GetAnimateTransitions() bool { | ||
| 1054 | - | core.LazyRegister(&xNavigationViewGetAnimateTransitions, "ADW", "adw_navigation_view_get_animate_transitions", false) | |||
| 1055 | - | ||||
| 1056 | cret := xNavigationViewGetAnimateTransitions(x.GoPointer()) | 1031 | cret := xNavigationViewGetAnimateTransitions(x.GoPointer()) | ||
| 1057 | return cret | 1032 | return cret | ||
| 1058 | } | 1033 | } | ||
| @@ -1061,8 +1036,6 @@ var xNavigationViewGetHhomogeneous func(uintptr) bool | |||||
| 1061 | 1036 | ||||
| 1062 | // Gets whether @self is horizontally homogeneous. | 1037 | // Gets whether @self is horizontally homogeneous. | ||
| 1063 | func (x *NavigationView) GetHhomogeneous() bool { | 1038 | func (x *NavigationView) GetHhomogeneous() bool { | ||
| 1064 | - | core.LazyRegister(&xNavigationViewGetHhomogeneous, "ADW", "adw_navigation_view_get_hhomogeneous", false) | |||
| 1065 | - | ||||
| 1066 | cret := xNavigationViewGetHhomogeneous(x.GoPointer()) | 1039 | cret := xNavigationViewGetHhomogeneous(x.GoPointer()) | ||
| 1067 | return cret | 1040 | return cret | ||
| 1068 | } | 1041 | } | ||
| @@ -1075,7 +1048,6 @@ var xNavigationViewGetNavigationStack func(uintptr) uintptr | |||||
| 1075 | // | 1048 | // | ||
| 1076 | // This can be used to keep an up-to-date view. | 1049 | // This can be used to keep an up-to-date view. | ||
| 1077 | func (x *NavigationView) GetNavigationStack() *gio.ListModelBase { | 1050 | func (x *NavigationView) GetNavigationStack() *gio.ListModelBase { | ||
| 1078 | - | core.LazyRegister(&xNavigationViewGetNavigationStack, "ADW", "adw_navigation_view_get_navigation_stack", false) | |||
| 1079 | var cls *gio.ListModelBase | 1051 | var cls *gio.ListModelBase | ||
| 1080 | 1052 | ||||
| 1081 | cret := xNavigationViewGetNavigationStack(x.GoPointer()) | 1053 | cret := xNavigationViewGetNavigationStack(x.GoPointer()) | ||
| @@ -1092,8 +1064,6 @@ var xNavigationViewGetPopOnEscape func(uintptr) bool | |||||
| 1092 | 1064 | ||||
| 1093 | // Gets whether pressing Escape pops the current page on @self. | 1065 | // Gets whether pressing Escape pops the current page on @self. | ||
| 1094 | func (x *NavigationView) GetPopOnEscape() bool { | 1066 | func (x *NavigationView) GetPopOnEscape() bool { | ||
| 1095 | - | core.LazyRegister(&xNavigationViewGetPopOnEscape, "ADW", "adw_navigation_view_get_pop_on_escape", false) | |||
| 1096 | - | ||||
| 1097 | cret := xNavigationViewGetPopOnEscape(x.GoPointer()) | 1067 | cret := xNavigationViewGetPopOnEscape(x.GoPointer()) | ||
| 1098 | return cret | 1068 | return cret | ||
| 1099 | } | 1069 | } | ||
| @@ -1107,7 +1077,6 @@ var xNavigationViewGetPreviousPage func(uintptr, uintptr) uintptr | |||||
| 1107 | // | 1077 | // | ||
| 1108 | // If @page is the root page or is not in the navigation stack, returns `NULL`. | 1078 | // If @page is the root page or is not in the navigation stack, returns `NULL`. | ||
| 1109 | func (x *NavigationView) GetPreviousPage(PageVar *NavigationPage) *NavigationPage { | 1079 | func (x *NavigationView) GetPreviousPage(PageVar *NavigationPage) *NavigationPage { | ||
| 1110 | - | core.LazyRegister(&xNavigationViewGetPreviousPage, "ADW", "adw_navigation_view_get_previous_page", false) | |||
| 1111 | var cls *NavigationPage | 1080 | var cls *NavigationPage | ||
| 1112 | 1081 | ||||
| 1113 | cret := xNavigationViewGetPreviousPage(x.GoPointer(), PageVar.GoPointer()) | 1082 | cret := xNavigationViewGetPreviousPage(x.GoPointer(), PageVar.GoPointer()) | ||
| @@ -1125,8 +1094,6 @@ var xNavigationViewGetVhomogeneous func(uintptr) bool | |||||
| 1125 | 1094 | ||||
| 1126 | // Gets whether @self is vertically homogeneous. | 1095 | // Gets whether @self is vertically homogeneous. | ||
| 1127 | func (x *NavigationView) GetVhomogeneous() bool { | 1096 | func (x *NavigationView) GetVhomogeneous() bool { | ||
| 1128 | - | core.LazyRegister(&xNavigationViewGetVhomogeneous, "ADW", "adw_navigation_view_get_vhomogeneous", false) | |||
| 1129 | - | ||||
| 1130 | cret := xNavigationViewGetVhomogeneous(x.GoPointer()) | 1097 | cret := xNavigationViewGetVhomogeneous(x.GoPointer()) | ||
| 1131 | return cret | 1098 | return cret | ||
| 1132 | } | 1099 | } | ||
| @@ -1135,7 +1102,6 @@ var xNavigationViewGetVisiblePage func(uintptr) uintptr | |||||
| 1135 | 1102 | ||||
| 1136 | // Gets the currently visible page in @self. | 1103 | // Gets the currently visible page in @self. | ||
| 1137 | func (x *NavigationView) GetVisiblePage() *NavigationPage { | 1104 | func (x *NavigationView) GetVisiblePage() *NavigationPage { | ||
| 1138 | - | core.LazyRegister(&xNavigationViewGetVisiblePage, "ADW", "adw_navigation_view_get_visible_page", false) | |||
| 1139 | var cls *NavigationPage | 1105 | var cls *NavigationPage | ||
| 1140 | 1106 | ||||
| 1141 | cret := xNavigationViewGetVisiblePage(x.GoPointer()) | 1107 | cret := xNavigationViewGetVisiblePage(x.GoPointer()) | ||
| @@ -1153,8 +1119,6 @@ var xNavigationViewGetVisiblePageTag func(uintptr) string | |||||
| 1153 | 1119 | ||||
| 1154 | // Gets the tag of the currently visible page in @self. | 1120 | // Gets the tag of the currently visible page in @self. | ||
| 1155 | func (x *NavigationView) GetVisiblePageTag() string { | 1121 | func (x *NavigationView) GetVisiblePageTag() string { | ||
| 1156 | - | core.LazyRegister(&xNavigationViewGetVisiblePageTag, "ADW", "adw_navigation_view_get_visible_page_tag", false) | |||
| 1157 | - | ||||
| 1158 | cret := xNavigationViewGetVisiblePageTag(x.GoPointer()) | 1122 | cret := xNavigationViewGetVisiblePageTag(x.GoPointer()) | ||
| 1159 | return cret | 1123 | return cret | ||
| 1160 | } | 1124 | } | ||
| @@ -1173,8 +1137,6 @@ var xNavigationViewPop func(uintptr) bool | |||||
| 1173 | // See [method@NavigationView.pop_to_page] and | 1137 | // See [method@NavigationView.pop_to_page] and | ||
| 1174 | // [method@NavigationView.pop_to_tag]. | 1138 | // [method@NavigationView.pop_to_tag]. | ||
| 1175 | func (x *NavigationView) Pop() bool { | 1139 | func (x *NavigationView) Pop() bool { | ||
| 1176 | - | core.LazyRegister(&xNavigationViewPop, "ADW", "adw_navigation_view_pop", false) | |||
| 1177 | - | ||||
| 1178 | cret := xNavigationViewPop(x.GoPointer()) | 1140 | cret := xNavigationViewPop(x.GoPointer()) | ||
| 1179 | return cret | 1141 | return cret | ||
| 1180 | } | 1142 | } | ||
| @@ -1193,8 +1155,6 @@ var xNavigationViewPopToPage func(uintptr, uintptr) bool | |||||
| 1193 | // | 1155 | // | ||
| 1194 | // See [method@NavigationView.pop] and [method@NavigationView.pop_to_tag]. | 1156 | // See [method@NavigationView.pop] and [method@NavigationView.pop_to_tag]. | ||
| 1195 | func (x *NavigationView) PopToPage(PageVar *NavigationPage) bool { | 1157 | func (x *NavigationView) PopToPage(PageVar *NavigationPage) bool { | ||
| 1196 | - | core.LazyRegister(&xNavigationViewPopToPage, "ADW", "adw_navigation_view_pop_to_page", false) | |||
| 1197 | - | ||||
| 1198 | cret := xNavigationViewPopToPage(x.GoPointer(), PageVar.GoPointer()) | 1158 | cret := xNavigationViewPopToPage(x.GoPointer(), PageVar.GoPointer()) | ||
| 1199 | return cret | 1159 | return cret | ||
| 1200 | } | 1160 | } | ||
| @@ -1212,8 +1172,6 @@ var xNavigationViewPopToTag func(uintptr, string) bool | |||||
| 1212 | // | 1172 | // | ||
| 1213 | // See [method@NavigationView.pop_to_page] and [property@NavigationPage:tag]. | 1173 | // See [method@NavigationView.pop_to_page] and [property@NavigationPage:tag]. | ||
| 1214 | func (x *NavigationView) PopToTag(TagVar string) bool { | 1174 | func (x *NavigationView) PopToTag(TagVar string) bool { | ||
| 1215 | - | core.LazyRegister(&xNavigationViewPopToTag, "ADW", "adw_navigation_view_pop_to_tag", false) | |||
| 1216 | - | ||||
| 1217 | cret := xNavigationViewPopToTag(x.GoPointer(), TagVar) | 1175 | cret := xNavigationViewPopToTag(x.GoPointer(), TagVar) | ||
| 1218 | return cret | 1176 | return cret | ||
| 1219 | } | 1177 | } | ||
| @@ -1229,8 +1187,6 @@ var xNavigationViewPush func(uintptr, uintptr) | |||||
| 1229 | // | 1187 | // | ||
| 1230 | // See [method@NavigationView.push_by_tag]. | 1188 | // See [method@NavigationView.push_by_tag]. | ||
| 1231 | func (x *NavigationView) Push(PageVar *NavigationPage) { | 1189 | func (x *NavigationView) Push(PageVar *NavigationPage) { | ||
| 1232 | - | core.LazyRegister(&xNavigationViewPush, "ADW", "adw_navigation_view_push", false) | |||
| 1233 | - | ||||
| 1234 | xNavigationViewPush(x.GoPointer(), PageVar.GoPointer()) | 1190 | xNavigationViewPush(x.GoPointer(), PageVar.GoPointer()) | ||
| 1235 | } | 1191 | } | ||
| 1236 | 1192 | ||||
| @@ -1245,8 +1201,6 @@ var xNavigationViewPushByTag func(uintptr, string) | |||||
| 1245 | // | 1201 | // | ||
| 1246 | // See [method@NavigationView.push] and [property@NavigationPage:tag]. | 1202 | // See [method@NavigationView.push] and [property@NavigationPage:tag]. | ||
| 1247 | func (x *NavigationView) PushByTag(TagVar string) { | 1203 | func (x *NavigationView) PushByTag(TagVar string) { | ||
| 1248 | - | core.LazyRegister(&xNavigationViewPushByTag, "ADW", "adw_navigation_view_push_by_tag", false) | |||
| 1249 | - | ||||
| 1250 | xNavigationViewPushByTag(x.GoPointer(), TagVar) | 1204 | xNavigationViewPushByTag(x.GoPointer(), TagVar) | ||
| 1251 | } | 1205 | } | ||
| 1252 | 1206 | ||||
| @@ -1259,8 +1213,6 @@ var xNavigationViewRemove func(uintptr, uintptr) | |||||
| 1259 | // | 1213 | // | ||
| 1260 | // See [method@NavigationView.add]. | 1214 | // See [method@NavigationView.add]. | ||
| 1261 | func (x *NavigationView) Remove(PageVar *NavigationPage) { | 1215 | func (x *NavigationView) Remove(PageVar *NavigationPage) { | ||
| 1262 | - | core.LazyRegister(&xNavigationViewRemove, "ADW", "adw_navigation_view_remove", false) | |||
| 1263 | - | ||||
| 1264 | xNavigationViewRemove(x.GoPointer(), PageVar.GoPointer()) | 1216 | xNavigationViewRemove(x.GoPointer(), PageVar.GoPointer()) | ||
| 1265 | } | 1217 | } | ||
| 1266 | 1218 | ||||
| @@ -1282,8 +1234,6 @@ var xNavigationViewReplace func(uintptr, uintptr, int) | |||||
| 1282 | // | 1234 | // | ||
| 1283 | // See [method@NavigationView.replace_with_tags]. | 1235 | // See [method@NavigationView.replace_with_tags]. | ||
| 1284 | func (x *NavigationView) Replace(PagesVar uintptr, NPagesVar int) { | 1236 | func (x *NavigationView) Replace(PagesVar uintptr, NPagesVar int) { | ||
| 1285 | - | core.LazyRegister(&xNavigationViewReplace, "ADW", "adw_navigation_view_replace", false) | |||
| 1286 | - | ||||
| 1287 | xNavigationViewReplace(x.GoPointer(), PagesVar, NPagesVar) | 1237 | xNavigationViewReplace(x.GoPointer(), PagesVar, NPagesVar) | ||
| 1288 | } | 1238 | } | ||
| 1289 | 1239 | ||||
| @@ -1305,8 +1255,6 @@ var xNavigationViewReplaceWithTags func(uintptr, []string, int) | |||||
| 1305 | // | 1255 | // | ||
| 1306 | // See [method@NavigationView.replace] and [property@NavigationPage:tag]. | 1256 | // See [method@NavigationView.replace] and [property@NavigationPage:tag]. | ||
| 1307 | func (x *NavigationView) ReplaceWithTags(TagsVar []string, NTagsVar int) { | 1257 | func (x *NavigationView) ReplaceWithTags(TagsVar []string, NTagsVar int) { | ||
| 1308 | - | core.LazyRegister(&xNavigationViewReplaceWithTags, "ADW", "adw_navigation_view_replace_with_tags", false) | |||
| 1309 | - | ||||
| 1310 | xNavigationViewReplaceWithTags(x.GoPointer(), TagsVar, NTagsVar) | 1258 | xNavigationViewReplaceWithTags(x.GoPointer(), TagsVar, NTagsVar) | ||
| 1311 | } | 1259 | } | ||
| 1312 | 1260 | ||||
| @@ -1316,8 +1264,6 @@ var xNavigationViewSetAnimateTransitions func(uintptr, bool) | |||||
| 1316 | // | 1264 | // | ||
| 1317 | // Gesture-based transitions are always animated. | 1265 | // Gesture-based transitions are always animated. | ||
| 1318 | func (x *NavigationView) SetAnimateTransitions(AnimateTransitionsVar bool) { | 1266 | func (x *NavigationView) SetAnimateTransitions(AnimateTransitionsVar bool) { | ||
| 1319 | - | core.LazyRegister(&xNavigationViewSetAnimateTransitions, "ADW", "adw_navigation_view_set_animate_transitions", false) | |||
| 1320 | - | ||||
| 1321 | xNavigationViewSetAnimateTransitions(x.GoPointer(), AnimateTransitionsVar) | 1267 | xNavigationViewSetAnimateTransitions(x.GoPointer(), AnimateTransitionsVar) | ||
| 1322 | } | 1268 | } | ||
| 1323 | 1269 | ||||
| @@ -1330,8 +1276,6 @@ var xNavigationViewSetHhomogeneous func(uintptr, bool) | |||||
| 1330 | // | 1276 | // | ||
| 1331 | // If it's not, the view may change width when a different page becomes visible. | 1277 | // If it's not, the view may change width when a different page becomes visible. | ||
| 1332 | func (x *NavigationView) SetHhomogeneous(HhomogeneousVar bool) { | 1278 | func (x *NavigationView) SetHhomogeneous(HhomogeneousVar bool) { | ||
| 1333 | - | core.LazyRegister(&xNavigationViewSetHhomogeneous, "ADW", "adw_navigation_view_set_hhomogeneous", false) | |||
| 1334 | - | ||||
| 1335 | xNavigationViewSetHhomogeneous(x.GoPointer(), HhomogeneousVar) | 1279 | xNavigationViewSetHhomogeneous(x.GoPointer(), HhomogeneousVar) | ||
| 1336 | } | 1280 | } | ||
| 1337 | 1281 | ||||
| @@ -1342,8 +1286,6 @@ var xNavigationViewSetPopOnEscape func(uintptr, bool) | |||||
| 1342 | // Applications using `AdwNavigationView` to implement a browser may want to | 1286 | // Applications using `AdwNavigationView` to implement a browser may want to | ||
| 1343 | // disable it. | 1287 | // disable it. | ||
| 1344 | func (x *NavigationView) SetPopOnEscape(PopOnEscapeVar bool) { | 1288 | func (x *NavigationView) SetPopOnEscape(PopOnEscapeVar bool) { | ||
| 1345 | - | core.LazyRegister(&xNavigationViewSetPopOnEscape, "ADW", "adw_navigation_view_set_pop_on_escape", false) | |||
| 1346 | - | ||||
| 1347 | xNavigationViewSetPopOnEscape(x.GoPointer(), PopOnEscapeVar) | 1289 | xNavigationViewSetPopOnEscape(x.GoPointer(), PopOnEscapeVar) | ||
| 1348 | } | 1290 | } | ||
| 1349 | 1291 | ||||
| @@ -1357,8 +1299,6 @@ var xNavigationViewSetVhomogeneous func(uintptr, bool) | |||||
| 1357 | // If it's not, the view may change height when a different page becomes | 1299 | // If it's not, the view may change height when a different page becomes | ||
| 1358 | // visible. | 1300 | // visible. | ||
| 1359 | func (x *NavigationView) SetVhomogeneous(VhomogeneousVar bool) { | 1301 | func (x *NavigationView) SetVhomogeneous(VhomogeneousVar bool) { | ||
| 1360 | - | core.LazyRegister(&xNavigationViewSetVhomogeneous, "ADW", "adw_navigation_view_set_vhomogeneous", false) | |||
| 1361 | - | ||||
| 1362 | xNavigationViewSetVhomogeneous(x.GoPointer(), VhomogeneousVar) | 1302 | xNavigationViewSetVhomogeneous(x.GoPointer(), VhomogeneousVar) | ||
| 1363 | } | 1303 | } | ||
| 1364 | 1304 | ||||
| @@ -1903,4 +1843,53 @@ func (x *NavigationView) GetBuildableId() string { | |||||
| 1903 | func init() { | 1843 | func init() { | ||
| 1904 | core.SetPackageName("ADW", "libadwaita-1") | 1844 | core.SetPackageName("ADW", "libadwaita-1") | ||
| 1905 | core.SetSharedLibraries("ADW", []string{"libadwaita-1.so.0", "libadwaita-1.0.dylib"}) | 1845 | 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") | |||
| 1906 | } | 1895 | } | ||