TGHtmlBrowser Class Reference

#include <TGHtmlBrowser.h>

Inheritance diagram for TGHtmlBrowser:

TGMainFrame TGMainFrame TGMainFrame TGCompositeFrame TGCompositeFrame TGCompositeFrame TGCompositeFrame TGCompositeFrame TGCompositeFrame TGFrame TGFrame TGFrame TGFrame TGFrame TGFrame TGFrame TGFrame TGFrame TGFrame TGFrame TGFrame List of all members.

Public Member Functions

 TGHtmlBrowser (const char *filename=0, const TGWindow *p=0, UInt_t w=900, UInt_t h=600)
virtual ~TGHtmlBrowser ()
virtual Bool_t ProcessMessage (Long_t msg, Long_t parm1, Long_t)
void Selected (const char *txt)
void URLChanged ()
void Back ()
Bool_t CheckAnchors (const char *)
void Forward ()
void Reload ()
void Stop ()
void MouseOver (const char *)
void MouseDown (const char *)
void Clicked (char *uri)
 TGHtmlBrowser (const char *filename=0, const TGWindow *p=0, UInt_t w=900, UInt_t h=600)
virtual ~TGHtmlBrowser ()
virtual Bool_t ProcessMessage (Long_t msg, Long_t parm1, Long_t)
void Selected (const char *txt)
void URLChanged ()
void Back ()
Bool_t CheckAnchors (const char *)
void Forward ()
void Reload ()
void Stop ()
void MouseOver (const char *)
void MouseDown (const char *)
void Clicked (char *uri)
 TGHtmlBrowser (const char *filename=0, const TGWindow *p=0, UInt_t w=900, UInt_t h=600)
virtual ~TGHtmlBrowser ()
virtual void CloseWindow ()
virtual Bool_t ProcessMessage (Long_t msg, Long_t parm1, Long_t)
void Selected (const char *txt)
void URLChanged ()
void Back ()
void Forward ()
void Reload ()
void Stop ()
void MouseOver (char *)
void MouseDown (char *)

Protected Attributes

TGMenuBarfMenuBar
TGPopupMenufMenuFile
TGPopupMenufMenuFavorites
TGPopupMenufMenuTools
TGPopupMenufMenuHelp
TGStatusBarfStatusBar
TGVerticalFramefVerticalFrame
TGHorizontalFramefHorizontalFrame
TGPictureButtonfBack
TGPictureButtonfForward
TGPictureButtonfReload
TGPictureButtonfStop
TGPictureButtonfHome
TGComboBoxfComboBox
TGTextBufferfURLBuf
TGTextEntryfURL
TGHtmlfHtml
Int_t fNbFavorites
TGMenuBarfMenuBar
TGPopupMenufMenuFile
TGPopupMenufMenuFavorites
TGPopupMenufMenuTools
TGPopupMenufMenuHelp
TGStatusBarfStatusBar
TGVerticalFramefVerticalFrame
TGHorizontalFramefHorizontalFrame
TGPictureButtonfBack
TGPictureButtonfForward
TGPictureButtonfReload
TGPictureButtonfStop
TGPictureButtonfHome
TGComboBoxfComboBox
TGTextBufferfURLBuf
TGTextEntryfURL
TGHtmlfHtml
TGMenuBarfMenuBar
TGPopupMenufMenuFile
TGPopupMenufMenuFavorites
TGPopupMenufMenuTools
TGPopupMenufMenuHelp
TGStatusBarfStatusBar
TGVerticalFramefVerticalFrame
TGHorizontalFramefHorizontalFrame
TGPictureButtonfBack
TGPictureButtonfForward
TGPictureButtonfReload
TGPictureButtonfStop
TGPictureButtonfHome
TGComboBoxfComboBox
TGTextBufferfURLBuf
TGTextEntryfURL
TGHtmlfHtml

Detailed Description

Definition at line 34 of file TGHtmlBrowser.h.


Constructor & Destructor Documentation

TGHtmlBrowser::TGHtmlBrowser ( const char *  filename = 0,
const TGWindow p = 0,
UInt_t  w = 900,
UInt_t  h = 600 
)

Definition at line 117 of file TGHtmlBrowser.cxx.

References TGPopupMenu::AddEntry(), TGComboBox::AddEntry(), TGCompositeFrame::AddFrame(), TGMenuBar::AddPopup(), TGPopupMenu::AddSeparator(), TGPopupMenu::Associate(), TQObject::Connect(), fBack, fComboBox, fForward, fHome, fHorizontalFrame, fHtml, fMenuBar, fMenuFavorites, fMenuFile, fMenuHelp, fMenuTools, fNbFavorites, fReload, fStatusBar, fStop, fURL, fURLBuf, fVerticalFrame, gClient, TGTextEntry::GetBuffer(), TGFrame::GetDefaultHeight(), TGClient::GetDefaultRoot(), TGCompositeFrame::GetDefaultSize(), TGClient::GetPicture(), TGComboBox::GetTextEntry(), kDeepCleanup, kHorizontalFrame, kLHintsBottom, kLHintsCenterY, kLHintsExpandX, kLHintsExpandY, kLHintsLeft, kLHintsRight, kLHintsTop, kM_FILE_EXIT, kM_FILE_OPEN, kM_FILE_SAVEAS, kM_HELP_ABOUT, kVerticalFrame, TGCompositeFrame::MapSubwindows(), TGFrame::MapWindow(), TGFrame::Resize(), TGComboBox::Select(), Selected(), TGCompositeFrame::SetCleanup(), TGStatusBar::SetParts(), TGTextEntry::SetText(), and TGButton::SetToolTipText().

Referenced by G__G__GuiHtml_228_0_1().

virtual TGHtmlBrowser::~TGHtmlBrowser (  )  [inline, virtual]

Definition at line 60 of file TGHtmlBrowser.h.

TGHtmlBrowser::TGHtmlBrowser ( const char *  filename = 0,
const TGWindow p = 0,
UInt_t  w = 900,
UInt_t  h = 600 
)

virtual TGHtmlBrowser::~TGHtmlBrowser (  )  [inline, virtual]

Definition at line 60 of file TGHtmlBrowser.h.

TGHtmlBrowser::TGHtmlBrowser ( const char *  filename = 0,
const TGWindow p = 0,
UInt_t  w = 900,
UInt_t  h = 600 
)

virtual TGHtmlBrowser::~TGHtmlBrowser (  )  [inline, virtual]

Definition at line 60 of file rhtml.h.


Member Function Documentation

Bool_t TGHtmlBrowser::ProcessMessage ( Long_t  msg,
Long_t  parm1,
Long_t   
) [virtual]

Reimplemented from TGCompositeFrame.

Definition at line 557 of file TGHtmlBrowser.cxx.

References TGPopupMenu::AddEntry(), CloseWindow(), dir(), entry, TSystem::Exec(), TGObject::fClient, fComboBox, TGFileInfo::fFilename, TGFileInfo::fFileTypes, fHtml, fi, TGFileInfo::fIniDir, fMenuFavorites, fNbFavorites, Form(), fURL, gClient, GET_MSG(), GET_SUBMSG(), TGPopupMenu::GetEntry(), TSystem::Getenv(), TGComboBox::GetNumberOfEntries(), TGClient::GetPicture(), TGClient::GetRoot(), TGHtml::GetText(), TGTextEntry::GetText(), TROOT::GetVersion(), gHelpAbout, gHtmlFTypes, gROOT, gSystem, TString::IsNull(), kC_COMMAND, kCM_BUTTON, kCM_MENU, kFDOpen, kFDSave, kM_FILE_EXIT, kM_FILE_OPEN, kM_FILE_SAVEAS, kM_HELP_ABOUT, kTRUE, TGComboBox::RemoveEntries(), Selected(), sprintf(), str, StrDup(), and TSystem::UnixPathName().

void TGHtmlBrowser::Selected ( const char *  txt  ) 

Definition at line 314 of file TGHtmlBrowser.cxx.

References TGComboBox::AddEntry(), TSystem::BaseName(), buf, calloc(), CheckAnchors(), TGHtml::Clear(), Clicked(), TString::Data(), TSystem::Exec(), fclose(), fComboBox, fHtml, TGComboBox::FindEntry(), fopen, Form(), TString::Format(), free(), fURL, TGObject::GetId(), TGComboBox::GetNumberOfEntries(), TGHtml::GotoAnchor(), gROOT, gSystem, gVirtualX, HtmlError, i, TString::kIgnoreCase, kPointer, kWatch, TGView::Layout(), TGHtml::ParseText(), TROOT::ProcessLine(), ReadRemote(), TROOT::RefreshBrowsers(), TString::ReplaceAll(), TGHtml::SetBaseUri(), TGTextEntry::SetText(), TGMainFrame::SetWindowName(), snprintf, and TSystem::UnixPathName().

Referenced by Back(), Forward(), G__G__GuiHtml_228_0_3(), MouseDown(), ProcessMessage(), Reload(), TGHtmlBrowser(), and URLChanged().

void TGHtmlBrowser::URLChanged (  ) 

Definition at line 431 of file TGHtmlBrowser.cxx.

References fURL, TGTextEntry::GetText(), gSystem, Selected(), and TSystem::UnixPathName().

Referenced by G__G__GuiHtml_228_0_4().

void TGHtmlBrowser::Back (  ) 

Definition at line 442 of file TGHtmlBrowser.cxx.

References entry, TGLBEntry::EntryId(), fComboBox, TGComboBox::FindEntry(), fURL, TGComboBox::GetSelectedEntry(), TGTextEntry::GetText(), kTRUE, TGComboBox::Select(), and Selected().

Referenced by G__G__GuiHtml_228_0_5().

Bool_t TGHtmlBrowser::CheckAnchors ( const char *   ) 

Definition at line 463 of file TGHtmlBrowser.cxx.

References TGComboBox::AddEntry(), TString::Data(), fComboBox, fHtml, TGComboBox::FindEntry(), Form(), fURL, TGHtml::GetBaseUri(), TGComboBox::GetNumberOfEntries(), TGHtml::GotoAnchor(), gSystem, kFALSE, kTRUE, TString::Last(), TGView::ScrollToPosition(), TGComboBox::Select(), TGHtml::SetBaseUri(), TGTextEntry::SetText(), TGMainFrame::SetWindowName(), and TSystem::UnixPathName().

Referenced by G__G__GuiHtml_228_0_6(), and Selected().

void TGHtmlBrowser::Forward (  ) 

Definition at line 503 of file TGHtmlBrowser.cxx.

References entry, TGLBEntry::EntryId(), fComboBox, TGComboBox::FindEntry(), fURL, TGComboBox::GetSelectedEntry(), TGTextEntry::GetText(), kTRUE, TGComboBox::Select(), and Selected().

Referenced by G__G__GuiHtml_228_0_7().

void TGHtmlBrowser::Reload (  ) 

Definition at line 524 of file TGHtmlBrowser.cxx.

References fURL, TGTextEntry::GetText(), and Selected().

Referenced by G__G__GuiHtml_228_0_8().

void TGHtmlBrowser::Stop (  ) 

Definition at line 534 of file TGHtmlBrowser.cxx.

Referenced by G__G__GuiHtml_228_0_9().

void TGHtmlBrowser::MouseOver ( const char *   ) 

Definition at line 541 of file TGHtmlBrowser.cxx.

References fStatusBar, and TGStatusBar::SetText().

Referenced by G__G__GuiHtml_227_0_141(), and G__G__GuiHtml_228_0_10().

void TGHtmlBrowser::MouseDown ( const char *   ) 

Definition at line 549 of file TGHtmlBrowser.cxx.

References Selected().

Referenced by G__G__GuiHtml_227_0_142(), and G__G__GuiHtml_228_0_11().

void TGHtmlBrowser::Clicked ( char *  uri  )  [inline]

Definition at line 72 of file TGHtmlBrowser.h.

References TQObject::Emit().

Referenced by G__G__GuiHtml_228_0_12(), and Selected().

virtual Bool_t TGHtmlBrowser::ProcessMessage ( Long_t  msg,
Long_t  parm1,
Long_t   
) [virtual]

Reimplemented from TGCompositeFrame.

void TGHtmlBrowser::Selected ( const char *  txt  ) 

void TGHtmlBrowser::URLChanged (  ) 

void TGHtmlBrowser::Back (  ) 

Bool_t TGHtmlBrowser::CheckAnchors ( const char *   ) 

void TGHtmlBrowser::Forward (  ) 

void TGHtmlBrowser::Reload (  ) 

void TGHtmlBrowser::Stop (  ) 

void TGHtmlBrowser::MouseOver ( const char *   ) 

void TGHtmlBrowser::MouseDown ( const char *   ) 

void TGHtmlBrowser::Clicked ( char *  uri  )  [inline]

Definition at line 72 of file TGHtmlBrowser.h.

References TQObject::Emit().

void TGHtmlBrowser::CloseWindow (  )  [virtual]

Reimplemented from TGMainFrame.

Definition at line 217 of file rhtml.cxx.

References TGCompositeFrame::Cleanup(), gApplication, and TApplication::Terminate().

Referenced by ProcessMessage().

virtual Bool_t TGHtmlBrowser::ProcessMessage ( Long_t  msg,
Long_t  parm1,
Long_t   
) [virtual]

Reimplemented from TGCompositeFrame.

void TGHtmlBrowser::Selected ( const char *  txt  ) 

void TGHtmlBrowser::URLChanged (  ) 

void TGHtmlBrowser::Back (  ) 

void TGHtmlBrowser::Forward (  ) 

void TGHtmlBrowser::Reload (  ) 

void TGHtmlBrowser::Stop (  ) 

void TGHtmlBrowser::MouseOver ( char *   ) 

Definition at line 405 of file rhtml.cxx.

References fStatusBar, and TGStatusBar::SetText().

void TGHtmlBrowser::MouseDown ( char *   ) 

Definition at line 413 of file rhtml.cxx.

References Selected().


Member Data Documentation

TGMenuBar* TGHtmlBrowser::fMenuBar [protected]

Definition at line 38 of file TGHtmlBrowser.h.

Referenced by TGHtmlBrowser().

TGPopupMenu* TGHtmlBrowser::fMenuFile [protected]

Definition at line 39 of file TGHtmlBrowser.h.

Referenced by TGHtmlBrowser().

TGPopupMenu* TGHtmlBrowser::fMenuFavorites [protected]

Definition at line 40 of file TGHtmlBrowser.h.

Referenced by ProcessMessage(), and TGHtmlBrowser().

TGPopupMenu* TGHtmlBrowser::fMenuTools [protected]

Definition at line 41 of file TGHtmlBrowser.h.

Referenced by TGHtmlBrowser().

TGPopupMenu* TGHtmlBrowser::fMenuHelp [protected]

Definition at line 42 of file TGHtmlBrowser.h.

Referenced by TGHtmlBrowser().

TGStatusBar* TGHtmlBrowser::fStatusBar [protected]

Definition at line 43 of file TGHtmlBrowser.h.

Referenced by MouseOver(), and TGHtmlBrowser().

TGVerticalFrame* TGHtmlBrowser::fVerticalFrame [protected]

Definition at line 44 of file TGHtmlBrowser.h.

Referenced by TGHtmlBrowser().

TGHorizontalFrame* TGHtmlBrowser::fHorizontalFrame [protected]

Definition at line 45 of file TGHtmlBrowser.h.

Referenced by TGHtmlBrowser().

TGPictureButton* TGHtmlBrowser::fBack [protected]

Definition at line 46 of file TGHtmlBrowser.h.

Referenced by TGHtmlBrowser().

TGPictureButton* TGHtmlBrowser::fForward [protected]

Definition at line 47 of file TGHtmlBrowser.h.

Referenced by TGHtmlBrowser().

TGPictureButton* TGHtmlBrowser::fReload [protected]

Definition at line 48 of file TGHtmlBrowser.h.

Referenced by TGHtmlBrowser().

TGPictureButton* TGHtmlBrowser::fStop [protected]

Definition at line 49 of file TGHtmlBrowser.h.

Referenced by TGHtmlBrowser().

TGPictureButton* TGHtmlBrowser::fHome [protected]

Definition at line 50 of file TGHtmlBrowser.h.

Referenced by TGHtmlBrowser().

TGComboBox* TGHtmlBrowser::fComboBox [protected]

Definition at line 51 of file TGHtmlBrowser.h.

Referenced by Back(), CheckAnchors(), Forward(), ProcessMessage(), Selected(), and TGHtmlBrowser().

TGTextBuffer* TGHtmlBrowser::fURLBuf [protected]

Definition at line 52 of file TGHtmlBrowser.h.

Referenced by TGHtmlBrowser().

TGTextEntry* TGHtmlBrowser::fURL [protected]

Definition at line 53 of file TGHtmlBrowser.h.

Referenced by Back(), CheckAnchors(), Forward(), ProcessMessage(), Reload(), Selected(), TGHtmlBrowser(), and URLChanged().

TGHtml* TGHtmlBrowser::fHtml [protected]

Definition at line 54 of file TGHtmlBrowser.h.

Referenced by CheckAnchors(), ProcessMessage(), Selected(), and TGHtmlBrowser().

Int_t TGHtmlBrowser::fNbFavorites [protected]

Definition at line 55 of file TGHtmlBrowser.h.

Referenced by ProcessMessage(), and TGHtmlBrowser().

TGMenuBar* TGHtmlBrowser::fMenuBar [protected]

Definition at line 38 of file TGHtmlBrowser.h.

TGPopupMenu* TGHtmlBrowser::fMenuFile [protected]

Definition at line 39 of file TGHtmlBrowser.h.

TGPopupMenu* TGHtmlBrowser::fMenuFavorites [protected]

Definition at line 40 of file TGHtmlBrowser.h.

TGPopupMenu* TGHtmlBrowser::fMenuTools [protected]

Definition at line 41 of file TGHtmlBrowser.h.

TGPopupMenu* TGHtmlBrowser::fMenuHelp [protected]

Definition at line 42 of file TGHtmlBrowser.h.

TGStatusBar* TGHtmlBrowser::fStatusBar [protected]

Definition at line 43 of file TGHtmlBrowser.h.

TGVerticalFrame* TGHtmlBrowser::fVerticalFrame [protected]

Definition at line 44 of file TGHtmlBrowser.h.

TGHorizontalFrame* TGHtmlBrowser::fHorizontalFrame [protected]

Definition at line 45 of file TGHtmlBrowser.h.

TGPictureButton* TGHtmlBrowser::fBack [protected]

Definition at line 46 of file TGHtmlBrowser.h.

TGPictureButton* TGHtmlBrowser::fForward [protected]

Definition at line 47 of file TGHtmlBrowser.h.

TGPictureButton* TGHtmlBrowser::fReload [protected]

Definition at line 48 of file TGHtmlBrowser.h.

TGPictureButton* TGHtmlBrowser::fStop [protected]

Definition at line 49 of file TGHtmlBrowser.h.

TGPictureButton* TGHtmlBrowser::fHome [protected]

Definition at line 50 of file TGHtmlBrowser.h.

TGComboBox* TGHtmlBrowser::fComboBox [protected]

Definition at line 51 of file TGHtmlBrowser.h.

TGTextBuffer* TGHtmlBrowser::fURLBuf [protected]

Definition at line 52 of file TGHtmlBrowser.h.

TGTextEntry* TGHtmlBrowser::fURL [protected]

Definition at line 53 of file TGHtmlBrowser.h.

TGHtml* TGHtmlBrowser::fHtml [protected]

Definition at line 54 of file TGHtmlBrowser.h.

TGMenuBar* TGHtmlBrowser::fMenuBar [protected]

Definition at line 38 of file rhtml.h.

TGPopupMenu* TGHtmlBrowser::fMenuFile [protected]

Definition at line 39 of file rhtml.h.

TGPopupMenu* TGHtmlBrowser::fMenuFavorites [protected]

Definition at line 40 of file rhtml.h.

TGPopupMenu* TGHtmlBrowser::fMenuTools [protected]

Definition at line 41 of file rhtml.h.

TGPopupMenu* TGHtmlBrowser::fMenuHelp [protected]

Definition at line 42 of file rhtml.h.

TGStatusBar* TGHtmlBrowser::fStatusBar [protected]

Definition at line 43 of file rhtml.h.

TGVerticalFrame* TGHtmlBrowser::fVerticalFrame [protected]

Definition at line 44 of file rhtml.h.

TGHorizontalFrame* TGHtmlBrowser::fHorizontalFrame [protected]

Definition at line 45 of file rhtml.h.

TGPictureButton* TGHtmlBrowser::fBack [protected]

Definition at line 46 of file rhtml.h.

TGPictureButton* TGHtmlBrowser::fForward [protected]

Definition at line 47 of file rhtml.h.

TGPictureButton* TGHtmlBrowser::fReload [protected]

Definition at line 48 of file rhtml.h.

TGPictureButton* TGHtmlBrowser::fStop [protected]

Definition at line 49 of file rhtml.h.

TGPictureButton* TGHtmlBrowser::fHome [protected]

Definition at line 50 of file rhtml.h.

TGComboBox* TGHtmlBrowser::fComboBox [protected]

Definition at line 51 of file rhtml.h.

TGTextBuffer* TGHtmlBrowser::fURLBuf [protected]

Definition at line 52 of file rhtml.h.

TGTextEntry* TGHtmlBrowser::fURL [protected]

Definition at line 53 of file rhtml.h.

TGHtml* TGHtmlBrowser::fHtml [protected]

Definition at line 54 of file rhtml.h.


The documentation for this class was generated from the following files:
Generated on Tue Jul 5 16:39:32 2011 for ROOT_528-00b_version by  doxygen 1.5.1