/usr/include/root/TGHtmlBrowser.h is in libroot-gui-dev 5.34.14-1build1.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 | // @(#)root/guihtml:$Id$
// Author: Bertrand Bellenot 26/09/2007
/*************************************************************************
* Copyright (C) 1995-2007, Rene Brun and Fons Rademakers. *
* All rights reserved. *
* *
* For the licensing terms see $ROOTSYS/LICENSE. *
* For the list of contributors see $ROOTSYS/README/CREDITS. *
*************************************************************************/
#ifndef ROOT_TGHtmlBrowser
#define ROOT_TGHtmlBrowser
//////////////////////////////////////////////////////////////////////////
// //
// TGHtmlBrowser //
// //
//////////////////////////////////////////////////////////////////////////
#include "TGFrame.h"
class TGMenuBar;
class TGPopupMenu;
class TGStatusBar;
class TGVerticalFrame;
class TGHorizontalFrame;
class TGComboBox;
class TGTextBuffer;
class TGTextEntry;
class TGPictureButton;
class TGHtml;
class TGHtmlBrowser : public TGMainFrame {
protected:
TGMenuBar *fMenuBar; // menu bar
TGPopupMenu *fMenuFile; // "File" menu entry
TGPopupMenu *fMenuFavorites; // "Favorites" menu entry
TGPopupMenu *fMenuTools; // "Tools" menu entry
TGPopupMenu *fMenuHelp; // "Help" menu entry
TGStatusBar *fStatusBar; // status bar
TGVerticalFrame *fVerticalFrame; // main vertical frame
TGHorizontalFrame *fHorizontalFrame; // main horizontal frame
TGPictureButton *fBack; // "Back" picture button
TGPictureButton *fForward; // "Forward" picture button
TGPictureButton *fReload; // "Reload Page" picture button
TGPictureButton *fStop; // "Stop Loading" picture button
TGPictureButton *fHome; // "Home" picture button
TGComboBox *fComboBox; // combo box for URLs history
TGTextBuffer *fURLBuf; // text buffer for current URL text entry
TGTextEntry *fURL; // current URL text entry
TGHtml *fHtml; // main TGHtml widget
Int_t fNbFavorites; // number of favorites in the menu
public:
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) { Emit("Clicked(char *)",uri); } // *SIGNAL*
ClassDef(TGHtmlBrowser, 0) // very simple html browser
};
#endif
|