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