library: libGui #include "TGIcon.h" |
TGIcon
class description - header file - source file - inheritance tree (.pdf)
protected:
TGIcon(const TGIcon& p)
virtual void DoRedraw()
TGIcon& operator=(const TGIcon&)
public:
TGIcon(const TGWindow* p, const TGPicture* pic, UInt_t w, UInt_t h, UInt_t options = kChildFrame, Pixel_t back = GetDefaultFrameBackground())
TGIcon(const TGWindow* p = 0, const char* image = "0")
virtual ~TGIcon()
virtual void ChangeBackgroundColor()
static TClass* Class()
virtual TGDimension GetDefaultSize() const
TImage* GetImage() const
const TGPicture* GetPicture() const
virtual TClass* IsA() const
virtual void MoveResize(Int_t x, Int_t y, UInt_t w = 0, UInt_t h = 0)
virtual void Reset()
virtual void Resize(UInt_t w = 0, UInt_t h = 0)
virtual void Resize(TGDimension size)
virtual void SavePrimitive(ostream& out, Option_t* option = "")
virtual void SetImage(const char* img)
virtual void SetImage(TImage* img)
virtual void SetImagePath(const char* path)
virtual void SetPicture(const TGPicture* pic)
virtual void ShowMembers(TMemberInspector& insp, char* parent)
virtual void Streamer(TBuffer& b)
void StreamerNVirtual(TBuffer& b)
protected:
const TGPicture* fPic icon picture
TImage* fImage image
TString fPath directory of image
TGIcon
This class handles GUI icons.
void SetImage(const char *img)
Set icon image.
void Reset()
Reset icon to original image. It can be used only via context menu.
void SetImagePath(const char *path)
Set directory where image is located
Author: Fons Rademakers 05/01/98
Last update: root/gui:$Name: $:$Id: TGIcon.cxx,v 1.19 2006/07/09 05:27:54 brun Exp $
Copyright (C) 1995-2000, Rene Brun and Fons Rademakers. *
ROOT page - Class index - Class Hierarchy - Top of the page
This page has been automatically generated. If you have any comments or suggestions about the page layout send a mail to ROOT support, or contact the developers with any questions or problems regarding ROOT.