示例#1
0
// GetApplicationID is a wrapper around g_application_get_application_id().
func (v *Application) GetApplicationID() string {
	c := C.g_application_get_application_id(v.native())

	return C.GoString((*C.char)(c))
}
示例#2
0
文件: GApplication.go 项目: gotk3/gio
//Gets the unique identifier for application .
func (v *Application) GetApplicationId() string {
	cstr := (*C.char)(C.g_application_get_application_id(v.native()))
	defer C.free(unsafe.Pointer(cstr))
	return C.GoString(cstr)
}