Logo ROOT  
Reference Guide
 
Loading...
Searching...
No Matches
TGFileBrowser.cxx File Reference
#include "TROOT.h"
#include "TSystem.h"
#include "TApplication.h"
#include "TGClient.h"
#include "TGListTree.h"
#include "TGLayout.h"
#include "TGComboBox.h"
#include "TContextMenu.h"
#include "TGTextEntry.h"
#include "TGTab.h"
#include "TGLabel.h"
#include "TSystemDirectory.h"
#include "TGMimeTypes.h"
#include "TClass.h"
#include "TQClass.h"
#include "TObjString.h"
#include "TObjArray.h"
#include "TInterpreter.h"
#include "TRegexp.h"
#include "TEnv.h"
#include "TImage.h"
#include "TBrowser.h"
#include "TRemoteObject.h"
#include "TKey.h"
#include "TKeyMapFile.h"
#include "TVirtualPad.h"
#include "Getline.h"
#include "snprintf.h"
#include <ctime>
#include <cstring>
#include <cstdlib>
#include "TGFileBrowser.h"
#include "TRootBrowser.h"
#include "TGInputDialog.h"
#include "TVirtualPadEditor.h"
#include "TGedEditor.h"
#include "TBaseClass.h"
#include "TVirtualX.h"
#include "RConfigure.h"
Include dependency graph for TGFileBrowser.cxx:

Classes

class  TCursorSwitcher
 Helper class used to change the cursor in a method and restore the original one when going out of the method scope. More...
 

Namespaces

namespace  ROOT
 tbb::task_arena is an alias of tbb::interface7::task_arena, which doesn't allow to forward declare tbb::task_arena without forward declaring tbb::interface7
 

Functions

static const char * FormatToolTip (TObject *obj, Int_t maxlen=0)
 Format the tooltip information, based on the object passed in argument.
 
static Bool_t IsObjectEditable (TClass *cl)
 Helper function checking if a class has a graphic properties editor.
 
static Bool_t IsTextFile (const char *candidate)
 Returns true if given a text file Uses the specification given on p86 of the Camel book.
 
static const TGPictureMakeLinkPic (const TGPicture *pic)
 Create a symlink (shortcut on Windows) icon by merging the picture passed as argument and the slink_t.xpm icon (small arrow)
 

Variables

const char * filters []
 
const char rootdir [] = "/"
 

Function Documentation

◆ FormatToolTip()

static const char * FormatToolTip ( TObject obj,
Int_t  maxlen = 0 
)
static

Format the tooltip information, based on the object passed in argument.

Definition at line 291 of file TGFileBrowser.cxx.

◆ IsObjectEditable()

static Bool_t IsObjectEditable ( TClass cl)
static

Helper function checking if a class has a graphic properties editor.

Definition at line 273 of file TGFileBrowser.cxx.

◆ IsTextFile()

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 1139 of file TGFileBrowser.cxx.

◆ MakeLinkPic()

static const TGPicture * MakeLinkPic ( const TGPicture pic)
static

Create a symlink (shortcut on Windows) icon by merging the picture passed as argument and the slink_t.xpm icon (small arrow)

Definition at line 1177 of file TGFileBrowser.cxx.

Variable Documentation

◆ filters

const char* filters[]
Initial value:
= {
"",
"*.*",
"*.[C|c|h]*",
"*.root",
"*.txt"
}

Definition at line 61 of file TGFileBrowser.cxx.

◆ rootdir

const char rootdir[] = "/"

Definition at line 58 of file TGFileBrowser.cxx.