library: libGui
#include "TGView.h"


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

class TGViewFrame : public TGCompositeFrame

Inheritance Chart:

TGViewFrame(TGView* v, UInt_t w, UInt_t h, UInt_t options = 0, Pixel_t back = GetWhitePixel()) TGViewFrame(const TGViewFrame&) ~TGViewFrame() static TClass* Class() virtual Bool_t HandleButton(Event_t* event) virtual Bool_t HandleCrossing(Event_t* event) virtual Bool_t HandleDoubleClick(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

TGView* fView pointer back to the view

Class Description

 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        
 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

               void ~TGViewFrame()
             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)
             Bool_t HandleDoubleClick(Event_t* event)
            TClass* Class()
            TClass* IsA() const
               void ShowMembers(TMemberInspector& insp, char* parent)
               void Streamer(TBuffer& b)
               void StreamerNVirtual(TBuffer& b)
        TGViewFrame TGViewFrame(const TGViewFrame&)

Author: Fons Rademakers 30/6/2000
Last update: root/gui:$Name: $:$Id: TGView.cxx,v 1.14 2005/08/18 14:13:27 brun Exp $
Copyright (C) 1995-2000, Rene Brun and Fons Rademakers. *

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