add function to get RGuiAction based on class name