2 Star 0 Fork 0

scpro / gotk3

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
克隆/下载
gbinding_since_2_68.go 735 Bytes
一键复制 编辑 原始数据 按行查看 历史
hfmrow 提交于 2021-08-27 18:59 . Update glib binding > 2.66
// +build !glib_2_40,!glib_2_42,!glib_2_44,!glib_2_46,!glib_2_48,!glib_2_50,!glib_2_52,!glib_2_54,!glib_2_56,!glib_2_58,!glib_2_60,!glib_2_62,!glib_2_64,!glib_2_66
package glib
// #include <gio/gio.h>
// #include <glib.h>
// #include <glib-object.h>
// #include "glib.go.h"
import "C"
import "unsafe"
// DupSource is a wrapper around g_binding_dup_source().
func (v *Binding) DupSource() *Object {
obj := C.g_binding_dup_source(v.native())
if obj == nil {
return nil
}
return wrapObject(unsafe.Pointer(obj))
}
// DupTarget is a wrapper around g_binding_dup_target().
func (v *Binding) DupTarget() *Object {
obj := C.g_binding_dup_target(v.native())
if obj == nil {
return nil
}
return wrapObject(unsafe.Pointer(obj))
}
1
https://gitee.com/scpro/gotk3.git
git@gitee.com:scpro/gotk3.git
scpro
gotk3
gotk3
v1.0.1

搜索帮助