80 if (
auto gobj =
dynamic_cast<const TGObject *
>(obj)) {
81 if (
fId == 0 && gobj->fId == 0)
83 return fId == gobj->fId;
bool Bool_t
Boolean (0=false, 1=true) (bool).
const char Option_t
Option string (const char).
~TGObject() override
TGObject destructor.
Handle_t fId
X11/Win32 Window identifier.
Bool_t IsEqual(const TObject *obj) const override
Equal comparison (TGObjects are equal if they have the same window identifier).
void SaveAs(const char *filename="", Option_t *option="") const override
Write this TGObject to a file using TImage, if filename's extension signals a valid TImage::EImageFil...
An abstract interface to image processing library.
static TImage * Create()
Create an image.
virtual void FromWindow(Drawable_t, Int_t=0, Int_t=0, UInt_t=0, UInt_t=0)
virtual void WriteImage(const char *, EImageFileTypes=TImage::kUnknown)
static EImageFileTypes GetImageFileTypeFromFilename(const char *opt)
Return the image type for the extension specified in filename.
virtual Bool_t IsEqual(const TObject *obj) const
Default equal comparison (objects are equal if they have the same address in memory).
virtual void SaveAs(const char *filename="", Option_t *option="") const
Save this object in the file specified by filename.
TObject()
TObject constructor.
void CallRecursiveRemoveIfNeeded(TObject &obj)
call RecursiveRemove for obj if gROOT is valid and obj.TestBit(kMustCleanup) is true.
Window attributes that can be inquired.
Int_t fHeight
width and height of window