コード例 #1
0
ファイル: GNotification.go プロジェクト: gotk3/gio
// native returns a pointer to the underlying GNotification.
func (v *Notification) native() *C.GNotification {
	if v == nil || v.GObject == nil {
		return nil
	}
	p := unsafe.Pointer(v.GObject)
	return C.toGNotification(p)
}
コード例 #2
0
ファイル: GNotification.go プロジェクト: gotk3/gio
func (v *Notification) toNotification() *C.GNotification {
	if v == nil {
		return nil
	}
	return C.toGNotification(unsafe.Pointer(v.GObject))
}