How to use the void WindowProperties::set_foreground(bool fo

how do i have to use void WindowProperties::set_foreground(bool foreground);??
do i have to make an bool foreground?
or can i just add “text” in it?