library: libGui #include "TGWidget.h"

# TGWidget

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

## class TGWidget

| Inheritance Chart:

`TGWidget`

<-

`TGButton`

<-

`TGDockButton`

<-

`TGDockHideButton` |

`TGPictureButton`

<-

`TGImageMap` |

`TGTextButton`

<-

`TGCheckButton`

<-

`TGColorSelect` |

`TGedSelect`

<-

`TGedMarkerSelect` |

[more...]

        protected:

          Int_t ClearFlags(Int_t flags)
          Int_t SetFlags(Int_t flags)

        public:

                          TGWidget()
                          TGWidget(Int_t id)
                          TGWidget(const TGWidget&)
                  virtual ~TGWidget()
             virtual void Associate(const TGWindow* w)
           static TClass* Class()
              const char* GetCommand() const
                   Bool_t HasFocus() const
          virtual TClass* IsA() const
                   Bool_t IsEnabled() const
             virtual void SetCommand(const char* command)
             virtual void ShowMembers(TMemberInspector& insp, char* parent)
             virtual void Streamer(TBuffer& b)
                     void StreamerNVirtual(TBuffer& b)
                   Bool_t WantFocus() const
                    Int_t WidgetId() const

### Data Members

        protected:

                    Int_t fWidgetId     the widget id (used for event processing)
                    Int_t fWidgetFlags  widget status flags (OR of EWidgetStatus)
          const TGWindow* fMsgWindow    window which handles widget events
                  TString fCommand      command to be executed

## Class Description

     TGWidget

     The widget base class. It is light weight (all inline service
     methods) and is typically used as mixin class (via multiple
     inheritance), see for example TGButton.

### Inline Functions

                   void ~TGWidget()
                  Int_t SetFlags(Int_t flags)
                  Int_t ClearFlags(Int_t flags)
               TGWidget TGWidget()
               TGWidget TGWidget(Int_t id)
                  Int_t WidgetId() const
                 Bool_t IsEnabled() const
                 Bool_t HasFocus() const
                 Bool_t WantFocus() const
                   void Associate(const TGWindow* w)
                   void SetCommand(const char* command)
            const char* GetCommand() const
                TClass* Class()
                TClass* IsA() const
                   void ShowMembers(TMemberInspector& insp, char* parent)
                   void Streamer(TBuffer& b)
                   void StreamerNVirtual(TBuffer& b)
               TGWidget TGWidget(const TGWidget&)

Author: Fons Rademakers 05/01/98
Last update: root/gui:$Name: $:$Id: TGWidget.cxx,v 1.1.1.1 2000/05/16 17:00:42 rdm Exp $
Copyright (C) 1995-2000, Rene Brun and Fons Rademakers. *