TDialogCanvas


class description - source file - inheritance tree

class TDialogCanvas : public TCanvas, public TAttText


    public:
TDialogCanvas TDialogCanvas() TDialogCanvas TDialogCanvas(const char* name, const char* title, UInt_t ww, UInt_t wh) virtual void ~TDialogCanvas() virtual void Apply(const char* action) virtual void BuildStandardButtons() static TClass* Class() virtual void Divide(Int_t nx = 1, Int_t ny = 1, Float_t xmargin = 0.01, Float_t ymargin = 0.01, Int_t color = 0) TObject* GetRefObject() TPad* GetRefPad() virtual TClass* IsA() const virtual void Range(Double_t x1, Double_t y1, Double_t x2, Double_t y2) virtual void RecursiveRemove(TObject* obj) virtual void SetBorderMode(Short_t bordermode) virtual void SetGrid(Int_t valuex = 1, Int_t valuey = 1) virtual void SetLogx(Int_t value = 1) virtual void SetLogy(Int_t value = 1) virtual void SetName(const char* name) virtual void SetObject() virtual void SetRefObject(TObject* obj) virtual void SetRefPad(TPad* pad) virtual void ShowMembers(TMemberInspector& insp, char* parent) virtual void Streamer(TBuffer& b) void StreamerNVirtual(TBuffer& b) virtual void x3d(Option_t* option)

Data Members

protected:
TObject* fRefObject Pointer to object to set attributes TPad* fRefPad Pad containing object


See also

TAttFillCanvas, TAttLineCanvas, TAttMarkerCanvas, TAttTextCanvas, TDrawPanelHist, TFitPanel

Class Description

*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*
*-*
*-*   A DialogCanvas is a canvas specialized to set attributes.
*-*   It contains, in general, TGroupButton objects.
*-*   When the APPLY button is executed, the actions corresponding
*-*   to the active buttons are executed via the Interpreter.
*-*
*-*  See examples in TAttLineCanvas, TAttFillCanvas, TAttTextCanvas, TAttMarkerCanvas

TDialogCanvas() : TCanvas()
*-*-*-*-*-*-*-*-*-*-*-*DialogCanvas default constructor*-*-*-*-*-*-*-*-*-*-*
*-*                    ================================

TDialogCanvas(const char *name, const char *title, UInt_t ww, UInt_t wh) : TCanvas(name,title,-ww,wh)
*-*-*-*-*-*-*-*-*-*-*-*DialogCanvas constructor*-*-*-*-*-*-*-*-*-*-*-*-*-*-*
*-*                    ========================

~TDialogCanvas()
*-*-*-*-*-*-*-*-*-*-*DialogCanvas default destructor*-*-*-*-*-*-*-*-*-*-*-*
*-*                  ===============================

void Apply(const char *action)
*-*-*-*-*-*-*-*-*Called when the APPLY button is executed*-*-*-*-*-*-*-*-*-*-*
*-*              ========================================

void BuildStandardButtons()
*-*-*-*-*-*-*-*-*Create APPLY, gStyle and CLOSE buttons*-*-*-*-*-*-*-*-*-*-*
*-*              ======================================

void Range(Double_t x1, Double_t y1, Double_t x2, Double_t y2)
*-*-*-*-*-*-*-*-*-*-*Set world coordinate system for the pad*-*-*-*-*-*-*
*-*                  =======================================

void RecursiveRemove(TObject *obj)
*-*-*-*-*-*-*-*Recursively remove object from a pad and its subpads*-*-*-*-*
*-*            ====================================================

void SetObject()
*-*-*-*-*-*-*Copy referenced object/pad in gROOT to this dialogcanvas*-*-*-*
*-*          ========================================================



Inline Functions


               void Divide(Int_t nx = 1, Int_t ny = 1, Float_t xmargin = 0.01, Float_t ymargin = 0.01, Int_t color = 0)
           TObject* GetRefObject()
              TPad* GetRefPad()
               void SetBorderMode(Short_t bordermode)
               void SetGrid(Int_t valuex = 1, Int_t valuey = 1)
               void SetLogx(Int_t value = 1)
               void SetLogy(Int_t value = 1)
               void SetName(const char* name)
               void SetRefObject(TObject* obj)
               void SetRefPad(TPad* pad)
               void x3d(Option_t* option)
            TClass* Class()
            TClass* IsA() const
               void ShowMembers(TMemberInspector& insp, char* parent)
               void Streamer(TBuffer& b)
               void StreamerNVirtual(TBuffer& b)


Author: Rene Brun 03/07/96
Last update: root/gpad:$Name: $:$Id: TDialogCanvas.cxx,v 1.3 2000/11/21 20:21:18 brun 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.