ROOT  6.06/09
Reference Guide
Functions
TGTextView.cxx File Reference
#include "TGTextView.h"
#include "TGScrollBar.h"
#include "TGResourcePool.h"
#include "TSystem.h"
#include "TGDNDManager.h"
#include "TBufferFile.h"
#include "TSystemFile.h"
#include "TObjString.h"
#include "TMacro.h"
#include "TGMsgBox.h"
#include "TUrl.h"
#include "Riostream.h"
+ Include dependency graph for TGTextView.cxx:

Go to the source code of this file.

Functions

 ClassImp (TGTextView) void TGTextView
 Initialize a text view widget. More...
 
static Bool_t IsTextFile (const char *candidate)
 Returns true if given a text file Uses the specification given on p86 of the Camel book. More...
 

Function Documentation

ClassImp ( TGTextView  )

Initialize a text view widget.

Definition at line 65 of file TGTextView.cxx.

static Bool_t IsTextFile ( const char *  candidate)
static

Returns true if given a text file Uses the specification given on p86 of the Camel book.

  • Text files have no NULLs in the first block
  • and less than 30% of characters with high bit set

Definition at line 1048 of file TGTextView.cxx.

Referenced by TGTextView::HandleDNDDrop().