al_set_clipboard_text(3alleg5)
β¨ al_set_clipboard_text β Allegro 5 API β¨
okay bestie, welcome to the al_set_clipboard_text(3alleg5) page, straight out of the Allegro reference manual π it's a short one but it's iconic, let's go π«Ά
πΈ NAME πΈ
al_set_clipboard_text β the Allegro 5 API function that puts your text on the clipboard π
π SYNOPSIS π
#include <allegro5/allegro.h>
bool al_set_clipboard_text(ALLEGRO_DISPLAY *display, const char *text)
π¦ DESCRIPTION π¦
so basically, this function pastes the text given as an argument to the clipboard β¨ you hand it your text and it goes straight onto the clipboard, no cap. it's giving copy, but make it official π
π SINCE π
5.1.12 β yeah she's been around since then, lowkey a legend π
π SEE ALSO π
al_get_clipboard_text(3alleg5)β the one that reads it back πal_clipboard_has_text(3alleg5)β the one that checks if there's anything there in the first place π
and that's the whole page, bestie π mwah π this was the Allegro reference manual serving you al_set_clipboard_text(3alleg5) realness β go forth and paste, periodt π
β¨
π¦ where this page comes from
- debian trixie: allegro5-doc 2:5.2.10.1+dfsg-1 Β· Zlib
- ubuntu questing: allegro5-doc 2:5.2.10.1+dfsg-1build1
- ubuntu resolute: allegro5-doc 2:5.2.11.3+dfsg-1 Β· Zlib
- ubuntu stonking: allegro5-doc 2:5.2.11.3+dfsg-1 Β· Zlib
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms