27 #ifndef ROOT_TGDimension
60 virtual void SetImage(
const char *img);
TImage * GetImage() const
virtual TGDimension GetDefaultSize() const
Return size of icon.
virtual void Resize(TGDimension size)
Resize the frame.
virtual void SetImage(const char *img)
Set icon image.
An abstract interface to image processing library.
TGIcon(const TGWindow *p, const TGPicture *pic, UInt_t w, UInt_t h, UInt_t options=kChildFrame, Pixel_t back=GetDefaultFrameBackground())
virtual void Resize(UInt_t w=0, UInt_t h=0)
Resize.
#define ClassDef(name, id)
static Pixel_t GetDefaultFrameBackground()
Get default frame background.
virtual ~TGIcon()
Delete icon and free picture.
virtual void ChangeBackgroundColor()
TGIcon & operator=(const TGIcon &)
virtual void MoveResize(Int_t x, Int_t y, UInt_t w=0, UInt_t h=0)
Move icon to (x,y) and resize it to (w,h).
virtual void SavePrimitive(std::ostream &out, Option_t *option="")
Save an icon widget as a C++ statement(s) on output stream out.
virtual void SetImagePath(const char *path)
Set directory where image is located.
virtual void DoRedraw()
Redraw picture.
const TGPicture * GetPicture() const
virtual void SetPicture(const TGPicture *pic)
Set icon picture.
virtual void SetWindowName(const char *name=0)
Set window name.
virtual void Reset()
Reset icon to original image. It can be used only via context menu.
const char Int_t const char * image