detached c67787d

Gen: re-run gen script

commit
c67787de90f19ca2312a202e6b7fbdc9e0a6e7e5
author
Jeroen Wijenbergh · · 2024-12-18 13:19 UTC
committer
Jeroen Wijenbergh · · 2025-04-07 12:23 UTC
parent
0299370
signature
unsigned
650 files · +8729 -4
M v4/adw/adw-about-window.go +10 -0
@@ -9,6 +9,7 @@ import (
99 "github.com/jwijenbergh/puregotk/v4/gdk"
1010 "github.com/jwijenbergh/puregotk/v4/glib"
1111 "github.com/jwijenbergh/puregotk/v4/gobject"
12+ "github.com/jwijenbergh/puregotk/v4/gobject/types"
1213 "github.com/jwijenbergh/puregotk/v4/gsk"
1314 "github.com/jwijenbergh/puregotk/v4/gtk"
1415 )
@@ -205,6 +206,12 @@ type AboutWindow struct {
205206 Window
206207 }
207208
209+var xAboutWindowGLibType func() types.GType
210+
211+func AboutWindowGLibType() types.GType {
212+ return xAboutWindowGLibType()
213+}
214+
208215 func AboutWindowNewFromInternalPtr(ptr uintptr) *AboutWindow {
209216 cls := &AboutWindow{}
210217 cls.Ptr = ptr
@@ -1180,8 +1187,11 @@ func init() {
11801187 if err != nil {
11811188 panic(err)
11821189 }
1190+
11831191 core.PuregoSafeRegister(&xShowAboutWindow, lib, "adw_show_about_window")
11841192
1193+ core.PuregoSafeRegister(&xAboutWindowGLibType, lib, "adw_about_window_get_type")
1194+
11851195 core.PuregoSafeRegister(&xNewAboutWindow, lib, "adw_about_window_new")
11861196
11871197 core.PuregoSafeRegister(&xAboutWindowAddAcknowledgementSection, lib, "adw_about_window_add_acknowledgement_section")
M v4/adw/adw-action-row.go +9 -0
@@ -8,6 +8,7 @@ import (
88 "github.com/jwijenbergh/puregotk/internal/core"
99 "github.com/jwijenbergh/puregotk/v4/glib"
1010 "github.com/jwijenbergh/puregotk/v4/gobject"
11+ "github.com/jwijenbergh/puregotk/v4/gobject/types"
1112 "github.com/jwijenbergh/puregotk/v4/gtk"
1213 )
1314
@@ -61,6 +62,12 @@ type ActionRow struct {
6162 PreferencesRow
6263 }
6364
65+var xActionRowGLibType func() types.GType
66+
67+func ActionRowGLibType() types.GType {
68+ return xActionRowGLibType()
69+}
70+
6471 func ActionRowNewFromInternalPtr(ptr uintptr) *ActionRow {
6572 cls := &ActionRow{}
6673 cls.Ptr = ptr
@@ -516,6 +523,8 @@ func init() {
516523 panic(err)
517524 }
518525
526+ core.PuregoSafeRegister(&xActionRowGLibType, lib, "adw_action_row_get_type")
527+
519528 core.PuregoSafeRegister(&xNewActionRow, lib, "adw_action_row_new")
520529
521530 core.PuregoSafeRegister(&xActionRowActivate, lib, "adw_action_row_activate")
M v4/adw/adw-animation-target.go +25 -0
@@ -8,6 +8,7 @@ import (
88 "github.com/jwijenbergh/puregotk/internal/core"
99 "github.com/jwijenbergh/puregotk/v4/glib"
1010 "github.com/jwijenbergh/puregotk/v4/gobject"
11+ "github.com/jwijenbergh/puregotk/v4/gobject/types"
1112 )
1213
1314 // Prototype for animation targets based on user callbacks.
@@ -39,6 +40,12 @@ type AnimationTarget struct {
3940 gobject.Object
4041 }
4142
43+var xAnimationTargetGLibType func() types.GType
44+
45+func AnimationTargetGLibType() types.GType {
46+ return xAnimationTargetGLibType()
47+}
48+
4249 func AnimationTargetNewFromInternalPtr(ptr uintptr) *AnimationTarget {
4350 cls := &AnimationTarget{}
4451 cls.Ptr = ptr
@@ -59,6 +66,12 @@ type CallbackAnimationTarget struct {
5966 AnimationTarget
6067 }
6168
69+var xCallbackAnimationTargetGLibType func() types.GType
70+
71+func CallbackAnimationTargetGLibType() types.GType {
72+ return xCallbackAnimationTargetGLibType()
73+}
74+
6275 func CallbackAnimationTargetNewFromInternalPtr(ptr uintptr) *CallbackAnimationTarget {
6376 cls := &CallbackAnimationTarget{}
6477 cls.Ptr = ptr
@@ -96,6 +109,12 @@ type PropertyAnimationTarget struct {
96109 AnimationTarget
97110 }
98111
112+var xPropertyAnimationTargetGLibType func() types.GType
113+
114+func PropertyAnimationTargetGLibType() types.GType {
115+ return xPropertyAnimationTargetGLibType()
116+}
117+
99118 func PropertyAnimationTargetNewFromInternalPtr(ptr uintptr) *PropertyAnimationTarget {
100119 cls := &PropertyAnimationTarget{}
101120 cls.Ptr = ptr
@@ -188,8 +207,14 @@ func init() {
188207 panic(err)
189208 }
190209
210+ core.PuregoSafeRegister(&xAnimationTargetGLibType, lib, "adw_animation_target_get_type")
211+
212+ core.PuregoSafeRegister(&xCallbackAnimationTargetGLibType, lib, "adw_callback_animation_target_get_type")
213+
191214 core.PuregoSafeRegister(&xNewCallbackAnimationTarget, lib, "adw_callback_animation_target_new")
192215
216+ core.PuregoSafeRegister(&xPropertyAnimationTargetGLibType, lib, "adw_property_animation_target_get_type")
217+
193218 core.PuregoSafeRegister(&xNewPropertyAnimationTarget, lib, "adw_property_animation_target_new")
194219 core.PuregoSafeRegister(&xNewPropertyAnimationTargetForPspec, lib, "adw_property_animation_target_new_for_pspec")
195220
M v4/adw/adw-animation-util.go +1 -0
@@ -33,6 +33,7 @@ func init() {
3333 if err != nil {
3434 panic(err)
3535 }
36+
3637 core.PuregoSafeRegister(&xGetEnableAnimations, lib, "adw_get_enable_animations")
3738 core.PuregoSafeRegister(&xLerp, lib, "adw_lerp")
3839
M v4/adw/adw-animation.go +17 -0
@@ -8,6 +8,7 @@ import (
88 "github.com/jwijenbergh/puregotk/internal/core"
99 "github.com/jwijenbergh/puregotk/v4/glib"
1010 "github.com/jwijenbergh/puregotk/v4/gobject"
11+ "github.com/jwijenbergh/puregotk/v4/gobject/types"
1112 "github.com/jwijenbergh/puregotk/v4/gtk"
1213 )
1314
@@ -32,6 +33,12 @@ const (
3233 // [method@Animation.reset] and [method@Animation.skip].
3334 type AnimationState int
3435
36+var xAnimationStateGLibType func() types.GType
37+
38+func AnimationStateGLibType() types.GType {
39+ return xAnimationStateGLibType()
40+}
41+
3542 const (
3643
3744 // The animation hasn't started yet.
@@ -97,6 +104,12 @@ type Animation struct {
97104 gobject.Object
98105 }
99106
107+var xAnimationGLibType func() types.GType
108+
109+func AnimationGLibType() types.GType {
110+ return xAnimationGLibType()
111+}
112+
100113 func AnimationNewFromInternalPtr(ptr uintptr) *Animation {
101114 cls := &Animation{}
102115 cls.Ptr = ptr
@@ -311,6 +324,10 @@ func init() {
311324 panic(err)
312325 }
313326
327+ core.PuregoSafeRegister(&xAnimationStateGLibType, lib, "adw_animation_state_get_type")
328+
329+ core.PuregoSafeRegister(&xAnimationGLibType, lib, "adw_animation_get_type")
330+
314331 core.PuregoSafeRegister(&xAnimationGetFollowEnableAnimationsSetting, lib, "adw_animation_get_follow_enable_animations_setting")
315332 core.PuregoSafeRegister(&xAnimationGetState, lib, "adw_animation_get_state")
316333 core.PuregoSafeRegister(&xAnimationGetTarget, lib, "adw_animation_get_target")
M v4/adw/adw-application-window.go +9 -0
@@ -10,6 +10,7 @@ import (
1010 "github.com/jwijenbergh/puregotk/v4/gio"
1111 "github.com/jwijenbergh/puregotk/v4/glib"
1212 "github.com/jwijenbergh/puregotk/v4/gobject"
13+ "github.com/jwijenbergh/puregotk/v4/gobject/types"
1314 "github.com/jwijenbergh/puregotk/v4/gsk"
1415 "github.com/jwijenbergh/puregotk/v4/gtk"
1516 )
@@ -44,6 +45,12 @@ type ApplicationWindow struct {
4445 gtk.ApplicationWindow
4546 }
4647
48+var xApplicationWindowGLibType func() types.GType
49+
50+func ApplicationWindowGLibType() types.GType {
51+ return xApplicationWindowGLibType()
52+}
53+
4754 func ApplicationWindowNewFromInternalPtr(ptr uintptr) *ApplicationWindow {
4855 cls := &ApplicationWindow{}
4956 cls.Ptr = ptr
@@ -679,6 +686,8 @@ func init() {
679686 panic(err)
680687 }
681688
689+ core.PuregoSafeRegister(&xApplicationWindowGLibType, lib, "adw_application_window_get_type")
690+
682691 core.PuregoSafeRegister(&xNewApplicationWindow, lib, "adw_application_window_new")
683692
684693 core.PuregoSafeRegister(&xApplicationWindowGetContent, lib, "adw_application_window_get_content")
M v4/adw/adw-application.go +9 -0
@@ -9,6 +9,7 @@ import (
99 "github.com/jwijenbergh/puregotk/v4/gio"
1010 "github.com/jwijenbergh/puregotk/v4/glib"
1111 "github.com/jwijenbergh/puregotk/v4/gobject"
12+ "github.com/jwijenbergh/puregotk/v4/gobject/types"
1213 "github.com/jwijenbergh/puregotk/v4/gtk"
1314 )
1415
@@ -52,6 +53,12 @@ type Application struct {
5253 gtk.Application
5354 }
5455
56+var xApplicationGLibType func() types.GType
57+
58+func ApplicationGLibType() types.GType {
59+ return xApplicationGLibType()
60+}
61+
5562 func ApplicationNewFromInternalPtr(ptr uintptr) *Application {
5663 cls := &Application{}
5764 cls.Ptr = ptr
@@ -432,6 +439,8 @@ func init() {
432439 panic(err)
433440 }
434441
442+ core.PuregoSafeRegister(&xApplicationGLibType, lib, "adw_application_get_type")
443+
435444 core.PuregoSafeRegister(&xNewApplication, lib, "adw_application_new")
436445
437446 core.PuregoSafeRegister(&xApplicationGetStyleManager, lib, "adw_application_get_style_manager")
M v4/adw/adw-avatar.go +9 -0
@@ -8,6 +8,7 @@ import (
88 "github.com/jwijenbergh/puregotk/internal/core"
99 "github.com/jwijenbergh/puregotk/v4/gdk"
1010 "github.com/jwijenbergh/puregotk/v4/gobject"
11+ "github.com/jwijenbergh/puregotk/v4/gobject/types"
1112 "github.com/jwijenbergh/puregotk/v4/gtk"
1213 )
1314
@@ -48,6 +49,12 @@ type Avatar struct {
4849 gtk.Widget
4950 }
5051
52+var xAvatarGLibType func() types.GType
53+
54+func AvatarGLibType() types.GType {
55+ return xAvatarGLibType()
56+}
57+
5158 func AvatarNewFromInternalPtr(ptr uintptr) *Avatar {
5259 cls := &Avatar{}
5360 cls.Ptr = ptr
@@ -353,6 +360,8 @@ func init() {
353360 panic(err)
354361 }
355362
363+ core.PuregoSafeRegister(&xAvatarGLibType, lib, "adw_avatar_get_type")
364+
356365 core.PuregoSafeRegister(&xNewAvatar, lib, "adw_avatar_new")
357366
358367 core.PuregoSafeRegister(&xAvatarDrawToTexture, lib, "adw_avatar_draw_to_texture")
M v4/adw/adw-banner.go +9 -0
@@ -8,6 +8,7 @@ import (
88 "github.com/jwijenbergh/puregotk/internal/core"
99 "github.com/jwijenbergh/puregotk/v4/glib"
1010 "github.com/jwijenbergh/puregotk/v4/gobject"
11+ "github.com/jwijenbergh/puregotk/v4/gobject/types"
1112 "github.com/jwijenbergh/puregotk/v4/gtk"
1213 )
1314
@@ -47,6 +48,12 @@ type Banner struct {
4748 gtk.Widget
4849 }
4950
51+var xBannerGLibType func() types.GType
52+
53+func BannerGLibType() types.GType {
54+ return xBannerGLibType()
55+}
56+
5057 func BannerNewFromInternalPtr(ptr uintptr) *Banner {
5158 cls := &Banner{}
5259 cls.Ptr = ptr
@@ -413,6 +420,8 @@ func init() {
413420 panic(err)
414421 }
415422
423+ core.PuregoSafeRegister(&xBannerGLibType, lib, "adw_banner_get_type")
424+
416425 core.PuregoSafeRegister(&xNewBanner, lib, "adw_banner_new")
417426
418427 core.PuregoSafeRegister(&xBannerGetButtonLabel, lib, "adw_banner_get_button_label")
M v4/adw/adw-bin.go +9 -0
@@ -7,6 +7,7 @@ import (
77 "github.com/jwijenbergh/purego"
88 "github.com/jwijenbergh/puregotk/internal/core"
99 "github.com/jwijenbergh/puregotk/v4/gobject"
10+ "github.com/jwijenbergh/puregotk/v4/gobject/types"
1011 "github.com/jwijenbergh/puregotk/v4/gtk"
1112 )
1213
@@ -36,6 +37,12 @@ type Bin struct {
3637 gtk.Widget
3738 }
3839
40+var xBinGLibType func() types.GType
41+
42+func BinGLibType() types.GType {
43+ return xBinGLibType()
44+}
45+
3946 func BinNewFromInternalPtr(ptr uintptr) *Bin {
4047 cls := &Bin{}
4148 cls.Ptr = ptr
@@ -242,6 +249,8 @@ func init() {
242249 panic(err)
243250 }
244251
252+ core.PuregoSafeRegister(&xBinGLibType, lib, "adw_bin_get_type")
253+
245254 core.PuregoSafeRegister(&xNewBin, lib, "adw_bin_new")
246255
247256 core.PuregoSafeRegister(&xBinGetChild, lib, "adw_bin_get_child")
M v4/adw/adw-button-content.go +9 -0
@@ -7,6 +7,7 @@ import (
77 "github.com/jwijenbergh/purego"
88 "github.com/jwijenbergh/puregotk/internal/core"
99 "github.com/jwijenbergh/puregotk/v4/gobject"
10+ "github.com/jwijenbergh/puregotk/v4/gobject/types"
1011 "github.com/jwijenbergh/puregotk/v4/gtk"
1112 )
1213
@@ -72,6 +73,12 @@ type ButtonContent struct {
7273 gtk.Widget
7374 }
7475
76+var xButtonContentGLibType func() types.GType
77+
78+func ButtonContentGLibType() types.GType {
79+ return xButtonContentGLibType()
80+}
81+
7582 func ButtonContentNewFromInternalPtr(ptr uintptr) *ButtonContent {
7683 cls := &ButtonContent{}
7784 cls.Ptr = ptr
@@ -312,6 +319,8 @@ func init() {
312319 panic(err)
313320 }
314321
322+ core.PuregoSafeRegister(&xButtonContentGLibType, lib, "adw_button_content_get_type")
323+
315324 core.PuregoSafeRegister(&xNewButtonContent, lib, "adw_button_content_new")
316325
317326 core.PuregoSafeRegister(&xButtonContentGetIconName, lib, "adw_button_content_get_icon_name")
M v4/adw/adw-carousel-indicator-dots.go +9 -0
@@ -7,6 +7,7 @@ import (
77 "github.com/jwijenbergh/purego"
88 "github.com/jwijenbergh/puregotk/internal/core"
99 "github.com/jwijenbergh/puregotk/v4/gobject"
10+ "github.com/jwijenbergh/puregotk/v4/gobject/types"
1011 "github.com/jwijenbergh/puregotk/v4/gtk"
1112 )
1213
@@ -42,6 +43,12 @@ type CarouselIndicatorDots struct {
4243 gtk.Widget
4344 }
4445
46+var xCarouselIndicatorDotsGLibType func() types.GType
47+
48+func CarouselIndicatorDotsGLibType() types.GType {
49+ return xCarouselIndicatorDotsGLibType()
50+}
51+
4552 func CarouselIndicatorDotsNewFromInternalPtr(ptr uintptr) *CarouselIndicatorDots {
4653 cls := &CarouselIndicatorDots{}
4754 cls.Ptr = ptr
@@ -262,6 +269,8 @@ func init() {
262269 panic(err)
263270 }
264271
272+ core.PuregoSafeRegister(&xCarouselIndicatorDotsGLibType, lib, "adw_carousel_indicator_dots_get_type")
273+
265274 core.PuregoSafeRegister(&xNewCarouselIndicatorDots, lib, "adw_carousel_indicator_dots_new")
266275
267276 core.PuregoSafeRegister(&xCarouselIndicatorDotsGetCarousel, lib, "adw_carousel_indicator_dots_get_carousel")
M v4/adw/adw-carousel-indicator-lines.go +9 -0
@@ -7,6 +7,7 @@ import (
77 "github.com/jwijenbergh/purego"
88 "github.com/jwijenbergh/puregotk/internal/core"
99 "github.com/jwijenbergh/puregotk/v4/gobject"
10+ "github.com/jwijenbergh/puregotk/v4/gobject/types"
1011 "github.com/jwijenbergh/puregotk/v4/gtk"
1112 )
1213
@@ -41,6 +42,12 @@ type CarouselIndicatorLines struct {
4142 gtk.Widget
4243 }
4344
45+var xCarouselIndicatorLinesGLibType func() types.GType
46+
47+func CarouselIndicatorLinesGLibType() types.GType {
48+ return xCarouselIndicatorLinesGLibType()
49+}
50+
4451 func CarouselIndicatorLinesNewFromInternalPtr(ptr uintptr) *CarouselIndicatorLines {
4552 cls := &CarouselIndicatorLines{}
4653 cls.Ptr = ptr
@@ -261,6 +268,8 @@ func init() {
261268 panic(err)
262269 }
263270
271+ core.PuregoSafeRegister(&xCarouselIndicatorLinesGLibType, lib, "adw_carousel_indicator_lines_get_type")
272+
264273 core.PuregoSafeRegister(&xNewCarouselIndicatorLines, lib, "adw_carousel_indicator_lines_new")
265274
266275 core.PuregoSafeRegister(&xCarouselIndicatorLinesGetCarousel, lib, "adw_carousel_indicator_lines_get_carousel")
M v4/adw/adw-carousel.go +9 -0
@@ -9,6 +9,7 @@ import (
99 "github.com/jwijenbergh/puregotk/v4/gdk"
1010 "github.com/jwijenbergh/puregotk/v4/glib"
1111 "github.com/jwijenbergh/puregotk/v4/gobject"
12+ "github.com/jwijenbergh/puregotk/v4/gobject/types"
1213 "github.com/jwijenbergh/puregotk/v4/gtk"
1314 )
1415
@@ -42,6 +43,12 @@ type Carousel struct {
4243 gtk.Widget
4344 }
4445
46+var xCarouselGLibType func() types.GType
47+
48+func CarouselGLibType() types.GType {
49+ return xCarouselGLibType()
50+}
51+
4552 func CarouselNewFromInternalPtr(ptr uintptr) *Carousel {
4653 cls := &Carousel{}
4754 cls.Ptr = ptr
@@ -551,6 +558,8 @@ func init() {
551558 panic(err)
552559 }
553560
561+ core.PuregoSafeRegister(&xCarouselGLibType, lib, "adw_carousel_get_type")
562+
554563 core.PuregoSafeRegister(&xNewCarousel, lib, "adw_carousel_new")
555564
556565 core.PuregoSafeRegister(&xCarouselAppend, lib, "adw_carousel_append")
M v4/adw/adw-clamp-layout.go +9 -0
@@ -6,6 +6,7 @@ import (
66
77 "github.com/jwijenbergh/purego"
88 "github.com/jwijenbergh/puregotk/internal/core"
9+ "github.com/jwijenbergh/puregotk/v4/gobject/types"
910 "github.com/jwijenbergh/puregotk/v4/gtk"
1011 )
1112
@@ -47,6 +48,12 @@ type ClampLayout struct {
4748 gtk.LayoutManager
4849 }
4950
51+var xClampLayoutGLibType func() types.GType
52+
53+func ClampLayoutGLibType() types.GType {
54+ return xClampLayoutGLibType()
55+}
56+
5057 func ClampLayoutNewFromInternalPtr(ptr uintptr) *ClampLayout {
5158 cls := &ClampLayout{}
5259 cls.Ptr = ptr
@@ -148,6 +155,8 @@ func init() {
148155 panic(err)
149156 }
150157
158+ core.PuregoSafeRegister(&xClampLayoutGLibType, lib, "adw_clamp_layout_get_type")
159+
151160 core.PuregoSafeRegister(&xNewClampLayout, lib, "adw_clamp_layout_new")
152161
153162 core.PuregoSafeRegister(&xClampLayoutGetMaximumSize, lib, "adw_clamp_layout_get_maximum_size")
M v4/adw/adw-clamp-scrollable.go +9 -0
@@ -7,6 +7,7 @@ import (
77 "github.com/jwijenbergh/purego"
88 "github.com/jwijenbergh/puregotk/internal/core"
99 "github.com/jwijenbergh/puregotk/v4/gobject"
10+ "github.com/jwijenbergh/puregotk/v4/gobject/types"
1011 "github.com/jwijenbergh/puregotk/v4/gtk"
1112 )
1213
@@ -29,6 +30,12 @@ type ClampScrollable struct {
2930 gtk.Widget
3031 }
3132
33+var xClampScrollableGLibType func() types.GType
34+
35+func ClampScrollableGLibType() types.GType {
36+ return xClampScrollableGLibType()
37+}
38+
3239 func ClampScrollableNewFromInternalPtr(ptr uintptr) *ClampScrollable {
3340 cls := &ClampScrollable{}
3441 cls.Ptr = ptr
@@ -390,6 +397,8 @@ func init() {
390397 panic(err)
391398 }
392399
400+ core.PuregoSafeRegister(&xClampScrollableGLibType, lib, "adw_clamp_scrollable_get_type")
401+
393402 core.PuregoSafeRegister(&xNewClampScrollable, lib, "adw_clamp_scrollable_new")
394403
395404 core.PuregoSafeRegister(&xClampScrollableGetChild, lib, "adw_clamp_scrollable_get_child")
M v4/adw/adw-clamp.go +9 -0
@@ -7,6 +7,7 @@ import (
77 "github.com/jwijenbergh/purego"
88 "github.com/jwijenbergh/puregotk/internal/core"
99 "github.com/jwijenbergh/puregotk/v4/gobject"
10+ "github.com/jwijenbergh/puregotk/v4/gobject/types"
1011 "github.com/jwijenbergh/puregotk/v4/gtk"
1112 )
1213
@@ -52,6 +53,12 @@ type Clamp struct {
5253 gtk.Widget
5354 }
5455
56+var xClampGLibType func() types.GType
57+
58+func ClampGLibType() types.GType {
59+ return xClampGLibType()
60+}
61+
5562 func ClampNewFromInternalPtr(ptr uintptr) *Clamp {
5663 cls := &Clamp{}
5764 cls.Ptr = ptr
@@ -323,6 +330,8 @@ func init() {
323330 panic(err)
324331 }
325332
333+ core.PuregoSafeRegister(&xClampGLibType, lib, "adw_clamp_get_type")
334+
326335 core.PuregoSafeRegister(&xNewClamp, lib, "adw_clamp_new")
327336
328337 core.PuregoSafeRegister(&xClampGetChild, lib, "adw_clamp_get_child")
M v4/adw/adw-combo-row.go +9 -0
@@ -9,6 +9,7 @@ import (
99 "github.com/jwijenbergh/puregotk/v4/gio"
1010 "github.com/jwijenbergh/puregotk/v4/glib"
1111 "github.com/jwijenbergh/puregotk/v4/gobject"
12+ "github.com/jwijenbergh/puregotk/v4/gobject/types"
1213 "github.com/jwijenbergh/puregotk/v4/gtk"
1314 )
1415
@@ -77,6 +78,12 @@ type ComboRow struct {
7778 ActionRow
7879 }
7980
81+var xComboRowGLibType func() types.GType
82+
83+func ComboRowGLibType() types.GType {
84+ return xComboRowGLibType()
85+}
86+
8087 func ComboRowNewFromInternalPtr(ptr uintptr) *ComboRow {
8188 cls := &ComboRow{}
8289 cls.Ptr = ptr
@@ -516,6 +523,8 @@ func init() {
516523 panic(err)
517524 }
518525
526+ core.PuregoSafeRegister(&xComboRowGLibType, lib, "adw_combo_row_get_type")
527+
519528 core.PuregoSafeRegister(&xNewComboRow, lib, "adw_combo_row_new")
520529
521530 core.PuregoSafeRegister(&xComboRowGetExpression, lib, "adw_combo_row_get_expression")
M v4/adw/adw-easing.go +10 -0
@@ -4,6 +4,7 @@ package adw
44 import (
55 "github.com/jwijenbergh/purego"
66 "github.com/jwijenbergh/puregotk/internal/core"
7+ "github.com/jwijenbergh/puregotk/v4/gobject/types"
78 )
89
910 // Describes the available easing functions for use with
@@ -12,6 +13,12 @@ import (
1213 // New values may be added to this enumeration over time.
1314 type Easing int
1415
16+var xEasingGLibType func() types.GType
17+
18+func EasingGLibType() types.GType {
19+ return xEasingGLibType()
20+}
21+
1522 const (
1623
1724 // Linear tweening.
@@ -109,6 +116,9 @@ func init() {
109116 if err != nil {
110117 panic(err)
111118 }
119+
120+ core.PuregoSafeRegister(&xEasingGLibType, lib, "adw_easing_get_type")
121+
112122 core.PuregoSafeRegister(&xEasingEase, lib, "adw_easing_ease")
113123
114124 }
M v4/adw/adw-entry-row.go +9 -0
@@ -8,6 +8,7 @@ import (
88 "github.com/jwijenbergh/puregotk/internal/core"
99 "github.com/jwijenbergh/puregotk/v4/glib"
1010 "github.com/jwijenbergh/puregotk/v4/gobject"
11+ "github.com/jwijenbergh/puregotk/v4/gobject/types"
1112 "github.com/jwijenbergh/puregotk/v4/gtk"
1213 "github.com/jwijenbergh/puregotk/v4/pango"
1314 )
@@ -60,6 +61,12 @@ type EntryRow struct {
6061 PreferencesRow
6162 }
6263
64+var xEntryRowGLibType func() types.GType
65+
66+func EntryRowGLibType() types.GType {
67+ return xEntryRowGLibType()
68+}
69+
6370 func EntryRowNewFromInternalPtr(ptr uintptr) *EntryRow {
6471 cls := &EntryRow{}
6572 cls.Ptr = ptr
@@ -772,6 +779,8 @@ func init() {
772779 panic(err)
773780 }
774781
782+ core.PuregoSafeRegister(&xEntryRowGLibType, lib, "adw_entry_row_get_type")
783+
775784 core.PuregoSafeRegister(&xNewEntryRow, lib, "adw_entry_row_new")
776785
777786 core.PuregoSafeRegister(&xEntryRowAddPrefix, lib, "adw_entry_row_add_prefix")
M v4/adw/adw-enum-list-model.go +16 -0
@@ -32,6 +32,12 @@ type EnumListItem struct {
3232 gobject.Object
3333 }
3434
35+var xEnumListItemGLibType func() types.GType
36+
37+func EnumListItemGLibType() types.GType {
38+ return xEnumListItemGLibType()
39+}
40+
3541 func EnumListItemNewFromInternalPtr(ptr uintptr) *EnumListItem {
3642 cls := &EnumListItem{}
3743 cls.Ptr = ptr
@@ -80,6 +86,12 @@ type EnumListModel struct {
8086 gobject.Object
8187 }
8288
89+var xEnumListModelGLibType func() types.GType
90+
91+func EnumListModelGLibType() types.GType {
92+ return xEnumListModelGLibType()
93+}
94+
8395 func EnumListModelNewFromInternalPtr(ptr uintptr) *EnumListModel {
8496 cls := &EnumListModel{}
8597 cls.Ptr = ptr
@@ -225,10 +237,14 @@ func init() {
225237 panic(err)
226238 }
227239
240+ core.PuregoSafeRegister(&xEnumListItemGLibType, lib, "adw_enum_list_item_get_type")
241+
228242 core.PuregoSafeRegister(&xEnumListItemGetName, lib, "adw_enum_list_item_get_name")
229243 core.PuregoSafeRegister(&xEnumListItemGetNick, lib, "adw_enum_list_item_get_nick")
230244 core.PuregoSafeRegister(&xEnumListItemGetValue, lib, "adw_enum_list_item_get_value")
231245
246+ core.PuregoSafeRegister(&xEnumListModelGLibType, lib, "adw_enum_list_model_get_type")
247+
232248 core.PuregoSafeRegister(&xNewEnumListModel, lib, "adw_enum_list_model_new")
233249
234250 core.PuregoSafeRegister(&xEnumListModelFindPosition, lib, "adw_enum_list_model_find_position")
M v4/adw/adw-expander-row.go +9 -0
@@ -8,6 +8,7 @@ import (
88 "github.com/jwijenbergh/puregotk/internal/core"
99 "github.com/jwijenbergh/puregotk/v4/glib"
1010 "github.com/jwijenbergh/puregotk/v4/gobject"
11+ "github.com/jwijenbergh/puregotk/v4/gobject/types"
1112 "github.com/jwijenbergh/puregotk/v4/gtk"
1213 )
1314
@@ -55,6 +56,12 @@ type ExpanderRow struct {
5556 PreferencesRow
5657 }
5758
59+var xExpanderRowGLibType func() types.GType
60+
61+func ExpanderRowGLibType() types.GType {
62+ return xExpanderRowGLibType()
63+}
64+
5865 func ExpanderRowNewFromInternalPtr(ptr uintptr) *ExpanderRow {
5966 cls := &ExpanderRow{}
6067 cls.Ptr = ptr
@@ -492,6 +499,8 @@ func init() {
492499 panic(err)
493500 }
494501
502+ core.PuregoSafeRegister(&xExpanderRowGLibType, lib, "adw_expander_row_get_type")
503+
495504 core.PuregoSafeRegister(&xNewExpanderRow, lib, "adw_expander_row_new")
496505
497506 core.PuregoSafeRegister(&xExpanderRowAddAction, lib, "adw_expander_row_add_action")
M v4/adw/adw-flap.go +25 -0
@@ -8,6 +8,7 @@ import (
88 "github.com/jwijenbergh/puregotk/internal/core"
99 "github.com/jwijenbergh/puregotk/v4/gdk"
1010 "github.com/jwijenbergh/puregotk/v4/gobject"
11+ "github.com/jwijenbergh/puregotk/v4/gobject/types"
1112 "github.com/jwijenbergh/puregotk/v4/gtk"
1213 )
1314
@@ -22,6 +23,12 @@ func (x *FlapClass) GoPointer() uintptr {
2223 // Describes the possible folding behavior of a [class@Flap] widget.
2324 type FlapFoldPolicy int
2425
26+var xFlapFoldPolicyGLibType func() types.GType
27+
28+func FlapFoldPolicyGLibType() types.GType {
29+ return xFlapFoldPolicyGLibType()
30+}
31+
2532 const (
2633
2734 // Disable folding, the flap cannot reach narrow
@@ -43,6 +50,12 @@ const (
4350 // New values may be added to this enum over time.
4451 type FlapTransitionType int
4552
53+var xFlapTransitionTypeGLibType func() types.GType
54+
55+func FlapTransitionTypeGLibType() types.GType {
56+ return xFlapTransitionTypeGLibType()
57+}
58+
4659 const (
4760
4861 // The flap slides over the content, which is
@@ -122,6 +135,12 @@ type Flap struct {
122135 gtk.Widget
123136 }
124137
138+var xFlapGLibType func() types.GType
139+
140+func FlapGLibType() types.GType {
141+ return xFlapGLibType()
142+}
143+
125144 func FlapNewFromInternalPtr(ptr uintptr) *Flap {
126145 cls := &Flap{}
127146 cls.Ptr = ptr
@@ -707,6 +726,12 @@ func init() {
707726 panic(err)
708727 }
709728
729+ core.PuregoSafeRegister(&xFlapFoldPolicyGLibType, lib, "adw_flap_fold_policy_get_type")
730+
731+ core.PuregoSafeRegister(&xFlapTransitionTypeGLibType, lib, "adw_flap_transition_type_get_type")
732+
733+ core.PuregoSafeRegister(&xFlapGLibType, lib, "adw_flap_get_type")
734+
710735 core.PuregoSafeRegister(&xNewFlap, lib, "adw_flap_new")
711736
712737 core.PuregoSafeRegister(&xFlapGetContent, lib, "adw_flap_get_content")
M v4/adw/adw-fold-threshold-policy.go +8 -0
@@ -1,9 +1,17 @@
11 // Package adw was automatically generated by github.com/jwijenbergh/puregotk DO NOT EDIT
22 package adw
33
4+import "github.com/jwijenbergh/puregotk/v4/gobject/types"
5+
46 // Determines when [class@Flap] and [class@Leaflet] will fold.
57 type FoldThresholdPolicy int
68
9+var xFoldThresholdPolicyGLibType func() types.GType
10+
11+func FoldThresholdPolicyGLibType() types.GType {
12+ return xFoldThresholdPolicyGLibType()
13+}
14+
715 const (
816
917 // Folding is based on the minimum size
M v4/adw/adw-header-bar.go +17 -0
@@ -7,6 +7,7 @@ import (
77 "github.com/jwijenbergh/purego"
88 "github.com/jwijenbergh/puregotk/internal/core"
99 "github.com/jwijenbergh/puregotk/v4/gobject"
10+ "github.com/jwijenbergh/puregotk/v4/gobject/types"
1011 "github.com/jwijenbergh/puregotk/v4/gtk"
1112 )
1213
@@ -21,6 +22,12 @@ func (x *HeaderBarClass) GoPointer() uintptr {
2122 // Describes title centering behavior of a [class@HeaderBar] widget.
2223 type CenteringPolicy int
2324
25+var xCenteringPolicyGLibType func() types.GType
26+
27+func CenteringPolicyGLibType() types.GType {
28+ return xCenteringPolicyGLibType()
29+}
30+
2431 const (
2532
2633 // Keep the title centered when possible
@@ -125,6 +132,12 @@ type HeaderBar struct {
125132 gtk.Widget
126133 }
127134
135+var xHeaderBarGLibType func() types.GType
136+
137+func HeaderBarGLibType() types.GType {
138+ return xHeaderBarGLibType()
139+}
140+
128141 func HeaderBarNewFromInternalPtr(ptr uintptr) *HeaderBar {
129142 cls := &HeaderBar{}
130143 cls.Ptr = ptr
@@ -473,6 +486,10 @@ func init() {
473486 panic(err)
474487 }
475488
489+ core.PuregoSafeRegister(&xCenteringPolicyGLibType, lib, "adw_centering_policy_get_type")
490+
491+ core.PuregoSafeRegister(&xHeaderBarGLibType, lib, "adw_header_bar_get_type")
492+
476493 core.PuregoSafeRegister(&xNewHeaderBar, lib, "adw_header_bar_new")
477494
478495 core.PuregoSafeRegister(&xHeaderBarGetCenteringPolicy, lib, "adw_header_bar_get_centering_policy")
M v4/adw/adw-leaflet.go +25 -0
@@ -8,6 +8,7 @@ import (
88 "github.com/jwijenbergh/puregotk/internal/core"
99 "github.com/jwijenbergh/puregotk/v4/gdk"
1010 "github.com/jwijenbergh/puregotk/v4/gobject"
11+ "github.com/jwijenbergh/puregotk/v4/gobject/types"
1112 "github.com/jwijenbergh/puregotk/v4/gtk"
1213 )
1314
@@ -32,6 +33,12 @@ func (x *LeafletPageClass) GoPointer() uintptr {
3233 // New values may be added to this enumeration over time.
3334 type LeafletTransitionType int
3435
36+var xLeafletTransitionTypeGLibType func() types.GType
37+
38+func LeafletTransitionTypeGLibType() types.GType {
39+ return xLeafletTransitionTypeGLibType()
40+}
41+
3542 const (
3643
3744 // Cover the old page or uncover the new page, sliding from or towards the end according to orientation, text direction and children order
@@ -81,6 +88,12 @@ type Leaflet struct {
8188 gtk.Widget
8289 }
8390
91+var xLeafletGLibType func() types.GType
92+
93+func LeafletGLibType() types.GType {
94+ return xLeafletGLibType()
95+}
96+
8497 func LeafletNewFromInternalPtr(ptr uintptr) *Leaflet {
8598 cls := &Leaflet{}
8699 cls.Ptr = ptr
@@ -761,6 +774,12 @@ type LeafletPage struct {
761774 gobject.Object
762775 }
763776
777+var xLeafletPageGLibType func() types.GType
778+
779+func LeafletPageGLibType() types.GType {
780+ return xLeafletPageGLibType()
781+}
782+
764783 func LeafletPageNewFromInternalPtr(ptr uintptr) *LeafletPage {
765784 cls := &LeafletPage{}
766785 cls.Ptr = ptr
@@ -839,6 +858,10 @@ func init() {
839858 panic(err)
840859 }
841860
861+ core.PuregoSafeRegister(&xLeafletTransitionTypeGLibType, lib, "adw_leaflet_transition_type_get_type")
862+
863+ core.PuregoSafeRegister(&xLeafletGLibType, lib, "adw_leaflet_get_type")
864+
842865 core.PuregoSafeRegister(&xNewLeaflet, lib, "adw_leaflet_new")
843866
844867 core.PuregoSafeRegister(&xLeafletAppend, lib, "adw_leaflet_append")
@@ -874,6 +897,8 @@ func init() {
874897 core.PuregoSafeRegister(&xLeafletSetVisibleChild, lib, "adw_leaflet_set_visible_child")
875898 core.PuregoSafeRegister(&xLeafletSetVisibleChildName, lib, "adw_leaflet_set_visible_child_name")
876899
900+ core.PuregoSafeRegister(&xLeafletPageGLibType, lib, "adw_leaflet_page_get_type")
901+
877902 core.PuregoSafeRegister(&xLeafletPageGetChild, lib, "adw_leaflet_page_get_child")
878903 core.PuregoSafeRegister(&xLeafletPageGetName, lib, "adw_leaflet_page_get_name")
879904 core.PuregoSafeRegister(&xLeafletPageGetNavigatable, lib, "adw_leaflet_page_get_navigatable")
M v4/adw/adw-main.go +1 -0
@@ -40,6 +40,7 @@ func init() {
4040 if err != nil {
4141 panic(err)
4242 }
43+
4344 core.PuregoSafeRegister(&xInit, lib, "adw_init")
4445 core.PuregoSafeRegister(&xIsInitialized, lib, "adw_is_initialized")
4546
M v4/adw/adw-message-dialog.go +17 -0
@@ -10,6 +10,7 @@ import (
1010 "github.com/jwijenbergh/puregotk/v4/gio"
1111 "github.com/jwijenbergh/puregotk/v4/glib"
1212 "github.com/jwijenbergh/puregotk/v4/gobject"
13+ "github.com/jwijenbergh/puregotk/v4/gobject/types"
1314 "github.com/jwijenbergh/puregotk/v4/gsk"
1415 "github.com/jwijenbergh/puregotk/v4/gtk"
1516 )
@@ -29,6 +30,12 @@ func (x *MessageDialogClass) GoPointer() uintptr {
2930 // See [method@MessageDialog.set_response_appearance].
3031 type ResponseAppearance int
3132
33+var xResponseAppearanceGLibType func() types.GType
34+
35+func ResponseAppearanceGLibType() types.GType {
36+ return xResponseAppearanceGLibType()
37+}
38+
3239 const (
3340
3441 // the default appearance.
@@ -186,6 +193,12 @@ type MessageDialog struct {
186193 gtk.Window
187194 }
188195
196+var xMessageDialogGLibType func() types.GType
197+
198+func MessageDialogGLibType() types.GType {
199+ return xMessageDialogGLibType()
200+}
201+
189202 func MessageDialogNewFromInternalPtr(ptr uintptr) *MessageDialog {
190203 cls := &MessageDialog{}
191204 cls.Ptr = ptr
@@ -903,6 +916,10 @@ func init() {
903916 panic(err)
904917 }
905918
919+ core.PuregoSafeRegister(&xResponseAppearanceGLibType, lib, "adw_response_appearance_get_type")
920+
921+ core.PuregoSafeRegister(&xMessageDialogGLibType, lib, "adw_message_dialog_get_type")
922+
906923 core.PuregoSafeRegister(&xNewMessageDialog, lib, "adw_message_dialog_new")
907924
908925 core.PuregoSafeRegister(&xMessageDialogAddResponse, lib, "adw_message_dialog_add_response")
M v4/adw/adw-navigation-direction.go +8 -0
@@ -1,9 +1,17 @@
11 // Package adw was automatically generated by github.com/jwijenbergh/puregotk DO NOT EDIT
22 package adw
33
4+import "github.com/jwijenbergh/puregotk/v4/gobject/types"
5+
46 // Describes the direction of a swipe navigation gesture.
57 type NavigationDirection int
68
9+var xNavigationDirectionGLibType func() types.GType
10+
11+func NavigationDirectionGLibType() types.GType {
12+ return xNavigationDirectionGLibType()
13+}
14+
715 const (
816
917 // Corresponds to start or top, depending on orientation and text direction
M v4/adw/adw-password-entry-row.go +9 -0
@@ -8,6 +8,7 @@ import (
88 "github.com/jwijenbergh/puregotk/internal/core"
99 "github.com/jwijenbergh/puregotk/v4/glib"
1010 "github.com/jwijenbergh/puregotk/v4/gobject"
11+ "github.com/jwijenbergh/puregotk/v4/gobject/types"
1112 "github.com/jwijenbergh/puregotk/v4/gtk"
1213 )
1314
@@ -44,6 +45,12 @@ type PasswordEntryRow struct {
4445 EntryRow
4546 }
4647
48+var xPasswordEntryRowGLibType func() types.GType
49+
50+func PasswordEntryRowGLibType() types.GType {
51+ return xPasswordEntryRowGLibType()
52+}
53+
4754 func PasswordEntryRowNewFromInternalPtr(ptr uintptr) *PasswordEntryRow {
4855 cls := &PasswordEntryRow{}
4956 cls.Ptr = ptr
@@ -549,6 +556,8 @@ func init() {
549556 panic(err)
550557 }
551558
559+ core.PuregoSafeRegister(&xPasswordEntryRowGLibType, lib, "adw_password_entry_row_get_type")
560+
552561 core.PuregoSafeRegister(&xNewPasswordEntryRow, lib, "adw_password_entry_row_new")
553562
554563 }
M v4/adw/adw-preferences-group.go +9 -0
@@ -7,6 +7,7 @@ import (
77 "github.com/jwijenbergh/purego"
88 "github.com/jwijenbergh/puregotk/internal/core"
99 "github.com/jwijenbergh/puregotk/v4/gobject"
10+ "github.com/jwijenbergh/puregotk/v4/gobject/types"
1011 "github.com/jwijenbergh/puregotk/v4/gtk"
1112 )
1213
@@ -57,6 +58,12 @@ type PreferencesGroup struct {
5758 gtk.Widget
5859 }
5960
61+var xPreferencesGroupGLibType func() types.GType
62+
63+func PreferencesGroupGLibType() types.GType {
64+ return xPreferencesGroupGLibType()
65+}
66+
6067 func PreferencesGroupNewFromInternalPtr(ptr uintptr) *PreferencesGroup {
6168 cls := &PreferencesGroup{}
6269 cls.Ptr = ptr
@@ -321,6 +328,8 @@ func init() {
321328 panic(err)
322329 }
323330
331+ core.PuregoSafeRegister(&xPreferencesGroupGLibType, lib, "adw_preferences_group_get_type")
332+
324333 core.PuregoSafeRegister(&xNewPreferencesGroup, lib, "adw_preferences_group_new")
325334
326335 core.PuregoSafeRegister(&xPreferencesGroupAdd, lib, "adw_preferences_group_add")
M v4/adw/adw-preferences-page.go +9 -0
@@ -7,6 +7,7 @@ import (
77 "github.com/jwijenbergh/purego"
88 "github.com/jwijenbergh/puregotk/internal/core"
99 "github.com/jwijenbergh/puregotk/v4/gobject"
10+ "github.com/jwijenbergh/puregotk/v4/gobject/types"
1011 "github.com/jwijenbergh/puregotk/v4/gtk"
1112 )
1213
@@ -43,6 +44,12 @@ type PreferencesPage struct {
4344 gtk.Widget
4445 }
4546
47+var xPreferencesPageGLibType func() types.GType
48+
49+func PreferencesPageGLibType() types.GType {
50+ return xPreferencesPageGLibType()
51+}
52+
4653 func PreferencesPageNewFromInternalPtr(ptr uintptr) *PreferencesPage {
4754 cls := &PreferencesPage{}
4855 cls.Ptr = ptr
@@ -322,6 +329,8 @@ func init() {
322329 panic(err)
323330 }
324331
332+ core.PuregoSafeRegister(&xPreferencesPageGLibType, lib, "adw_preferences_page_get_type")
333+
325334 core.PuregoSafeRegister(&xNewPreferencesPage, lib, "adw_preferences_page_new")
326335
327336 core.PuregoSafeRegister(&xPreferencesPageAdd, lib, "adw_preferences_page_add")
M v4/adw/adw-preferences-row.go +9 -0
@@ -8,6 +8,7 @@ import (
88 "github.com/jwijenbergh/puregotk/internal/core"
99 "github.com/jwijenbergh/puregotk/v4/glib"
1010 "github.com/jwijenbergh/puregotk/v4/gobject"
11+ "github.com/jwijenbergh/puregotk/v4/gobject/types"
1112 "github.com/jwijenbergh/puregotk/v4/gtk"
1213 )
1314
@@ -34,6 +35,12 @@ type PreferencesRow struct {
3435 gtk.ListBoxRow
3536 }
3637
38+var xPreferencesRowGLibType func() types.GType
39+
40+func PreferencesRowGLibType() types.GType {
41+ return xPreferencesRowGLibType()
42+}
43+
3744 func PreferencesRowNewFromInternalPtr(ptr uintptr) *PreferencesRow {
3845 cls := &PreferencesRow{}
3946 cls.Ptr = ptr
@@ -378,6 +385,8 @@ func init() {
378385 panic(err)
379386 }
380387
388+ core.PuregoSafeRegister(&xPreferencesRowGLibType, lib, "adw_preferences_row_get_type")
389+
381390 core.PuregoSafeRegister(&xNewPreferencesRow, lib, "adw_preferences_row_new")
382391
383392 core.PuregoSafeRegister(&xPreferencesRowGetTitle, lib, "adw_preferences_row_get_title")
M v4/adw/adw-preferences-window.go +9 -0
@@ -8,6 +8,7 @@ import (
88 "github.com/jwijenbergh/puregotk/internal/core"
99 "github.com/jwijenbergh/puregotk/v4/gdk"
1010 "github.com/jwijenbergh/puregotk/v4/gobject"
11+ "github.com/jwijenbergh/puregotk/v4/gobject/types"
1112 "github.com/jwijenbergh/puregotk/v4/gsk"
1213 "github.com/jwijenbergh/puregotk/v4/gtk"
1314 )
@@ -42,6 +43,12 @@ type PreferencesWindow struct {
4243 Window
4344 }
4445
46+var xPreferencesWindowGLibType func() types.GType
47+
48+func PreferencesWindowGLibType() types.GType {
49+ return xPreferencesWindowGLibType()
50+}
51+
4552 func PreferencesWindowNewFromInternalPtr(ptr uintptr) *PreferencesWindow {
4653 cls := &PreferencesWindow{}
4754 cls.Ptr = ptr
@@ -474,6 +481,8 @@ func init() {
474481 panic(err)
475482 }
476483
484+ core.PuregoSafeRegister(&xPreferencesWindowGLibType, lib, "adw_preferences_window_get_type")
485+
477486 core.PuregoSafeRegister(&xNewPreferencesWindow, lib, "adw_preferences_window_new")
478487
479488 core.PuregoSafeRegister(&xPreferencesWindowAdd, lib, "adw_preferences_window_add")
M v4/adw/adw-split-button.go +9 -0
@@ -9,6 +9,7 @@ import (
99 "github.com/jwijenbergh/puregotk/v4/gio"
1010 "github.com/jwijenbergh/puregotk/v4/glib"
1111 "github.com/jwijenbergh/puregotk/v4/gobject"
12+ "github.com/jwijenbergh/puregotk/v4/gobject/types"
1213 "github.com/jwijenbergh/puregotk/v4/gtk"
1314 )
1415
@@ -64,6 +65,12 @@ type SplitButton struct {
6465 gtk.Widget
6566 }
6667
68+var xSplitButtonGLibType func() types.GType
69+
70+func SplitButtonGLibType() types.GType {
71+ return xSplitButtonGLibType()
72+}
73+
6774 func SplitButtonNewFromInternalPtr(ptr uintptr) *SplitButton {
6875 cls := &SplitButton{}
6976 cls.Ptr = ptr
@@ -590,6 +597,8 @@ func init() {
590597 panic(err)
591598 }
592599
600+ core.PuregoSafeRegister(&xSplitButtonGLibType, lib, "adw_split_button_get_type")
601+
593602 core.PuregoSafeRegister(&xNewSplitButton, lib, "adw_split_button_new")
594603
595604 core.PuregoSafeRegister(&xSplitButtonGetChild, lib, "adw_split_button_get_child")
M v4/adw/adw-spring-animation.go +9 -0
@@ -7,6 +7,7 @@ import (
77 "github.com/jwijenbergh/purego"
88 "github.com/jwijenbergh/puregotk/internal/core"
99 "github.com/jwijenbergh/puregotk/v4/gobject"
10+ "github.com/jwijenbergh/puregotk/v4/gobject/types"
1011 "github.com/jwijenbergh/puregotk/v4/gtk"
1112 )
1213
@@ -52,6 +53,12 @@ type SpringAnimation struct {
5253 Animation
5354 }
5455
56+var xSpringAnimationGLibType func() types.GType
57+
58+func SpringAnimationGLibType() types.GType {
59+ return xSpringAnimationGLibType()
60+}
61+
5562 func SpringAnimationNewFromInternalPtr(ptr uintptr) *SpringAnimation {
5663 cls := &SpringAnimation{}
5764 cls.Ptr = ptr
@@ -273,6 +280,8 @@ func init() {
273280 panic(err)
274281 }
275282
283+ core.PuregoSafeRegister(&xSpringAnimationGLibType, lib, "adw_spring_animation_get_type")
284+
276285 core.PuregoSafeRegister(&xNewSpringAnimation, lib, "adw_spring_animation_new")
277286
278287 core.PuregoSafeRegister(&xSpringAnimationCalculateValue, lib, "adw_spring_animation_calculate_value")
M v4/adw/adw-spring-params.go +9 -0
@@ -6,6 +6,7 @@ import (
66
77 "github.com/jwijenbergh/purego"
88 "github.com/jwijenbergh/puregotk/internal/core"
9+ "github.com/jwijenbergh/puregotk/v4/gobject/types"
910 )
1011
1112 // Physical parameters of a spring for [class@SpringAnimation].
@@ -41,6 +42,12 @@ import (
4142 type SpringParams struct {
4243 }
4344
45+var xSpringParamsGLibType func() types.GType
46+
47+func SpringParamsGLibType() types.GType {
48+ return xSpringParamsGLibType()
49+}
50+
4451 func (x *SpringParams) GoPointer() uintptr {
4552 return uintptr(unsafe.Pointer(x))
4653 }
@@ -142,6 +149,8 @@ func init() {
142149 panic(err)
143150 }
144151
152+ core.PuregoSafeRegister(&xSpringParamsGLibType, lib, "adw_spring_params_get_type")
153+
145154 core.PuregoSafeRegister(&xNewSpringParams, lib, "adw_spring_params_new")
146155 core.PuregoSafeRegister(&xNewSpringParamsFull, lib, "adw_spring_params_new_full")
147156
M v4/adw/adw-squeezer.go +25 -0
@@ -7,6 +7,7 @@ import (
77 "github.com/jwijenbergh/purego"
88 "github.com/jwijenbergh/puregotk/internal/core"
99 "github.com/jwijenbergh/puregotk/v4/gobject"
10+ "github.com/jwijenbergh/puregotk/v4/gobject/types"
1011 "github.com/jwijenbergh/puregotk/v4/gtk"
1112 )
1213
@@ -29,6 +30,12 @@ func (x *SqueezerPageClass) GoPointer() uintptr {
2930 // Describes the possible transitions in a [class@Squeezer] widget.
3031 type SqueezerTransitionType int
3132
33+var xSqueezerTransitionTypeGLibType func() types.GType
34+
35+func SqueezerTransitionTypeGLibType() types.GType {
36+ return xSqueezerTransitionTypeGLibType()
37+}
38+
3239 const (
3340
3441 // No transition
@@ -67,6 +74,12 @@ type Squeezer struct {
6774 gtk.Widget
6875 }
6976
77+var xSqueezerGLibType func() types.GType
78+
79+func SqueezerGLibType() types.GType {
80+ return xSqueezerGLibType()
81+}
82+
7083 func SqueezerNewFromInternalPtr(ptr uintptr) *Squeezer {
7184 cls := &Squeezer{}
7285 cls.Ptr = ptr
@@ -530,6 +543,12 @@ type SqueezerPage struct {
530543 gobject.Object
531544 }
532545
546+var xSqueezerPageGLibType func() types.GType
547+
548+func SqueezerPageGLibType() types.GType {
549+ return xSqueezerPageGLibType()
550+}
551+
533552 func SqueezerPageNewFromInternalPtr(ptr uintptr) *SqueezerPage {
534553 cls := &SqueezerPage{}
535554 cls.Ptr = ptr
@@ -594,6 +613,10 @@ func init() {
594613 panic(err)
595614 }
596615
616+ core.PuregoSafeRegister(&xSqueezerTransitionTypeGLibType, lib, "adw_squeezer_transition_type_get_type")
617+
618+ core.PuregoSafeRegister(&xSqueezerGLibType, lib, "adw_squeezer_get_type")
619+
597620 core.PuregoSafeRegister(&xNewSqueezer, lib, "adw_squeezer_new")
598621
599622 core.PuregoSafeRegister(&xSqueezerAdd, lib, "adw_squeezer_add")
@@ -619,6 +642,8 @@ func init() {
619642 core.PuregoSafeRegister(&xSqueezerSetXalign, lib, "adw_squeezer_set_xalign")
620643 core.PuregoSafeRegister(&xSqueezerSetYalign, lib, "adw_squeezer_set_yalign")
621644
645+ core.PuregoSafeRegister(&xSqueezerPageGLibType, lib, "adw_squeezer_page_get_type")
646+
622647 core.PuregoSafeRegister(&xSqueezerPageGetChild, lib, "adw_squeezer_page_get_child")
623648 core.PuregoSafeRegister(&xSqueezerPageGetEnabled, lib, "adw_squeezer_page_get_enabled")
624649 core.PuregoSafeRegister(&xSqueezerPageSetEnabled, lib, "adw_squeezer_page_set_enabled")
M v4/adw/adw-status-page.go +9 -0
@@ -8,6 +8,7 @@ import (
88 "github.com/jwijenbergh/puregotk/internal/core"
99 "github.com/jwijenbergh/puregotk/v4/gdk"
1010 "github.com/jwijenbergh/puregotk/v4/gobject"
11+ "github.com/jwijenbergh/puregotk/v4/gobject/types"
1112 "github.com/jwijenbergh/puregotk/v4/gtk"
1213 )
1314
@@ -42,6 +43,12 @@ type StatusPage struct {
4243 gtk.Widget
4344 }
4445
46+var xStatusPageGLibType func() types.GType
47+
48+func StatusPageGLibType() types.GType {
49+ return xStatusPageGLibType()
50+}
51+
4552 func StatusPageNewFromInternalPtr(ptr uintptr) *StatusPage {
4653 cls := &StatusPage{}
4754 cls.Ptr = ptr
@@ -336,6 +343,8 @@ func init() {
336343 panic(err)
337344 }
338345
346+ core.PuregoSafeRegister(&xStatusPageGLibType, lib, "adw_status_page_get_type")
347+
339348 core.PuregoSafeRegister(&xNewStatusPage, lib, "adw_status_page_new")
340349
341350 core.PuregoSafeRegister(&xStatusPageGetChild, lib, "adw_status_page_get_child")
M v4/adw/adw-style-manager.go +17 -0
@@ -8,6 +8,7 @@ import (
88 "github.com/jwijenbergh/puregotk/internal/core"
99 "github.com/jwijenbergh/puregotk/v4/gdk"
1010 "github.com/jwijenbergh/puregotk/v4/gobject"
11+ "github.com/jwijenbergh/puregotk/v4/gobject/types"
1112 )
1213
1314 type StyleManagerClass struct {
@@ -21,6 +22,12 @@ func (x *StyleManagerClass) GoPointer() uintptr {
2122 // Application color schemes for [property@StyleManager:color-scheme].
2223 type ColorScheme int
2324
25+var xColorSchemeGLibType func() types.GType
26+
27+func ColorSchemeGLibType() types.GType {
28+ return xColorSchemeGLibType()
29+}
30+
2431 const (
2532
2633 // Inherit the parent color-scheme. When set on the
@@ -51,6 +58,12 @@ type StyleManager struct {
5158 gobject.Object
5259 }
5360
61+var xStyleManagerGLibType func() types.GType
62+
63+func StyleManagerGLibType() types.GType {
64+ return xStyleManagerGLibType()
65+}
66+
5467 func StyleManagerNewFromInternalPtr(ptr uintptr) *StyleManager {
5568 cls := &StyleManager{}
5669 cls.Ptr = ptr
@@ -219,6 +232,10 @@ func init() {
219232 panic(err)
220233 }
221234
235+ core.PuregoSafeRegister(&xColorSchemeGLibType, lib, "adw_color_scheme_get_type")
236+
237+ core.PuregoSafeRegister(&xStyleManagerGLibType, lib, "adw_style_manager_get_type")
238+
222239 core.PuregoSafeRegister(&xStyleManagerGetColorScheme, lib, "adw_style_manager_get_color_scheme")
223240 core.PuregoSafeRegister(&xStyleManagerGetDark, lib, "adw_style_manager_get_dark")
224241 core.PuregoSafeRegister(&xStyleManagerGetDisplay, lib, "adw_style_manager_get_display")
M v4/adw/adw-swipe-tracker.go +9 -0
@@ -8,6 +8,7 @@ import (
88 "github.com/jwijenbergh/puregotk/internal/core"
99 "github.com/jwijenbergh/puregotk/v4/glib"
1010 "github.com/jwijenbergh/puregotk/v4/gobject"
11+ "github.com/jwijenbergh/puregotk/v4/gobject/types"
1112 "github.com/jwijenbergh/puregotk/v4/gtk"
1213 )
1314
@@ -33,6 +34,12 @@ type SwipeTracker struct {
3334 gobject.Object
3435 }
3536
37+var xSwipeTrackerGLibType func() types.GType
38+
39+func SwipeTrackerGLibType() types.GType {
40+ return xSwipeTrackerGLibType()
41+}
42+
3643 func SwipeTrackerNewFromInternalPtr(ptr uintptr) *SwipeTracker {
3744 cls := &SwipeTracker{}
3845 cls.Ptr = ptr
@@ -282,6 +289,8 @@ func init() {
282289 panic(err)
283290 }
284291
292+ core.PuregoSafeRegister(&xSwipeTrackerGLibType, lib, "adw_swipe_tracker_get_type")
293+
285294 core.PuregoSafeRegister(&xNewSwipeTracker, lib, "adw_swipe_tracker_new")
286295
287296 core.PuregoSafeRegister(&xSwipeTrackerGetAllowLongSwipes, lib, "adw_swipe_tracker_get_allow_long_swipes")
M v4/adw/adw-swipeable.go +10 -0
@@ -7,6 +7,7 @@ import (
77 "github.com/jwijenbergh/purego"
88 "github.com/jwijenbergh/puregotk/internal/core"
99 "github.com/jwijenbergh/puregotk/v4/gdk"
10+ "github.com/jwijenbergh/puregotk/v4/gobject/types"
1011 )
1112
1213 // An interface for swipeable widgets.
@@ -34,6 +35,13 @@ type Swipeable interface {
3435 GetSnapPoints(NSnapPointsVar int) []float64
3536 GetSwipeArea(NavigationDirectionVar NavigationDirection, IsDragVar bool, RectVar *gdk.Rectangle)
3637 }
38+
39+var xSwipeableGLibType func() types.GType
40+
41+func SwipeableGLibType() types.GType {
42+ return xSwipeableGLibType()
43+}
44+
3745 type SwipeableBase struct {
3846 Ptr uintptr
3947 }
@@ -106,6 +114,8 @@ func init() {
106114 panic(err)
107115 }
108116
117+ core.PuregoSafeRegister(&xSwipeableGLibType, lib, "adw_swipeable_get_type")
118+
109119 core.PuregoSafeRegister(&XAdwSwipeableGetCancelProgress, lib, "adw_swipeable_get_cancel_progress")
110120 core.PuregoSafeRegister(&XAdwSwipeableGetDistance, lib, "adw_swipeable_get_distance")
111121 core.PuregoSafeRegister(&XAdwSwipeableGetProgress, lib, "adw_swipeable_get_progress")
M v4/adw/adw-tab-bar.go +8 -0
@@ -47,6 +47,12 @@ type TabBar struct {
4747 gtk.Widget
4848 }
4949
50+var xTabBarGLibType func() types.GType
51+
52+func TabBarGLibType() types.GType {
53+ return xTabBarGLibType()
54+}
55+
5056 func TabBarNewFromInternalPtr(ptr uintptr) *TabBar {
5157 cls := &TabBar{}
5258 cls.Ptr = ptr
@@ -484,6 +490,8 @@ func init() {
484490 panic(err)
485491 }
486492
493+ core.PuregoSafeRegister(&xTabBarGLibType, lib, "adw_tab_bar_get_type")
494+
487495 core.PuregoSafeRegister(&xNewTabBar, lib, "adw_tab_bar_new")
488496
489497 core.PuregoSafeRegister(&xTabBarGetAutohide, lib, "adw_tab_bar_get_autohide")
M v4/adw/adw-tab-button.go +9 -0
@@ -8,6 +8,7 @@ import (
88 "github.com/jwijenbergh/puregotk/internal/core"
99 "github.com/jwijenbergh/puregotk/v4/glib"
1010 "github.com/jwijenbergh/puregotk/v4/gobject"
11+ "github.com/jwijenbergh/puregotk/v4/gobject/types"
1112 "github.com/jwijenbergh/puregotk/v4/gtk"
1213 )
1314
@@ -55,6 +56,12 @@ type TabButton struct {
5556 gtk.Widget
5657 }
5758
59+var xTabButtonGLibType func() types.GType
60+
61+func TabButtonGLibType() types.GType {
62+ return xTabButtonGLibType()
63+}
64+
5865 func TabButtonNewFromInternalPtr(ptr uintptr) *TabButton {
5966 cls := &TabButton{}
6067 cls.Ptr = ptr
@@ -387,6 +394,8 @@ func init() {
387394 panic(err)
388395 }
389396
397+ core.PuregoSafeRegister(&xTabButtonGLibType, lib, "adw_tab_button_get_type")
398+
390399 core.PuregoSafeRegister(&xNewTabButton, lib, "adw_tab_button_new")
391400
392401 core.PuregoSafeRegister(&xTabButtonGetView, lib, "adw_tab_button_get_view")
M v4/adw/adw-tab-overview.go +8 -0
@@ -84,6 +84,12 @@ type TabOverview struct {
8484 gtk.Widget
8585 }
8686
87+var xTabOverviewGLibType func() types.GType
88+
89+func TabOverviewGLibType() types.GType {
90+ return xTabOverviewGLibType()
91+}
92+
8793 func TabOverviewNewFromInternalPtr(ptr uintptr) *TabOverview {
8894 cls := &TabOverview{}
8995 cls.Ptr = ptr
@@ -603,6 +609,8 @@ func init() {
603609 panic(err)
604610 }
605611
612+ core.PuregoSafeRegister(&xTabOverviewGLibType, lib, "adw_tab_overview_get_type")
613+
606614 core.PuregoSafeRegister(&xNewTabOverview, lib, "adw_tab_overview_new")
607615
608616 core.PuregoSafeRegister(&xTabOverviewGetChild, lib, "adw_tab_overview_get_child")
M v4/adw/adw-tab-view.go +25 -0
@@ -9,6 +9,7 @@ import (
99 "github.com/jwijenbergh/puregotk/v4/gio"
1010 "github.com/jwijenbergh/puregotk/v4/glib"
1111 "github.com/jwijenbergh/puregotk/v4/gobject"
12+ "github.com/jwijenbergh/puregotk/v4/gobject/types"
1213 "github.com/jwijenbergh/puregotk/v4/gtk"
1314 )
1415
@@ -37,6 +38,12 @@ func (x *TabViewClass) GoPointer() uintptr {
3738 // New values may be added to this enumeration over time.
3839 type TabViewShortcuts int
3940
41+var xTabViewShortcutsGLibType func() types.GType
42+
43+func TabViewShortcutsGLibType() types.GType {
44+ return xTabViewShortcutsGLibType()
45+}
46+
4047 const (
4148
4249 // No shortcuts
@@ -79,6 +86,12 @@ type TabPage struct {
7986 gobject.Object
8087 }
8188
89+var xTabPageGLibType func() types.GType
90+
91+func TabPageGLibType() types.GType {
92+ return xTabPageGLibType()
93+}
94+
8295 func TabPageNewFromInternalPtr(ptr uintptr) *TabPage {
8396 cls := &TabPage{}
8497 cls.Ptr = ptr
@@ -667,6 +680,12 @@ type TabView struct {
667680 gtk.Widget
668681 }
669682
683+var xTabViewGLibType func() types.GType
684+
685+func TabViewGLibType() types.GType {
686+ return xTabViewGLibType()
687+}
688+
670689 func TabViewNewFromInternalPtr(ptr uintptr) *TabView {
671690 cls := &TabView{}
672691 cls.Ptr = ptr
@@ -1614,6 +1633,10 @@ func init() {
16141633 panic(err)
16151634 }
16161635
1636+ core.PuregoSafeRegister(&xTabViewShortcutsGLibType, lib, "adw_tab_view_shortcuts_get_type")
1637+
1638+ core.PuregoSafeRegister(&xTabPageGLibType, lib, "adw_tab_page_get_type")
1639+
16171640 core.PuregoSafeRegister(&xTabPageGetChild, lib, "adw_tab_page_get_child")
16181641 core.PuregoSafeRegister(&xTabPageGetIcon, lib, "adw_tab_page_get_icon")
16191642 core.PuregoSafeRegister(&xTabPageGetIndicatorActivatable, lib, "adw_tab_page_get_indicator_activatable")
@@ -1644,6 +1667,8 @@ func init() {
16441667 core.PuregoSafeRegister(&xTabPageSetTitle, lib, "adw_tab_page_set_title")
16451668 core.PuregoSafeRegister(&xTabPageSetTooltip, lib, "adw_tab_page_set_tooltip")
16461669
1670+ core.PuregoSafeRegister(&xTabViewGLibType, lib, "adw_tab_view_get_type")
1671+
16471672 core.PuregoSafeRegister(&xNewTabView, lib, "adw_tab_view_new")
16481673
16491674 core.PuregoSafeRegister(&xTabViewAddPage, lib, "adw_tab_view_add_page")
M v4/adw/adw-timed-animation.go +9 -0
@@ -7,6 +7,7 @@ import (
77 "github.com/jwijenbergh/purego"
88 "github.com/jwijenbergh/puregotk/internal/core"
99 "github.com/jwijenbergh/puregotk/v4/gobject"
10+ "github.com/jwijenbergh/puregotk/v4/gobject/types"
1011 "github.com/jwijenbergh/puregotk/v4/gtk"
1112 )
1213
@@ -37,6 +38,12 @@ type TimedAnimation struct {
3738 Animation
3839 }
3940
41+var xTimedAnimationGLibType func() types.GType
42+
43+func TimedAnimationGLibType() types.GType {
44+ return xTimedAnimationGLibType()
45+}
46+
4047 func TimedAnimationNewFromInternalPtr(ptr uintptr) *TimedAnimation {
4148 cls := &TimedAnimation{}
4249 cls.Ptr = ptr
@@ -219,6 +226,8 @@ func init() {
219226 panic(err)
220227 }
221228
229+ core.PuregoSafeRegister(&xTimedAnimationGLibType, lib, "adw_timed_animation_get_type")
230+
222231 core.PuregoSafeRegister(&xNewTimedAnimation, lib, "adw_timed_animation_new")
223232
224233 core.PuregoSafeRegister(&xTimedAnimationGetAlternate, lib, "adw_timed_animation_get_alternate")
M v4/adw/adw-toast-overlay.go +9 -0
@@ -7,6 +7,7 @@ import (
77 "github.com/jwijenbergh/purego"
88 "github.com/jwijenbergh/puregotk/internal/core"
99 "github.com/jwijenbergh/puregotk/v4/gobject"
10+ "github.com/jwijenbergh/puregotk/v4/gobject/types"
1011 "github.com/jwijenbergh/puregotk/v4/gtk"
1112 )
1213
@@ -65,6 +66,12 @@ type ToastOverlay struct {
6566 gtk.Widget
6667 }
6768
69+var xToastOverlayGLibType func() types.GType
70+
71+func ToastOverlayGLibType() types.GType {
72+ return xToastOverlayGLibType()
73+}
74+
6875 func ToastOverlayNewFromInternalPtr(ptr uintptr) *ToastOverlay {
6976 cls := &ToastOverlay{}
7077 cls.Ptr = ptr
@@ -289,6 +296,8 @@ func init() {
289296 panic(err)
290297 }
291298
299+ core.PuregoSafeRegister(&xToastOverlayGLibType, lib, "adw_toast_overlay_get_type")
300+
292301 core.PuregoSafeRegister(&xNewToastOverlay, lib, "adw_toast_overlay_new")
293302
294303 core.PuregoSafeRegister(&xToastOverlayAddToast, lib, "adw_toast_overlay_add_toast")
M v4/adw/adw-toast.go +17 -0
@@ -8,6 +8,7 @@ import (
88 "github.com/jwijenbergh/puregotk/internal/core"
99 "github.com/jwijenbergh/puregotk/v4/glib"
1010 "github.com/jwijenbergh/puregotk/v4/gobject"
11+ "github.com/jwijenbergh/puregotk/v4/gobject/types"
1112 "github.com/jwijenbergh/puregotk/v4/gtk"
1213 )
1314
@@ -22,6 +23,12 @@ func (x *ToastClass) GoPointer() uintptr {
2223 // [class@Toast] behavior when another toast is already displayed.
2324 type ToastPriority int
2425
26+var xToastPriorityGLibType func() types.GType
27+
28+func ToastPriorityGLibType() types.GType {
29+ return xToastPriorityGLibType()
30+}
31+
2532 const (
2633
2734 // the toast will be queued if another toast is
@@ -167,6 +174,12 @@ type Toast struct {
167174 gobject.Object
168175 }
169176
177+var xToastGLibType func() types.GType
178+
179+func ToastGLibType() types.GType {
180+ return xToastGLibType()
181+}
182+
170183 func ToastNewFromInternalPtr(ptr uintptr) *Toast {
171184 cls := &Toast{}
172185 cls.Ptr = ptr
@@ -485,6 +498,10 @@ func init() {
485498 panic(err)
486499 }
487500
501+ core.PuregoSafeRegister(&xToastPriorityGLibType, lib, "adw_toast_priority_get_type")
502+
503+ core.PuregoSafeRegister(&xToastGLibType, lib, "adw_toast_get_type")
504+
488505 core.PuregoSafeRegister(&xNewToast, lib, "adw_toast_new")
489506 core.PuregoSafeRegister(&xNewToastFormat, lib, "adw_toast_new_format")
490507
M v4/adw/adw-version.go +1 -0
@@ -71,6 +71,7 @@ func init() {
7171 if err != nil {
7272 panic(err)
7373 }
74+
7475 core.PuregoSafeRegister(&xGetMajorVersion, lib, "adw_get_major_version")
7576 core.PuregoSafeRegister(&xGetMicroVersion, lib, "adw_get_micro_version")
7677 core.PuregoSafeRegister(&xGetMinorVersion, lib, "adw_get_minor_version")
M v4/adw/adw-view-stack.go +17 -0
@@ -7,6 +7,7 @@ import (
77 "github.com/jwijenbergh/purego"
88 "github.com/jwijenbergh/puregotk/internal/core"
99 "github.com/jwijenbergh/puregotk/v4/gobject"
10+ "github.com/jwijenbergh/puregotk/v4/gobject/types"
1011 "github.com/jwijenbergh/puregotk/v4/gtk"
1112 )
1213
@@ -86,6 +87,12 @@ type ViewStack struct {
8687 gtk.Widget
8788 }
8889
90+var xViewStackGLibType func() types.GType
91+
92+func ViewStackGLibType() types.GType {
93+ return xViewStackGLibType()
94+}
95+
8996 func ViewStackNewFromInternalPtr(ptr uintptr) *ViewStack {
9097 cls := &ViewStack{}
9198 cls.Ptr = ptr
@@ -498,6 +505,12 @@ type ViewStackPage struct {
498505 gobject.Object
499506 }
500507
508+var xViewStackPageGLibType func() types.GType
509+
510+func ViewStackPageGLibType() types.GType {
511+ return xViewStackPageGLibType()
512+}
513+
501514 func ViewStackPageNewFromInternalPtr(ptr uintptr) *ViewStackPage {
502515 cls := &ViewStackPage{}
503516 cls.Ptr = ptr
@@ -807,6 +820,8 @@ func init() {
807820 panic(err)
808821 }
809822
823+ core.PuregoSafeRegister(&xViewStackGLibType, lib, "adw_view_stack_get_type")
824+
810825 core.PuregoSafeRegister(&xNewViewStack, lib, "adw_view_stack_new")
811826
812827 core.PuregoSafeRegister(&xViewStackAdd, lib, "adw_view_stack_add")
@@ -826,6 +841,8 @@ func init() {
826841 core.PuregoSafeRegister(&xViewStackSetVisibleChild, lib, "adw_view_stack_set_visible_child")
827842 core.PuregoSafeRegister(&xViewStackSetVisibleChildName, lib, "adw_view_stack_set_visible_child_name")
828843
844+ core.PuregoSafeRegister(&xViewStackPageGLibType, lib, "adw_view_stack_page_get_type")
845+
829846 core.PuregoSafeRegister(&xViewStackPageGetBadgeNumber, lib, "adw_view_stack_page_get_badge_number")
830847 core.PuregoSafeRegister(&xViewStackPageGetChild, lib, "adw_view_stack_page_get_child")
831848 core.PuregoSafeRegister(&xViewStackPageGetIconName, lib, "adw_view_stack_page_get_icon_name")
M v4/adw/adw-view-switcher-bar.go +9 -0
@@ -7,6 +7,7 @@ import (
77 "github.com/jwijenbergh/purego"
88 "github.com/jwijenbergh/puregotk/internal/core"
99 "github.com/jwijenbergh/puregotk/v4/gobject"
10+ "github.com/jwijenbergh/puregotk/v4/gobject/types"
1011 "github.com/jwijenbergh/puregotk/v4/gtk"
1112 )
1213
@@ -80,6 +81,12 @@ type ViewSwitcherBar struct {
8081 gtk.Widget
8182 }
8283
84+var xViewSwitcherBarGLibType func() types.GType
85+
86+func ViewSwitcherBarGLibType() types.GType {
87+ return xViewSwitcherBarGLibType()
88+}
89+
8390 func ViewSwitcherBarNewFromInternalPtr(ptr uintptr) *ViewSwitcherBar {
8491 cls := &ViewSwitcherBar{}
8592 cls.Ptr = ptr
@@ -304,6 +311,8 @@ func init() {
304311 panic(err)
305312 }
306313
314+ core.PuregoSafeRegister(&xViewSwitcherBarGLibType, lib, "adw_view_switcher_bar_get_type")
315+
307316 core.PuregoSafeRegister(&xNewViewSwitcherBar, lib, "adw_view_switcher_bar_new")
308317
309318 core.PuregoSafeRegister(&xViewSwitcherBarGetReveal, lib, "adw_view_switcher_bar_get_reveal")
M v4/adw/adw-view-switcher-title.go +9 -0
@@ -7,6 +7,7 @@ import (
77 "github.com/jwijenbergh/purego"
88 "github.com/jwijenbergh/puregotk/internal/core"
99 "github.com/jwijenbergh/puregotk/v4/gobject"
10+ "github.com/jwijenbergh/puregotk/v4/gobject/types"
1011 "github.com/jwijenbergh/puregotk/v4/gtk"
1112 )
1213
@@ -86,6 +87,12 @@ type ViewSwitcherTitle struct {
8687 gtk.Widget
8788 }
8889
90+var xViewSwitcherTitleGLibType func() types.GType
91+
92+func ViewSwitcherTitleGLibType() types.GType {
93+ return xViewSwitcherTitleGLibType()
94+}
95+
8996 func ViewSwitcherTitleNewFromInternalPtr(ptr uintptr) *ViewSwitcherTitle {
9097 cls := &ViewSwitcherTitle{}
9198 cls.Ptr = ptr
@@ -370,6 +377,8 @@ func init() {
370377 panic(err)
371378 }
372379
380+ core.PuregoSafeRegister(&xViewSwitcherTitleGLibType, lib, "adw_view_switcher_title_get_type")
381+
373382 core.PuregoSafeRegister(&xNewViewSwitcherTitle, lib, "adw_view_switcher_title_new")
374383
375384 core.PuregoSafeRegister(&xViewSwitcherTitleGetStack, lib, "adw_view_switcher_title_get_stack")
M v4/adw/adw-view-switcher.go +17 -0
@@ -7,6 +7,7 @@ import (
77 "github.com/jwijenbergh/purego"
88 "github.com/jwijenbergh/puregotk/internal/core"
99 "github.com/jwijenbergh/puregotk/v4/gobject"
10+ "github.com/jwijenbergh/puregotk/v4/gobject/types"
1011 "github.com/jwijenbergh/puregotk/v4/gtk"
1112 )
1213
@@ -21,6 +22,12 @@ func (x *ViewSwitcherClass) GoPointer() uintptr {
2122 // Describes the adaptive modes of [class@ViewSwitcher].
2223 type ViewSwitcherPolicy int
2324
25+var xViewSwitcherPolicyGLibType func() types.GType
26+
27+func ViewSwitcherPolicyGLibType() types.GType {
28+ return xViewSwitcherPolicyGLibType()
29+}
30+
2431 const (
2532
2633 // Force the narrow mode
@@ -62,6 +69,12 @@ type ViewSwitcher struct {
6269 gtk.Widget
6370 }
6471
72+var xViewSwitcherGLibType func() types.GType
73+
74+func ViewSwitcherGLibType() types.GType {
75+ return xViewSwitcherGLibType()
76+}
77+
6578 func ViewSwitcherNewFromInternalPtr(ptr uintptr) *ViewSwitcher {
6679 cls := &ViewSwitcher{}
6780 cls.Ptr = ptr
@@ -286,6 +299,10 @@ func init() {
286299 panic(err)
287300 }
288301
302+ core.PuregoSafeRegister(&xViewSwitcherPolicyGLibType, lib, "adw_view_switcher_policy_get_type")
303+
304+ core.PuregoSafeRegister(&xViewSwitcherGLibType, lib, "adw_view_switcher_get_type")
305+
289306 core.PuregoSafeRegister(&xNewViewSwitcher, lib, "adw_view_switcher_new")
290307
291308 core.PuregoSafeRegister(&xViewSwitcherGetPolicy, lib, "adw_view_switcher_get_policy")
M v4/adw/adw-window-title.go +9 -0
@@ -7,6 +7,7 @@ import (
77 "github.com/jwijenbergh/purego"
88 "github.com/jwijenbergh/puregotk/internal/core"
99 "github.com/jwijenbergh/puregotk/v4/gobject"
10+ "github.com/jwijenbergh/puregotk/v4/gobject/types"
1011 "github.com/jwijenbergh/puregotk/v4/gtk"
1112 )
1213
@@ -37,6 +38,12 @@ type WindowTitle struct {
3738 gtk.Widget
3839 }
3940
41+var xWindowTitleGLibType func() types.GType
42+
43+func WindowTitleGLibType() types.GType {
44+ return xWindowTitleGLibType()
45+}
46+
4047 func WindowTitleNewFromInternalPtr(ptr uintptr) *WindowTitle {
4148 cls := &WindowTitle{}
4249 cls.Ptr = ptr
@@ -258,6 +265,8 @@ func init() {
258265 panic(err)
259266 }
260267
268+ core.PuregoSafeRegister(&xWindowTitleGLibType, lib, "adw_window_title_get_type")
269+
261270 core.PuregoSafeRegister(&xNewWindowTitle, lib, "adw_window_title_new")
262271
263272 core.PuregoSafeRegister(&xWindowTitleGetSubtitle, lib, "adw_window_title_get_subtitle")
M v4/adw/adw-window.go +9 -0
@@ -8,6 +8,7 @@ import (
88 "github.com/jwijenbergh/puregotk/internal/core"
99 "github.com/jwijenbergh/puregotk/v4/gdk"
1010 "github.com/jwijenbergh/puregotk/v4/gobject"
11+ "github.com/jwijenbergh/puregotk/v4/gobject/types"
1112 "github.com/jwijenbergh/puregotk/v4/gsk"
1213 "github.com/jwijenbergh/puregotk/v4/gtk"
1314 )
@@ -59,6 +60,12 @@ type Window struct {
5960 gtk.Window
6061 }
6162
63+var xWindowGLibType func() types.GType
64+
65+func WindowGLibType() types.GType {
66+ return xWindowGLibType()
67+}
68+
6269 func WindowNewFromInternalPtr(ptr uintptr) *Window {
6370 cls := &Window{}
6471 cls.Ptr = ptr
@@ -376,6 +383,8 @@ func init() {
376383 panic(err)
377384 }
378385
386+ core.PuregoSafeRegister(&xWindowGLibType, lib, "adw_window_get_type")
387+
379388 core.PuregoSafeRegister(&xNewWindow, lib, "adw_window_new")
380389
381390 core.PuregoSafeRegister(&xWindowGetContent, lib, "adw_window_get_content")
M v4/cairo/main.go +258 -0
@@ -6,11 +6,18 @@ import (
66
77 "github.com/jwijenbergh/purego"
88 "github.com/jwijenbergh/puregotk/internal/core"
9+ "github.com/jwijenbergh/puregotk/v4/gobject/types"
910 )
1011
1112 type Context struct {
1213 }
1314
15+var xContextGLibType func() types.GType
16+
17+func ContextGLibType() types.GType {
18+ return xContextGLibType()
19+}
20+
1421 func (x *Context) GoPointer() uintptr {
1522 return uintptr(unsafe.Pointer(x))
1623 }
@@ -18,6 +25,12 @@ func (x *Context) GoPointer() uintptr {
1825 type Device struct {
1926 }
2027
28+var xDeviceGLibType func() types.GType
29+
30+func DeviceGLibType() types.GType {
31+ return xDeviceGLibType()
32+}
33+
2134 func (x *Device) GoPointer() uintptr {
2235 return uintptr(unsafe.Pointer(x))
2336 }
@@ -25,6 +38,12 @@ func (x *Device) GoPointer() uintptr {
2538 type Surface struct {
2639 }
2740
41+var xSurfaceGLibType func() types.GType
42+
43+func SurfaceGLibType() types.GType {
44+ return xSurfaceGLibType()
45+}
46+
2847 func (x *Surface) GoPointer() uintptr {
2948 return uintptr(unsafe.Pointer(x))
3049 }
@@ -39,6 +58,12 @@ func (x *Matrix) GoPointer() uintptr {
3958 type Pattern struct {
4059 }
4160
61+var xPatternGLibType func() types.GType
62+
63+func PatternGLibType() types.GType {
64+ return xPatternGLibType()
65+}
66+
4267 func (x *Pattern) GoPointer() uintptr {
4368 return uintptr(unsafe.Pointer(x))
4469 }
@@ -46,6 +71,12 @@ func (x *Pattern) GoPointer() uintptr {
4671 type Region struct {
4772 }
4873
74+var xRegionGLibType func() types.GType
75+
76+func RegionGLibType() types.GType {
77+ return xRegionGLibType()
78+}
79+
4980 func (x *Region) GoPointer() uintptr {
5081 return uintptr(unsafe.Pointer(x))
5182 }
@@ -53,6 +84,12 @@ func (x *Region) GoPointer() uintptr {
5384 type FontOptions struct {
5485 }
5586
87+var xFontOptionsGLibType func() types.GType
88+
89+func FontOptionsGLibType() types.GType {
90+ return xFontOptionsGLibType()
91+}
92+
5693 func (x *FontOptions) GoPointer() uintptr {
5794 return uintptr(unsafe.Pointer(x))
5895 }
@@ -60,6 +97,12 @@ func (x *FontOptions) GoPointer() uintptr {
6097 type FontFace struct {
6198 }
6299
100+var xFontFaceGLibType func() types.GType
101+
102+func FontFaceGLibType() types.GType {
103+ return xFontFaceGLibType()
104+}
105+
63106 func (x *FontFace) GoPointer() uintptr {
64107 return uintptr(unsafe.Pointer(x))
65108 }
@@ -67,6 +110,12 @@ func (x *FontFace) GoPointer() uintptr {
67110 type ScaledFont struct {
68111 }
69112
113+var xScaledFontGLibType func() types.GType
114+
115+func ScaledFontGLibType() types.GType {
116+ return xScaledFontGLibType()
117+}
118+
70119 func (x *ScaledFont) GoPointer() uintptr {
71120 return uintptr(unsafe.Pointer(x))
72121 }
@@ -88,6 +137,12 @@ type Rectangle struct {
88137 Height float64
89138 }
90139
140+var xRectangleGLibType func() types.GType
141+
142+func RectangleGLibType() types.GType {
143+ return xRectangleGLibType()
144+}
145+
91146 func (x *Rectangle) GoPointer() uintptr {
92147 return uintptr(unsafe.Pointer(x))
93148 }
@@ -102,12 +157,24 @@ type RectangleInt struct {
102157 Height int32
103158 }
104159
160+var xRectangleIntGLibType func() types.GType
161+
162+func RectangleIntGLibType() types.GType {
163+ return xRectangleIntGLibType()
164+}
165+
105166 func (x *RectangleInt) GoPointer() uintptr {
106167 return uintptr(unsafe.Pointer(x))
107168 }
108169
109170 type Status int
110171
172+var xStatusGLibType func() types.GType
173+
174+func StatusGLibType() types.GType {
175+ return xStatusGLibType()
176+}
177+
111178 const (
112179 StatusSuccessValue Status = 0
113180
@@ -190,6 +257,12 @@ const (
190257
191258 type Content int
192259
260+var xContentGLibType func() types.GType
261+
262+func ContentGLibType() types.GType {
263+ return xContentGLibType()
264+}
265+
193266 const (
194267 ContentColorValue Content = 4096
195268
@@ -200,6 +273,12 @@ const (
200273
201274 type Operator int
202275
276+var xOperatorGLibType func() types.GType
277+
278+func OperatorGLibType() types.GType {
279+ return xOperatorGLibType()
280+}
281+
203282 const (
204283 OperatorClearValue Operator = 0
205284
@@ -262,6 +341,12 @@ const (
262341
263342 type Antialias int
264343
344+var xAntialiasGLibType func() types.GType
345+
346+func AntialiasGLibType() types.GType {
347+ return xAntialiasGLibType()
348+}
349+
265350 const (
266351 AntialiasDefaultValue Antialias = 0
267352
@@ -280,6 +365,12 @@ const (
280365
281366 type FillRule int
282367
368+var xFillRuleGLibType func() types.GType
369+
370+func FillRuleGLibType() types.GType {
371+ return xFillRuleGLibType()
372+}
373+
283374 const (
284375 FillRuleWindingValue FillRule = 0
285376
@@ -288,6 +379,12 @@ const (
288379
289380 type LineCap int
290381
382+var xLineCapGLibType func() types.GType
383+
384+func LineCapGLibType() types.GType {
385+ return xLineCapGLibType()
386+}
387+
291388 const (
292389 LineCapButtValue LineCap = 0
293390
@@ -298,6 +395,12 @@ const (
298395
299396 type LineJoin int
300397
398+var xLineJoinGLibType func() types.GType
399+
400+func LineJoinGLibType() types.GType {
401+ return xLineJoinGLibType()
402+}
403+
301404 const (
302405 LineJoinMiterValue LineJoin = 0
303406
@@ -308,12 +411,24 @@ const (
308411
309412 type TextClusterFlags int
310413
414+var xTextClusterFlagsGLibType func() types.GType
415+
416+func TextClusterFlagsGLibType() types.GType {
417+ return xTextClusterFlagsGLibType()
418+}
419+
311420 const (
312421 TextClusterFlagBackwardValue TextClusterFlags = 1
313422 )
314423
315424 type FontSlant int
316425
426+var xFontSlantGLibType func() types.GType
427+
428+func FontSlantGLibType() types.GType {
429+ return xFontSlantGLibType()
430+}
431+
317432 const (
318433 FontSlantNormalValue FontSlant = 0
319434
@@ -324,6 +439,12 @@ const (
324439
325440 type FontWeight int
326441
442+var xFontWeightGLibType func() types.GType
443+
444+func FontWeightGLibType() types.GType {
445+ return xFontWeightGLibType()
446+}
447+
327448 const (
328449 FontWeightNormalValue FontWeight = 0
329450
@@ -332,6 +453,12 @@ const (
332453
333454 type SubpixelOrder int
334455
456+var xSubpixelOrderGLibType func() types.GType
457+
458+func SubpixelOrderGLibType() types.GType {
459+ return xSubpixelOrderGLibType()
460+}
461+
335462 const (
336463 SubpixelOrderDefaultValue SubpixelOrder = 0
337464
@@ -346,6 +473,12 @@ const (
346473
347474 type HintStyle int
348475
476+var xHintStyleGLibType func() types.GType
477+
478+func HintStyleGLibType() types.GType {
479+ return xHintStyleGLibType()
480+}
481+
349482 const (
350483 HintStyleDefaultValue HintStyle = 0
351484
@@ -360,6 +493,12 @@ const (
360493
361494 type HintMetrics int
362495
496+var xHintMetricsGLibType func() types.GType
497+
498+func HintMetricsGLibType() types.GType {
499+ return xHintMetricsGLibType()
500+}
501+
363502 const (
364503 HintMetricsDefaultValue HintMetrics = 0
365504
@@ -370,6 +509,12 @@ const (
370509
371510 type FontType int
372511
512+var xFontTypeGLibType func() types.GType
513+
514+func FontTypeGLibType() types.GType {
515+ return xFontTypeGLibType()
516+}
517+
373518 const (
374519 FontTypeToyValue FontType = 0
375520
@@ -384,6 +529,12 @@ const (
384529
385530 type PathDataType int
386531
532+var xPathDataTypeGLibType func() types.GType
533+
534+func PathDataTypeGLibType() types.GType {
535+ return xPathDataTypeGLibType()
536+}
537+
387538 const (
388539 PathMoveToValue PathDataType = 0
389540
@@ -396,6 +547,12 @@ const (
396547
397548 type DeviceType int
398549
550+var xDeviceTypeGLibType func() types.GType
551+
552+func DeviceTypeGLibType() types.GType {
553+ return xDeviceTypeGLibType()
554+}
555+
399556 const (
400557 DeviceTypeDrmValue DeviceType = 0
401558
@@ -418,6 +575,12 @@ const (
418575
419576 type SurfaceType int
420577
578+var xSurfaceTypeGLibType func() types.GType
579+
580+func SurfaceTypeGLibType() types.GType {
581+ return xSurfaceTypeGLibType()
582+}
583+
421584 const (
422585 SurfaceTypeImageValue SurfaceType = 0
423586
@@ -472,6 +635,12 @@ const (
472635
473636 type Format int
474637
638+var xFormatGLibType func() types.GType
639+
640+func FormatGLibType() types.GType {
641+ return xFormatGLibType()
642+}
643+
475644 const (
476645 FormatInvalidValue Format = -1
477646
@@ -490,6 +659,12 @@ const (
490659
491660 type PatternType int
492661
662+var xPatternTypeGLibType func() types.GType
663+
664+func PatternTypeGLibType() types.GType {
665+ return xPatternTypeGLibType()
666+}
667+
493668 const (
494669 PatternTypeSolidValue PatternType = 0
495670
@@ -506,6 +681,12 @@ const (
506681
507682 type Extend int
508683
684+var xExtendGLibType func() types.GType
685+
686+func ExtendGLibType() types.GType {
687+ return xExtendGLibType()
688+}
689+
509690 const (
510691 ExtendNoneValue Extend = 0
511692
@@ -518,6 +699,12 @@ const (
518699
519700 type Filter int
520701
702+var xFilterGLibType func() types.GType
703+
704+func FilterGLibType() types.GType {
705+ return xFilterGLibType()
706+}
707+
521708 const (
522709 FilterFastValue Filter = 0
523710
@@ -534,6 +721,12 @@ const (
534721
535722 type RegionOverlap int
536723
724+var xRegionOverlapGLibType func() types.GType
725+
726+func RegionOverlapGLibType() types.GType {
727+ return xRegionOverlapGLibType()
728+}
729+
537730 const (
538731 RegionOverlapInValue RegionOverlap = 0
539732
@@ -555,6 +748,71 @@ func init() {
555748 if err != nil {
556749 panic(err)
557750 }
751+
752+ core.PuregoSafeRegister(&xStatusGLibType, lib, "cairo_gobject_status_get_type")
753+
754+ core.PuregoSafeRegister(&xContentGLibType, lib, "cairo_gobject_content_get_type")
755+
756+ core.PuregoSafeRegister(&xOperatorGLibType, lib, "cairo_gobject_operator_get_type")
757+
758+ core.PuregoSafeRegister(&xAntialiasGLibType, lib, "cairo_gobject_antialias_get_type")
759+
760+ core.PuregoSafeRegister(&xFillRuleGLibType, lib, "cairo_gobject_fill_rule_get_type")
761+
762+ core.PuregoSafeRegister(&xLineCapGLibType, lib, "cairo_gobject_line_cap_get_type")
763+
764+ core.PuregoSafeRegister(&xLineJoinGLibType, lib, "cairo_gobject_line_join_get_type")
765+
766+ core.PuregoSafeRegister(&xTextClusterFlagsGLibType, lib, "cairo_gobject_text_cluster_flags_get_type")
767+
768+ core.PuregoSafeRegister(&xFontSlantGLibType, lib, "cairo_gobject_font_slant_get_type")
769+
770+ core.PuregoSafeRegister(&xFontWeightGLibType, lib, "cairo_gobject_font_weight_get_type")
771+
772+ core.PuregoSafeRegister(&xSubpixelOrderGLibType, lib, "cairo_gobject_subpixel_order_get_type")
773+
774+ core.PuregoSafeRegister(&xHintStyleGLibType, lib, "cairo_gobject_hint_style_get_type")
775+
776+ core.PuregoSafeRegister(&xHintMetricsGLibType, lib, "cairo_gobject_hint_metrics_get_type")
777+
778+ core.PuregoSafeRegister(&xFontTypeGLibType, lib, "cairo_gobject_font_type_get_type")
779+
780+ core.PuregoSafeRegister(&xPathDataTypeGLibType, lib, "cairo_gobject_path_data_type_get_type")
781+
782+ core.PuregoSafeRegister(&xDeviceTypeGLibType, lib, "cairo_gobject_device_type_get_type")
783+
784+ core.PuregoSafeRegister(&xSurfaceTypeGLibType, lib, "cairo_gobject_surface_type_get_type")
785+
786+ core.PuregoSafeRegister(&xFormatGLibType, lib, "cairo_gobject_format_get_type")
787+
788+ core.PuregoSafeRegister(&xPatternTypeGLibType, lib, "cairo_gobject_pattern_type_get_type")
789+
790+ core.PuregoSafeRegister(&xExtendGLibType, lib, "cairo_gobject_extend_get_type")
791+
792+ core.PuregoSafeRegister(&xFilterGLibType, lib, "cairo_gobject_filter_get_type")
793+
794+ core.PuregoSafeRegister(&xRegionOverlapGLibType, lib, "cairo_gobject_region_overlap_get_type")
795+
558796 core.PuregoSafeRegister(&xImageSurfaceCreate, lib, "cairo_image_surface_create")
559797
798+ core.PuregoSafeRegister(&xContextGLibType, lib, "cairo_gobject_context_get_type")
799+
800+ core.PuregoSafeRegister(&xDeviceGLibType, lib, "cairo_gobject_device_get_type")
801+
802+ core.PuregoSafeRegister(&xSurfaceGLibType, lib, "cairo_gobject_surface_get_type")
803+
804+ core.PuregoSafeRegister(&xPatternGLibType, lib, "cairo_gobject_pattern_get_type")
805+
806+ core.PuregoSafeRegister(&xRegionGLibType, lib, "cairo_gobject_region_get_type")
807+
808+ core.PuregoSafeRegister(&xFontOptionsGLibType, lib, "cairo_gobject_font_options_get_type")
809+
810+ core.PuregoSafeRegister(&xFontFaceGLibType, lib, "cairo_gobject_font_face_get_type")
811+
812+ core.PuregoSafeRegister(&xScaledFontGLibType, lib, "cairo_gobject_scaled_font_get_type")
813+
814+ core.PuregoSafeRegister(&xRectangleGLibType, lib, "cairo_gobject_rectangle_get_type")
815+
816+ core.PuregoSafeRegister(&xRectangleIntGLibType, lib, "cairo_gobject_rectangle_int_get_type")
817+
560818 }
M v4/gdk/gdkapplaunchcontext.go +9 -0
@@ -6,6 +6,7 @@ import (
66 "github.com/jwijenbergh/puregotk/internal/core"
77 "github.com/jwijenbergh/puregotk/v4/gio"
88 "github.com/jwijenbergh/puregotk/v4/gobject"
9+ "github.com/jwijenbergh/puregotk/v4/gobject/types"
910 )
1011
1112 // `GdkAppLaunchContext` handles launching an application in a graphical context.
@@ -32,6 +33,12 @@ type AppLaunchContext struct {
3233 gio.AppLaunchContext
3334 }
3435
36+var xAppLaunchContextGLibType func() types.GType
37+
38+func AppLaunchContextGLibType() types.GType {
39+ return xAppLaunchContextGLibType()
40+}
41+
3542 func AppLaunchContextNewFromInternalPtr(ptr uintptr) *AppLaunchContext {
3643 cls := &AppLaunchContext{}
3744 cls.Ptr = ptr
@@ -139,6 +146,8 @@ func init() {
139146 panic(err)
140147 }
141148
149+ core.PuregoSafeRegister(&xAppLaunchContextGLibType, lib, "gdk_app_launch_context_get_type")
150+
142151 core.PuregoSafeRegister(&xAppLaunchContextGetDisplay, lib, "gdk_app_launch_context_get_display")
143152 core.PuregoSafeRegister(&xAppLaunchContextSetDesktop, lib, "gdk_app_launch_context_set_desktop")
144153 core.PuregoSafeRegister(&xAppLaunchContextSetIcon, lib, "gdk_app_launch_context_set_icon")
M v4/gdk/gdkcairo.go +1 -0
@@ -91,6 +91,7 @@ func init() {
9191 if err != nil {
9292 panic(err)
9393 }
94+
9495 core.PuregoSafeRegister(&xCairoDrawFromGl, lib, "gdk_cairo_draw_from_gl")
9596 core.PuregoSafeRegister(&xCairoRectangle, lib, "gdk_cairo_rectangle")
9697 core.PuregoSafeRegister(&xCairoRegion, lib, "gdk_cairo_region")
M v4/gdk/gdkcairocontext.go +9 -0
@@ -5,6 +5,7 @@ import (
55 "github.com/jwijenbergh/purego"
66 "github.com/jwijenbergh/puregotk/internal/core"
77 "github.com/jwijenbergh/puregotk/v4/cairo"
8+ "github.com/jwijenbergh/puregotk/v4/gobject/types"
89 )
910
1011 // `GdkCairoContext` is an object representing the platform-specific
@@ -17,6 +18,12 @@ type CairoContext struct {
1718 DrawContext
1819 }
1920
21+var xCairoContextGLibType func() types.GType
22+
23+func CairoContextGLibType() types.GType {
24+ return xCairoContextGLibType()
25+}
26+
2027 func CairoContextNewFromInternalPtr(ptr uintptr) *CairoContext {
2128 cls := &CairoContext{}
2229 cls.Ptr = ptr
@@ -53,6 +60,8 @@ func init() {
5360 panic(err)
5461 }
5562
63+ core.PuregoSafeRegister(&xCairoContextGLibType, lib, "gdk_cairo_context_get_type")
64+
5665 core.PuregoSafeRegister(&xCairoContextCairoCreate, lib, "gdk_cairo_context_cairo_create")
5766
5867 }
M v4/gdk/gdkclipboard.go +8 -0
@@ -33,6 +33,12 @@ type Clipboard struct {
3333 gobject.Object
3434 }
3535
36+var xClipboardGLibType func() types.GType
37+
38+func ClipboardGLibType() types.GType {
39+ return xClipboardGLibType()
40+}
41+
3642 func ClipboardNewFromInternalPtr(ptr uintptr) *Clipboard {
3743 cls := &Clipboard{}
3844 cls.Ptr = ptr
@@ -389,6 +395,8 @@ func init() {
389395 panic(err)
390396 }
391397
398+ core.PuregoSafeRegister(&xClipboardGLibType, lib, "gdk_clipboard_get_type")
399+
392400 core.PuregoSafeRegister(&xClipboardGetContent, lib, "gdk_clipboard_get_content")
393401 core.PuregoSafeRegister(&xClipboardGetDisplay, lib, "gdk_clipboard_get_display")
394402 core.PuregoSafeRegister(&xClipboardGetFormats, lib, "gdk_clipboard_get_formats")
M v4/gdk/gdkcontentdeserializer.go +9 -0
@@ -70,6 +70,12 @@ type ContentDeserializer struct {
7070 gobject.Object
7171 }
7272
73+var xContentDeserializerGLibType func() types.GType
74+
75+func ContentDeserializerGLibType() types.GType {
76+ return xContentDeserializerGLibType()
77+}
78+
7379 func ContentDeserializerNewFromInternalPtr(ptr uintptr) *ContentDeserializer {
7480 cls := &ContentDeserializer{}
7581 cls.Ptr = ptr
@@ -257,10 +263,13 @@ func init() {
257263 if err != nil {
258264 panic(err)
259265 }
266+
260267 core.PuregoSafeRegister(&xContentDeserializeAsync, lib, "gdk_content_deserialize_async")
261268 core.PuregoSafeRegister(&xContentDeserializeFinish, lib, "gdk_content_deserialize_finish")
262269 core.PuregoSafeRegister(&xContentRegisterDeserializer, lib, "gdk_content_register_deserializer")
263270
271+ core.PuregoSafeRegister(&xContentDeserializerGLibType, lib, "gdk_content_deserializer_get_type")
272+
264273 core.PuregoSafeRegister(&xContentDeserializerGetCancellable, lib, "gdk_content_deserializer_get_cancellable")
265274 core.PuregoSafeRegister(&xContentDeserializerGetGtype, lib, "gdk_content_deserializer_get_gtype")
266275 core.PuregoSafeRegister(&xContentDeserializerGetInputStream, lib, "gdk_content_deserializer_get_input_stream")
M v4/gdk/gdkcontentformats.go +17 -0
@@ -15,6 +15,12 @@ import (
1515 type ContentFormatsBuilder struct {
1616 }
1717
18+var xContentFormatsBuilderGLibType func() types.GType
19+
20+func ContentFormatsBuilderGLibType() types.GType {
21+ return xContentFormatsBuilderGLibType()
22+}
23+
1824 func (x *ContentFormatsBuilder) GoPointer() uintptr {
1925 return uintptr(unsafe.Pointer(x))
2026 }
@@ -109,6 +115,12 @@ func (x *ContentFormatsBuilder) Unref() {
109115 type FileList struct {
110116 }
111117
118+var xFileListGLibType func() types.GType
119+
120+func FileListGLibType() types.GType {
121+ return xFileListGLibType()
122+}
123+
112124 func (x *FileList) GoPointer() uintptr {
113125 return uintptr(unsafe.Pointer(x))
114126 }
@@ -180,9 +192,12 @@ func init() {
180192 if err != nil {
181193 panic(err)
182194 }
195+
183196 core.PuregoSafeRegister(&xContentFormatsParse, lib, "gdk_content_formats_parse")
184197 core.PuregoSafeRegister(&xInternMimeType, lib, "gdk_intern_mime_type")
185198
199+ core.PuregoSafeRegister(&xContentFormatsBuilderGLibType, lib, "gdk_content_formats_builder_get_type")
200+
186201 core.PuregoSafeRegister(&xNewContentFormatsBuilder, lib, "gdk_content_formats_builder_new")
187202
188203 core.PuregoSafeRegister(&xContentFormatsBuilderAddFormats, lib, "gdk_content_formats_builder_add_formats")
@@ -193,6 +208,8 @@ func init() {
193208 core.PuregoSafeRegister(&xContentFormatsBuilderToFormats, lib, "gdk_content_formats_builder_to_formats")
194209 core.PuregoSafeRegister(&xContentFormatsBuilderUnref, lib, "gdk_content_formats_builder_unref")
195210
211+ core.PuregoSafeRegister(&xFileListGLibType, lib, "gdk_file_list_get_type")
212+
196213 core.PuregoSafeRegister(&xNewFileListFromArray, lib, "gdk_file_list_new_from_array")
197214 core.PuregoSafeRegister(&xNewFileListFromList, lib, "gdk_file_list_new_from_list")
198215
M v4/gdk/gdkcontentprovider.go +8 -0
@@ -36,6 +36,12 @@ type ContentProvider struct {
3636 gobject.Object
3737 }
3838
39+var xContentProviderGLibType func() types.GType
40+
41+func ContentProviderGLibType() types.GType {
42+ return xContentProviderGLibType()
43+}
44+
3945 func ContentProviderNewFromInternalPtr(ptr uintptr) *ContentProvider {
4046 cls := &ContentProvider{}
4147 cls.Ptr = ptr
@@ -249,6 +255,8 @@ func init() {
249255 panic(err)
250256 }
251257
258+ core.PuregoSafeRegister(&xContentProviderGLibType, lib, "gdk_content_provider_get_type")
259+
252260 core.PuregoSafeRegister(&xNewContentProviderForBytes, lib, "gdk_content_provider_new_for_bytes")
253261 core.PuregoSafeRegister(&xNewContentProviderForValue, lib, "gdk_content_provider_new_for_value")
254262 core.PuregoSafeRegister(&xNewContentProviderTyped, lib, "gdk_content_provider_new_typed")
M v4/gdk/gdkcontentserializer.go +9 -0
@@ -71,6 +71,12 @@ type ContentSerializer struct {
7171 gobject.Object
7272 }
7373
74+var xContentSerializerGLibType func() types.GType
75+
76+func ContentSerializerGLibType() types.GType {
77+ return xContentSerializerGLibType()
78+}
79+
7480 func ContentSerializerNewFromInternalPtr(ptr uintptr) *ContentSerializer {
7581 cls := &ContentSerializer{}
7682 cls.Ptr = ptr
@@ -258,10 +264,13 @@ func init() {
258264 if err != nil {
259265 panic(err)
260266 }
267+
261268 core.PuregoSafeRegister(&xContentRegisterSerializer, lib, "gdk_content_register_serializer")
262269 core.PuregoSafeRegister(&xContentSerializeAsync, lib, "gdk_content_serialize_async")
263270 core.PuregoSafeRegister(&xContentSerializeFinish, lib, "gdk_content_serialize_finish")
264271
272+ core.PuregoSafeRegister(&xContentSerializerGLibType, lib, "gdk_content_serializer_get_type")
273+
265274 core.PuregoSafeRegister(&xContentSerializerGetCancellable, lib, "gdk_content_serializer_get_cancellable")
266275 core.PuregoSafeRegister(&xContentSerializerGetGtype, lib, "gdk_content_serializer_get_gtype")
267276 core.PuregoSafeRegister(&xContentSerializerGetMimeType, lib, "gdk_content_serializer_get_mime_type")
M v4/gdk/gdkcursor.go +9 -0
@@ -5,6 +5,7 @@ import (
55 "github.com/jwijenbergh/purego"
66 "github.com/jwijenbergh/puregotk/internal/core"
77 "github.com/jwijenbergh/puregotk/v4/gobject"
8+ "github.com/jwijenbergh/puregotk/v4/gobject/types"
89 )
910
1011 // `GdkCursor` is used to create and destroy cursors.
@@ -44,6 +45,12 @@ type Cursor struct {
4445 gobject.Object
4546 }
4647
48+var xCursorGLibType func() types.GType
49+
50+func CursorGLibType() types.GType {
51+ return xCursorGLibType()
52+}
53+
4754 func CursorNewFromInternalPtr(ptr uintptr) *Cursor {
4855 cls := &Cursor{}
4956 cls.Ptr = ptr
@@ -195,6 +202,8 @@ func init() {
195202 panic(err)
196203 }
197204
205+ core.PuregoSafeRegister(&xCursorGLibType, lib, "gdk_cursor_get_type")
206+
198207 core.PuregoSafeRegister(&xNewCursorFromName, lib, "gdk_cursor_new_from_name")
199208 core.PuregoSafeRegister(&xNewCursorFromTexture, lib, "gdk_cursor_new_from_texture")
200209
M v4/gdk/gdkdevice.go +17 -0
@@ -8,6 +8,7 @@ import (
88 "github.com/jwijenbergh/puregotk/internal/core"
99 "github.com/jwijenbergh/puregotk/v4/glib"
1010 "github.com/jwijenbergh/puregotk/v4/gobject"
11+ "github.com/jwijenbergh/puregotk/v4/gobject/types"
1112 "github.com/jwijenbergh/puregotk/v4/pango"
1213 )
1314
@@ -32,6 +33,12 @@ func (x *TimeCoord) GoPointer() uintptr {
3233 // An enumeration describing the type of an input device in general terms.
3334 type InputSource int
3435
36+var xInputSourceGLibType func() types.GType
37+
38+func InputSourceGLibType() types.GType {
39+ return xInputSourceGLibType()
40+}
41+
3542 const (
3643
3744 // the device is a mouse. (This will be reported for the core
@@ -63,6 +70,12 @@ type Device struct {
6370 gobject.Object
6471 }
6572
73+var xDeviceGLibType func() types.GType
74+
75+func DeviceGLibType() types.GType {
76+ return xDeviceGLibType()
77+}
78+
6679 func DeviceNewFromInternalPtr(ptr uintptr) *Device {
6780 cls := &Device{}
6881 cls.Ptr = ptr
@@ -373,6 +386,10 @@ func init() {
373386 panic(err)
374387 }
375388
389+ core.PuregoSafeRegister(&xInputSourceGLibType, lib, "gdk_input_source_get_type")
390+
391+ core.PuregoSafeRegister(&xDeviceGLibType, lib, "gdk_device_get_type")
392+
376393 core.PuregoSafeRegister(&xDeviceGetCapsLockState, lib, "gdk_device_get_caps_lock_state")
377394 core.PuregoSafeRegister(&xDeviceGetDeviceTool, lib, "gdk_device_get_device_tool")
378395 core.PuregoSafeRegister(&xDeviceGetDirection, lib, "gdk_device_get_direction")
M v4/gdk/gdkdevicepad.go +18 -0
@@ -6,6 +6,7 @@ import (
66
77 "github.com/jwijenbergh/purego"
88 "github.com/jwijenbergh/puregotk/internal/core"
9+ "github.com/jwijenbergh/puregotk/v4/gobject/types"
910 )
1011
1112 type DevicePadInterface struct {
@@ -40,6 +41,13 @@ type DevicePad interface {
4041 GetNFeatures(FeatureVar DevicePadFeature) int
4142 GetNGroups() int
4243 }
44+
45+var xDevicePadGLibType func() types.GType
46+
47+func DevicePadGLibType() types.GType {
48+ return xDevicePadGLibType()
49+}
50+
4351 type DevicePadBase struct {
4452 Ptr uintptr
4553 }
@@ -94,6 +102,12 @@ var XGdkDevicePadGetNGroups func(uintptr) int
94102 // A pad feature.
95103 type DevicePadFeature int
96104
105+var xDevicePadFeatureGLibType func() types.GType
106+
107+func DevicePadFeatureGLibType() types.GType {
108+ return xDevicePadFeatureGLibType()
109+}
110+
97111 const (
98112
99113 // a button
@@ -110,6 +124,10 @@ func init() {
110124 panic(err)
111125 }
112126
127+ core.PuregoSafeRegister(&xDevicePadFeatureGLibType, lib, "gdk_device_pad_feature_get_type")
128+
129+ core.PuregoSafeRegister(&xDevicePadGLibType, lib, "gdk_device_pad_get_type")
130+
113131 core.PuregoSafeRegister(&XGdkDevicePadGetFeatureGroup, lib, "gdk_device_pad_get_feature_group")
114132 core.PuregoSafeRegister(&XGdkDevicePadGetGroupNModes, lib, "gdk_device_pad_get_group_n_modes")
115133 core.PuregoSafeRegister(&XGdkDevicePadGetNFeatures, lib, "gdk_device_pad_get_n_features")
M v4/gdk/gdkdevicetool.go +17 -0
@@ -5,12 +5,19 @@ import (
55 "github.com/jwijenbergh/purego"
66 "github.com/jwijenbergh/puregotk/internal/core"
77 "github.com/jwijenbergh/puregotk/v4/gobject"
8+ "github.com/jwijenbergh/puregotk/v4/gobject/types"
89 )
910
1011 // Indicates the specific type of tool being used being a tablet. Such as an
1112 // airbrush, pencil, etc.
1213 type DeviceToolType int
1314
15+var xDeviceToolTypeGLibType func() types.GType
16+
17+func DeviceToolTypeGLibType() types.GType {
18+ return xDeviceToolTypeGLibType()
19+}
20+
1421 const (
1522
1623 // Tool is of an unknown type.
@@ -36,6 +43,12 @@ type DeviceTool struct {
3643 gobject.Object
3744 }
3845
46+var xDeviceToolGLibType func() types.GType
47+
48+func DeviceToolGLibType() types.GType {
49+ return xDeviceToolGLibType()
50+}
51+
3952 func DeviceToolNewFromInternalPtr(ptr uintptr) *DeviceTool {
4053 cls := &DeviceTool{}
4154 cls.Ptr = ptr
@@ -105,6 +118,10 @@ func init() {
105118 panic(err)
106119 }
107120
121+ core.PuregoSafeRegister(&xDeviceToolTypeGLibType, lib, "gdk_device_tool_type_get_type")
122+
123+ core.PuregoSafeRegister(&xDeviceToolGLibType, lib, "gdk_device_tool_get_type")
124+
108125 core.PuregoSafeRegister(&xDeviceToolGetAxes, lib, "gdk_device_tool_get_axes")
109126 core.PuregoSafeRegister(&xDeviceToolGetHardwareId, lib, "gdk_device_tool_get_hardware_id")
110127 core.PuregoSafeRegister(&xDeviceToolGetSerial, lib, "gdk_device_tool_get_serial")
M v4/gdk/gdkdisplay.go +9 -0
@@ -9,6 +9,7 @@ import (
99 "github.com/jwijenbergh/puregotk/v4/gio"
1010 "github.com/jwijenbergh/puregotk/v4/glib"
1111 "github.com/jwijenbergh/puregotk/v4/gobject"
12+ "github.com/jwijenbergh/puregotk/v4/gobject/types"
1213 )
1314
1415 // `GdkDisplay` objects are the GDK representation of a workstation.
@@ -29,6 +30,12 @@ type Display struct {
2930 gobject.Object
3031 }
3132
33+var xDisplayGLibType func() types.GType
34+
35+func DisplayGLibType() types.GType {
36+ return xDisplayGLibType()
37+}
38+
3239 func DisplayNewFromInternalPtr(ptr uintptr) *Display {
3340 cls := &Display{}
3441 cls.Ptr = ptr
@@ -621,6 +628,8 @@ func init() {
621628 panic(err)
622629 }
623630
631+ core.PuregoSafeRegister(&xDisplayGLibType, lib, "gdk_display_get_type")
632+
624633 core.PuregoSafeRegister(&xDisplayBeep, lib, "gdk_display_beep")
625634 core.PuregoSafeRegister(&xDisplayClose, lib, "gdk_display_close")
626635 core.PuregoSafeRegister(&xDisplayCreateGlContext, lib, "gdk_display_create_gl_context")
M v4/gdk/gdkdisplaymanager.go +10 -0
@@ -8,6 +8,7 @@ import (
88 "github.com/jwijenbergh/puregotk/internal/core"
99 "github.com/jwijenbergh/puregotk/v4/glib"
1010 "github.com/jwijenbergh/puregotk/v4/gobject"
11+ "github.com/jwijenbergh/puregotk/v4/gobject/types"
1112 )
1213
1314 var xSetAllowedBackends func(string)
@@ -103,6 +104,12 @@ type DisplayManager struct {
103104 gobject.Object
104105 }
105106
107+var xDisplayManagerGLibType func() types.GType
108+
109+func DisplayManagerGLibType() types.GType {
110+ return xDisplayManagerGLibType()
111+}
112+
106113 func DisplayManagerNewFromInternalPtr(ptr uintptr) *DisplayManager {
107114 cls := &DisplayManager{}
108115 cls.Ptr = ptr
@@ -219,8 +226,11 @@ func init() {
219226 if err != nil {
220227 panic(err)
221228 }
229+
222230 core.PuregoSafeRegister(&xSetAllowedBackends, lib, "gdk_set_allowed_backends")
223231
232+ core.PuregoSafeRegister(&xDisplayManagerGLibType, lib, "gdk_display_manager_get_type")
233+
224234 core.PuregoSafeRegister(&xDisplayManagerGetDefaultDisplay, lib, "gdk_display_manager_get_default_display")
225235 core.PuregoSafeRegister(&xDisplayManagerListDisplays, lib, "gdk_display_manager_list_displays")
226236 core.PuregoSafeRegister(&xDisplayManagerOpenDisplay, lib, "gdk_display_manager_open_display")
M v4/gdk/gdkdrag.go +18 -0
@@ -8,11 +8,18 @@ import (
88 "github.com/jwijenbergh/puregotk/internal/core"
99 "github.com/jwijenbergh/puregotk/v4/glib"
1010 "github.com/jwijenbergh/puregotk/v4/gobject"
11+ "github.com/jwijenbergh/puregotk/v4/gobject/types"
1112 )
1213
1314 // Used in `GdkDrag` to the reason of a cancelled DND operation.
1415 type DragCancelReason int
1516
17+var xDragCancelReasonGLibType func() types.GType
18+
19+func DragCancelReasonGLibType() types.GType {
20+ return xDragCancelReasonGLibType()
21+}
22+
1623 const (
1724
1825 // There is no suitable drop target.
@@ -50,6 +57,12 @@ type Drag struct {
5057 gobject.Object
5158 }
5259
60+var xDragGLibType func() types.GType
61+
62+func DragGLibType() types.GType {
63+ return xDragGLibType()
64+}
65+
5366 func DragNewFromInternalPtr(ptr uintptr) *Drag {
5467 cls := &Drag{}
5568 cls.Ptr = ptr
@@ -309,8 +322,13 @@ func init() {
309322 if err != nil {
310323 panic(err)
311324 }
325+
326+ core.PuregoSafeRegister(&xDragCancelReasonGLibType, lib, "gdk_drag_cancel_reason_get_type")
327+
312328 core.PuregoSafeRegister(&xDragActionIsUnique, lib, "gdk_drag_action_is_unique")
313329
330+ core.PuregoSafeRegister(&xDragGLibType, lib, "gdk_drag_get_type")
331+
314332 core.PuregoSafeRegister(&xDragDropDone, lib, "gdk_drag_drop_done")
315333 core.PuregoSafeRegister(&xDragGetActions, lib, "gdk_drag_get_actions")
316334 core.PuregoSafeRegister(&xDragGetContent, lib, "gdk_drag_get_content")
M v4/gdk/gdkdragsurface.go +10 -0
@@ -6,6 +6,7 @@ import (
66
77 "github.com/jwijenbergh/purego"
88 "github.com/jwijenbergh/puregotk/internal/core"
9+ "github.com/jwijenbergh/puregotk/v4/gobject/types"
910 )
1011
1112 // The `GdkDragSurfaceInterface` implementation is private to GDK.
@@ -22,6 +23,13 @@ type DragSurface interface {
2223 SetGoPointer(uintptr)
2324 Present(WidthVar int, HeightVar int) bool
2425 }
26+
27+var xDragSurfaceGLibType func() types.GType
28+
29+func DragSurfaceGLibType() types.GType {
30+ return xDragSurfaceGLibType()
31+}
32+
2533 type DragSurfaceBase struct {
2634 Ptr uintptr
2735 }
@@ -49,6 +57,8 @@ func init() {
4957 panic(err)
5058 }
5159
60+ core.PuregoSafeRegister(&xDragSurfaceGLibType, lib, "gdk_drag_surface_get_type")
61+
5262 core.PuregoSafeRegister(&XGdkDragSurfacePresent, lib, "gdk_drag_surface_present")
5363
5464 }
M v4/gdk/gdkdrawcontext.go +9 -0
@@ -6,6 +6,7 @@ import (
66 "github.com/jwijenbergh/puregotk/internal/core"
77 "github.com/jwijenbergh/puregotk/v4/cairo"
88 "github.com/jwijenbergh/puregotk/v4/gobject"
9+ "github.com/jwijenbergh/puregotk/v4/gobject/types"
910 )
1011
1112 // Base class for objects implementing different rendering methods.
@@ -21,6 +22,12 @@ type DrawContext struct {
2122 gobject.Object
2223 }
2324
25+var xDrawContextGLibType func() types.GType
26+
27+func DrawContextGLibType() types.GType {
28+ return xDrawContextGLibType()
29+}
30+
2431 func DrawContextNewFromInternalPtr(ptr uintptr) *DrawContext {
2532 cls := &DrawContext{}
2633 cls.Ptr = ptr
@@ -152,6 +159,8 @@ func init() {
152159 panic(err)
153160 }
154161
162+ core.PuregoSafeRegister(&xDrawContextGLibType, lib, "gdk_draw_context_get_type")
163+
155164 core.PuregoSafeRegister(&xDrawContextBeginFrame, lib, "gdk_draw_context_begin_frame")
156165 core.PuregoSafeRegister(&xDrawContextEndFrame, lib, "gdk_draw_context_end_frame")
157166 core.PuregoSafeRegister(&xDrawContextGetDisplay, lib, "gdk_draw_context_get_display")
M v4/gdk/gdkdrop.go +8 -0
@@ -28,6 +28,12 @@ type Drop struct {
2828 gobject.Object
2929 }
3030
31+var xDropGLibType func() types.GType
32+
33+func DropGLibType() types.GType {
34+ return xDropGLibType()
35+}
36+
3137 func DropNewFromInternalPtr(ptr uintptr) *Drop {
3238 cls := &Drop{}
3339 cls.Ptr = ptr
@@ -256,6 +262,8 @@ func init() {
256262 panic(err)
257263 }
258264
265+ core.PuregoSafeRegister(&xDropGLibType, lib, "gdk_drop_get_type")
266+
259267 core.PuregoSafeRegister(&xDropFinish, lib, "gdk_drop_finish")
260268 core.PuregoSafeRegister(&xDropGetActions, lib, "gdk_drop_get_actions")
261269 core.PuregoSafeRegister(&xDropGetDevice, lib, "gdk_drop_get_device")
M v4/gdk/gdkenums.go +50 -0
@@ -1,6 +1,8 @@
11 // Package gdk was automatically generated by github.com/jwijenbergh/puregotk DO NOT EDIT
22 package gdk
33
4+import "github.com/jwijenbergh/puregotk/v4/gobject/types"
5+
46 const (
57 // Defines all possible DND actions.
68 //
@@ -14,6 +16,12 @@ const (
1416 // Flags describing the current capabilities of a device/tool.
1517 type AxisFlags int
1618
19+var xAxisFlagsGLibType func() types.GType
20+
21+func AxisFlagsGLibType() types.GType {
22+ return xAxisFlagsGLibType()
23+}
24+
1725 const (
1826
1927 // X axis is present
@@ -44,6 +52,12 @@ const (
4452 // destination can and should do with the dropped data.
4553 type DragAction int
4654
55+var xDragActionGLibType func() types.GType
56+
57+func DragActionGLibType() types.GType {
58+ return xDragActionGLibType()
59+}
60+
4761 const (
4862
4963 // Copy the data.
@@ -70,6 +84,12 @@ const (
7084 // %GDK_MODIFIER_MASK to remove all private values.
7185 type ModifierType int
7286
87+var xModifierTypeGLibType func() types.GType
88+
89+func ModifierTypeGLibType() types.GType {
90+ return xModifierTypeGLibType()
91+}
92+
7393 const (
7494
7595 // the Shift key.
@@ -108,6 +128,12 @@ const (
108128 // X and Y are present as axes depends on the GDK backend.
109129 type AxisUse int
110130
131+var xAxisUseGLibType func() types.GType
132+
133+func AxisUseGLibType() types.GType {
134+ return xAxisUseGLibType()
135+}
136+
111137 const (
112138
113139 // the axis is ignored.
@@ -141,6 +167,12 @@ const (
141167 // Error enumeration for `GdkGLContext`.
142168 type GLError int
143169
170+var xGLErrorGLibType func() types.GType
171+
172+func GLErrorGLibType() types.GType {
173+ return xGLErrorGLibType()
174+}
175+
144176 const (
145177
146178 // OpenGL support is not available
@@ -158,6 +190,12 @@ const (
158190 // Defines the reference point of a surface and is used in `GdkPopupLayout`.
159191 type Gravity int
160192
193+var xGravityGLibType func() types.GType
194+
195+func GravityGLibType() types.GType {
196+ return xGravityGLibType()
197+}
198+
161199 const (
162200
163201 // the reference point is at the top left corner.
@@ -196,6 +234,12 @@ const (
196234 // for details).
197235 type MemoryFormat int
198236
237+var xMemoryFormatGLibType func() types.GType
238+
239+func MemoryFormatGLibType() types.GType {
240+ return xMemoryFormatGLibType()
241+}
242+
199243 const (
200244
201245 // 4 bytes; for blue, green, red, alpha.
@@ -255,6 +299,12 @@ const (
255299 // Error enumeration for `GdkVulkanContext`.
256300 type VulkanError int
257301
302+var xVulkanErrorGLibType func() types.GType
303+
304+func VulkanErrorGLibType() types.GType {
305+ return xVulkanErrorGLibType()
306+}
307+
258308 const (
259309
260310 // Vulkan is not supported on this backend or has not been
M v4/gdk/gdkevents.go +178 -0
@@ -7,6 +7,7 @@ import (
77 "github.com/jwijenbergh/purego"
88 "github.com/jwijenbergh/puregotk/internal/core"
99 "github.com/jwijenbergh/puregotk/v4/gobject"
10+ "github.com/jwijenbergh/puregotk/v4/gobject/types"
1011 )
1112
1213 // `GdkEventSequence` is an opaque type representing a sequence
@@ -14,6 +15,12 @@ import (
1415 type EventSequence struct {
1516 }
1617
18+var xEventSequenceGLibType func() types.GType
19+
20+func EventSequenceGLibType() types.GType {
21+ return xEventSequenceGLibType()
22+}
23+
1724 func (x *EventSequence) GoPointer() uintptr {
1825 return uintptr(unsafe.Pointer(x))
1926 }
@@ -41,6 +48,12 @@ const (
4148 // Specifies the crossing mode for enter and leave events.
4249 type CrossingMode int
4350
51+var xCrossingModeGLibType func() types.GType
52+
53+func CrossingModeGLibType() types.GType {
54+ return xCrossingModeGLibType()
55+}
56+
4457 const (
4558
4659 // crossing because of pointer motion.
@@ -71,6 +84,12 @@ const (
7184 // Specifies the type of the event.
7285 type EventType int
7386
87+var xEventTypeGLibType func() types.GType
88+
89+func EventTypeGLibType() types.GType {
90+ return xEventTypeGLibType()
91+}
92+
7493 const (
7594
7695 // the window manager has requested that the toplevel surface be
@@ -148,6 +167,12 @@ const (
148167 // `GdkKeyMatch` values are returned by [method@Gdk.KeyEvent.matches].
149168 type KeyMatch int
150169
170+var xKeyMatchGLibType func() types.GType
171+
172+func KeyMatchGLibType() types.GType {
173+ return xKeyMatchGLibType()
174+}
175+
151176 const (
152177
153178 // The key event does not match
@@ -165,6 +190,12 @@ const (
165190 // full details of crossing event generation.
166191 type NotifyType int
167192
193+var xNotifyTypeGLibType func() types.GType
194+
195+func NotifyTypeGLibType() types.GType {
196+ return xNotifyTypeGLibType()
197+}
198+
168199 const (
169200
170201 // the surface is entered from an ancestor or
@@ -191,6 +222,12 @@ const (
191222 // Specifies the direction for scroll events.
192223 type ScrollDirection int
193224
225+var xScrollDirectionGLibType func() types.GType
226+
227+func ScrollDirectionGLibType() types.GType {
228+ return xScrollDirectionGLibType()
229+}
230+
194231 const (
195232
196233 // the surface is scrolled up.
@@ -224,6 +261,12 @@ const (
224261 // scale factor and eventually a custom scale factor in your app).
225262 type ScrollUnit int
226263
264+var xScrollUnitGLibType func() types.GType
265+
266+func ScrollUnitGLibType() types.GType {
267+ return xScrollUnitGLibType()
268+}
269+
227270 const (
228271
229272 // The delta is in number of wheel clicks.
@@ -253,6 +296,12 @@ const (
253296 // progress of the gesture.
254297 type TouchpadGesturePhase int
255298
299+var xTouchpadGesturePhaseGLibType func() types.GType
300+
301+func TouchpadGesturePhaseGLibType() types.GType {
302+ return xTouchpadGesturePhaseGLibType()
303+}
304+
256305 const (
257306
258307 // The gesture has begun.
@@ -312,6 +361,12 @@ type ButtonEvent struct {
312361 Event
313362 }
314363
364+var xButtonEventGLibType func() types.GType
365+
366+func ButtonEventGLibType() types.GType {
367+ return xButtonEventGLibType()
368+}
369+
315370 func ButtonEventNewFromInternalPtr(ptr uintptr) *ButtonEvent {
316371 cls := &ButtonEvent{}
317372 cls.Ptr = ptr
@@ -340,6 +395,12 @@ type CrossingEvent struct {
340395 Event
341396 }
342397
398+var xCrossingEventGLibType func() types.GType
399+
400+func CrossingEventGLibType() types.GType {
401+ return xCrossingEventGLibType()
402+}
403+
343404 func CrossingEventNewFromInternalPtr(ptr uintptr) *CrossingEvent {
344405 cls := &CrossingEvent{}
345406 cls.Ptr = ptr
@@ -386,6 +447,12 @@ type DNDEvent struct {
386447 Event
387448 }
388449
450+var xDNDEventGLibType func() types.GType
451+
452+func DNDEventGLibType() types.GType {
453+ return xDNDEventGLibType()
454+}
455+
389456 func DNDEventNewFromInternalPtr(ptr uintptr) *DNDEvent {
390457 cls := &DNDEvent{}
391458 cls.Ptr = ptr
@@ -422,6 +489,12 @@ type DeleteEvent struct {
422489 Event
423490 }
424491
492+var xDeleteEventGLibType func() types.GType
493+
494+func DeleteEventGLibType() types.GType {
495+ return xDeleteEventGLibType()
496+}
497+
425498 func DeleteEventNewFromInternalPtr(ptr uintptr) *DeleteEvent {
426499 cls := &DeleteEvent{}
427500 cls.Ptr = ptr
@@ -446,6 +519,12 @@ type Event struct {
446519 Ptr uintptr
447520 }
448521
522+var xEventGLibType func() types.GType
523+
524+func EventGLibType() types.GType {
525+ return xEventGLibType()
526+}
527+
449528 func EventNewFromInternalPtr(ptr uintptr) *Event {
450529 cls := &Event{}
451530 cls.Ptr = ptr
@@ -745,6 +824,12 @@ type FocusEvent struct {
745824 Event
746825 }
747826
827+var xFocusEventGLibType func() types.GType
828+
829+func FocusEventGLibType() types.GType {
830+ return xFocusEventGLibType()
831+}
832+
748833 func FocusEventNewFromInternalPtr(ptr uintptr) *FocusEvent {
749834 cls := &FocusEvent{}
750835 cls.Ptr = ptr
@@ -774,6 +859,12 @@ type GrabBrokenEvent struct {
774859 Event
775860 }
776861
862+var xGrabBrokenEventGLibType func() types.GType
863+
864+func GrabBrokenEventGLibType() types.GType {
865+ return xGrabBrokenEventGLibType()
866+}
867+
777868 func GrabBrokenEventNewFromInternalPtr(ptr uintptr) *GrabBrokenEvent {
778869 cls := &GrabBrokenEvent{}
779870 cls.Ptr = ptr
@@ -819,6 +910,12 @@ type KeyEvent struct {
819910 Event
820911 }
821912
913+var xKeyEventGLibType func() types.GType
914+
915+func KeyEventGLibType() types.GType {
916+ return xKeyEventGLibType()
917+}
918+
822919 func KeyEventNewFromInternalPtr(ptr uintptr) *KeyEvent {
823920 cls := &KeyEvent{}
824921 cls.Ptr = ptr
@@ -920,6 +1017,12 @@ type MotionEvent struct {
9201017 Event
9211018 }
9221019
1020+var xMotionEventGLibType func() types.GType
1021+
1022+func MotionEventGLibType() types.GType {
1023+ return xMotionEventGLibType()
1024+}
1025+
9231026 func MotionEventNewFromInternalPtr(ptr uintptr) *MotionEvent {
9241027 cls := &MotionEvent{}
9251028 cls.Ptr = ptr
@@ -939,6 +1042,12 @@ type PadEvent struct {
9391042 Event
9401043 }
9411044
1045+var xPadEventGLibType func() types.GType
1046+
1047+func PadEventGLibType() types.GType {
1048+ return xPadEventGLibType()
1049+}
1050+
9421051 func PadEventNewFromInternalPtr(ptr uintptr) *PadEvent {
9431052 cls := &PadEvent{}
9441053 cls.Ptr = ptr
@@ -986,6 +1095,12 @@ type ProximityEvent struct {
9861095 Event
9871096 }
9881097
1098+var xProximityEventGLibType func() types.GType
1099+
1100+func ProximityEventGLibType() types.GType {
1101+ return xProximityEventGLibType()
1102+}
1103+
9891104 func ProximityEventNewFromInternalPtr(ptr uintptr) *ProximityEvent {
9901105 cls := &ProximityEvent{}
9911106 cls.Ptr = ptr
@@ -1005,6 +1120,12 @@ type ScrollEvent struct {
10051120 Event
10061121 }
10071122
1123+var xScrollEventGLibType func() types.GType
1124+
1125+func ScrollEventGLibType() types.GType {
1126+ return xScrollEventGLibType()
1127+}
1128+
10081129 func ScrollEventNewFromInternalPtr(ptr uintptr) *ScrollEvent {
10091130 cls := &ScrollEvent{}
10101131 cls.Ptr = ptr
@@ -1077,6 +1198,12 @@ type TouchEvent struct {
10771198 Event
10781199 }
10791200
1201+var xTouchEventGLibType func() types.GType
1202+
1203+func TouchEventGLibType() types.GType {
1204+ return xTouchEventGLibType()
1205+}
1206+
10801207 func TouchEventNewFromInternalPtr(ptr uintptr) *TouchEvent {
10811208 cls := &TouchEvent{}
10821209 cls.Ptr = ptr
@@ -1110,6 +1237,12 @@ type TouchpadEvent struct {
11101237 Event
11111238 }
11121239
1240+var xTouchpadEventGLibType func() types.GType
1241+
1242+func TouchpadEventGLibType() types.GType {
1243+ return xTouchpadEventGLibType()
1244+}
1245+
11131246 func TouchpadEventNewFromInternalPtr(ptr uintptr) *TouchpadEvent {
11141247 cls := &TouchpadEvent{}
11151248 cls.Ptr = ptr
@@ -1174,18 +1307,45 @@ func init() {
11741307 if err != nil {
11751308 panic(err)
11761309 }
1310+
1311+ core.PuregoSafeRegister(&xCrossingModeGLibType, lib, "gdk_crossing_mode_get_type")
1312+
1313+ core.PuregoSafeRegister(&xEventTypeGLibType, lib, "gdk_event_type_get_type")
1314+
1315+ core.PuregoSafeRegister(&xKeyMatchGLibType, lib, "gdk_key_match_get_type")
1316+
1317+ core.PuregoSafeRegister(&xNotifyTypeGLibType, lib, "gdk_notify_type_get_type")
1318+
1319+ core.PuregoSafeRegister(&xScrollDirectionGLibType, lib, "gdk_scroll_direction_get_type")
1320+
1321+ core.PuregoSafeRegister(&xScrollUnitGLibType, lib, "gdk_scroll_unit_get_type")
1322+
1323+ core.PuregoSafeRegister(&xTouchpadGesturePhaseGLibType, lib, "gdk_touchpad_gesture_phase_get_type")
1324+
11771325 core.PuregoSafeRegister(&xEventsGetAngle, lib, "gdk_events_get_angle")
11781326 core.PuregoSafeRegister(&xEventsGetCenter, lib, "gdk_events_get_center")
11791327 core.PuregoSafeRegister(&xEventsGetDistance, lib, "gdk_events_get_distance")
11801328
1329+ core.PuregoSafeRegister(&xEventSequenceGLibType, lib, "gdk_event_sequence_get_type")
1330+
1331+ core.PuregoSafeRegister(&xButtonEventGLibType, lib, "gdk_button_event_get_type")
1332+
11811333 core.PuregoSafeRegister(&xButtonEventGetButton, lib, "gdk_button_event_get_button")
11821334
1335+ core.PuregoSafeRegister(&xCrossingEventGLibType, lib, "gdk_crossing_event_get_type")
1336+
11831337 core.PuregoSafeRegister(&xCrossingEventGetDetail, lib, "gdk_crossing_event_get_detail")
11841338 core.PuregoSafeRegister(&xCrossingEventGetFocus, lib, "gdk_crossing_event_get_focus")
11851339 core.PuregoSafeRegister(&xCrossingEventGetMode, lib, "gdk_crossing_event_get_mode")
11861340
1341+ core.PuregoSafeRegister(&xDNDEventGLibType, lib, "gdk_dnd_event_get_type")
1342+
11871343 core.PuregoSafeRegister(&xDNDEventGetDrop, lib, "gdk_dnd_event_get_drop")
11881344
1345+ core.PuregoSafeRegister(&xDeleteEventGLibType, lib, "gdk_delete_event_get_type")
1346+
1347+ core.PuregoSafeRegister(&xEventGLibType, lib, "gdk_event_get_type")
1348+
11891349 core.PuregoSafeRegister(&xEventGetAngle, lib, "gdk_events_get_angle")
11901350 core.PuregoSafeRegister(&xEventGetCenter, lib, "gdk_events_get_center")
11911351 core.PuregoSafeRegister(&xEventGetDistance, lib, "gdk_events_get_distance")
@@ -1207,11 +1367,17 @@ func init() {
12071367 core.PuregoSafeRegister(&xEventTriggersContextMenu, lib, "gdk_event_triggers_context_menu")
12081368 core.PuregoSafeRegister(&xEventUnref, lib, "gdk_event_unref")
12091369
1370+ core.PuregoSafeRegister(&xFocusEventGLibType, lib, "gdk_focus_event_get_type")
1371+
12101372 core.PuregoSafeRegister(&xFocusEventGetIn, lib, "gdk_focus_event_get_in")
12111373
1374+ core.PuregoSafeRegister(&xGrabBrokenEventGLibType, lib, "gdk_grab_broken_event_get_type")
1375+
12121376 core.PuregoSafeRegister(&xGrabBrokenEventGetGrabSurface, lib, "gdk_grab_broken_event_get_grab_surface")
12131377 core.PuregoSafeRegister(&xGrabBrokenEventGetImplicit, lib, "gdk_grab_broken_event_get_implicit")
12141378
1379+ core.PuregoSafeRegister(&xKeyEventGLibType, lib, "gdk_key_event_get_type")
1380+
12151381 core.PuregoSafeRegister(&xKeyEventGetConsumedModifiers, lib, "gdk_key_event_get_consumed_modifiers")
12161382 core.PuregoSafeRegister(&xKeyEventGetKeycode, lib, "gdk_key_event_get_keycode")
12171383 core.PuregoSafeRegister(&xKeyEventGetKeyval, lib, "gdk_key_event_get_keyval")
@@ -1221,17 +1387,29 @@ func init() {
12211387 core.PuregoSafeRegister(&xKeyEventIsModifier, lib, "gdk_key_event_is_modifier")
12221388 core.PuregoSafeRegister(&xKeyEventMatches, lib, "gdk_key_event_matches")
12231389
1390+ core.PuregoSafeRegister(&xMotionEventGLibType, lib, "gdk_motion_event_get_type")
1391+
1392+ core.PuregoSafeRegister(&xPadEventGLibType, lib, "gdk_pad_event_get_type")
1393+
12241394 core.PuregoSafeRegister(&xPadEventGetAxisValue, lib, "gdk_pad_event_get_axis_value")
12251395 core.PuregoSafeRegister(&xPadEventGetButton, lib, "gdk_pad_event_get_button")
12261396 core.PuregoSafeRegister(&xPadEventGetGroupMode, lib, "gdk_pad_event_get_group_mode")
12271397
1398+ core.PuregoSafeRegister(&xProximityEventGLibType, lib, "gdk_proximity_event_get_type")
1399+
1400+ core.PuregoSafeRegister(&xScrollEventGLibType, lib, "gdk_scroll_event_get_type")
1401+
12281402 core.PuregoSafeRegister(&xScrollEventGetDeltas, lib, "gdk_scroll_event_get_deltas")
12291403 core.PuregoSafeRegister(&xScrollEventGetDirection, lib, "gdk_scroll_event_get_direction")
12301404 core.PuregoSafeRegister(&xScrollEventGetUnit, lib, "gdk_scroll_event_get_unit")
12311405 core.PuregoSafeRegister(&xScrollEventIsStop, lib, "gdk_scroll_event_is_stop")
12321406
1407+ core.PuregoSafeRegister(&xTouchEventGLibType, lib, "gdk_touch_event_get_type")
1408+
12331409 core.PuregoSafeRegister(&xTouchEventGetEmulatingPointer, lib, "gdk_touch_event_get_emulating_pointer")
12341410
1411+ core.PuregoSafeRegister(&xTouchpadEventGLibType, lib, "gdk_touchpad_event_get_type")
1412+
12351413 core.PuregoSafeRegister(&xTouchpadEventGetDeltas, lib, "gdk_touchpad_event_get_deltas")
12361414 core.PuregoSafeRegister(&xTouchpadEventGetGesturePhase, lib, "gdk_touchpad_event_get_gesture_phase")
12371415 core.PuregoSafeRegister(&xTouchpadEventGetNFingers, lib, "gdk_touchpad_event_get_n_fingers")
M v4/gdk/gdkframeclock.go +17 -0
@@ -8,6 +8,7 @@ import (
88 "github.com/jwijenbergh/puregotk/internal/core"
99 "github.com/jwijenbergh/puregotk/v4/glib"
1010 "github.com/jwijenbergh/puregotk/v4/gobject"
11+ "github.com/jwijenbergh/puregotk/v4/gobject/types"
1112 )
1213
1314 type FrameClockClass struct {
@@ -29,6 +30,12 @@ func (x *FrameClockPrivate) GoPointer() uintptr {
2930 // The elements of the enumeration correspond to the signals of `GdkFrameClock`.
3031 type FrameClockPhase int
3132
33+var xFrameClockPhaseGLibType func() types.GType
34+
35+func FrameClockPhaseGLibType() types.GType {
36+ return xFrameClockPhaseGLibType()
37+}
38+
3239 const (
3340
3441 // no phase
@@ -86,6 +93,12 @@ type FrameClock struct {
8693 gobject.Object
8794 }
8895
96+var xFrameClockGLibType func() types.GType
97+
98+func FrameClockGLibType() types.GType {
99+ return xFrameClockGLibType()
100+}
101+
89102 func FrameClockNewFromInternalPtr(ptr uintptr) *FrameClock {
90103 cls := &FrameClock{}
91104 cls.Ptr = ptr
@@ -404,6 +417,10 @@ func init() {
404417 panic(err)
405418 }
406419
420+ core.PuregoSafeRegister(&xFrameClockPhaseGLibType, lib, "gdk_frame_clock_phase_get_type")
421+
422+ core.PuregoSafeRegister(&xFrameClockGLibType, lib, "gdk_frame_clock_get_type")
423+
407424 core.PuregoSafeRegister(&xFrameClockBeginUpdating, lib, "gdk_frame_clock_begin_updating")
408425 core.PuregoSafeRegister(&xFrameClockEndUpdating, lib, "gdk_frame_clock_end_updating")
409426 core.PuregoSafeRegister(&xFrameClockGetCurrentTimings, lib, "gdk_frame_clock_get_current_timings")
M v4/gdk/gdkframetimings.go +9 -0
@@ -6,6 +6,7 @@ import (
66
77 "github.com/jwijenbergh/purego"
88 "github.com/jwijenbergh/puregotk/internal/core"
9+ "github.com/jwijenbergh/puregotk/v4/gobject/types"
910 )
1011
1112 // A `GdkFrameTimings` object holds timing information for a single frame
@@ -19,6 +20,12 @@ import (
1920 type FrameTimings struct {
2021 }
2122
23+var xFrameTimingsGLibType func() types.GType
24+
25+func FrameTimingsGLibType() types.GType {
26+ return xFrameTimingsGLibType()
27+}
28+
2229 func (x *FrameTimings) GoPointer() uintptr {
2330 return uintptr(unsafe.Pointer(x))
2431 }
@@ -136,6 +143,8 @@ func init() {
136143 panic(err)
137144 }
138145
146+ core.PuregoSafeRegister(&xFrameTimingsGLibType, lib, "gdk_frame_timings_get_type")
147+
139148 core.PuregoSafeRegister(&xFrameTimingsGetComplete, lib, "gdk_frame_timings_get_complete")
140149 core.PuregoSafeRegister(&xFrameTimingsGetFrameCounter, lib, "gdk_frame_timings_get_frame_counter")
141150 core.PuregoSafeRegister(&xFrameTimingsGetFrameTime, lib, "gdk_frame_timings_get_frame_time")
M v4/gdk/gdkglcontext.go +17 -0
@@ -6,11 +6,18 @@ import (
66 "github.com/jwijenbergh/puregotk/internal/core"
77 "github.com/jwijenbergh/puregotk/v4/glib"
88 "github.com/jwijenbergh/puregotk/v4/gobject"
9+ "github.com/jwijenbergh/puregotk/v4/gobject/types"
910 )
1011
1112 // The list of the different APIs that GdkGLContext can potentially support.
1213 type GLAPI int
1314
15+var xGLAPIGLibType func() types.GType
16+
17+func GLAPIGLibType() types.GType {
18+ return xGLAPIGLibType()
19+}
20+
1421 const (
1522
1623 // The OpenGL API
@@ -72,6 +79,12 @@ type GLContext struct {
7279 DrawContext
7380 }
7481
82+var xGLContextGLibType func() types.GType
83+
84+func GLContextGLibType() types.GType {
85+ return xGLContextGLibType()
86+}
87+
7588 func GLContextNewFromInternalPtr(ptr uintptr) *GLContext {
7689 cls := &GLContext{}
7790 cls.Ptr = ptr
@@ -408,6 +421,10 @@ func init() {
408421 panic(err)
409422 }
410423
424+ core.PuregoSafeRegister(&xGLAPIGLibType, lib, "gdk_gl_api_get_type")
425+
426+ core.PuregoSafeRegister(&xGLContextGLibType, lib, "gdk_gl_context_get_type")
427+
411428 core.PuregoSafeRegister(&xGLContextGetAllowedApis, lib, "gdk_gl_context_get_allowed_apis")
412429 core.PuregoSafeRegister(&xGLContextGetApi, lib, "gdk_gl_context_get_api")
413430 core.PuregoSafeRegister(&xGLContextGetDebugEnabled, lib, "gdk_gl_context_get_debug_enabled")
M v4/gdk/gdkgltexture.go +9 -0
@@ -8,6 +8,7 @@ import (
88 "github.com/jwijenbergh/puregotk/internal/core"
99 "github.com/jwijenbergh/puregotk/v4/gio"
1010 "github.com/jwijenbergh/puregotk/v4/glib"
11+ "github.com/jwijenbergh/puregotk/v4/gobject/types"
1112 )
1213
1314 type GLTextureClass struct {
@@ -22,6 +23,12 @@ type GLTexture struct {
2223 Texture
2324 }
2425
26+var xGLTextureGLibType func() types.GType
27+
28+func GLTextureGLibType() types.GType {
29+ return xGLTextureGLibType()
30+}
31+
2532 func GLTextureNewFromInternalPtr(ptr uintptr) *GLTexture {
2633 cls := &GLTexture{}
2734 cls.Ptr = ptr
@@ -307,6 +314,8 @@ func init() {
307314 panic(err)
308315 }
309316
317+ core.PuregoSafeRegister(&xGLTextureGLibType, lib, "gdk_gl_texture_get_type")
318+
310319 core.PuregoSafeRegister(&xNewGLTexture, lib, "gdk_gl_texture_new")
311320
312321 core.PuregoSafeRegister(&xGLTextureRelease, lib, "gdk_gl_texture_release")
M v4/gdk/gdkkeys.go +1 -0
@@ -107,6 +107,7 @@ func init() {
107107 if err != nil {
108108 panic(err)
109109 }
110+
110111 core.PuregoSafeRegister(&xKeyvalConvertCase, lib, "gdk_keyval_convert_case")
111112 core.PuregoSafeRegister(&xKeyvalFromName, lib, "gdk_keyval_from_name")
112113 core.PuregoSafeRegister(&xKeyvalIsLower, lib, "gdk_keyval_is_lower")
M v4/gdk/gdkmemorytexture.go +9 -0
@@ -8,6 +8,7 @@ import (
88 "github.com/jwijenbergh/puregotk/internal/core"
99 "github.com/jwijenbergh/puregotk/v4/gio"
1010 "github.com/jwijenbergh/puregotk/v4/glib"
11+ "github.com/jwijenbergh/puregotk/v4/gobject/types"
1112 )
1213
1314 type MemoryTextureClass struct {
@@ -22,6 +23,12 @@ type MemoryTexture struct {
2223 Texture
2324 }
2425
26+var xMemoryTextureGLibType func() types.GType
27+
28+func MemoryTextureGLibType() types.GType {
29+ return xMemoryTextureGLibType()
30+}
31+
2532 func MemoryTextureNewFromInternalPtr(ptr uintptr) *MemoryTexture {
2633 cls := &MemoryTexture{}
2734 cls.Ptr = ptr
@@ -293,6 +300,8 @@ func init() {
293300 panic(err)
294301 }
295302
303+ core.PuregoSafeRegister(&xMemoryTextureGLibType, lib, "gdk_memory_texture_get_type")
304+
296305 core.PuregoSafeRegister(&xNewMemoryTexture, lib, "gdk_memory_texture_new")
297306
298307 }
M v4/gdk/gdkmonitor.go +17 -0
@@ -8,6 +8,7 @@ import (
88 "github.com/jwijenbergh/puregotk/internal/core"
99 "github.com/jwijenbergh/puregotk/v4/glib"
1010 "github.com/jwijenbergh/puregotk/v4/gobject"
11+ "github.com/jwijenbergh/puregotk/v4/gobject/types"
1112 )
1213
1314 type MonitorClass struct {
@@ -21,6 +22,12 @@ func (x *MonitorClass) GoPointer() uintptr {
2122 // of physical pixels on an output device are laid out.
2223 type SubpixelLayout int
2324
25+var xSubpixelLayoutGLibType func() types.GType
26+
27+func SubpixelLayoutGLibType() types.GType {
28+ return xSubpixelLayoutGLibType()
29+}
30+
2431 const (
2532
2633 // The layout is not known
@@ -48,6 +55,12 @@ type Monitor struct {
4855 gobject.Object
4956 }
5057
58+var xMonitorGLibType func() types.GType
59+
60+func MonitorGLibType() types.GType {
61+ return xMonitorGLibType()
62+}
63+
5164 func MonitorNewFromInternalPtr(ptr uintptr) *Monitor {
5265 cls := &Monitor{}
5366 cls.Ptr = ptr
@@ -221,6 +234,10 @@ func init() {
221234 panic(err)
222235 }
223236
237+ core.PuregoSafeRegister(&xSubpixelLayoutGLibType, lib, "gdk_subpixel_layout_get_type")
238+
239+ core.PuregoSafeRegister(&xMonitorGLibType, lib, "gdk_monitor_get_type")
240+
224241 core.PuregoSafeRegister(&xMonitorGetConnector, lib, "gdk_monitor_get_connector")
225242 core.PuregoSafeRegister(&xMonitorGetDisplay, lib, "gdk_monitor_get_display")
226243 core.PuregoSafeRegister(&xMonitorGetGeometry, lib, "gdk_monitor_get_geometry")
M v4/gdk/gdkpaintable.go +19 -0
@@ -6,6 +6,7 @@ import (
66
77 "github.com/jwijenbergh/purego"
88 "github.com/jwijenbergh/puregotk/internal/core"
9+ "github.com/jwijenbergh/puregotk/v4/gobject/types"
910 )
1011
1112 // The list of functions that can be implemented for the `GdkPaintable`
@@ -83,6 +84,13 @@ type Paintable interface {
8384 InvalidateSize()
8485 Snapshot(SnapshotVar *Snapshot, WidthVar float64, HeightVar float64)
8586 }
87+
88+var xPaintableGLibType func() types.GType
89+
90+func PaintableGLibType() types.GType {
91+ return xPaintableGLibType()
92+}
93+
8694 type PaintableBase struct {
8795 Ptr uintptr
8896 }
@@ -254,6 +262,12 @@ var XGdkPaintableSnapshot func(uintptr, uintptr, float64, float64)
254262 // Implementations use these for optimizations such as caching.
255263 type PaintableFlags int
256264
265+var xPaintableFlagsGLibType func() types.GType
266+
267+func PaintableFlagsGLibType() types.GType {
268+ return xPaintableFlagsGLibType()
269+}
270+
257271 const (
258272
259273 // The size is immutable.
@@ -292,8 +306,13 @@ func init() {
292306 if err != nil {
293307 panic(err)
294308 }
309+
310+ core.PuregoSafeRegister(&xPaintableFlagsGLibType, lib, "gdk_paintable_flags_get_type")
311+
295312 core.PuregoSafeRegister(&xPaintableNewEmpty, lib, "gdk_paintable_new_empty")
296313
314+ core.PuregoSafeRegister(&xPaintableGLibType, lib, "gdk_paintable_get_type")
315+
297316 core.PuregoSafeRegister(&XGdkPaintableComputeConcreteSize, lib, "gdk_paintable_compute_concrete_size")
298317 core.PuregoSafeRegister(&XGdkPaintableGetCurrentImage, lib, "gdk_paintable_get_current_image")
299318 core.PuregoSafeRegister(&XGdkPaintableGetFlags, lib, "gdk_paintable_get_flags")
M v4/gdk/gdkpango.go +1 -0
@@ -54,6 +54,7 @@ func init() {
5454 if err != nil {
5555 panic(err)
5656 }
57+
5758 core.PuregoSafeRegister(&xPangoLayoutGetClipRegion, lib, "gdk_pango_layout_get_clip_region")
5859 core.PuregoSafeRegister(&xPangoLayoutLineGetClipRegion, lib, "gdk_pango_layout_line_get_clip_region")
5960
M v4/gdk/gdkpixbuf.go +1 -0
@@ -55,6 +55,7 @@ func init() {
5555 if err != nil {
5656 panic(err)
5757 }
58+
5859 core.PuregoSafeRegister(&xPixbufGetFromSurface, lib, "gdk_pixbuf_get_from_surface")
5960 core.PuregoSafeRegister(&xPixbufGetFromTexture, lib, "gdk_pixbuf_get_from_texture")
6061
M v4/gdk/gdkpopup.go +10 -0
@@ -7,6 +7,7 @@ import (
77 "github.com/jwijenbergh/purego"
88 "github.com/jwijenbergh/puregotk/internal/core"
99 "github.com/jwijenbergh/puregotk/v4/gobject"
10+ "github.com/jwijenbergh/puregotk/v4/gobject/types"
1011 )
1112
1213 type PopupInterface struct {
@@ -34,6 +35,13 @@ type Popup interface {
3435 GetSurfaceAnchor() Gravity
3536 Present(WidthVar int, HeightVar int, LayoutVar *PopupLayout) bool
3637 }
38+
39+var xPopupGLibType func() types.GType
40+
41+func PopupGLibType() types.GType {
42+ return xPopupGLibType()
43+}
44+
3745 type PopupBase struct {
3846 Ptr uintptr
3947 }
@@ -137,6 +145,8 @@ func init() {
137145 panic(err)
138146 }
139147
148+ core.PuregoSafeRegister(&xPopupGLibType, lib, "gdk_popup_get_type")
149+
140150 core.PuregoSafeRegister(&XGdkPopupGetAutohide, lib, "gdk_popup_get_autohide")
141151 core.PuregoSafeRegister(&XGdkPopupGetParent, lib, "gdk_popup_get_parent")
142152 core.PuregoSafeRegister(&XGdkPopupGetPositionX, lib, "gdk_popup_get_position_x")
M v4/gdk/gdkpopuplayout.go +17 -0
@@ -6,6 +6,7 @@ import (
66
77 "github.com/jwijenbergh/purego"
88 "github.com/jwijenbergh/puregotk/internal/core"
9+ "github.com/jwijenbergh/puregotk/v4/gobject/types"
910 )
1011
1112 // The `GdkPopupLayout` struct contains information that is
@@ -44,6 +45,12 @@ import (
4445 type PopupLayout struct {
4546 }
4647
48+var xPopupLayoutGLibType func() types.GType
49+
50+func PopupLayoutGLibType() types.GType {
51+ return xPopupLayoutGLibType()
52+}
53+
4754 func (x *PopupLayout) GoPointer() uintptr {
4855 return uintptr(unsafe.Pointer(x))
4956 }
@@ -239,6 +246,12 @@ func (x *PopupLayout) Unref() {
239246 // sliding, which should take precedence over resizing.
240247 type AnchorHints int
241248
249+var xAnchorHintsGLibType func() types.GType
250+
251+func AnchorHintsGLibType() types.GType {
252+ return xAnchorHintsGLibType()
253+}
254+
242255 const (
243256
244257 // allow flipping anchors horizontally
@@ -267,6 +280,10 @@ func init() {
267280 panic(err)
268281 }
269282
283+ core.PuregoSafeRegister(&xAnchorHintsGLibType, lib, "gdk_anchor_hints_get_type")
284+
285+ core.PuregoSafeRegister(&xPopupLayoutGLibType, lib, "gdk_popup_layout_get_type")
286+
270287 core.PuregoSafeRegister(&xNewPopupLayout, lib, "gdk_popup_layout_new")
271288
272289 core.PuregoSafeRegister(&xPopupLayoutCopy, lib, "gdk_popup_layout_copy")
M v4/gdk/gdkrgba.go +9 -0
@@ -6,6 +6,7 @@ import (
66
77 "github.com/jwijenbergh/purego"
88 "github.com/jwijenbergh/puregotk/internal/core"
9+ "github.com/jwijenbergh/puregotk/v4/gobject/types"
910 )
1011
1112 // A `GdkRGBA` is used to represent a color, in a way that is compatible
@@ -27,6 +28,12 @@ type RGBA struct {
2728 Alpha float32
2829 }
2930
31+var xRGBAGLibType func() types.GType
32+
33+func RGBAGLibType() types.GType {
34+ return xRGBAGLibType()
35+}
36+
3037 func (x *RGBA) GoPointer() uintptr {
3138 return uintptr(unsafe.Pointer(x))
3239 }
@@ -146,6 +153,8 @@ func init() {
146153 panic(err)
147154 }
148155
156+ core.PuregoSafeRegister(&xRGBAGLibType, lib, "gdk_rgba_get_type")
157+
149158 core.PuregoSafeRegister(&xRGBACopy, lib, "gdk_rgba_copy")
150159 core.PuregoSafeRegister(&xRGBAEqual, lib, "gdk_rgba_equal")
151160 core.PuregoSafeRegister(&xRGBAFree, lib, "gdk_rgba_free")
M v4/gdk/gdkseat.go +17 -0
@@ -8,11 +8,18 @@ import (
88 "github.com/jwijenbergh/puregotk/internal/core"
99 "github.com/jwijenbergh/puregotk/v4/glib"
1010 "github.com/jwijenbergh/puregotk/v4/gobject"
11+ "github.com/jwijenbergh/puregotk/v4/gobject/types"
1112 )
1213
1314 // Flags describing the seat capabilities.
1415 type SeatCapabilities int
1516
17+var xSeatCapabilitiesGLibType func() types.GType
18+
19+func SeatCapabilitiesGLibType() types.GType {
20+ return xSeatCapabilitiesGLibType()
21+}
22+
1623 const (
1724
1825 // No input capabilities
@@ -39,6 +46,12 @@ type Seat struct {
3946 gobject.Object
4047 }
4148
49+var xSeatGLibType func() types.GType
50+
51+func SeatGLibType() types.GType {
52+ return xSeatGLibType()
53+}
54+
4255 func SeatNewFromInternalPtr(ptr uintptr) *Seat {
4356 cls := &Seat{}
4457 cls.Ptr = ptr
@@ -223,6 +236,10 @@ func init() {
223236 panic(err)
224237 }
225238
239+ core.PuregoSafeRegister(&xSeatCapabilitiesGLibType, lib, "gdk_seat_capabilities_get_type")
240+
241+ core.PuregoSafeRegister(&xSeatGLibType, lib, "gdk_seat_get_type")
242+
226243 core.PuregoSafeRegister(&xSeatGetCapabilities, lib, "gdk_seat_get_capabilities")
227244 core.PuregoSafeRegister(&xSeatGetDevices, lib, "gdk_seat_get_devices")
228245 core.PuregoSafeRegister(&xSeatGetDisplay, lib, "gdk_seat_get_display")
M v4/gdk/gdksnapshot.go +7 -0
@@ -5,6 +5,7 @@ import (
55 "unsafe"
66
77 "github.com/jwijenbergh/puregotk/v4/gobject"
8+ "github.com/jwijenbergh/puregotk/v4/gobject/types"
89 )
910
1011 type SnapshotClass struct {
@@ -21,6 +22,12 @@ type Snapshot struct {
2122 gobject.Object
2223 }
2324
25+var xSnapshotGLibType func() types.GType
26+
27+func SnapshotGLibType() types.GType {
28+ return xSnapshotGLibType()
29+}
30+
2431 func SnapshotNewFromInternalPtr(ptr uintptr) *Snapshot {
2532 cls := &Snapshot{}
2633 cls.Ptr = ptr
M v4/gdk/gdksurface.go +9 -0
@@ -9,6 +9,7 @@ import (
99 "github.com/jwijenbergh/puregotk/v4/cairo"
1010 "github.com/jwijenbergh/puregotk/v4/glib"
1111 "github.com/jwijenbergh/puregotk/v4/gobject"
12+ "github.com/jwijenbergh/puregotk/v4/gobject/types"
1213 )
1314
1415 type SurfaceClass struct {
@@ -31,6 +32,12 @@ type Surface struct {
3132 gobject.Object
3233 }
3334
35+var xSurfaceGLibType func() types.GType
36+
37+func SurfaceGLibType() types.GType {
38+ return xSurfaceGLibType()
39+}
40+
3441 func SurfaceNewFromInternalPtr(ptr uintptr) *Surface {
3542 cls := &Surface{}
3643 cls.Ptr = ptr
@@ -592,6 +599,8 @@ func init() {
592599 panic(err)
593600 }
594601
602+ core.PuregoSafeRegister(&xSurfaceGLibType, lib, "gdk_surface_get_type")
603+
595604 core.PuregoSafeRegister(&xNewSurfacePopup, lib, "gdk_surface_new_popup")
596605 core.PuregoSafeRegister(&xNewSurfaceToplevel, lib, "gdk_surface_new_toplevel")
597606
M v4/gdk/gdktexture.go +17 -0
@@ -10,6 +10,7 @@ import (
1010 "github.com/jwijenbergh/puregotk/v4/gio"
1111 "github.com/jwijenbergh/puregotk/v4/glib"
1212 "github.com/jwijenbergh/puregotk/v4/gobject"
13+ "github.com/jwijenbergh/puregotk/v4/gobject/types"
1314 )
1415
1516 type TextureClass struct {
@@ -22,6 +23,12 @@ func (x *TextureClass) GoPointer() uintptr {
2223 // Possible errors that can be returned by `GdkTexture` constructors.
2324 type TextureError int
2425
26+var xTextureErrorGLibType func() types.GType
27+
28+func TextureErrorGLibType() types.GType {
29+ return xTextureErrorGLibType()
30+}
31+
2532 const (
2633
2734 // Not enough memory to handle this image
@@ -53,6 +60,12 @@ type Texture struct {
5360 gobject.Object
5461 }
5562
63+var xTextureGLibType func() types.GType
64+
65+func TextureGLibType() types.GType {
66+ return xTextureGLibType()
67+}
68+
5669 func TextureNewFromInternalPtr(ptr uintptr) *Texture {
5770 cls := &Texture{}
5871 cls.Ptr = ptr
@@ -560,6 +573,10 @@ func init() {
560573 panic(err)
561574 }
562575
576+ core.PuregoSafeRegister(&xTextureErrorGLibType, lib, "gdk_texture_error_get_type")
577+
578+ core.PuregoSafeRegister(&xTextureGLibType, lib, "gdk_texture_get_type")
579+
563580 core.PuregoSafeRegister(&xNewTextureForPixbuf, lib, "gdk_texture_new_for_pixbuf")
564581 core.PuregoSafeRegister(&xNewTextureFromBytes, lib, "gdk_texture_new_from_bytes")
565582 core.PuregoSafeRegister(&xNewTextureFromFile, lib, "gdk_texture_new_from_file")
M v4/gdk/gdktoplevel.go +34 -0
@@ -7,6 +7,7 @@ import (
77 "github.com/jwijenbergh/purego"
88 "github.com/jwijenbergh/puregotk/internal/core"
99 "github.com/jwijenbergh/puregotk/v4/glib"
10+ "github.com/jwijenbergh/puregotk/v4/gobject/types"
1011 )
1112
1213 type ToplevelInterface struct {
@@ -44,6 +45,13 @@ type Toplevel interface {
4445 SupportsEdgeConstraints() bool
4546 TitlebarGesture(GestureVar TitlebarGesture) bool
4647 }
48+
49+var xToplevelGLibType func() types.GType
50+
51+func ToplevelGLibType() types.GType {
52+ return xToplevelGLibType()
53+}
54+
4755 type ToplevelBase struct {
4856 Ptr uintptr
4957 }
@@ -306,6 +314,12 @@ var XGdkToplevelTitlebarGesture func(uintptr, TitlebarGesture) bool
306314 // being set.
307315 type ToplevelState int
308316
317+var xToplevelStateGLibType func() types.GType
318+
319+func ToplevelStateGLibType() types.GType {
320+ return xToplevelStateGLibType()
321+}
322+
309323 const (
310324
311325 // the surface is minimized
@@ -345,6 +359,12 @@ const (
345359 // Indicates which monitor a surface should span over when in fullscreen mode.
346360 type FullscreenMode int
347361
362+var xFullscreenModeGLibType func() types.GType
363+
364+func FullscreenModeGLibType() types.GType {
365+ return xFullscreenModeGLibType()
366+}
367+
348368 const (
349369
350370 // Fullscreen on current monitor only.
@@ -356,6 +376,12 @@ const (
356376 // Determines a surface edge or corner.
357377 type SurfaceEdge int
358378
379+var xSurfaceEdgeGLibType func() types.GType
380+
381+func SurfaceEdgeGLibType() types.GType {
382+ return xSurfaceEdgeGLibType()
383+}
384+
359385 const (
360386
361387 // the top left corner.
@@ -382,6 +408,14 @@ func init() {
382408 panic(err)
383409 }
384410
411+ core.PuregoSafeRegister(&xToplevelStateGLibType, lib, "gdk_toplevel_state_get_type")
412+
413+ core.PuregoSafeRegister(&xFullscreenModeGLibType, lib, "gdk_fullscreen_mode_get_type")
414+
415+ core.PuregoSafeRegister(&xSurfaceEdgeGLibType, lib, "gdk_surface_edge_get_type")
416+
417+ core.PuregoSafeRegister(&xToplevelGLibType, lib, "gdk_toplevel_get_type")
418+
385419 core.PuregoSafeRegister(&XGdkToplevelBeginMove, lib, "gdk_toplevel_begin_move")
386420 core.PuregoSafeRegister(&XGdkToplevelBeginResize, lib, "gdk_toplevel_begin_resize")
387421 core.PuregoSafeRegister(&XGdkToplevelFocus, lib, "gdk_toplevel_focus")
M v4/gdk/gdktoplevellayout.go +9 -0
@@ -7,6 +7,7 @@ import (
77 "github.com/jwijenbergh/purego"
88 "github.com/jwijenbergh/puregotk/internal/core"
99 "github.com/jwijenbergh/puregotk/v4/gobject"
10+ "github.com/jwijenbergh/puregotk/v4/gobject/types"
1011 )
1112
1213 // The `GdkToplevelLayout` struct contains information that
@@ -21,6 +22,12 @@ import (
2122 type ToplevelLayout struct {
2223 }
2324
25+var xToplevelLayoutGLibType func() types.GType
26+
27+func ToplevelLayoutGLibType() types.GType {
28+ return xToplevelLayoutGLibType()
29+}
30+
2431 func (x *ToplevelLayout) GoPointer() uintptr {
2532 return uintptr(unsafe.Pointer(x))
2633 }
@@ -162,6 +169,8 @@ func init() {
162169 panic(err)
163170 }
164171
172+ core.PuregoSafeRegister(&xToplevelLayoutGLibType, lib, "gdk_toplevel_layout_get_type")
173+
165174 core.PuregoSafeRegister(&xNewToplevelLayout, lib, "gdk_toplevel_layout_new")
166175
167176 core.PuregoSafeRegister(&xToplevelLayoutCopy, lib, "gdk_toplevel_layout_copy")
M v4/gdk/gdktoplevelsize.go +1 -0
@@ -90,6 +90,7 @@ func init() {
9090 if err != nil {
9191 panic(err)
9292 }
93+
9394 core.PuregoSafeRegister(&xToplevelSizeGetType, lib, "gdk_toplevel_size_get_type")
9495
9596 core.PuregoSafeRegister(&xToplevelSizeGetBounds, lib, "gdk_toplevel_size_get_bounds")
M v4/gdk/gdktypes.go +16 -0
@@ -45,6 +45,12 @@ import (
4545 type ContentFormats struct {
4646 }
4747
48+var xContentFormatsGLibType func() types.GType
49+
50+func ContentFormatsGLibType() types.GType {
51+ return xContentFormatsGLibType()
52+}
53+
4854 func (x *ContentFormats) GoPointer() uintptr {
4955 return uintptr(unsafe.Pointer(x))
5056 }
@@ -280,6 +286,12 @@ type Rectangle struct {
280286 Height int
281287 }
282288
289+var xRectangleGLibType func() types.GType
290+
291+func RectangleGLibType() types.GType {
292+ return xRectangleGLibType()
293+}
294+
283295 func (x *Rectangle) GoPointer() uintptr {
284296 return uintptr(unsafe.Pointer(x))
285297 }
@@ -344,6 +356,8 @@ func init() {
344356 panic(err)
345357 }
346358
359+ core.PuregoSafeRegister(&xContentFormatsGLibType, lib, "gdk_content_formats_get_type")
360+
347361 core.PuregoSafeRegister(&xNewContentFormats, lib, "gdk_content_formats_new")
348362 core.PuregoSafeRegister(&xNewContentFormatsForGtype, lib, "gdk_content_formats_new_for_gtype")
349363
@@ -364,6 +378,8 @@ func init() {
364378 core.PuregoSafeRegister(&xContentFormatsUnionSerializeMimeTypes, lib, "gdk_content_formats_union_serialize_mime_types")
365379 core.PuregoSafeRegister(&xContentFormatsUnref, lib, "gdk_content_formats_unref")
366380
381+ core.PuregoSafeRegister(&xRectangleGLibType, lib, "gdk_rectangle_get_type")
382+
367383 core.PuregoSafeRegister(&xRectangleContainsPoint, lib, "gdk_rectangle_contains_point")
368384 core.PuregoSafeRegister(&xRectangleEqual, lib, "gdk_rectangle_equal")
369385 core.PuregoSafeRegister(&xRectangleIntersect, lib, "gdk_rectangle_intersect")
M v4/gdk/gdkvulkancontext.go +7 -0
@@ -8,6 +8,7 @@ import (
88 "github.com/jwijenbergh/puregotk/v4/gio"
99 "github.com/jwijenbergh/puregotk/v4/glib"
1010 "github.com/jwijenbergh/puregotk/v4/gobject"
11+ "github.com/jwijenbergh/puregotk/v4/gobject/types"
1112 )
1213
1314 // `GdkVulkanContext` is an object representing the platform-specific
@@ -23,6 +24,12 @@ type VulkanContext struct {
2324 DrawContext
2425 }
2526
27+var xVulkanContextGLibType func() types.GType
28+
29+func VulkanContextGLibType() types.GType {
30+ return xVulkanContextGLibType()
31+}
32+
2633 func VulkanContextNewFromInternalPtr(ptr uintptr) *VulkanContext {
2734 cls := &VulkanContext{}
2835 cls.Ptr = ptr
M v4/gdk/main.go +10 -0
@@ -5,10 +5,17 @@ import (
55 "github.com/jwijenbergh/purego"
66 "github.com/jwijenbergh/puregotk/internal/core"
77 "github.com/jwijenbergh/puregotk/v4/glib"
8+ "github.com/jwijenbergh/puregotk/v4/gobject/types"
89 )
910
1011 type TitlebarGesture int
1112
13+var xTitlebarGestureGLibType func() types.GType
14+
15+func TitlebarGestureGLibType() types.GType {
16+ return xTitlebarGestureGLibType()
17+}
18+
1219 const (
1320 TitlebarGestureDoubleClickValue TitlebarGesture = 1
1421
@@ -46,6 +53,9 @@ func init() {
4653 if err != nil {
4754 panic(err)
4855 }
56+
57+ core.PuregoSafeRegister(&xTitlebarGestureGLibType, lib, "gdk_titlebar_gesture_get_type")
58+
4959 core.PuregoSafeRegister(&xGlErrorQuark, lib, "gdk_gl_error_quark")
5060 core.PuregoSafeRegister(&xTextureErrorQuark, lib, "gdk_texture_error_quark")
5161 core.PuregoSafeRegister(&xVulkanErrorQuark, lib, "gdk_vulkan_error_quark")
M v4/gdkpixbuf/gdk-pixbuf-animation.go +17 -0
@@ -9,6 +9,7 @@ import (
99 "github.com/jwijenbergh/puregotk/v4/gio"
1010 "github.com/jwijenbergh/puregotk/v4/glib"
1111 "github.com/jwijenbergh/puregotk/v4/gobject"
12+ "github.com/jwijenbergh/puregotk/v4/gobject/types"
1213 )
1314
1415 // Modules supporting animations must derive a type from
@@ -50,6 +51,12 @@ type PixbufAnimation struct {
5051 gobject.Object
5152 }
5253
54+var xPixbufAnimationGLibType func() types.GType
55+
56+func PixbufAnimationGLibType() types.GType {
57+ return xPixbufAnimationGLibType()
58+}
59+
5360 func PixbufAnimationNewFromInternalPtr(ptr uintptr) *PixbufAnimation {
5461 cls := &PixbufAnimation{}
5562 cls.Ptr = ptr
@@ -325,6 +332,12 @@ type PixbufAnimationIter struct {
325332 gobject.Object
326333 }
327334
335+var xPixbufAnimationIterGLibType func() types.GType
336+
337+func PixbufAnimationIterGLibType() types.GType {
338+ return xPixbufAnimationIterGLibType()
339+}
340+
328341 func PixbufAnimationIterNewFromInternalPtr(ptr uintptr) *PixbufAnimationIter {
329342 cls := &PixbufAnimationIter{}
330343 cls.Ptr = ptr
@@ -436,6 +449,8 @@ func init() {
436449 panic(err)
437450 }
438451
452+ core.PuregoSafeRegister(&xPixbufAnimationGLibType, lib, "gdk_pixbuf_animation_get_type")
453+
439454 core.PuregoSafeRegister(&xNewPixbufAnimationFromFile, lib, "gdk_pixbuf_animation_new_from_file")
440455 core.PuregoSafeRegister(&xNewPixbufAnimationFromResource, lib, "gdk_pixbuf_animation_new_from_resource")
441456 core.PuregoSafeRegister(&xNewPixbufAnimationFromStream, lib, "gdk_pixbuf_animation_new_from_stream")
@@ -451,6 +466,8 @@ func init() {
451466
452467 core.PuregoSafeRegister(&xPixbufAnimationNewFromStreamAsync, lib, "gdk_pixbuf_animation_new_from_stream_async")
453468
469+ core.PuregoSafeRegister(&xPixbufAnimationIterGLibType, lib, "gdk_pixbuf_animation_iter_get_type")
470+
454471 core.PuregoSafeRegister(&xPixbufAnimationIterAdvance, lib, "gdk_pixbuf_animation_iter_advance")
455472 core.PuregoSafeRegister(&xPixbufAnimationIterGetDelayTime, lib, "gdk_pixbuf_animation_iter_get_delay_time")
456473 core.PuregoSafeRegister(&xPixbufAnimationIterGetPixbuf, lib, "gdk_pixbuf_animation_iter_get_pixbuf")
M v4/gdkpixbuf/gdk-pixbuf-core.go +22 -1
@@ -1,7 +1,10 @@
11 // Package gdkpixbuf was automatically generated by github.com/jwijenbergh/puregotk DO NOT EDIT
22 package gdkpixbuf
33
4-import "github.com/jwijenbergh/puregotk/v4/glib"
4+import (
5+ "github.com/jwijenbergh/puregotk/v4/glib"
6+ "github.com/jwijenbergh/puregotk/v4/gobject/types"
7+)
58
69 // A function of this type is responsible for freeing the pixel array
710 // of a pixbuf.
@@ -28,6 +31,12 @@ type PixbufSaveFunc func([]byte, uint, **glib.Error, uintptr) bool
2831 // Currently only RGB is supported.
2932 type Colorspace int
3033
34+var xColorspaceGLibType func() types.GType
35+
36+func ColorspaceGLibType() types.GType {
37+ return xColorspaceGLibType()
38+}
39+
3140 const (
3241
3342 // Indicates a red/green/blue additive color space.
@@ -48,6 +57,12 @@ const (
4857 // For now both cases fall back to a bilevel clipping mask.
4958 type PixbufAlphaMode int
5059
60+var xPixbufAlphaModeGLibType func() types.GType
61+
62+func PixbufAlphaModeGLibType() types.GType {
63+ return xPixbufAlphaModeGLibType()
64+}
65+
5166 const (
5267
5368 // A bilevel clipping mask (black and white)
@@ -66,6 +81,12 @@ const (
6681 // the `G_FILE_ERROR` domain.
6782 type PixbufError int
6883
84+var xPixbufErrorGLibType func() types.GType
85+
86+func PixbufErrorGLibType() types.GType {
87+ return xPixbufErrorGLibType()
88+}
89+
6990 const (
7091
7192 // An image file was broken somehow.
M v4/gdkpixbuf/gdk-pixbuf-io.go +9 -0
@@ -8,6 +8,7 @@ import (
88 "github.com/jwijenbergh/puregotk/internal/core"
99 "github.com/jwijenbergh/puregotk/v4/glib"
1010 "github.com/jwijenbergh/puregotk/v4/gmodule"
11+ "github.com/jwijenbergh/puregotk/v4/gobject/types"
1112 )
1213
1314 // Sets up the image loading state.
@@ -123,6 +124,12 @@ type PixbufFormat struct {
123124 License uintptr
124125 }
125126
127+var xPixbufFormatGLibType func() types.GType
128+
129+func PixbufFormatGLibType() types.GType {
130+ return xPixbufFormatGLibType()
131+}
132+
126133 func (x *PixbufFormat) GoPointer() uintptr {
127134 return uintptr(unsafe.Pointer(x))
128135 }
@@ -397,6 +404,8 @@ func init() {
397404 panic(err)
398405 }
399406
407+ core.PuregoSafeRegister(&xPixbufFormatGLibType, lib, "gdk_pixbuf_format_get_type")
408+
400409 core.PuregoSafeRegister(&xPixbufFormatCopy, lib, "gdk_pixbuf_format_copy")
401410 core.PuregoSafeRegister(&xPixbufFormatFree, lib, "gdk_pixbuf_format_free")
402411 core.PuregoSafeRegister(&xPixbufFormatGetDescription, lib, "gdk_pixbuf_format_get_description")
M v4/gdkpixbuf/gdk-pixbuf-loader.go +9 -0
@@ -8,6 +8,7 @@ import (
88 "github.com/jwijenbergh/puregotk/internal/core"
99 "github.com/jwijenbergh/puregotk/v4/glib"
1010 "github.com/jwijenbergh/puregotk/v4/gobject"
11+ "github.com/jwijenbergh/puregotk/v4/gobject/types"
1112 )
1213
1314 type PixbufLoaderClass struct {
@@ -67,6 +68,12 @@ type PixbufLoader struct {
6768 gobject.Object
6869 }
6970
71+var xPixbufLoaderGLibType func() types.GType
72+
73+func PixbufLoaderGLibType() types.GType {
74+ return xPixbufLoaderGLibType()
75+}
76+
7077 func PixbufLoaderNewFromInternalPtr(ptr uintptr) *PixbufLoader {
7178 cls := &PixbufLoader{}
7279 cls.Ptr = ptr
@@ -411,6 +418,8 @@ func init() {
411418 panic(err)
412419 }
413420
421+ core.PuregoSafeRegister(&xPixbufLoaderGLibType, lib, "gdk_pixbuf_loader_get_type")
422+
414423 core.PuregoSafeRegister(&xNewPixbufLoader, lib, "gdk_pixbuf_loader_new")
415424 core.PuregoSafeRegister(&xNewPixbufLoaderWithMimeType, lib, "gdk_pixbuf_loader_new_with_mime_type")
416425 core.PuregoSafeRegister(&xNewPixbufLoaderWithType, lib, "gdk_pixbuf_loader_new_with_type")
M v4/gdkpixbuf/gdk-pixbuf-simple-anim.go +9 -0
@@ -6,6 +6,7 @@ import (
66
77 "github.com/jwijenbergh/purego"
88 "github.com/jwijenbergh/puregotk/internal/core"
9+ "github.com/jwijenbergh/puregotk/v4/gobject/types"
910 )
1011
1112 type PixbufSimpleAnimClass struct {
@@ -20,6 +21,12 @@ type PixbufSimpleAnim struct {
2021 PixbufAnimation
2122 }
2223
24+var xPixbufSimpleAnimGLibType func() types.GType
25+
26+func PixbufSimpleAnimGLibType() types.GType {
27+ return xPixbufSimpleAnimGLibType()
28+}
29+
2330 func PixbufSimpleAnimNewFromInternalPtr(ptr uintptr) *PixbufSimpleAnim {
2431 cls := &PixbufSimpleAnim{}
2532 cls.Ptr = ptr
@@ -85,6 +92,8 @@ func init() {
8592 panic(err)
8693 }
8794
95+ core.PuregoSafeRegister(&xPixbufSimpleAnimGLibType, lib, "gdk_pixbuf_simple_anim_get_type")
96+
8897 core.PuregoSafeRegister(&xNewPixbufSimpleAnim, lib, "gdk_pixbuf_simple_anim_new")
8998
9099 core.PuregoSafeRegister(&xPixbufSimpleAnimAddFrame, lib, "gdk_pixbuf_simple_anim_add_frame")
M v4/gdkpixbuf/gdk-pixbuf-transform.go +14 -0
@@ -1,6 +1,8 @@
11 // Package gdkpixbuf was automatically generated by github.com/jwijenbergh/puregotk DO NOT EDIT
22 package gdkpixbuf
33
4+import "github.com/jwijenbergh/puregotk/v4/gobject/types"
5+
46 // Interpolation modes for scaling functions.
57 //
68 // The `GDK_INTERP_NEAREST` mode is the fastest scaling method, but has
@@ -12,6 +14,12 @@ package gdkpixbuf
1214 // interpolation is just as fast and results in higher quality.
1315 type InterpType int
1416
17+var xInterpTypeGLibType func() types.GType
18+
19+func InterpTypeGLibType() types.GType {
20+ return xInterpTypeGLibType()
21+}
22+
1523 const (
1624
1725 // Nearest neighbor sampling; this is the fastest
@@ -46,6 +54,12 @@ const (
4654 // To make them easier to use, their numerical values are the actual degrees.
4755 type PixbufRotation int
4856
57+var xPixbufRotationGLibType func() types.GType
58+
59+func PixbufRotationGLibType() types.GType {
60+ return xPixbufRotationGLibType()
61+}
62+
4963 const (
5064
5165 // No rotation.
M v4/gdkpixbuf/gdk-pixbuf.go +9 -0
@@ -7,6 +7,7 @@ import (
77 "github.com/jwijenbergh/puregotk/v4/gio"
88 "github.com/jwijenbergh/puregotk/v4/glib"
99 "github.com/jwijenbergh/puregotk/v4/gobject"
10+ "github.com/jwijenbergh/puregotk/v4/gobject/types"
1011 )
1112
1213 // A pixel buffer.
@@ -151,6 +152,12 @@ type Pixbuf struct {
151152 gobject.Object
152153 }
153154
155+var xPixbufGLibType func() types.GType
156+
157+func PixbufGLibType() types.GType {
158+ return xPixbufGLibType()
159+}
160+
154161 func PixbufNewFromInternalPtr(ptr uintptr) *Pixbuf {
155162 cls := &Pixbuf{}
156163 cls.Ptr = ptr
@@ -1570,6 +1577,8 @@ func init() {
15701577 panic(err)
15711578 }
15721579
1580+ core.PuregoSafeRegister(&xPixbufGLibType, lib, "gdk_pixbuf_get_type")
1581+
15731582 core.PuregoSafeRegister(&xNewPixbuf, lib, "gdk_pixbuf_new")
15741583 core.PuregoSafeRegister(&xNewPixbufFromBytes, lib, "gdk_pixbuf_new_from_bytes")
15751584 core.PuregoSafeRegister(&xNewPixbufFromData, lib, "gdk_pixbuf_new_from_data")
M v4/gdkpixbuf/main.go +18 -0
@@ -5,6 +5,7 @@ import (
55 "github.com/jwijenbergh/purego"
66 "github.com/jwijenbergh/puregotk/internal/core"
77 "github.com/jwijenbergh/puregotk/v4/glib"
8+ "github.com/jwijenbergh/puregotk/v4/gobject/types"
89 )
910
1011 var xPixbufErrorQuark func() glib.Quark
@@ -19,6 +20,12 @@ type PixbufNonAnim struct {
1920 PixbufAnimation
2021 }
2122
23+var xPixbufNonAnimGLibType func() types.GType
24+
25+func PixbufNonAnimGLibType() types.GType {
26+ return xPixbufNonAnimGLibType()
27+}
28+
2229 func PixbufNonAnimNewFromInternalPtr(ptr uintptr) *PixbufNonAnim {
2330 cls := &PixbufNonAnim{}
2431 cls.Ptr = ptr
@@ -52,6 +59,12 @@ type PixbufSimpleAnimIter struct {
5259 PixbufAnimationIter
5360 }
5461
62+var xPixbufSimpleAnimIterGLibType func() types.GType
63+
64+func PixbufSimpleAnimIterGLibType() types.GType {
65+ return xPixbufSimpleAnimIterGLibType()
66+}
67+
5568 func PixbufSimpleAnimIterNewFromInternalPtr(ptr uintptr) *PixbufSimpleAnimIter {
5669 cls := &PixbufSimpleAnimIter{}
5770 cls.Ptr = ptr
@@ -71,8 +84,13 @@ func init() {
7184 if err != nil {
7285 panic(err)
7386 }
87+
7488 core.PuregoSafeRegister(&xPixbufErrorQuark, lib, "gdk_pixbuf_error_quark")
7589
90+ core.PuregoSafeRegister(&xPixbufNonAnimGLibType, lib, "gdk_pixbuf_non_anim_get_type")
91+
7692 core.PuregoSafeRegister(&xNewPixbufNonAnim, lib, "gdk_pixbuf_non_anim_new")
7793
94+ core.PuregoSafeRegister(&xPixbufSimpleAnimIterGLibType, lib, "gdk_pixbuf_simple_anim_iter_get_type")
95+
7896 }
M v4/gio/gaction.go +11 -0
@@ -7,6 +7,7 @@ import (
77 "github.com/jwijenbergh/purego"
88 "github.com/jwijenbergh/puregotk/internal/core"
99 "github.com/jwijenbergh/puregotk/v4/glib"
10+ "github.com/jwijenbergh/puregotk/v4/gobject/types"
1011 )
1112
1213 // The virtual function table for #GAction.
@@ -59,6 +60,13 @@ type Action interface {
5960 GetStateHint() *glib.Variant
6061 GetStateType() *glib.VariantType
6162 }
63+
64+var xActionGLibType func() types.GType
65+
66+func ActionGLibType() types.GType {
67+ return xActionGLibType()
68+}
69+
6270 type ActionBase struct {
6371 Ptr uintptr
6472 }
@@ -271,10 +279,13 @@ func init() {
271279 if err != nil {
272280 panic(err)
273281 }
282+
274283 core.PuregoSafeRegister(&xActionNameIsValid, lib, "g_action_name_is_valid")
275284 core.PuregoSafeRegister(&xActionParseDetailedName, lib, "g_action_parse_detailed_name")
276285 core.PuregoSafeRegister(&xActionPrintDetailedName, lib, "g_action_print_detailed_name")
277286
287+ core.PuregoSafeRegister(&xActionGLibType, lib, "g_action_get_type")
288+
278289 core.PuregoSafeRegister(&XGActionActivate, lib, "g_action_activate")
279290 core.PuregoSafeRegister(&XGActionChangeState, lib, "g_action_change_state")
280291 core.PuregoSafeRegister(&XGActionGetEnabled, lib, "g_action_get_enabled")
M v4/gio/gactiongroup.go +10 -0
@@ -7,6 +7,7 @@ import (
77 "github.com/jwijenbergh/purego"
88 "github.com/jwijenbergh/puregotk/internal/core"
99 "github.com/jwijenbergh/puregotk/v4/glib"
10+ "github.com/jwijenbergh/puregotk/v4/gobject/types"
1011 )
1112
1213 // The virtual function table for #GActionGroup.
@@ -81,6 +82,13 @@ type ActionGroup interface {
8182 ListActions() []string
8283 QueryAction(ActionNameVar string, EnabledVar bool, ParameterTypeVar **glib.VariantType, StateTypeVar **glib.VariantType, StateHintVar **glib.Variant, StateVar **glib.Variant) bool
8384 }
85+
86+var xActionGroupGLibType func() types.GType
87+
88+func ActionGroupGLibType() types.GType {
89+ return xActionGroupGLibType()
90+}
91+
8492 type ActionGroupBase struct {
8593 Ptr uintptr
8694 }
@@ -345,6 +353,8 @@ func init() {
345353 panic(err)
346354 }
347355
356+ core.PuregoSafeRegister(&xActionGroupGLibType, lib, "g_action_group_get_type")
357+
348358 core.PuregoSafeRegister(&XGActionGroupActionAdded, lib, "g_action_group_action_added")
349359 core.PuregoSafeRegister(&XGActionGroupActionEnabledChanged, lib, "g_action_group_action_enabled_changed")
350360 core.PuregoSafeRegister(&XGActionGroupActionRemoved, lib, "g_action_group_action_removed")
M v4/gio/gactionmap.go +10 -0
@@ -7,6 +7,7 @@ import (
77 "github.com/jwijenbergh/purego"
88 "github.com/jwijenbergh/puregotk/internal/core"
99 "github.com/jwijenbergh/puregotk/v4/gobject"
10+ "github.com/jwijenbergh/puregotk/v4/gobject/types"
1011 )
1112
1213 // This struct defines a single action. It is for use with
@@ -59,6 +60,13 @@ type ActionMap interface {
5960 LookupAction(ActionNameVar string) *ActionBase
6061 RemoveAction(ActionNameVar string)
6162 }
63+
64+var xActionMapGLibType func() types.GType
65+
66+func ActionMapGLibType() types.GType {
67+ return xActionMapGLibType()
68+}
69+
6270 type ActionMapBase struct {
6371 Ptr uintptr
6472 }
@@ -169,6 +177,8 @@ func init() {
169177 panic(err)
170178 }
171179
180+ core.PuregoSafeRegister(&xActionMapGLibType, lib, "g_action_map_get_type")
181+
172182 core.PuregoSafeRegister(&XGActionMapAddAction, lib, "g_action_map_add_action")
173183 core.PuregoSafeRegister(&XGActionMapAddActionEntries, lib, "g_action_map_add_action_entries")
174184 core.PuregoSafeRegister(&XGActionMapLookupAction, lib, "g_action_map_lookup_action")
M v4/gio/gappinfo.go +19 -0
@@ -8,6 +8,7 @@ import (
88 "github.com/jwijenbergh/puregotk/internal/core"
99 "github.com/jwijenbergh/puregotk/v4/glib"
1010 "github.com/jwijenbergh/puregotk/v4/gobject"
11+ "github.com/jwijenbergh/puregotk/v4/gobject/types"
1112 )
1213
1314 // Application Information interface, for operating system portability.
@@ -113,6 +114,13 @@ type AppInfo interface {
113114 SupportsFiles() bool
114115 SupportsUris() bool
115116 }
117+
118+var xAppInfoGLibType func() types.GType
119+
120+func AppInfoGLibType() types.GType {
121+ return xAppInfoGLibType()
122+}
123+
116124 type AppInfoBase struct {
117125 Ptr uintptr
118126 }
@@ -636,6 +644,12 @@ type AppLaunchContext struct {
636644 gobject.Object
637645 }
638646
647+var xAppLaunchContextGLibType func() types.GType
648+
649+func AppLaunchContextGLibType() types.GType {
650+ return xAppLaunchContextGLibType()
651+}
652+
639653 func AppLaunchContextNewFromInternalPtr(ptr uintptr) *AppLaunchContext {
640654 cls := &AppLaunchContext{}
641655 cls.Ptr = ptr
@@ -821,6 +835,7 @@ func init() {
821835 if err != nil {
822836 panic(err)
823837 }
838+
824839 core.PuregoSafeRegister(&xAppInfoCreateFromCommandline, lib, "g_app_info_create_from_commandline")
825840 core.PuregoSafeRegister(&xAppInfoGetAll, lib, "g_app_info_get_all")
826841 core.PuregoSafeRegister(&xAppInfoGetAllForType, lib, "g_app_info_get_all_for_type")
@@ -833,6 +848,8 @@ func init() {
833848 core.PuregoSafeRegister(&xAppInfoLaunchDefaultForUriFinish, lib, "g_app_info_launch_default_for_uri_finish")
834849 core.PuregoSafeRegister(&xAppInfoResetTypeAssociations, lib, "g_app_info_reset_type_associations")
835850
851+ core.PuregoSafeRegister(&xAppLaunchContextGLibType, lib, "g_app_launch_context_get_type")
852+
836853 core.PuregoSafeRegister(&xNewAppLaunchContext, lib, "g_app_launch_context_new")
837854
838855 core.PuregoSafeRegister(&xAppLaunchContextGetDisplay, lib, "g_app_launch_context_get_display")
@@ -842,6 +859,8 @@ func init() {
842859 core.PuregoSafeRegister(&xAppLaunchContextSetenv, lib, "g_app_launch_context_setenv")
843860 core.PuregoSafeRegister(&xAppLaunchContextUnsetenv, lib, "g_app_launch_context_unsetenv")
844861
862+ core.PuregoSafeRegister(&xAppInfoGLibType, lib, "g_app_info_get_type")
863+
845864 core.PuregoSafeRegister(&XGAppInfoAddSupportsType, lib, "g_app_info_add_supports_type")
846865 core.PuregoSafeRegister(&XGAppInfoCanDelete, lib, "g_app_info_can_delete")
847866 core.PuregoSafeRegister(&XGAppInfoCanRemoveSupportsType, lib, "g_app_info_can_remove_supports_type")
M v4/gio/gapplication.go +9 -0
@@ -8,6 +8,7 @@ import (
88 "github.com/jwijenbergh/puregotk/internal/core"
99 "github.com/jwijenbergh/puregotk/v4/glib"
1010 "github.com/jwijenbergh/puregotk/v4/gobject"
11+ "github.com/jwijenbergh/puregotk/v4/gobject/types"
1112 )
1213
1314 // Virtual function table for #GApplication.
@@ -146,6 +147,12 @@ type Application struct {
146147 gobject.Object
147148 }
148149
150+var xApplicationGLibType func() types.GType
151+
152+func ApplicationGLibType() types.GType {
153+ return xApplicationGLibType()
154+}
155+
149156 func ApplicationNewFromInternalPtr(ptr uintptr) *Application {
150157 cls := &Application{}
151158 cls.Ptr = ptr
@@ -1495,6 +1502,8 @@ func init() {
14951502 panic(err)
14961503 }
14971504
1505+ core.PuregoSafeRegister(&xApplicationGLibType, lib, "g_application_get_type")
1506+
14981507 core.PuregoSafeRegister(&xNewApplication, lib, "g_application_new")
14991508
15001509 core.PuregoSafeRegister(&xApplicationActivate, lib, "g_application_activate")
M v4/gio/gapplicationcommandline.go +9 -0
@@ -8,6 +8,7 @@ import (
88 "github.com/jwijenbergh/puregotk/internal/core"
99 "github.com/jwijenbergh/puregotk/v4/glib"
1010 "github.com/jwijenbergh/puregotk/v4/gobject"
11+ "github.com/jwijenbergh/puregotk/v4/gobject/types"
1112 )
1213
1314 // The #GApplicationCommandLineClass-struct
@@ -204,6 +205,12 @@ type ApplicationCommandLine struct {
204205 gobject.Object
205206 }
206207
208+var xApplicationCommandLineGLibType func() types.GType
209+
210+func ApplicationCommandLineGLibType() types.GType {
211+ return xApplicationCommandLineGLibType()
212+}
213+
207214 func ApplicationCommandLineNewFromInternalPtr(ptr uintptr) *ApplicationCommandLine {
208215 cls := &ApplicationCommandLine{}
209216 cls.Ptr = ptr
@@ -456,6 +463,8 @@ func init() {
456463 panic(err)
457464 }
458465
466+ core.PuregoSafeRegister(&xApplicationCommandLineGLibType, lib, "g_application_command_line_get_type")
467+
459468 core.PuregoSafeRegister(&xApplicationCommandLineCreateFileForArg, lib, "g_application_command_line_create_file_for_arg")
460469 core.PuregoSafeRegister(&xApplicationCommandLineGetArguments, lib, "g_application_command_line_get_arguments")
461470 core.PuregoSafeRegister(&xApplicationCommandLineGetCwd, lib, "g_application_command_line_get_cwd")
M v4/gio/gasyncinitable.go +10 -0
@@ -136,6 +136,13 @@ type AsyncInitable interface {
136136 InitFinish(ResVar AsyncResult) bool
137137 NewFinish(ResVar AsyncResult) *gobject.Object
138138 }
139+
140+var xAsyncInitableGLibType func() types.GType
141+
142+func AsyncInitableGLibType() types.GType {
143+ return xAsyncInitableGLibType()
144+}
145+
139146 type AsyncInitableBase struct {
140147 Ptr uintptr
141148 }
@@ -246,8 +253,11 @@ func init() {
246253 if err != nil {
247254 panic(err)
248255 }
256+
249257 core.PuregoSafeRegister(&xAsyncInitableNewvAsync, lib, "g_async_initable_newv_async")
250258
259+ core.PuregoSafeRegister(&xAsyncInitableGLibType, lib, "g_async_initable_get_type")
260+
251261 core.PuregoSafeRegister(&XGAsyncInitableInitAsync, lib, "g_async_initable_init_async")
252262 core.PuregoSafeRegister(&XGAsyncInitableInitFinish, lib, "g_async_initable_init_finish")
253263 core.PuregoSafeRegister(&XGAsyncInitableNewFinish, lib, "g_async_initable_new_finish")
M v4/gio/gasyncresult.go +10 -0
@@ -8,6 +8,7 @@ import (
88 "github.com/jwijenbergh/puregotk/internal/core"
99 "github.com/jwijenbergh/puregotk/v4/glib"
1010 "github.com/jwijenbergh/puregotk/v4/gobject"
11+ "github.com/jwijenbergh/puregotk/v4/gobject/types"
1112 )
1213
1314 // Interface definition for #GAsyncResult.
@@ -117,6 +118,13 @@ type AsyncResult interface {
117118 IsTagged(SourceTagVar uintptr) bool
118119 LegacyPropagateError() bool
119120 }
121+
122+var xAsyncResultGLibType func() types.GType
123+
124+func AsyncResultGLibType() types.GType {
125+ return xAsyncResultGLibType()
126+}
127+
120128 type AsyncResultBase struct {
121129 Ptr uintptr
122130 }
@@ -190,6 +198,8 @@ func init() {
190198 panic(err)
191199 }
192200
201+ core.PuregoSafeRegister(&xAsyncResultGLibType, lib, "g_async_result_get_type")
202+
193203 core.PuregoSafeRegister(&XGAsyncResultGetSourceObject, lib, "g_async_result_get_source_object")
194204 core.PuregoSafeRegister(&XGAsyncResultGetUserData, lib, "g_async_result_get_user_data")
195205 core.PuregoSafeRegister(&XGAsyncResultIsTagged, lib, "g_async_result_is_tagged")
M v4/gio/gbufferedinputstream.go +9 -0
@@ -7,6 +7,7 @@ import (
77 "github.com/jwijenbergh/purego"
88 "github.com/jwijenbergh/puregotk/internal/core"
99 "github.com/jwijenbergh/puregotk/v4/glib"
10+ "github.com/jwijenbergh/puregotk/v4/gobject/types"
1011 )
1112
1213 type BufferedInputStreamClass struct {
@@ -42,6 +43,12 @@ type BufferedInputStream struct {
4243 FilterInputStream
4344 }
4445
46+var xBufferedInputStreamGLibType func() types.GType
47+
48+func BufferedInputStreamGLibType() types.GType {
49+ return xBufferedInputStreamGLibType()
50+}
51+
4552 func BufferedInputStreamNewFromInternalPtr(ptr uintptr) *BufferedInputStream {
4653 cls := &BufferedInputStream{}
4754 cls.Ptr = ptr
@@ -304,6 +311,8 @@ func init() {
304311 panic(err)
305312 }
306313
314+ core.PuregoSafeRegister(&xBufferedInputStreamGLibType, lib, "g_buffered_input_stream_get_type")
315+
307316 core.PuregoSafeRegister(&xNewBufferedInputStream, lib, "g_buffered_input_stream_new")
308317 core.PuregoSafeRegister(&xNewBufferedInputStreamSized, lib, "g_buffered_input_stream_new_sized")
309318
M v4/gio/gbufferedoutputstream.go +9 -0
@@ -7,6 +7,7 @@ import (
77 "github.com/jwijenbergh/purego"
88 "github.com/jwijenbergh/puregotk/internal/core"
99 "github.com/jwijenbergh/puregotk/v4/glib"
10+ "github.com/jwijenbergh/puregotk/v4/gobject/types"
1011 )
1112
1213 type BufferedOutputStreamClass struct {
@@ -42,6 +43,12 @@ type BufferedOutputStream struct {
4243 FilterOutputStream
4344 }
4445
46+var xBufferedOutputStreamGLibType func() types.GType
47+
48+func BufferedOutputStreamGLibType() types.GType {
49+ return xBufferedOutputStreamGLibType()
50+}
51+
4552 func BufferedOutputStreamNewFromInternalPtr(ptr uintptr) *BufferedOutputStream {
4653 cls := &BufferedOutputStream{}
4754 cls.Ptr = ptr
@@ -200,6 +207,8 @@ func init() {
200207 panic(err)
201208 }
202209
210+ core.PuregoSafeRegister(&xBufferedOutputStreamGLibType, lib, "g_buffered_output_stream_get_type")
211+
203212 core.PuregoSafeRegister(&xNewBufferedOutputStream, lib, "g_buffered_output_stream_new")
204213 core.PuregoSafeRegister(&xNewBufferedOutputStreamSized, lib, "g_buffered_output_stream_new_sized")
205214
M v4/gio/gcancellable.go +9 -0
@@ -8,6 +8,7 @@ import (
88 "github.com/jwijenbergh/puregotk/internal/core"
99 "github.com/jwijenbergh/puregotk/v4/glib"
1010 "github.com/jwijenbergh/puregotk/v4/gobject"
11+ "github.com/jwijenbergh/puregotk/v4/gobject/types"
1112 )
1213
1314 type CancellableClass struct {
@@ -32,6 +33,12 @@ type Cancellable struct {
3233 gobject.Object
3334 }
3435
36+var xCancellableGLibType func() types.GType
37+
38+func CancellableGLibType() types.GType {
39+ return xCancellableGLibType()
40+}
41+
3542 func CancellableNewFromInternalPtr(ptr uintptr) *Cancellable {
3643 cls := &Cancellable{}
3744 cls.Ptr = ptr
@@ -386,6 +393,8 @@ func init() {
386393 panic(err)
387394 }
388395
396+ core.PuregoSafeRegister(&xCancellableGLibType, lib, "g_cancellable_get_type")
397+
389398 core.PuregoSafeRegister(&xNewCancellable, lib, "g_cancellable_new")
390399
391400 core.PuregoSafeRegister(&xCancellableCancel, lib, "g_cancellable_cancel")
M v4/gio/gcharsetconverter.go +9 -0
@@ -8,6 +8,7 @@ import (
88 "github.com/jwijenbergh/puregotk/internal/core"
99 "github.com/jwijenbergh/puregotk/v4/glib"
1010 "github.com/jwijenbergh/puregotk/v4/gobject"
11+ "github.com/jwijenbergh/puregotk/v4/gobject/types"
1112 )
1213
1314 type CharsetConverterClass struct {
@@ -24,6 +25,12 @@ type CharsetConverter struct {
2425 gobject.Object
2526 }
2627
28+var xCharsetConverterGLibType func() types.GType
29+
30+func CharsetConverterGLibType() types.GType {
31+ return xCharsetConverterGLibType()
32+}
33+
2734 func CharsetConverterNewFromInternalPtr(ptr uintptr) *CharsetConverter {
2835 cls := &CharsetConverter{}
2936 cls.Ptr = ptr
@@ -243,6 +250,8 @@ func init() {
243250 panic(err)
244251 }
245252
253+ core.PuregoSafeRegister(&xCharsetConverterGLibType, lib, "g_charset_converter_get_type")
254+
246255 core.PuregoSafeRegister(&xNewCharsetConverter, lib, "g_charset_converter_new")
247256
248257 core.PuregoSafeRegister(&xCharsetConverterGetNumFallbacks, lib, "g_charset_converter_get_num_fallbacks")
M v4/gio/gcontenttype.go +1 -0
@@ -220,6 +220,7 @@ func init() {
220220 if err != nil {
221221 panic(err)
222222 }
223+
223224 core.PuregoSafeRegister(&xContentTypeCanBeExecutable, lib, "g_content_type_can_be_executable")
224225 core.PuregoSafeRegister(&xContentTypeEquals, lib, "g_content_type_equals")
225226 core.PuregoSafeRegister(&xContentTypeFromMimeType, lib, "g_content_type_from_mime_type")
M v4/gio/gconverter.go +10 -0
@@ -7,6 +7,7 @@ import (
77 "github.com/jwijenbergh/purego"
88 "github.com/jwijenbergh/puregotk/internal/core"
99 "github.com/jwijenbergh/puregotk/v4/glib"
10+ "github.com/jwijenbergh/puregotk/v4/gobject/types"
1011 )
1112
1213 // Provides an interface for converting data from one type
@@ -33,6 +34,13 @@ type Converter interface {
3334 Convert(InbufVar []byte, InbufSizeVar uint, OutbufVar []byte, OutbufSizeVar uint, FlagsVar ConverterFlags, BytesReadVar uint, BytesWrittenVar uint) ConverterResult
3435 Reset()
3536 }
37+
38+var xConverterGLibType func() types.GType
39+
40+func ConverterGLibType() types.GType {
41+ return xConverterGLibType()
42+}
43+
3644 type ConverterBase struct {
3745 Ptr uintptr
3846 }
@@ -156,6 +164,8 @@ func init() {
156164 panic(err)
157165 }
158166
167+ core.PuregoSafeRegister(&xConverterGLibType, lib, "g_converter_get_type")
168+
159169 core.PuregoSafeRegister(&XGConverterConvert, lib, "g_converter_convert")
160170 core.PuregoSafeRegister(&XGConverterReset, lib, "g_converter_reset")
161171
M v4/gio/gconverterinputstream.go +9 -0
@@ -8,6 +8,7 @@ import (
88 "github.com/jwijenbergh/puregotk/internal/core"
99 "github.com/jwijenbergh/puregotk/v4/glib"
1010 "github.com/jwijenbergh/puregotk/v4/gobject"
11+ "github.com/jwijenbergh/puregotk/v4/gobject/types"
1112 )
1213
1314 type ConverterInputStreamClass struct {
@@ -34,6 +35,12 @@ type ConverterInputStream struct {
3435 FilterInputStream
3536 }
3637
38+var xConverterInputStreamGLibType func() types.GType
39+
40+func ConverterInputStreamGLibType() types.GType {
41+ return xConverterInputStreamGLibType()
42+}
43+
3744 func ConverterInputStreamNewFromInternalPtr(ptr uintptr) *ConverterInputStream {
3845 cls := &ConverterInputStream{}
3946 cls.Ptr = ptr
@@ -150,6 +157,8 @@ func init() {
150157 panic(err)
151158 }
152159
160+ core.PuregoSafeRegister(&xConverterInputStreamGLibType, lib, "g_converter_input_stream_get_type")
161+
153162 core.PuregoSafeRegister(&xNewConverterInputStream, lib, "g_converter_input_stream_new")
154163
155164 core.PuregoSafeRegister(&xConverterInputStreamGetConverter, lib, "g_converter_input_stream_get_converter")
M v4/gio/gconverteroutputstream.go +9 -0
@@ -8,6 +8,7 @@ import (
88 "github.com/jwijenbergh/puregotk/internal/core"
99 "github.com/jwijenbergh/puregotk/v4/glib"
1010 "github.com/jwijenbergh/puregotk/v4/gobject"
11+ "github.com/jwijenbergh/puregotk/v4/gobject/types"
1112 )
1213
1314 type ConverterOutputStreamClass struct {
@@ -34,6 +35,12 @@ type ConverterOutputStream struct {
3435 FilterOutputStream
3536 }
3637
38+var xConverterOutputStreamGLibType func() types.GType
39+
40+func ConverterOutputStreamGLibType() types.GType {
41+ return xConverterOutputStreamGLibType()
42+}
43+
3744 func ConverterOutputStreamNewFromInternalPtr(ptr uintptr) *ConverterOutputStream {
3845 cls := &ConverterOutputStream{}
3946 cls.Ptr = ptr
@@ -181,6 +188,8 @@ func init() {
181188 panic(err)
182189 }
183190
191+ core.PuregoSafeRegister(&xConverterOutputStreamGLibType, lib, "g_converter_output_stream_get_type")
192+
184193 core.PuregoSafeRegister(&xNewConverterOutputStream, lib, "g_converter_output_stream_new")
185194
186195 core.PuregoSafeRegister(&xConverterOutputStreamGetConverter, lib, "g_converter_output_stream_get_converter")
M v4/gio/gcredentials.go +9 -0
@@ -8,6 +8,7 @@ import (
88 "github.com/jwijenbergh/puregotk/internal/core"
99 "github.com/jwijenbergh/puregotk/v4/glib"
1010 "github.com/jwijenbergh/puregotk/v4/gobject"
11+ "github.com/jwijenbergh/puregotk/v4/gobject/types"
1112 )
1213
1314 // Class structure for #GCredentials.
@@ -59,6 +60,12 @@ type Credentials struct {
5960 gobject.Object
6061 }
6162
63+var xCredentialsGLibType func() types.GType
64+
65+func CredentialsGLibType() types.GType {
66+ return xCredentialsGLibType()
67+}
68+
6269 func CredentialsNewFromInternalPtr(ptr uintptr) *Credentials {
6370 cls := &Credentials{}
6471 cls.Ptr = ptr
@@ -210,6 +217,8 @@ func init() {
210217 panic(err)
211218 }
212219
220+ core.PuregoSafeRegister(&xCredentialsGLibType, lib, "g_credentials_get_type")
221+
213222 core.PuregoSafeRegister(&xNewCredentials, lib, "g_credentials_new")
214223
215224 core.PuregoSafeRegister(&xCredentialsGetNative, lib, "g_credentials_get_native")
M v4/gio/gdatagrambased.go +10 -0
@@ -7,6 +7,7 @@ import (
77 "github.com/jwijenbergh/purego"
88 "github.com/jwijenbergh/puregotk/internal/core"
99 "github.com/jwijenbergh/puregotk/v4/glib"
10+ "github.com/jwijenbergh/puregotk/v4/gobject/types"
1011 )
1112
1213 // Provides an interface for socket-like objects which have datagram semantics,
@@ -78,6 +79,13 @@ type DatagramBased interface {
7879 ReceiveMessages(MessagesVar []InputMessage, NumMessagesVar uint, FlagsVar int, TimeoutVar int64, CancellableVar *Cancellable) int
7980 SendMessages(MessagesVar []OutputMessage, NumMessagesVar uint, FlagsVar int, TimeoutVar int64, CancellableVar *Cancellable) int
8081 }
82+
83+var xDatagramBasedGLibType func() types.GType
84+
85+func DatagramBasedGLibType() types.GType {
86+ return xDatagramBasedGLibType()
87+}
88+
8189 type DatagramBasedBase struct {
8290 Ptr uintptr
8391 }
@@ -294,6 +302,8 @@ func init() {
294302 panic(err)
295303 }
296304
305+ core.PuregoSafeRegister(&xDatagramBasedGLibType, lib, "g_datagram_based_get_type")
306+
297307 core.PuregoSafeRegister(&XGDatagramBasedConditionCheck, lib, "g_datagram_based_condition_check")
298308 core.PuregoSafeRegister(&XGDatagramBasedConditionWait, lib, "g_datagram_based_condition_wait")
299309 core.PuregoSafeRegister(&XGDatagramBasedCreateSource, lib, "g_datagram_based_create_source")
M v4/gio/gdatainputstream.go +9 -0
@@ -7,6 +7,7 @@ import (
77 "github.com/jwijenbergh/purego"
88 "github.com/jwijenbergh/puregotk/internal/core"
99 "github.com/jwijenbergh/puregotk/v4/glib"
10+ "github.com/jwijenbergh/puregotk/v4/gobject/types"
1011 )
1112
1213 type DataInputStreamClass struct {
@@ -30,6 +31,12 @@ type DataInputStream struct {
3031 BufferedInputStream
3132 }
3233
34+var xDataInputStreamGLibType func() types.GType
35+
36+func DataInputStreamGLibType() types.GType {
37+ return xDataInputStreamGLibType()
38+}
39+
3340 func DataInputStreamNewFromInternalPtr(ptr uintptr) *DataInputStream {
3441 cls := &DataInputStream{}
3542 cls.Ptr = ptr
@@ -520,6 +527,8 @@ func init() {
520527 panic(err)
521528 }
522529
530+ core.PuregoSafeRegister(&xDataInputStreamGLibType, lib, "g_data_input_stream_get_type")
531+
523532 core.PuregoSafeRegister(&xNewDataInputStream, lib, "g_data_input_stream_new")
524533
525534 core.PuregoSafeRegister(&xDataInputStreamGetByteOrder, lib, "g_data_input_stream_get_byte_order")
M v4/gio/gdataoutputstream.go +9 -0
@@ -7,6 +7,7 @@ import (
77 "github.com/jwijenbergh/purego"
88 "github.com/jwijenbergh/puregotk/internal/core"
99 "github.com/jwijenbergh/puregotk/v4/glib"
10+ "github.com/jwijenbergh/puregotk/v4/gobject/types"
1011 )
1112
1213 type DataOutputStreamClass struct {
@@ -30,6 +31,12 @@ type DataOutputStream struct {
3031 FilterOutputStream
3132 }
3233
34+var xDataOutputStreamGLibType func() types.GType
35+
36+func DataOutputStreamGLibType() types.GType {
37+ return xDataOutputStreamGLibType()
38+}
39+
3340 func DataOutputStreamNewFromInternalPtr(ptr uintptr) *DataOutputStream {
3441 cls := &DataOutputStream{}
3542 cls.Ptr = ptr
@@ -263,6 +270,8 @@ func init() {
263270 panic(err)
264271 }
265272
273+ core.PuregoSafeRegister(&xDataOutputStreamGLibType, lib, "g_data_output_stream_get_type")
274+
266275 core.PuregoSafeRegister(&xNewDataOutputStream, lib, "g_data_output_stream_new")
267276
268277 core.PuregoSafeRegister(&xDataOutputStreamGetByteOrder, lib, "g_data_output_stream_get_byte_order")
M v4/gio/gdbusaddress.go +1 -0
@@ -150,6 +150,7 @@ func init() {
150150 if err != nil {
151151 panic(err)
152152 }
153+
153154 core.PuregoSafeRegister(&xDbusAddressEscapeValue, lib, "g_dbus_address_escape_value")
154155 core.PuregoSafeRegister(&xDbusAddressGetForBusSync, lib, "g_dbus_address_get_for_bus_sync")
155156 core.PuregoSafeRegister(&xDbusAddressGetStream, lib, "g_dbus_address_get_stream")
M v4/gio/gdbusconnection.go +1 -0
@@ -290,6 +290,7 @@ func init() {
290290 if err != nil {
291291 panic(err)
292292 }
293+
293294 core.PuregoSafeRegister(&xBusGet, lib, "g_bus_get")
294295 core.PuregoSafeRegister(&xBusGetFinish, lib, "g_bus_get_finish")
295296 core.PuregoSafeRegister(&xBusGetSync, lib, "g_bus_get_sync")
M v4/gio/gdbuserror.go +1 -0
@@ -150,6 +150,7 @@ func init() {
150150 if err != nil {
151151 panic(err)
152152 }
153+
153154 core.PuregoSafeRegister(&xDbusErrorEncodeGerror, lib, "g_dbus_error_encode_gerror")
154155 core.PuregoSafeRegister(&xDbusErrorGetRemoteError, lib, "g_dbus_error_get_remote_error")
155156 core.PuregoSafeRegister(&xDbusErrorIsRemoteError, lib, "g_dbus_error_is_remote_error")
M v4/gio/gdbusinterface.go +10 -0
@@ -7,6 +7,7 @@ import (
77 "github.com/jwijenbergh/purego"
88 "github.com/jwijenbergh/puregotk/internal/core"
99 "github.com/jwijenbergh/puregotk/v4/gobject"
10+ "github.com/jwijenbergh/puregotk/v4/gobject/types"
1011 )
1112
1213 // Base type for D-Bus interfaces.
@@ -29,6 +30,13 @@ type DBusInterface interface {
2930 GetObject() *DBusObjectBase
3031 SetObject(ObjectVar DBusObject)
3132 }
33+
34+var xDBusInterfaceGLibType func() types.GType
35+
36+func DBusInterfaceGLibType() types.GType {
37+ return xDBusInterfaceGLibType()
38+}
39+
3240 type DBusInterfaceBase struct {
3341 Ptr uintptr
3442 }
@@ -102,6 +110,8 @@ func init() {
102110 panic(err)
103111 }
104112
113+ core.PuregoSafeRegister(&xDBusInterfaceGLibType, lib, "g_dbus_interface_get_type")
114+
105115 core.PuregoSafeRegister(&XGDbusInterfaceDupObject, lib, "g_dbus_interface_dup_object")
106116 core.PuregoSafeRegister(&XGDbusInterfaceGetInfo, lib, "g_dbus_interface_get_info")
107117 core.PuregoSafeRegister(&XGDbusInterfaceGetObject, lib, "g_dbus_interface_get_object")
M v4/gio/gdbusinterfaceskeleton.go +9 -0
@@ -8,6 +8,7 @@ import (
88 "github.com/jwijenbergh/puregotk/internal/core"
99 "github.com/jwijenbergh/puregotk/v4/glib"
1010 "github.com/jwijenbergh/puregotk/v4/gobject"
11+ "github.com/jwijenbergh/puregotk/v4/gobject/types"
1112 )
1213
1314 // Class structure for #GDBusInterfaceSkeleton.
@@ -35,6 +36,12 @@ type DBusInterfaceSkeleton struct {
3536 gobject.Object
3637 }
3738
39+var xDBusInterfaceSkeletonGLibType func() types.GType
40+
41+func DBusInterfaceSkeletonGLibType() types.GType {
42+ return xDBusInterfaceSkeletonGLibType()
43+}
44+
3845 func DBusInterfaceSkeletonNewFromInternalPtr(ptr uintptr) *DBusInterfaceSkeleton {
3946 cls := &DBusInterfaceSkeleton{}
4047 cls.Ptr = ptr
@@ -302,6 +309,8 @@ func init() {
302309 panic(err)
303310 }
304311
312+ core.PuregoSafeRegister(&xDBusInterfaceSkeletonGLibType, lib, "g_dbus_interface_skeleton_get_type")
313+
305314 core.PuregoSafeRegister(&xDBusInterfaceSkeletonExport, lib, "g_dbus_interface_skeleton_export")
306315 core.PuregoSafeRegister(&xDBusInterfaceSkeletonFlush, lib, "g_dbus_interface_skeleton_flush")
307316 core.PuregoSafeRegister(&xDBusInterfaceSkeletonGetConnection, lib, "g_dbus_interface_skeleton_get_connection")
M v4/gio/gdbusintrospection.go +58 -0
@@ -7,6 +7,7 @@ import (
77 "github.com/jwijenbergh/purego"
88 "github.com/jwijenbergh/puregotk/internal/core"
99 "github.com/jwijenbergh/puregotk/v4/glib"
10+ "github.com/jwijenbergh/puregotk/v4/gobject/types"
1011 )
1112
1213 // Information about an annotation.
@@ -20,6 +21,12 @@ type DBusAnnotationInfo struct {
2021 Annotations uintptr
2122 }
2223
24+var xDBusAnnotationInfoGLibType func() types.GType
25+
26+func DBusAnnotationInfoGLibType() types.GType {
27+ return xDBusAnnotationInfoGLibType()
28+}
29+
2330 func (x *DBusAnnotationInfo) GoPointer() uintptr {
2431 return uintptr(unsafe.Pointer(x))
2532 }
@@ -56,6 +63,12 @@ type DBusArgInfo struct {
5663 Annotations uintptr
5764 }
5865
66+var xDBusArgInfoGLibType func() types.GType
67+
68+func DBusArgInfoGLibType() types.GType {
69+ return xDBusArgInfoGLibType()
70+}
71+
5972 func (x *DBusArgInfo) GoPointer() uintptr {
6073 return uintptr(unsafe.Pointer(x))
6174 }
@@ -96,6 +109,12 @@ type DBusInterfaceInfo struct {
96109 Annotations uintptr
97110 }
98111
112+var xDBusInterfaceInfoGLibType func() types.GType
113+
114+func DBusInterfaceInfoGLibType() types.GType {
115+ return xDBusInterfaceInfoGLibType()
116+}
117+
99118 func (x *DBusInterfaceInfo) GoPointer() uintptr {
100119 return uintptr(unsafe.Pointer(x))
101120 }
@@ -213,6 +232,12 @@ type DBusMethodInfo struct {
213232 Annotations uintptr
214233 }
215234
235+var xDBusMethodInfoGLibType func() types.GType
236+
237+func DBusMethodInfoGLibType() types.GType {
238+ return xDBusMethodInfoGLibType()
239+}
240+
216241 func (x *DBusMethodInfo) GoPointer() uintptr {
217242 return uintptr(unsafe.Pointer(x))
218243 }
@@ -251,6 +276,12 @@ type DBusNodeInfo struct {
251276 Annotations uintptr
252277 }
253278
279+var xDBusNodeInfoGLibType func() types.GType
280+
281+func DBusNodeInfoGLibType() types.GType {
282+ return xDBusNodeInfoGLibType()
283+}
284+
254285 func (x *DBusNodeInfo) GoPointer() uintptr {
255286 return uintptr(unsafe.Pointer(x))
256287 }
@@ -333,6 +364,12 @@ type DBusPropertyInfo struct {
333364 Annotations uintptr
334365 }
335366
367+var xDBusPropertyInfoGLibType func() types.GType
368+
369+func DBusPropertyInfoGLibType() types.GType {
370+ return xDBusPropertyInfoGLibType()
371+}
372+
336373 func (x *DBusPropertyInfo) GoPointer() uintptr {
337374 return uintptr(unsafe.Pointer(x))
338375 }
@@ -369,6 +406,12 @@ type DBusSignalInfo struct {
369406 Annotations uintptr
370407 }
371408
409+var xDBusSignalInfoGLibType func() types.GType
410+
411+func DBusSignalInfoGLibType() types.GType {
412+ return xDBusSignalInfoGLibType()
413+}
414+
372415 func (x *DBusSignalInfo) GoPointer() uintptr {
373416 return uintptr(unsafe.Pointer(x))
374417 }
@@ -410,14 +453,21 @@ func init() {
410453 if err != nil {
411454 panic(err)
412455 }
456+
413457 core.PuregoSafeRegister(&xDbusAnnotationInfoLookup, lib, "g_dbus_annotation_info_lookup")
414458
459+ core.PuregoSafeRegister(&xDBusAnnotationInfoGLibType, lib, "g_dbus_annotation_info_get_type")
460+
415461 core.PuregoSafeRegister(&xDBusAnnotationInfoRef, lib, "g_dbus_annotation_info_ref")
416462 core.PuregoSafeRegister(&xDBusAnnotationInfoUnref, lib, "g_dbus_annotation_info_unref")
417463
464+ core.PuregoSafeRegister(&xDBusArgInfoGLibType, lib, "g_dbus_arg_info_get_type")
465+
418466 core.PuregoSafeRegister(&xDBusArgInfoRef, lib, "g_dbus_arg_info_ref")
419467 core.PuregoSafeRegister(&xDBusArgInfoUnref, lib, "g_dbus_arg_info_unref")
420468
469+ core.PuregoSafeRegister(&xDBusInterfaceInfoGLibType, lib, "g_dbus_interface_info_get_type")
470+
421471 core.PuregoSafeRegister(&xDBusInterfaceInfoCacheBuild, lib, "g_dbus_interface_info_cache_build")
422472 core.PuregoSafeRegister(&xDBusInterfaceInfoCacheRelease, lib, "g_dbus_interface_info_cache_release")
423473 core.PuregoSafeRegister(&xDBusInterfaceInfoGenerateXml, lib, "g_dbus_interface_info_generate_xml")
@@ -427,9 +477,13 @@ func init() {
427477 core.PuregoSafeRegister(&xDBusInterfaceInfoRef, lib, "g_dbus_interface_info_ref")
428478 core.PuregoSafeRegister(&xDBusInterfaceInfoUnref, lib, "g_dbus_interface_info_unref")
429479
480+ core.PuregoSafeRegister(&xDBusMethodInfoGLibType, lib, "g_dbus_method_info_get_type")
481+
430482 core.PuregoSafeRegister(&xDBusMethodInfoRef, lib, "g_dbus_method_info_ref")
431483 core.PuregoSafeRegister(&xDBusMethodInfoUnref, lib, "g_dbus_method_info_unref")
432484
485+ core.PuregoSafeRegister(&xDBusNodeInfoGLibType, lib, "g_dbus_node_info_get_type")
486+
433487 core.PuregoSafeRegister(&xNewDBusNodeInfoForXml, lib, "g_dbus_node_info_new_for_xml")
434488
435489 core.PuregoSafeRegister(&xDBusNodeInfoGenerateXml, lib, "g_dbus_node_info_generate_xml")
@@ -437,9 +491,13 @@ func init() {
437491 core.PuregoSafeRegister(&xDBusNodeInfoRef, lib, "g_dbus_node_info_ref")
438492 core.PuregoSafeRegister(&xDBusNodeInfoUnref, lib, "g_dbus_node_info_unref")
439493
494+ core.PuregoSafeRegister(&xDBusPropertyInfoGLibType, lib, "g_dbus_property_info_get_type")
495+
440496 core.PuregoSafeRegister(&xDBusPropertyInfoRef, lib, "g_dbus_property_info_ref")
441497 core.PuregoSafeRegister(&xDBusPropertyInfoUnref, lib, "g_dbus_property_info_unref")
442498
499+ core.PuregoSafeRegister(&xDBusSignalInfoGLibType, lib, "g_dbus_signal_info_get_type")
500+
443501 core.PuregoSafeRegister(&xDBusSignalInfoRef, lib, "g_dbus_signal_info_ref")
444502 core.PuregoSafeRegister(&xDBusSignalInfoUnref, lib, "g_dbus_signal_info_unref")
445503
M v4/gio/gdbusnameowning.go +1 -0
@@ -125,6 +125,7 @@ func init() {
125125 if err != nil {
126126 panic(err)
127127 }
128+
128129 core.PuregoSafeRegister(&xBusOwnName, lib, "g_bus_own_name")
129130 core.PuregoSafeRegister(&xBusOwnNameOnConnection, lib, "g_bus_own_name_on_connection")
130131 core.PuregoSafeRegister(&xBusOwnNameOnConnectionWithClosures, lib, "g_bus_own_name_on_connection_with_closures")
M v4/gio/gdbusnamewatching.go +1 -0
@@ -106,6 +106,7 @@ func init() {
106106 if err != nil {
107107 panic(err)
108108 }
109+
109110 core.PuregoSafeRegister(&xBusUnwatchName, lib, "g_bus_unwatch_name")
110111 core.PuregoSafeRegister(&xBusWatchName, lib, "g_bus_watch_name")
111112 core.PuregoSafeRegister(&xBusWatchNameOnConnection, lib, "g_bus_watch_name_on_connection")
M v4/gio/gdbusobject.go +10 -0
@@ -7,6 +7,7 @@ import (
77 "github.com/jwijenbergh/purego"
88 "github.com/jwijenbergh/puregotk/internal/core"
99 "github.com/jwijenbergh/puregotk/v4/glib"
10+ "github.com/jwijenbergh/puregotk/v4/gobject/types"
1011 )
1112
1213 // Base object type for D-Bus objects.
@@ -29,6 +30,13 @@ type DBusObject interface {
2930 GetInterfaces() *glib.List
3031 GetObjectPath() string
3132 }
33+
34+var xDBusObjectGLibType func() types.GType
35+
36+func DBusObjectGLibType() types.GType {
37+ return xDBusObjectGLibType()
38+}
39+
3240 type DBusObjectBase struct {
3341 Ptr uintptr
3442 }
@@ -80,6 +88,8 @@ func init() {
8088 panic(err)
8189 }
8290
91+ core.PuregoSafeRegister(&xDBusObjectGLibType, lib, "g_dbus_object_get_type")
92+
8393 core.PuregoSafeRegister(&XGDbusObjectGetInterface, lib, "g_dbus_object_get_interface")
8494 core.PuregoSafeRegister(&XGDbusObjectGetInterfaces, lib, "g_dbus_object_get_interfaces")
8595 core.PuregoSafeRegister(&XGDbusObjectGetObjectPath, lib, "g_dbus_object_get_object_path")
M v4/gio/gdbusobjectmanager.go +10 -0
@@ -7,6 +7,7 @@ import (
77 "github.com/jwijenbergh/purego"
88 "github.com/jwijenbergh/puregotk/internal/core"
99 "github.com/jwijenbergh/puregotk/v4/glib"
10+ "github.com/jwijenbergh/puregotk/v4/gobject/types"
1011 )
1112
1213 // Base type for D-Bus object managers.
@@ -33,6 +34,13 @@ type DBusObjectManager interface {
3334 GetObjectPath() string
3435 GetObjects() *glib.List
3536 }
37+
38+var xDBusObjectManagerGLibType func() types.GType
39+
40+func DBusObjectManagerGLibType() types.GType {
41+ return xDBusObjectManagerGLibType()
42+}
43+
3644 type DBusObjectManagerBase struct {
3745 Ptr uintptr
3846 }
@@ -99,6 +107,8 @@ func init() {
99107 panic(err)
100108 }
101109
110+ core.PuregoSafeRegister(&xDBusObjectManagerGLibType, lib, "g_dbus_object_manager_get_type")
111+
102112 core.PuregoSafeRegister(&XGDbusObjectManagerGetInterface, lib, "g_dbus_object_manager_get_interface")
103113 core.PuregoSafeRegister(&XGDbusObjectManagerGetObject, lib, "g_dbus_object_manager_get_object")
104114 core.PuregoSafeRegister(&XGDbusObjectManagerGetObjectPath, lib, "g_dbus_object_manager_get_object_path")
M v4/gio/gdbusobjectmanagerclient.go +9 -0
@@ -8,6 +8,7 @@ import (
88 "github.com/jwijenbergh/puregotk/internal/core"
99 "github.com/jwijenbergh/puregotk/v4/glib"
1010 "github.com/jwijenbergh/puregotk/v4/gobject"
11+ "github.com/jwijenbergh/puregotk/v4/gobject/types"
1112 )
1213
1314 // Class structure for #GDBusObjectManagerClient.
@@ -107,6 +108,12 @@ type DBusObjectManagerClient struct {
107108 gobject.Object
108109 }
109110
111+var xDBusObjectManagerClientGLibType func() types.GType
112+
113+func DBusObjectManagerClientGLibType() types.GType {
114+ return xDBusObjectManagerClientGLibType()
115+}
116+
110117 func DBusObjectManagerClientNewFromInternalPtr(ptr uintptr) *DBusObjectManagerClient {
111118 cls := &DBusObjectManagerClient{}
112119 cls.Ptr = ptr
@@ -525,6 +532,8 @@ func init() {
525532 panic(err)
526533 }
527534
535+ core.PuregoSafeRegister(&xDBusObjectManagerClientGLibType, lib, "g_dbus_object_manager_client_get_type")
536+
528537 core.PuregoSafeRegister(&xNewDBusObjectManagerClientFinish, lib, "g_dbus_object_manager_client_new_finish")
529538 core.PuregoSafeRegister(&xNewDBusObjectManagerClientForBusFinish, lib, "g_dbus_object_manager_client_new_for_bus_finish")
530539 core.PuregoSafeRegister(&xNewDBusObjectManagerClientForBusSync, lib, "g_dbus_object_manager_client_new_for_bus_sync")
M v4/gio/gdbusobjectmanagerserver.go +9 -0
@@ -8,6 +8,7 @@ import (
88 "github.com/jwijenbergh/puregotk/internal/core"
99 "github.com/jwijenbergh/puregotk/v4/glib"
1010 "github.com/jwijenbergh/puregotk/v4/gobject"
11+ "github.com/jwijenbergh/puregotk/v4/gobject/types"
1112 )
1213
1314 // Class structure for #GDBusObjectManagerServer.
@@ -54,6 +55,12 @@ type DBusObjectManagerServer struct {
5455 gobject.Object
5556 }
5657
58+var xDBusObjectManagerServerGLibType func() types.GType
59+
60+func DBusObjectManagerServerGLibType() types.GType {
61+ return xDBusObjectManagerServerGLibType()
62+}
63+
5764 func DBusObjectManagerServerNewFromInternalPtr(ptr uintptr) *DBusObjectManagerServer {
5865 cls := &DBusObjectManagerServer{}
5966 cls.Ptr = ptr
@@ -217,6 +224,8 @@ func init() {
217224 panic(err)
218225 }
219226
227+ core.PuregoSafeRegister(&xDBusObjectManagerServerGLibType, lib, "g_dbus_object_manager_server_get_type")
228+
220229 core.PuregoSafeRegister(&xNewDBusObjectManagerServer, lib, "g_dbus_object_manager_server_new")
221230
222231 core.PuregoSafeRegister(&xDBusObjectManagerServerExport, lib, "g_dbus_object_manager_server_export")
M v4/gio/gdbusobjectproxy.go +9 -0
@@ -8,6 +8,7 @@ import (
88 "github.com/jwijenbergh/puregotk/internal/core"
99 "github.com/jwijenbergh/puregotk/v4/glib"
1010 "github.com/jwijenbergh/puregotk/v4/gobject"
11+ "github.com/jwijenbergh/puregotk/v4/gobject/types"
1112 )
1213
1314 // Class structure for #GDBusObjectProxy.
@@ -36,6 +37,12 @@ type DBusObjectProxy struct {
3637 gobject.Object
3738 }
3839
40+var xDBusObjectProxyGLibType func() types.GType
41+
42+func DBusObjectProxyGLibType() types.GType {
43+ return xDBusObjectProxyGLibType()
44+}
45+
3946 func DBusObjectProxyNewFromInternalPtr(ptr uintptr) *DBusObjectProxy {
4047 cls := &DBusObjectProxy{}
4148 cls.Ptr = ptr
@@ -119,6 +126,8 @@ func init() {
119126 panic(err)
120127 }
121128
129+ core.PuregoSafeRegister(&xDBusObjectProxyGLibType, lib, "g_dbus_object_proxy_get_type")
130+
122131 core.PuregoSafeRegister(&xNewDBusObjectProxy, lib, "g_dbus_object_proxy_new")
123132
124133 core.PuregoSafeRegister(&xDBusObjectProxyGetConnection, lib, "g_dbus_object_proxy_get_connection")
M v4/gio/gdbusobjectskeleton.go +9 -0
@@ -8,6 +8,7 @@ import (
88 "github.com/jwijenbergh/puregotk/internal/core"
99 "github.com/jwijenbergh/puregotk/v4/glib"
1010 "github.com/jwijenbergh/puregotk/v4/gobject"
11+ "github.com/jwijenbergh/puregotk/v4/gobject/types"
1112 )
1213
1314 // Class structure for #GDBusObjectSkeleton.
@@ -37,6 +38,12 @@ type DBusObjectSkeleton struct {
3738 gobject.Object
3839 }
3940
41+var xDBusObjectSkeletonGLibType func() types.GType
42+
43+func DBusObjectSkeletonGLibType() types.GType {
44+ return xDBusObjectSkeletonGLibType()
45+}
46+
4047 func DBusObjectSkeletonNewFromInternalPtr(ptr uintptr) *DBusObjectSkeleton {
4148 cls := &DBusObjectSkeleton{}
4249 cls.Ptr = ptr
@@ -185,6 +192,8 @@ func init() {
185192 panic(err)
186193 }
187194
195+ core.PuregoSafeRegister(&xDBusObjectSkeletonGLibType, lib, "g_dbus_object_skeleton_get_type")
196+
188197 core.PuregoSafeRegister(&xNewDBusObjectSkeleton, lib, "g_dbus_object_skeleton_new")
189198
190199 core.PuregoSafeRegister(&xDBusObjectSkeletonAddInterface, lib, "g_dbus_object_skeleton_add_interface")
M v4/gio/gdbusproxy.go +9 -0
@@ -8,6 +8,7 @@ import (
88 "github.com/jwijenbergh/puregotk/internal/core"
99 "github.com/jwijenbergh/puregotk/v4/glib"
1010 "github.com/jwijenbergh/puregotk/v4/gobject"
11+ "github.com/jwijenbergh/puregotk/v4/gobject/types"
1112 )
1213
1314 // Class structure for #GDBusProxy.
@@ -76,6 +77,12 @@ type DBusProxy struct {
7677 gobject.Object
7778 }
7879
80+var xDBusProxyGLibType func() types.GType
81+
82+func DBusProxyGLibType() types.GType {
83+ return xDBusProxyGLibType()
84+}
85+
7986 func DBusProxyNewFromInternalPtr(ptr uintptr) *DBusProxy {
8087 cls := &DBusProxy{}
8188 cls.Ptr = ptr
@@ -817,6 +824,8 @@ func init() {
817824 panic(err)
818825 }
819826
827+ core.PuregoSafeRegister(&xDBusProxyGLibType, lib, "g_dbus_proxy_get_type")
828+
820829 core.PuregoSafeRegister(&xNewDBusProxyFinish, lib, "g_dbus_proxy_new_finish")
821830 core.PuregoSafeRegister(&xNewDBusProxyForBusFinish, lib, "g_dbus_proxy_new_for_bus_finish")
822831 core.PuregoSafeRegister(&xNewDBusProxyForBusSync, lib, "g_dbus_proxy_new_for_bus_sync")
M v4/gio/gdbusutils.go +1 -0
@@ -197,6 +197,7 @@ func init() {
197197 if err != nil {
198198 panic(err)
199199 }
200+
200201 core.PuregoSafeRegister(&xDbusEscapeObjectPath, lib, "g_dbus_escape_object_path")
201202 core.PuregoSafeRegister(&xDbusEscapeObjectPathBytestring, lib, "g_dbus_escape_object_path_bytestring")
202203 core.PuregoSafeRegister(&xDbusGenerateGuid, lib, "g_dbus_generate_guid")
M v4/gio/gdebugcontroller.go +10 -0
@@ -6,6 +6,7 @@ import (
66
77 "github.com/jwijenbergh/purego"
88 "github.com/jwijenbergh/puregotk/internal/core"
9+ "github.com/jwijenbergh/puregotk/v4/gobject/types"
910 )
1011
1112 // The virtual function table for #GDebugController.
@@ -38,6 +39,13 @@ type DebugController interface {
3839 GetDebugEnabled() bool
3940 SetDebugEnabled(DebugEnabledVar bool)
4041 }
42+
43+var xDebugControllerGLibType func() types.GType
44+
45+func DebugControllerGLibType() types.GType {
46+ return xDebugControllerGLibType()
47+}
48+
4149 type DebugControllerBase struct {
4250 Ptr uintptr
4351 }
@@ -79,6 +87,8 @@ func init() {
7987 panic(err)
8088 }
8189
90+ core.PuregoSafeRegister(&xDebugControllerGLibType, lib, "g_debug_controller_get_type")
91+
8292 core.PuregoSafeRegister(&XGDebugControllerGetDebugEnabled, lib, "g_debug_controller_get_debug_enabled")
8393 core.PuregoSafeRegister(&XGDebugControllerSetDebugEnabled, lib, "g_debug_controller_set_debug_enabled")
8494
M v4/gio/gdebugcontrollerdbus.go +9 -0
@@ -8,6 +8,7 @@ import (
88 "github.com/jwijenbergh/puregotk/internal/core"
99 "github.com/jwijenbergh/puregotk/v4/glib"
1010 "github.com/jwijenbergh/puregotk/v4/gobject"
11+ "github.com/jwijenbergh/puregotk/v4/gobject/types"
1112 )
1213
1314 // The virtual function table for #GDebugControllerDBus.
@@ -137,6 +138,12 @@ type DebugControllerDBus struct {
137138 gobject.Object
138139 }
139140
141+var xDebugControllerDBusGLibType func() types.GType
142+
143+func DebugControllerDBusGLibType() types.GType {
144+ return xDebugControllerDBusGLibType()
145+}
146+
140147 func DebugControllerDBusNewFromInternalPtr(ptr uintptr) *DebugControllerDBus {
141148 cls := &DebugControllerDBus{}
142149 cls.Ptr = ptr
@@ -307,6 +314,8 @@ func init() {
307314 panic(err)
308315 }
309316
317+ core.PuregoSafeRegister(&xDebugControllerDBusGLibType, lib, "g_debug_controller_dbus_get_type")
318+
310319 core.PuregoSafeRegister(&xNewDebugControllerDBus, lib, "g_debug_controller_dbus_new")
311320
312321 core.PuregoSafeRegister(&xDebugControllerDBusStop, lib, "g_debug_controller_dbus_stop")
M v4/gio/gdesktopappinfo.go +18 -0
@@ -8,6 +8,7 @@ import (
88 "github.com/jwijenbergh/puregotk/internal/core"
99 "github.com/jwijenbergh/puregotk/v4/glib"
1010 "github.com/jwijenbergh/puregotk/v4/gobject"
11+ "github.com/jwijenbergh/puregotk/v4/gobject/types"
1112 )
1213
1314 // During invocation, g_desktop_app_info_launch_uris_as_manager() may
@@ -40,6 +41,13 @@ type DesktopAppInfoLookup interface {
4041 SetGoPointer(uintptr)
4142 GetDefaultForUriScheme(UriSchemeVar string) *AppInfoBase
4243 }
44+
45+var xDesktopAppInfoLookupGLibType func() types.GType
46+
47+func DesktopAppInfoLookupGLibType() types.GType {
48+ return xDesktopAppInfoLookupGLibType()
49+}
50+
4351 type DesktopAppInfoLookupBase struct {
4452 Ptr uintptr
4553 }
@@ -91,6 +99,12 @@ type DesktopAppInfo struct {
9199 gobject.Object
92100 }
93101
102+var xDesktopAppInfoGLibType func() types.GType
103+
104+func DesktopAppInfoGLibType() types.GType {
105+ return xDesktopAppInfoGLibType()
106+}
107+
94108 func DesktopAppInfoNewFromInternalPtr(ptr uintptr) *DesktopAppInfo {
95109 cls := &DesktopAppInfo{}
96110 cls.Ptr = ptr
@@ -756,6 +770,8 @@ func init() {
756770 panic(err)
757771 }
758772
773+ core.PuregoSafeRegister(&xDesktopAppInfoGLibType, lib, "g_desktop_app_info_get_type")
774+
759775 core.PuregoSafeRegister(&xNewDesktopAppInfo, lib, "g_desktop_app_info_new")
760776 core.PuregoSafeRegister(&xNewDesktopAppInfoFromFilename, lib, "g_desktop_app_info_new_from_filename")
761777 core.PuregoSafeRegister(&xNewDesktopAppInfoFromKeyfile, lib, "g_desktop_app_info_new_from_keyfile")
@@ -783,6 +799,8 @@ func init() {
783799 core.PuregoSafeRegister(&xDesktopAppInfoSearch, lib, "g_desktop_app_info_search")
784800 core.PuregoSafeRegister(&xDesktopAppInfoSetDesktopEnv, lib, "g_desktop_app_info_set_desktop_env")
785801
802+ core.PuregoSafeRegister(&xDesktopAppInfoLookupGLibType, lib, "g_desktop_app_info_lookup_get_type")
803+
786804 core.PuregoSafeRegister(&XGDesktopAppInfoLookupGetDefaultForUriScheme, lib, "g_desktop_app_info_lookup_get_default_for_uri_scheme")
787805
788806 }
M v4/gio/gdrive.go +10 -0
@@ -7,6 +7,7 @@ import (
77 "github.com/jwijenbergh/purego"
88 "github.com/jwijenbergh/puregotk/internal/core"
99 "github.com/jwijenbergh/puregotk/v4/glib"
10+ "github.com/jwijenbergh/puregotk/v4/gobject/types"
1011 )
1112
1213 // Interface for creating #GDrive implementations.
@@ -76,6 +77,13 @@ type Drive interface {
7677 Stop(FlagsVar MountUnmountFlags, MountOperationVar *MountOperation, CancellableVar *Cancellable, CallbackVar *AsyncReadyCallback, UserDataVar uintptr)
7778 StopFinish(ResultVar AsyncResult) bool
7879 }
80+
81+var xDriveGLibType func() types.GType
82+
83+func DriveGLibType() types.GType {
84+ return xDriveGLibType()
85+}
86+
7987 type DriveBase struct {
8088 Ptr uintptr
8189 }
@@ -392,6 +400,8 @@ func init() {
392400 panic(err)
393401 }
394402
403+ core.PuregoSafeRegister(&xDriveGLibType, lib, "g_drive_get_type")
404+
395405 core.PuregoSafeRegister(&XGDriveCanEject, lib, "g_drive_can_eject")
396406 core.PuregoSafeRegister(&XGDriveCanPollForMedia, lib, "g_drive_can_poll_for_media")
397407 core.PuregoSafeRegister(&XGDriveCanStart, lib, "g_drive_can_start")
M v4/gio/gdtlsclientconnection.go +11 -0
@@ -8,6 +8,7 @@ import (
88 "github.com/jwijenbergh/puregotk/internal/core"
99 "github.com/jwijenbergh/puregotk/v4/glib"
1010 "github.com/jwijenbergh/puregotk/v4/gobject"
11+ "github.com/jwijenbergh/puregotk/v4/gobject/types"
1112 )
1213
1314 // vtable for a #GDtlsClientConnection implementation.
@@ -30,6 +31,13 @@ type DtlsClientConnection interface {
3031 SetServerIdentity(IdentityVar SocketConnectable)
3132 SetValidationFlags(FlagsVar TlsCertificateFlags)
3233 }
34+
35+var xDtlsClientConnectionGLibType func() types.GType
36+
37+func DtlsClientConnectionGLibType() types.GType {
38+ return xDtlsClientConnectionGLibType()
39+}
40+
3341 type DtlsClientConnectionBase struct {
3442 Ptr uintptr
3543 }
@@ -129,8 +137,11 @@ func init() {
129137 if err != nil {
130138 panic(err)
131139 }
140+
132141 core.PuregoSafeRegister(&xDtlsClientConnectionNew, lib, "g_dtls_client_connection_new")
133142
143+ core.PuregoSafeRegister(&xDtlsClientConnectionGLibType, lib, "g_dtls_client_connection_get_type")
144+
134145 core.PuregoSafeRegister(&XGDtlsClientConnectionGetAcceptedCas, lib, "g_dtls_client_connection_get_accepted_cas")
135146 core.PuregoSafeRegister(&XGDtlsClientConnectionGetServerIdentity, lib, "g_dtls_client_connection_get_server_identity")
136147 core.PuregoSafeRegister(&XGDtlsClientConnectionGetValidationFlags, lib, "g_dtls_client_connection_get_validation_flags")
M v4/gio/gdtlsconnection.go +10 -0
@@ -8,6 +8,7 @@ import (
88 "github.com/jwijenbergh/puregotk/internal/core"
99 "github.com/jwijenbergh/puregotk/v4/glib"
1010 "github.com/jwijenbergh/puregotk/v4/gobject"
11+ "github.com/jwijenbergh/puregotk/v4/gobject/types"
1112 )
1213
1314 // Virtual method table for a #GDtlsConnection implementation.
@@ -69,6 +70,13 @@ type DtlsConnection interface {
6970 ShutdownAsync(ShutdownReadVar bool, ShutdownWriteVar bool, IoPriorityVar int, CancellableVar *Cancellable, CallbackVar *AsyncReadyCallback, UserDataVar uintptr)
7071 ShutdownFinish(ResultVar AsyncResult) bool
7172 }
73+
74+var xDtlsConnectionGLibType func() types.GType
75+
76+func DtlsConnectionGLibType() types.GType {
77+ return xDtlsConnectionGLibType()
78+}
79+
7280 type DtlsConnectionBase struct {
7381 Ptr uintptr
7482 }
@@ -543,6 +551,8 @@ func init() {
543551 panic(err)
544552 }
545553
554+ core.PuregoSafeRegister(&xDtlsConnectionGLibType, lib, "g_dtls_connection_get_type")
555+
546556 core.PuregoSafeRegister(&XGDtlsConnectionClose, lib, "g_dtls_connection_close")
547557 core.PuregoSafeRegister(&XGDtlsConnectionCloseAsync, lib, "g_dtls_connection_close_async")
548558 core.PuregoSafeRegister(&XGDtlsConnectionCloseFinish, lib, "g_dtls_connection_close_finish")
M v4/gio/gdtlsserverconnection.go +11 -0
@@ -7,6 +7,7 @@ import (
77 "github.com/jwijenbergh/purego"
88 "github.com/jwijenbergh/puregotk/internal/core"
99 "github.com/jwijenbergh/puregotk/v4/glib"
10+ "github.com/jwijenbergh/puregotk/v4/gobject/types"
1011 )
1112
1213 // vtable for a #GDtlsServerConnection implementation.
@@ -24,6 +25,13 @@ type DtlsServerConnection interface {
2425 GoPointer() uintptr
2526 SetGoPointer(uintptr)
2627 }
28+
29+var xDtlsServerConnectionGLibType func() types.GType
30+
31+func DtlsServerConnectionGLibType() types.GType {
32+ return xDtlsServerConnectionGLibType()
33+}
34+
2735 type DtlsServerConnectionBase struct {
2836 Ptr uintptr
2937 }
@@ -62,6 +70,9 @@ func init() {
6270 if err != nil {
6371 panic(err)
6472 }
73+
6574 core.PuregoSafeRegister(&xDtlsServerConnectionNew, lib, "g_dtls_server_connection_new")
6675
76+ core.PuregoSafeRegister(&xDtlsServerConnectionGLibType, lib, "g_dtls_server_connection_get_type")
77+
6778 }
M v4/gio/gemblem.go +9 -0
@@ -8,6 +8,7 @@ import (
88 "github.com/jwijenbergh/puregotk/internal/core"
99 "github.com/jwijenbergh/puregotk/v4/glib"
1010 "github.com/jwijenbergh/puregotk/v4/gobject"
11+ "github.com/jwijenbergh/puregotk/v4/gobject/types"
1112 )
1213
1314 type EmblemClass struct {
@@ -27,6 +28,12 @@ type Emblem struct {
2728 gobject.Object
2829 }
2930
31+var xEmblemGLibType func() types.GType
32+
33+func EmblemGLibType() types.GType {
34+ return xEmblemGLibType()
35+}
36+
3037 func EmblemNewFromInternalPtr(ptr uintptr) *Emblem {
3138 cls := &Emblem{}
3239 cls.Ptr = ptr
@@ -145,6 +152,8 @@ func init() {
145152 panic(err)
146153 }
147154
155+ core.PuregoSafeRegister(&xEmblemGLibType, lib, "g_emblem_get_type")
156+
148157 core.PuregoSafeRegister(&xNewEmblem, lib, "g_emblem_new")
149158 core.PuregoSafeRegister(&xNewEmblemWithOrigin, lib, "g_emblem_new_with_origin")
150159
M v4/gio/gemblemedicon.go +9 -0
@@ -8,6 +8,7 @@ import (
88 "github.com/jwijenbergh/puregotk/internal/core"
99 "github.com/jwijenbergh/puregotk/v4/glib"
1010 "github.com/jwijenbergh/puregotk/v4/gobject"
11+ "github.com/jwijenbergh/puregotk/v4/gobject/types"
1112 )
1213
1314 type EmblemedIconClass struct {
@@ -35,6 +36,12 @@ type EmblemedIcon struct {
3536 gobject.Object
3637 }
3738
39+var xEmblemedIconGLibType func() types.GType
40+
41+func EmblemedIconGLibType() types.GType {
42+ return xEmblemedIconGLibType()
43+}
44+
3845 func EmblemedIconNewFromInternalPtr(ptr uintptr) *EmblemedIcon {
3946 cls := &EmblemedIcon{}
4047 cls.Ptr = ptr
@@ -155,6 +162,8 @@ func init() {
155162 panic(err)
156163 }
157164
165+ core.PuregoSafeRegister(&xEmblemedIconGLibType, lib, "g_emblemed_icon_get_type")
166+
158167 core.PuregoSafeRegister(&xNewEmblemedIcon, lib, "g_emblemed_icon_new")
159168
160169 core.PuregoSafeRegister(&xEmblemedIconAddEmblem, lib, "g_emblemed_icon_add_emblem")
M v4/gio/gfile.go +11 -0
@@ -8,6 +8,7 @@ import (
88 "github.com/jwijenbergh/puregotk/internal/core"
99 "github.com/jwijenbergh/puregotk/v4/glib"
1010 "github.com/jwijenbergh/puregotk/v4/gobject"
11+ "github.com/jwijenbergh/puregotk/v4/gobject/types"
1112 )
1213
1314 // An interface for writing VFS file handles.
@@ -233,6 +234,13 @@ type File interface {
233234 UnmountMountableWithOperation(FlagsVar MountUnmountFlags, MountOperationVar *MountOperation, CancellableVar *Cancellable, CallbackVar *AsyncReadyCallback, UserDataVar uintptr)
234235 UnmountMountableWithOperationFinish(ResultVar AsyncResult) bool
235236 }
237+
238+var xFileGLibType func() types.GType
239+
240+func FileGLibType() types.GType {
241+ return xFileGLibType()
242+}
243+
236244 type FileBase struct {
237245 Ptr uintptr
238246 }
@@ -2996,6 +3004,7 @@ func init() {
29963004 if err != nil {
29973005 panic(err)
29983006 }
3007+
29993008 core.PuregoSafeRegister(&xFileNewForCommandlineArg, lib, "g_file_new_for_commandline_arg")
30003009 core.PuregoSafeRegister(&xFileNewForCommandlineArgAndCwd, lib, "g_file_new_for_commandline_arg_and_cwd")
30013010 core.PuregoSafeRegister(&xFileNewForPath, lib, "g_file_new_for_path")
@@ -3003,6 +3012,8 @@ func init() {
30033012 core.PuregoSafeRegister(&xFileNewTmp, lib, "g_file_new_tmp")
30043013 core.PuregoSafeRegister(&xFileParseName, lib, "g_file_parse_name")
30053014
3015+ core.PuregoSafeRegister(&xFileGLibType, lib, "g_file_get_type")
3016+
30063017 core.PuregoSafeRegister(&XGFileAppendTo, lib, "g_file_append_to")
30073018 core.PuregoSafeRegister(&XGFileAppendToAsync, lib, "g_file_append_to_async")
30083019 core.PuregoSafeRegister(&XGFileAppendToFinish, lib, "g_file_append_to_finish")
M v4/gio/gfileattribute.go +9 -0
@@ -6,6 +6,7 @@ import (
66
77 "github.com/jwijenbergh/purego"
88 "github.com/jwijenbergh/puregotk/internal/core"
9+ "github.com/jwijenbergh/puregotk/v4/gobject/types"
910 )
1011
1112 // Information about a specific attribute.
@@ -29,6 +30,12 @@ type FileAttributeInfoList struct {
2930 NInfos int
3031 }
3132
33+var xFileAttributeInfoListGLibType func() types.GType
34+
35+func FileAttributeInfoListGLibType() types.GType {
36+ return xFileAttributeInfoListGLibType()
37+}
38+
3239 func (x *FileAttributeInfoList) GoPointer() uintptr {
3340 return uintptr(unsafe.Pointer(x))
3441 }
@@ -95,6 +102,8 @@ func init() {
95102 panic(err)
96103 }
97104
105+ core.PuregoSafeRegister(&xFileAttributeInfoListGLibType, lib, "g_file_attribute_info_list_get_type")
106+
98107 core.PuregoSafeRegister(&xNewFileAttributeInfoList, lib, "g_file_attribute_info_list_new")
99108
100109 core.PuregoSafeRegister(&xFileAttributeInfoListAdd, lib, "g_file_attribute_info_list_add")
M v4/gio/gfiledescriptorbased.go +10 -0
@@ -6,6 +6,7 @@ import (
66
77 "github.com/jwijenbergh/purego"
88 "github.com/jwijenbergh/puregotk/internal/core"
9+ "github.com/jwijenbergh/puregotk/v4/gobject/types"
910 )
1011
1112 // An interface for file descriptor based io objects.
@@ -28,6 +29,13 @@ type FileDescriptorBased interface {
2829 SetGoPointer(uintptr)
2930 GetFd() int
3031 }
32+
33+var xFileDescriptorBasedGLibType func() types.GType
34+
35+func FileDescriptorBasedGLibType() types.GType {
36+ return xFileDescriptorBasedGLibType()
37+}
38+
3139 type FileDescriptorBasedBase struct {
3240 Ptr uintptr
3341 }
@@ -55,6 +63,8 @@ func init() {
5563 panic(err)
5664 }
5765
66+ core.PuregoSafeRegister(&xFileDescriptorBasedGLibType, lib, "g_file_descriptor_based_get_type")
67+
5868 core.PuregoSafeRegister(&XGFileDescriptorBasedGetFd, lib, "g_file_descriptor_based_get_fd")
5969
6070 }
M v4/gio/gfileenumerator.go +9 -0
@@ -8,6 +8,7 @@ import (
88 "github.com/jwijenbergh/puregotk/internal/core"
99 "github.com/jwijenbergh/puregotk/v4/glib"
1010 "github.com/jwijenbergh/puregotk/v4/gobject"
11+ "github.com/jwijenbergh/puregotk/v4/gobject/types"
1112 )
1213
1314 type FileEnumeratorClass struct {
@@ -55,6 +56,12 @@ type FileEnumerator struct {
5556 gobject.Object
5657 }
5758
59+var xFileEnumeratorGLibType func() types.GType
60+
61+func FileEnumeratorGLibType() types.GType {
62+ return xFileEnumeratorGLibType()
63+}
64+
5865 func FileEnumeratorNewFromInternalPtr(ptr uintptr) *FileEnumerator {
5966 cls := &FileEnumerator{}
6067 cls.Ptr = ptr
@@ -331,6 +338,8 @@ func init() {
331338 panic(err)
332339 }
333340
341+ core.PuregoSafeRegister(&xFileEnumeratorGLibType, lib, "g_file_enumerator_get_type")
342+
334343 core.PuregoSafeRegister(&xFileEnumeratorClose, lib, "g_file_enumerator_close")
335344 core.PuregoSafeRegister(&xFileEnumeratorCloseAsync, lib, "g_file_enumerator_close_async")
336345 core.PuregoSafeRegister(&xFileEnumeratorCloseFinish, lib, "g_file_enumerator_close_finish")
M v4/gio/gfileicon.go +9 -0
@@ -8,6 +8,7 @@ import (
88 "github.com/jwijenbergh/puregotk/internal/core"
99 "github.com/jwijenbergh/puregotk/v4/glib"
1010 "github.com/jwijenbergh/puregotk/v4/gobject"
11+ "github.com/jwijenbergh/puregotk/v4/gobject/types"
1112 )
1213
1314 type FileIconClass struct {
@@ -23,6 +24,12 @@ type FileIcon struct {
2324 gobject.Object
2425 }
2526
27+var xFileIconGLibType func() types.GType
28+
29+func FileIconGLibType() types.GType {
30+ return xFileIconGLibType()
31+}
32+
2633 func FileIconNewFromInternalPtr(ptr uintptr) *FileIcon {
2734 cls := &FileIcon{}
2835 cls.Ptr = ptr
@@ -164,6 +171,8 @@ func init() {
164171 panic(err)
165172 }
166173
174+ core.PuregoSafeRegister(&xFileIconGLibType, lib, "g_file_icon_get_type")
175+
167176 core.PuregoSafeRegister(&xNewFileIcon, lib, "g_file_icon_new")
168177
169178 core.PuregoSafeRegister(&xFileIconGetFile, lib, "g_file_icon_get_file")
M v4/gio/gfileinfo.go +9 -0
@@ -8,6 +8,7 @@ import (
88 "github.com/jwijenbergh/puregotk/internal/core"
99 "github.com/jwijenbergh/puregotk/v4/glib"
1010 "github.com/jwijenbergh/puregotk/v4/gobject"
11+ "github.com/jwijenbergh/puregotk/v4/gobject/types"
1112 )
1213
1314 type FileInfoClass struct {
@@ -598,6 +599,12 @@ type FileInfo struct {
598599 gobject.Object
599600 }
600601
602+var xFileInfoGLibType func() types.GType
603+
604+func FileInfoGLibType() types.GType {
605+ return xFileInfoGLibType()
606+}
607+
601608 func FileInfoNewFromInternalPtr(ptr uintptr) *FileInfo {
602609 cls := &FileInfo{}
603610 cls.Ptr = ptr
@@ -1355,6 +1362,8 @@ func init() {
13551362 panic(err)
13561363 }
13571364
1365+ core.PuregoSafeRegister(&xFileInfoGLibType, lib, "g_file_info_get_type")
1366+
13581367 core.PuregoSafeRegister(&xNewFileInfo, lib, "g_file_info_new")
13591368
13601369 core.PuregoSafeRegister(&xFileInfoClearStatus, lib, "g_file_info_clear_status")
M v4/gio/gfileinputstream.go +9 -0
@@ -7,6 +7,7 @@ import (
77 "github.com/jwijenbergh/purego"
88 "github.com/jwijenbergh/puregotk/internal/core"
99 "github.com/jwijenbergh/puregotk/v4/glib"
10+ "github.com/jwijenbergh/puregotk/v4/gobject/types"
1011 )
1112
1213 type FileInputStreamClass struct {
@@ -37,6 +38,12 @@ type FileInputStream struct {
3738 InputStream
3839 }
3940
41+var xFileInputStreamGLibType func() types.GType
42+
43+func FileInputStreamGLibType() types.GType {
44+ return xFileInputStreamGLibType()
45+}
46+
4047 func FileInputStreamNewFromInternalPtr(ptr uintptr) *FileInputStream {
4148 cls := &FileInputStream{}
4249 cls.Ptr = ptr
@@ -189,6 +196,8 @@ func init() {
189196 panic(err)
190197 }
191198
199+ core.PuregoSafeRegister(&xFileInputStreamGLibType, lib, "g_file_input_stream_get_type")
200+
192201 core.PuregoSafeRegister(&xFileInputStreamQueryInfo, lib, "g_file_input_stream_query_info")
193202 core.PuregoSafeRegister(&xFileInputStreamQueryInfoAsync, lib, "g_file_input_stream_query_info_async")
194203 core.PuregoSafeRegister(&xFileInputStreamQueryInfoFinish, lib, "g_file_input_stream_query_info_finish")
M v4/gio/gfileiostream.go +9 -0
@@ -7,6 +7,7 @@ import (
77 "github.com/jwijenbergh/purego"
88 "github.com/jwijenbergh/puregotk/internal/core"
99 "github.com/jwijenbergh/puregotk/v4/glib"
10+ "github.com/jwijenbergh/puregotk/v4/gobject/types"
1011 )
1112
1213 type FileIOStreamClass struct {
@@ -48,6 +49,12 @@ type FileIOStream struct {
4849 IOStream
4950 }
5051
52+var xFileIOStreamGLibType func() types.GType
53+
54+func FileIOStreamGLibType() types.GType {
55+ return xFileIOStreamGLibType()
56+}
57+
5158 func FileIOStreamNewFromInternalPtr(ptr uintptr) *FileIOStream {
5259 cls := &FileIOStream{}
5360 cls.Ptr = ptr
@@ -219,6 +226,8 @@ func init() {
219226 panic(err)
220227 }
221228
229+ core.PuregoSafeRegister(&xFileIOStreamGLibType, lib, "g_file_io_stream_get_type")
230+
222231 core.PuregoSafeRegister(&xFileIOStreamGetEtag, lib, "g_file_io_stream_get_etag")
223232 core.PuregoSafeRegister(&xFileIOStreamQueryInfo, lib, "g_file_io_stream_query_info")
224233 core.PuregoSafeRegister(&xFileIOStreamQueryInfoAsync, lib, "g_file_io_stream_query_info_async")
M v4/gio/gfilemonitor.go +9 -0
@@ -8,6 +8,7 @@ import (
88 "github.com/jwijenbergh/puregotk/internal/core"
99 "github.com/jwijenbergh/puregotk/v4/glib"
1010 "github.com/jwijenbergh/puregotk/v4/gobject"
11+ "github.com/jwijenbergh/puregotk/v4/gobject/types"
1112 )
1213
1314 type FileMonitorClass struct {
@@ -43,6 +44,12 @@ type FileMonitor struct {
4344 gobject.Object
4445 }
4546
47+var xFileMonitorGLibType func() types.GType
48+
49+func FileMonitorGLibType() types.GType {
50+ return xFileMonitorGLibType()
51+}
52+
4653 func FileMonitorNewFromInternalPtr(ptr uintptr) *FileMonitor {
4754 cls := &FileMonitor{}
4855 cls.Ptr = ptr
@@ -153,6 +160,8 @@ func init() {
153160 panic(err)
154161 }
155162
163+ core.PuregoSafeRegister(&xFileMonitorGLibType, lib, "g_file_monitor_get_type")
164+
156165 core.PuregoSafeRegister(&xFileMonitorCancel, lib, "g_file_monitor_cancel")
157166 core.PuregoSafeRegister(&xFileMonitorEmitEvent, lib, "g_file_monitor_emit_event")
158167 core.PuregoSafeRegister(&xFileMonitorIsCancelled, lib, "g_file_monitor_is_cancelled")
M v4/gio/gfilenamecompleter.go +9 -0
@@ -8,6 +8,7 @@ import (
88 "github.com/jwijenbergh/puregotk/internal/core"
99 "github.com/jwijenbergh/puregotk/v4/glib"
1010 "github.com/jwijenbergh/puregotk/v4/gobject"
11+ "github.com/jwijenbergh/puregotk/v4/gobject/types"
1112 )
1213
1314 type FilenameCompleterClass struct {
@@ -25,6 +26,12 @@ type FilenameCompleter struct {
2526 gobject.Object
2627 }
2728
29+var xFilenameCompleterGLibType func() types.GType
30+
31+func FilenameCompleterGLibType() types.GType {
32+ return xFilenameCompleterGLibType()
33+}
34+
2835 func FilenameCompleterNewFromInternalPtr(ptr uintptr) *FilenameCompleter {
2936 cls := &FilenameCompleter{}
3037 cls.Ptr = ptr
@@ -109,6 +116,8 @@ func init() {
109116 panic(err)
110117 }
111118
119+ core.PuregoSafeRegister(&xFilenameCompleterGLibType, lib, "g_filename_completer_get_type")
120+
112121 core.PuregoSafeRegister(&xNewFilenameCompleter, lib, "g_filename_completer_new")
113122
114123 core.PuregoSafeRegister(&xFilenameCompleterGetCompletionSuffix, lib, "g_filename_completer_get_completion_suffix")
M v4/gio/gfileoutputstream.go +9 -0
@@ -7,6 +7,7 @@ import (
77 "github.com/jwijenbergh/purego"
88 "github.com/jwijenbergh/puregotk/internal/core"
99 "github.com/jwijenbergh/puregotk/v4/glib"
10+ "github.com/jwijenbergh/puregotk/v4/gobject/types"
1011 )
1112
1213 type FileOutputStreamClass struct {
@@ -42,6 +43,12 @@ type FileOutputStream struct {
4243 OutputStream
4344 }
4445
46+var xFileOutputStreamGLibType func() types.GType
47+
48+func FileOutputStreamGLibType() types.GType {
49+ return xFileOutputStreamGLibType()
50+}
51+
4552 func FileOutputStreamNewFromInternalPtr(ptr uintptr) *FileOutputStream {
4653 cls := &FileOutputStream{}
4754 cls.Ptr = ptr
@@ -213,6 +220,8 @@ func init() {
213220 panic(err)
214221 }
215222
223+ core.PuregoSafeRegister(&xFileOutputStreamGLibType, lib, "g_file_output_stream_get_type")
224+
216225 core.PuregoSafeRegister(&xFileOutputStreamGetEtag, lib, "g_file_output_stream_get_etag")
217226 core.PuregoSafeRegister(&xFileOutputStreamQueryInfo, lib, "g_file_output_stream_query_info")
218227 core.PuregoSafeRegister(&xFileOutputStreamQueryInfoAsync, lib, "g_file_output_stream_query_info_async")
M v4/gio/gfilterinputstream.go +9 -0
@@ -7,6 +7,7 @@ import (
77 "github.com/jwijenbergh/purego"
88 "github.com/jwijenbergh/puregotk/internal/core"
99 "github.com/jwijenbergh/puregotk/v4/gobject"
10+ "github.com/jwijenbergh/puregotk/v4/gobject/types"
1011 )
1112
1213 type FilterInputStreamClass struct {
@@ -25,6 +26,12 @@ type FilterInputStream struct {
2526 InputStream
2627 }
2728
29+var xFilterInputStreamGLibType func() types.GType
30+
31+func FilterInputStreamGLibType() types.GType {
32+ return xFilterInputStreamGLibType()
33+}
34+
2835 func FilterInputStreamNewFromInternalPtr(ptr uintptr) *FilterInputStream {
2936 cls := &FilterInputStream{}
3037 cls.Ptr = ptr
@@ -81,6 +88,8 @@ func init() {
8188 panic(err)
8289 }
8390
91+ core.PuregoSafeRegister(&xFilterInputStreamGLibType, lib, "g_filter_input_stream_get_type")
92+
8493 core.PuregoSafeRegister(&xFilterInputStreamGetBaseStream, lib, "g_filter_input_stream_get_base_stream")
8594 core.PuregoSafeRegister(&xFilterInputStreamGetCloseBaseStream, lib, "g_filter_input_stream_get_close_base_stream")
8695 core.PuregoSafeRegister(&xFilterInputStreamSetCloseBaseStream, lib, "g_filter_input_stream_set_close_base_stream")
M v4/gio/gfilteroutputstream.go +9 -0
@@ -7,6 +7,7 @@ import (
77 "github.com/jwijenbergh/purego"
88 "github.com/jwijenbergh/puregotk/internal/core"
99 "github.com/jwijenbergh/puregotk/v4/gobject"
10+ "github.com/jwijenbergh/puregotk/v4/gobject/types"
1011 )
1112
1213 type FilterOutputStreamClass struct {
@@ -25,6 +26,12 @@ type FilterOutputStream struct {
2526 OutputStream
2627 }
2728
29+var xFilterOutputStreamGLibType func() types.GType
30+
31+func FilterOutputStreamGLibType() types.GType {
32+ return xFilterOutputStreamGLibType()
33+}
34+
2835 func FilterOutputStreamNewFromInternalPtr(ptr uintptr) *FilterOutputStream {
2936 cls := &FilterOutputStream{}
3037 cls.Ptr = ptr
@@ -81,6 +88,8 @@ func init() {
8188 panic(err)
8289 }
8390
91+ core.PuregoSafeRegister(&xFilterOutputStreamGLibType, lib, "g_filter_output_stream_get_type")
92+
8493 core.PuregoSafeRegister(&xFilterOutputStreamGetBaseStream, lib, "g_filter_output_stream_get_base_stream")
8594 core.PuregoSafeRegister(&xFilterOutputStreamGetCloseBaseStream, lib, "g_filter_output_stream_get_close_base_stream")
8695 core.PuregoSafeRegister(&xFilterOutputStreamSetCloseBaseStream, lib, "g_filter_output_stream_set_close_base_stream")
M v4/gio/gicon.go +11 -0
@@ -7,6 +7,7 @@ import (
77 "github.com/jwijenbergh/purego"
88 "github.com/jwijenbergh/puregotk/internal/core"
99 "github.com/jwijenbergh/puregotk/v4/glib"
10+ "github.com/jwijenbergh/puregotk/v4/gobject/types"
1011 )
1112
1213 // GIconIface is used to implement GIcon types for various
@@ -55,6 +56,13 @@ type Icon interface {
5556 Serialize() *glib.Variant
5657 ToString() string
5758 }
59+
60+var xIconGLibType func() types.GType
61+
62+func IconGLibType() types.GType {
63+ return xIconGLibType()
64+}
65+
5866 type IconBase struct {
5967 Ptr uintptr
6068 }
@@ -167,10 +175,13 @@ func init() {
167175 if err != nil {
168176 panic(err)
169177 }
178+
170179 core.PuregoSafeRegister(&xIconDeserialize, lib, "g_icon_deserialize")
171180 core.PuregoSafeRegister(&xIconHash, lib, "g_icon_hash")
172181 core.PuregoSafeRegister(&xIconNewForString, lib, "g_icon_new_for_string")
173182
183+ core.PuregoSafeRegister(&xIconGLibType, lib, "g_icon_get_type")
184+
174185 core.PuregoSafeRegister(&XGIconEqual, lib, "g_icon_equal")
175186 core.PuregoSafeRegister(&XGIconSerialize, lib, "g_icon_serialize")
176187 core.PuregoSafeRegister(&XGIconToString, lib, "g_icon_to_string")
M v4/gio/ginetaddress.go +9 -0
@@ -7,6 +7,7 @@ import (
77 "github.com/jwijenbergh/purego"
88 "github.com/jwijenbergh/puregotk/internal/core"
99 "github.com/jwijenbergh/puregotk/v4/gobject"
10+ "github.com/jwijenbergh/puregotk/v4/gobject/types"
1011 )
1112
1213 type InetAddressClass struct {
@@ -38,6 +39,12 @@ type InetAddress struct {
3839 gobject.Object
3940 }
4041
42+var xInetAddressGLibType func() types.GType
43+
44+func InetAddressGLibType() types.GType {
45+ return xInetAddressGLibType()
46+}
47+
4148 func InetAddressNewFromInternalPtr(ptr uintptr) *InetAddress {
4249 cls := &InetAddress{}
4350 cls.Ptr = ptr
@@ -266,6 +273,8 @@ func init() {
266273 panic(err)
267274 }
268275
276+ core.PuregoSafeRegister(&xInetAddressGLibType, lib, "g_inet_address_get_type")
277+
269278 core.PuregoSafeRegister(&xNewInetAddressAny, lib, "g_inet_address_new_any")
270279 core.PuregoSafeRegister(&xNewInetAddressFromBytes, lib, "g_inet_address_new_from_bytes")
271280 core.PuregoSafeRegister(&xNewInetAddressFromString, lib, "g_inet_address_new_from_string")
M v4/gio/ginetaddressmask.go +9 -0
@@ -8,6 +8,7 @@ import (
88 "github.com/jwijenbergh/puregotk/internal/core"
99 "github.com/jwijenbergh/puregotk/v4/glib"
1010 "github.com/jwijenbergh/puregotk/v4/gobject"
11+ "github.com/jwijenbergh/puregotk/v4/gobject/types"
1112 )
1213
1314 type InetAddressMaskClass struct {
@@ -33,6 +34,12 @@ type InetAddressMask struct {
3334 gobject.Object
3435 }
3536
37+var xInetAddressMaskGLibType func() types.GType
38+
39+func InetAddressMaskGLibType() types.GType {
40+ return xInetAddressMaskGLibType()
41+}
42+
3643 func InetAddressMaskNewFromInternalPtr(ptr uintptr) *InetAddressMask {
3744 cls := &InetAddressMask{}
3845 cls.Ptr = ptr
@@ -210,6 +217,8 @@ func init() {
210217 panic(err)
211218 }
212219
220+ core.PuregoSafeRegister(&xInetAddressMaskGLibType, lib, "g_inet_address_mask_get_type")
221+
213222 core.PuregoSafeRegister(&xNewInetAddressMask, lib, "g_inet_address_mask_new")
214223 core.PuregoSafeRegister(&xNewInetAddressMaskFromString, lib, "g_inet_address_mask_new_from_string")
215224
M v4/gio/ginetsocketaddress.go +9 -0
@@ -7,6 +7,7 @@ import (
77 "github.com/jwijenbergh/purego"
88 "github.com/jwijenbergh/puregotk/internal/core"
99 "github.com/jwijenbergh/puregotk/v4/gobject"
10+ "github.com/jwijenbergh/puregotk/v4/gobject/types"
1011 )
1112
1213 type InetSocketAddressClass struct {
@@ -30,6 +31,12 @@ type InetSocketAddress struct {
3031 SocketAddress
3132 }
3233
34+var xInetSocketAddressGLibType func() types.GType
35+
36+func InetSocketAddressGLibType() types.GType {
37+ return xInetSocketAddressGLibType()
38+}
39+
3340 func InetSocketAddressNewFromInternalPtr(ptr uintptr) *InetSocketAddress {
3441 cls := &InetSocketAddress{}
3542 cls.Ptr = ptr
@@ -178,6 +185,8 @@ func init() {
178185 panic(err)
179186 }
180187
188+ core.PuregoSafeRegister(&xInetSocketAddressGLibType, lib, "g_inet_socket_address_get_type")
189+
181190 core.PuregoSafeRegister(&xNewInetSocketAddress, lib, "g_inet_socket_address_new")
182191 core.PuregoSafeRegister(&xNewInetSocketAddressFromString, lib, "g_inet_socket_address_new_from_string")
183192
M v4/gio/ginitable.go +10 -0
@@ -50,6 +50,13 @@ type Initable interface {
5050 SetGoPointer(uintptr)
5151 Init(CancellableVar *Cancellable) bool
5252 }
53+
54+var xInitableGLibType func() types.GType
55+
56+func InitableGLibType() types.GType {
57+ return xInitableGLibType()
58+}
59+
5360 type InitableBase struct {
5461 Ptr uintptr
5562 }
@@ -141,8 +148,11 @@ func init() {
141148 if err != nil {
142149 panic(err)
143150 }
151+
144152 core.PuregoSafeRegister(&xInitableNewv, lib, "g_initable_newv")
145153
154+ core.PuregoSafeRegister(&xInitableGLibType, lib, "g_initable_get_type")
155+
146156 core.PuregoSafeRegister(&XGInitableInit, lib, "g_initable_init")
147157
148158 }
M v4/gio/ginputstream.go +9 -0
@@ -8,6 +8,7 @@ import (
88 "github.com/jwijenbergh/puregotk/internal/core"
99 "github.com/jwijenbergh/puregotk/v4/glib"
1010 "github.com/jwijenbergh/puregotk/v4/gobject"
11+ "github.com/jwijenbergh/puregotk/v4/gobject/types"
1112 )
1213
1314 type InputStreamClass struct {
@@ -40,6 +41,12 @@ type InputStream struct {
4041 gobject.Object
4142 }
4243
44+var xInputStreamGLibType func() types.GType
45+
46+func InputStreamGLibType() types.GType {
47+ return xInputStreamGLibType()
48+}
49+
4350 func InputStreamNewFromInternalPtr(ptr uintptr) *InputStream {
4451 cls := &InputStream{}
4552 cls.Ptr = ptr
@@ -472,6 +479,8 @@ func init() {
472479 panic(err)
473480 }
474481
482+ core.PuregoSafeRegister(&xInputStreamGLibType, lib, "g_input_stream_get_type")
483+
475484 core.PuregoSafeRegister(&xInputStreamClearPending, lib, "g_input_stream_clear_pending")
476485 core.PuregoSafeRegister(&xInputStreamClose, lib, "g_input_stream_close")
477486 core.PuregoSafeRegister(&xInputStreamCloseAsync, lib, "g_input_stream_close_async")
M v4/gio/gio-2.0.go +154 -0
@@ -8,6 +8,7 @@ import (
88 "github.com/jwijenbergh/puregotk/internal/core"
99 "github.com/jwijenbergh/puregotk/v4/glib"
1010 "github.com/jwijenbergh/puregotk/v4/gobject"
11+ "github.com/jwijenbergh/puregotk/v4/gobject/types"
1112 )
1213
1314 var xIoErrorQuark func() glib.Quark
@@ -76,6 +77,12 @@ type AppInfoMonitor struct {
7677 gobject.Object
7778 }
7879
80+var xAppInfoMonitorGLibType func() types.GType
81+
82+func AppInfoMonitorGLibType() types.GType {
83+ return xAppInfoMonitorGLibType()
84+}
85+
7986 func AppInfoMonitorNewFromInternalPtr(ptr uintptr) *AppInfoMonitor {
8087 cls := &AppInfoMonitor{}
8188 cls.Ptr = ptr
@@ -141,6 +148,12 @@ type BytesIcon struct {
141148 gobject.Object
142149 }
143150
151+var xBytesIconGLibType func() types.GType
152+
153+func BytesIconGLibType() types.GType {
154+ return xBytesIconGLibType()
155+}
156+
144157 func BytesIconNewFromInternalPtr(ptr uintptr) *BytesIcon {
145158 cls := &BytesIcon{}
146159 cls.Ptr = ptr
@@ -278,6 +291,12 @@ type DBusActionGroup struct {
278291 gobject.Object
279292 }
280293
294+var xDBusActionGroupGLibType func() types.GType
295+
296+func DBusActionGroupGLibType() types.GType {
297+ return xDBusActionGroupGLibType()
298+}
299+
281300 func DBusActionGroupNewFromInternalPtr(ptr uintptr) *DBusActionGroup {
282301 cls := &DBusActionGroup{}
283302 cls.Ptr = ptr
@@ -653,6 +672,12 @@ type DBusAuthObserver struct {
653672 gobject.Object
654673 }
655674
675+var xDBusAuthObserverGLibType func() types.GType
676+
677+func DBusAuthObserverGLibType() types.GType {
678+ return xDBusAuthObserverGLibType()
679+}
680+
656681 func DBusAuthObserverNewFromInternalPtr(ptr uintptr) *DBusAuthObserver {
657682 cls := &DBusAuthObserver{}
658683 cls.Ptr = ptr
@@ -795,6 +820,12 @@ type DBusConnection struct {
795820 gobject.Object
796821 }
797822
823+var xDBusConnectionGLibType func() types.GType
824+
825+func DBusConnectionGLibType() types.GType {
826+ return xDBusConnectionGLibType()
827+}
828+
798829 func DBusConnectionNewFromInternalPtr(ptr uintptr) *DBusConnection {
799830 cls := &DBusConnection{}
800831 cls.Ptr = ptr
@@ -2114,6 +2145,12 @@ type DBusMenuModel struct {
21142145 MenuModel
21152146 }
21162147
2148+var xDBusMenuModelGLibType func() types.GType
2149+
2150+func DBusMenuModelGLibType() types.GType {
2151+ return xDBusMenuModelGLibType()
2152+}
2153+
21172154 func DBusMenuModelNewFromInternalPtr(ptr uintptr) *DBusMenuModel {
21182155 cls := &DBusMenuModel{}
21192156 cls.Ptr = ptr
@@ -2157,6 +2194,12 @@ type DBusMessage struct {
21572194 gobject.Object
21582195 }
21592196
2197+var xDBusMessageGLibType func() types.GType
2198+
2199+func DBusMessageGLibType() types.GType {
2200+ return xDBusMessageGLibType()
2201+}
2202+
21602203 func DBusMessageNewFromInternalPtr(ptr uintptr) *DBusMessage {
21612204 cls := &DBusMessage{}
21622205 cls.Ptr = ptr
@@ -2807,6 +2850,12 @@ type DBusMethodInvocation struct {
28072850 gobject.Object
28082851 }
28092852
2853+var xDBusMethodInvocationGLibType func() types.GType
2854+
2855+func DBusMethodInvocationGLibType() types.GType {
2856+ return xDBusMethodInvocationGLibType()
2857+}
2858+
28102859 func DBusMethodInvocationNewFromInternalPtr(ptr uintptr) *DBusMethodInvocation {
28112860 cls := &DBusMethodInvocation{}
28122861 cls.Ptr = ptr
@@ -3131,6 +3180,12 @@ type DBusServer struct {
31313180 gobject.Object
31323181 }
31333182
3183+var xDBusServerGLibType func() types.GType
3184+
3185+func DBusServerGLibType() types.GType {
3186+ return xDBusServerGLibType()
3187+}
3188+
31343189 func DBusServerNewFromInternalPtr(ptr uintptr) *DBusServer {
31353190 cls := &DBusServer{}
31363191 cls.Ptr = ptr
@@ -3344,6 +3399,12 @@ type Menu struct {
33443399 MenuModel
33453400 }
33463401
3402+var xMenuGLibType func() types.GType
3403+
3404+func MenuGLibType() types.GType {
3405+ return xMenuGLibType()
3406+}
3407+
33473408 func MenuNewFromInternalPtr(ptr uintptr) *Menu {
33483409 cls := &Menu{}
33493410 cls.Ptr = ptr
@@ -3571,6 +3632,12 @@ type MenuItem struct {
35713632 gobject.Object
35723633 }
35733634
3635+var xMenuItemGLibType func() types.GType
3636+
3637+func MenuItemGLibType() types.GType {
3638+ return xMenuItemGLibType()
3639+}
3640+
35743641 func MenuItemNewFromInternalPtr(ptr uintptr) *MenuItem {
35753642 cls := &MenuItem{}
35763643 cls.Ptr = ptr
@@ -4044,6 +4111,12 @@ type Notification struct {
40444111 gobject.Object
40454112 }
40464113
4114+var xNotificationGLibType func() types.GType
4115+
4116+func NotificationGLibType() types.GType {
4117+ return xNotificationGLibType()
4118+}
4119+
40474120 func NotificationNewFromInternalPtr(ptr uintptr) *Notification {
40484121 cls := &Notification{}
40494122 cls.Ptr = ptr
@@ -4293,6 +4366,12 @@ type PropertyAction struct {
42934366 gobject.Object
42944367 }
42954368
4369+var xPropertyActionGLibType func() types.GType
4370+
4371+func PropertyActionGLibType() types.GType {
4372+ return xPropertyActionGLibType()
4373+}
4374+
42964375 func PropertyActionNewFromInternalPtr(ptr uintptr) *PropertyAction {
42974376 cls := &PropertyAction{}
42984377 cls.Ptr = ptr
@@ -4455,6 +4534,12 @@ type SimpleAction struct {
44554534 gobject.Object
44564535 }
44574536
4537+var xSimpleActionGLibType func() types.GType
4538+
4539+func SimpleActionGLibType() types.GType {
4540+ return xSimpleActionGLibType()
4541+}
4542+
44584543 func SimpleActionNewFromInternalPtr(ptr uintptr) *SimpleAction {
44594544 cls := &SimpleAction{}
44604545 cls.Ptr = ptr
@@ -4769,6 +4854,12 @@ type SimpleIOStream struct {
47694854 IOStream
47704855 }
47714856
4857+var xSimpleIOStreamGLibType func() types.GType
4858+
4859+func SimpleIOStreamGLibType() types.GType {
4860+ return xSimpleIOStreamGLibType()
4861+}
4862+
47724863 func SimpleIOStreamNewFromInternalPtr(ptr uintptr) *SimpleIOStream {
47734864 cls := &SimpleIOStream{}
47744865 cls.Ptr = ptr
@@ -4809,6 +4900,12 @@ type SimplePermission struct {
48094900 Permission
48104901 }
48114902
4903+var xSimplePermissionGLibType func() types.GType
4904+
4905+func SimplePermissionGLibType() types.GType {
4906+ return xSimplePermissionGLibType()
4907+}
4908+
48124909 func SimplePermissionNewFromInternalPtr(ptr uintptr) *SimplePermission {
48134910 cls := &SimplePermission{}
48144911 cls.Ptr = ptr
@@ -4901,6 +4998,12 @@ type Subprocess struct {
49014998 gobject.Object
49024999 }
49035000
5001+var xSubprocessGLibType func() types.GType
5002+
5003+func SubprocessGLibType() types.GType {
5004+ return xSubprocessGLibType()
5005+}
5006+
49045007 func SubprocessNewFromInternalPtr(ptr uintptr) *Subprocess {
49055008 cls := &Subprocess{}
49065009 cls.Ptr = ptr
@@ -5428,6 +5531,12 @@ type SubprocessLauncher struct {
54285531 gobject.Object
54295532 }
54305533
5534+var xSubprocessLauncherGLibType func() types.GType
5535+
5536+func SubprocessLauncherGLibType() types.GType {
5537+ return xSubprocessLauncherGLibType()
5538+}
5539+
54315540 func SubprocessLauncherNewFromInternalPtr(ptr uintptr) *SubprocessLauncher {
54325541 cls := &SubprocessLauncher{}
54335542 cls.Ptr = ptr
@@ -5876,6 +5985,12 @@ type TestDBus struct {
58765985 gobject.Object
58775986 }
58785987
5988+var xTestDBusGLibType func() types.GType
5989+
5990+func TestDBusGLibType() types.GType {
5991+ return xTestDBusGLibType()
5992+}
5993+
58795994 func TestDBusNewFromInternalPtr(ptr uintptr) *TestDBus {
58805995 cls := &TestDBus{}
58815996 cls.Ptr = ptr
@@ -5998,25 +6113,36 @@ func init() {
59986113 if err != nil {
59996114 panic(err)
60006115 }
6116+
60016117 core.PuregoSafeRegister(&xIoErrorQuark, lib, "g_io_error_quark")
60026118 core.PuregoSafeRegister(&xResolverErrorQuark, lib, "g_resolver_error_quark")
60036119 core.PuregoSafeRegister(&xResourceErrorQuark, lib, "g_resource_error_quark")
60046120 core.PuregoSafeRegister(&xTlsChannelBindingErrorQuark, lib, "g_tls_channel_binding_error_quark")
60056121 core.PuregoSafeRegister(&xTlsErrorQuark, lib, "g_tls_error_quark")
60066122
6123+ core.PuregoSafeRegister(&xAppInfoMonitorGLibType, lib, "g_app_info_monitor_get_type")
6124+
60076125 core.PuregoSafeRegister(&xAppInfoMonitorGet, lib, "g_app_info_monitor_get")
60086126
6127+ core.PuregoSafeRegister(&xBytesIconGLibType, lib, "g_bytes_icon_get_type")
6128+
60096129 core.PuregoSafeRegister(&xNewBytesIcon, lib, "g_bytes_icon_new")
60106130
60116131 core.PuregoSafeRegister(&xBytesIconGetBytes, lib, "g_bytes_icon_get_bytes")
60126132
6133+ core.PuregoSafeRegister(&xDBusActionGroupGLibType, lib, "g_dbus_action_group_get_type")
6134+
60136135 core.PuregoSafeRegister(&xDBusActionGroupGet, lib, "g_dbus_action_group_get")
60146136
6137+ core.PuregoSafeRegister(&xDBusAuthObserverGLibType, lib, "g_dbus_auth_observer_get_type")
6138+
60156139 core.PuregoSafeRegister(&xNewDBusAuthObserver, lib, "g_dbus_auth_observer_new")
60166140
60176141 core.PuregoSafeRegister(&xDBusAuthObserverAllowMechanism, lib, "g_dbus_auth_observer_allow_mechanism")
60186142 core.PuregoSafeRegister(&xDBusAuthObserverAuthorizeAuthenticatedPeer, lib, "g_dbus_auth_observer_authorize_authenticated_peer")
60196143
6144+ core.PuregoSafeRegister(&xDBusConnectionGLibType, lib, "g_dbus_connection_get_type")
6145+
60206146 core.PuregoSafeRegister(&xNewDBusConnectionFinish, lib, "g_dbus_connection_new_finish")
60216147 core.PuregoSafeRegister(&xNewDBusConnectionForAddressFinish, lib, "g_dbus_connection_new_for_address_finish")
60226148 core.PuregoSafeRegister(&xNewDBusConnectionForAddressSync, lib, "g_dbus_connection_new_for_address_sync")
@@ -6067,8 +6193,12 @@ func init() {
60676193 core.PuregoSafeRegister(&xDBusConnectionNew, lib, "g_dbus_connection_new")
60686194 core.PuregoSafeRegister(&xDBusConnectionNewForAddress, lib, "g_dbus_connection_new_for_address")
60696195
6196+ core.PuregoSafeRegister(&xDBusMenuModelGLibType, lib, "g_dbus_menu_model_get_type")
6197+
60706198 core.PuregoSafeRegister(&xDBusMenuModelGet, lib, "g_dbus_menu_model_get")
60716199
6200+ core.PuregoSafeRegister(&xDBusMessageGLibType, lib, "g_dbus_message_get_type")
6201+
60726202 core.PuregoSafeRegister(&xNewDBusMessage, lib, "g_dbus_message_new")
60736203 core.PuregoSafeRegister(&xNewDBusMessageFromBlob, lib, "g_dbus_message_new_from_blob")
60746204 core.PuregoSafeRegister(&xNewDBusMessageMethodCall, lib, "g_dbus_message_new_method_call")
@@ -6121,6 +6251,8 @@ func init() {
61216251
61226252 core.PuregoSafeRegister(&xDBusMessageBytesNeeded, lib, "g_dbus_message_bytes_needed")
61236253
6254+ core.PuregoSafeRegister(&xDBusMethodInvocationGLibType, lib, "g_dbus_method_invocation_get_type")
6255+
61246256 core.PuregoSafeRegister(&xDBusMethodInvocationGetConnection, lib, "g_dbus_method_invocation_get_connection")
61256257 core.PuregoSafeRegister(&xDBusMethodInvocationGetInterfaceName, lib, "g_dbus_method_invocation_get_interface_name")
61266258 core.PuregoSafeRegister(&xDBusMethodInvocationGetMessage, lib, "g_dbus_method_invocation_get_message")
@@ -6140,6 +6272,8 @@ func init() {
61406272 core.PuregoSafeRegister(&xDBusMethodInvocationReturnValueWithUnixFdList, lib, "g_dbus_method_invocation_return_value_with_unix_fd_list")
61416273 core.PuregoSafeRegister(&xDBusMethodInvocationTakeError, lib, "g_dbus_method_invocation_take_error")
61426274
6275+ core.PuregoSafeRegister(&xDBusServerGLibType, lib, "g_dbus_server_get_type")
6276+
61436277 core.PuregoSafeRegister(&xNewDBusServerSync, lib, "g_dbus_server_new_sync")
61446278
61456279 core.PuregoSafeRegister(&xDBusServerGetClientAddress, lib, "g_dbus_server_get_client_address")
@@ -6149,6 +6283,8 @@ func init() {
61496283 core.PuregoSafeRegister(&xDBusServerStart, lib, "g_dbus_server_start")
61506284 core.PuregoSafeRegister(&xDBusServerStop, lib, "g_dbus_server_stop")
61516285
6286+ core.PuregoSafeRegister(&xMenuGLibType, lib, "g_menu_get_type")
6287+
61526288 core.PuregoSafeRegister(&xNewMenu, lib, "g_menu_new")
61536289
61546290 core.PuregoSafeRegister(&xMenuAppend, lib, "g_menu_append")
@@ -6167,6 +6303,8 @@ func init() {
61676303 core.PuregoSafeRegister(&xMenuRemove, lib, "g_menu_remove")
61686304 core.PuregoSafeRegister(&xMenuRemoveAll, lib, "g_menu_remove_all")
61696305
6306+ core.PuregoSafeRegister(&xMenuItemGLibType, lib, "g_menu_item_get_type")
6307+
61706308 core.PuregoSafeRegister(&xNewMenuItem, lib, "g_menu_item_new")
61716309 core.PuregoSafeRegister(&xNewMenuItemFromModel, lib, "g_menu_item_new_from_model")
61726310 core.PuregoSafeRegister(&xNewMenuItemSection, lib, "g_menu_item_new_section")
@@ -6186,6 +6324,8 @@ func init() {
61866324 core.PuregoSafeRegister(&xMenuItemSetSection, lib, "g_menu_item_set_section")
61876325 core.PuregoSafeRegister(&xMenuItemSetSubmenu, lib, "g_menu_item_set_submenu")
61886326
6327+ core.PuregoSafeRegister(&xNotificationGLibType, lib, "g_notification_get_type")
6328+
61896329 core.PuregoSafeRegister(&xNewNotification, lib, "g_notification_new")
61906330
61916331 core.PuregoSafeRegister(&xNotificationAddButton, lib, "g_notification_add_button")
@@ -6201,8 +6341,12 @@ func init() {
62016341 core.PuregoSafeRegister(&xNotificationSetTitle, lib, "g_notification_set_title")
62026342 core.PuregoSafeRegister(&xNotificationSetUrgent, lib, "g_notification_set_urgent")
62036343
6344+ core.PuregoSafeRegister(&xPropertyActionGLibType, lib, "g_property_action_get_type")
6345+
62046346 core.PuregoSafeRegister(&xNewPropertyAction, lib, "g_property_action_new")
62056347
6348+ core.PuregoSafeRegister(&xSimpleActionGLibType, lib, "g_simple_action_get_type")
6349+
62066350 core.PuregoSafeRegister(&xNewSimpleAction, lib, "g_simple_action_new")
62076351 core.PuregoSafeRegister(&xNewSimpleActionStateful, lib, "g_simple_action_new_stateful")
62086352
@@ -6210,10 +6354,16 @@ func init() {
62106354 core.PuregoSafeRegister(&xSimpleActionSetState, lib, "g_simple_action_set_state")
62116355 core.PuregoSafeRegister(&xSimpleActionSetStateHint, lib, "g_simple_action_set_state_hint")
62126356
6357+ core.PuregoSafeRegister(&xSimpleIOStreamGLibType, lib, "g_simple_io_stream_get_type")
6358+
62136359 core.PuregoSafeRegister(&xNewSimpleIOStream, lib, "g_simple_io_stream_new")
62146360
6361+ core.PuregoSafeRegister(&xSimplePermissionGLibType, lib, "g_simple_permission_get_type")
6362+
62156363 core.PuregoSafeRegister(&xNewSimplePermission, lib, "g_simple_permission_new")
62166364
6365+ core.PuregoSafeRegister(&xSubprocessGLibType, lib, "g_subprocess_get_type")
6366+
62176367 core.PuregoSafeRegister(&xNewSubprocess, lib, "g_subprocess_new")
62186368 core.PuregoSafeRegister(&xNewSubprocessv, lib, "g_subprocess_newv")
62196369
@@ -6242,6 +6392,8 @@ func init() {
62426392 core.PuregoSafeRegister(&xSubprocessWaitCheckFinish, lib, "g_subprocess_wait_check_finish")
62436393 core.PuregoSafeRegister(&xSubprocessWaitFinish, lib, "g_subprocess_wait_finish")
62446394
6395+ core.PuregoSafeRegister(&xSubprocessLauncherGLibType, lib, "g_subprocess_launcher_get_type")
6396+
62456397 core.PuregoSafeRegister(&xNewSubprocessLauncher, lib, "g_subprocess_launcher_new")
62466398
62476399 core.PuregoSafeRegister(&xSubprocessLauncherClose, lib, "g_subprocess_launcher_close")
@@ -6262,6 +6414,8 @@ func init() {
62626414 core.PuregoSafeRegister(&xSubprocessLauncherTakeStdoutFd, lib, "g_subprocess_launcher_take_stdout_fd")
62636415 core.PuregoSafeRegister(&xSubprocessLauncherUnsetenv, lib, "g_subprocess_launcher_unsetenv")
62646416
6417+ core.PuregoSafeRegister(&xTestDBusGLibType, lib, "g_test_dbus_get_type")
6418+
62656419 core.PuregoSafeRegister(&xNewTestDBus, lib, "g_test_dbus_new")
62666420
62676421 core.PuregoSafeRegister(&xTestDBusAddServiceDir, lib, "g_test_dbus_add_service_dir")
M v4/gio/gioenums.go +482 -0
@@ -1,9 +1,17 @@
11 // Package gio was automatically generated by github.com/jwijenbergh/puregotk DO NOT EDIT
22 package gio
33
4+import "github.com/jwijenbergh/puregotk/v4/gobject/types"
5+
46 // Flags used when creating a #GAppInfo.
57 type AppInfoCreateFlags int
68
9+var xAppInfoCreateFlagsGLibType func() types.GType
10+
11+func AppInfoCreateFlagsGLibType() types.GType {
12+ return xAppInfoCreateFlagsGLibType()
13+}
14+
715 const (
816
917 // No flags.
@@ -19,6 +27,12 @@ const (
1927 // Flags used to define the behaviour of a #GApplication.
2028 type ApplicationFlags int
2129
30+var xApplicationFlagsGLibType func() types.GType
31+
32+func ApplicationFlagsGLibType() types.GType {
33+ return xApplicationFlagsGLibType()
34+}
35+
2236 const (
2337
2438 // Default
@@ -75,6 +89,12 @@ const (
7589 // situation.
7690 type AskPasswordFlags int
7791
92+var xAskPasswordFlagsGLibType func() types.GType
93+
94+func AskPasswordFlagsGLibType() types.GType {
95+ return xAskPasswordFlagsGLibType()
96+}
97+
7898 const (
7999
80100 // operation requires a password.
@@ -94,6 +114,12 @@ const (
94114 // Flags used in g_bus_own_name().
95115 type BusNameOwnerFlags int
96116
117+var xBusNameOwnerFlagsGLibType func() types.GType
118+
119+func BusNameOwnerFlagsGLibType() types.GType {
120+ return xBusNameOwnerFlagsGLibType()
121+}
122+
97123 const (
98124
99125 // No flags set.
@@ -111,6 +137,12 @@ const (
111137 // Flags used in g_bus_watch_name().
112138 type BusNameWatcherFlags int
113139
140+var xBusNameWatcherFlagsGLibType func() types.GType
141+
142+func BusNameWatcherFlagsGLibType() types.GType {
143+ return xBusNameWatcherFlagsGLibType()
144+}
145+
114146 const (
115147
116148 // No flags set.
@@ -124,6 +156,12 @@ const (
124156 // Flags used when calling a g_converter_convert().
125157 type ConverterFlags int
126158
159+var xConverterFlagsGLibType func() types.GType
160+
161+func ConverterFlagsGLibType() types.GType {
162+ return xConverterFlagsGLibType()
163+}
164+
127165 const (
128166
129167 // No flags.
@@ -137,6 +175,12 @@ const (
137175 // Flags used in g_dbus_connection_call() and similar APIs.
138176 type DBusCallFlags int
139177
178+var xDBusCallFlagsGLibType func() types.GType
179+
180+func DBusCallFlagsGLibType() types.GType {
181+ return xDBusCallFlagsGLibType()
182+}
183+
140184 const (
141185
142186 // No flags set.
@@ -153,6 +197,12 @@ const (
153197 // Capabilities negotiated with the remote peer.
154198 type DBusCapabilityFlags int
155199
200+var xDBusCapabilityFlagsGLibType func() types.GType
201+
202+func DBusCapabilityFlagsGLibType() types.GType {
203+ return xDBusCapabilityFlagsGLibType()
204+}
205+
156206 const (
157207
158208 // No flags set.
@@ -165,6 +215,12 @@ const (
165215 // Flags used when creating a new #GDBusConnection.
166216 type DBusConnectionFlags int
167217
218+var xDBusConnectionFlagsGLibType func() types.GType
219+
220+func DBusConnectionFlagsGLibType() types.GType {
221+ return xDBusConnectionFlagsGLibType()
222+}
223+
168224 const (
169225
170226 // No flags set.
@@ -191,6 +247,12 @@ const (
191247 // Flags describing the behavior of a #GDBusInterfaceSkeleton instance.
192248 type DBusInterfaceSkeletonFlags int
193249
250+var xDBusInterfaceSkeletonFlagsGLibType func() types.GType
251+
252+func DBusInterfaceSkeletonFlagsGLibType() types.GType {
253+ return xDBusInterfaceSkeletonFlagsGLibType()
254+}
255+
194256 const (
195257
196258 // No flags set.
@@ -205,6 +267,12 @@ const (
205267 // Message flags used in #GDBusMessage.
206268 type DBusMessageFlags int
207269
270+var xDBusMessageFlagsGLibType func() types.GType
271+
272+func DBusMessageFlagsGLibType() types.GType {
273+ return xDBusMessageFlagsGLibType()
274+}
275+
208276 const (
209277
210278 // No flags set.
@@ -223,6 +291,12 @@ const (
223291 // Flags used when constructing a #GDBusObjectManagerClient.
224292 type DBusObjectManagerClientFlags int
225293
294+var xDBusObjectManagerClientFlagsGLibType func() types.GType
295+
296+func DBusObjectManagerClientFlagsGLibType() types.GType {
297+ return xDBusObjectManagerClientFlagsGLibType()
298+}
299+
226300 const (
227301
228302 // No flags set.
@@ -237,6 +311,12 @@ const (
237311 // Flags describing the access control of a D-Bus property.
238312 type DBusPropertyInfoFlags int
239313
314+var xDBusPropertyInfoFlagsGLibType func() types.GType
315+
316+func DBusPropertyInfoFlagsGLibType() types.GType {
317+ return xDBusPropertyInfoFlagsGLibType()
318+}
319+
240320 const (
241321
242322 // No flags set.
@@ -250,6 +330,12 @@ const (
250330 // Flags used when constructing an instance of a #GDBusProxy derived class.
251331 type DBusProxyFlags int
252332
333+var xDBusProxyFlagsGLibType func() types.GType
334+
335+func DBusProxyFlagsGLibType() types.GType {
336+ return xDBusProxyFlagsGLibType()
337+}
338+
253339 const (
254340
255341 // No flags set.
@@ -278,6 +364,12 @@ const (
278364 // Flags used when sending #GDBusMessages on a #GDBusConnection.
279365 type DBusSendMessageFlags int
280366
367+var xDBusSendMessageFlagsGLibType func() types.GType
368+
369+func DBusSendMessageFlagsGLibType() types.GType {
370+ return xDBusSendMessageFlagsGLibType()
371+}
372+
281373 const (
282374
283375 // No flags set.
@@ -291,6 +383,12 @@ const (
291383 // Flags used when creating a #GDBusServer.
292384 type DBusServerFlags int
293385
386+var xDBusServerFlagsGLibType func() types.GType
387+
388+func DBusServerFlagsGLibType() types.GType {
389+ return xDBusServerFlagsGLibType()
390+}
391+
294392 const (
295393
296394 // No flags set.
@@ -310,6 +408,12 @@ const (
310408 // Flags used when subscribing to signals via g_dbus_connection_signal_subscribe().
311409 type DBusSignalFlags int
312410
411+var xDBusSignalFlagsGLibType func() types.GType
412+
413+func DBusSignalFlagsGLibType() types.GType {
414+ return xDBusSignalFlagsGLibType()
415+}
416+
313417 const (
314418
315419 // No flags set.
@@ -330,6 +434,12 @@ const (
330434 // Flags passed to g_dbus_connection_register_subtree().
331435 type DBusSubtreeFlags int
332436
437+var xDBusSubtreeFlagsGLibType func() types.GType
438+
439+func DBusSubtreeFlagsGLibType() types.GType {
440+ return xDBusSubtreeFlagsGLibType()
441+}
442+
333443 const (
334444
335445 // No flags set.
@@ -343,6 +453,12 @@ const (
343453 // Flags used when starting a drive.
344454 type DriveStartFlags int
345455
456+var xDriveStartFlagsGLibType func() types.GType
457+
458+func DriveStartFlagsGLibType() types.GType {
459+ return xDriveStartFlagsGLibType()
460+}
461+
346462 const (
347463
348464 // No flags set.
@@ -352,6 +468,12 @@ const (
352468 // Flags specifying the behaviour of an attribute.
353469 type FileAttributeInfoFlags int
354470
471+var xFileAttributeInfoFlagsGLibType func() types.GType
472+
473+func FileAttributeInfoFlagsGLibType() types.GType {
474+ return xFileAttributeInfoFlagsGLibType()
475+}
476+
355477 const (
356478
357479 // no flags set.
@@ -365,6 +487,12 @@ const (
365487 // Flags used when copying or moving files.
366488 type FileCopyFlags int
367489
490+var xFileCopyFlagsGLibType func() types.GType
491+
492+func FileCopyFlagsGLibType() types.GType {
493+ return xFileCopyFlagsGLibType()
494+}
495+
368496 const (
369497
370498 // No flags set.
@@ -386,6 +514,12 @@ const (
386514 // Flags used when an operation may create a file.
387515 type FileCreateFlags int
388516
517+var xFileCreateFlagsGLibType func() types.GType
518+
519+func FileCreateFlagsGLibType() types.GType {
520+ return xFileCreateFlagsGLibType()
521+}
522+
389523 const (
390524
391525 // No flags set.
@@ -409,6 +543,12 @@ const (
409543 // Flags that can be used with g_file_measure_disk_usage().
410544 type FileMeasureFlags int
411545
546+var xFileMeasureFlagsGLibType func() types.GType
547+
548+func FileMeasureFlagsGLibType() types.GType {
549+ return xFileMeasureFlagsGLibType()
550+}
551+
412552 const (
413553
414554 // No flags set.
@@ -430,6 +570,12 @@ const (
430570 // Flags used to set what a #GFileMonitor will watch for.
431571 type FileMonitorFlags int
432572
573+var xFileMonitorFlagsGLibType func() types.GType
574+
575+func FileMonitorFlagsGLibType() types.GType {
576+ return xFileMonitorFlagsGLibType()
577+}
578+
433579 const (
434580
435581 // No flags set.
@@ -456,6 +602,12 @@ const (
456602 // Flags used when querying a #GFileInfo.
457603 type FileQueryInfoFlags int
458604
605+var xFileQueryInfoFlagsGLibType func() types.GType
606+
607+func FileQueryInfoFlagsGLibType() types.GType {
608+ return xFileQueryInfoFlagsGLibType()
609+}
610+
459611 const (
460612
461613 // No flags set.
@@ -467,6 +619,12 @@ const (
467619 // GIOStreamSpliceFlags determine how streams should be spliced.
468620 type IOStreamSpliceFlags int
469621
622+var xIOStreamSpliceFlagsGLibType func() types.GType
623+
624+func IOStreamSpliceFlagsGLibType() types.GType {
625+ return xIOStreamSpliceFlagsGLibType()
626+}
627+
470628 const (
471629
472630 // Do not close either stream.
@@ -485,6 +643,12 @@ const (
485643 // Flags used when mounting a mount.
486644 type MountMountFlags int
487645
646+var xMountMountFlagsGLibType func() types.GType
647+
648+func MountMountFlagsGLibType() types.GType {
649+ return xMountMountFlagsGLibType()
650+}
651+
488652 const (
489653
490654 // No flags set.
@@ -494,6 +658,12 @@ const (
494658 // Flags used when an unmounting a mount.
495659 type MountUnmountFlags int
496660
661+var xMountUnmountFlagsGLibType func() types.GType
662+
663+func MountUnmountFlagsGLibType() types.GType {
664+ return xMountUnmountFlagsGLibType()
665+}
666+
497667 const (
498668
499669 // No flags set.
@@ -506,6 +676,12 @@ const (
506676 // GOutputStreamSpliceFlags determine how streams should be spliced.
507677 type OutputStreamSpliceFlags int
508678
679+var xOutputStreamSpliceFlagsGLibType func() types.GType
680+
681+func OutputStreamSpliceFlagsGLibType() types.GType {
682+ return xOutputStreamSpliceFlagsGLibType()
683+}
684+
509685 const (
510686
511687 // Do not close either stream.
@@ -522,6 +698,12 @@ const (
522698 // bundle.
523699 type ResourceFlags int
524700
701+var xResourceFlagsGLibType func() types.GType
702+
703+func ResourceFlagsGLibType() types.GType {
704+ return xResourceFlagsGLibType()
705+}
706+
525707 const (
526708
527709 // No flags set.
@@ -533,6 +715,12 @@ const (
533715 // GResourceLookupFlags determine how resource path lookups are handled.
534716 type ResourceLookupFlags int
535717
718+var xResourceLookupFlagsGLibType func() types.GType
719+
720+func ResourceLookupFlagsGLibType() types.GType {
721+ return xResourceLookupFlagsGLibType()
722+}
723+
536724 const (
537725
538726 // No flags set.
@@ -546,6 +734,12 @@ const (
546734 // the right system header and pass in the flag.
547735 type SocketMsgFlags int
548736
737+var xSocketMsgFlagsGLibType func() types.GType
738+
739+func SocketMsgFlagsGLibType() types.GType {
740+ return xSocketMsgFlagsGLibType()
741+}
742+
549743 const (
550744
551745 // No flags.
@@ -571,6 +765,12 @@ const (
571765 // %G_SUBPROCESS_FLAGS_STDOUT_SILENCE.
572766 type SubprocessFlags int
573767
768+var xSubprocessFlagsGLibType func() types.GType
769+
770+func SubprocessFlagsGLibType() types.GType {
771+ return xSubprocessFlagsGLibType()
772+}
773+
574774 const (
575775
576776 // No flags.
@@ -614,6 +814,12 @@ const (
614814 // Flags to define future #GTestDBus behaviour.
615815 type TestDBusFlags int
616816
817+var xTestDBusFlagsGLibType func() types.GType
818+
819+func TestDBusFlagsGLibType() types.GType {
820+ return xTestDBusFlagsGLibType()
821+}
822+
617823 const (
618824
619825 // No flags.
@@ -633,6 +839,12 @@ const (
633839 // other problems exist with the certificate.
634840 type TlsCertificateFlags int
635841
842+var xTlsCertificateFlagsGLibType func() types.GType
843+
844+func TlsCertificateFlagsGLibType() types.GType {
845+ return xTlsCertificateFlagsGLibType()
846+}
847+
636848 const (
637849
638850 // The signing certificate authority is
@@ -663,6 +875,12 @@ const (
663875 // Flags for g_tls_database_verify_chain().
664876 type TlsDatabaseVerifyFlags int
665877
878+var xTlsDatabaseVerifyFlagsGLibType func() types.GType
879+
880+func TlsDatabaseVerifyFlagsGLibType() types.GType {
881+ return xTlsDatabaseVerifyFlagsGLibType()
882+}
883+
666884 const (
667885
668886 // No verification flags
@@ -672,6 +890,12 @@ const (
672890 // Various flags for the password.
673891 type TlsPasswordFlags int
674892
893+var xTlsPasswordFlagsGLibType func() types.GType
894+
895+func TlsPasswordFlagsGLibType() types.GType {
896+ return xTlsPasswordFlagsGLibType()
897+}
898+
675899 const (
676900
677901 // No flags
@@ -698,6 +922,12 @@ const (
698922 // An enumeration for well-known message buses.
699923 type BusType int
700924
925+var xBusTypeGLibType func() types.GType
926+
927+func BusTypeGLibType() types.GType {
928+ return xBusTypeGLibType()
929+}
930+
701931 const (
702932
703933 // An alias for the message bus that activated the process, if any.
@@ -713,6 +943,12 @@ const (
713943 // Results returned from g_converter_convert().
714944 type ConverterResult int
715945
946+var xConverterResultGLibType func() types.GType
947+
948+func ConverterResultGLibType() types.GType {
949+ return xConverterResultGLibType()
950+}
951+
716952 const (
717953
718954 // There was an error during conversion.
@@ -728,6 +964,12 @@ const (
728964 // Enumeration describing different kinds of native credential types.
729965 type CredentialsType int
730966
967+var xCredentialsTypeGLibType func() types.GType
968+
969+func CredentialsTypeGLibType() types.GType {
970+ return xCredentialsTypeGLibType()
971+}
972+
731973 const (
732974
733975 // Indicates an invalid native credential type.
@@ -751,6 +993,12 @@ const (
751993 // Error codes for the %G_DBUS_ERROR error domain.
752994 type DBusError int
753995
996+var xDBusErrorGLibType func() types.GType
997+
998+func DBusErrorGLibType() types.GType {
999+ return xDBusErrorGLibType()
1000+}
1001+
7541002 const (
7551003
7561004 // A generic error; "something went wrong" - see the error message for
@@ -858,6 +1106,12 @@ const (
8581106 // Enumeration used to describe the byte order of a D-Bus message.
8591107 type DBusMessageByteOrder int
8601108
1109+var xDBusMessageByteOrderGLibType func() types.GType
1110+
1111+func DBusMessageByteOrderGLibType() types.GType {
1112+ return xDBusMessageByteOrderGLibType()
1113+}
1114+
8611115 const (
8621116
8631117 // The byte order is big endian.
@@ -869,6 +1123,12 @@ const (
8691123 // Header fields used in #GDBusMessage.
8701124 type DBusMessageHeaderField int
8711125
1126+var xDBusMessageHeaderFieldGLibType func() types.GType
1127+
1128+func DBusMessageHeaderFieldGLibType() types.GType {
1129+ return xDBusMessageHeaderFieldGLibType()
1130+}
1131+
8721132 const (
8731133
8741134 // Not a valid header field.
@@ -896,6 +1156,12 @@ const (
8961156 // Message types used in #GDBusMessage.
8971157 type DBusMessageType int
8981158
1159+var xDBusMessageTypeGLibType func() types.GType
1160+
1161+func DBusMessageTypeGLibType() types.GType {
1162+ return xDBusMessageTypeGLibType()
1163+}
1164+
8991165 const (
9001166
9011167 // Message is of invalid type.
@@ -914,6 +1180,12 @@ const (
9141180 // across various machine architectures.
9151181 type DataStreamByteOrder int
9161182
1183+var xDataStreamByteOrderGLibType func() types.GType
1184+
1185+func DataStreamByteOrderGLibType() types.GType {
1186+ return xDataStreamByteOrderGLibType()
1187+}
1188+
9171189 const (
9181190
9191191 // Selects Big Endian byte order.
@@ -927,6 +1199,12 @@ const (
9271199 // #GDataStreamNewlineType is used when checking for or setting the line endings for a given file.
9281200 type DataStreamNewlineType int
9291201
1202+var xDataStreamNewlineTypeGLibType func() types.GType
1203+
1204+func DataStreamNewlineTypeGLibType() types.GType {
1205+ return xDataStreamNewlineTypeGLibType()
1206+}
1207+
9301208 const (
9311209
9321210 // Selects "LF" line endings, common on most modern UNIX platforms.
@@ -942,6 +1220,12 @@ const (
9421220 // Enumeration describing how a drive can be started/stopped.
9431221 type DriveStartStopType int
9441222
1223+var xDriveStartStopTypeGLibType func() types.GType
1224+
1225+func DriveStartStopTypeGLibType() types.GType {
1226+ return xDriveStartStopTypeGLibType()
1227+}
1228+
9451229 const (
9461230
9471231 // Unknown or drive doesn't support
@@ -968,6 +1252,12 @@ const (
9681252 // to #GEmblem.
9691253 type EmblemOrigin int
9701254
1255+var xEmblemOriginGLibType func() types.GType
1256+
1257+func EmblemOriginGLibType() types.GType {
1258+ return xEmblemOriginGLibType()
1259+}
1260+
9711261 const (
9721262
9731263 // Emblem of unknown origin
@@ -983,6 +1273,12 @@ const (
9831273 // Used by g_file_set_attributes_from_info() when setting file attributes.
9841274 type FileAttributeStatus int
9851275
1276+var xFileAttributeStatusGLibType func() types.GType
1277+
1278+func FileAttributeStatusGLibType() types.GType {
1279+ return xFileAttributeStatusGLibType()
1280+}
1281+
9861282 const (
9871283
9881284 // Attribute value is unset (empty).
@@ -996,6 +1292,12 @@ const (
9961292 // The data types for file attributes.
9971293 type FileAttributeType int
9981294
1295+var xFileAttributeTypeGLibType func() types.GType
1296+
1297+func FileAttributeTypeGLibType() types.GType {
1298+ return xFileAttributeTypeGLibType()
1299+}
1300+
9991301 const (
10001302
10011303 // indicates an invalid or uninitialized type.
@@ -1023,6 +1325,12 @@ const (
10231325 // Specifies what type of event a monitor event is.
10241326 type FileMonitorEvent int
10251327
1328+var xFileMonitorEventGLibType func() types.GType
1329+
1330+func FileMonitorEventGLibType() types.GType {
1331+ return xFileMonitorEventGLibType()
1332+}
1333+
10261334 const (
10271335
10281336 // a file changed.
@@ -1068,6 +1376,12 @@ const (
10681376 // %G_FILE_TYPE_REGULAR or %G_FILE_TYPE_DIRECTORY.
10691377 type FileType int
10701378
1379+var xFileTypeGLibType func() types.GType
1380+
1381+func FileTypeGLibType() types.GType {
1382+ return xFileTypeGLibType()
1383+}
1384+
10711385 const (
10721386
10731387 // File's type is unknown.
@@ -1093,6 +1407,12 @@ const (
10931407 // %G_FILE_ATTRIBUTE_FILESYSTEM_USE_PREVIEW.
10941408 type FilesystemPreviewType int
10951409
1410+var xFilesystemPreviewTypeGLibType func() types.GType
1411+
1412+func FilesystemPreviewTypeGLibType() types.GType {
1413+ return xFilesystemPreviewTypeGLibType()
1414+}
1415+
10961416 const (
10971417
10981418 // Only preview files if user has explicitly requested it.
@@ -1125,6 +1445,12 @@ const (
11251445 // %G_IO_ERROR_WOULD_BLOCK to callers without allocating a #GError.
11261446 type IOErrorEnum int
11271447
1448+var xIOErrorEnumGLibType func() types.GType
1449+
1450+func IOErrorEnumGLibType() types.GType {
1451+ return xIOErrorEnumGLibType()
1452+}
1453+
11281454 const (
11291455
11301456 // Generic error condition for when an operation fails
@@ -1241,6 +1567,12 @@ const (
12411567 // Flags for use with g_io_module_scope_new().
12421568 type IOModuleScopeFlags int
12431569
1570+var xIOModuleScopeFlagsGLibType func() types.GType
1571+
1572+func IOModuleScopeFlagsGLibType() types.GType {
1573+ return xIOModuleScopeFlagsGLibType()
1574+}
1575+
12441576 const (
12451577
12461578 // No module scan flags
@@ -1263,6 +1595,12 @@ const (
12631595 // ]|
12641596 type MemoryMonitorWarningLevel int
12651597
1598+var xMemoryMonitorWarningLevelGLibType func() types.GType
1599+
1600+func MemoryMonitorWarningLevelGLibType() types.GType {
1601+ return xMemoryMonitorWarningLevelGLibType()
1602+}
1603+
12661604 const (
12671605
12681606 // Memory on the device is low, processes
@@ -1283,6 +1621,12 @@ const (
12831621 // information is send by the mounting operation.
12841622 type MountOperationResult int
12851623
1624+var xMountOperationResultGLibType func() types.GType
1625+
1626+func MountOperationResultGLibType() types.GType {
1627+ return xMountOperationResultGLibType()
1628+}
1629+
12861630 const (
12871631
12881632 // The request was fulfilled and the
@@ -1299,6 +1643,12 @@ const (
12991643 // The host's network connectivity state, as reported by #GNetworkMonitor.
13001644 type NetworkConnectivity int
13011645
1646+var xNetworkConnectivityGLibType func() types.GType
1647+
1648+func NetworkConnectivityGLibType() types.GType {
1649+ return xNetworkConnectivityGLibType()
1650+}
1651+
13021652 const (
13031653
13041654 // The host is not configured with a
@@ -1320,6 +1670,12 @@ const (
13201670 // Priority levels for #GNotifications.
13211671 type NotificationPriority int
13221672
1673+var xNotificationPriorityGLibType func() types.GType
1674+
1675+func NotificationPriorityGLibType() types.GType {
1676+ return xNotificationPriorityGLibType()
1677+}
1678+
13231679 const (
13241680
13251681 // the default priority, to be used for the
@@ -1346,6 +1702,12 @@ const (
13461702 // to, and later retrieves it again from there.
13471703 type PasswordSave int
13481704
1705+var xPasswordSaveGLibType func() types.GType
1706+
1707+func PasswordSaveGLibType() types.GType {
1708+ return xPasswordSaveGLibType()
1709+}
1710+
13491711 const (
13501712
13511713 // never save a password.
@@ -1367,6 +1729,12 @@ const (
13671729 // operation to give details about the error that happened.
13681730 type PollableReturn int
13691731
1732+var xPollableReturnGLibType func() types.GType
1733+
1734+func PollableReturnGLibType() types.GType {
1735+ return xPollableReturnGLibType()
1736+}
1737+
13701738 const (
13711739
13721740 // Generic error condition for when an operation fails.
@@ -1381,6 +1749,12 @@ const (
13811749 // from a #GResolver routine.
13821750 type ResolverError int
13831751
1752+var xResolverErrorGLibType func() types.GType
1753+
1754+func ResolverErrorGLibType() types.GType {
1755+ return xResolverErrorGLibType()
1756+}
1757+
13841758 const (
13851759
13861760 // the requested name/address/service was not
@@ -1425,6 +1799,12 @@ const (
14251799 // `(s)`, representing a string of the hostname of the name server.
14261800 type ResolverRecordType int
14271801
1802+var xResolverRecordTypeGLibType func() types.GType
1803+
1804+func ResolverRecordTypeGLibType() types.GType {
1805+ return xResolverRecordTypeGLibType()
1806+}
1807+
14281808 const (
14291809
14301810 // look up DNS SRV records for a domain
@@ -1443,6 +1823,12 @@ const (
14431823 // from a #GResource routine.
14441824 type ResourceError int
14451825
1826+var xResourceErrorGLibType func() types.GType
1827+
1828+func ResourceErrorGLibType() types.GType {
1829+ return xResourceErrorGLibType()
1830+}
1831+
14461832 const (
14471833
14481834 // no file was found at the requested path
@@ -1457,6 +1843,12 @@ const (
14571843 // Additional values may be added to this type in the future.
14581844 type SocketClientEvent int
14591845
1846+var xSocketClientEventGLibType func() types.GType
1847+
1848+func SocketClientEventGLibType() types.GType {
1849+ return xSocketClientEventGLibType()
1850+}
1851+
14601852 const (
14611853
14621854 // The client is doing a DNS lookup.
@@ -1491,6 +1883,12 @@ const (
14911883 // if available.)
14921884 type SocketFamily int
14931885
1886+var xSocketFamilyGLibType func() types.GType
1887+
1888+func SocketFamilyGLibType() types.GType {
1889+ return xSocketFamilyGLibType()
1890+}
1891+
14941892 const (
14951893
14961894 // no address family
@@ -1509,6 +1907,12 @@ const (
15091907 // Additional values may be added to this type in the future.
15101908 type SocketListenerEvent int
15111909
1910+var xSocketListenerEventGLibType func() types.GType
1911+
1912+func SocketListenerEventGLibType() types.GType {
1913+ return xSocketListenerEventGLibType()
1914+}
1915+
15121916 const (
15131917
15141918 // The listener is about to bind a socket.
@@ -1532,6 +1936,12 @@ const (
15321936 // use protocols not listed here.
15331937 type SocketProtocol int
15341938
1939+var xSocketProtocolGLibType func() types.GType
1940+
1941+func SocketProtocolGLibType() types.GType {
1942+ return xSocketProtocolGLibType()
1943+}
1944+
15351945 const (
15361946
15371947 // The protocol type is unknown
@@ -1550,6 +1960,12 @@ const (
15501960 // all the socket types.
15511961 type SocketType int
15521962
1963+var xSocketTypeGLibType func() types.GType
1964+
1965+func SocketTypeGLibType() types.GType {
1966+ return xSocketTypeGLibType()
1967+}
1968+
15531969 const (
15541970
15551971 // Type unknown or wrong
@@ -1567,6 +1983,12 @@ const (
15671983 // The client authentication mode for a #GTlsServerConnection.
15681984 type TlsAuthenticationMode int
15691985
1986+var xTlsAuthenticationModeGLibType func() types.GType
1987+
1988+func TlsAuthenticationModeGLibType() types.GType {
1989+ return xTlsAuthenticationModeGLibType()
1990+}
1991+
15701992 const (
15711993
15721994 // client authentication not required
@@ -1582,6 +2004,12 @@ const (
15822004 // g_tls_interaction_invoke_request_certificate().
15832005 type TlsCertificateRequestFlags int
15842006
2007+var xTlsCertificateRequestFlagsGLibType func() types.GType
2008+
2009+func TlsCertificateRequestFlagsGLibType() types.GType {
2010+ return xTlsCertificateRequestFlagsGLibType()
2011+}
2012+
15852013 const (
15862014
15872015 // No flags
@@ -1592,6 +2020,12 @@ const (
15922020 // indicate a TLS channel binding retrieval error.
15932021 type TlsChannelBindingError int
15942022
2023+var xTlsChannelBindingErrorGLibType func() types.GType
2024+
2025+func TlsChannelBindingErrorGLibType() types.GType {
2026+ return xTlsChannelBindingErrorGLibType()
2027+}
2028+
15952029 const (
15962030
15972031 // Either entire binding
@@ -1623,6 +2057,12 @@ const (
16232057 // binding type is not currently implemented.
16242058 type TlsChannelBindingType int
16252059
2060+var xTlsChannelBindingTypeGLibType func() types.GType
2061+
2062+func TlsChannelBindingTypeGLibType() types.GType {
2063+ return xTlsChannelBindingTypeGLibType()
2064+}
2065+
16262066 const (
16272067
16282068 // [`tls-unique`](https://tools.ietf.org/html/rfc5929#section-3) binding
@@ -1638,6 +2078,12 @@ const (
16382078 // and g_tls_database_lookup_certificates_issued_by().
16392079 type TlsDatabaseLookupFlags int
16402080
2081+var xTlsDatabaseLookupFlagsGLibType func() types.GType
2082+
2083+func TlsDatabaseLookupFlagsGLibType() types.GType {
2084+ return xTlsDatabaseLookupFlagsGLibType()
2085+}
2086+
16412087 const (
16422088
16432089 // No lookup flags
@@ -1651,6 +2097,12 @@ const (
16512097 // TLS-related routine.
16522098 type TlsError int
16532099
2100+var xTlsErrorGLibType func() types.GType
2101+
2102+func TlsErrorGLibType() types.GType {
2103+ return xTlsErrorGLibType()
2104+}
2105+
16542106 const (
16552107
16562108 // No TLS provider is available
@@ -1687,6 +2139,12 @@ const (
16872139 // when finishing an interaction request.
16882140 type TlsInteractionResult int
16892141
2142+var xTlsInteractionResultGLibType func() types.GType
2143+
2144+func TlsInteractionResultGLibType() types.GType {
2145+ return xTlsInteractionResultGLibType()
2146+}
2147+
16902148 const (
16912149
16922150 // The interaction was unhandled (i.e. not
@@ -1711,6 +2169,12 @@ const (
17112169 // than the TLS protocol versions.
17122170 type TlsProtocolVersion int
17132171
2172+var xTlsProtocolVersionGLibType func() types.GType
2173+
2174+func TlsProtocolVersionGLibType() types.GType {
2175+ return xTlsProtocolVersionGLibType()
2176+}
2177+
17142178 const (
17152179
17162180 // No protocol version or unknown protocol version
@@ -1735,6 +2199,12 @@ const (
17352199 // g_tls_connection_set_rehandshake_mode().
17362200 type TlsRehandshakeMode int
17372201
2202+var xTlsRehandshakeModeGLibType func() types.GType
2203+
2204+func TlsRehandshakeModeGLibType() types.GType {
2205+ return xTlsRehandshakeModeGLibType()
2206+}
2207+
17382208 const (
17392209
17402210 // Never allow rehandshaking
@@ -1760,6 +2230,12 @@ const (
17602230 // %G_UNIX_SOCKET_ADDRESS_ABSTRACT.
17612231 type UnixSocketAddressType int
17622232
2233+var xUnixSocketAddressTypeGLibType func() types.GType
2234+
2235+func UnixSocketAddressTypeGLibType() types.GType {
2236+ return xUnixSocketAddressTypeGLibType()
2237+}
2238+
17632239 const (
17642240
17652241 // invalid
@@ -1779,6 +2255,12 @@ const (
17792255 // and #GZlibCompressor.
17802256 type ZlibCompressorFormat int
17812257
2258+var xZlibCompressorFormatGLibType func() types.GType
2259+
2260+func ZlibCompressorFormatGLibType() types.GType {
2261+ return xZlibCompressorFormatGLibType()
2262+}
2263+
17822264 const (
17832265
17842266 // deflate compression with zlib header
M v4/gio/gioerror.go +1 -0
@@ -26,6 +26,7 @@ func init() {
2626 if err != nil {
2727 panic(err)
2828 }
29+
2930 core.PuregoSafeRegister(&xIoErrorFromErrno, lib, "g_io_error_from_errno")
3031
3132 }
M v4/gio/giomodule.go +9 -0
@@ -152,6 +152,12 @@ type IOModule struct {
152152 gobject.TypeModule
153153 }
154154
155+var xIOModuleGLibType func() types.GType
156+
157+func IOModuleGLibType() types.GType {
158+ return xIOModuleGLibType()
159+}
160+
155161 func IOModuleNewFromInternalPtr(ptr uintptr) *IOModule {
156162 cls := &IOModule{}
157163 cls.Ptr = ptr
@@ -304,6 +310,7 @@ func init() {
304310 if err != nil {
305311 panic(err)
306312 }
313+
307314 core.PuregoSafeRegister(&xIoExtensionPointImplement, lib, "g_io_extension_point_implement")
308315 core.PuregoSafeRegister(&xIoExtensionPointLookup, lib, "g_io_extension_point_lookup")
309316 core.PuregoSafeRegister(&xIoExtensionPointRegister, lib, "g_io_extension_point_register")
@@ -315,6 +322,8 @@ func init() {
315322 core.PuregoSafeRegister(&xIOModuleScopeBlock, lib, "g_io_module_scope_block")
316323 core.PuregoSafeRegister(&xIOModuleScopeFree, lib, "g_io_module_scope_free")
317324
325+ core.PuregoSafeRegister(&xIOModuleGLibType, lib, "g_io_module_get_type")
326+
318327 core.PuregoSafeRegister(&xNewIOModule, lib, "g_io_module_new")
319328
320329 core.PuregoSafeRegister(&xIOModuleLoad, lib, "g_io_module_load")
M v4/gio/gioscheduler.go +1 -0
@@ -40,6 +40,7 @@ func init() {
4040 if err != nil {
4141 panic(err)
4242 }
43+
4344 core.PuregoSafeRegister(&xIoSchedulerCancelAllJobs, lib, "g_io_scheduler_cancel_all_jobs")
4445 core.PuregoSafeRegister(&xIoSchedulerPushJob, lib, "g_io_scheduler_push_job")
4546
M v4/gio/giostream.go +9 -0
@@ -8,6 +8,7 @@ import (
88 "github.com/jwijenbergh/puregotk/internal/core"
99 "github.com/jwijenbergh/puregotk/v4/glib"
1010 "github.com/jwijenbergh/puregotk/v4/gobject"
11+ "github.com/jwijenbergh/puregotk/v4/gobject/types"
1112 )
1213
1314 type IOStreamClass struct {
@@ -75,6 +76,12 @@ type IOStream struct {
7576 gobject.Object
7677 }
7778
79+var xIOStreamGLibType func() types.GType
80+
81+func IOStreamGLibType() types.GType {
82+ return xIOStreamGLibType()
83+}
84+
7885 func IOStreamNewFromInternalPtr(ptr uintptr) *IOStream {
7986 cls := &IOStream{}
8087 cls.Ptr = ptr
@@ -281,6 +288,8 @@ func init() {
281288 panic(err)
282289 }
283290
291+ core.PuregoSafeRegister(&xIOStreamGLibType, lib, "g_io_stream_get_type")
292+
284293 core.PuregoSafeRegister(&xIOStreamClearPending, lib, "g_io_stream_clear_pending")
285294 core.PuregoSafeRegister(&xIOStreamClose, lib, "g_io_stream_close")
286295 core.PuregoSafeRegister(&xIOStreamCloseAsync, lib, "g_io_stream_close_async")
M v4/gio/giotypes.go +24 -0
@@ -105,6 +105,12 @@ type SocketSourceFunc func(uintptr, glib.IOCondition, uintptr) bool
105105 type FileAttributeMatcher struct {
106106 }
107107
108+var xFileAttributeMatcherGLibType func() types.GType
109+
110+func FileAttributeMatcherGLibType() types.GType {
111+ return xFileAttributeMatcherGLibType()
112+}
113+
108114 func (x *FileAttributeMatcher) GoPointer() uintptr {
109115 return uintptr(unsafe.Pointer(x))
110116 }
@@ -601,6 +607,12 @@ func (x *OutputVector) GoPointer() uintptr {
601607 type Resource struct {
602608 }
603609
610+var xResourceGLibType func() types.GType
611+
612+func ResourceGLibType() types.GType {
613+ return xResourceGLibType()
614+}
615+
604616 func (x *Resource) GoPointer() uintptr {
605617 return uintptr(unsafe.Pointer(x))
606618 }
@@ -778,6 +790,12 @@ func (x *Resource) Unref() {
778790 type SrvTarget struct {
779791 }
780792
793+var xSrvTargetGLibType func() types.GType
794+
795+func SrvTargetGLibType() types.GType {
796+ return xSrvTargetGLibType()
797+}
798+
781799 func (x *SrvTarget) GoPointer() uintptr {
782800 return uintptr(unsafe.Pointer(x))
783801 }
@@ -861,6 +879,8 @@ func init() {
861879 panic(err)
862880 }
863881
882+ core.PuregoSafeRegister(&xFileAttributeMatcherGLibType, lib, "g_file_attribute_matcher_get_type")
883+
864884 core.PuregoSafeRegister(&xNewFileAttributeMatcher, lib, "g_file_attribute_matcher_new")
865885
866886 core.PuregoSafeRegister(&xFileAttributeMatcherEnumerateNamespace, lib, "g_file_attribute_matcher_enumerate_namespace")
@@ -885,6 +905,8 @@ func init() {
885905 core.PuregoSafeRegister(&xIOSchedulerJobSendToMainloop, lib, "g_io_scheduler_job_send_to_mainloop")
886906 core.PuregoSafeRegister(&xIOSchedulerJobSendToMainloopAsync, lib, "g_io_scheduler_job_send_to_mainloop_async")
887907
908+ core.PuregoSafeRegister(&xResourceGLibType, lib, "g_resource_get_type")
909+
888910 core.PuregoSafeRegister(&xNewResourceFromData, lib, "g_resource_new_from_data")
889911
890912 core.PuregoSafeRegister(&xResourceRegister, lib, "g_resources_register")
@@ -896,6 +918,8 @@ func init() {
896918 core.PuregoSafeRegister(&xResourceRef, lib, "g_resource_ref")
897919 core.PuregoSafeRegister(&xResourceUnref, lib, "g_resource_unref")
898920
921+ core.PuregoSafeRegister(&xSrvTargetGLibType, lib, "g_srv_target_get_type")
922+
899923 core.PuregoSafeRegister(&xNewSrvTarget, lib, "g_srv_target_new")
900924
901925 core.PuregoSafeRegister(&xSrvTargetCopy, lib, "g_srv_target_copy")
M v4/gio/glistmodel.go +9 -0
@@ -75,6 +75,13 @@ type ListModel interface {
7575 GetObject(PositionVar uint) *gobject.Object
7676 ItemsChanged(PositionVar uint, RemovedVar uint, AddedVar uint)
7777 }
78+
79+var xListModelGLibType func() types.GType
80+
81+func ListModelGLibType() types.GType {
82+ return xListModelGLibType()
83+}
84+
7885 type ListModelBase struct {
7986 Ptr uintptr
8087 }
@@ -190,6 +197,8 @@ func init() {
190197 panic(err)
191198 }
192199
200+ core.PuregoSafeRegister(&xListModelGLibType, lib, "g_list_model_get_type")
201+
193202 core.PuregoSafeRegister(&XGListModelGetItem, lib, "g_list_model_get_item")
194203 core.PuregoSafeRegister(&XGListModelGetItemType, lib, "g_list_model_get_item_type")
195204 core.PuregoSafeRegister(&XGListModelGetNItems, lib, "g_list_model_get_n_items")
M v4/gio/gliststore.go +8 -0
@@ -28,6 +28,12 @@ type ListStore struct {
2828 gobject.Object
2929 }
3030
31+var xListStoreGLibType func() types.GType
32+
33+func ListStoreGLibType() types.GType {
34+ return xListStoreGLibType()
35+}
36+
3137 func ListStoreNewFromInternalPtr(ptr uintptr) *ListStore {
3238 cls := &ListStore{}
3339 cls.Ptr = ptr
@@ -280,6 +286,8 @@ func init() {
280286 panic(err)
281287 }
282288
289+ core.PuregoSafeRegister(&xListStoreGLibType, lib, "g_list_store_get_type")
290+
283291 core.PuregoSafeRegister(&xNewListStore, lib, "g_list_store_new")
284292
285293 core.PuregoSafeRegister(&xListStoreAppend, lib, "g_list_store_append")
M v4/gio/gloadableicon.go +10 -0
@@ -7,6 +7,7 @@ import (
77 "github.com/jwijenbergh/purego"
88 "github.com/jwijenbergh/puregotk/internal/core"
99 "github.com/jwijenbergh/puregotk/v4/glib"
10+ "github.com/jwijenbergh/puregotk/v4/gobject/types"
1011 )
1112
1213 // Interface for icons that can be loaded as a stream.
@@ -27,6 +28,13 @@ type LoadableIcon interface {
2728 LoadAsync(SizeVar int, CancellableVar *Cancellable, CallbackVar *AsyncReadyCallback, UserDataVar uintptr)
2829 LoadFinish(ResVar AsyncResult, TypeVar string) *InputStream
2930 }
31+
32+var xLoadableIconGLibType func() types.GType
33+
34+func LoadableIconGLibType() types.GType {
35+ return xLoadableIconGLibType()
36+}
37+
3038 type LoadableIconBase struct {
3139 Ptr uintptr
3240 }
@@ -97,6 +105,8 @@ func init() {
97105 panic(err)
98106 }
99107
108+ core.PuregoSafeRegister(&xLoadableIconGLibType, lib, "g_loadable_icon_get_type")
109+
100110 core.PuregoSafeRegister(&XGLoadableIconLoad, lib, "g_loadable_icon_load")
101111 core.PuregoSafeRegister(&XGLoadableIconLoadAsync, lib, "g_loadable_icon_load_async")
102112 core.PuregoSafeRegister(&XGLoadableIconLoadFinish, lib, "g_loadable_icon_load_finish")
M v4/gio/gmemoryinputstream.go +9 -0
@@ -7,6 +7,7 @@ import (
77 "github.com/jwijenbergh/purego"
88 "github.com/jwijenbergh/puregotk/internal/core"
99 "github.com/jwijenbergh/puregotk/v4/glib"
10+ "github.com/jwijenbergh/puregotk/v4/gobject/types"
1011 )
1112
1213 type MemoryInputStreamClass struct {
@@ -33,6 +34,12 @@ type MemoryInputStream struct {
3334 InputStream
3435 }
3536
37+var xMemoryInputStreamGLibType func() types.GType
38+
39+func MemoryInputStreamGLibType() types.GType {
40+ return xMemoryInputStreamGLibType()
41+}
42+
3643 func MemoryInputStreamNewFromInternalPtr(ptr uintptr) *MemoryInputStream {
3744 cls := &MemoryInputStream{}
3845 cls.Ptr = ptr
@@ -249,6 +256,8 @@ func init() {
249256 panic(err)
250257 }
251258
259+ core.PuregoSafeRegister(&xMemoryInputStreamGLibType, lib, "g_memory_input_stream_get_type")
260+
252261 core.PuregoSafeRegister(&xNewMemoryInputStream, lib, "g_memory_input_stream_new")
253262 core.PuregoSafeRegister(&xNewMemoryInputStreamFromBytes, lib, "g_memory_input_stream_new_from_bytes")
254263 core.PuregoSafeRegister(&xNewMemoryInputStreamFromData, lib, "g_memory_input_stream_new_from_data")
M v4/gio/gmemorymonitor.go +11 -0
@@ -6,6 +6,7 @@ import (
66
77 "github.com/jwijenbergh/purego"
88 "github.com/jwijenbergh/puregotk/internal/core"
9+ "github.com/jwijenbergh/puregotk/v4/gobject/types"
910 )
1011
1112 // The virtual function table for #GMemoryMonitor.
@@ -70,6 +71,13 @@ type MemoryMonitor interface {
7071 GoPointer() uintptr
7172 SetGoPointer(uintptr)
7273 }
74+
75+var xMemoryMonitorGLibType func() types.GType
76+
77+func MemoryMonitorGLibType() types.GType {
78+ return xMemoryMonitorGLibType()
79+}
80+
7381 type MemoryMonitorBase struct {
7482 Ptr uintptr
7583 }
@@ -109,6 +117,9 @@ func init() {
109117 if err != nil {
110118 panic(err)
111119 }
120+
112121 core.PuregoSafeRegister(&xMemoryMonitorDupDefault, lib, "g_memory_monitor_dup_default")
113122
123+ core.PuregoSafeRegister(&xMemoryMonitorGLibType, lib, "g_memory_monitor_get_type")
124+
114125 }
M v4/gio/gmemoryoutputstream.go +9 -0
@@ -7,6 +7,7 @@ import (
77 "github.com/jwijenbergh/purego"
88 "github.com/jwijenbergh/puregotk/internal/core"
99 "github.com/jwijenbergh/puregotk/v4/glib"
10+ "github.com/jwijenbergh/puregotk/v4/gobject/types"
1011 )
1112
1213 // Changes the size of the memory block pointed to by @data to
@@ -39,6 +40,12 @@ type MemoryOutputStream struct {
3940 OutputStream
4041 }
4142
43+var xMemoryOutputStreamGLibType func() types.GType
44+
45+func MemoryOutputStreamGLibType() types.GType {
46+ return xMemoryOutputStreamGLibType()
47+}
48+
4249 func MemoryOutputStreamNewFromInternalPtr(ptr uintptr) *MemoryOutputStream {
4350 cls := &MemoryOutputStream{}
4451 cls.Ptr = ptr
@@ -362,6 +369,8 @@ func init() {
362369 panic(err)
363370 }
364371
372+ core.PuregoSafeRegister(&xMemoryOutputStreamGLibType, lib, "g_memory_output_stream_get_type")
373+
365374 core.PuregoSafeRegister(&xNewMemoryOutputStream, lib, "g_memory_output_stream_new")
366375 core.PuregoSafeRegister(&xNewMemoryOutputStreamResizable, lib, "g_memory_output_stream_new_resizable")
367376
M v4/gio/gmenumodel.go +25 -0
@@ -8,6 +8,7 @@ import (
88 "github.com/jwijenbergh/puregotk/internal/core"
99 "github.com/jwijenbergh/puregotk/v4/glib"
1010 "github.com/jwijenbergh/puregotk/v4/gobject"
11+ "github.com/jwijenbergh/puregotk/v4/gobject/types"
1112 )
1213
1314 type MenuAttributeIterClass struct {
@@ -99,6 +100,12 @@ type MenuAttributeIter struct {
99100 gobject.Object
100101 }
101102
103+var xMenuAttributeIterGLibType func() types.GType
104+
105+func MenuAttributeIterGLibType() types.GType {
106+ return xMenuAttributeIterGLibType()
107+}
108+
102109 func MenuAttributeIterNewFromInternalPtr(ptr uintptr) *MenuAttributeIter {
103110 cls := &MenuAttributeIter{}
104111 cls.Ptr = ptr
@@ -182,6 +189,12 @@ type MenuLinkIter struct {
182189 gobject.Object
183190 }
184191
192+var xMenuLinkIterGLibType func() types.GType
193+
194+func MenuLinkIterGLibType() types.GType {
195+ return xMenuLinkIterGLibType()
196+}
197+
185198 func MenuLinkIterNewFromInternalPtr(ptr uintptr) *MenuLinkIter {
186199 cls := &MenuLinkIter{}
187200 cls.Ptr = ptr
@@ -380,6 +393,12 @@ type MenuModel struct {
380393 gobject.Object
381394 }
382395
396+var xMenuModelGLibType func() types.GType
397+
398+func MenuModelGLibType() types.GType {
399+ return xMenuModelGLibType()
400+}
401+
383402 func MenuModelNewFromInternalPtr(ptr uintptr) *MenuModel {
384403 cls := &MenuModel{}
385404 cls.Ptr = ptr
@@ -584,16 +603,22 @@ func init() {
584603 panic(err)
585604 }
586605
606+ core.PuregoSafeRegister(&xMenuAttributeIterGLibType, lib, "g_menu_attribute_iter_get_type")
607+
587608 core.PuregoSafeRegister(&xMenuAttributeIterGetName, lib, "g_menu_attribute_iter_get_name")
588609 core.PuregoSafeRegister(&xMenuAttributeIterGetNext, lib, "g_menu_attribute_iter_get_next")
589610 core.PuregoSafeRegister(&xMenuAttributeIterGetValue, lib, "g_menu_attribute_iter_get_value")
590611 core.PuregoSafeRegister(&xMenuAttributeIterNext, lib, "g_menu_attribute_iter_next")
591612
613+ core.PuregoSafeRegister(&xMenuLinkIterGLibType, lib, "g_menu_link_iter_get_type")
614+
592615 core.PuregoSafeRegister(&xMenuLinkIterGetName, lib, "g_menu_link_iter_get_name")
593616 core.PuregoSafeRegister(&xMenuLinkIterGetNext, lib, "g_menu_link_iter_get_next")
594617 core.PuregoSafeRegister(&xMenuLinkIterGetValue, lib, "g_menu_link_iter_get_value")
595618 core.PuregoSafeRegister(&xMenuLinkIterNext, lib, "g_menu_link_iter_next")
596619
620+ core.PuregoSafeRegister(&xMenuModelGLibType, lib, "g_menu_model_get_type")
621+
597622 core.PuregoSafeRegister(&xMenuModelGetItemAttribute, lib, "g_menu_model_get_item_attribute")
598623 core.PuregoSafeRegister(&xMenuModelGetItemAttributeValue, lib, "g_menu_model_get_item_attribute_value")
599624 core.PuregoSafeRegister(&xMenuModelGetItemLink, lib, "g_menu_model_get_item_link")
M v4/gio/gmount.go +10 -0
@@ -7,6 +7,7 @@ import (
77 "github.com/jwijenbergh/purego"
88 "github.com/jwijenbergh/puregotk/internal/core"
99 "github.com/jwijenbergh/puregotk/v4/glib"
10+ "github.com/jwijenbergh/puregotk/v4/gobject/types"
1011 )
1112
1213 // Interface for implementing operations for mounts.
@@ -68,6 +69,13 @@ type Mount interface {
6869 UnmountWithOperationFinish(ResultVar AsyncResult) bool
6970 Unshadow()
7071 }
72+
73+var xMountGLibType func() types.GType
74+
75+func MountGLibType() types.GType {
76+ return xMountGLibType()
77+}
78+
7179 type MountBase struct {
7280 Ptr uintptr
7381 }
@@ -459,6 +467,8 @@ func init() {
459467 panic(err)
460468 }
461469
470+ core.PuregoSafeRegister(&xMountGLibType, lib, "g_mount_get_type")
471+
462472 core.PuregoSafeRegister(&XGMountCanEject, lib, "g_mount_can_eject")
463473 core.PuregoSafeRegister(&XGMountCanUnmount, lib, "g_mount_can_unmount")
464474 core.PuregoSafeRegister(&XGMountEject, lib, "g_mount_eject")
M v4/gio/gmountoperation.go +9 -0
@@ -8,6 +8,7 @@ import (
88 "github.com/jwijenbergh/puregotk/internal/core"
99 "github.com/jwijenbergh/puregotk/v4/glib"
1010 "github.com/jwijenbergh/puregotk/v4/gobject"
11+ "github.com/jwijenbergh/puregotk/v4/gobject/types"
1112 )
1213
1314 type MountOperationClass struct {
@@ -50,6 +51,12 @@ type MountOperation struct {
5051 gobject.Object
5152 }
5253
54+var xMountOperationGLibType func() types.GType
55+
56+func MountOperationGLibType() types.GType {
57+ return xMountOperationGLibType()
58+}
59+
5360 func MountOperationNewFromInternalPtr(ptr uintptr) *MountOperation {
5461 cls := &MountOperation{}
5562 cls.Ptr = ptr
@@ -419,6 +426,8 @@ func init() {
419426 panic(err)
420427 }
421428
429+ core.PuregoSafeRegister(&xMountOperationGLibType, lib, "g_mount_operation_get_type")
430+
422431 core.PuregoSafeRegister(&xNewMountOperation, lib, "g_mount_operation_new")
423432
424433 core.PuregoSafeRegister(&xMountOperationGetAnonymous, lib, "g_mount_operation_get_anonymous")
M v4/gio/gnativesocketaddress.go +9 -0
@@ -6,6 +6,7 @@ import (
66
77 "github.com/jwijenbergh/purego"
88 "github.com/jwijenbergh/puregotk/internal/core"
9+ "github.com/jwijenbergh/puregotk/v4/gobject/types"
910 )
1011
1112 type NativeSocketAddressClass struct {
@@ -28,6 +29,12 @@ type NativeSocketAddress struct {
2829 SocketAddress
2930 }
3031
32+var xNativeSocketAddressGLibType func() types.GType
33+
34+func NativeSocketAddressGLibType() types.GType {
35+ return xNativeSocketAddressGLibType()
36+}
37+
3138 func NativeSocketAddressNewFromInternalPtr(ptr uintptr) *NativeSocketAddress {
3239 cls := &NativeSocketAddress{}
3340 cls.Ptr = ptr
@@ -111,6 +118,8 @@ func init() {
111118 panic(err)
112119 }
113120
121+ core.PuregoSafeRegister(&xNativeSocketAddressGLibType, lib, "g_native_socket_address_get_type")
122+
114123 core.PuregoSafeRegister(&xNewNativeSocketAddress, lib, "g_native_socket_address_new")
115124
116125 }
M v4/gio/gnativevolumemonitor.go +11 -1
@@ -1,7 +1,11 @@
11 // Package gio was automatically generated by github.com/jwijenbergh/puregotk DO NOT EDIT
22 package gio
33
4-import "unsafe"
4+import (
5+ "unsafe"
6+
7+ "github.com/jwijenbergh/puregotk/v4/gobject/types"
8+)
59
610 type NativeVolumeMonitorClass struct {
711 ParentClass uintptr
@@ -19,6 +23,12 @@ type NativeVolumeMonitor struct {
1923 VolumeMonitor
2024 }
2125
26+var xNativeVolumeMonitorGLibType func() types.GType
27+
28+func NativeVolumeMonitorGLibType() types.GType {
29+ return xNativeVolumeMonitorGLibType()
30+}
31+
2232 func NativeVolumeMonitorNewFromInternalPtr(ptr uintptr) *NativeVolumeMonitor {
2333 cls := &NativeVolumeMonitor{}
2434 cls.Ptr = ptr
M v4/gio/gnetworkaddress.go +9 -0
@@ -8,6 +8,7 @@ import (
88 "github.com/jwijenbergh/puregotk/internal/core"
99 "github.com/jwijenbergh/puregotk/v4/glib"
1010 "github.com/jwijenbergh/puregotk/v4/gobject"
11+ "github.com/jwijenbergh/puregotk/v4/gobject/types"
1112 )
1213
1314 type NetworkAddressClass struct {
@@ -39,6 +40,12 @@ type NetworkAddress struct {
3940 gobject.Object
4041 }
4142
43+var xNetworkAddressGLibType func() types.GType
44+
45+func NetworkAddressGLibType() types.GType {
46+ return xNetworkAddressGLibType()
47+}
48+
4249 func NetworkAddressNewFromInternalPtr(ptr uintptr) *NetworkAddress {
4350 cls := &NetworkAddress{}
4451 cls.Ptr = ptr
@@ -251,6 +258,8 @@ func init() {
251258 panic(err)
252259 }
253260
261+ core.PuregoSafeRegister(&xNetworkAddressGLibType, lib, "g_network_address_get_type")
262+
254263 core.PuregoSafeRegister(&xNewNetworkAddress, lib, "g_network_address_new")
255264 core.PuregoSafeRegister(&xNewNetworkAddressLoopback, lib, "g_network_address_new_loopback")
256265
M v4/gio/gnetworking.go +1 -0
@@ -23,6 +23,7 @@ func init() {
2323 if err != nil {
2424 panic(err)
2525 }
26+
2627 core.PuregoSafeRegister(&xNetworkingInit, lib, "g_networking_init")
2728
2829 }
M v4/gio/gnetworkmonitor.go +11 -0
@@ -8,6 +8,7 @@ import (
88 "github.com/jwijenbergh/puregotk/internal/core"
99 "github.com/jwijenbergh/puregotk/v4/glib"
1010 "github.com/jwijenbergh/puregotk/v4/gobject"
11+ "github.com/jwijenbergh/puregotk/v4/gobject/types"
1112 )
1213
1314 // The virtual function table for #GNetworkMonitor.
@@ -35,6 +36,13 @@ type NetworkMonitor interface {
3536 GetNetworkAvailable() bool
3637 GetNetworkMetered() bool
3738 }
39+
40+var xNetworkMonitorGLibType func() types.GType
41+
42+func NetworkMonitorGLibType() types.GType {
43+ return xNetworkMonitorGLibType()
44+}
45+
3846 type NetworkMonitorBase struct {
3947 Ptr uintptr
4048 }
@@ -181,8 +189,11 @@ func init() {
181189 if err != nil {
182190 panic(err)
183191 }
192+
184193 core.PuregoSafeRegister(&xNetworkMonitorGetDefault, lib, "g_network_monitor_get_default")
185194
195+ core.PuregoSafeRegister(&xNetworkMonitorGLibType, lib, "g_network_monitor_get_type")
196+
186197 core.PuregoSafeRegister(&XGNetworkMonitorCanReach, lib, "g_network_monitor_can_reach")
187198 core.PuregoSafeRegister(&XGNetworkMonitorCanReachAsync, lib, "g_network_monitor_can_reach_async")
188199 core.PuregoSafeRegister(&XGNetworkMonitorCanReachFinish, lib, "g_network_monitor_can_reach_finish")
M v4/gio/gnetworkservice.go +9 -0
@@ -7,6 +7,7 @@ import (
77 "github.com/jwijenbergh/purego"
88 "github.com/jwijenbergh/puregotk/internal/core"
99 "github.com/jwijenbergh/puregotk/v4/gobject"
10+ "github.com/jwijenbergh/puregotk/v4/gobject/types"
1011 )
1112
1213 type NetworkServiceClass struct {
@@ -37,6 +38,12 @@ type NetworkService struct {
3738 gobject.Object
3839 }
3940
41+var xNetworkServiceGLibType func() types.GType
42+
43+func NetworkServiceGLibType() types.GType {
44+ return xNetworkServiceGLibType()
45+}
46+
4047 func NetworkServiceNewFromInternalPtr(ptr uintptr) *NetworkService {
4148 cls := &NetworkService{}
4249 cls.Ptr = ptr
@@ -170,6 +177,8 @@ func init() {
170177 panic(err)
171178 }
172179
180+ core.PuregoSafeRegister(&xNetworkServiceGLibType, lib, "g_network_service_get_type")
181+
173182 core.PuregoSafeRegister(&xNewNetworkService, lib, "g_network_service_new")
174183
175184 core.PuregoSafeRegister(&xNetworkServiceGetDomain, lib, "g_network_service_get_domain")
M v4/gio/goutputstream.go +9 -0
@@ -8,6 +8,7 @@ import (
88 "github.com/jwijenbergh/puregotk/internal/core"
99 "github.com/jwijenbergh/puregotk/v4/glib"
1010 "github.com/jwijenbergh/puregotk/v4/gobject"
11+ "github.com/jwijenbergh/puregotk/v4/gobject/types"
1112 )
1213
1314 type OutputStreamClass struct {
@@ -40,6 +41,12 @@ type OutputStream struct {
4041 gobject.Object
4142 }
4243
44+var xOutputStreamGLibType func() types.GType
45+
46+func OutputStreamGLibType() types.GType {
47+ return xOutputStreamGLibType()
48+}
49+
4350 func OutputStreamNewFromInternalPtr(ptr uintptr) *OutputStream {
4451 cls := &OutputStream{}
4552 cls.Ptr = ptr
@@ -720,6 +727,8 @@ func init() {
720727 panic(err)
721728 }
722729
730+ core.PuregoSafeRegister(&xOutputStreamGLibType, lib, "g_output_stream_get_type")
731+
723732 core.PuregoSafeRegister(&xOutputStreamClearPending, lib, "g_output_stream_clear_pending")
724733 core.PuregoSafeRegister(&xOutputStreamClose, lib, "g_output_stream_close")
725734 core.PuregoSafeRegister(&xOutputStreamCloseAsync, lib, "g_output_stream_close_async")
M v4/gio/gpermission.go +9 -0
@@ -8,6 +8,7 @@ import (
88 "github.com/jwijenbergh/puregotk/internal/core"
99 "github.com/jwijenbergh/puregotk/v4/glib"
1010 "github.com/jwijenbergh/puregotk/v4/gobject"
11+ "github.com/jwijenbergh/puregotk/v4/gobject/types"
1112 )
1213
1314 type PermissionClass struct {
@@ -46,6 +47,12 @@ type Permission struct {
4647 gobject.Object
4748 }
4849
50+var xPermissionGLibType func() types.GType
51+
52+func PermissionGLibType() types.GType {
53+ return xPermissionGLibType()
54+}
55+
4956 func PermissionNewFromInternalPtr(ptr uintptr) *Permission {
5057 cls := &Permission{}
5158 cls.Ptr = ptr
@@ -228,6 +235,8 @@ func init() {
228235 panic(err)
229236 }
230237
238+ core.PuregoSafeRegister(&xPermissionGLibType, lib, "g_permission_get_type")
239+
231240 core.PuregoSafeRegister(&xPermissionAcquire, lib, "g_permission_acquire")
232241 core.PuregoSafeRegister(&xPermissionAcquireAsync, lib, "g_permission_acquire_async")
233242 core.PuregoSafeRegister(&xPermissionAcquireFinish, lib, "g_permission_acquire_finish")
M v4/gio/gpollableinputstream.go +10 -0
@@ -7,6 +7,7 @@ import (
77 "github.com/jwijenbergh/purego"
88 "github.com/jwijenbergh/puregotk/internal/core"
99 "github.com/jwijenbergh/puregotk/v4/glib"
10+ "github.com/jwijenbergh/puregotk/v4/gobject/types"
1011 )
1112
1213 // The interface for pollable input streams.
@@ -39,6 +40,13 @@ type PollableInputStream interface {
3940 IsReadable() bool
4041 ReadNonblocking(BufferVar []byte, CountVar uint, CancellableVar *Cancellable) int
4142 }
43+
44+var xPollableInputStreamGLibType func() types.GType
45+
46+func PollableInputStreamGLibType() types.GType {
47+ return xPollableInputStreamGLibType()
48+}
49+
4250 type PollableInputStreamBase struct {
4351 Ptr uintptr
4452 }
@@ -125,6 +133,8 @@ func init() {
125133 panic(err)
126134 }
127135
136+ core.PuregoSafeRegister(&xPollableInputStreamGLibType, lib, "g_pollable_input_stream_get_type")
137+
128138 core.PuregoSafeRegister(&XGPollableInputStreamCanPoll, lib, "g_pollable_input_stream_can_poll")
129139 core.PuregoSafeRegister(&XGPollableInputStreamCreateSource, lib, "g_pollable_input_stream_create_source")
130140 core.PuregoSafeRegister(&XGPollableInputStreamIsReadable, lib, "g_pollable_input_stream_is_readable")
M v4/gio/gpollableoutputstream.go +10 -0
@@ -7,6 +7,7 @@ import (
77 "github.com/jwijenbergh/purego"
88 "github.com/jwijenbergh/puregotk/internal/core"
99 "github.com/jwijenbergh/puregotk/v4/glib"
10+ "github.com/jwijenbergh/puregotk/v4/gobject/types"
1011 )
1112
1213 // The interface for pollable output streams.
@@ -46,6 +47,13 @@ type PollableOutputStream interface {
4647 WriteNonblocking(BufferVar []byte, CountVar uint, CancellableVar *Cancellable) int
4748 WritevNonblocking(VectorsVar []OutputVector, NVectorsVar uint, BytesWrittenVar uint, CancellableVar *Cancellable) PollableReturn
4849 }
50+
51+var xPollableOutputStreamGLibType func() types.GType
52+
53+func PollableOutputStreamGLibType() types.GType {
54+ return xPollableOutputStreamGLibType()
55+}
56+
4957 type PollableOutputStreamBase struct {
5058 Ptr uintptr
5159 }
@@ -164,6 +172,8 @@ func init() {
164172 panic(err)
165173 }
166174
175+ core.PuregoSafeRegister(&xPollableOutputStreamGLibType, lib, "g_pollable_output_stream_get_type")
176+
167177 core.PuregoSafeRegister(&XGPollableOutputStreamCanPoll, lib, "g_pollable_output_stream_can_poll")
168178 core.PuregoSafeRegister(&XGPollableOutputStreamCreateSource, lib, "g_pollable_output_stream_create_source")
169179 core.PuregoSafeRegister(&XGPollableOutputStreamIsWritable, lib, "g_pollable_output_stream_is_writable")
M v4/gio/gpollableutils.go +1 -0
@@ -114,6 +114,7 @@ func init() {
114114 if err != nil {
115115 panic(err)
116116 }
117+
117118 core.PuregoSafeRegister(&xPollableSourceNew, lib, "g_pollable_source_new")
118119 core.PuregoSafeRegister(&xPollableSourceNewFull, lib, "g_pollable_source_new_full")
119120 core.PuregoSafeRegister(&xPollableStreamRead, lib, "g_pollable_stream_read")
M v4/gio/gpowerprofilemonitor.go +11 -0
@@ -6,6 +6,7 @@ import (
66
77 "github.com/jwijenbergh/purego"
88 "github.com/jwijenbergh/puregotk/internal/core"
9+ "github.com/jwijenbergh/puregotk/v4/gobject/types"
910 )
1011
1112 // The virtual function table for #GPowerProfileMonitor.
@@ -44,6 +45,13 @@ type PowerProfileMonitor interface {
4445 SetGoPointer(uintptr)
4546 GetPowerSaverEnabled() bool
4647 }
48+
49+var xPowerProfileMonitorGLibType func() types.GType
50+
51+func PowerProfileMonitorGLibType() types.GType {
52+ return xPowerProfileMonitorGLibType()
53+}
54+
4755 type PowerProfileMonitorBase struct {
4856 Ptr uintptr
4957 }
@@ -96,8 +104,11 @@ func init() {
96104 if err != nil {
97105 panic(err)
98106 }
107+
99108 core.PuregoSafeRegister(&xPowerProfileMonitorDupDefault, lib, "g_power_profile_monitor_dup_default")
100109
110+ core.PuregoSafeRegister(&xPowerProfileMonitorGLibType, lib, "g_power_profile_monitor_get_type")
111+
101112 core.PuregoSafeRegister(&XGPowerProfileMonitorGetPowerSaverEnabled, lib, "g_power_profile_monitor_get_power_saver_enabled")
102113
103114 }
M v4/gio/gproxy.go +11 -0
@@ -7,6 +7,7 @@ import (
77 "github.com/jwijenbergh/purego"
88 "github.com/jwijenbergh/puregotk/internal/core"
99 "github.com/jwijenbergh/puregotk/v4/glib"
10+ "github.com/jwijenbergh/puregotk/v4/gobject/types"
1011 )
1112
1213 // Provides an interface for handling proxy connection and payload.
@@ -32,6 +33,13 @@ type Proxy interface {
3233 ConnectFinish(ResultVar AsyncResult) *IOStream
3334 SupportsHostname() bool
3435 }
36+
37+var xProxyGLibType func() types.GType
38+
39+func ProxyGLibType() types.GType {
40+ return xProxyGLibType()
41+}
42+
3543 type ProxyBase struct {
3644 Ptr uintptr
3745 }
@@ -138,8 +146,11 @@ func init() {
138146 if err != nil {
139147 panic(err)
140148 }
149+
141150 core.PuregoSafeRegister(&xProxyGetDefaultForProtocol, lib, "g_proxy_get_default_for_protocol")
142151
152+ core.PuregoSafeRegister(&xProxyGLibType, lib, "g_proxy_get_type")
153+
143154 core.PuregoSafeRegister(&XGProxyConnect, lib, "g_proxy_connect")
144155 core.PuregoSafeRegister(&XGProxyConnectAsync, lib, "g_proxy_connect_async")
145156 core.PuregoSafeRegister(&XGProxyConnectFinish, lib, "g_proxy_connect_finish")
M v4/gio/gproxyaddress.go +9 -0
@@ -6,6 +6,7 @@ import (
66
77 "github.com/jwijenbergh/purego"
88 "github.com/jwijenbergh/puregotk/internal/core"
9+ "github.com/jwijenbergh/puregotk/v4/gobject/types"
910 )
1011
1112 // Class structure for #GProxyAddress.
@@ -29,6 +30,12 @@ type ProxyAddress struct {
2930 InetSocketAddress
3031 }
3132
33+var xProxyAddressGLibType func() types.GType
34+
35+func ProxyAddressGLibType() types.GType {
36+ return xProxyAddressGLibType()
37+}
38+
3239 func ProxyAddressNewFromInternalPtr(ptr uintptr) *ProxyAddress {
3340 cls := &ProxyAddress{}
3441 cls.Ptr = ptr
@@ -185,6 +192,8 @@ func init() {
185192 panic(err)
186193 }
187194
195+ core.PuregoSafeRegister(&xProxyAddressGLibType, lib, "g_proxy_address_get_type")
196+
188197 core.PuregoSafeRegister(&xNewProxyAddress, lib, "g_proxy_address_new")
189198
190199 core.PuregoSafeRegister(&xProxyAddressGetDestinationHostname, lib, "g_proxy_address_get_destination_hostname")
M v4/gio/gproxyaddressenumerator.go +11 -1
@@ -1,7 +1,11 @@
11 // Package gio was automatically generated by github.com/jwijenbergh/puregotk DO NOT EDIT
22 package gio
33
4-import "unsafe"
4+import (
5+ "unsafe"
6+
7+ "github.com/jwijenbergh/puregotk/v4/gobject/types"
8+)
59
610 // Class structure for #GProxyAddressEnumerator.
711 type ProxyAddressEnumeratorClass struct {
@@ -32,6 +36,12 @@ type ProxyAddressEnumerator struct {
3236 SocketAddressEnumerator
3337 }
3438
39+var xProxyAddressEnumeratorGLibType func() types.GType
40+
41+func ProxyAddressEnumeratorGLibType() types.GType {
42+ return xProxyAddressEnumeratorGLibType()
43+}
44+
3545 func ProxyAddressEnumeratorNewFromInternalPtr(ptr uintptr) *ProxyAddressEnumerator {
3646 cls := &ProxyAddressEnumerator{}
3747 cls.Ptr = ptr
M v4/gio/gproxyresolver.go +11 -0
@@ -8,6 +8,7 @@ import (
88 "github.com/jwijenbergh/puregotk/internal/core"
99 "github.com/jwijenbergh/puregotk/v4/glib"
1010 "github.com/jwijenbergh/puregotk/v4/gobject"
11+ "github.com/jwijenbergh/puregotk/v4/gobject/types"
1112 )
1213
1314 // The virtual function table for #GProxyResolver.
@@ -34,6 +35,13 @@ type ProxyResolver interface {
3435 LookupAsync(UriVar string, CancellableVar *Cancellable, CallbackVar *AsyncReadyCallback, UserDataVar uintptr)
3536 LookupFinish(ResultVar AsyncResult) []string
3637 }
38+
39+var xProxyResolverGLibType func() types.GType
40+
41+func ProxyResolverGLibType() types.GType {
42+ return xProxyResolverGLibType()
43+}
44+
3745 type ProxyResolverBase struct {
3846 Ptr uintptr
3947 }
@@ -136,8 +144,11 @@ func init() {
136144 if err != nil {
137145 panic(err)
138146 }
147+
139148 core.PuregoSafeRegister(&xProxyResolverGetDefault, lib, "g_proxy_resolver_get_default")
140149
150+ core.PuregoSafeRegister(&xProxyResolverGLibType, lib, "g_proxy_resolver_get_type")
151+
141152 core.PuregoSafeRegister(&XGProxyResolverIsSupported, lib, "g_proxy_resolver_is_supported")
142153 core.PuregoSafeRegister(&XGProxyResolverLookup, lib, "g_proxy_resolver_lookup")
143154 core.PuregoSafeRegister(&XGProxyResolverLookupAsync, lib, "g_proxy_resolver_lookup_async")
M v4/gio/gremoteactiongroup.go +10 -0
@@ -7,6 +7,7 @@ import (
77 "github.com/jwijenbergh/purego"
88 "github.com/jwijenbergh/puregotk/internal/core"
99 "github.com/jwijenbergh/puregotk/v4/glib"
10+ "github.com/jwijenbergh/puregotk/v4/gobject/types"
1011 )
1112
1213 // The virtual function table for #GRemoteActionGroup.
@@ -45,6 +46,13 @@ type RemoteActionGroup interface {
4546 ActivateActionFull(ActionNameVar string, ParameterVar *glib.Variant, PlatformDataVar *glib.Variant)
4647 ChangeActionStateFull(ActionNameVar string, ValueVar *glib.Variant, PlatformDataVar *glib.Variant)
4748 }
49+
50+var xRemoteActionGroupGLibType func() types.GType
51+
52+func RemoteActionGroupGLibType() types.GType {
53+ return xRemoteActionGroupGLibType()
54+}
55+
4856 type RemoteActionGroupBase struct {
4957 Ptr uintptr
5058 }
@@ -96,6 +104,8 @@ func init() {
96104 panic(err)
97105 }
98106
107+ core.PuregoSafeRegister(&xRemoteActionGroupGLibType, lib, "g_remote_action_group_get_type")
108+
99109 core.PuregoSafeRegister(&XGRemoteActionGroupActivateActionFull, lib, "g_remote_action_group_activate_action_full")
100110 core.PuregoSafeRegister(&XGRemoteActionGroupChangeActionStateFull, lib, "g_remote_action_group_change_action_state_full")
101111
M v4/gio/gresolver.go +17 -0
@@ -8,6 +8,7 @@ import (
88 "github.com/jwijenbergh/puregotk/internal/core"
99 "github.com/jwijenbergh/puregotk/v4/glib"
1010 "github.com/jwijenbergh/puregotk/v4/gobject"
11+ "github.com/jwijenbergh/puregotk/v4/gobject/types"
1112 )
1213
1314 type ResolverClass struct {
@@ -28,6 +29,12 @@ func (x *ResolverPrivate) GoPointer() uintptr {
2829 // Flags to modify lookup behavior.
2930 type ResolverNameLookupFlags int
3031
32+var xResolverNameLookupFlagsGLibType func() types.GType
33+
34+func ResolverNameLookupFlagsGLibType() types.GType {
35+ return xResolverNameLookupFlagsGLibType()
36+}
37+
3138 const (
3239
3340 // default behavior (same as g_resolver_lookup_by_name())
@@ -50,6 +57,12 @@ type Resolver struct {
5057 gobject.Object
5158 }
5259
60+var xResolverGLibType func() types.GType
61+
62+func ResolverGLibType() types.GType {
63+ return xResolverGLibType()
64+}
65+
5366 func ResolverNewFromInternalPtr(ptr uintptr) *Resolver {
5467 cls := &Resolver{}
5568 cls.Ptr = ptr
@@ -438,6 +451,10 @@ func init() {
438451 panic(err)
439452 }
440453
454+ core.PuregoSafeRegister(&xResolverNameLookupFlagsGLibType, lib, "g_resolver_name_lookup_flags_get_type")
455+
456+ core.PuregoSafeRegister(&xResolverGLibType, lib, "g_resolver_get_type")
457+
441458 core.PuregoSafeRegister(&xResolverLookupByAddress, lib, "g_resolver_lookup_by_address")
442459 core.PuregoSafeRegister(&xResolverLookupByAddressAsync, lib, "g_resolver_lookup_by_address_async")
443460 core.PuregoSafeRegister(&xResolverLookupByAddressFinish, lib, "g_resolver_lookup_by_address_finish")
M v4/gio/gresource.go +1 -0
@@ -203,6 +203,7 @@ func init() {
203203 if err != nil {
204204 panic(err)
205205 }
206+
206207 core.PuregoSafeRegister(&xResourceLoad, lib, "g_resource_load")
207208 core.PuregoSafeRegister(&xResourcesEnumerateChildren, lib, "g_resources_enumerate_children")
208209 core.PuregoSafeRegister(&xResourcesGetInfo, lib, "g_resources_get_info")
M v4/gio/gseekable.go +10 -0
@@ -7,6 +7,7 @@ import (
77 "github.com/jwijenbergh/purego"
88 "github.com/jwijenbergh/puregotk/internal/core"
99 "github.com/jwijenbergh/puregotk/v4/glib"
10+ "github.com/jwijenbergh/puregotk/v4/gobject/types"
1011 )
1112
1213 // Provides an interface for implementing seekable functionality on I/O Streams.
@@ -41,6 +42,13 @@ type Seekable interface {
4142 Tell() int64
4243 Truncate(OffsetVar int64, CancellableVar *Cancellable) bool
4344 }
45+
46+var xSeekableGLibType func() types.GType
47+
48+func SeekableGLibType() types.GType {
49+ return xSeekableGLibType()
50+}
51+
4452 type SeekableBase struct {
4553 Ptr uintptr
4654 }
@@ -132,6 +140,8 @@ func init() {
132140 panic(err)
133141 }
134142
143+ core.PuregoSafeRegister(&xSeekableGLibType, lib, "g_seekable_get_type")
144+
135145 core.PuregoSafeRegister(&XGSeekableCanSeek, lib, "g_seekable_can_seek")
136146 core.PuregoSafeRegister(&XGSeekableCanTruncate, lib, "g_seekable_can_truncate")
137147 core.PuregoSafeRegister(&XGSeekableSeek, lib, "g_seekable_seek")
M v4/gio/gsettings.go +17 -0
@@ -8,6 +8,7 @@ import (
88 "github.com/jwijenbergh/puregotk/internal/core"
99 "github.com/jwijenbergh/puregotk/v4/glib"
1010 "github.com/jwijenbergh/puregotk/v4/gobject"
11+ "github.com/jwijenbergh/puregotk/v4/gobject/types"
1112 )
1213
1314 // The type for the function that is used to convert from #GSettings to
@@ -53,6 +54,12 @@ func (x *SettingsPrivate) GoPointer() uintptr {
5354 // directions.
5455 type SettingsBindFlags int
5556
57+var xSettingsBindFlagsGLibType func() types.GType
58+
59+func SettingsBindFlagsGLibType() types.GType {
60+ return xSettingsBindFlagsGLibType()
61+}
62+
5663 const (
5764
5865 // Equivalent to `G_SETTINGS_BIND_GET|G_SETTINGS_BIND_SET`
@@ -374,6 +381,12 @@ type Settings struct {
374381 gobject.Object
375382 }
376383
384+var xSettingsGLibType func() types.GType
385+
386+func SettingsGLibType() types.GType {
387+ return xSettingsGLibType()
388+}
389+
377390 func SettingsNewFromInternalPtr(ptr uintptr) *Settings {
378391 cls := &Settings{}
379392 cls.Ptr = ptr
@@ -1406,6 +1419,10 @@ func init() {
14061419 panic(err)
14071420 }
14081421
1422+ core.PuregoSafeRegister(&xSettingsBindFlagsGLibType, lib, "g_settings_bind_flags_get_type")
1423+
1424+ core.PuregoSafeRegister(&xSettingsGLibType, lib, "g_settings_get_type")
1425+
14091426 core.PuregoSafeRegister(&xNewSettings, lib, "g_settings_new")
14101427 core.PuregoSafeRegister(&xNewSettingsFull, lib, "g_settings_new_full")
14111428 core.PuregoSafeRegister(&xNewSettingsWithBackend, lib, "g_settings_new_with_backend")
M v4/gio/gsettingsbackend.go +10 -0
@@ -8,6 +8,7 @@ import (
88 "github.com/jwijenbergh/puregotk/internal/core"
99 "github.com/jwijenbergh/puregotk/v4/glib"
1010 "github.com/jwijenbergh/puregotk/v4/gobject"
11+ "github.com/jwijenbergh/puregotk/v4/gobject/types"
1112 )
1213
1314 // Class structure for #GSettingsBackend.
@@ -168,6 +169,12 @@ type SettingsBackend struct {
168169 gobject.Object
169170 }
170171
172+var xSettingsBackendGLibType func() types.GType
173+
174+func SettingsBackendGLibType() types.GType {
175+ return xSettingsBackendGLibType()
176+}
177+
171178 func SettingsBackendNewFromInternalPtr(ptr uintptr) *SettingsBackend {
172179 cls := &SettingsBackend{}
173180 cls.Ptr = ptr
@@ -346,10 +353,13 @@ func init() {
346353 if err != nil {
347354 panic(err)
348355 }
356+
349357 core.PuregoSafeRegister(&xKeyfileSettingsBackendNew, lib, "g_keyfile_settings_backend_new")
350358 core.PuregoSafeRegister(&xMemorySettingsBackendNew, lib, "g_memory_settings_backend_new")
351359 core.PuregoSafeRegister(&xNullSettingsBackendNew, lib, "g_null_settings_backend_new")
352360
361+ core.PuregoSafeRegister(&xSettingsBackendGLibType, lib, "g_settings_backend_get_type")
362+
353363 core.PuregoSafeRegister(&xSettingsBackendChanged, lib, "g_settings_backend_changed")
354364 core.PuregoSafeRegister(&xSettingsBackendChangedTree, lib, "g_settings_backend_changed_tree")
355365 core.PuregoSafeRegister(&xSettingsBackendKeysChanged, lib, "g_settings_backend_keys_changed")
M v4/gio/gsettingsschema.go +26 -0
@@ -7,6 +7,7 @@ import (
77 "github.com/jwijenbergh/purego"
88 "github.com/jwijenbergh/puregotk/internal/core"
99 "github.com/jwijenbergh/puregotk/v4/glib"
10+ "github.com/jwijenbergh/puregotk/v4/gobject/types"
1011 )
1112
1213 // The #GSettingsSchemaSource and #GSettingsSchema APIs provide a
@@ -109,6 +110,12 @@ import (
109110 type SettingsSchema struct {
110111 }
111112
113+var xSettingsSchemaGLibType func() types.GType
114+
115+func SettingsSchemaGLibType() types.GType {
116+ return xSettingsSchemaGLibType()
117+}
118+
112119 func (x *SettingsSchema) GoPointer() uintptr {
113120 return uintptr(unsafe.Pointer(x))
114121 }
@@ -208,6 +215,12 @@ func (x *SettingsSchema) Unref() {
208215 type SettingsSchemaKey struct {
209216 }
210217
218+var xSettingsSchemaKeyGLibType func() types.GType
219+
220+func SettingsSchemaKeyGLibType() types.GType {
221+ return xSettingsSchemaKeyGLibType()
222+}
223+
211224 func (x *SettingsSchemaKey) GoPointer() uintptr {
212225 return uintptr(unsafe.Pointer(x))
213226 }
@@ -364,6 +377,12 @@ func (x *SettingsSchemaKey) Unref() {
364377 type SettingsSchemaSource struct {
365378 }
366379
380+var xSettingsSchemaSourceGLibType func() types.GType
381+
382+func SettingsSchemaSourceGLibType() types.GType {
383+ return xSettingsSchemaSourceGLibType()
384+}
385+
367386 func (x *SettingsSchemaSource) GoPointer() uintptr {
368387 return uintptr(unsafe.Pointer(x))
369388 }
@@ -494,8 +513,11 @@ func init() {
494513 if err != nil {
495514 panic(err)
496515 }
516+
497517 core.PuregoSafeRegister(&xSettingsSchemaSourceGetDefault, lib, "g_settings_schema_source_get_default")
498518
519+ core.PuregoSafeRegister(&xSettingsSchemaGLibType, lib, "g_settings_schema_get_type")
520+
499521 core.PuregoSafeRegister(&xSettingsSchemaGetId, lib, "g_settings_schema_get_id")
500522 core.PuregoSafeRegister(&xSettingsSchemaGetKey, lib, "g_settings_schema_get_key")
501523 core.PuregoSafeRegister(&xSettingsSchemaGetPath, lib, "g_settings_schema_get_path")
@@ -505,6 +527,8 @@ func init() {
505527 core.PuregoSafeRegister(&xSettingsSchemaRef, lib, "g_settings_schema_ref")
506528 core.PuregoSafeRegister(&xSettingsSchemaUnref, lib, "g_settings_schema_unref")
507529
530+ core.PuregoSafeRegister(&xSettingsSchemaKeyGLibType, lib, "g_settings_schema_key_get_type")
531+
508532 core.PuregoSafeRegister(&xSettingsSchemaKeyGetDefaultValue, lib, "g_settings_schema_key_get_default_value")
509533 core.PuregoSafeRegister(&xSettingsSchemaKeyGetDescription, lib, "g_settings_schema_key_get_description")
510534 core.PuregoSafeRegister(&xSettingsSchemaKeyGetName, lib, "g_settings_schema_key_get_name")
@@ -515,6 +539,8 @@ func init() {
515539 core.PuregoSafeRegister(&xSettingsSchemaKeyRef, lib, "g_settings_schema_key_ref")
516540 core.PuregoSafeRegister(&xSettingsSchemaKeyUnref, lib, "g_settings_schema_key_unref")
517541
542+ core.PuregoSafeRegister(&xSettingsSchemaSourceGLibType, lib, "g_settings_schema_source_get_type")
543+
518544 core.PuregoSafeRegister(&xNewSettingsSchemaSourceFromDirectory, lib, "g_settings_schema_source_new_from_directory")
519545
520546 core.PuregoSafeRegister(&xSettingsSchemaSourceListSchemas, lib, "g_settings_schema_source_list_schemas")
M v4/gio/gsimpleactiongroup.go +9 -0
@@ -8,6 +8,7 @@ import (
88 "github.com/jwijenbergh/puregotk/internal/core"
99 "github.com/jwijenbergh/puregotk/v4/glib"
1010 "github.com/jwijenbergh/puregotk/v4/gobject"
11+ "github.com/jwijenbergh/puregotk/v4/gobject/types"
1112 )
1213
1314 type SimpleActionGroupClass struct {
@@ -33,6 +34,12 @@ type SimpleActionGroup struct {
3334 gobject.Object
3435 }
3536
37+var xSimpleActionGroupGLibType func() types.GType
38+
39+func SimpleActionGroupGLibType() types.GType {
40+ return xSimpleActionGroupGLibType()
41+}
42+
3643 func SimpleActionGroupNewFromInternalPtr(ptr uintptr) *SimpleActionGroup {
3744 cls := &SimpleActionGroup{}
3845 cls.Ptr = ptr
@@ -441,6 +448,8 @@ func init() {
441448 panic(err)
442449 }
443450
451+ core.PuregoSafeRegister(&xSimpleActionGroupGLibType, lib, "g_simple_action_group_get_type")
452+
444453 core.PuregoSafeRegister(&xNewSimpleActionGroup, lib, "g_simple_action_group_new")
445454
446455 core.PuregoSafeRegister(&xSimpleActionGroupAddEntries, lib, "g_simple_action_group_add_entries")
M v4/gio/gsimpleasyncresult.go +10 -0
@@ -8,6 +8,7 @@ import (
88 "github.com/jwijenbergh/puregotk/internal/core"
99 "github.com/jwijenbergh/puregotk/v4/glib"
1010 "github.com/jwijenbergh/puregotk/v4/gobject"
11+ "github.com/jwijenbergh/puregotk/v4/gobject/types"
1112 )
1213
1314 type SimpleAsyncResultClass struct {
@@ -226,6 +227,12 @@ type SimpleAsyncResult struct {
226227 gobject.Object
227228 }
228229
230+var xSimpleAsyncResultGLibType func() types.GType
231+
232+func SimpleAsyncResultGLibType() types.GType {
233+ return xSimpleAsyncResultGLibType()
234+}
235+
229236 func SimpleAsyncResultNewFromInternalPtr(ptr uintptr) *SimpleAsyncResult {
230237 cls := &SimpleAsyncResult{}
231238 cls.Ptr = ptr
@@ -590,10 +597,13 @@ func init() {
590597 if err != nil {
591598 panic(err)
592599 }
600+
593601 core.PuregoSafeRegister(&xSimpleAsyncReportErrorInIdle, lib, "g_simple_async_report_error_in_idle")
594602 core.PuregoSafeRegister(&xSimpleAsyncReportGerrorInIdle, lib, "g_simple_async_report_gerror_in_idle")
595603 core.PuregoSafeRegister(&xSimpleAsyncReportTakeGerrorInIdle, lib, "g_simple_async_report_take_gerror_in_idle")
596604
605+ core.PuregoSafeRegister(&xSimpleAsyncResultGLibType, lib, "g_simple_async_result_get_type")
606+
597607 core.PuregoSafeRegister(&xNewSimpleAsyncResult, lib, "g_simple_async_result_new")
598608 core.PuregoSafeRegister(&xNewSimpleAsyncResultError, lib, "g_simple_async_result_new_error")
599609 core.PuregoSafeRegister(&xNewSimpleAsyncResultFromError, lib, "g_simple_async_result_new_from_error")
M v4/gio/gsimpleproxyresolver.go +9 -0
@@ -8,6 +8,7 @@ import (
88 "github.com/jwijenbergh/puregotk/internal/core"
99 "github.com/jwijenbergh/puregotk/v4/glib"
1010 "github.com/jwijenbergh/puregotk/v4/gobject"
11+ "github.com/jwijenbergh/puregotk/v4/gobject/types"
1112 )
1213
1314 type SimpleProxyResolverClass struct {
@@ -37,6 +38,12 @@ type SimpleProxyResolver struct {
3738 gobject.Object
3839 }
3940
41+var xSimpleProxyResolverGLibType func() types.GType
42+
43+func SimpleProxyResolverGLibType() types.GType {
44+ return xSimpleProxyResolverGLibType()
45+}
46+
4047 func SimpleProxyResolverNewFromInternalPtr(ptr uintptr) *SimpleProxyResolver {
4148 cls := &SimpleProxyResolver{}
4249 cls.Ptr = ptr
@@ -176,6 +183,8 @@ func init() {
176183 panic(err)
177184 }
178185
186+ core.PuregoSafeRegister(&xSimpleProxyResolverGLibType, lib, "g_simple_proxy_resolver_get_type")
187+
179188 core.PuregoSafeRegister(&xSimpleProxyResolverSetDefaultProxy, lib, "g_simple_proxy_resolver_set_default_proxy")
180189 core.PuregoSafeRegister(&xSimpleProxyResolverSetIgnoreHosts, lib, "g_simple_proxy_resolver_set_ignore_hosts")
181190 core.PuregoSafeRegister(&xSimpleProxyResolverSetUriProxy, lib, "g_simple_proxy_resolver_set_uri_proxy")
M v4/gio/gsocket.go +9 -0
@@ -8,6 +8,7 @@ import (
88 "github.com/jwijenbergh/puregotk/internal/core"
99 "github.com/jwijenbergh/puregotk/v4/glib"
1010 "github.com/jwijenbergh/puregotk/v4/gobject"
11+ "github.com/jwijenbergh/puregotk/v4/gobject/types"
1112 )
1213
1314 type SocketClass struct {
@@ -80,6 +81,12 @@ type Socket struct {
8081 gobject.Object
8182 }
8283
84+var xSocketGLibType func() types.GType
85+
86+func SocketGLibType() types.GType {
87+ return xSocketGLibType()
88+}
89+
8390 func SocketNewFromInternalPtr(ptr uintptr) *Socket {
8491 cls := &Socket{}
8592 cls.Ptr = ptr
@@ -1464,6 +1471,8 @@ func init() {
14641471 panic(err)
14651472 }
14661473
1474+ core.PuregoSafeRegister(&xSocketGLibType, lib, "g_socket_get_type")
1475+
14671476 core.PuregoSafeRegister(&xNewSocket, lib, "g_socket_new")
14681477 core.PuregoSafeRegister(&xNewSocketFromFd, lib, "g_socket_new_from_fd")
14691478
M v4/gio/gsocketaddress.go +9 -0
@@ -8,6 +8,7 @@ import (
88 "github.com/jwijenbergh/puregotk/internal/core"
99 "github.com/jwijenbergh/puregotk/v4/glib"
1010 "github.com/jwijenbergh/puregotk/v4/gobject"
11+ "github.com/jwijenbergh/puregotk/v4/gobject/types"
1112 )
1213
1314 type SocketAddressClass struct {
@@ -25,6 +26,12 @@ type SocketAddress struct {
2526 gobject.Object
2627 }
2728
29+var xSocketAddressGLibType func() types.GType
30+
31+func SocketAddressGLibType() types.GType {
32+ return xSocketAddressGLibType()
33+}
34+
2835 func SocketAddressNewFromInternalPtr(ptr uintptr) *SocketAddress {
2936 cls := &SocketAddress{}
3037 cls.Ptr = ptr
@@ -148,6 +155,8 @@ func init() {
148155 panic(err)
149156 }
150157
158+ core.PuregoSafeRegister(&xSocketAddressGLibType, lib, "g_socket_address_get_type")
159+
151160 core.PuregoSafeRegister(&xNewSocketAddressFromNative, lib, "g_socket_address_new_from_native")
152161
153162 core.PuregoSafeRegister(&xSocketAddressGetFamily, lib, "g_socket_address_get_family")
M v4/gio/gsocketaddressenumerator.go +9 -0
@@ -8,6 +8,7 @@ import (
88 "github.com/jwijenbergh/puregotk/internal/core"
99 "github.com/jwijenbergh/puregotk/v4/glib"
1010 "github.com/jwijenbergh/puregotk/v4/gobject"
11+ "github.com/jwijenbergh/puregotk/v4/gobject/types"
1112 )
1213
1314 // Class structure for #GSocketAddressEnumerator.
@@ -37,6 +38,12 @@ type SocketAddressEnumerator struct {
3738 gobject.Object
3839 }
3940
41+var xSocketAddressEnumeratorGLibType func() types.GType
42+
43+func SocketAddressEnumeratorGLibType() types.GType {
44+ return xSocketAddressEnumeratorGLibType()
45+}
46+
4047 func SocketAddressEnumeratorNewFromInternalPtr(ptr uintptr) *SocketAddressEnumerator {
4148 cls := &SocketAddressEnumerator{}
4249 cls.Ptr = ptr
@@ -127,6 +134,8 @@ func init() {
127134 panic(err)
128135 }
129136
137+ core.PuregoSafeRegister(&xSocketAddressEnumeratorGLibType, lib, "g_socket_address_enumerator_get_type")
138+
130139 core.PuregoSafeRegister(&xSocketAddressEnumeratorNext, lib, "g_socket_address_enumerator_next")
131140 core.PuregoSafeRegister(&xSocketAddressEnumeratorNextAsync, lib, "g_socket_address_enumerator_next_async")
132141 core.PuregoSafeRegister(&xSocketAddressEnumeratorNextFinish, lib, "g_socket_address_enumerator_next_finish")
M v4/gio/gsocketclient.go +9 -0
@@ -8,6 +8,7 @@ import (
88 "github.com/jwijenbergh/puregotk/internal/core"
99 "github.com/jwijenbergh/puregotk/v4/glib"
1010 "github.com/jwijenbergh/puregotk/v4/gobject"
11+ "github.com/jwijenbergh/puregotk/v4/gobject/types"
1112 )
1213
1314 type SocketClientClass struct {
@@ -42,6 +43,12 @@ type SocketClient struct {
4243 gobject.Object
4344 }
4445
46+var xSocketClientGLibType func() types.GType
47+
48+func SocketClientGLibType() types.GType {
49+ return xSocketClientGLibType()
50+}
51+
4552 func SocketClientNewFromInternalPtr(ptr uintptr) *SocketClient {
4653 cls := &SocketClient{}
4754 cls.Ptr = ptr
@@ -735,6 +742,8 @@ func init() {
735742 panic(err)
736743 }
737744
745+ core.PuregoSafeRegister(&xSocketClientGLibType, lib, "g_socket_client_get_type")
746+
738747 core.PuregoSafeRegister(&xNewSocketClient, lib, "g_socket_client_new")
739748
740749 core.PuregoSafeRegister(&xSocketClientAddApplicationProxy, lib, "g_socket_client_add_application_proxy")
M v4/gio/gsocketconnectable.go +10 -0
@@ -6,6 +6,7 @@ import (
66
77 "github.com/jwijenbergh/purego"
88 "github.com/jwijenbergh/puregotk/internal/core"
9+ "github.com/jwijenbergh/puregotk/v4/gobject/types"
910 )
1011
1112 // Provides an interface for returning a #GSocketAddressEnumerator
@@ -85,6 +86,13 @@ type SocketConnectable interface {
8586 ProxyEnumerate() *SocketAddressEnumerator
8687 ToString() string
8788 }
89+
90+var xSocketConnectableGLibType func() types.GType
91+
92+func SocketConnectableGLibType() types.GType {
93+ return xSocketConnectableGLibType()
94+}
95+
8896 type SocketConnectableBase struct {
8997 Ptr uintptr
9098 }
@@ -154,6 +162,8 @@ func init() {
154162 panic(err)
155163 }
156164
165+ core.PuregoSafeRegister(&xSocketConnectableGLibType, lib, "g_socket_connectable_get_type")
166+
157167 core.PuregoSafeRegister(&XGSocketConnectableEnumerate, lib, "g_socket_connectable_enumerate")
158168 core.PuregoSafeRegister(&XGSocketConnectableProxyEnumerate, lib, "g_socket_connectable_proxy_enumerate")
159169 core.PuregoSafeRegister(&XGSocketConnectableToString, lib, "g_socket_connectable_to_string")
M v4/gio/gsocketconnection.go +8 -0
@@ -46,6 +46,12 @@ type SocketConnection struct {
4646 IOStream
4747 }
4848
49+var xSocketConnectionGLibType func() types.GType
50+
51+func SocketConnectionGLibType() types.GType {
52+ return xSocketConnectionGLibType()
53+}
54+
4955 func SocketConnectionNewFromInternalPtr(ptr uintptr) *SocketConnection {
5056 cls := &SocketConnection{}
5157 cls.Ptr = ptr
@@ -210,6 +216,8 @@ func init() {
210216 panic(err)
211217 }
212218
219+ core.PuregoSafeRegister(&xSocketConnectionGLibType, lib, "g_socket_connection_get_type")
220+
213221 core.PuregoSafeRegister(&xSocketConnectionConnect, lib, "g_socket_connection_connect")
214222 core.PuregoSafeRegister(&xSocketConnectionConnectAsync, lib, "g_socket_connection_connect_async")
215223 core.PuregoSafeRegister(&xSocketConnectionConnectFinish, lib, "g_socket_connection_connect_finish")
M v4/gio/gsocketcontrolmessage.go +9 -0
@@ -7,6 +7,7 @@ import (
77 "github.com/jwijenbergh/purego"
88 "github.com/jwijenbergh/puregotk/internal/core"
99 "github.com/jwijenbergh/puregotk/v4/gobject"
10+ "github.com/jwijenbergh/puregotk/v4/gobject/types"
1011 )
1112
1213 // Class structure for #GSocketControlMessage.
@@ -49,6 +50,12 @@ type SocketControlMessage struct {
4950 gobject.Object
5051 }
5152
53+var xSocketControlMessageGLibType func() types.GType
54+
55+func SocketControlMessageGLibType() types.GType {
56+ return xSocketControlMessageGLibType()
57+}
58+
5259 func SocketControlMessageNewFromInternalPtr(ptr uintptr) *SocketControlMessage {
5360 cls := &SocketControlMessage{}
5461 cls.Ptr = ptr
@@ -135,6 +142,8 @@ func init() {
135142 panic(err)
136143 }
137144
145+ core.PuregoSafeRegister(&xSocketControlMessageGLibType, lib, "g_socket_control_message_get_type")
146+
138147 core.PuregoSafeRegister(&xSocketControlMessageGetLevel, lib, "g_socket_control_message_get_level")
139148 core.PuregoSafeRegister(&xSocketControlMessageGetMsgType, lib, "g_socket_control_message_get_msg_type")
140149 core.PuregoSafeRegister(&xSocketControlMessageGetSize, lib, "g_socket_control_message_get_size")
M v4/gio/gsocketlistener.go +9 -0
@@ -8,6 +8,7 @@ import (
88 "github.com/jwijenbergh/puregotk/internal/core"
99 "github.com/jwijenbergh/puregotk/v4/glib"
1010 "github.com/jwijenbergh/puregotk/v4/gobject"
11+ "github.com/jwijenbergh/puregotk/v4/gobject/types"
1112 )
1213
1314 // Class structure for #GSocketListener.
@@ -44,6 +45,12 @@ type SocketListener struct {
4445 gobject.Object
4546 }
4647
48+var xSocketListenerGLibType func() types.GType
49+
50+func SocketListenerGLibType() types.GType {
51+ return xSocketListenerGLibType()
52+}
53+
4754 func SocketListenerNewFromInternalPtr(ptr uintptr) *SocketListener {
4855 cls := &SocketListener{}
4956 cls.Ptr = ptr
@@ -370,6 +377,8 @@ func init() {
370377 panic(err)
371378 }
372379
380+ core.PuregoSafeRegister(&xSocketListenerGLibType, lib, "g_socket_listener_get_type")
381+
373382 core.PuregoSafeRegister(&xNewSocketListener, lib, "g_socket_listener_new")
374383
375384 core.PuregoSafeRegister(&xSocketListenerAccept, lib, "g_socket_listener_accept")
M v4/gio/gsocketservice.go +9 -0
@@ -8,6 +8,7 @@ import (
88 "github.com/jwijenbergh/puregotk/internal/core"
99 "github.com/jwijenbergh/puregotk/v4/glib"
1010 "github.com/jwijenbergh/puregotk/v4/gobject"
11+ "github.com/jwijenbergh/puregotk/v4/gobject/types"
1112 )
1213
1314 // Class structure for #GSocketService.
@@ -56,6 +57,12 @@ type SocketService struct {
5657 SocketListener
5758 }
5859
60+var xSocketServiceGLibType func() types.GType
61+
62+func SocketServiceGLibType() types.GType {
63+ return xSocketServiceGLibType()
64+}
65+
5966 func SocketServiceNewFromInternalPtr(ptr uintptr) *SocketService {
6067 cls := &SocketService{}
6168 cls.Ptr = ptr
@@ -174,6 +181,8 @@ func init() {
174181 panic(err)
175182 }
176183
184+ core.PuregoSafeRegister(&xSocketServiceGLibType, lib, "g_socket_service_get_type")
185+
177186 core.PuregoSafeRegister(&xNewSocketService, lib, "g_socket_service_new")
178187
179188 core.PuregoSafeRegister(&xSocketServiceIsActive, lib, "g_socket_service_is_active")
M v4/gio/gsrvtarget.go +1 -0
@@ -21,6 +21,7 @@ func init() {
2121 if err != nil {
2222 panic(err)
2323 }
24+
2425 core.PuregoSafeRegister(&xSrvTargetListSort, lib, "g_srv_target_list_sort")
2526
2627 }
M v4/gio/gtask.go +9 -0
@@ -8,6 +8,7 @@ import (
88 "github.com/jwijenbergh/puregotk/internal/core"
99 "github.com/jwijenbergh/puregotk/v4/glib"
1010 "github.com/jwijenbergh/puregotk/v4/gobject"
11+ "github.com/jwijenbergh/puregotk/v4/gobject/types"
1112 )
1213
1314 // The prototype for a task function to be run in a thread via
@@ -545,6 +546,12 @@ type Task struct {
545546 gobject.Object
546547 }
547548
549+var xTaskGLibType func() types.GType
550+
551+func TaskGLibType() types.GType {
552+ return xTaskGLibType()
553+}
554+
548555 func TaskNewFromInternalPtr(ptr uintptr) *Task {
549556 cls := &Task{}
550557 cls.Ptr = ptr
@@ -1176,6 +1183,8 @@ func init() {
11761183 panic(err)
11771184 }
11781185
1186+ core.PuregoSafeRegister(&xTaskGLibType, lib, "g_task_get_type")
1187+
11791188 core.PuregoSafeRegister(&xNewTask, lib, "g_task_new")
11801189
11811190 core.PuregoSafeRegister(&xTaskAttachSource, lib, "g_task_attach_source")
M v4/gio/gtcpconnection.go +9 -0
@@ -6,6 +6,7 @@ import (
66
77 "github.com/jwijenbergh/purego"
88 "github.com/jwijenbergh/puregotk/internal/core"
9+ "github.com/jwijenbergh/puregotk/v4/gobject/types"
910 )
1011
1112 type TcpConnectionClass struct {
@@ -29,6 +30,12 @@ type TcpConnection struct {
2930 SocketConnection
3031 }
3132
33+var xTcpConnectionGLibType func() types.GType
34+
35+func TcpConnectionGLibType() types.GType {
36+ return xTcpConnectionGLibType()
37+}
38+
3239 func TcpConnectionNewFromInternalPtr(ptr uintptr) *TcpConnection {
3340 cls := &TcpConnection{}
3441 cls.Ptr = ptr
@@ -76,6 +83,8 @@ func init() {
7683 panic(err)
7784 }
7885
86+ core.PuregoSafeRegister(&xTcpConnectionGLibType, lib, "g_tcp_connection_get_type")
87+
7988 core.PuregoSafeRegister(&xTcpConnectionGetGracefulDisconnect, lib, "g_tcp_connection_get_graceful_disconnect")
8089 core.PuregoSafeRegister(&xTcpConnectionSetGracefulDisconnect, lib, "g_tcp_connection_set_graceful_disconnect")
8190
M v4/gio/gtcpwrapperconnection.go +9 -0
@@ -7,6 +7,7 @@ import (
77 "github.com/jwijenbergh/purego"
88 "github.com/jwijenbergh/puregotk/internal/core"
99 "github.com/jwijenbergh/puregotk/v4/gobject"
10+ "github.com/jwijenbergh/puregotk/v4/gobject/types"
1011 )
1112
1213 type TcpWrapperConnectionClass struct {
@@ -33,6 +34,12 @@ type TcpWrapperConnection struct {
3334 TcpConnection
3435 }
3536
37+var xTcpWrapperConnectionGLibType func() types.GType
38+
39+func TcpWrapperConnectionGLibType() types.GType {
40+ return xTcpWrapperConnectionGLibType()
41+}
42+
3643 func TcpWrapperConnectionNewFromInternalPtr(ptr uintptr) *TcpWrapperConnection {
3744 cls := &TcpWrapperConnection{}
3845 cls.Ptr = ptr
@@ -86,6 +93,8 @@ func init() {
8693 panic(err)
8794 }
8895
96+ core.PuregoSafeRegister(&xTcpWrapperConnectionGLibType, lib, "g_tcp_wrapper_connection_get_type")
97+
8998 core.PuregoSafeRegister(&xNewTcpWrapperConnection, lib, "g_tcp_wrapper_connection_new")
9099
91100 core.PuregoSafeRegister(&xTcpWrapperConnectionGetBaseIoStream, lib, "g_tcp_wrapper_connection_get_base_io_stream")
M v4/gio/gthemedicon.go +9 -0
@@ -8,6 +8,7 @@ import (
88 "github.com/jwijenbergh/puregotk/internal/core"
99 "github.com/jwijenbergh/puregotk/v4/glib"
1010 "github.com/jwijenbergh/puregotk/v4/gobject"
11+ "github.com/jwijenbergh/puregotk/v4/gobject/types"
1112 )
1213
1314 type ThemedIconClass struct {
@@ -28,6 +29,12 @@ type ThemedIcon struct {
2829 gobject.Object
2930 }
3031
32+var xThemedIconGLibType func() types.GType
33+
34+func ThemedIconGLibType() types.GType {
35+ return xThemedIconGLibType()
36+}
37+
3138 func ThemedIconNewFromInternalPtr(ptr uintptr) *ThemedIcon {
3239 cls := &ThemedIcon{}
3340 cls.Ptr = ptr
@@ -184,6 +191,8 @@ func init() {
184191 panic(err)
185192 }
186193
194+ core.PuregoSafeRegister(&xThemedIconGLibType, lib, "g_themed_icon_get_type")
195+
187196 core.PuregoSafeRegister(&xNewThemedIcon, lib, "g_themed_icon_new")
188197 core.PuregoSafeRegister(&xNewThemedIconFromNames, lib, "g_themed_icon_new_from_names")
189198 core.PuregoSafeRegister(&xNewThemedIconWithDefaultFallbacks, lib, "g_themed_icon_new_with_default_fallbacks")
M v4/gio/gthreadedsocketservice.go +9 -0
@@ -8,6 +8,7 @@ import (
88 "github.com/jwijenbergh/puregotk/internal/core"
99 "github.com/jwijenbergh/puregotk/v4/glib"
1010 "github.com/jwijenbergh/puregotk/v4/gobject"
11+ "github.com/jwijenbergh/puregotk/v4/gobject/types"
1112 )
1213
1314 type ThreadedSocketServiceClass struct {
@@ -44,6 +45,12 @@ type ThreadedSocketService struct {
4445 SocketService
4546 }
4647
48+var xThreadedSocketServiceGLibType func() types.GType
49+
50+func ThreadedSocketServiceGLibType() types.GType {
51+ return xThreadedSocketServiceGLibType()
52+}
53+
4754 func ThreadedSocketServiceNewFromInternalPtr(ptr uintptr) *ThreadedSocketService {
4855 cls := &ThreadedSocketService{}
4956 cls.Ptr = ptr
@@ -104,6 +111,8 @@ func init() {
104111 panic(err)
105112 }
106113
114+ core.PuregoSafeRegister(&xThreadedSocketServiceGLibType, lib, "g_threaded_socket_service_get_type")
115+
107116 core.PuregoSafeRegister(&xNewThreadedSocketService, lib, "g_threaded_socket_service_new")
108117
109118 }
M v4/gio/gtlsbackend.go +10 -0
@@ -34,6 +34,13 @@ type TlsBackend interface {
3434 SupportsDtls() bool
3535 SupportsTls() bool
3636 }
37+
38+var xTlsBackendGLibType func() types.GType
39+
40+func TlsBackendGLibType() types.GType {
41+ return xTlsBackendGLibType()
42+}
43+
3744 type TlsBackendBase struct {
3845 Ptr uintptr
3946 }
@@ -171,8 +178,11 @@ func init() {
171178 if err != nil {
172179 panic(err)
173180 }
181+
174182 core.PuregoSafeRegister(&xTlsBackendGetDefault, lib, "g_tls_backend_get_default")
175183
184+ core.PuregoSafeRegister(&xTlsBackendGLibType, lib, "g_tls_backend_get_type")
185+
176186 core.PuregoSafeRegister(&XGTlsBackendGetCertificateType, lib, "g_tls_backend_get_certificate_type")
177187 core.PuregoSafeRegister(&XGTlsBackendGetClientConnectionType, lib, "g_tls_backend_get_client_connection_type")
178188 core.PuregoSafeRegister(&XGTlsBackendGetDefaultDatabase, lib, "g_tls_backend_get_default_database")
M v4/gio/gtlscertificate.go +9 -0
@@ -8,6 +8,7 @@ import (
88 "github.com/jwijenbergh/puregotk/internal/core"
99 "github.com/jwijenbergh/puregotk/v4/glib"
1010 "github.com/jwijenbergh/puregotk/v4/gobject"
11+ "github.com/jwijenbergh/puregotk/v4/gobject/types"
1112 )
1213
1314 type TlsCertificateClass struct {
@@ -36,6 +37,12 @@ type TlsCertificate struct {
3637 gobject.Object
3738 }
3839
40+var xTlsCertificateGLibType func() types.GType
41+
42+func TlsCertificateGLibType() types.GType {
43+ return xTlsCertificateGLibType()
44+}
45+
3946 func TlsCertificateNewFromInternalPtr(ptr uintptr) *TlsCertificate {
4047 cls := &TlsCertificate{}
4148 cls.Ptr = ptr
@@ -406,6 +413,8 @@ func init() {
406413 panic(err)
407414 }
408415
416+ core.PuregoSafeRegister(&xTlsCertificateGLibType, lib, "g_tls_certificate_get_type")
417+
409418 core.PuregoSafeRegister(&xNewTlsCertificateFromFile, lib, "g_tls_certificate_new_from_file")
410419 core.PuregoSafeRegister(&xNewTlsCertificateFromFileWithPassword, lib, "g_tls_certificate_new_from_file_with_password")
411420 core.PuregoSafeRegister(&xNewTlsCertificateFromFiles, lib, "g_tls_certificate_new_from_files")
M v4/gio/gtlsclientconnection.go +11 -0
@@ -8,6 +8,7 @@ import (
88 "github.com/jwijenbergh/puregotk/internal/core"
99 "github.com/jwijenbergh/puregotk/v4/glib"
1010 "github.com/jwijenbergh/puregotk/v4/gobject"
11+ "github.com/jwijenbergh/puregotk/v4/gobject/types"
1112 )
1213
1314 // vtable for a #GTlsClientConnection implementation.
@@ -33,6 +34,13 @@ type TlsClientConnection interface {
3334 SetUseSsl3(UseSsl3Var bool)
3435 SetValidationFlags(FlagsVar TlsCertificateFlags)
3536 }
37+
38+var xTlsClientConnectionGLibType func() types.GType
39+
40+func TlsClientConnectionGLibType() types.GType {
41+ return xTlsClientConnectionGLibType()
42+}
43+
3644 type TlsClientConnectionBase struct {
3745 Ptr uintptr
3846 }
@@ -206,8 +214,11 @@ func init() {
206214 if err != nil {
207215 panic(err)
208216 }
217+
209218 core.PuregoSafeRegister(&xTlsClientConnectionNew, lib, "g_tls_client_connection_new")
210219
220+ core.PuregoSafeRegister(&xTlsClientConnectionGLibType, lib, "g_tls_client_connection_get_type")
221+
211222 core.PuregoSafeRegister(&XGTlsClientConnectionCopySessionState, lib, "g_tls_client_connection_copy_session_state")
212223 core.PuregoSafeRegister(&XGTlsClientConnectionGetAcceptedCas, lib, "g_tls_client_connection_get_accepted_cas")
213224 core.PuregoSafeRegister(&XGTlsClientConnectionGetServerIdentity, lib, "g_tls_client_connection_get_server_identity")
M v4/gio/gtlsconnection.go +9 -0
@@ -8,6 +8,7 @@ import (
88 "github.com/jwijenbergh/puregotk/internal/core"
99 "github.com/jwijenbergh/puregotk/v4/glib"
1010 "github.com/jwijenbergh/puregotk/v4/gobject"
11+ "github.com/jwijenbergh/puregotk/v4/gobject/types"
1112 )
1213
1314 // The class structure for the #GTlsConnection type.
@@ -38,6 +39,12 @@ type TlsConnection struct {
3839 IOStream
3940 }
4041
42+var xTlsConnectionGLibType func() types.GType
43+
44+func TlsConnectionGLibType() types.GType {
45+ return xTlsConnectionGLibType()
46+}
47+
4148 func TlsConnectionNewFromInternalPtr(ptr uintptr) *TlsConnection {
4249 cls := &TlsConnection{}
4350 cls.Ptr = ptr
@@ -524,6 +531,8 @@ func init() {
524531 panic(err)
525532 }
526533
534+ core.PuregoSafeRegister(&xTlsConnectionGLibType, lib, "g_tls_connection_get_type")
535+
527536 core.PuregoSafeRegister(&xTlsConnectionEmitAcceptCertificate, lib, "g_tls_connection_emit_accept_certificate")
528537 core.PuregoSafeRegister(&xTlsConnectionGetCertificate, lib, "g_tls_connection_get_certificate")
529538 core.PuregoSafeRegister(&xTlsConnectionGetChannelBindingData, lib, "g_tls_connection_get_channel_binding_data")
M v4/gio/gtlsdatabase.go +9 -0
@@ -8,6 +8,7 @@ import (
88 "github.com/jwijenbergh/puregotk/internal/core"
99 "github.com/jwijenbergh/puregotk/v4/glib"
1010 "github.com/jwijenbergh/puregotk/v4/gobject"
11+ "github.com/jwijenbergh/puregotk/v4/gobject/types"
1112 )
1213
1314 // The class for #GTlsDatabase. Derived classes should implement the various
@@ -52,6 +53,12 @@ type TlsDatabase struct {
5253 gobject.Object
5354 }
5455
56+var xTlsDatabaseGLibType func() types.GType
57+
58+func TlsDatabaseGLibType() types.GType {
59+ return xTlsDatabaseGLibType()
60+}
61+
5562 func TlsDatabaseNewFromInternalPtr(ptr uintptr) *TlsDatabase {
5663 cls := &TlsDatabase{}
5764 cls.Ptr = ptr
@@ -381,6 +388,8 @@ func init() {
381388 panic(err)
382389 }
383390
391+ core.PuregoSafeRegister(&xTlsDatabaseGLibType, lib, "g_tls_database_get_type")
392+
384393 core.PuregoSafeRegister(&xTlsDatabaseCreateCertificateHandle, lib, "g_tls_database_create_certificate_handle")
385394 core.PuregoSafeRegister(&xTlsDatabaseLookupCertificateForHandle, lib, "g_tls_database_lookup_certificate_for_handle")
386395 core.PuregoSafeRegister(&xTlsDatabaseLookupCertificateForHandleAsync, lib, "g_tls_database_lookup_certificate_for_handle_async")
M v4/gio/gtlsfiledatabase.go +11 -0
@@ -7,6 +7,7 @@ import (
77 "github.com/jwijenbergh/purego"
88 "github.com/jwijenbergh/puregotk/internal/core"
99 "github.com/jwijenbergh/puregotk/v4/glib"
10+ "github.com/jwijenbergh/puregotk/v4/gobject/types"
1011 )
1112
1213 // Provides an interface for #GTlsFileDatabase implementations.
@@ -27,6 +28,13 @@ type TlsFileDatabase interface {
2728 GoPointer() uintptr
2829 SetGoPointer(uintptr)
2930 }
31+
32+var xTlsFileDatabaseGLibType func() types.GType
33+
34+func TlsFileDatabaseGLibType() types.GType {
35+ return xTlsFileDatabaseGLibType()
36+}
37+
3038 type TlsFileDatabaseBase struct {
3139 Ptr uintptr
3240 }
@@ -68,6 +76,9 @@ func init() {
6876 if err != nil {
6977 panic(err)
7078 }
79+
7180 core.PuregoSafeRegister(&xTlsFileDatabaseNew, lib, "g_tls_file_database_new")
7281
82+ core.PuregoSafeRegister(&xTlsFileDatabaseGLibType, lib, "g_tls_file_database_get_type")
83+
7384 }
M v4/gio/gtlsinteraction.go +9 -0
@@ -8,6 +8,7 @@ import (
88 "github.com/jwijenbergh/puregotk/internal/core"
99 "github.com/jwijenbergh/puregotk/v4/glib"
1010 "github.com/jwijenbergh/puregotk/v4/gobject"
11+ "github.com/jwijenbergh/puregotk/v4/gobject/types"
1112 )
1213
1314 // The class for #GTlsInteraction. Derived classes implement the various
@@ -65,6 +66,12 @@ type TlsInteraction struct {
6566 gobject.Object
6667 }
6768
69+var xTlsInteractionGLibType func() types.GType
70+
71+func TlsInteractionGLibType() types.GType {
72+ return xTlsInteractionGLibType()
73+}
74+
6875 func TlsInteractionNewFromInternalPtr(ptr uintptr) *TlsInteraction {
6976 cls := &TlsInteraction{}
7077 cls.Ptr = ptr
@@ -289,6 +296,8 @@ func init() {
289296 panic(err)
290297 }
291298
299+ core.PuregoSafeRegister(&xTlsInteractionGLibType, lib, "g_tls_interaction_get_type")
300+
292301 core.PuregoSafeRegister(&xTlsInteractionAskPassword, lib, "g_tls_interaction_ask_password")
293302 core.PuregoSafeRegister(&xTlsInteractionAskPasswordAsync, lib, "g_tls_interaction_ask_password_async")
294303 core.PuregoSafeRegister(&xTlsInteractionAskPasswordFinish, lib, "g_tls_interaction_ask_password_finish")
M v4/gio/gtlspassword.go +9 -0
@@ -8,6 +8,7 @@ import (
88 "github.com/jwijenbergh/puregotk/internal/core"
99 "github.com/jwijenbergh/puregotk/v4/glib"
1010 "github.com/jwijenbergh/puregotk/v4/gobject"
11+ "github.com/jwijenbergh/puregotk/v4/gobject/types"
1112 )
1213
1314 // Class structure for #GTlsPassword.
@@ -33,6 +34,12 @@ type TlsPassword struct {
3334 gobject.Object
3435 }
3536
37+var xTlsPasswordGLibType func() types.GType
38+
39+func TlsPasswordGLibType() types.GType {
40+ return xTlsPasswordGLibType()
41+}
42+
3643 func TlsPasswordNewFromInternalPtr(ptr uintptr) *TlsPassword {
3744 cls := &TlsPassword{}
3845 cls.Ptr = ptr
@@ -172,6 +179,8 @@ func init() {
172179 panic(err)
173180 }
174181
182+ core.PuregoSafeRegister(&xTlsPasswordGLibType, lib, "g_tls_password_get_type")
183+
175184 core.PuregoSafeRegister(&xNewTlsPassword, lib, "g_tls_password_new")
176185
177186 core.PuregoSafeRegister(&xTlsPasswordGetDescription, lib, "g_tls_password_get_description")
M v4/gio/gtlsserverconnection.go +11 -0
@@ -7,6 +7,7 @@ import (
77 "github.com/jwijenbergh/purego"
88 "github.com/jwijenbergh/puregotk/internal/core"
99 "github.com/jwijenbergh/puregotk/v4/glib"
10+ "github.com/jwijenbergh/puregotk/v4/gobject/types"
1011 )
1112
1213 // vtable for a #GTlsServerConnection implementation.
@@ -24,6 +25,13 @@ type TlsServerConnection interface {
2425 GoPointer() uintptr
2526 SetGoPointer(uintptr)
2627 }
28+
29+var xTlsServerConnectionGLibType func() types.GType
30+
31+func TlsServerConnectionGLibType() types.GType {
32+ return xTlsServerConnectionGLibType()
33+}
34+
2735 type TlsServerConnectionBase struct {
2836 Ptr uintptr
2937 }
@@ -67,6 +75,9 @@ func init() {
6775 if err != nil {
6876 panic(err)
6977 }
78+
7079 core.PuregoSafeRegister(&xTlsServerConnectionNew, lib, "g_tls_server_connection_new")
7180
81+ core.PuregoSafeRegister(&xTlsServerConnectionGLibType, lib, "g_tls_server_connection_get_type")
82+
7283 }
M v4/gio/gunixconnection.go +9 -0
@@ -7,6 +7,7 @@ import (
77 "github.com/jwijenbergh/purego"
88 "github.com/jwijenbergh/puregotk/internal/core"
99 "github.com/jwijenbergh/puregotk/v4/glib"
10+ "github.com/jwijenbergh/puregotk/v4/gobject/types"
1011 )
1112
1213 type UnixConnectionClass struct {
@@ -40,6 +41,12 @@ type UnixConnection struct {
4041 SocketConnection
4142 }
4243
44+var xUnixConnectionGLibType func() types.GType
45+
46+func UnixConnectionGLibType() types.GType {
47+ return xUnixConnectionGLibType()
48+}
49+
4350 func UnixConnectionNewFromInternalPtr(ptr uintptr) *UnixConnection {
4451 cls := &UnixConnection{}
4552 cls.Ptr = ptr
@@ -237,6 +244,8 @@ func init() {
237244 panic(err)
238245 }
239246
247+ core.PuregoSafeRegister(&xUnixConnectionGLibType, lib, "g_unix_connection_get_type")
248+
240249 core.PuregoSafeRegister(&xUnixConnectionReceiveCredentials, lib, "g_unix_connection_receive_credentials")
241250 core.PuregoSafeRegister(&xUnixConnectionReceiveCredentialsAsync, lib, "g_unix_connection_receive_credentials_async")
242251 core.PuregoSafeRegister(&xUnixConnectionReceiveCredentialsFinish, lib, "g_unix_connection_receive_credentials_finish")
M v4/gio/gunixcredentialsmessage.go +9 -0
@@ -7,6 +7,7 @@ import (
77 "github.com/jwijenbergh/purego"
88 "github.com/jwijenbergh/puregotk/internal/core"
99 "github.com/jwijenbergh/puregotk/v4/gobject"
10+ "github.com/jwijenbergh/puregotk/v4/gobject/types"
1011 )
1112
1213 // Class structure for #GUnixCredentialsMessage.
@@ -48,6 +49,12 @@ type UnixCredentialsMessage struct {
4849 SocketControlMessage
4950 }
5051
52+var xUnixCredentialsMessageGLibType func() types.GType
53+
54+func UnixCredentialsMessageGLibType() types.GType {
55+ return xUnixCredentialsMessageGLibType()
56+}
57+
5158 func UnixCredentialsMessageNewFromInternalPtr(ptr uintptr) *UnixCredentialsMessage {
5259 cls := &UnixCredentialsMessage{}
5360 cls.Ptr = ptr
@@ -126,6 +133,8 @@ func init() {
126133 panic(err)
127134 }
128135
136+ core.PuregoSafeRegister(&xUnixCredentialsMessageGLibType, lib, "g_unix_credentials_message_get_type")
137+
129138 core.PuregoSafeRegister(&xNewUnixCredentialsMessage, lib, "g_unix_credentials_message_new")
130139 core.PuregoSafeRegister(&xNewUnixCredentialsMessageWithCredentials, lib, "g_unix_credentials_message_new_with_credentials")
131140
M v4/gio/gunixfdlist.go +9 -0
@@ -8,6 +8,7 @@ import (
88 "github.com/jwijenbergh/puregotk/internal/core"
99 "github.com/jwijenbergh/puregotk/v4/glib"
1010 "github.com/jwijenbergh/puregotk/v4/gobject"
11+ "github.com/jwijenbergh/puregotk/v4/gobject/types"
1112 )
1213
1314 type UnixFDListClass struct {
@@ -39,6 +40,12 @@ type UnixFDList struct {
3940 gobject.Object
4041 }
4142
43+var xUnixFDListGLibType func() types.GType
44+
45+func UnixFDListGLibType() types.GType {
46+ return xUnixFDListGLibType()
47+}
48+
4249 func UnixFDListNewFromInternalPtr(ptr uintptr) *UnixFDList {
4350 cls := &UnixFDList{}
4451 cls.Ptr = ptr
@@ -205,6 +212,8 @@ func init() {
205212 panic(err)
206213 }
207214
215+ core.PuregoSafeRegister(&xUnixFDListGLibType, lib, "g_unix_fd_list_get_type")
216+
208217 core.PuregoSafeRegister(&xNewUnixFDList, lib, "g_unix_fd_list_new")
209218 core.PuregoSafeRegister(&xNewUnixFDListFromArray, lib, "g_unix_fd_list_new_from_array")
210219
M v4/gio/gunixfdmessage.go +9 -0
@@ -8,6 +8,7 @@ import (
88 "github.com/jwijenbergh/puregotk/internal/core"
99 "github.com/jwijenbergh/puregotk/v4/glib"
1010 "github.com/jwijenbergh/puregotk/v4/gobject"
11+ "github.com/jwijenbergh/puregotk/v4/gobject/types"
1112 )
1213
1314 type UnixFDMessageClass struct {
@@ -42,6 +43,12 @@ type UnixFDMessage struct {
4243 SocketControlMessage
4344 }
4445
46+var xUnixFDMessageGLibType func() types.GType
47+
48+func UnixFDMessageGLibType() types.GType {
49+ return xUnixFDMessageGLibType()
50+}
51+
4552 func UnixFDMessageNewFromInternalPtr(ptr uintptr) *UnixFDMessage {
4653 cls := &UnixFDMessage{}
4754 cls.Ptr = ptr
@@ -160,6 +167,8 @@ func init() {
160167 panic(err)
161168 }
162169
170+ core.PuregoSafeRegister(&xUnixFDMessageGLibType, lib, "g_unix_fd_message_get_type")
171+
163172 core.PuregoSafeRegister(&xNewUnixFDMessage, lib, "g_unix_fd_message_new")
164173 core.PuregoSafeRegister(&xNewUnixFDMessageWithFdList, lib, "g_unix_fd_message_new_with_fd_list")
165174
M v4/gio/gunixinputstream.go +9 -0
@@ -7,6 +7,7 @@ import (
77 "github.com/jwijenbergh/purego"
88 "github.com/jwijenbergh/puregotk/internal/core"
99 "github.com/jwijenbergh/puregotk/v4/glib"
10+ "github.com/jwijenbergh/puregotk/v4/gobject/types"
1011 )
1112
1213 type UnixInputStreamClass struct {
@@ -37,6 +38,12 @@ type UnixInputStream struct {
3738 InputStream
3839 }
3940
41+var xUnixInputStreamGLibType func() types.GType
42+
43+func UnixInputStreamGLibType() types.GType {
44+ return xUnixInputStreamGLibType()
45+}
46+
4047 func UnixInputStreamNewFromInternalPtr(ptr uintptr) *UnixInputStream {
4148 cls := &UnixInputStream{}
4249 cls.Ptr = ptr
@@ -168,6 +175,8 @@ func init() {
168175 panic(err)
169176 }
170177
178+ core.PuregoSafeRegister(&xUnixInputStreamGLibType, lib, "g_unix_input_stream_get_type")
179+
171180 core.PuregoSafeRegister(&xNewUnixInputStream, lib, "g_unix_input_stream_new")
172181
173182 core.PuregoSafeRegister(&xUnixInputStreamGetCloseFd, lib, "g_unix_input_stream_get_close_fd")
M v4/gio/gunixmounts.go +26 -0
@@ -8,6 +8,7 @@ import (
88 "github.com/jwijenbergh/puregotk/internal/core"
99 "github.com/jwijenbergh/puregotk/v4/glib"
1010 "github.com/jwijenbergh/puregotk/v4/gobject"
11+ "github.com/jwijenbergh/puregotk/v4/gobject/types"
1112 )
1213
1314 // Defines a Unix mount entry (e.g. <filename>/media/cdrom</filename>).
@@ -15,6 +16,12 @@ import (
1516 type UnixMountEntry struct {
1617 }
1718
19+var xUnixMountEntryGLibType func() types.GType
20+
21+func UnixMountEntryGLibType() types.GType {
22+ return xUnixMountEntryGLibType()
23+}
24+
1825 func (x *UnixMountEntry) GoPointer() uintptr {
1926 return uintptr(unsafe.Pointer(x))
2027 }
@@ -31,6 +38,12 @@ func (x *UnixMountMonitorClass) GoPointer() uintptr {
3138 type UnixMountPoint struct {
3239 }
3340
41+var xUnixMountPointGLibType func() types.GType
42+
43+func UnixMountPointGLibType() types.GType {
44+ return xUnixMountPointGLibType()
45+}
46+
3447 func (x *UnixMountPoint) GoPointer() uintptr {
3548 return uintptr(unsafe.Pointer(x))
3649 }
@@ -476,6 +489,12 @@ type UnixMountMonitor struct {
476489 gobject.Object
477490 }
478491
492+var xUnixMountMonitorGLibType func() types.GType
493+
494+func UnixMountMonitorGLibType() types.GType {
495+ return xUnixMountMonitorGLibType()
496+}
497+
479498 func UnixMountMonitorNewFromInternalPtr(ptr uintptr) *UnixMountMonitor {
480499 cls := &UnixMountMonitor{}
481500 cls.Ptr = ptr
@@ -593,6 +612,7 @@ func init() {
593612 if err != nil {
594613 panic(err)
595614 }
615+
596616 core.PuregoSafeRegister(&xUnixIsMountPathSystemInternal, lib, "g_unix_is_mount_path_system_internal")
597617 core.PuregoSafeRegister(&xUnixIsSystemDevicePath, lib, "g_unix_is_system_device_path")
598618 core.PuregoSafeRegister(&xUnixIsSystemFsType, lib, "g_unix_is_system_fs_type")
@@ -619,6 +639,10 @@ func init() {
619639 core.PuregoSafeRegister(&xUnixMountsChangedSince, lib, "g_unix_mounts_changed_since")
620640 core.PuregoSafeRegister(&xUnixMountsGet, lib, "g_unix_mounts_get")
621641
642+ core.PuregoSafeRegister(&xUnixMountEntryGLibType, lib, "g_unix_mount_entry_get_type")
643+
644+ core.PuregoSafeRegister(&xUnixMountPointGLibType, lib, "g_unix_mount_point_get_type")
645+
622646 core.PuregoSafeRegister(&xUnixMountPointCompare, lib, "g_unix_mount_point_compare")
623647 core.PuregoSafeRegister(&xUnixMountPointCopy, lib, "g_unix_mount_point_copy")
624648 core.PuregoSafeRegister(&xUnixMountPointFree, lib, "g_unix_mount_point_free")
@@ -634,6 +658,8 @@ func init() {
634658 core.PuregoSafeRegister(&xUnixMountPointIsReadonly, lib, "g_unix_mount_point_is_readonly")
635659 core.PuregoSafeRegister(&xUnixMountPointIsUserMountable, lib, "g_unix_mount_point_is_user_mountable")
636660
661+ core.PuregoSafeRegister(&xUnixMountMonitorGLibType, lib, "g_unix_mount_monitor_get_type")
662+
637663 core.PuregoSafeRegister(&xNewUnixMountMonitor, lib, "g_unix_mount_monitor_new")
638664
639665 core.PuregoSafeRegister(&xUnixMountMonitorSetRateLimit, lib, "g_unix_mount_monitor_set_rate_limit")
M v4/gio/gunixoutputstream.go +9 -0
@@ -7,6 +7,7 @@ import (
77 "github.com/jwijenbergh/purego"
88 "github.com/jwijenbergh/puregotk/internal/core"
99 "github.com/jwijenbergh/puregotk/v4/glib"
10+ "github.com/jwijenbergh/puregotk/v4/gobject/types"
1011 )
1112
1213 type UnixOutputStreamClass struct {
@@ -37,6 +38,12 @@ type UnixOutputStream struct {
3738 OutputStream
3839 }
3940
41+var xUnixOutputStreamGLibType func() types.GType
42+
43+func UnixOutputStreamGLibType() types.GType {
44+ return xUnixOutputStreamGLibType()
45+}
46+
4047 func UnixOutputStreamNewFromInternalPtr(ptr uintptr) *UnixOutputStream {
4148 cls := &UnixOutputStream{}
4249 cls.Ptr = ptr
@@ -199,6 +206,8 @@ func init() {
199206 panic(err)
200207 }
201208
209+ core.PuregoSafeRegister(&xUnixOutputStreamGLibType, lib, "g_unix_output_stream_get_type")
210+
202211 core.PuregoSafeRegister(&xNewUnixOutputStream, lib, "g_unix_output_stream_new")
203212
204213 core.PuregoSafeRegister(&xUnixOutputStreamGetCloseFd, lib, "g_unix_output_stream_get_close_fd")
M v4/gio/gunixsocketaddress.go +9 -0
@@ -6,6 +6,7 @@ import (
66
77 "github.com/jwijenbergh/purego"
88 "github.com/jwijenbergh/puregotk/internal/core"
9+ "github.com/jwijenbergh/puregotk/v4/gobject/types"
910 )
1011
1112 type UnixSocketAddressClass struct {
@@ -45,6 +46,12 @@ type UnixSocketAddress struct {
4546 SocketAddress
4647 }
4748
49+var xUnixSocketAddressGLibType func() types.GType
50+
51+func UnixSocketAddressGLibType() types.GType {
52+ return xUnixSocketAddressGLibType()
53+}
54+
4855 func UnixSocketAddressNewFromInternalPtr(ptr uintptr) *UnixSocketAddress {
4956 cls := &UnixSocketAddress{}
5057 cls.Ptr = ptr
@@ -246,6 +253,8 @@ func init() {
246253 panic(err)
247254 }
248255
256+ core.PuregoSafeRegister(&xUnixSocketAddressGLibType, lib, "g_unix_socket_address_get_type")
257+
249258 core.PuregoSafeRegister(&xNewUnixSocketAddress, lib, "g_unix_socket_address_new")
250259 core.PuregoSafeRegister(&xNewUnixSocketAddressAbstract, lib, "g_unix_socket_address_new_abstract")
251260 core.PuregoSafeRegister(&xNewUnixSocketAddressWithType, lib, "g_unix_socket_address_new_with_type")
M v4/gio/gvfs.go +9 -0
@@ -8,6 +8,7 @@ import (
88 "github.com/jwijenbergh/puregotk/internal/core"
99 "github.com/jwijenbergh/puregotk/v4/glib"
1010 "github.com/jwijenbergh/puregotk/v4/gobject"
11+ "github.com/jwijenbergh/puregotk/v4/gobject/types"
1112 )
1213
1314 // This function type is used by g_vfs_register_uri_scheme() to make it
@@ -37,6 +38,12 @@ type Vfs struct {
3738 gobject.Object
3839 }
3940
41+var xVfsGLibType func() types.GType
42+
43+func VfsGLibType() types.GType {
44+ return xVfsGLibType()
45+}
46+
4047 func VfsNewFromInternalPtr(ptr uintptr) *Vfs {
4148 cls := &Vfs{}
4249 cls.Ptr = ptr
@@ -201,6 +208,8 @@ func init() {
201208 panic(err)
202209 }
203210
211+ core.PuregoSafeRegister(&xVfsGLibType, lib, "g_vfs_get_type")
212+
204213 core.PuregoSafeRegister(&xVfsGetFileForPath, lib, "g_vfs_get_file_for_path")
205214 core.PuregoSafeRegister(&xVfsGetFileForUri, lib, "g_vfs_get_file_for_uri")
206215 core.PuregoSafeRegister(&xVfsGetSupportedUriSchemes, lib, "g_vfs_get_supported_uri_schemes")
M v4/gio/gvolume.go +10 -0
@@ -7,6 +7,7 @@ import (
77 "github.com/jwijenbergh/purego"
88 "github.com/jwijenbergh/puregotk/internal/core"
99 "github.com/jwijenbergh/puregotk/v4/glib"
10+ "github.com/jwijenbergh/puregotk/v4/gobject/types"
1011 )
1112
1213 // Interface for implementing operations for mountable volumes.
@@ -81,6 +82,13 @@ type Volume interface {
8182 MountFinish(ResultVar AsyncResult) bool
8283 ShouldAutomount() bool
8384 }
85+
86+var xVolumeGLibType func() types.GType
87+
88+func VolumeGLibType() types.GType {
89+ return xVolumeGLibType()
90+}
91+
8492 type VolumeBase struct {
8593 Ptr uintptr
8694 }
@@ -374,6 +382,8 @@ func init() {
374382 panic(err)
375383 }
376384
385+ core.PuregoSafeRegister(&xVolumeGLibType, lib, "g_volume_get_type")
386+
377387 core.PuregoSafeRegister(&XGVolumeCanEject, lib, "g_volume_can_eject")
378388 core.PuregoSafeRegister(&XGVolumeCanMount, lib, "g_volume_can_mount")
379389 core.PuregoSafeRegister(&XGVolumeEject, lib, "g_volume_eject")
M v4/gio/gvolumemonitor.go +9 -0
@@ -8,6 +8,7 @@ import (
88 "github.com/jwijenbergh/puregotk/internal/core"
99 "github.com/jwijenbergh/puregotk/v4/glib"
1010 "github.com/jwijenbergh/puregotk/v4/gobject"
11+ "github.com/jwijenbergh/puregotk/v4/gobject/types"
1112 )
1213
1314 type VolumeMonitorClass struct {
@@ -39,6 +40,12 @@ type VolumeMonitor struct {
3940 gobject.Object
4041 }
4142
43+var xVolumeMonitorGLibType func() types.GType
44+
45+func VolumeMonitorGLibType() types.GType {
46+ return xVolumeMonitorGLibType()
47+}
48+
4249 func VolumeMonitorNewFromInternalPtr(ptr uintptr) *VolumeMonitor {
4350 cls := &VolumeMonitor{}
4451 cls.Ptr = ptr
@@ -429,6 +436,8 @@ func init() {
429436 panic(err)
430437 }
431438
439+ core.PuregoSafeRegister(&xVolumeMonitorGLibType, lib, "g_volume_monitor_get_type")
440+
432441 core.PuregoSafeRegister(&xVolumeMonitorGetConnectedDrives, lib, "g_volume_monitor_get_connected_drives")
433442 core.PuregoSafeRegister(&xVolumeMonitorGetMountForUuid, lib, "g_volume_monitor_get_mount_for_uuid")
434443 core.PuregoSafeRegister(&xVolumeMonitorGetMounts, lib, "g_volume_monitor_get_mounts")
M v4/gio/gzlibcompressor.go +9 -0
@@ -8,6 +8,7 @@ import (
88 "github.com/jwijenbergh/puregotk/internal/core"
99 "github.com/jwijenbergh/puregotk/v4/glib"
1010 "github.com/jwijenbergh/puregotk/v4/gobject"
11+ "github.com/jwijenbergh/puregotk/v4/gobject/types"
1112 )
1213
1314 type ZlibCompressorClass struct {
@@ -24,6 +25,12 @@ type ZlibCompressor struct {
2425 gobject.Object
2526 }
2627
28+var xZlibCompressorGLibType func() types.GType
29+
30+func ZlibCompressorGLibType() types.GType {
31+ return xZlibCompressorGLibType()
32+}
33+
2734 func ZlibCompressorNewFromInternalPtr(ptr uintptr) *ZlibCompressor {
2835 cls := &ZlibCompressor{}
2936 cls.Ptr = ptr
@@ -195,6 +202,8 @@ func init() {
195202 panic(err)
196203 }
197204
205+ core.PuregoSafeRegister(&xZlibCompressorGLibType, lib, "g_zlib_compressor_get_type")
206+
198207 core.PuregoSafeRegister(&xNewZlibCompressor, lib, "g_zlib_compressor_new")
199208
200209 core.PuregoSafeRegister(&xZlibCompressorGetFileInfo, lib, "g_zlib_compressor_get_file_info")
M v4/gio/gzlibdecompressor.go +9 -0
@@ -8,6 +8,7 @@ import (
88 "github.com/jwijenbergh/puregotk/internal/core"
99 "github.com/jwijenbergh/puregotk/v4/glib"
1010 "github.com/jwijenbergh/puregotk/v4/gobject"
11+ "github.com/jwijenbergh/puregotk/v4/gobject/types"
1112 )
1213
1314 type ZlibDecompressorClass struct {
@@ -24,6 +25,12 @@ type ZlibDecompressor struct {
2425 gobject.Object
2526 }
2627
28+var xZlibDecompressorGLibType func() types.GType
29+
30+func ZlibDecompressorGLibType() types.GType {
31+ return xZlibDecompressorGLibType()
32+}
33+
2734 func ZlibDecompressorNewFromInternalPtr(ptr uintptr) *ZlibDecompressor {
2835 cls := &ZlibDecompressor{}
2936 cls.Ptr = ptr
@@ -183,6 +190,8 @@ func init() {
183190 panic(err)
184191 }
185192
193+ core.PuregoSafeRegister(&xZlibDecompressorGLibType, lib, "g_zlib_decompressor_get_type")
194+
186195 core.PuregoSafeRegister(&xNewZlibDecompressor, lib, "g_zlib_decompressor_new")
187196
188197 core.PuregoSafeRegister(&xZlibDecompressorGetFileInfo, lib, "g_zlib_decompressor_get_file_info")
M v4/gio/main.go +1 -0
@@ -20,6 +20,7 @@ func init() {
2020 if err != nil {
2121 panic(err)
2222 }
23+
2324 core.PuregoSafeRegister(&xDbusErrorQuark, lib, "g_dbus_error_quark")
2425
2526 }
M v4/glib/garray.go +34 -0
@@ -6,6 +6,7 @@ import (
66
77 "github.com/jwijenbergh/purego"
88 "github.com/jwijenbergh/puregotk/internal/core"
9+ "github.com/jwijenbergh/puregotk/v4/gobject/types"
910 )
1011
1112 // Contains the public fields of a GArray.
@@ -15,6 +16,12 @@ type Array struct {
1516 Len uint
1617 }
1718
19+var xArrayGLibType func() types.GType
20+
21+func ArrayGLibType() types.GType {
22+ return xArrayGLibType()
23+}
24+
1825 func (x *Array) GoPointer() uintptr {
1926 return uintptr(unsafe.Pointer(x))
2027 }
@@ -26,6 +33,12 @@ type ByteArray struct {
2633 Len uint
2734 }
2835
36+var xByteArrayGLibType func() types.GType
37+
38+func ByteArrayGLibType() types.GType {
39+ return xByteArrayGLibType()
40+}
41+
2942 func (x *ByteArray) GoPointer() uintptr {
3043 return uintptr(unsafe.Pointer(x))
3144 }
@@ -57,6 +70,12 @@ func (x *ByteArray) GoPointer() uintptr {
5770 type Bytes struct {
5871 }
5972
73+var xBytesGLibType func() types.GType
74+
75+func BytesGLibType() types.GType {
76+ return xBytesGLibType()
77+}
78+
6079 func (x *Bytes) GoPointer() uintptr {
6180 return uintptr(unsafe.Pointer(x))
6281 }
@@ -296,6 +315,12 @@ type PtrArray struct {
296315 Len uint
297316 }
298317
318+var xPtrArrayGLibType func() types.GType
319+
320+func PtrArrayGLibType() types.GType {
321+ return xPtrArrayGLibType()
322+}
323+
299324 func (x *PtrArray) GoPointer() uintptr {
300325 return uintptr(unsafe.Pointer(x))
301326 }
@@ -411,6 +436,7 @@ func init() {
411436 if err != nil {
412437 panic(err)
413438 }
439+
414440 core.PuregoSafeRegister(&xByteArrayFree, lib, "g_byte_array_free")
415441 core.PuregoSafeRegister(&xByteArrayFreeToBytes, lib, "g_byte_array_free_to_bytes")
416442 core.PuregoSafeRegister(&xByteArrayNew, lib, "g_byte_array_new")
@@ -420,6 +446,12 @@ func init() {
420446 core.PuregoSafeRegister(&xPtrArrayFind, lib, "g_ptr_array_find")
421447 core.PuregoSafeRegister(&xPtrArrayFindWithEqualFunc, lib, "g_ptr_array_find_with_equal_func")
422448
449+ core.PuregoSafeRegister(&xArrayGLibType, lib, "g_array_get_type")
450+
451+ core.PuregoSafeRegister(&xByteArrayGLibType, lib, "g_byte_array_get_type")
452+
453+ core.PuregoSafeRegister(&xBytesGLibType, lib, "g_bytes_get_type")
454+
423455 core.PuregoSafeRegister(&xNewBytes, lib, "g_bytes_new")
424456 core.PuregoSafeRegister(&xNewBytesStatic, lib, "g_bytes_new_static")
425457 core.PuregoSafeRegister(&xNewBytesTake, lib, "g_bytes_new_take")
@@ -437,4 +469,6 @@ func init() {
437469 core.PuregoSafeRegister(&xBytesUnrefToArray, lib, "g_bytes_unref_to_array")
438470 core.PuregoSafeRegister(&xBytesUnrefToData, lib, "g_bytes_unref_to_data")
439471
472+ core.PuregoSafeRegister(&xPtrArrayGLibType, lib, "g_ptr_array_get_type")
473+
440474 }
M v4/glib/gatomic.go +1 -0
@@ -300,6 +300,7 @@ func init() {
300300 if err != nil {
301301 panic(err)
302302 }
303+
303304 core.PuregoSafeRegister(&xAtomicIntAdd, lib, "g_atomic_int_add")
304305 core.PuregoSafeRegister(&xAtomicIntAnd, lib, "g_atomic_int_and")
305306 core.PuregoSafeRegister(&xAtomicIntCompareAndExchange, lib, "g_atomic_int_compare_and_exchange")
M v4/glib/gbacktrace.go +1 -0
@@ -90,6 +90,7 @@ func init() {
9090 if err != nil {
9191 panic(err)
9292 }
93+
9394 core.PuregoSafeRegister(&xOnErrorQuery, lib, "g_on_error_query")
9495 core.PuregoSafeRegister(&xOnErrorStackTrace, lib, "g_on_error_stack_trace")
9596
M v4/glib/gbase64.go +1 -0
@@ -100,6 +100,7 @@ func init() {
100100 if err != nil {
101101 panic(err)
102102 }
103+
103104 core.PuregoSafeRegister(&xBase64Decode, lib, "g_base64_decode")
104105 core.PuregoSafeRegister(&xBase64DecodeInplace, lib, "g_base64_decode_inplace")
105106 core.PuregoSafeRegister(&xBase64DecodeStep, lib, "g_base64_decode_step")
M v4/glib/gbitlock.go +1 -0
@@ -118,6 +118,7 @@ func init() {
118118 if err != nil {
119119 panic(err)
120120 }
121+
121122 core.PuregoSafeRegister(&xBitLock, lib, "g_bit_lock")
122123 core.PuregoSafeRegister(&xBitTrylock, lib, "g_bit_trylock")
123124 core.PuregoSafeRegister(&xBitUnlock, lib, "g_bit_unlock")
M v4/glib/gcharset.go +1 -0
@@ -133,6 +133,7 @@ func init() {
133133 if err != nil {
134134 panic(err)
135135 }
136+
136137 core.PuregoSafeRegister(&xGetCharset, lib, "g_get_charset")
137138 core.PuregoSafeRegister(&xGetCodeset, lib, "g_get_codeset")
138139 core.PuregoSafeRegister(&xGetConsoleCharset, lib, "g_get_console_charset")
M v4/glib/gchecksum.go +10 -0
@@ -6,6 +6,7 @@ import (
66
77 "github.com/jwijenbergh/purego"
88 "github.com/jwijenbergh/puregotk/internal/core"
9+ "github.com/jwijenbergh/puregotk/v4/gobject/types"
910 )
1011
1112 // An opaque structure representing a checksumming operation.
@@ -15,6 +16,12 @@ import (
1516 type Checksum struct {
1617 }
1718
19+var xChecksumGLibType func() types.GType
20+
21+func ChecksumGLibType() types.GType {
22+ return xChecksumGLibType()
23+}
24+
1825 func (x *Checksum) GoPointer() uintptr {
1926 return uintptr(unsafe.Pointer(x))
2027 }
@@ -179,11 +186,14 @@ func init() {
179186 if err != nil {
180187 panic(err)
181188 }
189+
182190 core.PuregoSafeRegister(&xChecksumTypeGetLength, lib, "g_checksum_type_get_length")
183191 core.PuregoSafeRegister(&xComputeChecksumForBytes, lib, "g_compute_checksum_for_bytes")
184192 core.PuregoSafeRegister(&xComputeChecksumForData, lib, "g_compute_checksum_for_data")
185193 core.PuregoSafeRegister(&xComputeChecksumForString, lib, "g_compute_checksum_for_string")
186194
195+ core.PuregoSafeRegister(&xChecksumGLibType, lib, "g_checksum_get_type")
196+
187197 core.PuregoSafeRegister(&xNewChecksum, lib, "g_checksum_new")
188198
189199 core.PuregoSafeRegister(&xChecksumCopy, lib, "g_checksum_copy")
M v4/glib/gconvert.go +1 -0
@@ -425,6 +425,7 @@ func init() {
425425 if err != nil {
426426 panic(err)
427427 }
428+
428429 core.PuregoSafeRegister(&xConvert, lib, "g_convert")
429430 core.PuregoSafeRegister(&xConvertWithFallback, lib, "g_convert_with_fallback")
430431 core.PuregoSafeRegister(&xConvertWithIconv, lib, "g_convert_with_iconv")
M v4/glib/gdataset.go +1 -0
@@ -253,6 +253,7 @@ func init() {
253253 if err != nil {
254254 panic(err)
255255 }
256+
256257 core.PuregoSafeRegister(&xDatalistClear, lib, "g_datalist_clear")
257258 core.PuregoSafeRegister(&xDatalistForeach, lib, "g_datalist_foreach")
258259 core.PuregoSafeRegister(&xDatalistGetData, lib, "g_datalist_get_data")
M v4/glib/gdate.go +10 -0
@@ -6,6 +6,7 @@ import (
66
77 "github.com/jwijenbergh/purego"
88 "github.com/jwijenbergh/puregotk/internal/core"
9+ "github.com/jwijenbergh/puregotk/v4/gobject/types"
910 )
1011
1112 // Represents a day between January 1, Year 1 and a few thousand years in
@@ -33,6 +34,12 @@ type Date struct {
3334 Year uint
3435 }
3536
37+var xDateGLibType func() types.GType
38+
39+func DateGLibType() types.GType {
40+ return xDateGLibType()
41+}
42+
3643 func (x *Date) GoPointer() uintptr {
3744 return uintptr(unsafe.Pointer(x))
3845 }
@@ -727,6 +734,7 @@ func init() {
727734 if err != nil {
728735 panic(err)
729736 }
737+
730738 core.PuregoSafeRegister(&xDateGetDaysInMonth, lib, "g_date_get_days_in_month")
731739 core.PuregoSafeRegister(&xDateGetMondayWeeksInYear, lib, "g_date_get_monday_weeks_in_year")
732740 core.PuregoSafeRegister(&xDateGetSundayWeeksInYear, lib, "g_date_get_sunday_weeks_in_year")
@@ -739,6 +747,8 @@ func init() {
739747 core.PuregoSafeRegister(&xDateValidWeekday, lib, "g_date_valid_weekday")
740748 core.PuregoSafeRegister(&xDateValidYear, lib, "g_date_valid_year")
741749
750+ core.PuregoSafeRegister(&xDateGLibType, lib, "g_date_get_type")
751+
742752 core.PuregoSafeRegister(&xNewDate, lib, "g_date_new")
743753 core.PuregoSafeRegister(&xNewDateDmy, lib, "g_date_new_dmy")
744754 core.PuregoSafeRegister(&xNewDateJulian, lib, "g_date_new_julian")
M v4/glib/gdatetime.go +9 -0
@@ -6,12 +6,19 @@ import (
66
77 "github.com/jwijenbergh/purego"
88 "github.com/jwijenbergh/puregotk/internal/core"
9+ "github.com/jwijenbergh/puregotk/v4/gobject/types"
910 )
1011
1112 // An opaque structure that represents a date and time, including a time zone.
1213 type DateTime struct {
1314 }
1415
16+var xDateTimeGLibType func() types.GType
17+
18+func DateTimeGLibType() types.GType {
19+ return xDateTimeGLibType()
20+}
21+
1522 func (x *DateTime) GoPointer() uintptr {
1623 return uintptr(unsafe.Pointer(x))
1724 }
@@ -837,6 +844,8 @@ func init() {
837844 panic(err)
838845 }
839846
847+ core.PuregoSafeRegister(&xDateTimeGLibType, lib, "g_date_time_get_type")
848+
840849 core.PuregoSafeRegister(&xNewDateTime, lib, "g_date_time_new")
841850 core.PuregoSafeRegister(&xNewDateTimeFromIso8601, lib, "g_date_time_new_from_iso8601")
842851 core.PuregoSafeRegister(&xNewDateTimeFromTimevalLocal, lib, "g_date_time_new_from_timeval_local")
M v4/glib/genviron.go +1 -0
@@ -142,6 +142,7 @@ func init() {
142142 if err != nil {
143143 panic(err)
144144 }
145+
145146 core.PuregoSafeRegister(&xEnvironGetenv, lib, "g_environ_getenv")
146147 core.PuregoSafeRegister(&xEnvironSetenv, lib, "g_environ_setenv")
147148 core.PuregoSafeRegister(&xEnvironUnsetenv, lib, "g_environ_unsetenv")
M v4/glib/gerror.go +10 -0
@@ -6,6 +6,7 @@ import (
66
77 "github.com/jwijenbergh/purego"
88 "github.com/jwijenbergh/puregotk/internal/core"
9+ "github.com/jwijenbergh/puregotk/v4/gobject/types"
910 )
1011
1112 // Specifies the type of function which is called when an extended
@@ -45,6 +46,12 @@ type Error struct {
4546 Message uintptr
4647 }
4748
49+var xErrorGLibType func() types.GType
50+
51+func ErrorGLibType() types.GType {
52+ return xErrorGLibType()
53+}
54+
4855 func (x *Error) GoPointer() uintptr {
4956 return uintptr(unsafe.Pointer(x))
5057 }
@@ -211,6 +218,7 @@ func init() {
211218 if err != nil {
212219 panic(err)
213220 }
221+
214222 core.PuregoSafeRegister(&xClearError, lib, "g_clear_error")
215223 core.PuregoSafeRegister(&xPrefixError, lib, "g_prefix_error")
216224 core.PuregoSafeRegister(&xPrefixErrorLiteral, lib, "g_prefix_error_literal")
@@ -219,6 +227,8 @@ func init() {
219227 core.PuregoSafeRegister(&xSetError, lib, "g_set_error")
220228 core.PuregoSafeRegister(&xSetErrorLiteral, lib, "g_set_error_literal")
221229
230+ core.PuregoSafeRegister(&xErrorGLibType, lib, "g_error_get_type")
231+
222232 core.PuregoSafeRegister(&xNewError, lib, "g_error_new")
223233 core.PuregoSafeRegister(&xNewErrorLiteral, lib, "g_error_new_literal")
224234 core.PuregoSafeRegister(&xNewErrorValist, lib, "g_error_new_valist")
M v4/glib/gfileutils.go +1 -0
@@ -717,6 +717,7 @@ func init() {
717717 if err != nil {
718718 panic(err)
719719 }
720+
720721 core.PuregoSafeRegister(&xBasename, lib, "g_basename")
721722 core.PuregoSafeRegister(&xBuildFilename, lib, "g_build_filename")
722723 core.PuregoSafeRegister(&xBuildFilenameValist, lib, "g_build_filename_valist")
M v4/glib/ggettext.go +1 -0
@@ -125,6 +125,7 @@ func init() {
125125 if err != nil {
126126 panic(err)
127127 }
128+
128129 core.PuregoSafeRegister(&xDcgettext, lib, "g_dcgettext")
129130 core.PuregoSafeRegister(&xDgettext, lib, "g_dgettext")
130131 core.PuregoSafeRegister(&xDngettext, lib, "g_dngettext")
M v4/glib/ghash.go +10 -0
@@ -6,6 +6,7 @@ import (
66
77 "github.com/jwijenbergh/purego"
88 "github.com/jwijenbergh/puregotk/internal/core"
9+ "github.com/jwijenbergh/puregotk/v4/gobject/types"
910 )
1011
1112 // Specifies the type of the function passed to
@@ -21,6 +22,12 @@ type HRFunc func(uintptr, uintptr, uintptr) bool
2122 type HashTable struct {
2223 }
2324
25+var xHashTableGLibType func() types.GType
26+
27+func HashTableGLibType() types.GType {
28+ return xHashTableGLibType()
29+}
30+
2431 func (x *HashTable) GoPointer() uintptr {
2532 return uintptr(unsafe.Pointer(x))
2633 }
@@ -524,6 +531,7 @@ func init() {
524531 if err != nil {
525532 panic(err)
526533 }
534+
527535 core.PuregoSafeRegister(&xDirectEqual, lib, "g_direct_equal")
528536 core.PuregoSafeRegister(&xDirectHash, lib, "g_direct_hash")
529537 core.PuregoSafeRegister(&xDoubleEqual, lib, "g_double_equal")
@@ -550,6 +558,8 @@ func init() {
550558 core.PuregoSafeRegister(&xStrEqual, lib, "g_str_equal")
551559 core.PuregoSafeRegister(&xStrHash, lib, "g_str_hash")
552560
561+ core.PuregoSafeRegister(&xHashTableGLibType, lib, "g_hash_table_get_type")
562+
553563 core.PuregoSafeRegister(&xHashTableIterGetHashTable, lib, "g_hash_table_iter_get_hash_table")
554564 core.PuregoSafeRegister(&xHashTableIterInit, lib, "g_hash_table_iter_init")
555565 core.PuregoSafeRegister(&xHashTableIterNext, lib, "g_hash_table_iter_next")
M v4/glib/ghmac.go +1 -0
@@ -135,6 +135,7 @@ func init() {
135135 if err != nil {
136136 panic(err)
137137 }
138+
138139 core.PuregoSafeRegister(&xComputeHmacForBytes, lib, "g_compute_hmac_for_bytes")
139140 core.PuregoSafeRegister(&xComputeHmacForData, lib, "g_compute_hmac_for_data")
140141 core.PuregoSafeRegister(&xComputeHmacForString, lib, "g_compute_hmac_for_string")
M v4/glib/ghook.go +1 -0
@@ -229,6 +229,7 @@ func init() {
229229 if err != nil {
230230 panic(err)
231231 }
232+
232233 core.PuregoSafeRegister(&xHookDestroy, lib, "g_hook_destroy")
233234 core.PuregoSafeRegister(&xHookDestroyLink, lib, "g_hook_destroy_link")
234235 core.PuregoSafeRegister(&xHookFree, lib, "g_hook_free")
M v4/glib/ghostutils.go +1 -0
@@ -80,6 +80,7 @@ func init() {
8080 if err != nil {
8181 panic(err)
8282 }
83+
8384 core.PuregoSafeRegister(&xHostnameIsAsciiEncoded, lib, "g_hostname_is_ascii_encoded")
8485 core.PuregoSafeRegister(&xHostnameIsIpAddress, lib, "g_hostname_is_ip_address")
8586 core.PuregoSafeRegister(&xHostnameIsNonAscii, lib, "g_hostname_is_non_ascii")
M v4/glib/giochannel.go +10 -0
@@ -6,6 +6,7 @@ import (
66
77 "github.com/jwijenbergh/purego"
88 "github.com/jwijenbergh/puregotk/internal/core"
9+ "github.com/jwijenbergh/puregotk/v4/gobject/types"
910 )
1011
1112 // Specifies the type of function passed to g_io_add_watch() or
@@ -58,6 +59,12 @@ type IOChannel struct {
5859 Reserved2 uintptr
5960 }
6061
62+var xIOChannelGLibType func() types.GType
63+
64+func IOChannelGLibType() types.GType {
65+ return xIOChannelGLibType()
66+}
67+
6168 func (x *IOChannel) GoPointer() uintptr {
6269 return uintptr(unsafe.Pointer(x))
6370 }
@@ -726,11 +733,14 @@ func init() {
726733 if err != nil {
727734 panic(err)
728735 }
736+
729737 core.PuregoSafeRegister(&xIoAddWatch, lib, "g_io_add_watch")
730738 core.PuregoSafeRegister(&xIoAddWatchFull, lib, "g_io_add_watch_full")
731739 core.PuregoSafeRegister(&xIoChannelErrorFromErrno, lib, "g_io_channel_error_from_errno")
732740 core.PuregoSafeRegister(&xIoCreateWatch, lib, "g_io_create_watch")
733741
742+ core.PuregoSafeRegister(&xIOChannelGLibType, lib, "g_io_channel_get_type")
743+
734744 core.PuregoSafeRegister(&xNewIOChannelFile, lib, "g_io_channel_new_file")
735745 core.PuregoSafeRegister(&xIOChannelUnixNew, lib, "g_io_channel_unix_new")
736746
M v4/glib/gkeyfile.go +9 -0
@@ -6,6 +6,7 @@ import (
66
77 "github.com/jwijenbergh/purego"
88 "github.com/jwijenbergh/puregotk/internal/core"
9+ "github.com/jwijenbergh/puregotk/v4/gobject/types"
910 )
1011
1112 // The GKeyFile struct contains only private data
@@ -13,6 +14,12 @@ import (
1314 type KeyFile struct {
1415 }
1516
17+var xKeyFileGLibType func() types.GType
18+
19+func KeyFileGLibType() types.GType {
20+ return xKeyFileGLibType()
21+}
22+
1623 func (x *KeyFile) GoPointer() uintptr {
1724 return uintptr(unsafe.Pointer(x))
1825 }
@@ -923,6 +930,8 @@ func init() {
923930 panic(err)
924931 }
925932
933+ core.PuregoSafeRegister(&xKeyFileGLibType, lib, "g_key_file_get_type")
934+
926935 core.PuregoSafeRegister(&xNewKeyFile, lib, "g_key_file_new")
927936
928937 core.PuregoSafeRegister(&xKeyFileFree, lib, "g_key_file_free")
M v4/glib/glib-2.0.go +10 -0
@@ -4,12 +4,19 @@ package glib
44 import (
55 "github.com/jwijenbergh/purego"
66 "github.com/jwijenbergh/puregotk/internal/core"
7+ "github.com/jwijenbergh/puregotk/v4/gobject/types"
78 )
89
910 // A bitwise combination representing a condition to watch for on an
1011 // event source.
1112 type IOCondition int
1213
14+var xIOConditionGLibType func() types.GType
15+
16+func IOConditionGLibType() types.GType {
17+ return xIOConditionGLibType()
18+}
19+
1320 const (
1421
1522 // There is data to read.
@@ -41,6 +48,9 @@ func init() {
4148 if err != nil {
4249 panic(err)
4350 }
51+
52+ core.PuregoSafeRegister(&xIOConditionGLibType, lib, "g_io_condition_get_type")
53+
4454 core.PuregoSafeRegister(&xVariantParserGetErrorQuark, lib, "g_variant_parser_get_error_quark")
4555
4656 }
M v4/glib/glib-types.go +1 -0
@@ -30,6 +30,7 @@ func init() {
3030 if err != nil {
3131 panic(err)
3232 }
33+
3334 core.PuregoSafeRegister(&xStrvGetType, lib, "g_strv_get_type")
3435 core.PuregoSafeRegister(&xVariantGetGtype, lib, "g_variant_get_gtype")
3536
M v4/glib/glib-unix.go +1 -0
@@ -176,6 +176,7 @@ func init() {
176176 if err != nil {
177177 panic(err)
178178 }
179+
179180 core.PuregoSafeRegister(&xUnixFdAdd, lib, "g_unix_fd_add")
180181 core.PuregoSafeRegister(&xUnixFdAddFull, lib, "g_unix_fd_add_full")
181182 core.PuregoSafeRegister(&xUnixFdSourceNew, lib, "g_unix_fd_source_new")
M v4/glib/glist.go +1 -0
@@ -37,6 +37,7 @@ func init() {
3737 if err != nil {
3838 panic(err)
3939 }
40+
4041 core.PuregoSafeRegister(&xClearList, lib, "g_clear_list")
4142
4243 }
M v4/glib/gmain.go +26 -0
@@ -6,6 +6,7 @@ import (
66
77 "github.com/jwijenbergh/purego"
88 "github.com/jwijenbergh/puregotk/internal/core"
9+ "github.com/jwijenbergh/puregotk/v4/gobject/types"
910 )
1011
1112 // Prototype of a #GChildWatchSource callback, called when a child
@@ -44,6 +45,12 @@ type SourceFunc func(uintptr) bool
4445 type MainContext struct {
4546 }
4647
48+var xMainContextGLibType func() types.GType
49+
50+func MainContextGLibType() types.GType {
51+ return xMainContextGLibType()
52+}
53+
4754 func (x *MainContext) GoPointer() uintptr {
4855 return uintptr(unsafe.Pointer(x))
4956 }
@@ -458,6 +465,12 @@ func (x *MainContext) Wakeup() {
458465 type MainLoop struct {
459466 }
460467
468+var xMainLoopGLibType func() types.GType
469+
470+func MainLoopGLibType() types.GType {
471+ return xMainLoopGLibType()
472+}
473+
461474 func (x *MainLoop) GoPointer() uintptr {
462475 return uintptr(unsafe.Pointer(x))
463476 }
@@ -563,6 +576,12 @@ type Source struct {
563576 Priv *SourcePrivate
564577 }
565578
579+var xSourceGLibType func() types.GType
580+
581+func SourceGLibType() types.GType {
582+ return xSourceGLibType()
583+}
584+
566585 func (x *Source) GoPointer() uintptr {
567586 return uintptr(unsafe.Pointer(x))
568587 }
@@ -1918,6 +1937,7 @@ func init() {
19181937 if err != nil {
19191938 panic(err)
19201939 }
1940+
19211941 core.PuregoSafeRegister(&xChildWatchAdd, lib, "g_child_watch_add")
19221942 core.PuregoSafeRegister(&xChildWatchAddFull, lib, "g_child_watch_add_full")
19231943 core.PuregoSafeRegister(&xChildWatchSourceNew, lib, "g_child_watch_source_new")
@@ -1945,6 +1965,8 @@ func init() {
19451965 core.PuregoSafeRegister(&xTimeoutSourceNew, lib, "g_timeout_source_new")
19461966 core.PuregoSafeRegister(&xTimeoutSourceNewSeconds, lib, "g_timeout_source_new_seconds")
19471967
1968+ core.PuregoSafeRegister(&xMainContextGLibType, lib, "g_main_context_get_type")
1969+
19481970 core.PuregoSafeRegister(&xNewMainContext, lib, "g_main_context_new")
19491971 core.PuregoSafeRegister(&xNewMainContextWithFlags, lib, "g_main_context_new_with_flags")
19501972
@@ -1973,6 +1995,8 @@ func init() {
19731995 core.PuregoSafeRegister(&xMainContextWait, lib, "g_main_context_wait")
19741996 core.PuregoSafeRegister(&xMainContextWakeup, lib, "g_main_context_wakeup")
19751997
1998+ core.PuregoSafeRegister(&xMainLoopGLibType, lib, "g_main_loop_get_type")
1999+
19762000 core.PuregoSafeRegister(&xNewMainLoop, lib, "g_main_loop_new")
19772001
19782002 core.PuregoSafeRegister(&xMainLoopGetContext, lib, "g_main_loop_get_context")
@@ -1982,6 +2006,8 @@ func init() {
19822006 core.PuregoSafeRegister(&xMainLoopRun, lib, "g_main_loop_run")
19832007 core.PuregoSafeRegister(&xMainLoopUnref, lib, "g_main_loop_unref")
19842008
2009+ core.PuregoSafeRegister(&xSourceGLibType, lib, "g_source_get_type")
2010+
19852011 core.PuregoSafeRegister(&xNewSource, lib, "g_source_new")
19862012
19872013 core.PuregoSafeRegister(&xSourceAddChildSource, lib, "g_source_add_child_source")
M v4/glib/gmappedfile.go +9 -0
@@ -6,6 +6,7 @@ import (
66
77 "github.com/jwijenbergh/purego"
88 "github.com/jwijenbergh/puregotk/internal/core"
9+ "github.com/jwijenbergh/puregotk/v4/gobject/types"
910 )
1011
1112 // The #GMappedFile represents a file mapping created with
@@ -14,6 +15,12 @@ import (
1415 type MappedFile struct {
1516 }
1617
18+var xMappedFileGLibType func() types.GType
19+
20+func MappedFileGLibType() types.GType {
21+ return xMappedFileGLibType()
22+}
23+
1724 func (x *MappedFile) GoPointer() uintptr {
1825 return uintptr(unsafe.Pointer(x))
1926 }
@@ -145,6 +152,8 @@ func init() {
145152 panic(err)
146153 }
147154
155+ core.PuregoSafeRegister(&xMappedFileGLibType, lib, "g_mapped_file_get_type")
156+
148157 core.PuregoSafeRegister(&xNewMappedFile, lib, "g_mapped_file_new")
149158 core.PuregoSafeRegister(&xNewMappedFileFromFd, lib, "g_mapped_file_new_from_fd")
150159
M v4/glib/gmarkup.go +10 -0
@@ -6,6 +6,7 @@ import (
66
77 "github.com/jwijenbergh/purego"
88 "github.com/jwijenbergh/puregotk/internal/core"
9+ "github.com/jwijenbergh/puregotk/v4/gobject/types"
910 )
1011
1112 // A parse context is used to parse a stream of bytes that
@@ -16,6 +17,12 @@ import (
1617 type MarkupParseContext struct {
1718 }
1819
20+var xMarkupParseContextGLibType func() types.GType
21+
22+func MarkupParseContextGLibType() types.GType {
23+ return xMarkupParseContextGLibType()
24+}
25+
1926 func (x *MarkupParseContext) GoPointer() uintptr {
2027 return uintptr(unsafe.Pointer(x))
2128 }
@@ -528,11 +535,14 @@ func init() {
528535 if err != nil {
529536 panic(err)
530537 }
538+
531539 core.PuregoSafeRegister(&xMarkupCollectAttributes, lib, "g_markup_collect_attributes")
532540 core.PuregoSafeRegister(&xMarkupEscapeText, lib, "g_markup_escape_text")
533541 core.PuregoSafeRegister(&xMarkupPrintfEscaped, lib, "g_markup_printf_escaped")
534542 core.PuregoSafeRegister(&xMarkupVprintfEscaped, lib, "g_markup_vprintf_escaped")
535543
544+ core.PuregoSafeRegister(&xMarkupParseContextGLibType, lib, "g_markup_parse_context_get_type")
545+
536546 core.PuregoSafeRegister(&xNewMarkupParseContext, lib, "g_markup_parse_context_new")
537547
538548 core.PuregoSafeRegister(&xMarkupParseContextEndParse, lib, "g_markup_parse_context_end_parse")
M v4/glib/gmem.go +1 -0
@@ -255,6 +255,7 @@ func init() {
255255 if err != nil {
256256 panic(err)
257257 }
258+
258259 core.PuregoSafeRegister(&xAlignedAlloc, lib, "g_aligned_alloc")
259260 core.PuregoSafeRegister(&xAlignedAlloc0, lib, "g_aligned_alloc0")
260261 core.PuregoSafeRegister(&xAlignedFree, lib, "g_aligned_free")
M v4/glib/gmessages.go +1 -0
@@ -820,6 +820,7 @@ func init() {
820820 if err != nil {
821821 panic(err)
822822 }
823+
823824 core.PuregoSafeRegister(&xAssertWarning, lib, "g_assert_warning")
824825 core.PuregoSafeRegister(&xLog, lib, "g_log")
825826 core.PuregoSafeRegister(&xLogDefaultHandler, lib, "g_log_default_handler")
M v4/glib/goption.go +9 -0
@@ -6,6 +6,7 @@ import (
66
77 "github.com/jwijenbergh/purego"
88 "github.com/jwijenbergh/puregotk/internal/core"
9+ "github.com/jwijenbergh/puregotk/v4/gobject/types"
910 )
1011
1112 // The type of function to be passed as callback for %G_OPTION_ARG_CALLBACK
@@ -358,6 +359,12 @@ func (x *OptionEntry) GoPointer() uintptr {
358359 type OptionGroup struct {
359360 }
360361
362+var xOptionGroupGLibType func() types.GType
363+
364+func OptionGroupGLibType() types.GType {
365+ return xOptionGroupGLibType()
366+}
367+
361368 func (x *OptionGroup) GoPointer() uintptr {
362369 return uintptr(unsafe.Pointer(x))
363370 }
@@ -592,6 +599,8 @@ func init() {
592599 core.PuregoSafeRegister(&xOptionContextSetTranslateFunc, lib, "g_option_context_set_translate_func")
593600 core.PuregoSafeRegister(&xOptionContextSetTranslationDomain, lib, "g_option_context_set_translation_domain")
594601
602+ core.PuregoSafeRegister(&xOptionGroupGLibType, lib, "g_option_group_get_type")
603+
595604 core.PuregoSafeRegister(&xNewOptionGroup, lib, "g_option_group_new")
596605
597606 core.PuregoSafeRegister(&xOptionGroupAddEntries, lib, "g_option_group_add_entries")
M v4/glib/gpattern.go +10 -0
@@ -6,6 +6,7 @@ import (
66
77 "github.com/jwijenbergh/purego"
88 "github.com/jwijenbergh/puregotk/internal/core"
9+ "github.com/jwijenbergh/puregotk/v4/gobject/types"
910 )
1011
1112 // A GPatternSpec struct is the 'compiled' form of a pattern. This
@@ -13,6 +14,12 @@ import (
1314 type PatternSpec struct {
1415 }
1516
17+var xPatternSpecGLibType func() types.GType
18+
19+func PatternSpecGLibType() types.GType {
20+ return xPatternSpecGLibType()
21+}
22+
1623 func (x *PatternSpec) GoPointer() uintptr {
1724 return uintptr(unsafe.Pointer(x))
1825 }
@@ -143,10 +150,13 @@ func init() {
143150 if err != nil {
144151 panic(err)
145152 }
153+
146154 core.PuregoSafeRegister(&xPatternMatch, lib, "g_pattern_match")
147155 core.PuregoSafeRegister(&xPatternMatchSimple, lib, "g_pattern_match_simple")
148156 core.PuregoSafeRegister(&xPatternMatchString, lib, "g_pattern_match_string")
149157
158+ core.PuregoSafeRegister(&xPatternSpecGLibType, lib, "g_pattern_spec_get_type")
159+
150160 core.PuregoSafeRegister(&xNewPatternSpec, lib, "g_pattern_spec_new")
151161
152162 core.PuregoSafeRegister(&xPatternSpecCopy, lib, "g_pattern_spec_copy")
M v4/glib/gpoll.go +10 -0
@@ -6,6 +6,7 @@ import (
66
77 "github.com/jwijenbergh/purego"
88 "github.com/jwijenbergh/puregotk/internal/core"
9+ "github.com/jwijenbergh/puregotk/v4/gobject/types"
910 )
1011
1112 // Specifies the type of function passed to g_main_context_set_poll_func().
@@ -22,6 +23,12 @@ type PollFD struct {
2223 Revents uint16
2324 }
2425
26+var xPollFDGLibType func() types.GType
27+
28+func PollFDGLibType() types.GType {
29+ return xPollFDGLibType()
30+}
31+
2532 func (x *PollFD) GoPointer() uintptr {
2633 return uintptr(unsafe.Pointer(x))
2734 }
@@ -56,6 +63,9 @@ func init() {
5663 if err != nil {
5764 panic(err)
5865 }
66+
5967 core.PuregoSafeRegister(&xPoll, lib, "g_poll")
6068
69+ core.PuregoSafeRegister(&xPollFDGLibType, lib, "g_pollfd_get_type")
70+
6171 }
M v4/glib/gprimes.go +1 -0
@@ -25,6 +25,7 @@ func init() {
2525 if err != nil {
2626 panic(err)
2727 }
28+
2829 core.PuregoSafeRegister(&xSpacedPrimesClosest, lib, "g_spaced_primes_closest")
2930
3031 }
M v4/glib/gprintf.go +1 -0
@@ -111,6 +111,7 @@ func init() {
111111 if err != nil {
112112 panic(err)
113113 }
114+
114115 core.PuregoSafeRegister(&xFprintf, lib, "g_fprintf")
115116 core.PuregoSafeRegister(&xPrintf, lib, "g_printf")
116117 core.PuregoSafeRegister(&xSprintf, lib, "g_sprintf")
M v4/glib/gqsort.go +1 -0
@@ -23,6 +23,7 @@ func init() {
2323 if err != nil {
2424 panic(err)
2525 }
26+
2627 core.PuregoSafeRegister(&xQsortWithData, lib, "g_qsort_with_data")
2728
2829 }
M v4/glib/gquark.go +1 -0
@@ -110,6 +110,7 @@ func init() {
110110 if err != nil {
111111 panic(err)
112112 }
113+
113114 core.PuregoSafeRegister(&xInternStaticString, lib, "g_intern_static_string")
114115 core.PuregoSafeRegister(&xInternString, lib, "g_intern_string")
115116 core.PuregoSafeRegister(&xQuarkFromStaticString, lib, "g_quark_from_static_string")
M v4/glib/grand.go +1 -0
@@ -153,6 +153,7 @@ func init() {
153153 if err != nil {
154154 panic(err)
155155 }
156+
156157 core.PuregoSafeRegister(&xRandomDouble, lib, "g_random_double")
157158 core.PuregoSafeRegister(&xRandomDoubleRange, lib, "g_random_double_range")
158159 core.PuregoSafeRegister(&xRandomInt, lib, "g_random_int")
M v4/glib/grcbox.go +1 -0
@@ -187,6 +187,7 @@ func init() {
187187 if err != nil {
188188 panic(err)
189189 }
190+
190191 core.PuregoSafeRegister(&xAtomicRcBoxAcquire, lib, "g_atomic_rc_box_acquire")
191192 core.PuregoSafeRegister(&xAtomicRcBoxAlloc, lib, "g_atomic_rc_box_alloc")
192193 core.PuregoSafeRegister(&xAtomicRcBoxAlloc0, lib, "g_atomic_rc_box_alloc0")
M v4/glib/grefcount.go +1 -0
@@ -91,6 +91,7 @@ func init() {
9191 if err != nil {
9292 panic(err)
9393 }
94+
9495 core.PuregoSafeRegister(&xAtomicRefCountCompare, lib, "g_atomic_ref_count_compare")
9596 core.PuregoSafeRegister(&xAtomicRefCountDec, lib, "g_atomic_ref_count_dec")
9697 core.PuregoSafeRegister(&xAtomicRefCountInc, lib, "g_atomic_ref_count_inc")
M v4/glib/grefstring.go +1 -0
@@ -85,6 +85,7 @@ func init() {
8585 if err != nil {
8686 panic(err)
8787 }
88+
8889 core.PuregoSafeRegister(&xRefStringAcquire, lib, "g_ref_string_acquire")
8990 core.PuregoSafeRegister(&xRefStringLength, lib, "g_ref_string_length")
9091 core.PuregoSafeRegister(&xRefStringNew, lib, "g_ref_string_new")
M v4/glib/gregex.go +18 -0
@@ -6,6 +6,7 @@ import (
66
77 "github.com/jwijenbergh/purego"
88 "github.com/jwijenbergh/puregotk/internal/core"
9+ "github.com/jwijenbergh/puregotk/v4/gobject/types"
910 )
1011
1112 // Specifies the type of the function passed to g_regex_replace_eval().
@@ -19,6 +20,12 @@ type RegexEvalCallback func(*MatchInfo, *String, uintptr) bool
1920 type MatchInfo struct {
2021 }
2122
23+var xMatchInfoGLibType func() types.GType
24+
25+func MatchInfoGLibType() types.GType {
26+ return xMatchInfoGLibType()
27+}
28+
2229 func (x *MatchInfo) GoPointer() uintptr {
2330 return uintptr(unsafe.Pointer(x))
2431 }
@@ -355,6 +362,12 @@ func (x *MatchInfo) Unref() {
355362 type Regex struct {
356363 }
357364
365+var xRegexGLibType func() types.GType
366+
367+func RegexGLibType() types.GType {
368+ return xRegexGLibType()
369+}
370+
358371 func (x *Regex) GoPointer() uintptr {
359372 return uintptr(unsafe.Pointer(x))
360373 }
@@ -1289,12 +1302,15 @@ func init() {
12891302 if err != nil {
12901303 panic(err)
12911304 }
1305+
12921306 core.PuregoSafeRegister(&xRegexCheckReplacement, lib, "g_regex_check_replacement")
12931307 core.PuregoSafeRegister(&xRegexEscapeNul, lib, "g_regex_escape_nul")
12941308 core.PuregoSafeRegister(&xRegexEscapeString, lib, "g_regex_escape_string")
12951309 core.PuregoSafeRegister(&xRegexMatchSimple, lib, "g_regex_match_simple")
12961310 core.PuregoSafeRegister(&xRegexSplitSimple, lib, "g_regex_split_simple")
12971311
1312+ core.PuregoSafeRegister(&xMatchInfoGLibType, lib, "g_match_info_get_type")
1313+
12981314 core.PuregoSafeRegister(&xMatchInfoExpandReferences, lib, "g_match_info_expand_references")
12991315 core.PuregoSafeRegister(&xMatchInfoFetch, lib, "g_match_info_fetch")
13001316 core.PuregoSafeRegister(&xMatchInfoFetchAll, lib, "g_match_info_fetch_all")
@@ -1311,6 +1327,8 @@ func init() {
13111327 core.PuregoSafeRegister(&xMatchInfoRef, lib, "g_match_info_ref")
13121328 core.PuregoSafeRegister(&xMatchInfoUnref, lib, "g_match_info_unref")
13131329
1330+ core.PuregoSafeRegister(&xRegexGLibType, lib, "g_regex_get_type")
1331+
13141332 core.PuregoSafeRegister(&xNewRegex, lib, "g_regex_new")
13151333
13161334 core.PuregoSafeRegister(&xRegexGetCaptureCount, lib, "g_regex_get_capture_count")
M v4/glib/gsequence.go +1 -0
@@ -463,6 +463,7 @@ func init() {
463463 if err != nil {
464464 panic(err)
465465 }
466+
466467 core.PuregoSafeRegister(&xSequenceGet, lib, "g_sequence_get")
467468 core.PuregoSafeRegister(&xSequenceInsertBefore, lib, "g_sequence_insert_before")
468469 core.PuregoSafeRegister(&xSequenceMove, lib, "g_sequence_move")
M v4/glib/gshell.go +1 -0
@@ -113,6 +113,7 @@ func init() {
113113 if err != nil {
114114 panic(err)
115115 }
116+
116117 core.PuregoSafeRegister(&xShellParseArgv, lib, "g_shell_parse_argv")
117118 core.PuregoSafeRegister(&xShellQuote, lib, "g_shell_quote")
118119 core.PuregoSafeRegister(&xShellUnquote, lib, "g_shell_unquote")
M v4/glib/gslice.go +1 -0
@@ -130,6 +130,7 @@ func init() {
130130 if err != nil {
131131 panic(err)
132132 }
133+
133134 core.PuregoSafeRegister(&xSliceAlloc, lib, "g_slice_alloc")
134135 core.PuregoSafeRegister(&xSliceAlloc0, lib, "g_slice_alloc0")
135136 core.PuregoSafeRegister(&xSliceCopy, lib, "g_slice_copy")
M v4/glib/gslist.go +1 -0
@@ -36,6 +36,7 @@ func init() {
3636 if err != nil {
3737 panic(err)
3838 }
39+
3940 core.PuregoSafeRegister(&xClearSlist, lib, "g_clear_slist")
4041
4142 }
M v4/glib/gspawn.go +1 -0
@@ -581,6 +581,7 @@ func init() {
581581 if err != nil {
582582 panic(err)
583583 }
584+
584585 core.PuregoSafeRegister(&xSpawnAsync, lib, "g_spawn_async")
585586 core.PuregoSafeRegister(&xSpawnAsyncWithFds, lib, "g_spawn_async_with_fds")
586587 core.PuregoSafeRegister(&xSpawnAsyncWithPipes, lib, "g_spawn_async_with_pipes")
M v4/glib/gstdio.go +1 -0
@@ -105,6 +105,7 @@ func init() {
105105 if err != nil {
106106 panic(err)
107107 }
108+
108109 core.PuregoSafeRegister(&xAccess, lib, "g_access")
109110 core.PuregoSafeRegister(&xChdir, lib, "g_chdir")
110111 core.PuregoSafeRegister(&xClose, lib, "g_close")
M v4/glib/gstrfuncs.go +1 -0 collapsed to keep the page light
M v4/glib/gstring.go +9 -0 collapsed to keep the page light
M v4/glib/gtestutils.go +1 -0 collapsed to keep the page light
M v4/glib/gthread.go +10 -0 collapsed to keep the page light
M v4/glib/gthreadpool.go +1 -0 collapsed to keep the page light
M v4/glib/gtimer.go +1 -0 collapsed to keep the page light
M v4/glib/gtimezone.go +9 -0 collapsed to keep the page light
M v4/glib/gtrashstack.go +1 -0 collapsed to keep the page light
M v4/glib/gtree.go +9 -0 collapsed to keep the page light
M v4/glib/gunicode.go +1 -0 collapsed to keep the page light
M v4/glib/guri.go +10 -0 collapsed to keep the page light
M v4/glib/gutils.go +1 -0 collapsed to keep the page light
M v4/glib/guuid.go +1 -0 collapsed to keep the page light
M v4/glib/gvariant.go +26 -0 collapsed to keep the page light
M v4/glib/gvarianttype.go +10 -0 collapsed to keep the page light
M v4/glib/gversion.go +1 -0 collapsed to keep the page light
M v4/glib/main.go +1 -0 collapsed to keep the page light
M v4/gmodule/gmodule.go +1 -0 collapsed to keep the page light
M v4/gmodule/main.go +1 -0 collapsed to keep the page light
M v4/gobject/gbinding.go +8 -0 collapsed to keep the page light
M v4/gobject/gboxed.go +1 -0 collapsed to keep the page light
M v4/gobject/gclosure.go +9 -0 collapsed to keep the page light
M v4/gobject/genums.go +1 -0 collapsed to keep the page light
M v4/gobject/gmarshal.go +1 -0 collapsed to keep the page light
M v4/gobject/gobject-2.0.go +33 -0 collapsed to keep the page light
M v4/gobject/gobject.go +17 -0 collapsed to keep the page light
M v4/gobject/gparam.go +9 -0 collapsed to keep the page light
M v4/gobject/gparamspecs.go +185 -0 collapsed to keep the page light
M v4/gobject/gsignal.go +1 -0 collapsed to keep the page light
M v4/gobject/gsourceclosure.go +1 -0 collapsed to keep the page light
M v4/gobject/gtype.go +1 -0 collapsed to keep the page light
M v4/gobject/gtypemodule.go +8 -0 collapsed to keep the page light
M v4/gobject/gvalue.go +9 -0 collapsed to keep the page light
M v4/gobject/gvaluearray.go +9 -0 collapsed to keep the page light
M v4/gobject/gvaluetypes.go +1 -0 collapsed to keep the page light
M v4/graphene/graphene-box.go +10 -0 collapsed to keep the page light
M v4/graphene/graphene-euler.go +9 -0 collapsed to keep the page light
M v4/graphene/graphene-frustum.go +9 -0 collapsed to keep the page light
M v4/graphene/graphene-matrix.go +9 -0 collapsed to keep the page light
M v4/graphene/graphene-plane.go +9 -0 collapsed to keep the page light
M v4/graphene/graphene-point.go +10 -0 collapsed to keep the page light
M v4/graphene/graphene-point3d.go +10 -0 collapsed to keep the page light
M v4/graphene/graphene-quad.go +9 -0 collapsed to keep the page light
M v4/graphene/graphene-quaternion.go +9 -0 collapsed to keep the page light
M v4/graphene/graphene-ray.go +9 -0 collapsed to keep the page light
M v4/graphene/graphene-rect.go +10 -0 collapsed to keep the page light
M v4/graphene/graphene-size.go +10 -0
@@ -6,6 +6,7 @@ import (
66
77 "github.com/jwijenbergh/purego"
88 "github.com/jwijenbergh/puregotk/internal/core"
9+ "github.com/jwijenbergh/puregotk/v4/gobject/types"
910 )
1011
1112 // A size.
@@ -15,6 +16,12 @@ type Size struct {
1516 Height float32
1617 }
1718
19+var xSizeGLibType func() types.GType
20+
21+func SizeGLibType() types.GType {
22+ return xSizeGLibType()
23+}
24+
1825 func (x *Size) GoPointer() uintptr {
1926 return uintptr(unsafe.Pointer(x))
2027 }
@@ -101,8 +108,11 @@ func init() {
101108 if err != nil {
102109 panic(err)
103110 }
111+
104112 core.PuregoSafeRegister(&xSizeZero, lib, "graphene_size_zero")
105113
114+ core.PuregoSafeRegister(&xSizeGLibType, lib, "graphene_size_get_type")
115+
106116 core.PuregoSafeRegister(&xSizeAlloc, lib, "graphene_size_alloc")
107117
108118 core.PuregoSafeRegister(&xSizeEqual, lib, "graphene_size_equal")
M v4/graphene/graphene-sphere.go +9 -0 collapsed to keep the page light
M v4/graphene/graphene-triangle.go +9 -0 collapsed to keep the page light
M v4/graphene/graphene-vec2.go +10 -0 collapsed to keep the page light
M v4/graphene/graphene-vec3.go +10 -0 collapsed to keep the page light
M v4/graphene/graphene-vec4.go +10 -0 collapsed to keep the page light
M v4/gsk/gskbroadwayrenderer.go +9 -0 collapsed to keep the page light
M v4/gsk/gskcairorenderer.go +9 -0 collapsed to keep the page light
M v4/gsk/gskenums.go +44 -0 collapsed to keep the page light
M v4/gsk/gskglrenderer.go +9 -0 collapsed to keep the page light
M v4/gsk/gskglshader.go +17 -0 collapsed to keep the page light
M v4/gsk/gskrenderer.go +9 -0 collapsed to keep the page light
M v4/gsk/gskrendernode.go +10 -0 collapsed to keep the page light
M v4/gsk/gskrendernodeimpl.go +201 -0 collapsed to keep the page light
M v4/gsk/gsktransform.go +1 -0 collapsed to keep the page light
M v4/gsk/gsktypes.go +9 -0 collapsed to keep the page light
M v4/gsk/main.go +10 -0 collapsed to keep the page light
M v4/gtk/gtkaboutdialog.go +18 -0 collapsed to keep the page light
M v4/gtk/gtkaccelgroup.go +1 -0 collapsed to keep the page light
M v4/gtk/gtkaccessible.go +11 -0 collapsed to keep the page light
M v4/gtk/gtkactionable.go +10 -0 collapsed to keep the page light
M v4/gtk/gtkactionbar.go +9 -0 collapsed to keep the page light
M v4/gtk/gtkadjustment.go +9 -0 collapsed to keep the page light
M v4/gtk/gtkappchooser.go +10 -0 collapsed to keep the page light
M v4/gtk/gtkappchooserbutton.go +9 -0 collapsed to keep the page light
M v4/gtk/gtkappchooserdialog.go +9 -0 collapsed to keep the page light
M v4/gtk/gtkappchooserwidget.go +9 -0 collapsed to keep the page light
M v4/gtk/gtkapplication.go +17 -0 collapsed to keep the page light
M v4/gtk/gtkapplicationwindow.go +9 -0 collapsed to keep the page light
M v4/gtk/gtkaspectframe.go +9 -0 collapsed to keep the page light
M v4/gtk/gtkassistant.go +25 -0 collapsed to keep the page light
M v4/gtk/gtkatcontext.go +9 -0 collapsed to keep the page light
M v4/gtk/gtkbinlayout.go +9 -0 collapsed to keep the page light
M v4/gtk/gtkbitset.go +10 -0 collapsed to keep the page light
M v4/gtk/gtkbookmarklist.go +8 -0 collapsed to keep the page light
M v4/gtk/gtkboolfilter.go +9 -0 collapsed to keep the page light
M v4/gtk/gtkborder.go +9 -0 collapsed to keep the page light
M v4/gtk/gtkbox.go +9 -0 collapsed to keep the page light
M v4/gtk/gtkboxlayout.go +9 -0 collapsed to keep the page light
M v4/gtk/gtkbuildable.go +10 -0 collapsed to keep the page light
M v4/gtk/gtkbuilder.go +16 -0 collapsed to keep the page light
M v4/gtk/gtkbuilderlistitemfactory.go +9 -0 collapsed to keep the page light
M v4/gtk/gtkbuilderscope.go +26 -0 collapsed to keep the page light
M v4/gtk/gtkbutton.go +9 -0 collapsed to keep the page light
M v4/gtk/gtkcalendar.go +9 -0 collapsed to keep the page light
M v4/gtk/gtkcellarea.go +9 -0 collapsed to keep the page light
M v4/gtk/gtkcellareabox.go +9 -0 collapsed to keep the page light
M v4/gtk/gtkcellareacontext.go +9 -0 collapsed to keep the page light
M v4/gtk/gtkcelleditable.go +10 -0 collapsed to keep the page light
M v4/gtk/gtkcelllayout.go +10 -0 collapsed to keep the page light
M v4/gtk/gtkcellrenderer.go +25 -0 collapsed to keep the page light
M v4/gtk/gtkcellrendereraccel.go +17 -0 collapsed to keep the page light
M v4/gtk/gtkcellrenderercombo.go +9 -0 collapsed to keep the page light
M v4/gtk/gtkcellrendererpixbuf.go +9 -0 collapsed to keep the page light
M v4/gtk/gtkcellrendererprogress.go +9 -0 collapsed to keep the page light
M v4/gtk/gtkcellrendererspin.go +9 -0 collapsed to keep the page light
M v4/gtk/gtkcellrendererspinner.go +9 -0 collapsed to keep the page light
M v4/gtk/gtkcellrenderertext.go +9 -0 collapsed to keep the page light
M v4/gtk/gtkcellrenderertoggle.go +9 -0 collapsed to keep the page light
M v4/gtk/gtkcellview.go +9 -0 collapsed to keep the page light
M v4/gtk/gtkcenterbox.go +9 -0 collapsed to keep the page light
M v4/gtk/gtkcenterlayout.go +9 -0 collapsed to keep the page light
M v4/gtk/gtkcheckbutton.go +9 -0 collapsed to keep the page light
M v4/gtk/gtkcolorbutton.go +9 -0 collapsed to keep the page light
M v4/gtk/gtkcolorchooser.go +10 -0 collapsed to keep the page light
M v4/gtk/gtkcolorchooserdialog.go +9 -0 collapsed to keep the page light
M v4/gtk/gtkcolorchooserwidget.go +9 -0 collapsed to keep the page light
M v4/gtk/gtkcolorutils.go +1 -0 collapsed to keep the page light
M v4/gtk/gtkcolumnview.go +9 -0 collapsed to keep the page light
M v4/gtk/gtkcolumnviewcolumn.go +9 -0 collapsed to keep the page light
M v4/gtk/gtkcombobox.go +9 -0 collapsed to keep the page light
M v4/gtk/gtkcomboboxtext.go +9 -0 collapsed to keep the page light
M v4/gtk/gtkconstraint.go +18 -0 collapsed to keep the page light
M v4/gtk/gtkconstraintguide.go +9 -0 collapsed to keep the page light
M v4/gtk/gtkconstraintlayout.go +17 -0 collapsed to keep the page light
M v4/gtk/gtkcsserror.go +1 -0 collapsed to keep the page light
M v4/gtk/gtkcssprovider.go +9 -0 collapsed to keep the page light
M v4/gtk/gtkcsssection.go +9 -0 collapsed to keep the page light
M v4/gtk/gtkcustomfilter.go +9 -0 collapsed to keep the page light
M v4/gtk/gtkcustomlayout.go +9 -0 collapsed to keep the page light
M v4/gtk/gtkcustomsorter.go +9 -0 collapsed to keep the page light
M v4/gtk/gtkdebug.go +10 -0 collapsed to keep the page light
M v4/gtk/gtkdialog.go +25 -0 collapsed to keep the page light
M v4/gtk/gtkdirectorylist.go +8 -0 collapsed to keep the page light
M v4/gtk/gtkdragicon.go +9 -0 collapsed to keep the page light
M v4/gtk/gtkdragsource.go +9 -0 collapsed to keep the page light
M v4/gtk/gtkdrawingarea.go +9 -0 collapsed to keep the page light
M v4/gtk/gtkdropcontrollermotion.go +9 -0 collapsed to keep the page light
M v4/gtk/gtkdropdown.go +9 -0 collapsed to keep the page light
M v4/gtk/gtkdroptarget.go +8 -0 collapsed to keep the page light
M v4/gtk/gtkdroptargetasync.go +9 -0 collapsed to keep the page light
M v4/gtk/gtkeditable.go +19 -0 collapsed to keep the page light
M v4/gtk/gtkeditablelabel.go +9 -0 collapsed to keep the page light
M v4/gtk/gtkemojichooser.go +9 -0 collapsed to keep the page light
M v4/gtk/gtkentry.go +17 -0 collapsed to keep the page light
M v4/gtk/gtkentrybuffer.go +9 -0 collapsed to keep the page light
M v4/gtk/gtkentrycompletion.go +9 -0 collapsed to keep the page light
M v4/gtk/gtkenums.go +474 -0 collapsed to keep the page light
M v4/gtk/gtkeventcontroller.go +9 -0 collapsed to keep the page light
M v4/gtk/gtkeventcontrollerfocus.go +9 -0 collapsed to keep the page light
M v4/gtk/gtkeventcontrollerkey.go +9 -0 collapsed to keep the page light
M v4/gtk/gtkeventcontrollerlegacy.go +9 -0 collapsed to keep the page light
M v4/gtk/gtkeventcontrollermotion.go +9 -0 collapsed to keep the page light
M v4/gtk/gtkeventcontrollerscroll.go +17 -0 collapsed to keep the page light
M v4/gtk/gtkexpander.go +9 -0 collapsed to keep the page light
M v4/gtk/gtkexpression.go +65 -0 collapsed to keep the page light
M v4/gtk/gtkfilechooser.go +27 -0 collapsed to keep the page light
M v4/gtk/gtkfilechooserdialog.go +9 -0 collapsed to keep the page light
M v4/gtk/gtkfilechoosernative.go +9 -0 collapsed to keep the page light
M v4/gtk/gtkfilechooserwidget.go +9 -0 collapsed to keep the page light
M v4/gtk/gtkfilefilter.go +9 -0 collapsed to keep the page light
M v4/gtk/gtkfilter.go +25 -0 collapsed to keep the page light
M v4/gtk/gtkfilterlistmodel.go +8 -0 collapsed to keep the page light
M v4/gtk/gtkfixed.go +9 -0 collapsed to keep the page light
M v4/gtk/gtkfixedlayout.go +17 -0 collapsed to keep the page light
M v4/gtk/gtkflattenlistmodel.go +8 -0 collapsed to keep the page light
M v4/gtk/gtkflowbox.go +17 -0 collapsed to keep the page light
M v4/gtk/gtkfontbutton.go +9 -0 collapsed to keep the page light
M v4/gtk/gtkfontchooser.go +18 -0 collapsed to keep the page light
M v4/gtk/gtkfontchooserdialog.go +9 -0 collapsed to keep the page light
M v4/gtk/gtkfontchooserwidget.go +9 -0 collapsed to keep the page light
M v4/gtk/gtkframe.go +9 -0 collapsed to keep the page light
M v4/gtk/gtkgesture.go +9 -0 collapsed to keep the page light
M v4/gtk/gtkgestureclick.go +9 -0 collapsed to keep the page light
M v4/gtk/gtkgesturedrag.go +9 -0 collapsed to keep the page light
M v4/gtk/gtkgesturelongpress.go +9 -0 collapsed to keep the page light
M v4/gtk/gtkgesturepan.go +9 -0 collapsed to keep the page light
M v4/gtk/gtkgesturerotate.go +9 -0 collapsed to keep the page light
M v4/gtk/gtkgesturesingle.go +9 -0 collapsed to keep the page light
M v4/gtk/gtkgesturestylus.go +9 -0 collapsed to keep the page light
M v4/gtk/gtkgestureswipe.go +9 -0 collapsed to keep the page light
M v4/gtk/gtkgesturezoom.go +9 -0 collapsed to keep the page light
M v4/gtk/gtkglarea.go +9 -0 collapsed to keep the page light
M v4/gtk/gtkgrid.go +9 -0 collapsed to keep the page light
M v4/gtk/gtkgridlayout.go +17 -0 collapsed to keep the page light
M v4/gtk/gtkgridview.go +9 -0 collapsed to keep the page light
M v4/gtk/gtkheaderbar.go +9 -0 collapsed to keep the page light
M v4/gtk/gtkicontheme.go +33 -0 collapsed to keep the page light
M v4/gtk/gtkiconview.go +17 -0 collapsed to keep the page light
M v4/gtk/gtkimage.go +17 -0 collapsed to keep the page light
M v4/gtk/gtkimcontext.go +9 -0 collapsed to keep the page light
M v4/gtk/gtkimcontextsimple.go +9 -0 collapsed to keep the page light
M v4/gtk/gtkimmulticontext.go +9 -0 collapsed to keep the page light
M v4/gtk/gtkinfobar.go +9 -0 collapsed to keep the page light
M v4/gtk/gtkinscription.go +17 -0 collapsed to keep the page light
M v4/gtk/gtklabel.go +9 -0 collapsed to keep the page light
M v4/gtk/gtklayoutchild.go +9 -0 collapsed to keep the page light
M v4/gtk/gtklayoutmanager.go +8 -0 collapsed to keep the page light
M v4/gtk/gtklevelbar.go +9 -0 collapsed to keep the page light
M v4/gtk/gtklinkbutton.go +9 -0 collapsed to keep the page light
M v4/gtk/gtklistbase.go +7 -0 collapsed to keep the page light
M v4/gtk/gtklistbox.go +17 -0 collapsed to keep the page light
M v4/gtk/gtklistitem.go +9 -0 collapsed to keep the page light
M v4/gtk/gtklistitemfactory.go +7 -0 collapsed to keep the page light
M v4/gtk/gtkliststore.go +8 -0 collapsed to keep the page light
M v4/gtk/gtklistview.go +9 -0 collapsed to keep the page light
M v4/gtk/gtklockbutton.go +9 -0 collapsed to keep the page light
M v4/gtk/gtkmain.go +1 -0 collapsed to keep the page light
M v4/gtk/gtkmaplistmodel.go +8 -0 collapsed to keep the page light
M v4/gtk/gtkmediacontrols.go +9 -0 collapsed to keep the page light
M v4/gtk/gtkmediafile.go +9 -0 collapsed to keep the page light
M v4/gtk/gtkmediastream.go +9 -0 collapsed to keep the page light
M v4/gtk/gtkmenubutton.go +9 -0 collapsed to keep the page light
M v4/gtk/gtkmessagedialog.go +17 -0 collapsed to keep the page light
M v4/gtk/gtkmountoperation.go +9 -0 collapsed to keep the page light
M v4/gtk/gtkmultifilter.go +24 -0 collapsed to keep the page light
M v4/gtk/gtkmultiselection.go +8 -0 collapsed to keep the page light
M v4/gtk/gtkmultisorter.go +8 -0 collapsed to keep the page light
M v4/gtk/gtknative.go +11 -0 collapsed to keep the page light
M v4/gtk/gtknativedialog.go +9 -0 collapsed to keep the page light
M v4/gtk/gtknoselection.go +8 -0 collapsed to keep the page light
M v4/gtk/gtknotebook.go +25 -0 collapsed to keep the page light
M v4/gtk/gtknumericsorter.go +9 -0 collapsed to keep the page light
M v4/gtk/gtkorientable.go +10 -0 collapsed to keep the page light
M v4/gtk/gtkoverlay.go +9 -0 collapsed to keep the page light
M v4/gtk/gtkoverlaylayout.go +17 -0 collapsed to keep the page light
M v4/gtk/gtkpadcontroller.go +17 -0 collapsed to keep the page light
M v4/gtk/gtkpagesetup.go +9 -0 collapsed to keep the page light
M v4/gtk/gtkpagesetupunixdialog.go +9 -0 collapsed to keep the page light
M v4/gtk/gtkpaned.go +9 -0 collapsed to keep the page light
M v4/gtk/gtkpapersize.go +10 -0 collapsed to keep the page light
M v4/gtk/gtkpasswordentry.go +9 -0 collapsed to keep the page light
M v4/gtk/gtkpasswordentrybuffer.go +9 -0 collapsed to keep the page light
M v4/gtk/gtkpicture.go +9 -0 collapsed to keep the page light
M v4/gtk/gtkpopover.go +9 -0 collapsed to keep the page light
M v4/gtk/gtkpopovermenu.go +17 -0 collapsed to keep the page light
M v4/gtk/gtkpopovermenubar.go +9 -0 collapsed to keep the page light
M v4/gtk/gtkprintcontext.go +9 -0 collapsed to keep the page light
M v4/gtk/gtkprinter.go +18 -0 collapsed to keep the page light
M v4/gtk/gtkprintjob.go +9 -0 collapsed to keep the page light
M v4/gtk/gtkprintoperation.go +42 -0 collapsed to keep the page light
M v4/gtk/gtkprintoperationpreview.go +10 -0 collapsed to keep the page light
M v4/gtk/gtkprintsettings.go +9 -0 collapsed to keep the page light
M v4/gtk/gtkprintunixdialog.go +9 -0 collapsed to keep the page light
M v4/gtk/gtkprogressbar.go +9 -0 collapsed to keep the page light
M v4/gtk/gtkrange.go +9 -0 collapsed to keep the page light
M v4/gtk/gtkrecentmanager.go +25 -0 collapsed to keep the page light
M v4/gtk/gtkrender.go +1 -0 collapsed to keep the page light
M v4/gtk/gtkrevealer.go +17 -0 collapsed to keep the page light
M v4/gtk/gtkroot.go +10 -0 collapsed to keep the page light
M v4/gtk/gtkscale.go +9 -0 collapsed to keep the page light
M v4/gtk/gtkscalebutton.go +9 -0 collapsed to keep the page light
M v4/gtk/gtkscrollable.go +10 -0 collapsed to keep the page light
M v4/gtk/gtkscrollbar.go +9 -0 collapsed to keep the page light
M v4/gtk/gtkscrolledwindow.go +25 -0 collapsed to keep the page light
M v4/gtk/gtksearchbar.go +9 -0 collapsed to keep the page light
M v4/gtk/gtksearchentry.go +9 -0 collapsed to keep the page light
M v4/gtk/gtkselectionfiltermodel.go +8 -0 collapsed to keep the page light
M v4/gtk/gtkselectionmodel.go +10 -0 collapsed to keep the page light
M v4/gtk/gtkseparator.go +9 -0 collapsed to keep the page light
M v4/gtk/gtksettings.go +9 -0 collapsed to keep the page light
M v4/gtk/gtkshortcut.go +9 -0 collapsed to keep the page light
M v4/gtk/gtkshortcutaction.go +65 -0 collapsed to keep the page light
M v4/gtk/gtkshortcutcontroller.go +8 -0 collapsed to keep the page light
M v4/gtk/gtkshortcutlabel.go +9 -0 collapsed to keep the page light
M v4/gtk/gtkshortcutmanager.go +12 -1 collapsed to keep the page light
M v4/gtk/gtkshortcutsgroup.go +7 -0 collapsed to keep the page light
M v4/gtk/gtkshortcutssection.go +7 -0 collapsed to keep the page light
M v4/gtk/gtkshortcutsshortcut.go +13 -0 collapsed to keep the page light
M v4/gtk/gtkshortcutswindow.go +7 -0 collapsed to keep the page light
M v4/gtk/gtkshortcuttrigger.go +41 -0 collapsed to keep the page light
M v4/gtk/gtkshow.go +1 -0 collapsed to keep the page light
M v4/gtk/gtksignallistitemfactory.go +9 -0 collapsed to keep the page light
M v4/gtk/gtksingleselection.go +8 -0 collapsed to keep the page light
M v4/gtk/gtksizegroup.go +9 -0 collapsed to keep the page light
M v4/gtk/gtksizerequest.go +1 -0 collapsed to keep the page light
M v4/gtk/gtkslicelistmodel.go +8 -0 collapsed to keep the page light
M v4/gtk/gtksnapshot.go +9 -0 collapsed to keep the page light
M v4/gtk/gtksorter.go +25 -0 collapsed to keep the page light
M v4/gtk/gtksortlistmodel.go +8 -0 collapsed to keep the page light
M v4/gtk/gtkspinbutton.go +25 -0 collapsed to keep the page light
M v4/gtk/gtkspinner.go +9 -0 collapsed to keep the page light
M v4/gtk/gtkstack.go +25 -0 collapsed to keep the page light
M v4/gtk/gtkstacksidebar.go +9 -0 collapsed to keep the page light
M v4/gtk/gtkstackswitcher.go +9 -0 collapsed to keep the page light
M v4/gtk/gtkstatusbar.go +9 -0 collapsed to keep the page light
M v4/gtk/gtkstringfilter.go +17 -0 collapsed to keep the page light
M v4/gtk/gtkstringlist.go +16 -0 collapsed to keep the page light
M v4/gtk/gtkstringsorter.go +9 -0 collapsed to keep the page light
M v4/gtk/gtkstylecontext.go +17 -0 collapsed to keep the page light
M v4/gtk/gtkstyleprovider.go +9 -0 collapsed to keep the page light
M v4/gtk/gtkswitch.go +9 -0 collapsed to keep the page light
M v4/gtk/gtksymbolicpaintable.go +10 -0 collapsed to keep the page light
M v4/gtk/gtktestatcontext.go +1 -0 collapsed to keep the page light
M v4/gtk/gtktestutils.go +1 -0 collapsed to keep the page light
M v4/gtk/gtktext.go +9 -0 collapsed to keep the page light
M v4/gtk/gtktextbuffer.go +9 -0 collapsed to keep the page light
M v4/gtk/gtktextchild.go +9 -0 collapsed to keep the page light
M v4/gtk/gtktextiter.go +17 -0 collapsed to keep the page light
M v4/gtk/gtktextmark.go +9 -0 collapsed to keep the page light
M v4/gtk/gtktexttag.go +9 -0 collapsed to keep the page light
M v4/gtk/gtktexttagtable.go +9 -0 collapsed to keep the page light
M v4/gtk/gtktextview.go +33 -0 collapsed to keep the page light
M v4/gtk/gtktogglebutton.go +9 -0 collapsed to keep the page light
M v4/gtk/gtktooltip.go +9 -0 collapsed to keep the page light
M v4/gtk/gtktreednd.go +20 -0 collapsed to keep the page light
M v4/gtk/gtktreeexpander.go +9 -0 collapsed to keep the page light
M v4/gtk/gtktreelistmodel.go +16 -0 collapsed to keep the page light
M v4/gtk/gtktreelistrowsorter.go +9 -0 collapsed to keep the page light
M v4/gtk/gtktreemodel.go +42 -0 collapsed to keep the page light
M v4/gtk/gtktreemodelfilter.go +8 -0 collapsed to keep the page light
M v4/gtk/gtktreemodelsort.go +8 -0 collapsed to keep the page light
M v4/gtk/gtktreeselection.go +9 -0 collapsed to keep the page light
M v4/gtk/gtktreesortable.go +10 -0 collapsed to keep the page light
M v4/gtk/gtktreestore.go +8 -0 collapsed to keep the page light
M v4/gtk/gtktreeview.go +17 -0 collapsed to keep the page light
M v4/gtk/gtktreeviewcolumn.go +17 -0 collapsed to keep the page light
M v4/gtk/gtktypes.go +9 -0 collapsed to keep the page light
M v4/gtk/gtkversion.go +1 -0 collapsed to keep the page light
M v4/gtk/gtkvideo.go +9 -0 collapsed to keep the page light
M v4/gtk/gtkviewport.go +9 -0 collapsed to keep the page light
M v4/gtk/gtkvolumebutton.go +9 -0 collapsed to keep the page light
M v4/gtk/gtkwidget.go +16 -0 collapsed to keep the page light
M v4/gtk/gtkwidgetpaintable.go +9 -0 collapsed to keep the page light
M v4/gtk/gtkwindow.go +9 -0 collapsed to keep the page light
M v4/gtk/gtkwindowcontrols.go +9 -0 collapsed to keep the page light
M v4/gtk/gtkwindowgroup.go +9 -0 collapsed to keep the page light
M v4/gtk/gtkwindowhandle.go +9 -0 collapsed to keep the page light
M v4/gtk/main.go +1 -0 collapsed to keep the page light
M v4/pango/main.go +1 -0 collapsed to keep the page light
M v4/pango/pango-attributes.go +82 -0 collapsed to keep the page light
M v4/pango/pango-bidi-type.go +10 -0 collapsed to keep the page light
M v4/pango/pango-break.go +1 -0 collapsed to keep the page light
M v4/pango/pango-color.go +9 -0 collapsed to keep the page light
M v4/pango/pango-context.go +9 -0 collapsed to keep the page light
M v4/pango/pango-coverage.go +17 -0 collapsed to keep the page light
M v4/pango/pango-direction.go +8 -0 collapsed to keep the page light
M v4/pango/pango-font.go +82 -0 collapsed to keep the page light
M v4/pango/pango-fontmap.go +9 -0 collapsed to keep the page light
M v4/pango/pango-fontset.go +17 -0 collapsed to keep the page light
M v4/pango/pango-glyph-item.go +17 -0 collapsed to keep the page light
M v4/pango/pango-glyph.go +18 -0 collapsed to keep the page light
M v4/pango/pango-gravity.go +18 -0 collapsed to keep the page light
M v4/pango/pango-item.go +10 -0 collapsed to keep the page light
M v4/pango/pango-language.go +1 -0 collapsed to keep the page light
M v4/pango/pango-layout.go +73 -0 collapsed to keep the page light
M v4/pango/pango-markup.go +1 -0 collapsed to keep the page light
M v4/pango/pango-matrix.go +9 -0 collapsed to keep the page light
M v4/pango/pango-renderer.go +17 -0 collapsed to keep the page light
M v4/pango/pango-script.go +18 -0 collapsed to keep the page light
M v4/pango/pango-tabs.go +18 -0 collapsed to keep the page light
M v4/pango/pango-types.go +10 -0 collapsed to keep the page light
M v4/pango/pango-utils.go +1 -0 collapsed to keep the page light
M v4/pangocairo/pangocairo.go +20 -0 collapsed to keep the page light

Keyboard shortcuts

Single-key shortcuts are on. ctrl k and esc work whatever this says.

ctrl k :
go to a section, branch, tag, file or repository
?
this list
j k
move the row cursor down / up
enter
open the row under the cursor; on Files, a directory opens or closes in place
↑ ↓ ← → home end
in the file tree (focus on a row): previous / next row, close / open a directory or go to its parent / first entry, first / last row. They never open a file
l h
on Files: open a directory or a file / close a directory or go up to its parent, then to the parent page. Elsewhere: into the side panel (on a merge request, its files) / back to the content; there j k move between its controls
g g G
first / last row
/
filter the list; on Files, find a file anywhere in the repository (esc clears, enter opens the best match)
b
switch branch or tag
g s g f g c g b g m g i g r g a
tabs: summary, files, commits, branches & tags, merge requests, issues, releases, actions (when available)
g h
home
w
wide mode: use the whole width of the screen, or not (remembered)
y
copy a permalink pinned to the commit
d u x
diff: split / unified / collapse or expand all
e E
diff: the whole file in view / every file, with the lines the hunks hide
n
merge request: next note in the diff
esc
close a dialog, leave a field

Branches 1

Tags 102

↑↓ moveenter openesc close