34#if defined(__GNUC__) && (__GNUC__ >= 5 || (__GNUC__ >= 4 && ((__GNUC_MINOR__ == 2 && __GNUC_PATCHLEVEL__ >= 1) || (__GNUC_MINOR__ >= 3)))) && !__INTEL_COMPILER
35#pragma GCC diagnostic ignored "-Wstrict-aliasing"
99 if (
method->GetListOfMethodArgs()->First())
124 else object=
menuitem->GetCalledObject();
144 if ((
method->GetListOfMethodArgs()->First()
145 &&
menuitem->GetSelfObjectPos() < 0 ) ||
146 method->GetListOfMethodArgs()->GetSize() > 1)
149 if (
menuitem->GetSelfObjectPos() < 0) {
155 cmd.Form(
"((TContextMenu *)0x%zx)->Execute((TObject *)0x%zx,"
156 "(TMethod *)0x%zx,\"\");",
157 (
size_t)
this,(
size_t)
object,(
size_t)
method);
168 cmd.Form(
"((TContextMenu *)0x%zx)->Execute((TObject *)0x%zx,"
169 "(TMethod *)0x%zx,(TObject*)0x%zx);",
170 (
size_t)
this,(
size_t)
object,(
size_t)
method,
188 if ( (function->GetNargs() &&
menuitem->GetSelfObjectPos() < 0) ||
189 function->GetNargs() > 1) {
193 if (
menuitem->GetSelfObjectPos() < 0) {
196 cmd.Form(
"%s((TObject*)0x%zx);",
215 gROOT->SetSelectedPrimitive(
object);
273 else if (!
object &&
method)
278 return methodTitle.
Data();
289 const char*
clname =
object->IsA()->GetContextMenuTitle();
291 clname =
object->ClassName();
326 gROOT->SetSelectedPrimitive(
object);
336 object->Execute(
method->GetName(), params);
367 gROOT->SetSelectedPrimitive(
object);
383 if (!args.
IsNull()) args +=
",";
ROOT::Detail::TRangeCast< T, true > TRangeDynCast
TRangeDynCast is an adapter class that allows the typed iteration through a TCollection.
winID h TVirtualViewer3D TVirtualGLPainter p
R__EXTERN TGuiFactory * gGuiFactory
Using a TBrowser one can browse all ROOT objects.
void Refresh()
Refresh browser contents.
Global functions class (global functions are obtained from CINT).
virtual TContextMenuImp * CreateContextMenuImp(TContextMenu *c, const char *name, const char *title)
Create a batch version of TContextMenuImp.
Each ROOT method (see TMethod) has a linked list of its arguments.
Each ROOT class (see TClass) has a linked list of methods.
The TNamed class is the base class for all named ROOT classes.
Collectable string class.
Monitors objects for deletion and reflects the deletion by reverting the internal pointer to zero.
Mother of all ROOT objects.
void Clear()
Clear string without changing its capacity.
const char * Data() const
static TString Format(const char *fmt,...)
Static method which formats a string using a printf style format descriptor and return a TString.
void Form(const char *fmt,...)
Formats a string using a printf style format descriptor.
This class defines toggling facility for both - object's method or variables.
TVirtualPad is an abstract base class for the Pad and Canvas classes.
virtual void Modified(Bool_t flag=1)=0
virtual TVirtualPad * cd(Int_t subpadnumber=0)=0
virtual TVirtualPad * GetPadSave() const =0
R__ALWAYS_INLINE bool HasBeenDeleted(const TObject *obj)
Check if the TObject's memory has been deleted.