# TGCommandPlugin* TGCommandPlugin 继承 TGMainFrame ## class ```cpp TGCommandPlugin(const TGWindow *p, UInt_t w, UInt_t h); virtual ~TGCommandPlugin(); void CheckRemote(const char * /*str*/); /// Check if actual ROOT session is a remote one or a local one. void HandleCommand(); virtual Bool_t HandleTimer(TTimer *t); /// Handle timer event. ``` ## code