I think I solved it. I thought signals were passed as strings to connect, I didnt know you could acces them as memebers.
Code Select
void GuiManager::OnClickColorPickerTool()
{
canDraw = false;
tgui::ColorPicker::Ptr colorPicker = tgui::ColorPicker::create();
colorPicker->onOkPress.connect(&GuiManager::Test, this);
gui.add(colorPicker);
}