class TGHtml: public TGView


 The ROOT HTML widget. A derivate of TGView.

Function Members (Methods)

TGHtml(const TGWindow* p, int w, int h, int id = -1)
voidTObject::AbstractMethod(const char* method) const
virtual voidTGFrame::Activate(Bool_t)
virtual voidTGCompositeFrame::AddFrame(TGFrame* f, TGLayoutHints* l = 0)
voidTGFrame::AddInput(UInt_t emask)
voidAppendArglist(TGString* str, TGHtmlMarkupElement* pElem)
virtual voidTObject::AppendPad(Option_t* option = "")
virtual voidTGWidget::Associate(const TGWindow* w)
virtual voidTObject::Browse(TBrowser* b)
intCellSpacing(TGHtmlElement* pTable)
virtual voidTGView::ChangeBackground(Pixel_t)
virtual voidTQObject::ChangedBy(const char* method)
virtual voidTGCompositeFrame::ChangeOptions(UInt_t options)
virtual voidTGCompositeFrame::ChangeSubframesBackground(Pixel_t back)
static TClass*Class()
virtual const char*TObject::ClassName() const
virtual voidTGCompositeFrame::Cleanup()
virtual voidClear(Option_t* = "")
virtual TObject*TObject::Clone(const char* newname = "") const
virtual Int_tTObject::Compare(const TObject* obj) const
Bool_tTQObject::Connect(const char* signal, const char* receiver_class, void* receiver, const char* slot)
static Bool_tTQObject::Connect(TQObject* sender, const char* signal, const char* receiver_class, void* receiver, const char* slot)
static Bool_tTQObject::Connect(const char* sender_class, const char* signal, const char* receiver_class, void* receiver, const char* slot)
virtual voidTQObject::Connected(const char*)
Bool_tTGFrame::Contains(Int_t x, Int_t y) const
virtual voidTObject::Copy(TObject& object) const
virtual voidTGFrame::Delete(Option_t* = "")
virtual voidTGFrame::DeleteWindow()
virtual voidTQObject::Destroyed()
virtual voidTGWindow::DestroySubwindows()
virtual voidTGWindow::DestroyWindow()
Bool_tTQObject::Disconnect(const char* signal = 0, void* receiver = 0, const char* slot = 0)
static Bool_tTQObject::Disconnect(TQObject* sender, const char* signal = 0, void* receiver = 0, const char* slot = 0)
static Bool_tTQObject::Disconnect(const char* class_name, const char* signal, void* receiver = 0, const char* slot = 0)
virtual voidTQObject::Disconnected(const char*)
virtual Int_tTObject::DistancetoPrimitive(Int_t px, Int_t py)
virtual voidTObject::Draw(Option_t* option = "")
virtual voidTGView::DrawBorder()
virtual voidTGFrame::DrawClass() const
virtual TObject*TGFrame::DrawClone(Option_t* = "") const
virtual voidTGFrame::DrawCopy(Handle_t, Int_t, Int_t)
virtual voidDrawRegion(Int_t x, Int_t y, UInt_t w, UInt_t h)
virtual voidTGFrame::Dump() const
char*DumpToken(TGHtmlElement* p)
intElementCoords(TGHtmlElement* p, int i, int pct, int* coords)
voidTQObject::Emit(const char* signal)
voidTQObject::Emit(const char* signal, Long_t* paramArr)
voidTQObject::Emit(const char* signal, const char* params)
voidTQObject::Emit(const char* signal, Double_t param)
voidTQObject::Emit(const char* signal, Long_t param)
voidTQObject::Emit(const char* signal, Long64_t param)
voidTQObject::Emit(const char* signal, Bool_t param)
voidTQObject::Emit(const char* signal, Char_t param)
voidTQObject::Emit(const char* signal, UChar_t param)
voidTQObject::Emit(const char* signal, Short_t param)
voidTQObject::Emit(const char* signal, UShort_t param)
voidTQObject::Emit(const char* signal, Int_t param)
voidTQObject::Emit(const char* signal, UInt_t param)
voidTQObject::Emit(const char* signal, ULong_t param)
voidTQObject::Emit(const char* signal, ULong64_t param)
voidTQObject::Emit(const char* signal, Float_t param)
voidTQObject::EmitVA(const char* signal, Int_t nargs)
voidTQObject::EmitVA(const char* signal, Int_t nargs, va_list va)
voidEncodeText(TGString* str, const char* z)
virtual voidTObject::Error(const char* method, const char* msgfmt) const
virtual voidTObject::Execute(const char* method, const char* params, Int_t* error = 0)
virtual voidTObject::Execute(TMethod* method, TObjArray* params, Int_t* error = 0)
virtual voidTObject::ExecuteEvent(Int_t event, Int_t px, Int_t py)
virtual voidTObject::Fatal(const char* method, const char* msgfmt) const
TGHtmlElement*FindEndNest(TGHtmlElement* sp, int en, TGHtmlElement* lp)
virtual TObject*TObject::FindObject(const char* name) const
virtual TObject*TObject::FindObject(const TObject* obj) const
virtual intFormAction(TGHtmlForm*, int)
virtual intFormCreate(TGHtmlForm*, const char*, const char*)
virtual Pixel_tTGFrame::GetBackground() const
const char*GetBaseUri() const
static const TGGC&TGFrame::GetBckgndGC()
static const TGGC&TGFrame::GetBlackGC()
static Pixel_tTGFrame::GetBlackPixel()
Int_tTGFrame::GetBorderWidth() const
TGViewFrame*TGView::GetCanvas() const
TGClient*TGObject::GetClient() const
const char*TGWidget::GetCommand() const
static Int_tTGWindow::GetCounter()
static Pixel_tTGFrame::GetDefaultFrameBackground()
virtual UInt_tTGCompositeFrame::GetDefaultHeight() const
static Pixel_tTGFrame::GetDefaultSelectedBackground()
virtual TGDimensionTGView::GetDefaultSize() const
virtual UInt_tTGCompositeFrame::GetDefaultWidth() const
virtual TDNDData*TGFrame::GetDNDData(Atom_t)
virtual Int_tTGFrame::GetDragType() const
virtual Option_t*TObject::GetDrawOption() const
virtual Int_tTGFrame::GetDropType() const
static Long_tTObject::GetDtorOnly()
virtual UInt_tTGWindow::GetEditDisabled() const
UInt_tTGFrame::GetEventMask() const
virtual TGFont*GetFont(int iFont)
virtual char*GetFontName()
virtual Pixel_tTGFrame::GetForeground() const
TGFrameElement*TGFrame::GetFrameElement() const
virtual TGFrame*TGCompositeFrame::GetFrameFromPoint(Int_t x, Int_t y)
UInt_tTGFrame::GetHeight() const
static const TGGC&TGFrame::GetHilightGC()
const char*GetHref(int x, int y, const char** target = 0)
virtual const char*TObject::GetIconName() const
Handle_tTGObject::GetId() const
TGHtmlImage*GetImage(TGHtmlImageMarkup* p)
virtual TGLayoutManager*TGCompositeFrame::GetLayoutManager() const
virtual TList*TGCompositeFrame::GetList() const
TList*TQObject::GetListOfClassSignals() const
TList*TQObject::GetListOfConnections() const
TList*TQObject::GetListOfSignals() const
virtual const TGWindow*TGWindow::GetMainFrame() const
TGHtmlElement*GetMap(const char* name)
UInt_tTGFrame::GetMaxHeight() const
UInt_tTGFrame::GetMaxWidth() const
UInt_tTGFrame::GetMinHeight() const
UInt_tTGFrame::GetMinWidth() const
virtual const char*TGWindow::GetName() const
virtual char*TObject::GetObjectInfo(Int_t px, Int_t py) const
static Bool_tTObject::GetObjectStat()
virtual Option_t*TObject::GetOption() const
virtual UInt_tTGFrame::GetOptions() const
const TGWindow*TGWindow::GetParent() const
intGetRulePadding() const
intGetRuleRelief() const
TGLongPositionTGView::GetScrollPosition() const
TGLongPositionTGView::GetScrollValue() const
static const TGGC&TGFrame::GetShadowGC()
TGDimensionTGFrame::GetSize() const
Int_tTGCompositeFrame::GetState(TGFrame* f) const
intGetTableRelief() const
const char*GetText() const
virtual const char*TObject::GetTitle() const
char*GetTokenName(TGHtmlElement* p)
virtual UInt_tTObject::GetUniqueID() const
const TGGC&TGView::GetViewWhiteGC()
TGDimensionTGView::GetVirtualSize() const
static const TGGC&TGFrame::GetWhiteGC()
static Pixel_tTGFrame::GetWhitePixel()
UInt_tTGFrame::GetWidth() const
Int_tTGFrame::GetX() const
Int_tTGFrame::GetY() const
intGotoAnchor(const char* name)
virtual Bool_tHandleButton(Event_t* event)
virtual Bool_tTGFrame::HandleClientMessage(Event_t* event)
virtual Bool_tTGFrame::HandleColormapChange(Event_t*)
virtual Bool_tTGFrame::HandleConfigureNotify(Event_t* event)
virtual Bool_tTGCompositeFrame::HandleCrossing(Event_t*)
virtual Bool_tTGFrame::HandleDNDDrop(TDNDData*)
virtual Atom_tTGFrame::HandleDNDEnter(Atom_t*)
virtual Bool_tTGFrame::HandleDNDFinished()
virtual Bool_tTGFrame::HandleDNDLeave()
virtual Atom_tTGFrame::HandleDNDPosition(Int_t, Int_t, Atom_t, Int_t, Int_t)
virtual Bool_tTGCompositeFrame::HandleDoubleClick(Event_t*)
virtual Bool_tTGCompositeFrame::HandleDragDrop(TGFrame* frame, Int_t x, Int_t y, TGLayoutHints* lo)
virtual Bool_tTGCompositeFrame::HandleDragEnter(TGFrame*)
virtual Bool_tTGCompositeFrame::HandleDragLeave(TGFrame*)
virtual Bool_tTGCompositeFrame::HandleDragMotion(TGFrame*)
virtual Bool_tTGFrame::HandleEvent(Event_t* event)
virtual Bool_tTGView::HandleExpose(Event_t* event)
virtual Bool_tHandleFocusChange(Event_t* event)
virtual Bool_tHandleIdleEvent(TGIdleHandler* i)
virtual Bool_tTGCompositeFrame::HandleKey(Event_t*)
virtual Bool_tHandleMotion(Event_t* event)
virtual Bool_tTGCompositeFrame::HandleSelection(Event_t*)
virtual Bool_tTGFrame::HandleSelectionClear(Event_t*)
virtual Bool_tTGFrame::HandleSelectionRequest(Event_t*)
virtual Bool_tHandleTimer(TTimer* timer)
virtual Bool_tTQObject::HasConnection(const char* signal_name) const
Bool_tTGWidget::HasFocus() const
virtual ULong_tTGObject::Hash() const
virtual voidTGCompositeFrame::HideFrame(TGFrame* f)
virtual voidTQObject::HighPriority(const char* signal_name, const char* slot_name = 0)
virtual voidTGWindow::IconifyWindow()
intInArea(TGHtmlMapArea* p, int left, int top, int x, int y)
virtual voidTObject::Info(const char* method, const char* msgfmt) const
virtual Bool_tTObject::InheritsFrom(const char* classname) const
virtual Bool_tTObject::InheritsFrom(const TClass* cl) const
virtual voidTGFrame::Inspect() const
voidTObject::InvertBit(UInt_t f)
virtual TClass*IsA() const
virtual Bool_tTGFrame::IsActive() const
Bool_tTGCompositeFrame::IsArranged(TGFrame* f) const
Bool_tTGCompositeFrame::IsArranged(TGFrameElement* ptr) const
virtual Bool_tTGCompositeFrame::IsComposite() const
Bool_tTGFrame::IsDNDSource() const
Bool_tTGFrame::IsDNDTarget() const
virtual Bool_tTGCompositeFrame::IsEditable() const
Bool_tTGWidget::IsEnabled() const
virtual Bool_tTGObject::IsEqual(const TObject* obj) const
virtual Bool_tTObject::IsFolder() const
virtual Bool_tTGCompositeFrame::IsLayoutBroken() const
virtual Bool_tTGWindow::IsMapped()
virtual Bool_tTGCompositeFrame::IsMapSubwindows() const
Bool_tTObject::IsOnHeap() const
virtual Bool_tTObject::IsSortable() const
Bool_tTGCompositeFrame::IsVisible(TGFrame* f) const
Bool_tTGCompositeFrame::IsVisible(TGFrameElement* ptr) const
virtual intIsVisited(const char*)
Bool_tTObject::IsZombie() const
virtual Bool_tItemLayout()
virtual voidTGView::Layout()
TGString*ListTokens(TGHtmlElement* p, TGHtmlElement* pEnd)
virtual TImage*LoadImage(const char* uri, int w = 0, int h = 0)
static voidTQObject::LoadRQ_OBJECT()
virtual voidTGWindow::LowerWindow()
virtual voidTQObject::LowPriority(const char* signal_name, const char* slot_name = 0)
virtual voidTObject::ls(Option_t* option = "") const
virtual voidTGFrame::MapRaised()
virtual voidTGCompositeFrame::MapSubwindows()
virtual voidTGFrame::MapWindow()
voidTObject::MayNotUse(const char* method) const
virtual voidTQObject::Message(const char* msg)
virtual voidMouseDown(const char* uri)
virtual voidMouseOver(const char* uri)
virtual voidTGFrame::Move(Int_t x, Int_t y)
virtual voidTGFrame::MoveResize(Int_t x, Int_t y, UInt_t w = 0, UInt_t h = 0)
voidMoveVertically(TGHtmlElement* p, TGHtmlElement* pLast, int dy)
virtual Int_tTGCompositeFrame::MustCleanup() const
virtual Bool_tTObject::Notify()
virtual Int_tTQObject::NumberOfConnections() const
virtual Int_tTQObject::NumberOfSignals() const
static voidTObject::operator delete(void* ptr)
static voidTObject::operator delete(void* ptr, void* vp)
static voidTObject::operator delete[](void* ptr)
static voidTObject::operator delete[](void* ptr, void* vp)
void*TObject::operator new(size_t sz)
void*TObject::operator new(size_t sz, void* vp)
void*TObject::operator new[](size_t sz)
void*TObject::operator new[](size_t sz, void* vp)
virtual voidTObject::Paint(Option_t* option = "")
intParseText(char* text, const char* index = 0)
virtual voidTObject::Pop()
virtual voidTGCompositeFrame::Print(Option_t* option = "") const
voidPrintList(TGHtmlElement* first, TGHtmlElement* last)
virtual TGFrame*ProcessApplet(TGHtmlInput*)
virtual voidTGFrame::ProcessedEvent(Event_t* event)
virtual intProcessFrame()
virtual Bool_tProcessMessage(Long_t, Long_t, Long_t)
virtual char*ProcessScript(TGHtmlScript*)
virtual intProcessToken(TGHtmlElement*, const char*, int)
virtual voidTGWindow::RaiseWindow()
virtual Int_tTObject::Read(const char* name)
virtual voidTGFrame::ReallyDelete()
virtual voidTObject::RecursiveRemove(TObject* obj)
virtual voidTGCompositeFrame::RemoveFrame(TGFrame* f)
voidTGFrame::RemoveInput(UInt_t emask)
virtual voidTGFrame::ReparentWindow(const TGWindow* p, Int_t x = 0, Int_t y = 0)
virtual voidTGWindow::RequestFocus()
voidTObject::ResetBit(UInt_t f)
virtual voidTGFrame::Resize(TGDimension size)
virtual voidTGFrame::Resize(UInt_t w = 0, UInt_t h = 0)
virtual char*ResolveUri(const char* uri)
virtual voidTGObject::SaveAs(const char* filename = "", Option_t* option = "") const
virtual voidTGCompositeFrame::SavePrimitive(ostream& out, Option_t* option = "")
virtual voidTGCompositeFrame::SavePrimitiveSubframes(ostream& out, Option_t* option = "")
voidTGFrame::SaveUserColor(ostream& out, Option_t*)
virtual voidTGView::ScrollCanvas(Int_t newTop, Int_t direction)
voidTGView::ScrollDown(Int_t pixels)
voidTGView::ScrollLeft(Int_t pixels)
voidTGView::ScrollRight(Int_t pixels)
virtual voidTGView::ScrollToPosition(TGLongPosition newPos)
voidTGView::ScrollUp(Int_t pixels)
virtual voidTGFrame::SendMessage(const TGWindow* w, Long_t msg, Long_t parm1, Long_t parm2)
virtual voidTGView::SetBackgroundColor(Pixel_t)
virtual voidTGView::SetBackgroundPixmap(Pixmap_t p)
voidSetBaseUri(const char* uri)
voidTObject::SetBit(UInt_t f)
voidTObject::SetBit(UInt_t f, Bool_t set)
virtual voidTGCompositeFrame::SetCleanup(Int_t mode = kLocalCleanup)
virtual voidTGWidget::SetCommand(const char* command)
voidTGFrame::SetDNDSource(Bool_t onoff)
voidTGFrame::SetDNDTarget(Bool_t onoff)
virtual voidTGFrame::SetDragType(Int_t type)
virtual voidTGFrame::SetDrawOption(Option_t* = "")
virtual voidTGFrame::SetDropType(Int_t type)
static voidTObject::SetDtorOnly(void* obj)
virtual voidTGCompositeFrame::SetEditable(Bool_t on = kTRUE)
virtual voidTGCompositeFrame::SetEditDisabled(UInt_t on = 1)
virtual voidTGFrame::SetForegroundColor(Pixel_t)
voidTGFrame::SetFrameElement(TGFrameElement* fe)
virtual voidTGFrame::SetHeight(UInt_t h)
virtual voidTGCompositeFrame::SetLayoutBroken(Bool_t on = kTRUE)
virtual voidTGView::SetLayoutManager(TGLayoutManager*)
virtual voidTGCompositeFrame::SetMapSubwindows(Bool_t on)
virtual voidTGFrame::SetMaxHeight(UInt_t h)
virtual voidTGFrame::SetMaxWidth(UInt_t w)
virtual voidTGFrame::SetMinHeight(UInt_t h)
virtual voidTGFrame::SetMinWidth(UInt_t w)
virtual voidTGWindow::SetName(const char* name)
static voidTObject::SetObjectStat(Bool_t stat)
voidSetRuleRelief(int relief)
virtual voidTGFrame::SetSize(const TGDimension& s)
voidSetTableRelief(int relief)
virtual voidTObject::SetUniqueID(UInt_t uid)
virtual voidTGView::SetVisibleStart(Int_t newTop, Int_t direction)
virtual voidTGFrame::SetWidth(UInt_t w)
virtual voidTGWindow::SetWindowName(const char* name = 0)
virtual voidTGFrame::SetX(Int_t x)
virtual voidTGFrame::SetY(Int_t y)
virtual voidTGCompositeFrame::ShowFrame(TGFrame* f)
virtual voidShowMembers(TMemberInspector& insp, char* parent)
virtual voidStreamer(TBuffer& b)
voidStreamerNVirtual(TBuffer& b)
virtual voidTObject::SysError(const char* method, const char* msgfmt) const
TGHtmlElement*TableDimensions(TGHtmlTable* pStart, int lineWidth)
TGString*TableText(TGHtmlTable* pTable, int flags)
Bool_tTObject::TestBit(UInt_t f) const
Int_tTObject::TestBits(UInt_t f) const
TGLongPositionTGView::ToPhysical(TGLongPosition coord) const
TGLongPositionTGView::ToVirtual(TGLongPosition coord) const
virtual Bool_tTGCompositeFrame::TranslateCoordinates(TGFrame* child, Int_t x, Int_t y, Int_t& fx, Int_t& fy)
voidUnderlineLinks(int onoff)
virtual voidTGFrame::UnmapWindow()
virtual voidTObject::UseCurrentStyle()
Bool_tTGWidget::WantFocus() const
virtual voidTObject::Warning(const char* method, const char* msgfmt) const
Int_tTGWidget::WidgetId() const
virtual Int_tTObject::Write(const char* name = 0, Int_t option = 0, Int_t bufsize = 0)
virtual Int_tTObject::Write(const char* name = 0, Int_t option = 0, Int_t bufsize = 0) const
voidAddFormInfo(TGHtmlElement* p)
voidAddSelectOptions(TGListBox* lb, TGHtmlElement* p, TGHtmlElement* pEnd)
voidAddStyle(TGHtmlElement* p)
ColorStruct_t*AllocColor(const char* name)
ColorStruct_t*AllocColorByValue(ColorStruct_t* color)
voidAnimateImage(TGHtmlImage* image)
voidAppendBlock(TGHtmlElement* pToken, TGHtmlBlock* pBlock)
voidAppendElement(TGHtmlElement* pElem)
voidAppendText(TGString* str, TGHtmlElement* pFirst, TGHtmlElement* pEnd)
voidAppToken(TGHtmlElement* pNew, TGHtmlElement* p, int offs)
TGHtmlElement*AttrElem(const char* name, char* value)
voidBlockDraw(TGHtmlBlock* pBlock, Drawable_t wid, int left, int top, int width, int height, Pixmap_t pixmap)
static Int_tTQObject::CheckConnectArgs(TQObject* sender, TClass* sender_class, const char* signal, TClass* receiver_class, const char* slot)
Int_tTGWidget::ClearFlags(Int_t flags)
floatcolorDistance(ColorStruct_t* pA, ColorStruct_t* pB)
static Bool_tTQObject::ConnectToClass(TQObject* sender, const char* signal, TClass* receiver_class, void* receiver, const char* slot)
static Bool_tTQObject::ConnectToClass(const char* sender_class, const char* signal, TClass* receiver_class, void* receiver, const char* slot)
intControlSize(TGHtmlInput* p)
intDecodeBaseIndex(const char* zBase, TGHtmlElement** ppToken, int* pIndex)
virtual voidTObject::DoError(int level, const char* location, const char* fmt, va_list va) const
virtual voidTGView::DoRedraw()
virtual voidTGFrame::Draw3dRectangle(UInt_t type, Int_t x, Int_t y, UInt_t w, UInt_t h)
voidDrawImage(TGHtmlImageMarkup* image, Drawable_t wid, int left, int top, int right, int bottom)
voidDrawRect(Drawable_t drawable, TGHtmlElement* src, int x, int y, int w, int h, int depth, int relief)
voidDrawSelectionBackground(TGHtmlBlock* pBlock, Drawable_t Drawable_t, int x, int y)
voidDrawTableBgnd(int x, int y, int w, int h, Drawable_t d, TImage* image)
TGHtmlElement*FillOutBlock(TGHtmlBlock* p)
voidFindIndexInBlock(TGHtmlBlock* pBlock, int x, TGHtmlElement** ppToken, int* pIndex)
TGHtmlElement*FindStartOfNextBlock(TGHtmlElement* p, int* pCnt)
intFormCount(TGHtmlInput* p, int radio)
voidFreeColor(ColorStruct_t* color)
intGetColorByName(const char* zColor)
intGetColorByValue(ColorStruct_t* pRef)
intGetDarkShadowColor(int iBgColor)
GContext_tGetGC(int color, int font)
intGetImageAlignment(TGHtmlElement* p)
intGetImageAt(int x, int y)
intGetIndex(const char* zIndex, TGHtmlElement** ppToken, int* pIndex)
static Time_tTGFrame::GetLastClick()
intGetLightShadowColor(int iBgColor)
intGetLinkColor(const char* zURL)
SHtmlTokenMap*GetMarkupMap(int n)
TStringTGFrame::GetOptionString() const
const char*GetPctWidth(TGHtmlElement* p, char* opt, char* ret)
const TGResourcePool*TGFrame::GetResourcePool() const
virtual void*TGFrame::GetSender()
virtual const char*TQObject::GetSenderClassName() const
const char*GetUid(const char* string)
voidImageChanged(TGHtmlImage* image, int newWidth, int newHeight)
intIndexMod(TGHtmlElement** pp, int* ip, char* cp)
voidIndexToBlockIndex(SHtmlIndex sIndex, TGHtmlBlock** ppBlock, int* piIndex)
TGHtmlElement*InsertToken(TGHtmlElement* pToken, char* zType, char* zArgs, int offs)
intisDarkColor(ColorStruct_t* p)
intisLightColor(ColorStruct_t* p)
voidMakeInvisible(TGHtmlElement* p_first, TGHtmlElement* p_last)
TGHtmlMarkupElement*MakeMarkupEntry(int objType, int type, int argc, int* arglen, char** argv)
voidmaxIndex(TGHtmlElement* p, int* pIndex, int isLast)
TGHtmlElement*MinMax(TGHtmlElement* p, int* pMin, int* pMax, int lineWidth, int hasbg)
SHtmlTokenMap*NameToPmap(char* zType)
intNameToType(char* zType)
intNextMarkupType(TGHtmlElement* p)
TGWindow&TGWindow::operator=(const TGWindow& tgw)
SHtmlStylePopStyleStack(int tag)
voidPushStyleStack(int tag, SHtmlStyle style)
voidRedrawArea(int left, int top, int right, int bottom)
voidRedrawBlock(TGHtmlBlock* p)
voidRedrawText(int y)
intSelectionSet(const char* startIx, const char* endIx)
Int_tTGWidget::SetFlags(Int_t flags)
intSetInsert(const char* insIx)
voidSizeAndLink(TGFrame* frame, TGHtmlInput* pElem)
virtual voidTGFrame::StartGuiBuilding(Bool_t on = kTRUE)
voidStringHW(const char* str, int* h, int* w)
voidTableBgndImage(TGHtmlElement* p)
intTextInsertCmd(int argc, char** argv)
TGHtmlElement*TokenByIndex(int N, int flag)
voidTokenizerAppend(const char* text)
intTokenNumber(TGHtmlElement* p)
const char*TypeToName(int type)
voidUnlinkAndFreeBlock(TGHtmlBlock* pBlock)
virtual voidUpdateBackgroundStart()
virtual voidTGView::UpdateRegion(Int_t x, Int_t y, UInt_t w, UInt_t h)
voidUpdateSelection(int forceUpdate)

Data Members

enum TGView::[unnamed] { kNoHSB
enum TGWindow::EEditMode { kEditEnable
enum TObject::EStatusBits { kCanDelete
enum TObject::[unnamed] { kIsOnHeap
intAddEndTagsTRUE if we add /LI etc.
intHasFramesTRUE if we can do frames for this page
intHasScriptTRUE if we can do scripts for this page
intTableBorderMinForce tables to have min border size
int_exitingTrue if the widget is being destroyed
const char*_lastUriUsed in HandleMotion
TGFont*aFont[71]Information about all screen fonts
GcCacheaGcCache[32]A cache of GCs for general use
intanchorFlagsStyle flags associated with <A>...</A>
TGHtmlAnchor*anchorStartMost recent <a href=...>
ColorStruct_t*apColor[32]Information about all colors
ColorStruct_t*bgColorBackground color of the HTML document
TImage*bgImageBackground image
longcolorUsedbit N is 1 if color N is in use. Only
Cursor_tcursorCurrent cursor for window, or None.
intdirtyBottomBottom right corner of region to redraw
intdirtyTopTop left corner of region to redraw. These
intexportSelectionTrue if the selection is automatically
SHtmlExtensions*extsPointer to user extension data
Pixel_tTGFrame::fBackgroundframe background color
Int_tTGFrame::fBorderWidthframe border width
TGViewFrame*TGView::fCanvasframe containing the text
TGClient*TGObject::fClientConnection to display server
Atom_tTGView::fClipboardclipboard property
TStringTGWidget::fCommandcommand to be executed
UInt_tTGWindow::fEditDisabledflags used for "guibuilding"
UInt_tTGFrame::fEventMaskcurrenty active event mask
TGRectangleTGView::fExposedRegionexposed area
TGFrameElement*TGFrame::fFEpointer to frame element
UInt_tTGFrame::fHeightframe height
TGHScrollBar*TGView::fHsbhorizontal scrollbar
Handle_tTGObject::fIdX11/Win32 Window identifier
Bool_tTGCompositeFrame::fLayoutBrokenno layout manager is used
TGLayoutManager*TGCompositeFrame::fLayoutManagerlayout manager
TList*TGCompositeFrame::fListcontainer of frame elements
TList*TQObject::fListOfConnections! list of connections to this object
TList*TQObject::fListOfSignals! list of signals from this object
Bool_tTGCompositeFrame::fMapSubwindowskTRUE - map subwindows
UInt_tTGFrame::fMaxHeightmaximal frame height
UInt_tTGFrame::fMaxWidthmaximal frame width
UInt_tTGFrame::fMinHeightminimal frame height
UInt_tTGFrame::fMinWidthminimal frame width
TGLongPositionTGView::fMousePosposition of mouse
const TGWindow*TGWidget::fMsgWindowwindow which handles widget events
Int_tTGCompositeFrame::fMustCleanupcleanup mode (see EFrameCleanup)
TStringTGWindow::fNamename of the window used in SavePrimitive()
Bool_tTGWindow::fNeedRedrawkTRUE if window needs to be redrawn
UInt_tTGFrame::fOptionsframe options
const TGWindow*TGWindow::fParentParent window
TGLongPositionTGView::fScrollValscroll value
Int_tTGView::fScrollingscrolling direction
THashTable*fUidTableHash table for some used string values
TGDimensionTGView::fVirtualSizethe current virtual window size
TGLongPositionTGView::fVisibleposition of visible region
TGVScrollBar*TGView::fVsbvertical scrollbar
TGGCTGView::fWhiteGCgraphics context used for scrolling
Int_tTGWidget::fWidgetFlagswidget status flags (OR of EWidgetStatus)
Int_tTGWidget::fWidgetIdthe widget id (used for event processing)
UInt_tTGFrame::fWidthframe width
Int_tTGFrame::fXframe x position
UInt_tTGView::fXMarginx margin
Int_tTGFrame::fYframe y position
UInt_tTGView::fYMarginy margin
static const TGGC*TGFrame::fgBckgndGC
static const TGGC*TGFrame::fgBlackGC
static Pixel_tTGFrame::fgBlackPixel
ColorStruct_t*fgColorColor of normal text. apColor[0]
static Int_tTGWindow::fgCountercounter of created windows in SavePrimitive
static Window_tTGFrame::fgDbw
static Int_tTGFrame::fgDbx
static Int_tTGFrame::fgDby
static Pixel_tTGFrame::fgDefaultFrameBackground
static TGLayoutHints*TGCompositeFrame::fgDefaultHintsdefault hints used by AddFrame()
static Pixel_tTGFrame::fgDefaultSelectedBackground
static const TGGC*TGFrame::fgHilightGC
static Bool_tTGFrame::fgInit
static UInt_tTGFrame::fgLastButton
static Time_tTGFrame::fgLastClick
static const TGGC*TGFrame::fgShadowGC
static UInt_tTGFrame::fgUserColor
static const TGGC*TGFrame::fgWhiteGC
static Pixel_tTGFrame::fgWhitePixel
TGHtmlBlock*firstBlockList of all TGHtmlBlock tokens
TGHtmlInput*firstInputFirst <INPUT> element
intflagsVarious flags; see below for definitions.
charfontValid[9]If bit N%8 of work N/8 of this field is 0
TGHtmlInput*formElemLastMost recent <input>, <textarea> or <select>
TGHtmlInput*formElemStartMost recent <textarea> or <select>
intformPaddingAmount to pad form elements by
TGHtmlForm*formStartMost recent <form>
ColorStruct_t*highlightBgColorPtrColor for drawing traversal highlight
ColorStruct_t*highlightColorPtrColor for drawing traversal highlight.
inthighlightWidthWidth in pixels of highlight to draw
intiColThe column in which zText[nComplete]
intiDark[32]Dark 3D shadow of color K is iDark[K]
intiLight[32]Light 3D shadow of color K is iLight[K]
intiPlaintextIf not zero, this is the token type that
TGHtmlImage*imageListA list of all images
intinDtStyle flags associated with <DT>...</DT>
intinParsePrevent update if parsing
intinTdTrue if within <td>..</td> or <th>..</th>
intinTrTrue if within <tr>..</tr>
TGHtmlListStart*innerListThe inner most <OL> or <UL>
intinputIdxUnique input index
SHtmlIndexinsThe insertion cursor position
intinsIndexIndex in pInsBlock of the cursor
intinsOffTimeHow long it is off (milliseconds)
intinsOnTimeHow long the cursor states one (millisec)
intinsStatusIs it visible?
TTimer*insTimerTimer used to flash the insertion cursor
TGHtmlBlock*lastBlockLast TGHtmlBlock in the list
intlastGCIndex of recently used GC
TGHtmlInput*lastInputLast <INPUT> element
TGHtmlElement*lastSizedLast HTML element that has been sized
TGHtmlElement*loEndPtrHow far AddStyle has gone to
TGHtmlForm*loFormStartFor AddStyle
TGInsetsmarginsdocument margins (separation between the
intmaxYMaximum extent of any "paint" that appears
intnAllocSpace allocated for zText
intnCompleteHow much of zText has actually been
intnFormThe number of <FORM> elements
intnInputThe number of <INPUT> elements
intnTextNumber of characters in zText
intnTokenNumber of HTML tokens on the list.
ColorStruct_t*newLinkColorColor of unvisitied links. apColor[1]
TGHtmlElement*nextPlacedNext HTML element that needs to be
ColorStruct_t*oldLinkColorColor of visitied links. apColor[2]
intoverrideColorsTRUE if we should override colors
intoverrideFontsTRUE if we should override fonts
TGHtmlElement*pFirstFirst HTML token on a list of them all
TGHtmlBlock*pInsBlockThe TGHtmlBlock containing the cursor
TGHtmlElement*pLastLast HTML token on the list
TGHtmlScript*pScript<SCRIPT> currently being parsed
TGHtmlBlock*pSelEndBlockBlock in which selection ends
TGHtmlBlock*pSelStartBlockBlock in which selection starts
intparaAlignmentJustification associated with <p>
intradioIdxUnique radio index
introwAlignmentJustification associated with <tr>
intrulePaddingextra pixels above and below <HR>
intruleRelief3d effects on <HR>
SHtmlIndexselBeginStart of the selection
SHtmlIndexselEndEnd of the selection
shortselEndIndexIndex of last selecte char in pSelEndBlock
shortselStartIndexIndex in pSelStartBlock of first selected
ColorStruct_t*selectionColorBackground color for selections
SHtmlStyleStack*styleStackThe style stack
inttableRelief3d effects on <TABLE>
intunderlineLinksTRUE if we should underline hyperlinks
intvarIdUsed to construct a unique name for a
intvarindIndex suffix for unique global var name
const char*zBaseThe base URI
char*zBaseHrefzBase as modified by <BASE HREF=..> markup
char*zGotoLabel to goto right after layout
char*zTextComplete text of the unparsed HTML

Class Charts

Inheritance Inherited Members Includes Libraries
Class Charts

Function documentation

TGHtml(const TGWindow* p, int w, int h, int id = -1)
void UpdateBackgroundStart()
void FreeColor(ColorStruct_t* color)
ColorStruct_t * AllocColor(const char* name)
ColorStruct_t * AllocColorByValue(ColorStruct_t* color)
void Clear(Option_t* = "")
 Erase all HTML from this widget and clear the screen. This is
 typically done before loading a new document.
int ParseText(char* text, const char* index = 0)
 Appends (or insert at the specified position) the given HTML text to the
 end of any HTML text that may have been inserted by prior calls to this
 command.  Then it runs the tokenizer, parser and layout engine as far as
 possible with the text that is available. The display is updated
void SetTableRelief(int relief)
void SetRuleRelief(int relief)
void UnderlineLinks(int onoff)
void SetBaseUri(const char* uri)
int GotoAnchor(const char* name)
const char * GetUid(const char* string)
 Given a string, this procedure returns a unique identifier for the

 This procedure returns a pointer to a new char string corresponding to
 the "string" argument. The new string has a value identical to string
 (strcmp will return 0), but it's guaranteed that any other calls to this
 procedure with a string equal to "string" will return exactly the same
 result (i.e. can compare pointer *values* directly, without having to
 call strcmp on what they point to).
void ComputeVirtualSize()
void ClearGcCache()
 Clear the cache of GCs
void ResetLayoutContext()
 Reset the main layout context in the main widget.  This happens
 before we redo the layout, or just before deleting the widget.
void Redraw()
 This routine is invoked in order to redraw all or part of the HTML
 widget. This might happen because the display has changed, or in
 response to an expose event. In all cases, though, this routine
 is called by an idle handler.
void ScheduleRedraw()
 Make sure that a call to the Redraw() routine has been queued.
Bool_t HandleIdleEvent(TGIdleHandler* i)
void RedrawArea(int left, int top, int right, int bottom)
 If any part of the screen needs to be redrawn, then call this routine
 with the values of a box (in window coordinates) that needs to be
 redrawn. This routine will schedule an idle handler to do the redraw.

 The box coordinates are relative to the clipping window (fCanvas).
void DrawRegion(Int_t x, Int_t y, UInt_t w, UInt_t h)
Bool_t ItemLayout()
void RedrawBlock(TGHtmlBlock* p)
 Redraw the TGHtmlBlock given.
void RedrawEverything()
 Call this routine to force the entire widget to be redrawn.
void RedrawText(int y)
 Call this routine to cause all of the rendered HTML at the
 virtual canvas coordinate of Y and beyond to be redrawn.
void _Clear()
 Erase all data from the HTML widget. Bring it back to an empty screen.
Bool_t HandleTimer(TTimer* timer)
void FlashCursor()
 Flash the insertion cursor.
GContext_t GetGC(int color, int font)
 Return a GC from the cache.  As many as N_CACHE_GCs are kept valid
 at any one time.  They are replaced using an LRU algorithm.

 A value of FONT_Any (-1) for the font means "don't care".
GContext_t GetAnyGC()
 Retrieve any valid GC. The font and color don't matter since the
 GC will only be used for copying.
Bool_t HandleFocusChange(Event_t* event)
Bool_t HandleButton(Event_t* event)
Bool_t HandleMotion(Event_t* event)
 handle mouse motion events
TGFont * GetFont(int iFont)
 The rendering and layout routines should call this routine in order to
 get a font structure. The iFont parameter specifies which of the N_FONT
 fonts should be obtained. The font is allocated if necessary.
int InArea(TGHtmlMapArea* p, int left, int top, int x, int y)
 Only support rect and circles for now
TGHtmlElement * GetMap(const char* name)
float colorDistance(ColorStruct_t* pA, ColorStruct_t* pB)
int GetColorByName(const char* zColor)
 This routine returns an index between 0 and N_COLOR-1 which indicates
 which ColorStruct_t structure in the apColor[] array should be used to describe
 the color specified by the given name.
int isDarkColor(ColorStruct_t* p)
 Check to see if the given color is too dark to be easily distinguished
 from black.
int GetDarkShadowColor(int iBgColor)
 Given that the background color is iBgColor, figure out an
 appropriate color for the dark part of a 3D shadow.
int isLightColor(ColorStruct_t* p)
 Check to see if the given color is too light to be easily distinguished
 from white.
int GetLightShadowColor(int iBgColor)
 Given that the background color is iBgColor, figure out an
 appropriate color for the bright part of the 3D shadow.
int GetColorByValue(ColorStruct_t* pRef)
 Find a color integer for the color whose color components
 are given by pRef.
const char * GetHref(int x, int y, const char** target = 0)
 This routine searchs for a hyperlink beneath the coordinates x,y
 and returns a pointer to the HREF for that hyperlink. The text
 is held in one of the markup argv[] fields of the <a> markup.
int ElementCoords(TGHtmlElement* p, int i, int pct, int* coords)
 Return coordinates of item
TGHtmlElement * AttrElem(const char* name, char* value)
void UpdateSelection(int forceUpdate)
 Given the selection end-points in selBegin and selEnd, recompute
 pSelBeginBlock and pSelEndBlock, then call UpdateSelectionDisplay()
 to update the display.

 This routine should be called whenever the selection changes or
 whenever the set of TGHtmlBlock structures change.
void UpdateSelectionDisplay()
 The pSelStartBlock and pSelEndBlock values have been changed.
 This routine's job is to loop over all TGHtmlBlocks and either
 set or clear the HTML_Selected bits in the .flags field
 as appropriate.  For every TGHtmlBlock where the bit changes,
 mark that block for redrawing.
void LostSelection()
int SelectionSet(const char* startIx, const char* endIx)
void UpdateInsert()
 Recompute the position of the insertion cursor based on the
 position in ins.
int SetInsert(const char* insIx)
Bool_t ProcessMessage(Long_t , Long_t , Long_t )
int GetTableRelief()
{ return tableRelief; }
int GetRuleRelief()
{ return ruleRelief; }
int GetRulePadding()
{ return rulePadding; }
const char * GetBaseUri()
{ return zBase; }
char * ResolveUri(const char* uri)
 User function to resolve URIs
TImage * LoadImage(const char* uri, int w = 0, int h = 0)
 User function to get an image from a URL
int IsVisited(const char* )
 User function to tell if a hyperlink has already been visited
{ return kFALSE; }
int ProcessToken(TGHtmlElement* , const char* , int )
 User function to to process tokens of the given type
{ return kFALSE; }
int ProcessFrame()
 The HTML parser will invoke the following methods from time
 to time to find out information it needs to complete formatting of
 the document.
 Method for handling <frameset> markup
{ return kFALSE; }
TGFrame * ProcessApplet(TGHtmlInput* )
 Method to process applets
{ return 0; }
int FormCreate(TGHtmlForm* , const char* , const char* )
 Called when parsing forms
{ return kFALSE; }
int FormAction(TGHtmlForm* , int )
 Called when user presses Submit
{ return kFALSE; }
char * GetFontName()
 Invoked to find font names
{ return 0; }
char * ProcessScript(TGHtmlScript* )
 Invoked for each <SCRIPT> markup
{ return 0; }
const char * GetText()
{ return zText; }
int GetMarginWidth()
{ return margins.fL + margins.fR; }
int GetMarginHeight()
{ return margins.fT + margins.fB; }
TGHtmlImage * GetImage(TGHtmlImageMarkup* p)
void ResetBlocks()
{ firstBlock = lastBlock = 0; }
TGHtmlElement * TableDimensions(TGHtmlTable* pStart, int lineWidth)
int CellSpacing(TGHtmlElement* pTable)
void MoveVertically(TGHtmlElement* p, TGHtmlElement* pLast, int dy)
void PrintList(TGHtmlElement* first, TGHtmlElement* last)
char * GetTokenName(TGHtmlElement* p)
char * DumpToken(TGHtmlElement* p)
void EncodeText(TGString* str, const char* z)
void AnimateImage(TGHtmlImage* image)
void ImageChanged(TGHtmlImage* image, int newWidth, int newHeight)
int GetImageAlignment(TGHtmlElement* p)
int GetImageAt(int x, int y)
const char * GetPctWidth(TGHtmlElement* p, char* opt, char* ret)
void TableBgndImage(TGHtmlElement* p)
TGHtmlElement * FillOutBlock(TGHtmlBlock* p)
void UnlinkAndFreeBlock(TGHtmlBlock* pBlock)
void AppendBlock(TGHtmlElement* pToken, TGHtmlBlock* pBlock)
void StringHW(const char* str, int* h, int* w)
TGHtmlElement * MinMax(TGHtmlElement* p, int* pMin, int* pMax, int lineWidth, int hasbg)
void DrawRect(Drawable_t drawable, TGHtmlElement* src, int x, int y, int w, int h, int depth, int relief)
void DrawImage(TGHtmlImageMarkup* image, Drawable_t wid, int left, int top, int right, int bottom)
TGHtmlElement * FindStartOfNextBlock(TGHtmlElement* p, int* pCnt)
void FormBlocks()
void AppendElement(TGHtmlElement* pElem)
int Tokenize()
void AppToken(TGHtmlElement* pNew, TGHtmlElement* p, int offs)
TGHtmlMarkupElement * MakeMarkupEntry(int objType, int type, int argc, int* arglen, char** argv)
TGHtmlElement * InsertToken(TGHtmlElement* pToken, char* zType, char* zArgs, int offs)
int NameToType(char* zType)
const char * TypeToName(int type)
int TextInsertCmd(int argc, char** argv)
SHtmlTokenMap* GetMarkupMap(int n)
TGHtmlElement * TokenByIndex(int N, int flag)
int TokenNumber(TGHtmlElement* p)
void maxIndex(TGHtmlElement* p, int* pIndex, int isLast)
int IndexMod(TGHtmlElement** pp, int* ip, char* cp)
void FindIndexInBlock(TGHtmlBlock* pBlock, int x, TGHtmlElement** ppToken, int* pIndex)
int DecodeBaseIndex(const char* zBase, TGHtmlElement** ppToken, int* pIndex)
void LayoutDoc()
int MapControls()
void UnmapControls()
void DeleteControls()
int ControlSize(TGHtmlInput* p)
void SizeAndLink(TGFrame* frame, TGHtmlInput* pElem)
int FormCount(TGHtmlInput* p, int radio)
void AddFormInfo(TGHtmlElement* p)
void AddSelectOptions(TGListBox* lb, TGHtmlElement* p, TGHtmlElement* pEnd)
void AppendText(TGString* str, TGHtmlElement* pFirst, TGHtmlElement* pEnd)
SHtmlStyle GetCurrentStyle()
void PushStyleStack(int tag, SHtmlStyle style)
SHtmlStyle PopStyleStack(int tag)
void MakeInvisible(TGHtmlElement* p_first, TGHtmlElement* p_last)
int GetLinkColor(const char* zURL)
void AddStyle(TGHtmlElement* p)
void Sizer()
int NextMarkupType(TGHtmlElement* p)
void AppendArglist(TGString* str, TGHtmlMarkupElement* pElem)
TGHtmlElement * FindEndNest(TGHtmlElement* sp, int en, TGHtmlElement* lp)
TGString * ListTokens(TGHtmlElement* p, TGHtmlElement* pEnd)
TGString * TableText(TGHtmlTable* pTable, int flags)
void MouseOver(const char* uri)
{ Emit("MouseOver(const char *)",uri); }
void MouseDown(const char* uri)
{ Emit("MouseDown(const char *)",uri); }

Author: Valeriy Onuchin 03/05/2007
Last update: Thu Jan 17 08:51:34 2008
Copyright (C) 1995-2001, Rene Brun, Fons Rademakers and Reiner Rohlfs *

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.