Exemplo n.º 1
0
// native returns a pointer to the underlying GSimpleAction.
func (v *SimpleAction) native() *C.GSimpleAction {
	if v == nil || v.GObject == nil {
		return nil
	}
	p := unsafe.Pointer(v.GObject)
	return C.toGSimpleAction(p)
}
Exemplo n.º 2
0
func (v *SimpleAction) toSimpleAction() *C.GSimpleAction {
	if v == nil {
		return nil
	}
	return C.toGSimpleAction(unsafe.Pointer(v.GObject))
}