support C++ based RGuiActions, add example to plugin