library: libGed #include "TFrameEditor.h"

# TFrameEditor

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

## class TFrameEditor : public TGedFrame

| Inheritance Chart:

`TObject`

<-

`TGObject`

<-

`TGWindow`

`TQObject`

<-

`TGFrame`

<-

`TGCompositeFrame`

`TGWidget`

<-

`TGedFrame`

<-

`TFrameEditor`

        protected:

          virtual void ConnectSignals2Slots()

        public:

                          TFrameEditor(const TGWindow* p, Int_t id, Int_t width = 140, Int_t height = 30, UInt_t options = kChildFrame, Pixel_t back = GetDefaultFrameBackground())
                          TFrameEditor(const TFrameEditor&)
                  virtual ~TFrameEditor()
           static TClass* Class()
             virtual void DoBorderMode()
             virtual void DoBorderSize(Int_t size)
          virtual TClass* IsA() const
             virtual void SetModel(TVirtualPad* pad, TObject* obj, Int_t event)
             virtual void ShowMembers(TMemberInspector& insp, char* parent)
             virtual void Streamer(TBuffer& b)
                     void StreamerNVirtual(TBuffer& b)

### Data Members

        protected:

                       TFrame* fFrame   TFrame object
                TGRadioButton* fBmode   set sinken frame border mode
                TGRadioButton* fBmode0  set no border
                TGRadioButton* fBmode1  set raised frame border mode
          TGLineWidthComboBox* fBsize   set frame border size
                        Bool_t fInit    init flag
             TGCompositeFrame* f3       container frame;

## Class Description

      TFrameEditor

      Editor of frame objects.

      Frame border can be set to sunken, raised or no border.
      Border size can be set for sunken or rized frames (1-15 pixels).

/* */

TFrameEditor(const TGWindow *p, Int_t id, Int_t width, Int_t height, UInt_t options, Pixel_t back) : TGedFrame(p, id, width, height, options | kVerticalFrame, back)

     Constructor of TFrame editor GUI.

~TFrameEditor()

     Destructor of frame editor.

void ConnectSignals2Slots()

     Connect signals to slots.

void SetModel(TVirtualPad* pad, TObject* obj, Int_t)

     Pick up the frame attributes.

void DoBorderMode()

     Slot connected to the border mode settings.

void DoBorderSize(Int_t size)

     Slot connected to the border size settings.

### Inline Functions

                 TClass* Class()
                 TClass* IsA() const
                    void ShowMembers(TMemberInspector& insp, char* parent)
                    void Streamer(TBuffer& b)
                    void StreamerNVirtual(TBuffer& b)
            TFrameEditor TFrameEditor(const TFrameEditor&)

Author: Ilka Antcheva 08/03/05
Last update: root/ged:$Name: TFrameEditor.cxx
Copyright (C) 1995-2002, Rene Brun and Fons Rademakers. *