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