Esempio n. 1
0
File: gdk.go Progetto: raichu/gotk3
func KeyvalConvertCase(v uint) (lower, upper uint) {
	var l, u C.guint
	l = 0
	u = 0
	C.gdk_keyval_convert_case(C.guint(v), &l, &u)
	return uint(l), uint(u)
}
Esempio n. 2
0
/*
Obtains the upper- and lower-case versions of the keyval @symbol.
Examples of keyvals are #GDK_KEY_a, #GDK_KEY_Enter, #GDK_KEY_F1, etc.
*/
func KeyvalConvertCase(symbol uint) (lower uint, upper uint) {
	var __cgo__lower C.guint
	var __cgo__upper C.guint
	C.gdk_keyval_convert_case(C.guint(symbol), &__cgo__lower, &__cgo__upper)
	lower = uint(__cgo__lower)
	upper = uint(__cgo__upper)
	return
}