Example #1
0
File: GAction.go Project: gotk3/gio
// native returns a pointer to the underlying GAction.
func (v *Action) native() *C.GAction {
	if v == nil || v.GObject == nil {
		return nil
	}
	p := unsafe.Pointer(v.GObject)
	return C.toGAction(p)
}
Example #2
0
File: GAction.go Project: gotk3/gio
func (v *Action) toAction() *C.GAction {
	if v == nil {
		return nil
	}
	return C.toGAction(unsafe.Pointer(v.GObject))
}