Exemple #1
0
// native returns a pointer to the underlying GActionMap.
func (v *ActionMap) native() *C.GActionMap {
	if v == nil || v.GObject == nil {
		return nil
	}
	p := unsafe.Pointer(v.GObject)
	return C.toGActionMap(p)
}
Exemple #2
0
func (v *ActionMap) toActionMap() *C.GActionMap {
	if v == nil {
		return nil
	}
	return C.toGActionMap(unsafe.Pointer(v.GObject))
}