Helper class used to manage plugins (command or macro to be executed).
Largely! taken from GRootBrowserLite in the Root Software package. This class exists because I needed to change some of the connections in CreateBrowser() function to the GRootCanvas class instead of the the TRootCanvas.
pcb.
Definition at line 39 of file GRootBrowser.h.
Public Member Functions | |
GBrowserPlugin (const char *name, const char *cmd="", Int_t tab=1, Int_t sub=-1) | |
~GBrowserPlugin () override=default | |
void | SetCommand (const char *cmd) |
void | SetSubTab (Int_t sub) |
void | SetTab (Int_t tab) |
Public Attributes | |
TString | fCommand |
Int_t | fSubTab |
Int_t | fTab |
#include <GRootBrowser.h>
|
inline |
Definition at line 45 of file GRootBrowser.h.
|
overridedefault |
|
inline |
simple setter function for the command to be executed
Definition at line 53 of file GRootBrowser.h.
References fCommand.
|
inline |
simple setter function for the tab element number
Definition at line 52 of file GRootBrowser.h.
References fSubTab.
|
inline |
simple setter function for the tab number
Definition at line 51 of file GRootBrowser.h.
References fTab.
TString GBrowserPlugin::fCommand |
Command to be executed.
Definition at line 43 of file GRootBrowser.h.
Referenced by GRootBrowser::CloneBrowser(), and SetCommand().
Int_t GBrowserPlugin::fSubTab |
Tab element number.
Definition at line 42 of file GRootBrowser.h.
Referenced by GRootBrowser::CloneBrowser(), and SetSubTab().
Int_t GBrowserPlugin::fTab |
Tab number.
Definition at line 41 of file GRootBrowser.h.
Referenced by GRootBrowser::CloneBrowser(), and SetTab().