TGViewFrame


class description - source file - inheritance tree

class TGViewFrame : public TGCompositeFrame


    public:
TGViewFrame TGViewFrame(TGView* v, UInt_t w, UInt_t h, UInt_t options = 0, ULong_t back = fgWhitePixel) TGViewFrame TGViewFrame(TGViewFrame&) void ~TGViewFrame() static TClass* Class() virtual Bool_t HandleButton(Event_t* event) virtual Bool_t HandleCrossing(Event_t* event) virtual Bool_t HandleExpose(Event_t* event) virtual Bool_t HandleKey(Event_t* event) virtual Bool_t HandleMotion(Event_t* event) virtual Bool_t HandleSelection(Event_t* event) virtual Bool_t HandleSelectionClear(Event_t* event) virtual Bool_t HandleSelectionRequest(Event_t* event) virtual TClass* IsA() const virtual void ShowMembers(TMemberInspector& insp, char* parent) virtual void Streamer(TBuffer& b) void StreamerNVirtual(TBuffer& b)

Data Members

private:
TGView* fView pointer back to the view

Class Description

                                                                      
 TGView                                                               
                                                                      
 A TGView provides the infrastructure for text viewer and editor      
 widgets. It provides a canvas (TGViewFrame) and (optionally) a       
 vertical and horizontal scrollbar and methods for marking and        
 scrolling.                                                           
                                                                      
 The TGView (and derivatives) will generate the following             
 event messages:                                                      
 kC_TEXTVIEW, kTXT_ISMARKED, widget id, [true|false]                  
 kC_TEXTVIEW, kTXT_DATACHANGE, widget id, 0                           
 kC_TEXTVIEW, kTXT_CLICK2, widget id, position (y << 16) | x)         
 kC_TEXTVIEW, kTXT_CLICK3, widget id, position (y << 16) | x)         
 kC_TEXTVIEW, kTXT_F3, widget id, true                                
 kC_TEXTVIEW, kTXT_OPEN, widget id, 0                                 
 kC_TEXTVIEW, kTXT_CLOSE, widget id, 0                                
 kC_TEXTVIEW, kTXT_SAVE, widget id, 0                                 
                                                                      


TGViewFrame(TGView *v, UInt_t w, UInt_t h, UInt_t options, ULong_t back) : TGCompositeFrame(v, w, h, options | kOwnBackground, back)
 Create a editor frame.



Inline Functions


             Bool_t HandleSelectionRequest(Event_t* event)
             Bool_t HandleSelectionClear(Event_t* event)
             Bool_t HandleSelection(Event_t* event)
             Bool_t HandleButton(Event_t* event)
             Bool_t HandleExpose(Event_t* event)
             Bool_t HandleCrossing(Event_t* event)
             Bool_t HandleMotion(Event_t* event)
             Bool_t HandleKey(Event_t* event)
            TClass* Class()
            TClass* IsA() const
               void ShowMembers(TMemberInspector& insp, char* parent)
               void Streamer(TBuffer& b)
               void StreamerNVirtual(TBuffer& b)
        TGViewFrame TGViewFrame(TGViewFrame&)
               void ~TGViewFrame()


Author: Fons Rademakers 30/6/2000
Last update: root/gui:$Name: $:$Id: TGView.cxx,v 1.9 2000/10/22 19:28:58 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.