Beispiel #1
0
// 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)
}
Beispiel #2
0
func (v *Action) toAction() *C.GAction {
	if v == nil {
		return nil
	}
	return C.toGAction(unsafe.Pointer(v.GObject))
}