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/gdk"
12 "github.com/bnema/puregotk/v4/glib"
13 "github.com/bnema/puregotk/v4/gobject"
14 "github.com/bnema/puregotk/v4/gobject/types"
15 "github.com/bnema/puregotk/v4/gsk"
16 "github.com/bnema/puregotk/v4/gtk"
17)
18
19type AboutWindowClass struct {
20 _ structs.HostLayout
21
22 ParentClass WindowClass
23}
24
25func (x *AboutWindowClass) GoPointer() uintptr {
26 return uintptr(unsafe.Pointer(x))
27}
28
29var xShowAboutWindow func(uintptr, string, ...interface{})
30
31// A convenience function for showing an application’s about window.
32func ShowAboutWindow(ParentVar *gtk.Window, FirstPropertyNameVar string, varArgs ...interface{}) {
33
34 xShowAboutWindow(ParentVar.GoPointer(), FirstPropertyNameVar, varArgs...)
35
36}
37
38var xShowAboutWindowFromAppdata func(uintptr, string, uintptr, string, ...interface{})
39
40// A convenience function for showing an application’s about window from
41// AppStream metadata.
42//
43// See [ctor@AboutWindow.new_from_appdata] for details.
44func ShowAboutWindowFromAppdata(ParentVar *gtk.Window, ResourcePathVar string, ReleaseNotesVersionVar *string, FirstPropertyNameVar string, varArgs ...interface{}) {
45
46 ReleaseNotesVersionVarPtr := core.GStrdupNullable(ReleaseNotesVersionVar)
47 defer core.GFreeNullable(ReleaseNotesVersionVarPtr)
48
49 xShowAboutWindowFromAppdata(ParentVar.GoPointer(), ResourcePathVar, ReleaseNotesVersionVarPtr, FirstPropertyNameVar, varArgs...)
50
51}
52
53// A window showing information about the application.
54//
55// <picture>
56//
57// <source srcset="about-window-dark.png" media="(prefers-color-scheme: dark)">
58// <img src="about-window.png" alt="about-window">
59//
60// </picture>
61//
62// An about window is typically opened when the user activates the `About …`
63// item in the application's primary menu. All parts of the window are optional.
64//
65// ## Main page
66//
67// `AdwAboutWindow` prominently displays the application's icon, name, developer
68// name and version. They can be set with the [property@AboutWindow:application-icon],
69// [property@AboutWindow:application-name],
70// [property@AboutWindow:developer-name] and [property@AboutWindow:version]
71// respectively.
72//
73// ## What's New
74//
75// `AdwAboutWindow` provides a way for applications to display their release
76// notes, set with the [property@AboutWindow:release-notes] property.
77//
78// Release notes are formatted the same way as
79// [AppStream descriptions](https://freedesktop.org/software/appstream/docs/chap-Metadata.html#tag-description).
80//
81// The supported formatting options are:
82//
83// * Paragraph (`<p>`)
84// * Ordered list (`<ol>`), with list items (`<li>`)
85// * Unordered list (`<ul>`), with list items (`<li>`)
86//
87// Within paragraphs and list items, emphasis (`<em>`) and inline code
88// (`<code>`) text styles are supported. The emphasis is rendered in italic,
89// while inline code is shown in a monospaced font.
90//
91// Any text outside paragraphs or list items is ignored.
92//
93// Nested lists are not supported.
94//
95// Only one version can be shown at a time. By default, the displayed version
96// number matches [property@AboutWindow:version]. Use
97// [property@AboutWindow:release-notes-version] to override it.
98//
99// ## Details
100//
101// The Details page displays the application comments and links.
102//
103// The comments can be set with the [property@AboutWindow:comments] property.
104// Unlike [property@Gtk.AboutDialog:comments], this string can be long and
105// detailed. It can also contain links and Pango markup.
106//
107// To set the application website, use [property@AboutWindow:website].
108// To add extra links below the website, use [method@AboutWindow.add_link].
109//
110// If the Details page doesn't have any other content besides website, the
111// website will be displayed on the main page instead.
112//
113// ## Troubleshooting
114//
115// `AdwAboutWindow` displays the following two links on the main page:
116//
117// * Support Questions, set with the [property@AboutWindow:support-url] property,
118// * Report an Issue, set with the [property@AboutWindow:issue-url] property.
119//
120// Additionally, applications can provide debugging information. It will be
121// shown separately on the Troubleshooting page. Use the
122// [property@AboutWindow:debug-info] property to specify it.
123//
124// It's intended to be attached to issue reports when reporting issues against
125// the application. As such, it cannot contain markup or links.
126//
127// `AdwAboutWindow` provides a quick way to save debug information to a file.
128// When saving, [property@AboutWindow:debug-info-filename] would be used as
129// the suggested filename.
130//
131// ## Credits and Acknowledgements
132//
133// The Credits page has the following default sections:
134//
135// * Developers, set with the [property@AboutWindow:developers] property,
136// * Designers, set with the [property@AboutWindow:designers] property,
137// * Artists, set with the [property@AboutWindow:artists] property,
138// * Documenters, set with the [property@AboutWindow:documenters] property,
139// * Translators, set with the [property@AboutWindow:translator-credits] property.
140//
141// When setting translator credits, use the strings `"translator-credits"` or
142// `"translator_credits"` and mark them as translatable.
143//
144// The default sections that don't contain any names won't be displayed.
145//
146// The Credits page can also contain an arbitrary number of extra sections below
147// the default ones. Use [method@AboutWindow.add_credit_section] to add them.
148//
149// The Acknowledgements page can be used to acknowledge additional people and
150// organizations for their non-development contributions. Use
151// [method@AboutWindow.add_acknowledgement_section] to add sections to it. For
152// example, it can be used to list backers in a crowdfunded project or to give
153// special thanks.
154//
155// Each of the people or organizations can have an email address or a website
156// specified. To add a email address, use a string like
157// `Edgar Allan Poe <edgar@poe.com>`. To specify a website with a title, use a
158// string like `The GNOME Project https://www.gnome.org`:
159//
160// <picture>
161//
162// <source srcset="about-window-credits-dark.png" media="(prefers-color-scheme: dark)">
163// <img src="about-window-credits.png" alt="about-window-credits">
164//
165// </picture>
166//
167// ## Legal
168//
169// The Legal page displays the copyright and licensing information for the
170// application and other modules.
171//
172// The copyright string is set with the [property@AboutWindow:copyright]
173// property and should be a short string of one or two lines, for example:
174// `© 2022 Example`.
175//
176// Licensing information can be quickly set from a list of known licenses with
177// the [property@AboutWindow:license-type] property. If the application's
178// license is not in the list, [property@AboutWindow:license] can be used
179// instead.
180//
181// To add information about other modules, such as application dependencies or
182// data, use [method@AboutWindow.add_legal_section].
183//
184// ## Constructing
185//
186// To make constructing an `AdwAboutWindow` as convenient as possible, you can
187// use the function [func@show_about_window] which constructs and shows a
188// window.
189//
190// ```c
191// static void
192// show_about (GtkApplication *app)
193//
194// {
195// const char *developers[] = {
196// "Angela Avery",
197// NULL
198// };
199//
200// const char *designers[] = {
201// "GNOME Design Team",
202// NULL
203// };
204//
205// adw_show_about_window (gtk_application_get_active_window (app),
206// "application-name", _("Example"),
207// "application-icon", "org.example.App",
208// "version", "1.2.3",
209// "copyright", "© 2022 Angela Avery",
210// "issue-url", "https://gitlab.gnome.org/example/example/-/issues/",
211// "license-type", GTK_LICENSE_GPL_3_0,
212// "developers", developers,
213// "designers", designers,
214// "translator-credits", _("translator-credits"),
215// NULL);
216// }
217//
218// ```
219//
220// ## CSS nodes
221//
222// `AdwAboutWindow` has a main CSS node with the name `window` and the
223// style class `.about`.
224type AboutWindow struct {
225 Window
226}
227
228var xAboutWindowGLibType func() types.GType
229
230func AboutWindowGLibType() types.GType {
231 return xAboutWindowGLibType()
232}
233
234func AboutWindowNewFromInternalPtr(ptr uintptr) *AboutWindow {
235 cls := &AboutWindow{}
236 cls.Ptr = ptr
237 return cls
238}
239
240var xNewAboutWindow func() uintptr
241
242// Creates a new `AdwAboutWindow`.
243func NewAboutWindow() *AboutWindow {
244 var cls *AboutWindow
245
246 cret := xNewAboutWindow()
247
248 if cret == 0 {
249 return nil
250 }
251 gobject.IncreaseRef(cret)
252 cls = &AboutWindow{}
253 cls.Ptr = cret
254 return cls
255}
256
257var xNewAboutWindowFromAppdata func(string, uintptr) uintptr
258
259// Creates a new `AdwAboutWindow` using AppStream metadata.
260//
261// This automatically sets the following properties with the following AppStream
262// values:
263//
264// - [property@AboutWindow:application-icon] is set from the `<id>`
265// - [property@AboutWindow:application-name] is set from the `<name>`
266// - [property@AboutWindow:developer-name] is set from the `<name>` within
267// `<developer>`
268// - [property@AboutWindow:version] is set from the version of the latest release
269// - [property@AboutWindow:website] is set from the `<url type="homepage">`
270// - [property@AboutWindow:support-url] is set from the `<url type="help">`
271// - [property@AboutWindow:issue-url] is set from the `<url type="bugtracker">`
272// - [property@AboutWindow:license-type] is set from the `<project_license>`.
273// If the license type retrieved from AppStream is not listed in
274// [enum@Gtk.License], it will be set to `GTK_LICENCE_CUSTOM`.
275//
276// If @release_notes_version is not `NULL`,
277// [property@AboutWindow:release-notes-version] is set to match it, while
278// [property@AboutWindow:release-notes] is set from the AppStream release
279// description for that version.
280func NewAboutWindowFromAppdata(ResourcePathVar string, ReleaseNotesVersionVar *string) *AboutWindow {
281 var cls *AboutWindow
282
283 ReleaseNotesVersionVarPtr := core.GStrdupNullable(ReleaseNotesVersionVar)
284 defer core.GFreeNullable(ReleaseNotesVersionVarPtr)
285
286 cret := xNewAboutWindowFromAppdata(ResourcePathVar, ReleaseNotesVersionVarPtr)
287
288 if cret == 0 {
289 return nil
290 }
291 gobject.IncreaseRef(cret)
292 cls = &AboutWindow{}
293 cls.Ptr = cret
294 return cls
295}
296
297var xAboutWindowAddAcknowledgementSection func(uintptr, uintptr, []string)
298
299// Adds a section to the Acknowledgements page.
300//
301// This can be used to acknowledge additional people and organizations for their
302// non-development contributions - for example, backers in a crowdfunded
303// project.
304//
305// Each name may contain email addresses and URLs, see the introduction for more
306// details.
307//
308// See also:
309//
310// * [property@AboutWindow:developers]
311// * [property@AboutWindow:designers]
312// * [property@AboutWindow:artists]
313// * [property@AboutWindow:documenters]
314// * [property@AboutWindow:translator-credits]
315// * [method@AboutWindow.add_credit_section]
316func (x *AboutWindow) AddAcknowledgementSection(NameVar *string, PeopleVar []string) {
317
318 NameVarPtr := core.GStrdupNullable(NameVar)
319 defer core.GFreeNullable(NameVarPtr)
320
321 xAboutWindowAddAcknowledgementSection(x.GoPointer(), NameVarPtr, PeopleVar)
322
323}
324
325var xAboutWindowAddCreditSection func(uintptr, uintptr, []string)
326
327// Adds an extra section to the Credits page.
328//
329// Extra sections are displayed below the standard categories.
330//
331// Each name may contain email addresses and URLs, see the introduction for more
332// details.
333//
334// See also:
335//
336// * [property@AboutWindow:developers]
337// * [property@AboutWindow:designers]
338// * [property@AboutWindow:artists]
339// * [property@AboutWindow:documenters]
340// * [property@AboutWindow:translator-credits]
341// * [method@AboutWindow.add_acknowledgement_section]
342func (x *AboutWindow) AddCreditSection(NameVar *string, PeopleVar []string) {
343
344 NameVarPtr := core.GStrdupNullable(NameVar)
345 defer core.GFreeNullable(NameVarPtr)
346
347 xAboutWindowAddCreditSection(x.GoPointer(), NameVarPtr, PeopleVar)
348
349}
350
351var xAboutWindowAddLegalSection func(uintptr, string, uintptr, gtk.License, uintptr)
352
353// Adds an extra section to the Legal page.
354//
355// Extra sections will be displayed below the application's own information.
356//
357// The parameters @copyright, @license_type and @license will be used to present
358// the it the same way as [property@AboutWindow:copyright],
359// [property@AboutWindow:license-type] and [property@AboutWindow:license] are
360// for the application's own information.
361//
362// See those properties for more details.
363//
364// This can be useful to attribute the application dependencies or data.
365//
366// Examples:
367//
368// ```c
369// adw_about_window_add_legal_section (ADW_ABOUT_WINDOW (about),
370//
371// _("Copyright and a known license"),
372// "© 2022 Example",
373// GTK_LICENSE_LGPL_2_1,
374// NULL);
375//
376// adw_about_window_add_legal_section (ADW_ABOUT_WINDOW (about),
377//
378// _("Copyright and custom license"),
379// "© 2022 Example",
380// GTK_LICENSE_CUSTOM,
381// "Custom license text");
382//
383// adw_about_window_add_legal_section (ADW_ABOUT_WINDOW (about),
384//
385// _("Copyright only"),
386// "© 2022 Example",
387// GTK_LICENSE_UNKNOWN,
388// NULL);
389//
390// adw_about_window_add_legal_section (ADW_ABOUT_WINDOW (about),
391//
392// _("Custom license only"),
393// NULL,
394// GTK_LICENSE_CUSTOM,
395// "Something completely custom here.");
396//
397// ```
398func (x *AboutWindow) AddLegalSection(TitleVar string, CopyrightVar *string, LicenseTypeVar gtk.License, LicenseVar *string) {
399
400 CopyrightVarPtr := core.GStrdupNullable(CopyrightVar)
401 defer core.GFreeNullable(CopyrightVarPtr)
402
403 LicenseVarPtr := core.GStrdupNullable(LicenseVar)
404 defer core.GFreeNullable(LicenseVarPtr)
405
406 xAboutWindowAddLegalSection(x.GoPointer(), TitleVar, CopyrightVarPtr, LicenseTypeVar, LicenseVarPtr)
407
408}
409
410var xAboutWindowAddLink func(uintptr, string, string)
411
412// Adds an extra link to the Details page.
413//
414// Extra links are displayed under the comment and website.
415//
416// Underlines in @title will be interpreted as indicating a mnemonic.
417//
418// See [property@AboutWindow:website].
419func (x *AboutWindow) AddLink(TitleVar string, UrlVar string) {
420
421 xAboutWindowAddLink(x.GoPointer(), TitleVar, UrlVar)
422
423}
424
425var xAboutWindowGetApplicationIcon func(uintptr) string
426
427// Gets the name of the application icon for @self.
428func (x *AboutWindow) GetApplicationIcon() string {
429
430 cret := xAboutWindowGetApplicationIcon(x.GoPointer())
431 return cret
432}
433
434var xAboutWindowGetApplicationName func(uintptr) string
435
436// Gets the application name for @self.
437func (x *AboutWindow) GetApplicationName() string {
438
439 cret := xAboutWindowGetApplicationName(x.GoPointer())
440 return cret
441}
442
443var xAboutWindowGetArtists func(uintptr) []string
444
445// Gets the list of artists of the application.
446func (x *AboutWindow) GetArtists() []string {
447
448 cret := xAboutWindowGetArtists(x.GoPointer())
449 return cret
450}
451
452var xAboutWindowGetComments func(uintptr) string
453
454// Gets the comments about the application.
455func (x *AboutWindow) GetComments() string {
456
457 cret := xAboutWindowGetComments(x.GoPointer())
458 return cret
459}
460
461var xAboutWindowGetCopyright func(uintptr) string
462
463// Gets the copyright information for @self.
464func (x *AboutWindow) GetCopyright() string {
465
466 cret := xAboutWindowGetCopyright(x.GoPointer())
467 return cret
468}
469
470var xAboutWindowGetDebugInfo func(uintptr) string
471
472// Gets the debug information for @self.
473func (x *AboutWindow) GetDebugInfo() string {
474
475 cret := xAboutWindowGetDebugInfo(x.GoPointer())
476 return cret
477}
478
479var xAboutWindowGetDebugInfoFilename func(uintptr) string
480
481// Gets the debug information filename for @self.
482func (x *AboutWindow) GetDebugInfoFilename() string {
483
484 cret := xAboutWindowGetDebugInfoFilename(x.GoPointer())
485 return cret
486}
487
488var xAboutWindowGetDesigners func(uintptr) []string
489
490// Gets the list of designers of the application.
491func (x *AboutWindow) GetDesigners() []string {
492
493 cret := xAboutWindowGetDesigners(x.GoPointer())
494 return cret
495}
496
497var xAboutWindowGetDeveloperName func(uintptr) string
498
499// Gets the developer name for @self.
500func (x *AboutWindow) GetDeveloperName() string {
501
502 cret := xAboutWindowGetDeveloperName(x.GoPointer())
503 return cret
504}
505
506var xAboutWindowGetDevelopers func(uintptr) []string
507
508// Gets the list of developers of the application.
509func (x *AboutWindow) GetDevelopers() []string {
510
511 cret := xAboutWindowGetDevelopers(x.GoPointer())
512 return cret
513}
514
515var xAboutWindowGetDocumenters func(uintptr) []string
516
517// Gets the list of documenters of the application.
518func (x *AboutWindow) GetDocumenters() []string {
519
520 cret := xAboutWindowGetDocumenters(x.GoPointer())
521 return cret
522}
523
524var xAboutWindowGetIssueUrl func(uintptr) string
525
526// Gets the issue tracker URL for @self.
527func (x *AboutWindow) GetIssueUrl() string {
528
529 cret := xAboutWindowGetIssueUrl(x.GoPointer())
530 return cret
531}
532
533var xAboutWindowGetLicense func(uintptr) string
534
535// Gets the license for @self.
536func (x *AboutWindow) GetLicense() string {
537
538 cret := xAboutWindowGetLicense(x.GoPointer())
539 return cret
540}
541
542var xAboutWindowGetLicenseType func(uintptr) gtk.License
543
544// Gets the license type for @self.
545func (x *AboutWindow) GetLicenseType() gtk.License {
546
547 cret := xAboutWindowGetLicenseType(x.GoPointer())
548 return cret
549}
550
551var xAboutWindowGetReleaseNotes func(uintptr) string
552
553// Gets the release notes for @self.
554func (x *AboutWindow) GetReleaseNotes() string {
555
556 cret := xAboutWindowGetReleaseNotes(x.GoPointer())
557 return cret
558}
559
560var xAboutWindowGetReleaseNotesVersion func(uintptr) string
561
562// Gets the version described by the application's release notes.
563func (x *AboutWindow) GetReleaseNotesVersion() string {
564
565 cret := xAboutWindowGetReleaseNotesVersion(x.GoPointer())
566 return cret
567}
568
569var xAboutWindowGetSupportUrl func(uintptr) string
570
571// Gets the URL of the support page for @self.
572func (x *AboutWindow) GetSupportUrl() string {
573
574 cret := xAboutWindowGetSupportUrl(x.GoPointer())
575 return cret
576}
577
578var xAboutWindowGetTranslatorCredits func(uintptr) string
579
580// Gets the translator credits string.
581func (x *AboutWindow) GetTranslatorCredits() string {
582
583 cret := xAboutWindowGetTranslatorCredits(x.GoPointer())
584 return cret
585}
586
587var xAboutWindowGetVersion func(uintptr) string
588
589// Gets the version for @self.
590func (x *AboutWindow) GetVersion() string {
591
592 cret := xAboutWindowGetVersion(x.GoPointer())
593 return cret
594}
595
596var xAboutWindowGetWebsite func(uintptr) string
597
598// Gets the application website URL for @self.
599func (x *AboutWindow) GetWebsite() string {
600
601 cret := xAboutWindowGetWebsite(x.GoPointer())
602 return cret
603}
604
605var xAboutWindowSetApplicationIcon func(uintptr, string)
606
607// Sets the name of the application icon for @self.
608//
609// The icon is displayed at the top of the main page.
610func (x *AboutWindow) SetApplicationIcon(ApplicationIconVar string) {
611
612 xAboutWindowSetApplicationIcon(x.GoPointer(), ApplicationIconVar)
613
614}
615
616var xAboutWindowSetApplicationName func(uintptr, string)
617
618// Sets the application name for @self.
619//
620// The name is displayed at the top of the main page.
621func (x *AboutWindow) SetApplicationName(ApplicationNameVar string) {
622
623 xAboutWindowSetApplicationName(x.GoPointer(), ApplicationNameVar)
624
625}
626
627var xAboutWindowSetArtists func(uintptr, []string)
628
629// Sets the list of artists of the application.
630//
631// It will be displayed on the Credits page.
632//
633// Each name may contain email addresses and URLs, see the introduction for more
634// details.
635//
636// See also:
637//
638// * [property@AboutWindow:developers]
639// * [property@AboutWindow:designers]
640// * [property@AboutWindow:documenters]
641// * [property@AboutWindow:translator-credits]
642// * [method@AboutWindow.add_credit_section]
643// * [method@AboutWindow.add_acknowledgement_section]
644func (x *AboutWindow) SetArtists(ArtistsVar []string) {
645
646 xAboutWindowSetArtists(x.GoPointer(), ArtistsVar)
647
648}
649
650var xAboutWindowSetComments func(uintptr, string)
651
652// Sets the comments about the application.
653//
654// Comments will be shown on the Details page, above links.
655//
656// Unlike [property@Gtk.AboutDialog:comments], this string can be long and
657// detailed. It can also contain links and Pango markup.
658func (x *AboutWindow) SetComments(CommentsVar string) {
659
660 xAboutWindowSetComments(x.GoPointer(), CommentsVar)
661
662}
663
664var xAboutWindowSetCopyright func(uintptr, string)
665
666// Sets the copyright information for @self.
667//
668// This should be a short string of one or two lines, for example:
669// `© 2022 Example`.
670//
671// The copyright information will be displayed on the Legal page, before the
672// application license.
673//
674// [method@AboutWindow.add_legal_section] can be used to add copyright
675// information for the application dependencies or other components.
676func (x *AboutWindow) SetCopyright(CopyrightVar string) {
677
678 xAboutWindowSetCopyright(x.GoPointer(), CopyrightVar)
679
680}
681
682var xAboutWindowSetDebugInfo func(uintptr, string)
683
684// Sets the debug information for @self.
685//
686// Debug information will be shown on the Troubleshooting page. It's intended
687// to be attached to issue reports when reporting issues against the
688// application.
689//
690// `AdwAboutWindow` provides a quick way to save debug information to a file.
691// When saving, [property@AboutWindow:debug-info-filename] would be used as
692// the suggested filename.
693//
694// Debug information cannot contain markup or links.
695func (x *AboutWindow) SetDebugInfo(DebugInfoVar string) {
696
697 xAboutWindowSetDebugInfo(x.GoPointer(), DebugInfoVar)
698
699}
700
701var xAboutWindowSetDebugInfoFilename func(uintptr, string)
702
703// Sets the debug information filename for @self.
704//
705// It will be used as the suggested filename when saving debug information to a
706// file.
707//
708// See [property@AboutWindow:debug-info].
709func (x *AboutWindow) SetDebugInfoFilename(FilenameVar string) {
710
711 xAboutWindowSetDebugInfoFilename(x.GoPointer(), FilenameVar)
712
713}
714
715var xAboutWindowSetDesigners func(uintptr, []string)
716
717// Sets the list of designers of the application.
718//
719// It will be displayed on the Credits page.
720//
721// Each name may contain email addresses and URLs, see the introduction for more
722// details.
723//
724// See also:
725//
726// * [property@AboutWindow:developers]
727// * [property@AboutWindow:artists]
728// * [property@AboutWindow:documenters]
729// * [property@AboutWindow:translator-credits]
730// * [method@AboutWindow.add_credit_section]
731// * [method@AboutWindow.add_acknowledgement_section]
732func (x *AboutWindow) SetDesigners(DesignersVar []string) {
733
734 xAboutWindowSetDesigners(x.GoPointer(), DesignersVar)
735
736}
737
738var xAboutWindowSetDeveloperName func(uintptr, string)
739
740// Sets the developer name for @self.
741//
742// The developer name is displayed on the main page, under the application name.
743//
744// If the application is developed by multiple people, the developer name can be
745// set to values like "AppName team", "AppName developers" or
746// "The AppName project", and the individual contributors can be listed on the
747// Credits page, with [property@AboutWindow:developers] and related properties.
748func (x *AboutWindow) SetDeveloperName(DeveloperNameVar string) {
749
750 xAboutWindowSetDeveloperName(x.GoPointer(), DeveloperNameVar)
751
752}
753
754var xAboutWindowSetDevelopers func(uintptr, []string)
755
756// Sets the list of developers of the application.
757//
758// It will be displayed on the Credits page.
759//
760// Each name may contain email addresses and URLs, see the introduction for more
761// details.
762//
763// See also:
764//
765// * [property@AboutWindow:designers]
766// * [property@AboutWindow:artists]
767// * [property@AboutWindow:documenters]
768// * [property@AboutWindow:translator-credits]
769// * [method@AboutWindow.add_credit_section]
770// * [method@AboutWindow.add_acknowledgement_section]
771func (x *AboutWindow) SetDevelopers(DevelopersVar []string) {
772
773 xAboutWindowSetDevelopers(x.GoPointer(), DevelopersVar)
774
775}
776
777var xAboutWindowSetDocumenters func(uintptr, []string)
778
779// Sets the list of documenters of the application.
780//
781// It will be displayed on the Credits page.
782//
783// Each name may contain email addresses and URLs, see the introduction for more
784// details.
785//
786// See also:
787//
788// * [property@AboutWindow:developers]
789// * [property@AboutWindow:designers]
790// * [property@AboutWindow:artists]
791// * [property@AboutWindow:translator-credits]
792// * [method@AboutWindow.add_credit_section]
793// * [method@AboutWindow.add_acknowledgement_section]
794func (x *AboutWindow) SetDocumenters(DocumentersVar []string) {
795
796 xAboutWindowSetDocumenters(x.GoPointer(), DocumentersVar)
797
798}
799
800var xAboutWindowSetIssueUrl func(uintptr, string)
801
802// Sets the issue tracker URL for @self.
803//
804// The issue tracker link is displayed on the main page.
805func (x *AboutWindow) SetIssueUrl(IssueUrlVar string) {
806
807 xAboutWindowSetIssueUrl(x.GoPointer(), IssueUrlVar)
808
809}
810
811var xAboutWindowSetLicense func(uintptr, string)
812
813// Sets the license for @self.
814//
815// This can be used to set a custom text for the license if it can't be set via
816// [property@AboutWindow:license-type].
817//
818// When set, [property@AboutWindow:license-type] will be set to
819// `GTK_LICENSE_CUSTOM`.
820//
821// The license text will be displayed on the Legal page, below the copyright
822// information.
823//
824// License text can contain Pango markup and links.
825//
826// [method@AboutWindow.add_legal_section] can be used to add license information
827// for the application dependencies or other components.
828func (x *AboutWindow) SetLicense(LicenseVar string) {
829
830 xAboutWindowSetLicense(x.GoPointer(), LicenseVar)
831
832}
833
834var xAboutWindowSetLicenseType func(uintptr, gtk.License)
835
836// Sets the license for @self from a list of known licenses.
837//
838// If the application's license is not in the list,
839// [property@AboutWindow:license] can be used instead. The license type will be
840// automatically set to `GTK_LICENSE_CUSTOM` in that case.
841//
842// If @license_type is `GTK_LICENSE_UNKNOWN`, no information will be displayed.
843//
844// If @license_type is different from `GTK_LICENSE_CUSTOM`.
845// [property@AboutWindow:license] will be cleared out.
846//
847// The license description will be displayed on the Legal page, below the
848// copyright information.
849//
850// [method@AboutWindow.add_legal_section] can be used to add license information
851// for the application dependencies or other components.
852func (x *AboutWindow) SetLicenseType(LicenseTypeVar gtk.License) {
853
854 xAboutWindowSetLicenseType(x.GoPointer(), LicenseTypeVar)
855
856}
857
858var xAboutWindowSetReleaseNotes func(uintptr, string)
859
860// Sets the release notes for @self.
861//
862// Release notes are displayed on the the What's New page.
863//
864// Release notes are formatted the same way as
865// [AppStream descriptions](https://freedesktop.org/software/appstream/docs/chap-Metadata.html#tag-description).
866//
867// The supported formatting options are:
868//
869// * Paragraph (`<p>`)
870// * Ordered list (`<ol>`), with list items (`<li>`)
871// * Unordered list (`<ul>`), with list items (`<li>`)
872//
873// Within paragraphs and list items, emphasis (`<em>`) and inline code
874// (`<code>`) text styles are supported. The emphasis is rendered in italic,
875// while inline code is shown in a monospaced font.
876//
877// Any text outside paragraphs or list items is ignored.
878//
879// Nested lists are not supported.
880//
881// `AdwAboutWindow` displays the version above the release notes. If set, the
882// [property@AboutWindow:release-notes-version] of the property will be used
883// as the version; otherwise, [property@AboutWindow:version] is used.
884func (x *AboutWindow) SetReleaseNotes(ReleaseNotesVar string) {
885
886 xAboutWindowSetReleaseNotes(x.GoPointer(), ReleaseNotesVar)
887
888}
889
890var xAboutWindowSetReleaseNotesVersion func(uintptr, string)
891
892// Sets the version described by the application's release notes.
893//
894// The release notes version is displayed on the What's New page, above the
895// release notes.
896//
897// If not set, [property@AboutWindow:version] will be used instead.
898//
899// For example, an application with the current version 2.0.2 might want to
900// keep the release notes from 2.0.0, and set the release notes version
901// accordingly.
902//
903// See [property@AboutWindow:release-notes].
904func (x *AboutWindow) SetReleaseNotesVersion(VersionVar string) {
905
906 xAboutWindowSetReleaseNotesVersion(x.GoPointer(), VersionVar)
907
908}
909
910var xAboutWindowSetSupportUrl func(uintptr, string)
911
912// Sets the URL of the support page for @self.
913//
914// The support page link is displayed on the main page.
915func (x *AboutWindow) SetSupportUrl(SupportUrlVar string) {
916
917 xAboutWindowSetSupportUrl(x.GoPointer(), SupportUrlVar)
918
919}
920
921var xAboutWindowSetTranslatorCredits func(uintptr, string)
922
923// Sets the translator credits string.
924//
925// It will be displayed on the Credits page.
926//
927// This string should be `"translator-credits"` or `"translator_credits"` and
928// should be marked as translatable.
929//
930// The string may contain email addresses and URLs, see the introduction for
931// more details. When there is more than one translator, they must be
932// separated by a newline in the same string.
933//
934// See also:
935//
936// * [property@AboutWindow:developers]
937// * [property@AboutWindow:designers]
938// * [property@AboutWindow:artists]
939// * [property@AboutWindow:documenters]
940// * [method@AboutWindow.add_credit_section]
941// * [method@AboutWindow.add_acknowledgement_section]
942func (x *AboutWindow) SetTranslatorCredits(TranslatorCreditsVar string) {
943
944 xAboutWindowSetTranslatorCredits(x.GoPointer(), TranslatorCreditsVar)
945
946}
947
948var xAboutWindowSetVersion func(uintptr, string)
949
950// Sets the version for @self.
951//
952// The version is displayed on the main page.
953//
954// If [property@AboutWindow:release-notes-version] is not set, the version will
955// also be displayed above the release notes on the What's New page.
956func (x *AboutWindow) SetVersion(VersionVar string) {
957
958 xAboutWindowSetVersion(x.GoPointer(), VersionVar)
959
960}
961
962var xAboutWindowSetWebsite func(uintptr, string)
963
964// Sets the application website URL for @self.
965//
966// Website is displayed on the Details page, below comments, or on the main page
967// if the Details page doesn't have any other content.
968//
969// Applications can add other links below, see [method@AboutWindow.add_link].
970func (x *AboutWindow) SetWebsite(WebsiteVar string) {
971
972 xAboutWindowSetWebsite(x.GoPointer(), WebsiteVar)
973
974}
975
976func (c *AboutWindow) GoPointer() uintptr {
977 if c == nil {
978 return 0
979 }
980 return c.Ptr
981}
982
983func (c *AboutWindow) SetGoPointer(ptr uintptr) {
984 c.Ptr = ptr
985}
986
987// SetPropertyApplicationIcon sets the "application-icon" property.
988// The name of the application icon.
989//
990// The icon is displayed at the top of the main page.
991func (x *AboutWindow) SetPropertyApplicationIcon(value string) {
992 var v gobject.Value
993 v.Init(gobject.TypeStringVal)
994 v.SetString(&value)
995 x.SetProperty("application-icon", &v)
996}
997
998// GetPropertyApplicationIcon gets the "application-icon" property.
999// The name of the application icon.
1000//
1001// The icon is displayed at the top of the main page.
1002func (x *AboutWindow) GetPropertyApplicationIcon() string {
1003 var v gobject.Value
1004 x.GetProperty("application-icon", &v)
1005 return v.GetString()
1006}
1007
1008// SetPropertyApplicationName sets the "application-name" property.
1009// The name of the application.
1010//
1011// The name is displayed at the top of the main page.
1012func (x *AboutWindow) SetPropertyApplicationName(value string) {
1013 var v gobject.Value
1014 v.Init(gobject.TypeStringVal)
1015 v.SetString(&value)
1016 x.SetProperty("application-name", &v)
1017}
1018
1019// GetPropertyApplicationName gets the "application-name" property.
1020// The name of the application.
1021//
1022// The name is displayed at the top of the main page.
1023func (x *AboutWindow) GetPropertyApplicationName() string {
1024 var v gobject.Value
1025 x.GetProperty("application-name", &v)
1026 return v.GetString()
1027}
1028
1029// SetPropertyArtists sets the "artists" property.
1030// The list of artists of the application.
1031//
1032// It will be displayed on the Credits page.
1033//
1034// Each name may contain email addresses and URLs, see the introduction for
1035// more details.
1036//
1037// See also:
1038//
1039// * [property@AboutWindow:developers]
1040// * [property@AboutWindow:designers]
1041// * [property@AboutWindow:documenters]
1042// * [property@AboutWindow:translator-credits]
1043// * [method@AboutWindow.add_credit_section]
1044// * [method@AboutWindow.add_acknowledgement_section]
1045func (x *AboutWindow) SetPropertyArtists(value []string) {
1046 var v gobject.Value
1047 v.Init(glib.StrvGetType())
1048 v.SetBoxed(uintptr(unsafe.Pointer(core.ByteSlice(value))))
1049 x.SetProperty("artists", &v)
1050}
1051
1052// GetPropertyArtists gets the "artists" property.
1053// The list of artists of the application.
1054//
1055// It will be displayed on the Credits page.
1056//
1057// Each name may contain email addresses and URLs, see the introduction for
1058// more details.
1059//
1060// See also:
1061//
1062// * [property@AboutWindow:developers]
1063// * [property@AboutWindow:designers]
1064// * [property@AboutWindow:documenters]
1065// * [property@AboutWindow:translator-credits]
1066// * [method@AboutWindow.add_credit_section]
1067// * [method@AboutWindow.add_acknowledgement_section]
1068func (x *AboutWindow) GetPropertyArtists() []string {
1069 var v gobject.Value
1070 x.GetProperty("artists", &v)
1071 return core.GoStringSlice(v.GetBoxed())
1072}
1073
1074// SetPropertyComments sets the "comments" property.
1075// The comments about the application.
1076//
1077// Comments will be shown on the Details page, above links.
1078//
1079// Unlike [property@Gtk.AboutDialog:comments], this string can be long and
1080// detailed. It can also contain links and Pango markup.
1081func (x *AboutWindow) SetPropertyComments(value string) {
1082 var v gobject.Value
1083 v.Init(gobject.TypeStringVal)
1084 v.SetString(&value)
1085 x.SetProperty("comments", &v)
1086}
1087
1088// GetPropertyComments gets the "comments" property.
1089// The comments about the application.
1090//
1091// Comments will be shown on the Details page, above links.
1092//
1093// Unlike [property@Gtk.AboutDialog:comments], this string can be long and
1094// detailed. It can also contain links and Pango markup.
1095func (x *AboutWindow) GetPropertyComments() string {
1096 var v gobject.Value
1097 x.GetProperty("comments", &v)
1098 return v.GetString()
1099}
1100
1101// SetPropertyCopyright sets the "copyright" property.
1102// The copyright information.
1103//
1104// This should be a short string of one or two lines, for example:
1105// `© 2022 Example`.
1106//
1107// The copyright information will be displayed on the Legal page, above the
1108// application license.
1109//
1110// [method@AboutWindow.add_legal_section] can be used to add copyright
1111// information for the application dependencies or other components.
1112func (x *AboutWindow) SetPropertyCopyright(value string) {
1113 var v gobject.Value
1114 v.Init(gobject.TypeStringVal)
1115 v.SetString(&value)
1116 x.SetProperty("copyright", &v)
1117}
1118
1119// GetPropertyCopyright gets the "copyright" property.
1120// The copyright information.
1121//
1122// This should be a short string of one or two lines, for example:
1123// `© 2022 Example`.
1124//
1125// The copyright information will be displayed on the Legal page, above the
1126// application license.
1127//
1128// [method@AboutWindow.add_legal_section] can be used to add copyright
1129// information for the application dependencies or other components.
1130func (x *AboutWindow) GetPropertyCopyright() string {
1131 var v gobject.Value
1132 x.GetProperty("copyright", &v)
1133 return v.GetString()
1134}
1135
1136// SetPropertyDebugInfo sets the "debug-info" property.
1137// The debug information.
1138//
1139// Debug information will be shown on the Troubleshooting page. It's intended
1140// to be attached to issue reports when reporting issues against the
1141// application.
1142//
1143// `AdwAboutWindow` provides a quick way to save debug information to a file.
1144// When saving, [property@AboutWindow:debug-info-filename] would be used as
1145// the suggested filename.
1146//
1147// Debug information cannot contain markup or links.
1148func (x *AboutWindow) SetPropertyDebugInfo(value string) {
1149 var v gobject.Value
1150 v.Init(gobject.TypeStringVal)
1151 v.SetString(&value)
1152 x.SetProperty("debug-info", &v)
1153}
1154
1155// GetPropertyDebugInfo gets the "debug-info" property.
1156// The debug information.
1157//
1158// Debug information will be shown on the Troubleshooting page. It's intended
1159// to be attached to issue reports when reporting issues against the
1160// application.
1161//
1162// `AdwAboutWindow` provides a quick way to save debug information to a file.
1163// When saving, [property@AboutWindow:debug-info-filename] would be used as
1164// the suggested filename.
1165//
1166// Debug information cannot contain markup or links.
1167func (x *AboutWindow) GetPropertyDebugInfo() string {
1168 var v gobject.Value
1169 x.GetProperty("debug-info", &v)
1170 return v.GetString()
1171}
1172
1173// SetPropertyDebugInfoFilename sets the "debug-info-filename" property.
1174// The debug information filename.
1175//
1176// It will be used as the suggested filename when saving debug information to
1177// a file.
1178//
1179// See [property@AboutWindow:debug-info].
1180func (x *AboutWindow) SetPropertyDebugInfoFilename(value string) {
1181 var v gobject.Value
1182 v.Init(gobject.TypeStringVal)
1183 v.SetString(&value)
1184 x.SetProperty("debug-info-filename", &v)
1185}
1186
1187// GetPropertyDebugInfoFilename gets the "debug-info-filename" property.
1188// The debug information filename.
1189//
1190// It will be used as the suggested filename when saving debug information to
1191// a file.
1192//
1193// See [property@AboutWindow:debug-info].
1194func (x *AboutWindow) GetPropertyDebugInfoFilename() string {
1195 var v gobject.Value
1196 x.GetProperty("debug-info-filename", &v)
1197 return v.GetString()
1198}
1199
1200// SetPropertyDesigners sets the "designers" property.
1201// The list of designers of the application.
1202//
1203// It will be displayed on the Credits page.
1204//
1205// Each name may contain email addresses and URLs, see the introduction for
1206// more details.
1207//
1208// See also:
1209//
1210// * [property@AboutWindow:developers]
1211// * [property@AboutWindow:artists]
1212// * [property@AboutWindow:documenters]
1213// * [property@AboutWindow:translator-credits]
1214// * [method@AboutWindow.add_credit_section]
1215// * [method@AboutWindow.add_acknowledgement_section]
1216func (x *AboutWindow) SetPropertyDesigners(value []string) {
1217 var v gobject.Value
1218 v.Init(glib.StrvGetType())
1219 v.SetBoxed(uintptr(unsafe.Pointer(core.ByteSlice(value))))
1220 x.SetProperty("designers", &v)
1221}
1222
1223// GetPropertyDesigners gets the "designers" property.
1224// The list of designers of the application.
1225//
1226// It will be displayed on the Credits page.
1227//
1228// Each name may contain email addresses and URLs, see the introduction for
1229// more details.
1230//
1231// See also:
1232//
1233// * [property@AboutWindow:developers]
1234// * [property@AboutWindow:artists]
1235// * [property@AboutWindow:documenters]
1236// * [property@AboutWindow:translator-credits]
1237// * [method@AboutWindow.add_credit_section]
1238// * [method@AboutWindow.add_acknowledgement_section]
1239func (x *AboutWindow) GetPropertyDesigners() []string {
1240 var v gobject.Value
1241 x.GetProperty("designers", &v)
1242 return core.GoStringSlice(v.GetBoxed())
1243}
1244
1245// SetPropertyDeveloperName sets the "developer-name" property.
1246// The developer name.
1247//
1248// The developer name is displayed on the main page, under the application
1249// name.
1250//
1251// If the application is developed by multiple people, the developer name can
1252// be set to values like "AppName team", "AppName developers" or
1253// "The AppName project", and the individual contributors can be listed on the
1254// Credits page, with [property@AboutWindow:developers] and related
1255// properties.
1256func (x *AboutWindow) SetPropertyDeveloperName(value string) {
1257 var v gobject.Value
1258 v.Init(gobject.TypeStringVal)
1259 v.SetString(&value)
1260 x.SetProperty("developer-name", &v)
1261}
1262
1263// GetPropertyDeveloperName gets the "developer-name" property.
1264// The developer name.
1265//
1266// The developer name is displayed on the main page, under the application
1267// name.
1268//
1269// If the application is developed by multiple people, the developer name can
1270// be set to values like "AppName team", "AppName developers" or
1271// "The AppName project", and the individual contributors can be listed on the
1272// Credits page, with [property@AboutWindow:developers] and related
1273// properties.
1274func (x *AboutWindow) GetPropertyDeveloperName() string {
1275 var v gobject.Value
1276 x.GetProperty("developer-name", &v)
1277 return v.GetString()
1278}
1279
1280// SetPropertyDevelopers sets the "developers" property.
1281// The list of developers of the application.
1282//
1283// It will be displayed on the Credits page.
1284//
1285// Each name may contain email addresses and URLs, see the introduction for
1286// more details.
1287//
1288// See also:
1289//
1290// * [property@AboutWindow:designers]
1291// * [property@AboutWindow:artists]
1292// * [property@AboutWindow:documenters]
1293// * [property@AboutWindow:translator-credits]
1294// * [method@AboutWindow.add_credit_section]
1295// * [method@AboutWindow.add_acknowledgement_section]
1296func (x *AboutWindow) SetPropertyDevelopers(value []string) {
1297 var v gobject.Value
1298 v.Init(glib.StrvGetType())
1299 v.SetBoxed(uintptr(unsafe.Pointer(core.ByteSlice(value))))
1300 x.SetProperty("developers", &v)
1301}
1302
1303// GetPropertyDevelopers gets the "developers" property.
1304// The list of developers of the application.
1305//
1306// It will be displayed on the Credits page.
1307//
1308// Each name may contain email addresses and URLs, see the introduction for
1309// more details.
1310//
1311// See also:
1312//
1313// * [property@AboutWindow:designers]
1314// * [property@AboutWindow:artists]
1315// * [property@AboutWindow:documenters]
1316// * [property@AboutWindow:translator-credits]
1317// * [method@AboutWindow.add_credit_section]
1318// * [method@AboutWindow.add_acknowledgement_section]
1319func (x *AboutWindow) GetPropertyDevelopers() []string {
1320 var v gobject.Value
1321 x.GetProperty("developers", &v)
1322 return core.GoStringSlice(v.GetBoxed())
1323}
1324
1325// SetPropertyDocumenters sets the "documenters" property.
1326// The list of documenters of the application.
1327//
1328// It will be displayed on the Credits page.
1329//
1330// Each name may contain email addresses and URLs, see the introduction for
1331// more details.
1332//
1333// See also:
1334//
1335// * [property@AboutWindow:developers]
1336// * [property@AboutWindow:designers]
1337// * [property@AboutWindow:artists]
1338// * [property@AboutWindow:translator-credits]
1339// * [method@AboutWindow.add_credit_section]
1340// * [method@AboutWindow.add_acknowledgement_section]
1341func (x *AboutWindow) SetPropertyDocumenters(value []string) {
1342 var v gobject.Value
1343 v.Init(glib.StrvGetType())
1344 v.SetBoxed(uintptr(unsafe.Pointer(core.ByteSlice(value))))
1345 x.SetProperty("documenters", &v)
1346}
1347
1348// GetPropertyDocumenters gets the "documenters" property.
1349// The list of documenters of the application.
1350//
1351// It will be displayed on the Credits page.
1352//
1353// Each name may contain email addresses and URLs, see the introduction for
1354// more details.
1355//
1356// See also:
1357//
1358// * [property@AboutWindow:developers]
1359// * [property@AboutWindow:designers]
1360// * [property@AboutWindow:artists]
1361// * [property@AboutWindow:translator-credits]
1362// * [method@AboutWindow.add_credit_section]
1363// * [method@AboutWindow.add_acknowledgement_section]
1364func (x *AboutWindow) GetPropertyDocumenters() []string {
1365 var v gobject.Value
1366 x.GetProperty("documenters", &v)
1367 return core.GoStringSlice(v.GetBoxed())
1368}
1369
1370// SetPropertyIssueUrl sets the "issue-url" property.
1371// The URL for the application's issue tracker.
1372//
1373// The issue tracker link is displayed on the main page.
1374func (x *AboutWindow) SetPropertyIssueUrl(value string) {
1375 var v gobject.Value
1376 v.Init(gobject.TypeStringVal)
1377 v.SetString(&value)
1378 x.SetProperty("issue-url", &v)
1379}
1380
1381// GetPropertyIssueUrl gets the "issue-url" property.
1382// The URL for the application's issue tracker.
1383//
1384// The issue tracker link is displayed on the main page.
1385func (x *AboutWindow) GetPropertyIssueUrl() string {
1386 var v gobject.Value
1387 x.GetProperty("issue-url", &v)
1388 return v.GetString()
1389}
1390
1391// SetPropertyLicense sets the "license" property.
1392// The license text.
1393//
1394// This can be used to set a custom text for the license if it can't be set
1395// via [property@AboutWindow:license-type].
1396//
1397// When set, [property@AboutWindow:license-type] will be set to
1398// `GTK_LICENSE_CUSTOM`.
1399//
1400// The license text will be displayed on the Legal page, below the copyright
1401// information.
1402//
1403// License text can contain Pango markup and links.
1404//
1405// [method@AboutWindow.add_legal_section] can be used to add license
1406// information for the application dependencies or other components.
1407func (x *AboutWindow) SetPropertyLicense(value string) {
1408 var v gobject.Value
1409 v.Init(gobject.TypeStringVal)
1410 v.SetString(&value)
1411 x.SetProperty("license", &v)
1412}
1413
1414// GetPropertyLicense gets the "license" property.
1415// The license text.
1416//
1417// This can be used to set a custom text for the license if it can't be set
1418// via [property@AboutWindow:license-type].
1419//
1420// When set, [property@AboutWindow:license-type] will be set to
1421// `GTK_LICENSE_CUSTOM`.
1422//
1423// The license text will be displayed on the Legal page, below the copyright
1424// information.
1425//
1426// License text can contain Pango markup and links.
1427//
1428// [method@AboutWindow.add_legal_section] can be used to add license
1429// information for the application dependencies or other components.
1430func (x *AboutWindow) GetPropertyLicense() string {
1431 var v gobject.Value
1432 x.GetProperty("license", &v)
1433 return v.GetString()
1434}
1435
1436// SetPropertyReleaseNotes sets the "release-notes" property.
1437// The release notes of the application.
1438//
1439// Release notes are displayed on the the What's New page.
1440//
1441// Release notes are formatted the same way as
1442// [AppStream descriptions](https://freedesktop.org/software/appstream/docs/chap-Metadata.html#tag-description).
1443//
1444// The supported formatting options are:
1445//
1446// * Paragraph (`<p>`)
1447// * Ordered list (`<ol>`), with list items (`<li>`)
1448// * Unordered list (`<ul>`), with list items (`<li>`)
1449//
1450// Within paragraphs and list items, emphasis (`<em>`) and inline code
1451// (`<code>`) text styles are supported. The emphasis is rendered in italic,
1452// while inline code is shown in a monospaced font.
1453//
1454// Any text outside paragraphs or list items is ignored.
1455//
1456// Nested lists are not supported.
1457//
1458// `AdwAboutWindow` displays the version above the release notes. If set, the
1459// [property@AboutWindow:release-notes-version] of the property will be used
1460// as the version; otherwise, [property@AboutWindow:version] is used.
1461func (x *AboutWindow) SetPropertyReleaseNotes(value string) {
1462 var v gobject.Value
1463 v.Init(gobject.TypeStringVal)
1464 v.SetString(&value)
1465 x.SetProperty("release-notes", &v)
1466}
1467
1468// GetPropertyReleaseNotes gets the "release-notes" property.
1469// The release notes of the application.
1470//
1471// Release notes are displayed on the the What's New page.
1472//
1473// Release notes are formatted the same way as
1474// [AppStream descriptions](https://freedesktop.org/software/appstream/docs/chap-Metadata.html#tag-description).
1475//
1476// The supported formatting options are:
1477//
1478// * Paragraph (`<p>`)
1479// * Ordered list (`<ol>`), with list items (`<li>`)
1480// * Unordered list (`<ul>`), with list items (`<li>`)
1481//
1482// Within paragraphs and list items, emphasis (`<em>`) and inline code
1483// (`<code>`) text styles are supported. The emphasis is rendered in italic,
1484// while inline code is shown in a monospaced font.
1485//
1486// Any text outside paragraphs or list items is ignored.
1487//
1488// Nested lists are not supported.
1489//
1490// `AdwAboutWindow` displays the version above the release notes. If set, the
1491// [property@AboutWindow:release-notes-version] of the property will be used
1492// as the version; otherwise, [property@AboutWindow:version] is used.
1493func (x *AboutWindow) GetPropertyReleaseNotes() string {
1494 var v gobject.Value
1495 x.GetProperty("release-notes", &v)
1496 return v.GetString()
1497}
1498
1499// SetPropertyReleaseNotesVersion sets the "release-notes-version" property.
1500// The version described by the application's release notes.
1501//
1502// The release notes version is displayed on the What's New page, above the
1503// release notes.
1504//
1505// If not set, [property@AboutWindow:version] will be used instead.
1506//
1507// For example, an application with the current version 2.0.2 might want to
1508// keep the release notes from 2.0.0, and set the release notes version
1509// accordingly.
1510//
1511// See [property@AboutWindow:release-notes].
1512func (x *AboutWindow) SetPropertyReleaseNotesVersion(value string) {
1513 var v gobject.Value
1514 v.Init(gobject.TypeStringVal)
1515 v.SetString(&value)
1516 x.SetProperty("release-notes-version", &v)
1517}
1518
1519// GetPropertyReleaseNotesVersion gets the "release-notes-version" property.
1520// The version described by the application's release notes.
1521//
1522// The release notes version is displayed on the What's New page, above the
1523// release notes.
1524//
1525// If not set, [property@AboutWindow:version] will be used instead.
1526//
1527// For example, an application with the current version 2.0.2 might want to
1528// keep the release notes from 2.0.0, and set the release notes version
1529// accordingly.
1530//
1531// See [property@AboutWindow:release-notes].
1532func (x *AboutWindow) GetPropertyReleaseNotesVersion() string {
1533 var v gobject.Value
1534 x.GetProperty("release-notes-version", &v)
1535 return v.GetString()
1536}
1537
1538// SetPropertySupportUrl sets the "support-url" property.
1539// The URL of the application's support page.
1540//
1541// The support page link is displayed on the main page.
1542func (x *AboutWindow) SetPropertySupportUrl(value string) {
1543 var v gobject.Value
1544 v.Init(gobject.TypeStringVal)
1545 v.SetString(&value)
1546 x.SetProperty("support-url", &v)
1547}
1548
1549// GetPropertySupportUrl gets the "support-url" property.
1550// The URL of the application's support page.
1551//
1552// The support page link is displayed on the main page.
1553func (x *AboutWindow) GetPropertySupportUrl() string {
1554 var v gobject.Value
1555 x.GetProperty("support-url", &v)
1556 return v.GetString()
1557}
1558
1559// SetPropertyTranslatorCredits sets the "translator-credits" property.
1560// The translator credits string.
1561//
1562// It will be displayed on the Credits page.
1563//
1564// This string should be `"translator-credits"` or `"translator_credits"` and
1565// should be marked as translatable.
1566//
1567// The string may contain email addresses and URLs, see the introduction for
1568// more details.
1569//
1570// See also:
1571//
1572// * [property@AboutWindow:developers]
1573// * [property@AboutWindow:designers]
1574// * [property@AboutWindow:artists]
1575// * [property@AboutWindow:documenters]
1576// * [method@AboutWindow.add_credit_section]
1577// * [method@AboutWindow.add_acknowledgement_section]
1578func (x *AboutWindow) SetPropertyTranslatorCredits(value string) {
1579 var v gobject.Value
1580 v.Init(gobject.TypeStringVal)
1581 v.SetString(&value)
1582 x.SetProperty("translator-credits", &v)
1583}
1584
1585// GetPropertyTranslatorCredits gets the "translator-credits" property.
1586// The translator credits string.
1587//
1588// It will be displayed on the Credits page.
1589//
1590// This string should be `"translator-credits"` or `"translator_credits"` and
1591// should be marked as translatable.
1592//
1593// The string may contain email addresses and URLs, see the introduction for
1594// more details.
1595//
1596// See also:
1597//
1598// * [property@AboutWindow:developers]
1599// * [property@AboutWindow:designers]
1600// * [property@AboutWindow:artists]
1601// * [property@AboutWindow:documenters]
1602// * [method@AboutWindow.add_credit_section]
1603// * [method@AboutWindow.add_acknowledgement_section]
1604func (x *AboutWindow) GetPropertyTranslatorCredits() string {
1605 var v gobject.Value
1606 x.GetProperty("translator-credits", &v)
1607 return v.GetString()
1608}
1609
1610// SetPropertyVersion sets the "version" property.
1611// The version of the application.
1612//
1613// The version is displayed on the main page.
1614//
1615// If [property@AboutWindow:release-notes-version] is not set, the version
1616// will also be displayed above the release notes on the What's New page.
1617func (x *AboutWindow) SetPropertyVersion(value string) {
1618 var v gobject.Value
1619 v.Init(gobject.TypeStringVal)
1620 v.SetString(&value)
1621 x.SetProperty("version", &v)
1622}
1623
1624// GetPropertyVersion gets the "version" property.
1625// The version of the application.
1626//
1627// The version is displayed on the main page.
1628//
1629// If [property@AboutWindow:release-notes-version] is not set, the version
1630// will also be displayed above the release notes on the What's New page.
1631func (x *AboutWindow) GetPropertyVersion() string {
1632 var v gobject.Value
1633 x.GetProperty("version", &v)
1634 return v.GetString()
1635}
1636
1637// SetPropertyWebsite sets the "website" property.
1638// The URL of the application's website.
1639//
1640// Website is displayed on the Details page, below comments, or on the main
1641// page if the Details page doesn't have any other content.
1642//
1643// Applications can add other links below, see [method@AboutWindow.add_link].
1644func (x *AboutWindow) SetPropertyWebsite(value string) {
1645 var v gobject.Value
1646 v.Init(gobject.TypeStringVal)
1647 v.SetString(&value)
1648 x.SetProperty("website", &v)
1649}
1650
1651// GetPropertyWebsite gets the "website" property.
1652// The URL of the application's website.
1653//
1654// Website is displayed on the Details page, below comments, or on the main
1655// page if the Details page doesn't have any other content.
1656//
1657// Applications can add other links below, see [method@AboutWindow.add_link].
1658func (x *AboutWindow) GetPropertyWebsite() string {
1659 var v gobject.Value
1660 x.GetProperty("website", &v)
1661 return v.GetString()
1662}
1663
1664// Emitted when a URL is activated.
1665//
1666// Applications may connect to it to override the default behavior, which is
1667// to call [func@Gtk.show_uri].
1668func (x *AboutWindow) ConnectActivateLink(cb *func(AboutWindow, string) bool) uint {
1669 cbPtr := uintptr(unsafe.Pointer(cb))
1670 if cbRefPtr, ok := glib.GetCallback(cbPtr); ok {
1671 handlerID := gobject.SignalConnect(x.GoPointer(), "activate-link", cbRefPtr)
1672 glib.SaveHandlerMapping(handlerID, cbPtr)
1673 return handlerID
1674 }
1675
1676 fcb := func(clsPtr uintptr, UriVarp uintptr) bool {
1677 fa := AboutWindow{}
1678 fa.Ptr = clsPtr
1679 cbFn := *cb
1680
1681 return cbFn(fa, core.GoString(UriVarp))
1682
1683 }
1684 cbRefPtr := purego.NewCallback(fcb)
1685 glib.SaveCallbackWithClosure(cbPtr, cbRefPtr, cb)
1686 handlerID := gobject.SignalConnect(x.GoPointer(), "activate-link", cbRefPtr)
1687 glib.SaveHandlerMapping(handlerID, cbPtr)
1688 return handlerID
1689}
1690
1691// Requests the user's screen reader to announce the given message.
1692//
1693// This kind of notification is useful for messages that
1694// either have only a visual representation or that are not
1695// exposed visually at all, e.g. a notification about a
1696// successful operation.
1697//
1698// Also, by using this API, you can ensure that the message
1699// does not interrupts the user's current screen reader output.
1700func (x *AboutWindow) Announce(MessageVar string, PriorityVar gtk.AccessibleAnnouncementPriority) {
1701
1702 gtk.XGtkAccessibleAnnounce(x.GoPointer(), MessageVar, PriorityVar)
1703
1704}
1705
1706// Retrieves the accessible parent for an accessible object.
1707//
1708// This function returns `NULL` for top level widgets.
1709func (x *AboutWindow) GetAccessibleParent() *gtk.AccessibleBase {
1710 var cls *gtk.AccessibleBase
1711
1712 cret := gtk.XGtkAccessibleGetAccessibleParent(x.GoPointer())
1713
1714 if cret == 0 {
1715 return nil
1716 }
1717 cls = >k.AccessibleBase{}
1718 cls.Ptr = cret
1719 return cls
1720}
1721
1722// Retrieves the accessible role of an accessible object.
1723func (x *AboutWindow) GetAccessibleRole() gtk.AccessibleRole {
1724
1725 cret := gtk.XGtkAccessibleGetAccessibleRole(x.GoPointer())
1726 return cret
1727}
1728
1729// Retrieves the implementation for the given accessible object.
1730func (x *AboutWindow) GetAtContext() *gtk.ATContext {
1731 var cls *gtk.ATContext
1732
1733 cret := gtk.XGtkAccessibleGetAtContext(x.GoPointer())
1734
1735 if cret == 0 {
1736 return nil
1737 }
1738 cls = >k.ATContext{}
1739 cls.Ptr = cret
1740 return cls
1741}
1742
1743// Queries the coordinates and dimensions of this accessible
1744//
1745// This functionality can be overridden by `GtkAccessible`
1746// implementations, e.g. to get the bounds from an ignored
1747// child widget.
1748func (x *AboutWindow) GetBounds(XVar *int, YVar *int, WidthVar *int, HeightVar *int) bool {
1749
1750 cret := gtk.XGtkAccessibleGetBounds(x.GoPointer(), XVar, YVar, WidthVar, HeightVar)
1751 return cret
1752}
1753
1754// Retrieves the first accessible child of an accessible object.
1755func (x *AboutWindow) GetFirstAccessibleChild() *gtk.AccessibleBase {
1756 var cls *gtk.AccessibleBase
1757
1758 cret := gtk.XGtkAccessibleGetFirstAccessibleChild(x.GoPointer())
1759
1760 if cret == 0 {
1761 return nil
1762 }
1763 cls = >k.AccessibleBase{}
1764 cls.Ptr = cret
1765 return cls
1766}
1767
1768// Retrieves the next accessible sibling of an accessible object
1769func (x *AboutWindow) GetNextAccessibleSibling() *gtk.AccessibleBase {
1770 var cls *gtk.AccessibleBase
1771
1772 cret := gtk.XGtkAccessibleGetNextAccessibleSibling(x.GoPointer())
1773
1774 if cret == 0 {
1775 return nil
1776 }
1777 cls = >k.AccessibleBase{}
1778 cls.Ptr = cret
1779 return cls
1780}
1781
1782// Queries a platform state, such as focus.
1783//
1784// This functionality can be overridden by `GtkAccessible`
1785// implementations, e.g. to get platform state from an ignored
1786// child widget, as is the case for `GtkText` wrappers.
1787func (x *AboutWindow) GetPlatformState(StateVar gtk.AccessiblePlatformState) bool {
1788
1789 cret := gtk.XGtkAccessibleGetPlatformState(x.GoPointer(), StateVar)
1790 return cret
1791}
1792
1793// Resets the accessible property to its default value.
1794func (x *AboutWindow) ResetProperty(PropertyVar gtk.AccessibleProperty) {
1795
1796 gtk.XGtkAccessibleResetProperty(x.GoPointer(), PropertyVar)
1797
1798}
1799
1800// Resets the accessible relation to its default value.
1801func (x *AboutWindow) ResetRelation(RelationVar gtk.AccessibleRelation) {
1802
1803 gtk.XGtkAccessibleResetRelation(x.GoPointer(), RelationVar)
1804
1805}
1806
1807// Resets the accessible state to its default value.
1808func (x *AboutWindow) ResetState(StateVar gtk.AccessibleState) {
1809
1810 gtk.XGtkAccessibleResetState(x.GoPointer(), StateVar)
1811
1812}
1813
1814// Sets the parent and sibling of an accessible object.
1815//
1816// This function is meant to be used by accessible implementations that are
1817// not part of the widget hierarchy, and but act as a logical bridge between
1818// widgets. For instance, if a widget creates an object that holds metadata
1819// for each child, and you want that object to implement the `GtkAccessible`
1820// interface, you will use this function to ensure that the parent of each
1821// child widget is the metadata object, and the parent of each metadata
1822// object is the container widget.
1823func (x *AboutWindow) SetAccessibleParent(ParentVar gtk.Accessible, NextSiblingVar gtk.Accessible) {
1824
1825 gtk.XGtkAccessibleSetAccessibleParent(x.GoPointer(), ParentVar.GoPointer(), NextSiblingVar.GoPointer())
1826
1827}
1828
1829// Updates the next accessible sibling.
1830//
1831// That might be useful when a new child of a custom accessible
1832// is created, and it needs to be linked to a previous child.
1833func (x *AboutWindow) UpdateNextAccessibleSibling(NewSiblingVar gtk.Accessible) {
1834
1835 gtk.XGtkAccessibleUpdateNextAccessibleSibling(x.GoPointer(), NewSiblingVar.GoPointer())
1836
1837}
1838
1839// Informs ATs that the platform state has changed.
1840//
1841// This function should be used by `GtkAccessible` implementations that
1842// have a platform state but are not widgets. Widgets handle platform
1843// states automatically.
1844func (x *AboutWindow) UpdatePlatformState(StateVar gtk.AccessiblePlatformState) {
1845
1846 gtk.XGtkAccessibleUpdatePlatformState(x.GoPointer(), StateVar)
1847
1848}
1849
1850// Updates a list of accessible properties.
1851//
1852// See the [enum@Gtk.AccessibleProperty] documentation for the
1853// value types of accessible properties.
1854//
1855// This function should be called by `GtkWidget` types whenever
1856// an accessible property change must be communicated to assistive
1857// technologies.
1858//
1859// Example:
1860// ```c
1861// value = gtk_adjustment_get_value (adjustment);
1862// gtk_accessible_update_property (GTK_ACCESSIBLE (spin_button),
1863//
1864// GTK_ACCESSIBLE_PROPERTY_VALUE_NOW, value,
1865// -1);
1866//
1867// ```
1868func (x *AboutWindow) UpdateProperty(FirstPropertyVar gtk.AccessibleProperty, varArgs ...interface{}) {
1869
1870 gtk.XGtkAccessibleUpdateProperty(x.GoPointer(), FirstPropertyVar, varArgs...)
1871
1872}
1873
1874// Updates an array of accessible properties.
1875//
1876// This function should be called by `GtkWidget` types whenever an accessible
1877// property change must be communicated to assistive technologies.
1878//
1879// This function is meant to be used by language bindings.
1880func (x *AboutWindow) UpdatePropertyValue(NPropertiesVar int, PropertiesVar []gtk.AccessibleProperty, ValuesVar []gobject.Value) {
1881
1882 gtk.XGtkAccessibleUpdatePropertyValue(x.GoPointer(), NPropertiesVar, PropertiesVar, ValuesVar)
1883
1884}
1885
1886// Updates a list of accessible relations.
1887//
1888// This function should be called by `GtkWidget` types whenever an accessible
1889// relation change must be communicated to assistive technologies.
1890//
1891// If the [enum@Gtk.AccessibleRelation] requires a list of references,
1892// you should pass each reference individually, followed by `NULL`, e.g.
1893//
1894// ```c
1895// gtk_accessible_update_relation (accessible,
1896//
1897// GTK_ACCESSIBLE_RELATION_CONTROLS,
1898// ref1, NULL,
1899// GTK_ACCESSIBLE_RELATION_LABELLED_BY,
1900// ref1, ref2, ref3, NULL,
1901// -1);
1902//
1903// ```
1904func (x *AboutWindow) UpdateRelation(FirstRelationVar gtk.AccessibleRelation, varArgs ...interface{}) {
1905
1906 gtk.XGtkAccessibleUpdateRelation(x.GoPointer(), FirstRelationVar, varArgs...)
1907
1908}
1909
1910// Updates an array of accessible relations.
1911//
1912// This function should be called by `GtkWidget` types whenever an accessible
1913// relation change must be communicated to assistive technologies.
1914//
1915// This function is meant to be used by language bindings.
1916func (x *AboutWindow) UpdateRelationValue(NRelationsVar int, RelationsVar []gtk.AccessibleRelation, ValuesVar []gobject.Value) {
1917
1918 gtk.XGtkAccessibleUpdateRelationValue(x.GoPointer(), NRelationsVar, RelationsVar, ValuesVar)
1919
1920}
1921
1922// Updates a list of accessible states.
1923//
1924// See the [enum@Gtk.AccessibleState] documentation for the
1925// value types of accessible states.
1926//
1927// This function should be called by `GtkWidget` types whenever
1928// an accessible state change must be communicated to assistive
1929// technologies.
1930//
1931// Example:
1932//
1933// ```c
1934// value = GTK_ACCESSIBLE_TRISTATE_MIXED;
1935// gtk_accessible_update_state (GTK_ACCESSIBLE (check_button),
1936//
1937// GTK_ACCESSIBLE_STATE_CHECKED, value,
1938// -1);
1939//
1940// ```
1941func (x *AboutWindow) UpdateState(FirstStateVar gtk.AccessibleState, varArgs ...interface{}) {
1942
1943 gtk.XGtkAccessibleUpdateState(x.GoPointer(), FirstStateVar, varArgs...)
1944
1945}
1946
1947// Updates an array of accessible states.
1948//
1949// This function should be called by `GtkWidget` types whenever an accessible
1950// state change must be communicated to assistive technologies.
1951//
1952// This function is meant to be used by language bindings.
1953func (x *AboutWindow) UpdateStateValue(NStatesVar int, StatesVar []gtk.AccessibleState, ValuesVar []gobject.Value) {
1954
1955 gtk.XGtkAccessibleUpdateStateValue(x.GoPointer(), NStatesVar, StatesVar, ValuesVar)
1956
1957}
1958
1959// Gets the ID of the @buildable object.
1960//
1961// `GtkBuilder` sets the name based on the ID attribute
1962// of the `<object>` tag used to construct the @buildable.
1963func (x *AboutWindow) GetBuildableId() string {
1964
1965 cret := gtk.XGtkBuildableGetBuildableId(x.GoPointer())
1966 return cret
1967}
1968
1969// Returns the renderer that is used for this `GtkNative`.
1970func (x *AboutWindow) GetRenderer() *gsk.Renderer {
1971 var cls *gsk.Renderer
1972
1973 cret := gtk.XGtkNativeGetRenderer(x.GoPointer())
1974
1975 if cret == 0 {
1976 return nil
1977 }
1978 gobject.IncreaseRef(cret)
1979 cls = &gsk.Renderer{}
1980 cls.Ptr = cret
1981 return cls
1982}
1983
1984// Returns the surface of this `GtkNative`.
1985func (x *AboutWindow) GetSurface() *gdk.Surface {
1986 var cls *gdk.Surface
1987
1988 cret := gtk.XGtkNativeGetSurface(x.GoPointer())
1989
1990 if cret == 0 {
1991 return nil
1992 }
1993 gobject.IncreaseRef(cret)
1994 cls = &gdk.Surface{}
1995 cls.Ptr = cret
1996 return cls
1997}
1998
1999// Retrieves the surface transform of @self.
2000//
2001// This is the translation from @self's surface coordinates into
2002// @self's widget coordinates.
2003func (x *AboutWindow) GetSurfaceTransform(XVar *float64, YVar *float64) {
2004
2005 gtk.XGtkNativeGetSurfaceTransform(x.GoPointer(), XVar, YVar)
2006
2007}
2008
2009// Realizes a `GtkNative`.
2010//
2011// This should only be used by subclasses.
2012func (x *AboutWindow) Realize() {
2013
2014 gtk.XGtkNativeRealize(x.GoPointer())
2015
2016}
2017
2018// Unrealizes a `GtkNative`.
2019//
2020// This should only be used by subclasses.
2021func (x *AboutWindow) Unrealize() {
2022
2023 gtk.XGtkNativeUnrealize(x.GoPointer())
2024
2025}
2026
2027// Returns the display that this `GtkRoot` is on.
2028func (x *AboutWindow) GetDisplay() *gdk.Display {
2029 var cls *gdk.Display
2030
2031 cret := gtk.XGtkRootGetDisplay(x.GoPointer())
2032
2033 if cret == 0 {
2034 return nil
2035 }
2036 gobject.IncreaseRef(cret)
2037 cls = &gdk.Display{}
2038 cls.Ptr = cret
2039 return cls
2040}
2041
2042// Retrieves the current focused widget within the root.
2043//
2044// Note that this is the widget that would have the focus
2045// if the root is active; if the root is not focused then
2046// `gtk_widget_has_focus (widget)` will be %FALSE for the
2047// widget.
2048func (x *AboutWindow) GetFocus() *gtk.Widget {
2049 var cls *gtk.Widget
2050
2051 cret := gtk.XGtkRootGetFocus(x.GoPointer())
2052
2053 if cret == 0 {
2054 return nil
2055 }
2056 gobject.IncreaseRef(cret)
2057 cls = >k.Widget{}
2058 cls.Ptr = cret
2059 return cls
2060}
2061
2062// If @focus is not the current focus widget, and is focusable, sets
2063// it as the focus widget for the root.
2064//
2065// If @focus is %NULL, unsets the focus widget for the root.
2066//
2067// To set the focus to a particular widget in the root, it is usually
2068// more convenient to use [method@Gtk.Widget.grab_focus] instead of
2069// this function.
2070func (x *AboutWindow) SetFocus(FocusVar *gtk.Widget) {
2071
2072 gtk.XGtkRootSetFocus(x.GoPointer(), FocusVar.GoPointer())
2073
2074}
2075
2076func init() {
2077 core.SetPackageName("ADW", "libadwaita-1")
2078 core.SetSharedLibraries("ADW", []string{"libadwaita-1.so.0"})
2079 var libs []uintptr
2080 for _, libPath := range core.GetPaths("ADW") {
2081 lib, err := purego.Dlopen(libPath, purego.RTLD_NOW|purego.RTLD_GLOBAL)
2082 if err != nil {
2083 panic(err)
2084 }
2085 libs = append(libs, lib)
2086 }
2087
2088 core.PuregoSafeRegister(&xShowAboutWindow, libs, "adw_show_about_window")
2089 core.PuregoSafeRegister(&xShowAboutWindowFromAppdata, libs, "adw_show_about_window_from_appdata")
2090
2091 core.PuregoSafeRegister(&xAboutWindowGLibType, libs, "adw_about_window_get_type")
2092
2093 core.PuregoSafeRegister(&xNewAboutWindow, libs, "adw_about_window_new")
2094 core.PuregoSafeRegister(&xNewAboutWindowFromAppdata, libs, "adw_about_window_new_from_appdata")
2095
2096 core.PuregoSafeRegister(&xAboutWindowAddAcknowledgementSection, libs, "adw_about_window_add_acknowledgement_section")
2097 core.PuregoSafeRegister(&xAboutWindowAddCreditSection, libs, "adw_about_window_add_credit_section")
2098 core.PuregoSafeRegister(&xAboutWindowAddLegalSection, libs, "adw_about_window_add_legal_section")
2099 core.PuregoSafeRegister(&xAboutWindowAddLink, libs, "adw_about_window_add_link")
2100 core.PuregoSafeRegister(&xAboutWindowGetApplicationIcon, libs, "adw_about_window_get_application_icon")
2101 core.PuregoSafeRegister(&xAboutWindowGetApplicationName, libs, "adw_about_window_get_application_name")
2102 core.PuregoSafeRegister(&xAboutWindowGetArtists, libs, "adw_about_window_get_artists")
2103 core.PuregoSafeRegister(&xAboutWindowGetComments, libs, "adw_about_window_get_comments")
2104 core.PuregoSafeRegister(&xAboutWindowGetCopyright, libs, "adw_about_window_get_copyright")
2105 core.PuregoSafeRegister(&xAboutWindowGetDebugInfo, libs, "adw_about_window_get_debug_info")
2106 core.PuregoSafeRegister(&xAboutWindowGetDebugInfoFilename, libs, "adw_about_window_get_debug_info_filename")
2107 core.PuregoSafeRegister(&xAboutWindowGetDesigners, libs, "adw_about_window_get_designers")
2108 core.PuregoSafeRegister(&xAboutWindowGetDeveloperName, libs, "adw_about_window_get_developer_name")
2109 core.PuregoSafeRegister(&xAboutWindowGetDevelopers, libs, "adw_about_window_get_developers")
2110 core.PuregoSafeRegister(&xAboutWindowGetDocumenters, libs, "adw_about_window_get_documenters")
2111 core.PuregoSafeRegister(&xAboutWindowGetIssueUrl, libs, "adw_about_window_get_issue_url")
2112 core.PuregoSafeRegister(&xAboutWindowGetLicense, libs, "adw_about_window_get_license")
2113 core.PuregoSafeRegister(&xAboutWindowGetLicenseType, libs, "adw_about_window_get_license_type")
2114 core.PuregoSafeRegister(&xAboutWindowGetReleaseNotes, libs, "adw_about_window_get_release_notes")
2115 core.PuregoSafeRegister(&xAboutWindowGetReleaseNotesVersion, libs, "adw_about_window_get_release_notes_version")
2116 core.PuregoSafeRegister(&xAboutWindowGetSupportUrl, libs, "adw_about_window_get_support_url")
2117 core.PuregoSafeRegister(&xAboutWindowGetTranslatorCredits, libs, "adw_about_window_get_translator_credits")
2118 core.PuregoSafeRegister(&xAboutWindowGetVersion, libs, "adw_about_window_get_version")
2119 core.PuregoSafeRegister(&xAboutWindowGetWebsite, libs, "adw_about_window_get_website")
2120 core.PuregoSafeRegister(&xAboutWindowSetApplicationIcon, libs, "adw_about_window_set_application_icon")
2121 core.PuregoSafeRegister(&xAboutWindowSetApplicationName, libs, "adw_about_window_set_application_name")
2122 core.PuregoSafeRegister(&xAboutWindowSetArtists, libs, "adw_about_window_set_artists")
2123 core.PuregoSafeRegister(&xAboutWindowSetComments, libs, "adw_about_window_set_comments")
2124 core.PuregoSafeRegister(&xAboutWindowSetCopyright, libs, "adw_about_window_set_copyright")
2125 core.PuregoSafeRegister(&xAboutWindowSetDebugInfo, libs, "adw_about_window_set_debug_info")
2126 core.PuregoSafeRegister(&xAboutWindowSetDebugInfoFilename, libs, "adw_about_window_set_debug_info_filename")
2127 core.PuregoSafeRegister(&xAboutWindowSetDesigners, libs, "adw_about_window_set_designers")
2128 core.PuregoSafeRegister(&xAboutWindowSetDeveloperName, libs, "adw_about_window_set_developer_name")
2129 core.PuregoSafeRegister(&xAboutWindowSetDevelopers, libs, "adw_about_window_set_developers")
2130 core.PuregoSafeRegister(&xAboutWindowSetDocumenters, libs, "adw_about_window_set_documenters")
2131 core.PuregoSafeRegister(&xAboutWindowSetIssueUrl, libs, "adw_about_window_set_issue_url")
2132 core.PuregoSafeRegister(&xAboutWindowSetLicense, libs, "adw_about_window_set_license")
2133 core.PuregoSafeRegister(&xAboutWindowSetLicenseType, libs, "adw_about_window_set_license_type")
2134 core.PuregoSafeRegister(&xAboutWindowSetReleaseNotes, libs, "adw_about_window_set_release_notes")
2135 core.PuregoSafeRegister(&xAboutWindowSetReleaseNotesVersion, libs, "adw_about_window_set_release_notes_version")
2136 core.PuregoSafeRegister(&xAboutWindowSetSupportUrl, libs, "adw_about_window_set_support_url")
2137 core.PuregoSafeRegister(&xAboutWindowSetTranslatorCredits, libs, "adw_about_window_set_translator_credits")
2138 core.PuregoSafeRegister(&xAboutWindowSetVersion, libs, "adw_about_window_set_version")
2139 core.PuregoSafeRegister(&xAboutWindowSetWebsite, libs, "adw_about_window_set_website")
2140
2141}