gtk/accel.go
func AcceleratorParse(acc string) (key uint, mods gdk.ModifierType) {
	cstr := C.CString(acc)
	defer C.free(unsafe.Pointer(cstr))

	k := C.guint(0)
	m := C.GdkModifierType(0)

	C.gtk_accelerator_parse((*C.gchar)(cstr), &k, &m)
	return uint(k), gdk.ModifierType(m)
}
func AcceleratorParse(acc string) (key uint, mods gdk.ModifierType) {
	cstr := C.CString(acc)
	defer C.free(unsafe.Pointer(cstr))

	k := C.guint(0)
	m := C.GdkModifierType(0)

	C.gtk_accelerator_parse((*C.gchar)(cstr), &k, &m)
	return uint(k), gdk.ModifierType(m)
}
func AcceleratorParse ( acc string ) ( key uint , mods gdk . ModifierType ) { cstr := C . CString ( acc ) defer C . free ( unsafe . Pointer ( cstr ) ) k := C . guint ( 0 ) m := C . GdkModifierType ( 0 ) C . gtk_accelerator_parse ( ( * C . gchar ) ( cstr ) , & k , & m ) return uint ( k ) , gdk . ModifierType ( m ) }
// AcceleratorParse is a wrapper around gtk_accelerator_parse().
AcceleratorParse is a wrapper around gtk_accelerator_parse () .