add variable in c_window classe to know his parent