detached 177aa3a

Types: Add const char**->[]string

commit
177aa3a25e8ee0435a907cdaa87598a5257af05c
author
jwijenbergh · · 2023-09-08 13:47 UTC
committer
jwijenbergh · · 2023-09-08 13:50 UTC
parent
91c587b
signature
GPG Unverified1A2298F6C34F96E5 The key is unknown
19 files · +56 -55
M internal/gir/types/types.go +1 -0
@@ -47,6 +47,7 @@ var convList = map[string]string{
4747 "gpointer": "uintptr",
4848 "GType": "[]interface{}",
4949 "const char*": "string",
50+ "const char**": "[]string",
5051 "char**": "[]string",
5152 // not exported
5253 "HarfBuzz.font_t": "uintptr",
@@ -47,6 +47,7 @@ var convList = map[string]string{
47 "gpointer": "uintptr",47 "gpointer": "uintptr",
48 "GType": "[]interface{}",48 "GType": "[]interface{}",
49 "const char*": "string",49 "const char*": "string",
50+ "const char**": "[]string",
50 "char**": "[]string",51 "char**": "[]string",
51 // not exported52 // not exported
52 "HarfBuzz.font_t": "uintptr",53 "HarfBuzz.font_t": "uintptr",
M v4/adw/adw-about-window.go +12 -12
@@ -221,7 +221,7 @@ func NewAboutWindow() *gtk.Widget {
221221 return cls
222222 }
223223
224-var xAboutWindowAddAcknowledgementSection func(uintptr, string, uintptr)
224+var xAboutWindowAddAcknowledgementSection func(uintptr, string, []string)
225225
226226 // Adds a section to the Acknowledgements page.
227227 //
@@ -240,13 +240,13 @@ var xAboutWindowAddAcknowledgementSection func(uintptr, string, uintptr)
240240 // * [property@AboutWindow:documenters]
241241 // * [property@AboutWindow:translator-credits]
242242 // * [method@AboutWindow.add_credit_section]
243-func (x *AboutWindow) AddAcknowledgementSection(NameVar string, PeopleVar uintptr) {
243+func (x *AboutWindow) AddAcknowledgementSection(NameVar string, PeopleVar []string) {
244244
245245 xAboutWindowAddAcknowledgementSection(x.GoPointer(), NameVar, PeopleVar)
246246
247247 }
248248
249-var xAboutWindowAddCreditSection func(uintptr, string, uintptr)
249+var xAboutWindowAddCreditSection func(uintptr, string, []string)
250250
251251 // Adds an extra section to the Credits page.
252252 //
@@ -263,7 +263,7 @@ var xAboutWindowAddCreditSection func(uintptr, string, uintptr)
263263 // * [property@AboutWindow:documenters]
264264 // * [property@AboutWindow:translator-credits]
265265 // * [method@AboutWindow.add_acknowledgement_section]
266-func (x *AboutWindow) AddCreditSection(NameVar string, PeopleVar uintptr) {
266+func (x *AboutWindow) AddCreditSection(NameVar string, PeopleVar []string) {
267267
268268 xAboutWindowAddCreditSection(x.GoPointer(), NameVar, PeopleVar)
269269
@@ -539,7 +539,7 @@ func (x *AboutWindow) SetApplicationName(ApplicationNameVar string) {
539539
540540 }
541541
542-var xAboutWindowSetArtists func(uintptr, uintptr)
542+var xAboutWindowSetArtists func(uintptr, []string)
543543
544544 // Sets the list of artists of the application.
545545 //
@@ -556,7 +556,7 @@ var xAboutWindowSetArtists func(uintptr, uintptr)
556556 // * [property@AboutWindow:translator-credits]
557557 // * [method@AboutWindow.add_credit_section]
558558 // * [method@AboutWindow.add_acknowledgement_section]
559-func (x *AboutWindow) SetArtists(ArtistsVar uintptr) {
559+func (x *AboutWindow) SetArtists(ArtistsVar []string) {
560560
561561 xAboutWindowSetArtists(x.GoPointer(), ArtistsVar)
562562
@@ -627,7 +627,7 @@ func (x *AboutWindow) SetDebugInfoFilename(FilenameVar string) {
627627
628628 }
629629
630-var xAboutWindowSetDesigners func(uintptr, uintptr)
630+var xAboutWindowSetDesigners func(uintptr, []string)
631631
632632 // Sets the list of designers of the application.
633633 //
@@ -644,7 +644,7 @@ var xAboutWindowSetDesigners func(uintptr, uintptr)
644644 // * [property@AboutWindow:translator-credits]
645645 // * [method@AboutWindow.add_credit_section]
646646 // * [method@AboutWindow.add_acknowledgement_section]
647-func (x *AboutWindow) SetDesigners(DesignersVar uintptr) {
647+func (x *AboutWindow) SetDesigners(DesignersVar []string) {
648648
649649 xAboutWindowSetDesigners(x.GoPointer(), DesignersVar)
650650
@@ -666,7 +666,7 @@ func (x *AboutWindow) SetDeveloperName(DeveloperNameVar string) {
666666
667667 }
668668
669-var xAboutWindowSetDevelopers func(uintptr, uintptr)
669+var xAboutWindowSetDevelopers func(uintptr, []string)
670670
671671 // Sets the list of developers of the application.
672672 //
@@ -683,13 +683,13 @@ var xAboutWindowSetDevelopers func(uintptr, uintptr)
683683 // * [property@AboutWindow:translator-credits]
684684 // * [method@AboutWindow.add_credit_section]
685685 // * [method@AboutWindow.add_acknowledgement_section]
686-func (x *AboutWindow) SetDevelopers(DevelopersVar uintptr) {
686+func (x *AboutWindow) SetDevelopers(DevelopersVar []string) {
687687
688688 xAboutWindowSetDevelopers(x.GoPointer(), DevelopersVar)
689689
690690 }
691691
692-var xAboutWindowSetDocumenters func(uintptr, uintptr)
692+var xAboutWindowSetDocumenters func(uintptr, []string)
693693
694694 // Sets the list of documenters of the application.
695695 //
@@ -706,7 +706,7 @@ var xAboutWindowSetDocumenters func(uintptr, uintptr)
706706 // * [property@AboutWindow:translator-credits]
707707 // * [method@AboutWindow.add_credit_section]
708708 // * [method@AboutWindow.add_acknowledgement_section]
709-func (x *AboutWindow) SetDocumenters(DocumentersVar uintptr) {
709+func (x *AboutWindow) SetDocumenters(DocumentersVar []string) {
710710
711711 xAboutWindowSetDocumenters(x.GoPointer(), DocumentersVar)
712712
@@ -221,7 +221,7 @@ func NewAboutWindow() *gtk.Widget {
221 return cls221 return cls
222 }222 }
223 223
224-var xAboutWindowAddAcknowledgementSection func(uintptr, string, uintptr)224+var xAboutWindowAddAcknowledgementSection func(uintptr, string, []string)
225 225
226 // Adds a section to the Acknowledgements page.226 // Adds a section to the Acknowledgements page.
227 //227 //
@@ -240,13 +240,13 @@ var xAboutWindowAddAcknowledgementSection func(uintptr, string, uintptr)
240 // * [property@AboutWindow:documenters]240 // * [property@AboutWindow:documenters]
241 // * [property@AboutWindow:translator-credits]241 // * [property@AboutWindow:translator-credits]
242 // * [method@AboutWindow.add_credit_section]242 // * [method@AboutWindow.add_credit_section]
243-func (x *AboutWindow) AddAcknowledgementSection(NameVar string, PeopleVar uintptr) {243+func (x *AboutWindow) AddAcknowledgementSection(NameVar string, PeopleVar []string) {
244 244
245 xAboutWindowAddAcknowledgementSection(x.GoPointer(), NameVar, PeopleVar)245 xAboutWindowAddAcknowledgementSection(x.GoPointer(), NameVar, PeopleVar)
246 246
247 }247 }
248 248
249-var xAboutWindowAddCreditSection func(uintptr, string, uintptr)249+var xAboutWindowAddCreditSection func(uintptr, string, []string)
250 250
251 // Adds an extra section to the Credits page.251 // Adds an extra section to the Credits page.
252 //252 //
@@ -263,7 +263,7 @@ var xAboutWindowAddCreditSection func(uintptr, string, uintptr)
263 // * [property@AboutWindow:documenters]263 // * [property@AboutWindow:documenters]
264 // * [property@AboutWindow:translator-credits]264 // * [property@AboutWindow:translator-credits]
265 // * [method@AboutWindow.add_acknowledgement_section]265 // * [method@AboutWindow.add_acknowledgement_section]
266-func (x *AboutWindow) AddCreditSection(NameVar string, PeopleVar uintptr) {266+func (x *AboutWindow) AddCreditSection(NameVar string, PeopleVar []string) {
267 267
268 xAboutWindowAddCreditSection(x.GoPointer(), NameVar, PeopleVar)268 xAboutWindowAddCreditSection(x.GoPointer(), NameVar, PeopleVar)
269 269
@@ -539,7 +539,7 @@ func (x *AboutWindow) SetApplicationName(ApplicationNameVar string) {
539 539
540 }540 }
541 541
542-var xAboutWindowSetArtists func(uintptr, uintptr)542+var xAboutWindowSetArtists func(uintptr, []string)
543 543
544 // Sets the list of artists of the application.544 // Sets the list of artists of the application.
545 //545 //
@@ -556,7 +556,7 @@ var xAboutWindowSetArtists func(uintptr, uintptr)
556 // * [property@AboutWindow:translator-credits]556 // * [property@AboutWindow:translator-credits]
557 // * [method@AboutWindow.add_credit_section]557 // * [method@AboutWindow.add_credit_section]
558 // * [method@AboutWindow.add_acknowledgement_section]558 // * [method@AboutWindow.add_acknowledgement_section]
559-func (x *AboutWindow) SetArtists(ArtistsVar uintptr) {559+func (x *AboutWindow) SetArtists(ArtistsVar []string) {
560 560
561 xAboutWindowSetArtists(x.GoPointer(), ArtistsVar)561 xAboutWindowSetArtists(x.GoPointer(), ArtistsVar)
562 562
@@ -627,7 +627,7 @@ func (x *AboutWindow) SetDebugInfoFilename(FilenameVar string) {
627 627
628 }628 }
629 629
630-var xAboutWindowSetDesigners func(uintptr, uintptr)630+var xAboutWindowSetDesigners func(uintptr, []string)
631 631
632 // Sets the list of designers of the application.632 // Sets the list of designers of the application.
633 //633 //
@@ -644,7 +644,7 @@ var xAboutWindowSetDesigners func(uintptr, uintptr)
644 // * [property@AboutWindow:translator-credits]644 // * [property@AboutWindow:translator-credits]
645 // * [method@AboutWindow.add_credit_section]645 // * [method@AboutWindow.add_credit_section]
646 // * [method@AboutWindow.add_acknowledgement_section]646 // * [method@AboutWindow.add_acknowledgement_section]
647-func (x *AboutWindow) SetDesigners(DesignersVar uintptr) {647+func (x *AboutWindow) SetDesigners(DesignersVar []string) {
648 648
649 xAboutWindowSetDesigners(x.GoPointer(), DesignersVar)649 xAboutWindowSetDesigners(x.GoPointer(), DesignersVar)
650 650
@@ -666,7 +666,7 @@ func (x *AboutWindow) SetDeveloperName(DeveloperNameVar string) {
666 666
667 }667 }
668 668
669-var xAboutWindowSetDevelopers func(uintptr, uintptr)669+var xAboutWindowSetDevelopers func(uintptr, []string)
670 670
671 // Sets the list of developers of the application.671 // Sets the list of developers of the application.
672 //672 //
@@ -683,13 +683,13 @@ var xAboutWindowSetDevelopers func(uintptr, uintptr)
683 // * [property@AboutWindow:translator-credits]683 // * [property@AboutWindow:translator-credits]
684 // * [method@AboutWindow.add_credit_section]684 // * [method@AboutWindow.add_credit_section]
685 // * [method@AboutWindow.add_acknowledgement_section]685 // * [method@AboutWindow.add_acknowledgement_section]
686-func (x *AboutWindow) SetDevelopers(DevelopersVar uintptr) {686+func (x *AboutWindow) SetDevelopers(DevelopersVar []string) {
687 687
688 xAboutWindowSetDevelopers(x.GoPointer(), DevelopersVar)688 xAboutWindowSetDevelopers(x.GoPointer(), DevelopersVar)
689 689
690 }690 }
691 691
692-var xAboutWindowSetDocumenters func(uintptr, uintptr)692+var xAboutWindowSetDocumenters func(uintptr, []string)
693 693
694 // Sets the list of documenters of the application.694 // Sets the list of documenters of the application.
695 //695 //
@@ -706,7 +706,7 @@ var xAboutWindowSetDocumenters func(uintptr, uintptr)
706 // * [property@AboutWindow:translator-credits]706 // * [property@AboutWindow:translator-credits]
707 // * [method@AboutWindow.add_credit_section]707 // * [method@AboutWindow.add_credit_section]
708 // * [method@AboutWindow.add_acknowledgement_section]708 // * [method@AboutWindow.add_acknowledgement_section]
709-func (x *AboutWindow) SetDocumenters(DocumentersVar uintptr) {709+func (x *AboutWindow) SetDocumenters(DocumentersVar []string) {
710 710
711 xAboutWindowSetDocumenters(x.GoPointer(), DocumentersVar)711 xAboutWindowSetDocumenters(x.GoPointer(), DocumentersVar)
712 712
M v4/gdk/gdkclipboard.go +2 -2
@@ -97,7 +97,7 @@ func (x *Clipboard) IsLocal() bool {
9797 return cret
9898 }
9999
100-var xClipboardReadAsync func(uintptr, uintptr, int, uintptr, uintptr, uintptr)
100+var xClipboardReadAsync func(uintptr, []string, int, uintptr, uintptr, uintptr)
101101
102102 // Asynchronously requests an input stream to read the @clipboard's
103103 // contents from.
@@ -107,7 +107,7 @@ var xClipboardReadAsync func(uintptr, uintptr, int, uintptr, uintptr, uintptr)
107107 //
108108 // The clipboard will choose the most suitable mime type from the given list
109109 // to fulfill the request, preferring the ones listed first.
110-func (x *Clipboard) ReadAsync(MimeTypesVar uintptr, IoPriorityVar int, CancellableVar *gio.Cancellable, CallbackVar gio.AsyncReadyCallback, UserDataVar uintptr) {
110+func (x *Clipboard) ReadAsync(MimeTypesVar []string, IoPriorityVar int, CancellableVar *gio.Cancellable, CallbackVar gio.AsyncReadyCallback, UserDataVar uintptr) {
111111
112112 xClipboardReadAsync(x.GoPointer(), MimeTypesVar, IoPriorityVar, CancellableVar.GoPointer(), purego.NewCallback(CallbackVar), UserDataVar)
113113
@@ -97,7 +97,7 @@ func (x *Clipboard) IsLocal() bool {
97 return cret97 return cret
98 }98 }
99 99
100-var xClipboardReadAsync func(uintptr, uintptr, int, uintptr, uintptr, uintptr)100+var xClipboardReadAsync func(uintptr, []string, int, uintptr, uintptr, uintptr)
101 101
102 // Asynchronously requests an input stream to read the @clipboard's102 // Asynchronously requests an input stream to read the @clipboard's
103 // contents from.103 // contents from.
@@ -107,7 +107,7 @@ var xClipboardReadAsync func(uintptr, uintptr, int, uintptr, uintptr, uintptr)
107 //107 //
108 // The clipboard will choose the most suitable mime type from the given list108 // The clipboard will choose the most suitable mime type from the given list
109 // to fulfill the request, preferring the ones listed first.109 // to fulfill the request, preferring the ones listed first.
110-func (x *Clipboard) ReadAsync(MimeTypesVar uintptr, IoPriorityVar int, CancellableVar *gio.Cancellable, CallbackVar gio.AsyncReadyCallback, UserDataVar uintptr) {110+func (x *Clipboard) ReadAsync(MimeTypesVar []string, IoPriorityVar int, CancellableVar *gio.Cancellable, CallbackVar gio.AsyncReadyCallback, UserDataVar uintptr) {
111 111
112 xClipboardReadAsync(x.GoPointer(), MimeTypesVar, IoPriorityVar, CancellableVar.GoPointer(), purego.NewCallback(CallbackVar), UserDataVar)112 xClipboardReadAsync(x.GoPointer(), MimeTypesVar, IoPriorityVar, CancellableVar.GoPointer(), purego.NewCallback(CallbackVar), UserDataVar)
113 113
M v4/gdk/gdkdrop.go +2 -2
@@ -148,11 +148,11 @@ func (x *Drop) GetSurface() *Surface {
148148 return cls
149149 }
150150
151-var xDropReadAsync func(uintptr, uintptr, int, uintptr, uintptr, uintptr)
151+var xDropReadAsync func(uintptr, []string, int, uintptr, uintptr, uintptr)
152152
153153 // Asynchronously read the dropped data from a `GdkDrop`
154154 // in a format that complies with one of the mime types.
155-func (x *Drop) ReadAsync(MimeTypesVar uintptr, IoPriorityVar int, CancellableVar *gio.Cancellable, CallbackVar gio.AsyncReadyCallback, UserDataVar uintptr) {
155+func (x *Drop) ReadAsync(MimeTypesVar []string, IoPriorityVar int, CancellableVar *gio.Cancellable, CallbackVar gio.AsyncReadyCallback, UserDataVar uintptr) {
156156
157157 xDropReadAsync(x.GoPointer(), MimeTypesVar, IoPriorityVar, CancellableVar.GoPointer(), purego.NewCallback(CallbackVar), UserDataVar)
158158
@@ -148,11 +148,11 @@ func (x *Drop) GetSurface() *Surface {
148 return cls148 return cls
149 }149 }
150 150
151-var xDropReadAsync func(uintptr, uintptr, int, uintptr, uintptr, uintptr)151+var xDropReadAsync func(uintptr, []string, int, uintptr, uintptr, uintptr)
152 152
153 // Asynchronously read the dropped data from a `GdkDrop`153 // Asynchronously read the dropped data from a `GdkDrop`
154 // in a format that complies with one of the mime types.154 // in a format that complies with one of the mime types.
155-func (x *Drop) ReadAsync(MimeTypesVar uintptr, IoPriorityVar int, CancellableVar *gio.Cancellable, CallbackVar gio.AsyncReadyCallback, UserDataVar uintptr) {155+func (x *Drop) ReadAsync(MimeTypesVar []string, IoPriorityVar int, CancellableVar *gio.Cancellable, CallbackVar gio.AsyncReadyCallback, UserDataVar uintptr) {
156 156
157 xDropReadAsync(x.GoPointer(), MimeTypesVar, IoPriorityVar, CancellableVar.GoPointer(), purego.NewCallback(CallbackVar), UserDataVar)157 xDropReadAsync(x.GoPointer(), MimeTypesVar, IoPriorityVar, CancellableVar.GoPointer(), purego.NewCallback(CallbackVar), UserDataVar)
158 158
M v4/gdkpixbuf/gdk-pixbuf-io.go +1 -1
@@ -39,7 +39,7 @@ type PixbufModuleLoadAnimationFunc func(uintptr, **glib.Error) uintptr
3939 type PixbufModuleLoadFunc func(uintptr, **glib.Error) uintptr
4040
4141 // Loads XPM data into a new `GdkPixbuf`.
42-type PixbufModuleLoadXpmDataFunc func(uintptr) uintptr
42+type PixbufModuleLoadXpmDataFunc func([]string) uintptr
4343
4444 // Defines the type of the function that gets called once the initial
4545 // setup of @pixbuf is done.
@@ -39,7 +39,7 @@ type PixbufModuleLoadAnimationFunc func(uintptr, **glib.Error) uintptr
39 type PixbufModuleLoadFunc func(uintptr, **glib.Error) uintptr39 type PixbufModuleLoadFunc func(uintptr, **glib.Error) uintptr
40 40
41 // Loads XPM data into a new `GdkPixbuf`.41 // Loads XPM data into a new `GdkPixbuf`.
42-type PixbufModuleLoadXpmDataFunc func(uintptr) uintptr42+type PixbufModuleLoadXpmDataFunc func([]string) uintptr
43 43
44 // Defines the type of the function that gets called once the initial44 // Defines the type of the function that gets called once the initial
45 // setup of @pixbuf is done.45 // setup of @pixbuf is done.
M v4/gdkpixbuf/gdk-pixbuf.go +2 -2
@@ -542,13 +542,13 @@ func NewFromStreamFinishPixbuf(AsyncResultVar gio.AsyncResult) (*Pixbuf, error)
542542
543543 }
544544
545-var xNewFromXpmDataPixbuf func(uintptr) uintptr
545+var xNewFromXpmDataPixbuf func([]string) uintptr
546546
547547 // Creates a new pixbuf by parsing XPM data in memory.
548548 //
549549 // This data is commonly the result of including an XPM file into a
550550 // program's C source.
551-func NewFromXpmDataPixbuf(DataVar uintptr) *Pixbuf {
551+func NewFromXpmDataPixbuf(DataVar []string) *Pixbuf {
552552 var cls *Pixbuf
553553
554554 cret := xNewFromXpmDataPixbuf(DataVar)
@@ -542,13 +542,13 @@ func NewFromStreamFinishPixbuf(AsyncResultVar gio.AsyncResult) (*Pixbuf, error)
542 542
543 }543 }
544 544
545-var xNewFromXpmDataPixbuf func(uintptr) uintptr545+var xNewFromXpmDataPixbuf func([]string) uintptr
546 546
547 // Creates a new pixbuf by parsing XPM data in memory.547 // Creates a new pixbuf by parsing XPM data in memory.
548 //548 //
549 // This data is commonly the result of including an XPM file into a549 // This data is commonly the result of including an XPM file into a
550 // program's C source.550 // program's C source.
551-func NewFromXpmDataPixbuf(DataVar uintptr) *Pixbuf {551+func NewFromXpmDataPixbuf(DataVar []string) *Pixbuf {
552 var cls *Pixbuf552 var cls *Pixbuf
553 553
554 cret := xNewFromXpmDataPixbuf(DataVar)554 cret := xNewFromXpmDataPixbuf(DataVar)
M v4/gio/gappinfo.go +3 -3
@@ -86,7 +86,7 @@ type AppInfo interface {
8686 GetIcon() *IconBase
8787 GetId() string
8888 GetName() string
89- GetSupportedTypes() uintptr
89+ GetSupportedTypes() []string
9090 Launch(FilesVar *glib.List, ContextVar *AppLaunchContext) bool
9191 LaunchUris(UrisVar *glib.List, ContextVar *AppLaunchContext) bool
9292 LaunchUrisAsync(UrisVar *glib.List, ContextVar *AppLaunchContext, CancellableVar *Cancellable, CallbackVar AsyncReadyCallback, UserDataVar uintptr)
@@ -246,7 +246,7 @@ func (x *AppInfoBase) GetName() string {
246246 // This function does not take in consideration associations added with
247247 // g_app_info_add_supports_type(), but only those exported directly by
248248 // the application.
249-func (x *AppInfoBase) GetSupportedTypes() uintptr {
249+func (x *AppInfoBase) GetSupportedTypes() []string {
250250
251251 cret := XGAppInfoGetSupportedTypes(x.GoPointer())
252252 return cret
@@ -421,7 +421,7 @@ var XGAppInfoGetExecutable func(uintptr) string
421421 var XGAppInfoGetIcon func(uintptr) uintptr
422422 var XGAppInfoGetId func(uintptr) string
423423 var XGAppInfoGetName func(uintptr) string
424-var XGAppInfoGetSupportedTypes func(uintptr) uintptr
424+var XGAppInfoGetSupportedTypes func(uintptr) []string
425425 var XGAppInfoLaunch func(uintptr, *glib.List, uintptr, **glib.Error) bool
426426 var XGAppInfoLaunchUris func(uintptr, *glib.List, uintptr, **glib.Error) bool
427427 var XGAppInfoLaunchUrisAsync func(uintptr, *glib.List, uintptr, uintptr, uintptr, uintptr)
@@ -86,7 +86,7 @@ type AppInfo interface {
86 GetIcon() *IconBase86 GetIcon() *IconBase
87 GetId() string87 GetId() string
88 GetName() string88 GetName() string
89- GetSupportedTypes() uintptr89+ GetSupportedTypes() []string
90 Launch(FilesVar *glib.List, ContextVar *AppLaunchContext) bool90 Launch(FilesVar *glib.List, ContextVar *AppLaunchContext) bool
91 LaunchUris(UrisVar *glib.List, ContextVar *AppLaunchContext) bool91 LaunchUris(UrisVar *glib.List, ContextVar *AppLaunchContext) bool
92 LaunchUrisAsync(UrisVar *glib.List, ContextVar *AppLaunchContext, CancellableVar *Cancellable, CallbackVar AsyncReadyCallback, UserDataVar uintptr)92 LaunchUrisAsync(UrisVar *glib.List, ContextVar *AppLaunchContext, CancellableVar *Cancellable, CallbackVar AsyncReadyCallback, UserDataVar uintptr)
@@ -246,7 +246,7 @@ func (x *AppInfoBase) GetName() string {
246 // This function does not take in consideration associations added with246 // This function does not take in consideration associations added with
247 // g_app_info_add_supports_type(), but only those exported directly by247 // g_app_info_add_supports_type(), but only those exported directly by
248 // the application.248 // the application.
249-func (x *AppInfoBase) GetSupportedTypes() uintptr {249+func (x *AppInfoBase) GetSupportedTypes() []string {
250 250
251 cret := XGAppInfoGetSupportedTypes(x.GoPointer())251 cret := XGAppInfoGetSupportedTypes(x.GoPointer())
252 return cret252 return cret
@@ -421,7 +421,7 @@ var XGAppInfoGetExecutable func(uintptr) string
421 var XGAppInfoGetIcon func(uintptr) uintptr421 var XGAppInfoGetIcon func(uintptr) uintptr
422 var XGAppInfoGetId func(uintptr) string422 var XGAppInfoGetId func(uintptr) string
423 var XGAppInfoGetName func(uintptr) string423 var XGAppInfoGetName func(uintptr) string
424-var XGAppInfoGetSupportedTypes func(uintptr) uintptr424+var XGAppInfoGetSupportedTypes func(uintptr) []string
425 var XGAppInfoLaunch func(uintptr, *glib.List, uintptr, **glib.Error) bool425 var XGAppInfoLaunch func(uintptr, *glib.List, uintptr, **glib.Error) bool
426 var XGAppInfoLaunchUris func(uintptr, *glib.List, uintptr, **glib.Error) bool426 var XGAppInfoLaunchUris func(uintptr, *glib.List, uintptr, **glib.Error) bool
427 var XGAppInfoLaunchUrisAsync func(uintptr, *glib.List, uintptr, uintptr, uintptr, uintptr)427 var XGAppInfoLaunchUrisAsync func(uintptr, *glib.List, uintptr, uintptr, uintptr, uintptr)
M v4/gio/gdesktopappinfo.go +1 -1
@@ -522,7 +522,7 @@ func (x *DesktopAppInfo) GetName() string {
522522 // This function does not take in consideration associations added with
523523 // g_app_info_add_supports_type(), but only those exported directly by
524524 // the application.
525-func (x *DesktopAppInfo) GetSupportedTypes() uintptr {
525+func (x *DesktopAppInfo) GetSupportedTypes() []string {
526526
527527 cret := XGAppInfoGetSupportedTypes(x.GoPointer())
528528 return cret
@@ -522,7 +522,7 @@ func (x *DesktopAppInfo) GetName() string {
522 // This function does not take in consideration associations added with522 // This function does not take in consideration associations added with
523 // g_app_info_add_supports_type(), but only those exported directly by523 // g_app_info_add_supports_type(), but only those exported directly by
524 // the application.524 // the application.
525-func (x *DesktopAppInfo) GetSupportedTypes() uintptr {525+func (x *DesktopAppInfo) GetSupportedTypes() []string {
526 526
527 cret := XGAppInfoGetSupportedTypes(x.GoPointer())527 cret := XGAppInfoGetSupportedTypes(x.GoPointer())
528 return cret528 return cret
M v4/gobject/gobject.go +2 -2
@@ -284,7 +284,7 @@ func NewValistObject(ObjectTypeVar []interface{}, FirstPropertyNameVar string, V
284284 return cls
285285 }
286286
287-var xNewWithPropertiesObject func([]interface{}, uint, uintptr, uintptr) uintptr
287+var xNewWithPropertiesObject func([]interface{}, uint, []string, uintptr) uintptr
288288
289289 // Creates a new instance of a #GObject subtype and sets its properties using
290290 // the provided arrays. Both arrays must have exactly @n_properties elements,
@@ -292,7 +292,7 @@ var xNewWithPropertiesObject func([]interface{}, uint, uintptr, uintptr) uintptr
292292 //
293293 // Construction parameters (see %G_PARAM_CONSTRUCT, %G_PARAM_CONSTRUCT_ONLY)
294294 // which are not explicitly specified are set to their default values.
295-func NewWithPropertiesObject(ObjectTypeVar []interface{}, NPropertiesVar uint, NamesVar uintptr, ValuesVar uintptr) *Object {
295+func NewWithPropertiesObject(ObjectTypeVar []interface{}, NPropertiesVar uint, NamesVar []string, ValuesVar uintptr) *Object {
296296 var cls *Object
297297
298298 cret := xNewWithPropertiesObject(ObjectTypeVar, NPropertiesVar, NamesVar, ValuesVar)
@@ -284,7 +284,7 @@ func NewValistObject(ObjectTypeVar []interface{}, FirstPropertyNameVar string, V
284 return cls284 return cls
285 }285 }
286 286
287-var xNewWithPropertiesObject func([]interface{}, uint, uintptr, uintptr) uintptr287+var xNewWithPropertiesObject func([]interface{}, uint, []string, uintptr) uintptr
288 288
289 // Creates a new instance of a #GObject subtype and sets its properties using289 // Creates a new instance of a #GObject subtype and sets its properties using
290 // the provided arrays. Both arrays must have exactly @n_properties elements,290 // the provided arrays. Both arrays must have exactly @n_properties elements,
@@ -292,7 +292,7 @@ var xNewWithPropertiesObject func([]interface{}, uint, uintptr, uintptr) uintptr
292 //292 //
293 // Construction parameters (see %G_PARAM_CONSTRUCT, %G_PARAM_CONSTRUCT_ONLY)293 // Construction parameters (see %G_PARAM_CONSTRUCT, %G_PARAM_CONSTRUCT_ONLY)
294 // which are not explicitly specified are set to their default values.294 // which are not explicitly specified are set to their default values.
295-func NewWithPropertiesObject(ObjectTypeVar []interface{}, NPropertiesVar uint, NamesVar uintptr, ValuesVar uintptr) *Object {295+func NewWithPropertiesObject(ObjectTypeVar []interface{}, NPropertiesVar uint, NamesVar []string, ValuesVar uintptr) *Object {
296 var cls *Object296 var cls *Object
297 297
298 cret := xNewWithPropertiesObject(ObjectTypeVar, NPropertiesVar, NamesVar, ValuesVar)298 cret := xNewWithPropertiesObject(ObjectTypeVar, NPropertiesVar, NamesVar, ValuesVar)
M v4/gtk/gtkaboutdialog.go +8 -8
@@ -143,10 +143,10 @@ func NewAboutDialog() *Widget {
143143 return cls
144144 }
145145
146-var xAboutDialogAddCreditSection func(uintptr, string, uintptr)
146+var xAboutDialogAddCreditSection func(uintptr, string, []string)
147147
148148 // Creates a new section in the "Credits" page.
149-func (x *AboutDialog) AddCreditSection(SectionNameVar string, PeopleVar uintptr) {
149+func (x *AboutDialog) AddCreditSection(SectionNameVar string, PeopleVar []string) {
150150
151151 xAboutDialogAddCreditSection(x.GoPointer(), SectionNameVar, PeopleVar)
152152
@@ -309,21 +309,21 @@ func (x *AboutDialog) GetWrapLicense() bool {
309309 return cret
310310 }
311311
312-var xAboutDialogSetArtists func(uintptr, uintptr)
312+var xAboutDialogSetArtists func(uintptr, []string)
313313
314314 // Sets the names of the artists to be displayed
315315 // in the "Credits" page.
316-func (x *AboutDialog) SetArtists(ArtistsVar uintptr) {
316+func (x *AboutDialog) SetArtists(ArtistsVar []string) {
317317
318318 xAboutDialogSetArtists(x.GoPointer(), ArtistsVar)
319319
320320 }
321321
322-var xAboutDialogSetAuthors func(uintptr, uintptr)
322+var xAboutDialogSetAuthors func(uintptr, []string)
323323
324324 // Sets the names of the authors which are displayed
325325 // in the "Credits" page of the about dialog.
326-func (x *AboutDialog) SetAuthors(AuthorsVar uintptr) {
326+func (x *AboutDialog) SetAuthors(AuthorsVar []string) {
327327
328328 xAboutDialogSetAuthors(x.GoPointer(), AuthorsVar)
329329
@@ -351,11 +351,11 @@ func (x *AboutDialog) SetCopyright(CopyrightVar string) {
351351
352352 }
353353
354-var xAboutDialogSetDocumenters func(uintptr, uintptr)
354+var xAboutDialogSetDocumenters func(uintptr, []string)
355355
356356 // Sets the names of the documenters which are displayed
357357 // in the "Credits" page.
358-func (x *AboutDialog) SetDocumenters(DocumentersVar uintptr) {
358+func (x *AboutDialog) SetDocumenters(DocumentersVar []string) {
359359
360360 xAboutDialogSetDocumenters(x.GoPointer(), DocumentersVar)
361361
@@ -143,10 +143,10 @@ func NewAboutDialog() *Widget {
143 return cls143 return cls
144 }144 }
145 145
146-var xAboutDialogAddCreditSection func(uintptr, string, uintptr)146+var xAboutDialogAddCreditSection func(uintptr, string, []string)
147 147
148 // Creates a new section in the "Credits" page.148 // Creates a new section in the "Credits" page.
149-func (x *AboutDialog) AddCreditSection(SectionNameVar string, PeopleVar uintptr) {149+func (x *AboutDialog) AddCreditSection(SectionNameVar string, PeopleVar []string) {
150 150
151 xAboutDialogAddCreditSection(x.GoPointer(), SectionNameVar, PeopleVar)151 xAboutDialogAddCreditSection(x.GoPointer(), SectionNameVar, PeopleVar)
152 152
@@ -309,21 +309,21 @@ func (x *AboutDialog) GetWrapLicense() bool {
309 return cret309 return cret
310 }310 }
311 311
312-var xAboutDialogSetArtists func(uintptr, uintptr)312+var xAboutDialogSetArtists func(uintptr, []string)
313 313
314 // Sets the names of the artists to be displayed314 // Sets the names of the artists to be displayed
315 // in the "Credits" page.315 // in the "Credits" page.
316-func (x *AboutDialog) SetArtists(ArtistsVar uintptr) {316+func (x *AboutDialog) SetArtists(ArtistsVar []string) {
317 317
318 xAboutDialogSetArtists(x.GoPointer(), ArtistsVar)318 xAboutDialogSetArtists(x.GoPointer(), ArtistsVar)
319 319
320 }320 }
321 321
322-var xAboutDialogSetAuthors func(uintptr, uintptr)322+var xAboutDialogSetAuthors func(uintptr, []string)
323 323
324 // Sets the names of the authors which are displayed324 // Sets the names of the authors which are displayed
325 // in the "Credits" page of the about dialog.325 // in the "Credits" page of the about dialog.
326-func (x *AboutDialog) SetAuthors(AuthorsVar uintptr) {326+func (x *AboutDialog) SetAuthors(AuthorsVar []string) {
327 327
328 xAboutDialogSetAuthors(x.GoPointer(), AuthorsVar)328 xAboutDialogSetAuthors(x.GoPointer(), AuthorsVar)
329 329
@@ -351,11 +351,11 @@ func (x *AboutDialog) SetCopyright(CopyrightVar string) {
351 351
352 }352 }
353 353
354-var xAboutDialogSetDocumenters func(uintptr, uintptr)354+var xAboutDialogSetDocumenters func(uintptr, []string)
355 355
356 // Sets the names of the documenters which are displayed356 // Sets the names of the documenters which are displayed
357 // in the "Credits" page.357 // in the "Credits" page.
358-func (x *AboutDialog) SetDocumenters(DocumentersVar uintptr) {358+func (x *AboutDialog) SetDocumenters(DocumentersVar []string) {
359 359
360 xAboutDialogSetDocumenters(x.GoPointer(), DocumentersVar)360 xAboutDialogSetDocumenters(x.GoPointer(), DocumentersVar)
361 361
M v4/gtk/gtkbuilder.go +6 -6
@@ -422,7 +422,7 @@ func (x *Builder) AddFromString(BufferVar string, LengthVar int) (bool, error) {
422422
423423 }
424424
425-var xBuilderAddObjectsFromFile func(uintptr, string, uintptr, **glib.Error) bool
425+var xBuilderAddObjectsFromFile func(uintptr, string, []string, **glib.Error) bool
426426
427427 // Parses a file containing a UI definition building only the
428428 // requested objects and merges them with the current contents
@@ -435,7 +435,7 @@ var xBuilderAddObjectsFromFile func(uintptr, string, uintptr, **glib.Error) bool
435435 // If you are adding an object that depends on an object that is not
436436 // its child (for instance a `GtkTreeView` that depends on its
437437 // `GtkTreeModel`), you have to explicitly list all of them in @object_ids.
438-func (x *Builder) AddObjectsFromFile(FilenameVar string, ObjectIdsVar uintptr) (bool, error) {
438+func (x *Builder) AddObjectsFromFile(FilenameVar string, ObjectIdsVar []string) (bool, error) {
439439 var cerr *glib.Error
440440
441441 cret := xBuilderAddObjectsFromFile(x.GoPointer(), FilenameVar, ObjectIdsVar, &cerr)
@@ -446,7 +446,7 @@ func (x *Builder) AddObjectsFromFile(FilenameVar string, ObjectIdsVar uintptr) (
446446
447447 }
448448
449-var xBuilderAddObjectsFromResource func(uintptr, string, uintptr, **glib.Error) bool
449+var xBuilderAddObjectsFromResource func(uintptr, string, []string, **glib.Error) bool
450450
451451 // Parses a resource file containing a UI definition, building
452452 // only the requested objects and merges them with the current
@@ -459,7 +459,7 @@ var xBuilderAddObjectsFromResource func(uintptr, string, uintptr, **glib.Error)
459459 // If you are adding an object that depends on an object that is not
460460 // its child (for instance a `GtkTreeView` that depends on its
461461 // `GtkTreeModel`), you have to explicitly list all of them in @object_ids.
462-func (x *Builder) AddObjectsFromResource(ResourcePathVar string, ObjectIdsVar uintptr) (bool, error) {
462+func (x *Builder) AddObjectsFromResource(ResourcePathVar string, ObjectIdsVar []string) (bool, error) {
463463 var cerr *glib.Error
464464
465465 cret := xBuilderAddObjectsFromResource(x.GoPointer(), ResourcePathVar, ObjectIdsVar, &cerr)
@@ -470,7 +470,7 @@ func (x *Builder) AddObjectsFromResource(ResourcePathVar string, ObjectIdsVar ui
470470
471471 }
472472
473-var xBuilderAddObjectsFromString func(uintptr, string, int, uintptr, **glib.Error) bool
473+var xBuilderAddObjectsFromString func(uintptr, string, int, []string, **glib.Error) bool
474474
475475 // Parses a string containing a UI definition, building only the
476476 // requested objects and merges them with the current contents of
@@ -482,7 +482,7 @@ var xBuilderAddObjectsFromString func(uintptr, string, int, uintptr, **glib.Erro
482482 // If you are adding an object that depends on an object that is not
483483 // its child (for instance a `GtkTreeView` that depends on its
484484 // `GtkTreeModel`), you have to explicitly list all of them in @object_ids.
485-func (x *Builder) AddObjectsFromString(BufferVar string, LengthVar int, ObjectIdsVar uintptr) (bool, error) {
485+func (x *Builder) AddObjectsFromString(BufferVar string, LengthVar int, ObjectIdsVar []string) (bool, error) {
486486 var cerr *glib.Error
487487
488488 cret := xBuilderAddObjectsFromString(x.GoPointer(), BufferVar, LengthVar, ObjectIdsVar, &cerr)
@@ -422,7 +422,7 @@ func (x *Builder) AddFromString(BufferVar string, LengthVar int) (bool, error) {
422 422
423 }423 }
424 424
425-var xBuilderAddObjectsFromFile func(uintptr, string, uintptr, **glib.Error) bool425+var xBuilderAddObjectsFromFile func(uintptr, string, []string, **glib.Error) bool
426 426
427 // Parses a file containing a UI definition building only the427 // Parses a file containing a UI definition building only the
428 // requested objects and merges them with the current contents428 // requested objects and merges them with the current contents
@@ -435,7 +435,7 @@ var xBuilderAddObjectsFromFile func(uintptr, string, uintptr, **glib.Error) bool
435 // If you are adding an object that depends on an object that is not435 // If you are adding an object that depends on an object that is not
436 // its child (for instance a `GtkTreeView` that depends on its436 // its child (for instance a `GtkTreeView` that depends on its
437 // `GtkTreeModel`), you have to explicitly list all of them in @object_ids.437 // `GtkTreeModel`), you have to explicitly list all of them in @object_ids.
438-func (x *Builder) AddObjectsFromFile(FilenameVar string, ObjectIdsVar uintptr) (bool, error) {438+func (x *Builder) AddObjectsFromFile(FilenameVar string, ObjectIdsVar []string) (bool, error) {
439 var cerr *glib.Error439 var cerr *glib.Error
440 440
441 cret := xBuilderAddObjectsFromFile(x.GoPointer(), FilenameVar, ObjectIdsVar, &cerr)441 cret := xBuilderAddObjectsFromFile(x.GoPointer(), FilenameVar, ObjectIdsVar, &cerr)
@@ -446,7 +446,7 @@ func (x *Builder) AddObjectsFromFile(FilenameVar string, ObjectIdsVar uintptr) (
446 446
447 }447 }
448 448
449-var xBuilderAddObjectsFromResource func(uintptr, string, uintptr, **glib.Error) bool449+var xBuilderAddObjectsFromResource func(uintptr, string, []string, **glib.Error) bool
450 450
451 // Parses a resource file containing a UI definition, building451 // Parses a resource file containing a UI definition, building
452 // only the requested objects and merges them with the current452 // only the requested objects and merges them with the current
@@ -459,7 +459,7 @@ var xBuilderAddObjectsFromResource func(uintptr, string, uintptr, **glib.Error)
459 // If you are adding an object that depends on an object that is not459 // If you are adding an object that depends on an object that is not
460 // its child (for instance a `GtkTreeView` that depends on its460 // its child (for instance a `GtkTreeView` that depends on its
461 // `GtkTreeModel`), you have to explicitly list all of them in @object_ids.461 // `GtkTreeModel`), you have to explicitly list all of them in @object_ids.
462-func (x *Builder) AddObjectsFromResource(ResourcePathVar string, ObjectIdsVar uintptr) (bool, error) {462+func (x *Builder) AddObjectsFromResource(ResourcePathVar string, ObjectIdsVar []string) (bool, error) {
463 var cerr *glib.Error463 var cerr *glib.Error
464 464
465 cret := xBuilderAddObjectsFromResource(x.GoPointer(), ResourcePathVar, ObjectIdsVar, &cerr)465 cret := xBuilderAddObjectsFromResource(x.GoPointer(), ResourcePathVar, ObjectIdsVar, &cerr)
@@ -470,7 +470,7 @@ func (x *Builder) AddObjectsFromResource(ResourcePathVar string, ObjectIdsVar ui
470 470
471 }471 }
472 472
473-var xBuilderAddObjectsFromString func(uintptr, string, int, uintptr, **glib.Error) bool473+var xBuilderAddObjectsFromString func(uintptr, string, int, []string, **glib.Error) bool
474 474
475 // Parses a string containing a UI definition, building only the475 // Parses a string containing a UI definition, building only the
476 // requested objects and merges them with the current contents of476 // requested objects and merges them with the current contents of
@@ -482,7 +482,7 @@ var xBuilderAddObjectsFromString func(uintptr, string, int, uintptr, **glib.Erro
482 // If you are adding an object that depends on an object that is not482 // If you are adding an object that depends on an object that is not
483 // its child (for instance a `GtkTreeView` that depends on its483 // its child (for instance a `GtkTreeView` that depends on its
484 // `GtkTreeModel`), you have to explicitly list all of them in @object_ids.484 // `GtkTreeModel`), you have to explicitly list all of them in @object_ids.
485-func (x *Builder) AddObjectsFromString(BufferVar string, LengthVar int, ObjectIdsVar uintptr) (bool, error) {485+func (x *Builder) AddObjectsFromString(BufferVar string, LengthVar int, ObjectIdsVar []string) (bool, error) {
486 var cerr *glib.Error486 var cerr *glib.Error
487 487
488 cret := xBuilderAddObjectsFromString(x.GoPointer(), BufferVar, LengthVar, ObjectIdsVar, &cerr)488 cret := xBuilderAddObjectsFromString(x.GoPointer(), BufferVar, LengthVar, ObjectIdsVar, &cerr)
M v4/gtk/gtkfilechooser.go +3 -3
@@ -52,7 +52,7 @@ import (
5252 type FileChooser interface {
5353 GoPointer() uintptr
5454 SetGoPointer(uintptr)
55- AddChoice(IdVar string, LabelVar string, OptionsVar uintptr, OptionLabelsVar uintptr)
55+ AddChoice(IdVar string, LabelVar string, OptionsVar []string, OptionLabelsVar []string)
5656 AddFilter(FilterVar *FileFilter)
5757 AddShortcutFolder(FolderVar gio.File) bool
5858 GetAction() FileChooserAction
@@ -98,7 +98,7 @@ func (x *FileChooserBase) SetGoPointer(ptr uintptr) {
9898 // and you can obtain the user-selected value in the
9999 // [signal@Gtk.Dialog::response] signal handler using
100100 // [method@Gtk.FileChooser.get_choice].
101-func (x *FileChooserBase) AddChoice(IdVar string, LabelVar string, OptionsVar uintptr, OptionLabelsVar uintptr) {
101+func (x *FileChooserBase) AddChoice(IdVar string, LabelVar string, OptionsVar []string, OptionLabelsVar []string) {
102102
103103 XGtkFileChooserAddChoice(x.GoPointer(), IdVar, LabelVar, OptionsVar, OptionLabelsVar)
104104
@@ -443,7 +443,7 @@ func (x *FileChooserBase) SetSelectMultiple(SelectMultipleVar bool) {
443443
444444 }
445445
446-var XGtkFileChooserAddChoice func(uintptr, string, string, uintptr, uintptr)
446+var XGtkFileChooserAddChoice func(uintptr, string, string, []string, []string)
447447 var XGtkFileChooserAddFilter func(uintptr, uintptr)
448448 var XGtkFileChooserAddShortcutFolder func(uintptr, uintptr, **glib.Error) bool
449449 var XGtkFileChooserGetAction func(uintptr) FileChooserAction
@@ -52,7 +52,7 @@ import (
52 type FileChooser interface {52 type FileChooser interface {
53 GoPointer() uintptr53 GoPointer() uintptr
54 SetGoPointer(uintptr)54 SetGoPointer(uintptr)
55- AddChoice(IdVar string, LabelVar string, OptionsVar uintptr, OptionLabelsVar uintptr)55+ AddChoice(IdVar string, LabelVar string, OptionsVar []string, OptionLabelsVar []string)
56 AddFilter(FilterVar *FileFilter)56 AddFilter(FilterVar *FileFilter)
57 AddShortcutFolder(FolderVar gio.File) bool57 AddShortcutFolder(FolderVar gio.File) bool
58 GetAction() FileChooserAction58 GetAction() FileChooserAction
@@ -98,7 +98,7 @@ func (x *FileChooserBase) SetGoPointer(ptr uintptr) {
98 // and you can obtain the user-selected value in the98 // and you can obtain the user-selected value in the
99 // [signal@Gtk.Dialog::response] signal handler using99 // [signal@Gtk.Dialog::response] signal handler using
100 // [method@Gtk.FileChooser.get_choice].100 // [method@Gtk.FileChooser.get_choice].
101-func (x *FileChooserBase) AddChoice(IdVar string, LabelVar string, OptionsVar uintptr, OptionLabelsVar uintptr) {101+func (x *FileChooserBase) AddChoice(IdVar string, LabelVar string, OptionsVar []string, OptionLabelsVar []string) {
102 102
103 XGtkFileChooserAddChoice(x.GoPointer(), IdVar, LabelVar, OptionsVar, OptionLabelsVar)103 XGtkFileChooserAddChoice(x.GoPointer(), IdVar, LabelVar, OptionsVar, OptionLabelsVar)
104 104
@@ -443,7 +443,7 @@ func (x *FileChooserBase) SetSelectMultiple(SelectMultipleVar bool) {
443 443
444 }444 }
445 445
446-var XGtkFileChooserAddChoice func(uintptr, string, string, uintptr, uintptr)446+var XGtkFileChooserAddChoice func(uintptr, string, string, []string, []string)
447 var XGtkFileChooserAddFilter func(uintptr, uintptr)447 var XGtkFileChooserAddFilter func(uintptr, uintptr)
448 var XGtkFileChooserAddShortcutFolder func(uintptr, uintptr, **glib.Error) bool448 var XGtkFileChooserAddShortcutFolder func(uintptr, uintptr, **glib.Error) bool
449 var XGtkFileChooserGetAction func(uintptr) FileChooserAction449 var XGtkFileChooserGetAction func(uintptr) FileChooserAction
M v4/gtk/gtkfilechooserdialog.go +1 -1
@@ -374,7 +374,7 @@ func (x *FileChooserDialog) GetBuildableId() string {
374374 // and you can obtain the user-selected value in the
375375 // [signal@Gtk.Dialog::response] signal handler using
376376 // [method@Gtk.FileChooser.get_choice].
377-func (x *FileChooserDialog) AddChoice(IdVar string, LabelVar string, OptionsVar uintptr, OptionLabelsVar uintptr) {
377+func (x *FileChooserDialog) AddChoice(IdVar string, LabelVar string, OptionsVar []string, OptionLabelsVar []string) {
378378
379379 XGtkFileChooserAddChoice(x.GoPointer(), IdVar, LabelVar, OptionsVar, OptionLabelsVar)
380380
@@ -374,7 +374,7 @@ func (x *FileChooserDialog) GetBuildableId() string {
374 // and you can obtain the user-selected value in the374 // and you can obtain the user-selected value in the
375 // [signal@Gtk.Dialog::response] signal handler using375 // [signal@Gtk.Dialog::response] signal handler using
376 // [method@Gtk.FileChooser.get_choice].376 // [method@Gtk.FileChooser.get_choice].
377-func (x *FileChooserDialog) AddChoice(IdVar string, LabelVar string, OptionsVar uintptr, OptionLabelsVar uintptr) {377+func (x *FileChooserDialog) AddChoice(IdVar string, LabelVar string, OptionsVar []string, OptionLabelsVar []string) {
378 378
379 XGtkFileChooserAddChoice(x.GoPointer(), IdVar, LabelVar, OptionsVar, OptionLabelsVar)379 XGtkFileChooserAddChoice(x.GoPointer(), IdVar, LabelVar, OptionsVar, OptionLabelsVar)
380 380
M v4/gtk/gtkfilechoosernative.go +1 -1
@@ -257,7 +257,7 @@ func (c *FileChooserNative) SetGoPointer(ptr uintptr) {
257257 // and you can obtain the user-selected value in the
258258 // [signal@Gtk.Dialog::response] signal handler using
259259 // [method@Gtk.FileChooser.get_choice].
260-func (x *FileChooserNative) AddChoice(IdVar string, LabelVar string, OptionsVar uintptr, OptionLabelsVar uintptr) {
260+func (x *FileChooserNative) AddChoice(IdVar string, LabelVar string, OptionsVar []string, OptionLabelsVar []string) {
261261
262262 XGtkFileChooserAddChoice(x.GoPointer(), IdVar, LabelVar, OptionsVar, OptionLabelsVar)
263263
@@ -257,7 +257,7 @@ func (c *FileChooserNative) SetGoPointer(ptr uintptr) {
257 // and you can obtain the user-selected value in the257 // and you can obtain the user-selected value in the
258 // [signal@Gtk.Dialog::response] signal handler using258 // [signal@Gtk.Dialog::response] signal handler using
259 // [method@Gtk.FileChooser.get_choice].259 // [method@Gtk.FileChooser.get_choice].
260-func (x *FileChooserNative) AddChoice(IdVar string, LabelVar string, OptionsVar uintptr, OptionLabelsVar uintptr) {260+func (x *FileChooserNative) AddChoice(IdVar string, LabelVar string, OptionsVar []string, OptionLabelsVar []string) {
261 261
262 XGtkFileChooserAddChoice(x.GoPointer(), IdVar, LabelVar, OptionsVar, OptionLabelsVar)262 XGtkFileChooserAddChoice(x.GoPointer(), IdVar, LabelVar, OptionsVar, OptionLabelsVar)
263 263
M v4/gtk/gtkfilechooserwidget.go +1 -1
@@ -448,7 +448,7 @@ func (x *FileChooserWidget) GetBuildableId() string {
448448 // and you can obtain the user-selected value in the
449449 // [signal@Gtk.Dialog::response] signal handler using
450450 // [method@Gtk.FileChooser.get_choice].
451-func (x *FileChooserWidget) AddChoice(IdVar string, LabelVar string, OptionsVar uintptr, OptionLabelsVar uintptr) {
451+func (x *FileChooserWidget) AddChoice(IdVar string, LabelVar string, OptionsVar []string, OptionLabelsVar []string) {
452452
453453 XGtkFileChooserAddChoice(x.GoPointer(), IdVar, LabelVar, OptionsVar, OptionLabelsVar)
454454
@@ -448,7 +448,7 @@ func (x *FileChooserWidget) GetBuildableId() string {
448 // and you can obtain the user-selected value in the448 // and you can obtain the user-selected value in the
449 // [signal@Gtk.Dialog::response] signal handler using449 // [signal@Gtk.Dialog::response] signal handler using
450 // [method@Gtk.FileChooser.get_choice].450 // [method@Gtk.FileChooser.get_choice].
451-func (x *FileChooserWidget) AddChoice(IdVar string, LabelVar string, OptionsVar uintptr, OptionLabelsVar uintptr) {451+func (x *FileChooserWidget) AddChoice(IdVar string, LabelVar string, OptionsVar []string, OptionLabelsVar []string) {
452 452
453 XGtkFileChooserAddChoice(x.GoPointer(), IdVar, LabelVar, OptionsVar, OptionLabelsVar)453 XGtkFileChooserAddChoice(x.GoPointer(), IdVar, LabelVar, OptionsVar, OptionLabelsVar)
454 454
M v4/gtk/gtkfilefilter.go +2 -2
@@ -163,7 +163,7 @@ func (x *FileFilter) AddSuffix(SuffixVar string) {
163163
164164 }
165165
166-var xFileFilterGetAttributes func(uintptr) uintptr
166+var xFileFilterGetAttributes func(uintptr) []string
167167
168168 // Gets the attributes that need to be filled in for the `GFileInfo`
169169 // passed to this filter.
@@ -171,7 +171,7 @@ var xFileFilterGetAttributes func(uintptr) uintptr
171171 // This function will not typically be used by applications;
172172 // it is intended principally for use in the implementation
173173 // of `GtkFileChooser`.
174-func (x *FileFilter) GetAttributes() uintptr {
174+func (x *FileFilter) GetAttributes() []string {
175175
176176 cret := xFileFilterGetAttributes(x.GoPointer())
177177 return cret
@@ -163,7 +163,7 @@ func (x *FileFilter) AddSuffix(SuffixVar string) {
163 163
164 }164 }
165 165
166-var xFileFilterGetAttributes func(uintptr) uintptr166+var xFileFilterGetAttributes func(uintptr) []string
167 167
168 // Gets the attributes that need to be filled in for the `GFileInfo`168 // Gets the attributes that need to be filled in for the `GFileInfo`
169 // passed to this filter.169 // passed to this filter.
@@ -171,7 +171,7 @@ var xFileFilterGetAttributes func(uintptr) uintptr
171 // This function will not typically be used by applications;171 // This function will not typically be used by applications;
172 // it is intended principally for use in the implementation172 // it is intended principally for use in the implementation
173 // of `GtkFileChooser`.173 // of `GtkFileChooser`.
174-func (x *FileFilter) GetAttributes() uintptr {174+func (x *FileFilter) GetAttributes() []string {
175 175
176 cret := xFileFilterGetAttributes(x.GoPointer())176 cret := xFileFilterGetAttributes(x.GoPointer())
177 return cret177 return cret
M v4/gtk/gtkicontheme.go +2 -2
@@ -482,7 +482,7 @@ func (x *IconTheme) LookupByGicon(IconVar gio.Icon, SizeVar int, ScaleVar int, D
482482 return cls
483483 }
484484
485-var xIconThemeLookupIcon func(uintptr, string, uintptr, int, int, TextDirection, IconLookupFlags) uintptr
485+var xIconThemeLookupIcon func(uintptr, string, []string, int, int, TextDirection, IconLookupFlags) uintptr
486486
487487 // Looks up a named icon for a desired size and window scale,
488488 // returning a `GtkIconPaintable`.
@@ -500,7 +500,7 @@ var xIconThemeLookupIcon func(uintptr, string, uintptr, int, int, TextDirection,
500500 // Note that you probably want to listen for icon theme changes and
501501 // update the icon. This is usually done by overriding the
502502 // GtkWidgetClass.css-changed() function.
503-func (x *IconTheme) LookupIcon(IconNameVar string, FallbacksVar uintptr, SizeVar int, ScaleVar int, DirectionVar TextDirection, FlagsVar IconLookupFlags) *IconPaintable {
503+func (x *IconTheme) LookupIcon(IconNameVar string, FallbacksVar []string, SizeVar int, ScaleVar int, DirectionVar TextDirection, FlagsVar IconLookupFlags) *IconPaintable {
504504 var cls *IconPaintable
505505
506506 cret := xIconThemeLookupIcon(x.GoPointer(), IconNameVar, FallbacksVar, SizeVar, ScaleVar, DirectionVar, FlagsVar)
@@ -482,7 +482,7 @@ func (x *IconTheme) LookupByGicon(IconVar gio.Icon, SizeVar int, ScaleVar int, D
482 return cls482 return cls
483 }483 }
484 484
485-var xIconThemeLookupIcon func(uintptr, string, uintptr, int, int, TextDirection, IconLookupFlags) uintptr485+var xIconThemeLookupIcon func(uintptr, string, []string, int, int, TextDirection, IconLookupFlags) uintptr
486 486
487 // Looks up a named icon for a desired size and window scale,487 // Looks up a named icon for a desired size and window scale,
488 // returning a `GtkIconPaintable`.488 // returning a `GtkIconPaintable`.
@@ -500,7 +500,7 @@ var xIconThemeLookupIcon func(uintptr, string, uintptr, int, int, TextDirection,
500 // Note that you probably want to listen for icon theme changes and500 // Note that you probably want to listen for icon theme changes and
501 // update the icon. This is usually done by overriding the501 // update the icon. This is usually done by overriding the
502 // GtkWidgetClass.css-changed() function.502 // GtkWidgetClass.css-changed() function.
503-func (x *IconTheme) LookupIcon(IconNameVar string, FallbacksVar uintptr, SizeVar int, ScaleVar int, DirectionVar TextDirection, FlagsVar IconLookupFlags) *IconPaintable {503+func (x *IconTheme) LookupIcon(IconNameVar string, FallbacksVar []string, SizeVar int, ScaleVar int, DirectionVar TextDirection, FlagsVar IconLookupFlags) *IconPaintable {
504 var cls *IconPaintable504 var cls *IconPaintable
505 505
506 cret := xIconThemeLookupIcon(x.GoPointer(), IconNameVar, FallbacksVar, SizeVar, ScaleVar, DirectionVar, FlagsVar)506 cret := xIconThemeLookupIcon(x.GoPointer(), IconNameVar, FallbacksVar, SizeVar, ScaleVar, DirectionVar, FlagsVar)
M v4/gtk/gtkscalebutton.go +4 -4
@@ -33,13 +33,13 @@ func ScaleButtonNewFromInternalPtr(ptr uintptr) *ScaleButton {
3333 return cls
3434 }
3535
36-var xNewScaleButton func(float64, float64, float64, uintptr) uintptr
36+var xNewScaleButton func(float64, float64, float64, []string) uintptr
3737
3838 // Creates a `GtkScaleButton`.
3939 //
4040 // The new scale button has a range between @min and @max,
4141 // with a stepping of @step.
42-func NewScaleButton(MinVar float64, MaxVar float64, StepVar float64, IconsVar uintptr) *Widget {
42+func NewScaleButton(MinVar float64, MaxVar float64, StepVar float64, IconsVar []string) *Widget {
4343 var cls *Widget
4444
4545 cret := xNewScaleButton(MinVar, MaxVar, StepVar, IconsVar)
@@ -144,10 +144,10 @@ func (x *ScaleButton) SetAdjustment(AdjustmentVar *Adjustment) {
144144
145145 }
146146
147-var xScaleButtonSetIcons func(uintptr, uintptr)
147+var xScaleButtonSetIcons func(uintptr, []string)
148148
149149 // Sets the icons to be used by the scale button.
150-func (x *ScaleButton) SetIcons(IconsVar uintptr) {
150+func (x *ScaleButton) SetIcons(IconsVar []string) {
151151
152152 xScaleButtonSetIcons(x.GoPointer(), IconsVar)
153153
@@ -33,13 +33,13 @@ func ScaleButtonNewFromInternalPtr(ptr uintptr) *ScaleButton {
33 return cls33 return cls
34 }34 }
35 35
36-var xNewScaleButton func(float64, float64, float64, uintptr) uintptr36+var xNewScaleButton func(float64, float64, float64, []string) uintptr
37 37
38 // Creates a `GtkScaleButton`.38 // Creates a `GtkScaleButton`.
39 //39 //
40 // The new scale button has a range between @min and @max,40 // The new scale button has a range between @min and @max,
41 // with a stepping of @step.41 // with a stepping of @step.
42-func NewScaleButton(MinVar float64, MaxVar float64, StepVar float64, IconsVar uintptr) *Widget {42+func NewScaleButton(MinVar float64, MaxVar float64, StepVar float64, IconsVar []string) *Widget {
43 var cls *Widget43 var cls *Widget
44 44
45 cret := xNewScaleButton(MinVar, MaxVar, StepVar, IconsVar)45 cret := xNewScaleButton(MinVar, MaxVar, StepVar, IconsVar)
@@ -144,10 +144,10 @@ func (x *ScaleButton) SetAdjustment(AdjustmentVar *Adjustment) {
144 144
145 }145 }
146 146
147-var xScaleButtonSetIcons func(uintptr, uintptr)147+var xScaleButtonSetIcons func(uintptr, []string)
148 148
149 // Sets the icons to be used by the scale button.149 // Sets the icons to be used by the scale button.
150-func (x *ScaleButton) SetIcons(IconsVar uintptr) {150+func (x *ScaleButton) SetIcons(IconsVar []string) {
151 151
152 xScaleButtonSetIcons(x.GoPointer(), IconsVar)152 xScaleButtonSetIcons(x.GoPointer(), IconsVar)
153 153
M v4/gtk/gtkwidget.go +2 -2
@@ -2415,11 +2415,11 @@ func (x *Widget) SetChildVisible(ChildVisibleVar bool) {
24152415
24162416 }
24172417
2418-var xWidgetSetCssClasses func(uintptr, uintptr)
2418+var xWidgetSetCssClasses func(uintptr, []string)
24192419
24202420 // Clear all style classes applied to @widget
24212421 // and replace them with @classes.
2422-func (x *Widget) SetCssClasses(ClassesVar uintptr) {
2422+func (x *Widget) SetCssClasses(ClassesVar []string) {
24232423
24242424 xWidgetSetCssClasses(x.GoPointer(), ClassesVar)
24252425
@@ -2415,11 +2415,11 @@ func (x *Widget) SetChildVisible(ChildVisibleVar bool) {
2415 2415
2416 }2416 }
2417 2417
2418-var xWidgetSetCssClasses func(uintptr, uintptr)2418+var xWidgetSetCssClasses func(uintptr, []string)
2419 2419
2420 // Clear all style classes applied to @widget2420 // Clear all style classes applied to @widget
2421 // and replace them with @classes.2421 // and replace them with @classes.
2422-func (x *Widget) SetCssClasses(ClassesVar uintptr) {2422+func (x *Widget) SetCssClasses(ClassesVar []string) {
2423 2423
2424 xWidgetSetCssClasses(x.GoPointer(), ClassesVar)2424 xWidgetSetCssClasses(x.GoPointer(), ClassesVar)
2425 2425

Keyboard shortcuts

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

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

Branches 1

Tags 102

↑↓ moveenter openesc close