class of gui - control