Exemple #1
0
func HasClipboardText() bool {
	has := C.SDL_HasClipboardText()
	return int(has) != 0
}
Exemple #2
0
// HasClipboardText returns true if the clipboard exists and contains a
// non-empty text string.
//
// Note: A Window must be created before calling this function.
func HasClipboardText() bool {
	if C.SDL_HasClipboardText() == C.SDL_TRUE {
		return true
	}
	return false
}
Exemple #3
0
// HasClipboardText (https://wiki.libsdl.org/SDL_HasClipboardText)
func HasClipboardText() bool {
	return C.SDL_HasClipboardText() > 0
}
Exemple #4
0
func HasClipboardText() bool {
	return C.SDL_HasClipboardText() == C.SDL_TRUE
}