1// Package adw was automatically generated by github.com/bnema/puregotk DO NOT EDIT
2package adw
3
4import (
5 "structs"
6 "unsafe"
7
8 "github.com/ebitengine/purego"
9
10 "github.com/bnema/puregotk/pkg/core"
11 "github.com/bnema/puregotk/v4/gobject"
12 "github.com/bnema/puregotk/v4/gobject/types"
13 "github.com/bnema/puregotk/v4/gtk"
14)
15
16type WrapLayoutClass struct {
17 _ structs.HostLayout
18
19 ParentClass gtk.LayoutManagerClass
20}
21
22func (x *WrapLayoutClass) GoPointer() uintptr {
23 return uintptr(unsafe.Pointer(x))
24}
25
26// Describes line justify behaviors in a [class@WrapLayout] or [class@WrapBox].
27//
28// See [property@WrapLayout:justify] and [property@WrapBox:justify].
29type JustifyMode int
30
31var xJustifyModeGLibType func() types.GType
32
33func JustifyModeGLibType() types.GType {
34 return xJustifyModeGLibType()
35}
36
37const (
38
39 // Don't justify children within a line.
40 JustifyNoneValue JustifyMode = 0
41 // Stretch each child within the line, keeping consistent
42 // spacing, so that the line fills the entire length.
43 JustifyFillValue JustifyMode = 1
44 // Increase spacing between children, moving the children
45 // so that the first and last child are aligned with the beginning and end
46 // of the line. If the line only contains a single widget, it will be
47 // stretched regardless.
48 JustifySpreadValue JustifyMode = 2
49)
50
51// Describes child packing behavior in a [class@WrapLayout] or [class@WrapBox].
52//
53// See [property@WrapLayout:pack-direction] and
54// [property@WrapBox:pack-direction].
55type PackDirection int
56
57var xPackDirectionGLibType func() types.GType
58
59func PackDirectionGLibType() types.GType {
60 return xPackDirectionGLibType()
61}
62
63const (
64
65 // Pack children from left to right for LTR languages,
66 // or top to bottom vertically.
67 PackStartToEndValue PackDirection = 0
68 // Pack children from right to left for LTR languages,
69 // or bottom to top vertically.
70 PackEndToStartValue PackDirection = 1
71)
72
73// Describes line wrapping behavior in a [class@WrapLayout] or [class@WrapBox].
74//
75// See [property@WrapLayout:wrap-policy] and [property@WrapBox:wrap-policy].
76type WrapPolicy int
77
78var xWrapPolicyGLibType func() types.GType
79
80func WrapPolicyGLibType() types.GType {
81 return xWrapPolicyGLibType()
82}
83
84const (
85
86 // Fit as many children into each line as possible, shrinking
87 // them down to their minimum size before wrapping to the next line.
88 WrapMinimumValue WrapPolicy = 0
89 // Wrap to the next line as soon as the previous line cannot
90 // fit any more children without shrinking them past their natural size.
91 WrapNaturalValue WrapPolicy = 1
92)
93
94// A box-like layout that can wrap into multiple lines.
95//
96// <picture>
97//
98// <source srcset="wrap-box-dark.png" media="(prefers-color-scheme: dark)">
99// <img src="wrap-box.png" alt="wrap-box">
100//
101// </picture>
102//
103// `AdwWrapLayout` is similar to [class@Gtk.BoxLayout], but can wrap lines when
104// the widgets cannot fit otherwise. Unlike [class@Gtk.FlowBox], the children
105// aren't arranged into a grid and behave more like words in a wrapping label.
106//
107// Like `GtkBoxLayout`, `AdwWrapLayout` is orientable and has spacing:
108//
109// - [property@WrapLayout:child-spacing] between children in the same line;
110// - [property@WrapLayout:line-spacing] between lines.
111//
112// ::: note
113//
114// Unlike `GtkBoxLayout`, `AdwWrapLayout` cannot follow the CSS
115// `border-spacing` property.
116//
117// Use the [property@WrapLayout:natural-line-length] property to determine the
118// layout's natural size, e.g. when using it in a [class@Gtk.Popover].
119//
120// Normally, a horizontal `AdwWrapLayout` wraps left to right and top to bottom
121// for left-to-right languages. Both of these directions can be reversed, using
122// the [property@WrapLayout:pack-direction] and
123// [property@WrapLayout:wrap-reverse] properties. Additionally, the alignment
124// of each line can be controlled with the [property@WrapLayout:align] property.
125//
126// Lines can be justified using the [property@WrapLayout:justify] property,
127// filling the entire line by either increasing child size or spacing depending
128// on the value. Set [property@WrapLayout:justify-last-line] to justify the last
129// line as well.
130//
131// By default, `AdwWrapLayout` wraps as soon as the previous line cannot fit
132// any more children without shrinking them past their natural size. Set
133// [property@WrapLayout:wrap-policy] to [enum@Adw.WrapPolicy.MINIMUM] to only
134// wrap once all the children in the previous line have been shrunk to their
135// minimum size.
136//
137// To make each line take the same amount of space, set
138// [property@WrapLayout:line-homogeneous] to `TRUE`.
139//
140// Spacing and natural line length can scale with the text scale factor, use the
141// [property@WrapLayout:child-spacing-unit],
142// [property@WrapLayout:line-spacing-unit] and/or
143// [property@WrapLayout:natural-line-length-unit] properties to enable that
144// behavior.
145//
146// See [class@WrapBox].
147type WrapLayout struct {
148 gtk.LayoutManager
149}
150
151var xWrapLayoutGLibType func() types.GType
152
153func WrapLayoutGLibType() types.GType {
154 return xWrapLayoutGLibType()
155}
156
157func WrapLayoutNewFromInternalPtr(ptr uintptr) *WrapLayout {
158 cls := &WrapLayout{}
159 cls.Ptr = ptr
160 return cls
161}
162
163var xNewWrapLayout func() uintptr
164
165// Creates a new `AdwWrapLayout`.
166func NewWrapLayout() *WrapLayout {
167 var cls *WrapLayout
168
169 cret := xNewWrapLayout()
170
171 if cret == 0 {
172 return nil
173 }
174 cls = &WrapLayout{}
175 cls.Ptr = cret
176 return cls
177}
178
179var xWrapLayoutGetAlign func(uintptr) float32
180
181// Gets the alignment of the children within each line.
182func (x *WrapLayout) GetAlign() float32 {
183
184 cret := xWrapLayoutGetAlign(x.GoPointer())
185 return cret
186}
187
188var xWrapLayoutGetChildSpacing func(uintptr) int
189
190// Gets spacing between widgets on the same line.
191func (x *WrapLayout) GetChildSpacing() int {
192
193 cret := xWrapLayoutGetChildSpacing(x.GoPointer())
194 return cret
195}
196
197var xWrapLayoutGetChildSpacingUnit func(uintptr) LengthUnit
198
199// Gets the length unit for child spacing.
200func (x *WrapLayout) GetChildSpacingUnit() LengthUnit {
201
202 cret := xWrapLayoutGetChildSpacingUnit(x.GoPointer())
203 return cret
204}
205
206var xWrapLayoutGetJustify func(uintptr) JustifyMode
207
208// Gets whether and how each complete line is stretched to fill the entire widget.
209func (x *WrapLayout) GetJustify() JustifyMode {
210
211 cret := xWrapLayoutGetJustify(x.GoPointer())
212 return cret
213}
214
215var xWrapLayoutGetJustifyLastLine func(uintptr) bool
216
217// Gets whether the last line should be stretched to fill the entire widget.
218func (x *WrapLayout) GetJustifyLastLine() bool {
219
220 cret := xWrapLayoutGetJustifyLastLine(x.GoPointer())
221 return cret
222}
223
224var xWrapLayoutGetLineHomogeneous func(uintptr) bool
225
226// Gets whether all lines should take the same amount of space.
227func (x *WrapLayout) GetLineHomogeneous() bool {
228
229 cret := xWrapLayoutGetLineHomogeneous(x.GoPointer())
230 return cret
231}
232
233var xWrapLayoutGetLineSpacing func(uintptr) int
234
235// Gets the spacing between lines.
236func (x *WrapLayout) GetLineSpacing() int {
237
238 cret := xWrapLayoutGetLineSpacing(x.GoPointer())
239 return cret
240}
241
242var xWrapLayoutGetLineSpacingUnit func(uintptr) LengthUnit
243
244// Gets the length unit for line spacing.
245func (x *WrapLayout) GetLineSpacingUnit() LengthUnit {
246
247 cret := xWrapLayoutGetLineSpacingUnit(x.GoPointer())
248 return cret
249}
250
251var xWrapLayoutGetNaturalLineLength func(uintptr) int
252
253// Gets the natural size for each line.
254func (x *WrapLayout) GetNaturalLineLength() int {
255
256 cret := xWrapLayoutGetNaturalLineLength(x.GoPointer())
257 return cret
258}
259
260var xWrapLayoutGetNaturalLineLengthUnit func(uintptr) LengthUnit
261
262// Gets the length unit for line spacing.
263func (x *WrapLayout) GetNaturalLineLengthUnit() LengthUnit {
264
265 cret := xWrapLayoutGetNaturalLineLengthUnit(x.GoPointer())
266 return cret
267}
268
269var xWrapLayoutGetPackDirection func(uintptr) PackDirection
270
271// Gets the direction children are packed in each line.
272func (x *WrapLayout) GetPackDirection() PackDirection {
273
274 cret := xWrapLayoutGetPackDirection(x.GoPointer())
275 return cret
276}
277
278var xWrapLayoutGetWrapPolicy func(uintptr) WrapPolicy
279
280// Gets the policy for line wrapping.
281func (x *WrapLayout) GetWrapPolicy() WrapPolicy {
282
283 cret := xWrapLayoutGetWrapPolicy(x.GoPointer())
284 return cret
285}
286
287var xWrapLayoutGetWrapReverse func(uintptr) bool
288
289// Gets whether wrap direction is reversed.
290func (x *WrapLayout) GetWrapReverse() bool {
291
292 cret := xWrapLayoutGetWrapReverse(x.GoPointer())
293 return cret
294}
295
296var xWrapLayoutSetAlign func(uintptr, float32)
297
298// Sets the alignment of the children within each line.
299//
300// 0 means the children are placed at the start of the line, 1 means they are
301// placed at the end of the line. 0.5 means they are placed in the middle of the
302// line.
303//
304// Alignment is only used when [property@WrapLayout:justify] is set to
305// `ADW_JUSTIFY_NONE`, or on the last line when the
306// [property@WrapLayout:justify-last-line] is `FALSE`.
307func (x *WrapLayout) SetAlign(AlignVar float32) {
308
309 xWrapLayoutSetAlign(x.GoPointer(), AlignVar)
310
311}
312
313var xWrapLayoutSetChildSpacing func(uintptr, int)
314
315// Sets the spacing between widgets on the same line.
316//
317// See [property@WrapLayout:child-spacing-unit].
318func (x *WrapLayout) SetChildSpacing(ChildSpacingVar int) {
319
320 xWrapLayoutSetChildSpacing(x.GoPointer(), ChildSpacingVar)
321
322}
323
324var xWrapLayoutSetChildSpacingUnit func(uintptr, LengthUnit)
325
326// Sets the length unit for child spacing.
327//
328// Allows the spacing to vary depending on the text scale factor.
329//
330// See [property@WrapLayout:child-spacing].
331func (x *WrapLayout) SetChildSpacingUnit(UnitVar LengthUnit) {
332
333 xWrapLayoutSetChildSpacingUnit(x.GoPointer(), UnitVar)
334
335}
336
337var xWrapLayoutSetJustify func(uintptr, JustifyMode)
338
339// Sets whether and how each complete line should be stretched to fill the
340// entire widget.
341//
342// If set to `ADW_JUSTIFY_FILL`, each widget in the line will be stretched,
343// keeping consistent spacing, so that the line fills the entire widget.
344//
345// If set to `ADW_JUSTIFY_SPREAD`, the spacing between widgets will be
346// increased, keeping widget sizes intact. The first and last widget will be
347// aligned with the beginning and end of the line. If the line only contains a
348// single widget, it will be stretched regardless.
349//
350// If set to `ADW_JUSTIFY_NONE`, the line will not be stretched and the children
351// will be placed together within the line, according to
352// [property@WrapLayout:align].
353//
354// By default this doesn't affect the last line, as it will be incomplete. Use
355// [property@WrapLayout:justify-last-line] to justify it as well.
356func (x *WrapLayout) SetJustify(JustifyVar JustifyMode) {
357
358 xWrapLayoutSetJustify(x.GoPointer(), JustifyVar)
359
360}
361
362var xWrapLayoutSetJustifyLastLine func(uintptr, bool)
363
364// Sets whether the last line should be stretched to fill the entire widget.
365//
366// See [property@WrapLayout:justify].
367func (x *WrapLayout) SetJustifyLastLine(JustifyLastLineVar bool) {
368
369 xWrapLayoutSetJustifyLastLine(x.GoPointer(), JustifyLastLineVar)
370
371}
372
373var xWrapLayoutSetLineHomogeneous func(uintptr, bool)
374
375// Sets whether all lines should take the same amount of space.
376func (x *WrapLayout) SetLineHomogeneous(HomogeneousVar bool) {
377
378 xWrapLayoutSetLineHomogeneous(x.GoPointer(), HomogeneousVar)
379
380}
381
382var xWrapLayoutSetLineSpacing func(uintptr, int)
383
384// Sets the spacing between lines.
385//
386// See [property@WrapLayout:line-spacing-unit].
387func (x *WrapLayout) SetLineSpacing(LineSpacingVar int) {
388
389 xWrapLayoutSetLineSpacing(x.GoPointer(), LineSpacingVar)
390
391}
392
393var xWrapLayoutSetLineSpacingUnit func(uintptr, LengthUnit)
394
395// Sets the length unit for line spacing.
396//
397// Allows the spacing to vary depending on the text scale factor.
398//
399// See [property@WrapLayout:line-spacing].
400func (x *WrapLayout) SetLineSpacingUnit(UnitVar LengthUnit) {
401
402 xWrapLayoutSetLineSpacingUnit(x.GoPointer(), UnitVar)
403
404}
405
406var xWrapLayoutSetNaturalLineLength func(uintptr, int)
407
408// Sets the natural size for each line.
409//
410// It should be used to limit the line lengths, for example when used in
411// popovers.
412//
413// See [property@WrapLayout:natural-line-length-unit].
414func (x *WrapLayout) SetNaturalLineLength(NaturalLineLengthVar int) {
415
416 xWrapLayoutSetNaturalLineLength(x.GoPointer(), NaturalLineLengthVar)
417
418}
419
420var xWrapLayoutSetNaturalLineLengthUnit func(uintptr, LengthUnit)
421
422// Sets the length unit for natural line length.
423//
424// Allows the length to vary depending on the text scale factor.
425//
426// See [property@WrapLayout:natural-line-length].
427func (x *WrapLayout) SetNaturalLineLengthUnit(UnitVar LengthUnit) {
428
429 xWrapLayoutSetNaturalLineLengthUnit(x.GoPointer(), UnitVar)
430
431}
432
433var xWrapLayoutSetPackDirection func(uintptr, PackDirection)
434
435// Sets the direction children are packed in each line.
436func (x *WrapLayout) SetPackDirection(PackDirectionVar PackDirection) {
437
438 xWrapLayoutSetPackDirection(x.GoPointer(), PackDirectionVar)
439
440}
441
442var xWrapLayoutSetWrapPolicy func(uintptr, WrapPolicy)
443
444// Sets the policy for line wrapping.
445//
446// If set to `ADW_WRAP_NATURAL`, the box will wrap to the next line as soon as
447// the previous line cannot fit any more children without shrinking them past
448// their natural size.
449//
450// If set to `ADW_WRAP_MINIMUM`, the box will try to fit as many children into
451// each line as possible, shrinking them down to their minimum size before
452// wrapping to the next line.
453func (x *WrapLayout) SetWrapPolicy(WrapPolicyVar WrapPolicy) {
454
455 xWrapLayoutSetWrapPolicy(x.GoPointer(), WrapPolicyVar)
456
457}
458
459var xWrapLayoutSetWrapReverse func(uintptr, bool)
460
461// Sets whether wrap direction should be reversed.
462//
463// By default, lines wrap downwards in a horizontal box, and towards the end
464// in a vertical box. If set to `TRUE`, they wrap upwards or towards the start
465// respectively.
466func (x *WrapLayout) SetWrapReverse(WrapReverseVar bool) {
467
468 xWrapLayoutSetWrapReverse(x.GoPointer(), WrapReverseVar)
469
470}
471
472func (c *WrapLayout) GoPointer() uintptr {
473 if c == nil {
474 return 0
475 }
476 return c.Ptr
477}
478
479func (c *WrapLayout) SetGoPointer(ptr uintptr) {
480 c.Ptr = ptr
481}
482
483// SetPropertyAlign sets the "align" property.
484// The alignment of the children within each line.
485//
486// 0 means the children are placed at the start of the line, 1 means they are
487// placed at the end of the line. 0.5 means they are placed in the middle of
488// the line.
489//
490// Alignment is only used when [property@WrapLayout:justify] is set to
491// `ADW_JUSTIFY_NONE`, or on the last line when the
492// [property@WrapLayout:justify-last-line] is `FALSE`.
493func (x *WrapLayout) SetPropertyAlign(value float32) {
494 var v gobject.Value
495 v.Init(gobject.TypeFloatVal)
496 v.SetFloat(value)
497 x.SetProperty("align", &v)
498}
499
500// GetPropertyAlign gets the "align" property.
501// The alignment of the children within each line.
502//
503// 0 means the children are placed at the start of the line, 1 means they are
504// placed at the end of the line. 0.5 means they are placed in the middle of
505// the line.
506//
507// Alignment is only used when [property@WrapLayout:justify] is set to
508// `ADW_JUSTIFY_NONE`, or on the last line when the
509// [property@WrapLayout:justify-last-line] is `FALSE`.
510func (x *WrapLayout) GetPropertyAlign() float32 {
511 var v gobject.Value
512 x.GetProperty("align", &v)
513 return v.GetFloat()
514}
515
516// SetPropertyChildSpacing sets the "child-spacing" property.
517// The spacing between widgets on the same line.
518//
519// See [property@WrapLayout:child-spacing-unit].
520func (x *WrapLayout) SetPropertyChildSpacing(value int) {
521 var v gobject.Value
522 v.Init(gobject.TypeIntVal)
523 v.SetInt(value)
524 x.SetProperty("child-spacing", &v)
525}
526
527// GetPropertyChildSpacing gets the "child-spacing" property.
528// The spacing between widgets on the same line.
529//
530// See [property@WrapLayout:child-spacing-unit].
531func (x *WrapLayout) GetPropertyChildSpacing() int {
532 var v gobject.Value
533 x.GetProperty("child-spacing", &v)
534 return v.GetInt()
535}
536
537// SetPropertyJustifyLastLine sets the "justify-last-line" property.
538// Whether the last line should be stretched to fill the entire widget.
539//
540// See [property@WrapLayout:justify].
541func (x *WrapLayout) SetPropertyJustifyLastLine(value bool) {
542 var v gobject.Value
543 v.Init(gobject.TypeBooleanVal)
544 v.SetBoolean(value)
545 x.SetProperty("justify-last-line", &v)
546}
547
548// GetPropertyJustifyLastLine gets the "justify-last-line" property.
549// Whether the last line should be stretched to fill the entire widget.
550//
551// See [property@WrapLayout:justify].
552func (x *WrapLayout) GetPropertyJustifyLastLine() bool {
553 var v gobject.Value
554 x.GetProperty("justify-last-line", &v)
555 return v.GetBoolean()
556}
557
558// SetPropertyLineHomogeneous sets the "line-homogeneous" property.
559// Whether all lines should take the same amount of space.
560func (x *WrapLayout) SetPropertyLineHomogeneous(value bool) {
561 var v gobject.Value
562 v.Init(gobject.TypeBooleanVal)
563 v.SetBoolean(value)
564 x.SetProperty("line-homogeneous", &v)
565}
566
567// GetPropertyLineHomogeneous gets the "line-homogeneous" property.
568// Whether all lines should take the same amount of space.
569func (x *WrapLayout) GetPropertyLineHomogeneous() bool {
570 var v gobject.Value
571 x.GetProperty("line-homogeneous", &v)
572 return v.GetBoolean()
573}
574
575// SetPropertyLineSpacing sets the "line-spacing" property.
576// The spacing between lines.
577//
578// See [property@WrapLayout:line-spacing-unit].
579func (x *WrapLayout) SetPropertyLineSpacing(value int) {
580 var v gobject.Value
581 v.Init(gobject.TypeIntVal)
582 v.SetInt(value)
583 x.SetProperty("line-spacing", &v)
584}
585
586// GetPropertyLineSpacing gets the "line-spacing" property.
587// The spacing between lines.
588//
589// See [property@WrapLayout:line-spacing-unit].
590func (x *WrapLayout) GetPropertyLineSpacing() int {
591 var v gobject.Value
592 x.GetProperty("line-spacing", &v)
593 return v.GetInt()
594}
595
596// SetPropertyNaturalLineLength sets the "natural-line-length" property.
597// Determines the natural size for each line.
598//
599// It should be used to limit the line lengths, for example when used in
600// popovers.
601//
602// See [property@WrapLayout:natural-line-length-unit].
603func (x *WrapLayout) SetPropertyNaturalLineLength(value int) {
604 var v gobject.Value
605 v.Init(gobject.TypeIntVal)
606 v.SetInt(value)
607 x.SetProperty("natural-line-length", &v)
608}
609
610// GetPropertyNaturalLineLength gets the "natural-line-length" property.
611// Determines the natural size for each line.
612//
613// It should be used to limit the line lengths, for example when used in
614// popovers.
615//
616// See [property@WrapLayout:natural-line-length-unit].
617func (x *WrapLayout) GetPropertyNaturalLineLength() int {
618 var v gobject.Value
619 x.GetProperty("natural-line-length", &v)
620 return v.GetInt()
621}
622
623// SetPropertyWrapReverse sets the "wrap-reverse" property.
624// Whether wrap direction should be reversed.
625//
626// By default, lines wrap downwards in a horizontal box, and towards the end
627// in a vertical box. If set to `TRUE`, they wrap upwards or towards the start
628// respectively.
629func (x *WrapLayout) SetPropertyWrapReverse(value bool) {
630 var v gobject.Value
631 v.Init(gobject.TypeBooleanVal)
632 v.SetBoolean(value)
633 x.SetProperty("wrap-reverse", &v)
634}
635
636// GetPropertyWrapReverse gets the "wrap-reverse" property.
637// Whether wrap direction should be reversed.
638//
639// By default, lines wrap downwards in a horizontal box, and towards the end
640// in a vertical box. If set to `TRUE`, they wrap upwards or towards the start
641// respectively.
642func (x *WrapLayout) GetPropertyWrapReverse() bool {
643 var v gobject.Value
644 x.GetProperty("wrap-reverse", &v)
645 return v.GetBoolean()
646}
647
648// Retrieves the orientation of the @orientable.
649func (x *WrapLayout) GetOrientation() gtk.Orientation {
650
651 cret := gtk.XGtkOrientableGetOrientation(x.GoPointer())
652 return cret
653}
654
655// Sets the orientation of the @orientable.
656func (x *WrapLayout) SetOrientation(OrientationVar gtk.Orientation) {
657
658 gtk.XGtkOrientableSetOrientation(x.GoPointer(), OrientationVar)
659
660}
661
662func init() {
663 core.SetPackageName("ADW", "libadwaita-1")
664 core.SetSharedLibraries("ADW", []string{"libadwaita-1.so.0"})
665 var libs []uintptr
666 for _, libPath := range core.GetPaths("ADW") {
667 lib, err := purego.Dlopen(libPath, purego.RTLD_NOW|purego.RTLD_GLOBAL)
668 if err != nil {
669 panic(err)
670 }
671 libs = append(libs, lib)
672 }
673
674 core.PuregoSafeRegister(&xJustifyModeGLibType, libs, "adw_justify_mode_get_type")
675
676 core.PuregoSafeRegister(&xPackDirectionGLibType, libs, "adw_pack_direction_get_type")
677
678 core.PuregoSafeRegister(&xWrapPolicyGLibType, libs, "adw_wrap_policy_get_type")
679
680 core.PuregoSafeRegister(&xWrapLayoutGLibType, libs, "adw_wrap_layout_get_type")
681
682 core.PuregoSafeRegister(&xNewWrapLayout, libs, "adw_wrap_layout_new")
683
684 core.PuregoSafeRegister(&xWrapLayoutGetAlign, libs, "adw_wrap_layout_get_align")
685 core.PuregoSafeRegister(&xWrapLayoutGetChildSpacing, libs, "adw_wrap_layout_get_child_spacing")
686 core.PuregoSafeRegister(&xWrapLayoutGetChildSpacingUnit, libs, "adw_wrap_layout_get_child_spacing_unit")
687 core.PuregoSafeRegister(&xWrapLayoutGetJustify, libs, "adw_wrap_layout_get_justify")
688 core.PuregoSafeRegister(&xWrapLayoutGetJustifyLastLine, libs, "adw_wrap_layout_get_justify_last_line")
689 core.PuregoSafeRegister(&xWrapLayoutGetLineHomogeneous, libs, "adw_wrap_layout_get_line_homogeneous")
690 core.PuregoSafeRegister(&xWrapLayoutGetLineSpacing, libs, "adw_wrap_layout_get_line_spacing")
691 core.PuregoSafeRegister(&xWrapLayoutGetLineSpacingUnit, libs, "adw_wrap_layout_get_line_spacing_unit")
692 core.PuregoSafeRegister(&xWrapLayoutGetNaturalLineLength, libs, "adw_wrap_layout_get_natural_line_length")
693 core.PuregoSafeRegister(&xWrapLayoutGetNaturalLineLengthUnit, libs, "adw_wrap_layout_get_natural_line_length_unit")
694 core.PuregoSafeRegister(&xWrapLayoutGetPackDirection, libs, "adw_wrap_layout_get_pack_direction")
695 core.PuregoSafeRegister(&xWrapLayoutGetWrapPolicy, libs, "adw_wrap_layout_get_wrap_policy")
696 core.PuregoSafeRegister(&xWrapLayoutGetWrapReverse, libs, "adw_wrap_layout_get_wrap_reverse")
697 core.PuregoSafeRegister(&xWrapLayoutSetAlign, libs, "adw_wrap_layout_set_align")
698 core.PuregoSafeRegister(&xWrapLayoutSetChildSpacing, libs, "adw_wrap_layout_set_child_spacing")
699 core.PuregoSafeRegister(&xWrapLayoutSetChildSpacingUnit, libs, "adw_wrap_layout_set_child_spacing_unit")
700 core.PuregoSafeRegister(&xWrapLayoutSetJustify, libs, "adw_wrap_layout_set_justify")
701 core.PuregoSafeRegister(&xWrapLayoutSetJustifyLastLine, libs, "adw_wrap_layout_set_justify_last_line")
702 core.PuregoSafeRegister(&xWrapLayoutSetLineHomogeneous, libs, "adw_wrap_layout_set_line_homogeneous")
703 core.PuregoSafeRegister(&xWrapLayoutSetLineSpacing, libs, "adw_wrap_layout_set_line_spacing")
704 core.PuregoSafeRegister(&xWrapLayoutSetLineSpacingUnit, libs, "adw_wrap_layout_set_line_spacing_unit")
705 core.PuregoSafeRegister(&xWrapLayoutSetNaturalLineLength, libs, "adw_wrap_layout_set_natural_line_length")
706 core.PuregoSafeRegister(&xWrapLayoutSetNaturalLineLengthUnit, libs, "adw_wrap_layout_set_natural_line_length_unit")
707 core.PuregoSafeRegister(&xWrapLayoutSetPackDirection, libs, "adw_wrap_layout_set_pack_direction")
708 core.PuregoSafeRegister(&xWrapLayoutSetWrapPolicy, libs, "adw_wrap_layout_set_wrap_policy")
709 core.PuregoSafeRegister(&xWrapLayoutSetWrapReverse, libs, "adw_wrap_layout_set_wrap_reverse")
710
711}