TGWidget


class description - source file - inheritance tree

class TGWidget


    protected:
Int_t ClearFlags(Int_t flags) Int_t SetFlags(Int_t flags) public:
TGWidget TGWidget() TGWidget TGWidget(Int_t id) TGWidget TGWidget(const TGWidget&) virtual void ~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


See also

TGButton, TGColorPalette, TGColorPick, TGComboBox, TGDoubleSlider, TGListBox, TGNumberEntry, TGScrollBar, TGShutterItem, TGSlider, TGTab, TGTextEntry, TGView

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


              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&)
               void ~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. *


ROOT page - Class index - 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.