Example #1
0
func HasClipboardText() bool {
	has := C.SDL_HasClipboardText()
	return int(has) != 0
}
Example #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
}
Example #3
0
// HasClipboardText (https://wiki.libsdl.org/SDL_HasClipboardText)
func HasClipboardText() bool {
	return C.SDL_HasClipboardText() > 0
}
Example #4
0
func HasClipboardText() bool {
	return C.SDL_HasClipboardText() == C.SDL_TRUE
}