gtk/application_since_3_14.go
func (v *Application) GetActionsForAccel(acc string) []string {
	cstr1 := (*C.gchar)(C.CString(acc))
	defer C.free(unsafe.Pointer(cstr1))

	var acts []string
	c := C.gtk_application_get_actions_for_accel(v.native(), cstr1)
	originalc := c
	defer C.g_strfreev(originalc)

	for *c != nil {
		acts = append(acts, C.GoString((*C.char)(*c)))
		c = C.next_gcharptr(c)
	}

	return acts
}
func (v *Application) GetActionsForAccel(acc string) []string {
	cstr1 := (*C.gchar)(C.CString(acc))
	defer C.free(unsafe.Pointer(cstr1))

	var acts []string
	c := C.gtk_application_get_actions_for_accel(v.native(), cstr1)
	originalc := c
	defer C.g_strfreev(originalc)

	for *c != nil {
		acts = append(acts, C.GoString((*C.char)(*c)))
		c = C.next_gcharptr(c)
	}

	return acts
}
func ( v * Application ) GetActionsForAccel ( acc string ) [ ] string { cstr1 := ( * C . gchar ) ( C . CString ( acc ) ) defer C . free ( unsafe . Pointer ( cstr1 ) ) var acts [ ] string c := C . gtk_application_get_actions_for_accel ( v . native ( ) , cstr1 ) originalc := c defer C . g_strfreev ( originalc ) for * c != nil { acts = append ( acts , C . GoString ( ( * C . char ) ( * c ) ) ) c = C . next_gcharptr ( c ) } return acts }
// GetActionsForAccel is a wrapper around gtk_application_get_actions_for_accel().
GetActionsForAccel is a wrapper around gtk_application_get_actions_for_accel () .