Debian Codegraph @

gtk/gtk_export_since_3_14.go

raw symbols SCIP
1 // Same copyright and license as the rest of the files in this project
2 // +build !gtk_3_6,!gtk_3_8,!gtk_3_10,!gtk_3_12
3
4 package gtk
5
6 // #include <gtk/gtk.h>
7 import "C"
8 import (
9 "unsafe"
10
11 "github.com/gotk3/gotk3/glib"
12 "github.com/gotk3/gotk3/internal/callback"
13 )
14
15 //export goListBoxForEachFuncs
16 func goListBoxForEachFuncs(box *C.GtkListBox, row *C.GtkListBoxRow, userData C.gpointer) {
17 fn := callback.Get(uintptr(userData)).(ListBoxForeachFunc)
18 fn(wrapListBox(glib.Take(unsafe.Pointer(box))), wrapListBoxRow(glib.Take(unsafe.Pointer(row))))
19 }