library: libGui
#include "TGIcon.h"

TGIcon


class description - source file - inheritance tree (.pdf)

class TGIcon : public TGFrame

Inheritance Chart:
TObject
<-
TGObject
<-
TGWindow
TQObject
<-
TGFrame
<-
TGIcon
<-
TGMdiTitleIcon

    protected:
virtual void DoRedraw() public:
TGIcon(const TGWindow* p = 0, const TGPicture* pic = 0, UInt_t w = 1, UInt_t h = 1, UInt_t options = kChildFrame, Pixel_t back = GetDefaultFrameBackground()) TGIcon(const TGIcon&) ~TGIcon() static TClass* Class() virtual TGDimension GetDefaultSize() const const TGPicture* GetPicture() const virtual TClass* IsA() const virtual void SavePrimitive(ofstream& out, Option_t* option) virtual void SetPicture(const TGPicture* pic) virtual void ShowMembers(TMemberInspector& insp, char* parent) virtual void Streamer(TBuffer& b) void StreamerNVirtual(TBuffer& b)

Data Members


    protected:
const TGPicture* fPic icon picture

Class Description

                                                                      
 TGIcon                                                               
                                                                      
 This class handles GUI icons.                                        
                                                                      


~TGIcon()
 Delete icon and free picture.

void SetPicture(const TGPicture *pic)
 Set icon picture.

TGDimension GetDefaultSize() const
 Return size of icon.

void DoRedraw()
 Redraw picture.

void SavePrimitive(ofstream &out, Option_t *option)
 Save an icon widget as a C++ statement(s) on output stream out.



Inline Functions


                  TGIcon TGIcon(const TGWindow* p = 0, const TGPicture* pic = 0, UInt_t w = 1, UInt_t h = 1, UInt_t options = kChildFrame, Pixel_t back = GetDefaultFrameBackground())
        const TGPicture* GetPicture() const
                 TClass* Class()
                 TClass* IsA() const
                    void ShowMembers(TMemberInspector& insp, char* parent)
                    void Streamer(TBuffer& b)
                    void StreamerNVirtual(TBuffer& b)
                  TGIcon TGIcon(const TGIcon&)


Author: Fons Rademakers 05/01/98
Last update: root/gui:$Name: $:$Id: TGIcon.cxx,v 1.10 2005/09/05 13:33:08 rdm 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.