TGuiFactory


class description - source file - inheritance tree

class TGuiFactory : public TNamed


    public:
TGuiFactory TGuiFactory(const char* name = "Batch", const char* title = "Batch GUI Factory") TGuiFactory TGuiFactory(const TGuiFactory&) virtual void ~TGuiFactory() static TClass* Class() virtual TApplicationImp* CreateApplicationImp(const char* classname, int* argc, char** argv) virtual TBrowserImp* CreateBrowserImp(TBrowser* b, const char* title, UInt_t width, UInt_t height) virtual TBrowserImp* CreateBrowserImp(TBrowser* b, const char* title, Int_t x, Int_t y, UInt_t width, UInt_t height) virtual TCanvasImp* CreateCanvasImp(TCanvas* c, const char* title, UInt_t width, UInt_t height) virtual TCanvasImp* CreateCanvasImp(TCanvas* c, const char* title, Int_t x, Int_t y, UInt_t width, UInt_t height) virtual TContextMenuImp* CreateContextMenuImp(TContextMenu* c, const char* name, const char* title) virtual TControlBarImp* CreateControlBarImp(TControlBar* c, const char* title) virtual TControlBarImp* CreateControlBarImp(TControlBar* c, const char* title, Int_t x, Int_t y) virtual TInspectorImp* CreateInspectorImp(const TObject* obj, UInt_t width, UInt_t height) virtual TClass* IsA() const virtual void ShowMembers(TMemberInspector& insp, char* parent) virtual void Streamer(TBuffer& b) void StreamerNVirtual(TBuffer& b)

Data Members





See also

TRootGuiFactory

Class Description

                                                                      
 TGuiFactory                                                          
                                                                      
 This ABC is a factory for GUI components. Depending on which         
 factory is active one gets either ROOT native (X11 based with Win95  
 look and feel), Win32 or Mac components.                             
 In case there is no platform dependent implementation on can run in  
 batch mode directly using an instance of this base class.            
                                                                      


TGuiFactory(const char *name, const char *title) : TNamed(name, title)
 TGuiFactory ctor only called by derived classes.

TApplicationImp* CreateApplicationImp(const char *classname, int *argc, char **argv)
 Create a batch version of TApplicationImp.

TCanvasImp* CreateCanvasImp(TCanvas *c, const char *title, UInt_t width, UInt_t height)
 Create a batch version of TCanvasImp.

TCanvasImp* CreateCanvasImp(TCanvas *c, const char *title, Int_t x, Int_t y, UInt_t width, UInt_t height)
 Create a batch version of TCanvasImp.

TBrowserImp* CreateBrowserImp(TBrowser *b, const char *title, UInt_t width, UInt_t height)
 Create a batch version of TBrowserImp.

TBrowserImp* CreateBrowserImp(TBrowser *b, const char *title, Int_t x, Int_t y, UInt_t width, UInt_t height)
 Create a batch version of TBrowserImp.

TContextMenuImp* CreateContextMenuImp(TContextMenu *c, const char *, const char *)
 Create a batch version of TContextMenuImp.

TControlBarImp* CreateControlBarImp(TControlBar *c, const char *title)
 Create a batch version of TControlBarImp.

TControlBarImp* CreateControlBarImp(TControlBar *c, const char *title, Int_t x, Int_t y)
 Create a batch version of TControlBarImp.

TInspectorImp* CreateInspectorImp(const TObject *obj, UInt_t width, UInt_t height)
 Create a batch version of TInspectorImp.



Inline Functions


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


Author: Fons Rademakers 15/11/95
Last update: root/base:$Name: $:$Id: TGuiFactory.cxx,v 1.4 2002/09/15 19:45:59 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.