示例#1
0
文件: GApplication.go 项目: gotk3/gio
// native returns a pointer to the underlying GApplication.
func (v *Application) native() *C.GApplication {
	if v == nil || v.GObject == nil {
		return nil
	}
	p := unsafe.Pointer(v.GObject)
	return C.toGApplication(p)
}
示例#2
0
文件: GApplication.go 项目: gotk3/gio
func (v *Application) ToGApplication() *C.GApplication {
	if v == nil {
		return nil
	}
	return C.toGApplication(unsafe.Pointer(v.GObject))
}