ROOT logo
ROOT » GUI » GUIHTML » TGHtml

class TGHtml: public TGView


 TGHtml

 The ROOT HTML widget. A derivate of TGView.

Function Members (Methods)

public:
TGHtml(const TGWindow* p, int w, int h, int id = -1)
virtual~TGHtml()
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 = "")
static Bool_tTQObject::AreAllSignalsBlocked()
Bool_tTQObject::AreSignalsBlocked() const
virtual voidTGWidget::Associate(const TGWindow* w)
static Bool_tTQObject::BlockAllSignals(Bool_t b)
Bool_tTQObject::BlockSignals(Bool_t b)
virtual voidTObject::Browse(TBrowser* b)
virtual voidButtonClicked(const char* name, const char* val)SIGNAL
intCellSpacing(TGHtmlElement* pTable)
virtual voidTGView::ChangeBackground(Pixel_t)
virtual voidTGFrame::ChangeBackground(Pixel_t back)
virtual voidTQObject::ChangedBy(const char* method)SIGNAL
virtual voidTGCompositeFrame::ChangeOptions(UInt_t options)
virtual voidTGFrame::ChangeOptions(UInt_t options)
virtual voidTGCompositeFrame::ChangeSubframesBackground(Pixel_t back)
virtual voidCheckToggled(const char* name, Bool_t on, const char* val)SIGNAL
static TClass*Class()
static TClass*TGView::Class()
static TClass*TGWidget::Class()
static TClass*TGCompositeFrame::Class()
static TClass*TGFrame::Class()
static TClass*TQObject::Class()
static TClass*TGWindow::Class()
static TClass*TGObject::Class()
static TClass*TObject::Class()
virtual const char*TObject::ClassName() const
virtual voidTGCompositeFrame::Cleanup()
virtual voidClear(Option_t* = "")
virtual voidTGView::Clear(Option_t* = "")
virtual voidTObject::Clear(Option_t* = "")
virtual TObject*TObject::Clone(const char* newname = "") const
voidTQObject::CollectClassSignalLists(TList& list, TClass* cls)
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 voidTObject::Delete(Option_t* option = "")MENU
virtual voidTGFrame::DeleteWindow()
virtual voidTQObject::Destroyed()SIGNAL
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::DrawBorder()
virtual voidTGFrame::DrawClass() const
virtual voidTObject::DrawClass() constMENU
virtual TObject*TGFrame::DrawClone(Option_t* = "") const
virtual TObject*TObject::DrawClone(Option_t* option = "") constMENU
virtual voidTGFrame::DrawCopy(Handle_t, Int_t, Int_t)
virtual voidDrawRegion(Int_t x, Int_t y, UInt_t w, UInt_t h)
virtual voidTGView::DrawRegion(Int_t x, Int_t y, UInt_t width, UInt_t height)
virtual voidTGFrame::Dump() const
virtual voidTObject::Dump() constMENU
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 TGFrameElement*TGCompositeFrame::FindFrameElement(TGFrame* f) const
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
virtual UInt_tTGFrame::GetDefaultHeight() const
static Pixel_tTGFrame::GetDefaultSelectedBackground()
virtual TGDimensionTGView::GetDefaultSize() const
virtual UInt_tTGCompositeFrame::GetDefaultWidth() const
virtual UInt_tTGFrame::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)
virtual TGFrame*TGFrame::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)
TGHtmlInput*GetInputElement(int x, int y)
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)
intGetMarginHeight()
intGetMarginWidth()
UInt_tTGFrame::GetMaxHeight() const
UInt_tTGFrame::GetMaxWidth() const
UInt_tTGFrame::GetMinHeight() const
UInt_tTGFrame::GetMinWidth() const
virtual const char*TGWindow::GetName() const
virtual const char*TObject::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_tTGView::HandleButton(Event_t* event)
virtual Bool_tTGCompositeFrame::HandleButton(Event_t*)
virtual Bool_tTGFrame::HandleButton(Event_t*)
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::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_tTGFrame::HandleDoubleClick(Event_t*)
virtual Bool_tTGCompositeFrame::HandleDragDrop(TGFrame* frame, Int_t x, Int_t y, TGLayoutHints* lo)
virtual Bool_tTGFrame::HandleDragDrop(TGFrame*, Int_t, Int_t, TGLayoutHints*)
virtual Bool_tTGCompositeFrame::HandleDragEnter(TGFrame*)
virtual Bool_tTGFrame::HandleDragEnter(TGFrame*)
virtual Bool_tTGCompositeFrame::HandleDragLeave(TGFrame*)
virtual Bool_tTGFrame::HandleDragLeave(TGFrame*)
virtual Bool_tTGCompositeFrame::HandleDragMotion(TGFrame*)
virtual Bool_tTGFrame::HandleDragMotion(TGFrame*)
virtual Bool_tTGFrame::HandleEvent(Event_t* event)
virtual Bool_tTGWindow::HandleEvent(Event_t*)
virtual Bool_tTGView::HandleExpose(Event_t* event)
virtual Bool_tTGWindow::HandleExpose(Event_t* event)
virtual Bool_tHandleFocusChange(Event_t* event)
virtual Bool_tTGCompositeFrame::HandleFocusChange(Event_t*)
virtual Bool_tTGFrame::HandleFocusChange(Event_t*)
Bool_tHandleHtmlInput(TGHtmlInput* pr, Event_t* event)
virtual Bool_tHandleIdleEvent(TGIdleHandler* i)
virtual Bool_tTGWindow::HandleIdleEvent(TGIdleHandler*)
virtual Bool_tTGCompositeFrame::HandleKey(Event_t*)
virtual Bool_tTGFrame::HandleKey(Event_t*)
virtual Bool_tHandleMotion(Event_t* event)
virtual Bool_tTGCompositeFrame::HandleMotion(Event_t*)
virtual Bool_tTGFrame::HandleMotion(Event_t*)
Bool_tHandleRadioButton(TGHtmlInput* p)
virtual Bool_tTGCompositeFrame::HandleSelection(Event_t*)
virtual Bool_tTGFrame::HandleSelection(Event_t*)
virtual Bool_tTGFrame::HandleSelectionClear(Event_t*)
virtual Bool_tTGFrame::HandleSelectionRequest(Event_t*)
virtual Bool_tHandleTimer(TTimer* timer)
virtual Bool_tTGWindow::HandleTimer(TTimer*)
virtual Bool_tTObject::HandleTimer(TTimer* timer)
virtual Bool_tTQObject::HasConnection(const char* signal_name) const
Bool_tTGWidget::HasFocus() const
virtual ULong_tTGObject::Hash() const
virtual ULong_tTObject::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 voidInputSelected(const char* name, const char* val)SIGNAL
virtual voidTGFrame::Inspect() const
virtual voidTObject::Inspect() constMENU
voidTObject::InvertBit(UInt_t f)
virtual TClass*IsA() const
virtual TClass*TGView::IsA() const
virtual TClass*TGCompositeFrame::IsA() const
virtual TClass*TGFrame::IsA() const
virtual TClass*TGWindow::IsA() const
virtual Bool_tTGFrame::IsActive() const
Bool_tTGCompositeFrame::IsArranged(TGFrame* f) const
Bool_tTGCompositeFrame::IsArranged(TGFrameElement* ptr) const
virtual Bool_tTGCompositeFrame::IsComposite() const
virtual Bool_tTGFrame::IsComposite() const
Bool_tTGFrame::IsDNDSource() const
Bool_tTGFrame::IsDNDTarget() const
virtual Bool_tTGCompositeFrame::IsEditable() const
virtual Bool_tTGFrame::IsEditable() const
virtual Bool_tTGWindow::IsEditable() const
Bool_tTGWidget::IsEnabled() const
virtual Bool_tTGObject::IsEqual(const TObject* obj) const
virtual Bool_tTObject::IsEqual(const TObject* obj) const
virtual Bool_tTObject::IsFolder() const
virtual Bool_tTGCompositeFrame::IsLayoutBroken() const
virtual Bool_tTGFrame::IsLayoutBroken() const
virtual Bool_tTGWindow::IsMapped()
virtual Bool_tTGCompositeFrame::IsMapSubwindows() const
virtual Bool_tTGWindow::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()
virtual voidTGCompositeFrame::Layout()
virtual voidTGFrame::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 voidTGWindow::MapRaised()
virtual voidTGCompositeFrame::MapSubwindows()
virtual voidTGFrame::MapSubwindows()
virtual voidTGWindow::MapSubwindows()
virtual voidTGFrame::MapWindow()
virtual voidTGWindow::MapWindow()
voidTObject::MayNotUse(const char* method) const
virtual voidTQObject::Message(const char* msg)SIGNAL
virtual voidMouseDown(const char* uri)SIGNAL
virtual voidMouseOver(const char* uri)SIGNAL
virtual voidTGFrame::Move(Int_t x, Int_t y)
virtual voidTGWindow::Move(Int_t x, Int_t y)
virtual voidTGFrame::MoveResize(Int_t x, Int_t y, UInt_t w = 0, UInt_t h = 0)
virtual voidTGWindow::MoveResize(Int_t x, Int_t y, UInt_t w, UInt_t h)
voidMoveVertically(TGHtmlElement* p, TGHtmlElement* pLast, int dy)
virtual Int_tTGCompositeFrame::MustCleanup() const
virtual Int_tTGWindow::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)
TObject&TObject::operator=(const TObject& rhs)
virtual voidTObject::Paint(Option_t* option = "")
intParseText(char* text, const char* index = 0)
virtual voidTObject::Pop()
virtual voidTGCompositeFrame::Print(Option_t* option = "") const
virtual voidTGFrame::Print(Option_t* option = "") const
virtual voidTGWindow::Print(Option_t* option = "") const
virtual voidTObject::Print(Option_t* option = "") const
voidPrintList(TGHtmlElement* first, TGHtmlElement* last)
virtual TGFrame*ProcessApplet(TGHtmlInput*)
virtual voidTGFrame::ProcessedConfigure(Event_t* event)SIGNAL
virtual voidTGFrame::ProcessedEvent(Event_t* event)SIGNAL
virtual intProcessFrame()
virtual Bool_tProcessMessage(Long_t, Long_t, Long_t)
virtual Bool_tTGView::ProcessMessage(Long_t msg, Long_t parm1, Long_t parm2)
virtual Bool_tTGCompositeFrame::ProcessMessage(Long_t, Long_t, Long_t)
virtual Bool_tTGFrame::ProcessMessage(Long_t, Long_t, Long_t)
virtual char*ProcessScript(TGHtmlScript*)
virtual intProcessToken(TGHtmlElement*, const char*, int)
virtual voidRadioChanged(const char* name, const char* val)SIGNAL
virtual voidTGWindow::RaiseWindow()
virtual Int_tTObject::Read(const char* name)
virtual voidTGFrame::ReallyDelete()
virtual voidTObject::RecursiveRemove(TObject* obj)
virtual voidTGCompositeFrame::RemoveAll()
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::ReparentWindow(const TGWindow* p, Int_t x = 0, Int_t y = 0)
virtual voidTGWindow::RequestFocus()
voidTObject::ResetBit(UInt_t f)
voidResetBlocks()
virtual voidTGFrame::Resize(TGDimension size)
virtual voidTGFrame::Resize(UInt_t w = 0, UInt_t h = 0)
virtual voidTGWindow::Resize(UInt_t w, UInt_t h)
virtual char*ResolveUri(const char* uri)
virtual voidTGObject::SaveAs(const char* filename = "", Option_t* option = "") const
virtual voidTObject::SaveAs(const char* filename = "", Option_t* option = "") constMENU
virtual voidSavePrimitive(ostream& out, Option_t* = "")
virtual voidTGCompositeFrame::SavePrimitive(ostream& out, Option_t* option = "")
virtual voidTGFrame::SavePrimitive(ostream& out, Option_t* option = "")
virtual voidTObject::SavePrimitive(basic_ostream<char,char_traits<char> >& 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 voidTGFrame::SetBackgroundColor(Pixel_t back)
virtual voidTGWindow::SetBackgroundColor(Pixel_t color)
virtual voidTGView::SetBackgroundPixmap(Pixmap_t p)
virtual voidTGWindow::SetBackgroundPixmap(Pixmap_t pixmap)
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 voidTGFrame::SetCleanup(Int_t = 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 voidTObject::SetDrawOption(Option_t* option = "")MENU
virtual voidTGFrame::SetDropType(Int_t type)
static voidTObject::SetDtorOnly(void* obj)
virtual voidTGCompositeFrame::SetEditable(Bool_t on = kTRUE)
virtual voidTGFrame::SetEditable(Bool_t)
virtual voidTGWindow::SetEditable(Bool_t on = kTRUE)
virtual voidTGCompositeFrame::SetEditDisabled(UInt_t on = 1)
virtual voidTGWindow::SetEditDisabled(UInt_t on = kEditDisable)
virtual voidTGFrame::SetForegroundColor(Pixel_t)
voidTGFrame::SetFrameElement(TGFrameElement* fe)
virtual voidTGFrame::SetHeight(UInt_t h)
virtual voidTGCompositeFrame::SetLayoutBroken(Bool_t on = kTRUE)
virtual voidTGFrame::SetLayoutBroken(Bool_t = kTRUE)
virtual voidTGView::SetLayoutManager(TGLayoutManager*)
virtual voidTGCompositeFrame::SetLayoutManager(TGLayoutManager* l)
virtual voidTGCompositeFrame::SetMapSubwindows(Bool_t on)
virtual voidTGWindow::SetMapSubwindows(Bool_t)
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 voidTGView::ShowMembers(TMemberInspector& insp, char* parent)
virtual voidTGWidget::ShowMembers(TMemberInspector& insp, char* parent)
virtual voidTGCompositeFrame::ShowMembers(TMemberInspector& insp, char* parent)
virtual voidTGFrame::ShowMembers(TMemberInspector& insp, char* parent)
virtual voidTQObject::ShowMembers(TMemberInspector& insp, char* parent)
virtual voidTGWindow::ShowMembers(TMemberInspector& insp, char* parent)
virtual voidTGObject::ShowMembers(TMemberInspector& insp, char* parent)
virtual voidTObject::ShowMembers(TMemberInspector& insp, char* parent)
virtual voidStreamer(TBuffer& b)
virtual voidTGView::Streamer(TBuffer& b)
virtual voidTGWidget::Streamer(TBuffer& b)
virtual voidTGCompositeFrame::Streamer(TBuffer& b)
virtual voidTGFrame::Streamer(TBuffer& b)
virtual voidTQObject::Streamer(TBuffer& b)
virtual voidTGWindow::Streamer(TBuffer& b)
virtual voidTGObject::Streamer(TBuffer& b)
virtual voidTObject::Streamer(TBuffer& b)
voidStreamerNVirtual(TBuffer& b)
voidTGView::StreamerNVirtual(TBuffer& b)
voidTGCompositeFrame::StreamerNVirtual(TBuffer& b)
virtual voidSubmitClicked(const char* val)SIGNAL
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 voidTGWindow::UnmapWindow()
virtual voidTGView::UpdateBackgroundStart()
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
protected:
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)
voidClearGcCache()
floatColorDistance(ColorStruct_t* pA, ColorStruct_t* pB)
voidComputeVirtualSize()
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)
voidDeleteControls()
virtual voidTObject::DoError(int level, const char* location, const char* fmt, va_list va) const
virtual voidTGView::DoRedraw()
virtual voidTGFrame::DoRedraw()
virtual voidTGWindow::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)
voidFlashCursor()
voidFormBlocks()
intFormCount(TGHtmlInput* p, int radio)
voidFreeColor(ColorStruct_t* color)
GContext_tGetAnyGC()
intGetColorByName(const char* zColor)
intGetColorByValue(ColorStruct_t* pRef)
SHtmlStyle_tGetCurrentStyle()
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_t*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 void*TQObject::GetSender()
virtual const char*TQObject::GetSenderClassName() const
const char*GetUid(const char* string)
voidHClear()
voidImageChanged(TGHtmlImage* image, int newWidth, int newHeight)
intIndexMod(TGHtmlElement** pp, int* ip, char* cp)
voidIndexToBlockIndex(SHtmlIndex_t sIndex, TGHtmlBlock** ppBlock, int* piIndex)
TGHtmlElement*InsertToken(TGHtmlElement* pToken, char* zType, char* zArgs, int offs)
intIsDarkColor(ColorStruct_t* p)
intIsLightColor(ColorStruct_t* p)
voidLayoutDoc()
voidLostSelection()
voidMakeInvisible(TGHtmlElement* p_first, TGHtmlElement* p_last)
TGHtmlMarkupElement*MakeMarkupEntry(int objType, int type, int argc, int* arglen, char** argv)
voidTObject::MakeZombie()
intMapControls()
voidMaxIndex(TGHtmlElement* p, int* pIndex, int isLast)
TGHtmlElement*MinMax(TGHtmlElement* p, int* pMin, int* pMax, int lineWidth, int hasbg)
SHtmlTokenMap_t*NameToPmap(char* zType)
intNameToType(char* zType)
intNextMarkupType(TGHtmlElement* p)
TGWidget&TGWidget::operator=(const TGWidget& tgw)
TGWindow&TGWindow::operator=(const TGWindow& tgw)
TGObject&TGObject::operator=(const TGObject& tgo)
SHtmlStyle_tPopStyleStack(int tag)
voidPushStyleStack(int tag, SHtmlStyle_t style)
voidRedraw()
voidRedrawArea(int left, int top, int right, int bottom)
voidRedrawBlock(TGHtmlBlock* p)
voidRedrawEverything()
voidRedrawText(int y)
voidResetLayoutContext()
voidScheduleRedraw()
intSelectionSet(const char* startIx, const char* endIx)
Int_tTGWidget::SetFlags(Int_t flags)
intSetInsert(const char* insIx)
voidSizeAndLink(TGFrame* frame, TGHtmlInput* pElem)
voidSizer()
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)
intTokenize()
voidTokenizerAppend(const char* text)
intTokenNumber(TGHtmlElement* p)
const char*TypeToName(int type)
voidUnlinkAndFreeBlock(TGHtmlBlock* pBlock)
voidUnmapControls()
virtual voidUpdateBackgroundStart()
voidUpdateInsert()
virtual voidTGView::UpdateRegion(Int_t x, Int_t y, UInt_t w, UInt_t h)
voidUpdateSelection(int forceUpdate)
voidUpdateSelectionDisplay()

Data Members

protected:
TGFont*fAFont[71]Information about all screen fonts
GcCache_tfAGcCache[32]A cache of GCs for general use
intfAddEndTagsTRUE if we add /LI etc.
intfAnchorFlagsStyle flags associated with <A>...</A>
TGHtmlAnchor*fAnchorStartMost recent <a href=...>
ColorStruct_t*fApColor[32]Information about all colors
Pixel_tTGFrame::fBackgroundframe background color
ColorStruct_t*fBgColorBackground color of the HTML document
TImage*fBgImageBackground image
Int_tTGFrame::fBorderWidthframe border width
TGViewFrame*TGView::fCanvasframe containing the text
TGClient*TGObject::fClientConnection to display server
Atom_tTGView::fClipboardclipboard property
Long_tfColorUsedbit N is 1 if color N is in use. Only
TStringTGWidget::fCommandcommand to be executed
Cursor_tfCursorCurrent cursor for window, or None.
Int_tTGFrame::fDNDStateEDNDFlags
intfDirtyBottomBottom right corner of region to redraw
intfDirtyLeft
intfDirtyRight
intfDirtyTopTop left corner of region to redraw. These
UInt_tTGWindow::fEditDisabledflags used for "guibuilding"
UInt_tTGFrame::fEventMaskcurrenty active event mask
intfExitingTrue if the widget is being destroyed
intfExportSelectionTrue if the selection is automatically
TGRectangleTGView::fExposedRegionexposed area
SHtmlExtensions_t*fExtsPointer to user extension data
TGFrameElement*TGFrame::fFEpointer to frame element
ColorStruct_t*fFgColorColor of normal text. apColor[0]
TGHtmlBlock*fFirstBlockList of all TGHtmlBlock tokens
TGHtmlInput*fFirstInputFirst <INPUT> element
intfFlagsVarious flags; see below for definitions.
charfFontValid[9]If bit N%8 of work N/8 of this field is 0
TGHtmlInput*fFormElemLastMost recent <input>, <textarea> or <select>
TGHtmlInput*fFormElemStartMost recent <textarea> or <select>
intfFormPaddingAmount to pad form elements by
TGHtmlForm*fFormStartMost recent <form>
intfGcNextToFree
intfHasFramesTRUE if we can do frames for this page
intfHasScriptTRUE if we can do scripts for this page
UInt_tTGFrame::fHeightframe height
ColorStruct_t*fHighlightBgColorPtrColor for drawing traversal highlight
ColorStruct_t*fHighlightColorPtrColor for drawing traversal highlight.
intfHighlightWidthWidth in pixels of highlight to draw
TGHScrollBar*TGView::fHsbhorizontal scrollbar
intfIColThe column in which zText[nComplete]
intfIDark[32]Dark 3D shadow of color K is iDark[K]
intfILight[32]Light 3D shadow of color K is iLight[K]
intfIPlaintextIf not zero, this is the token type that
Handle_tTGObject::fIdX11/Win32 Window identifier
intfIdind
TGIdleHandler*fIdle
TGHtmlImage*fImageListA list of all images
intfInDtStyle flags associated with <DT>...</DT>
intfInParsePrevent update if parsing
intfInTdTrue if within <td>..</td> or <th>..</th>
intfInTrTrue if within <tr>..</tr>
TGHtmlListStart*fInnerListThe inner most <OL> or <UL>
intfInputIdxUnique input index
SHtmlIndex_tfInsThe insertion cursor position
intfInsIndexIndex in pInsBlock of the cursor
intfInsOffTimeHow long it is off (milliseconds)
intfInsOnTimeHow long the cursor states one (millisec)
intfInsStatusIs it visible?
TTimer*fInsTimerTimer used to flash the insertion cursor
TGHtmlBlock*fLastBlockLast TGHtmlBlock in the list
intfLastGCIndex of recently used GC
TGHtmlInput*fLastInputLast <INPUT> element
TGHtmlElement*fLastSizedLast HTML element that has been sized
const char*fLastUriUsed in HandleMotion
Bool_tTGCompositeFrame::fLayoutBrokenno layout manager is used
TGHtmlLayoutContextfLayoutContext
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
TGHtmlElement*fLoEndPtrHow far AddStyle has gone to
TGHtmlForm*fLoFormStartFor AddStyle
Bool_tTGCompositeFrame::fMapSubwindowskTRUE - map subwindows
TGInsetsfMarginsdocument margins (separation between the
UInt_tTGFrame::fMaxHeightmaximal frame height
UInt_tTGFrame::fMaxWidthmaximal frame width
intfMaxX
intfMaxYMaximum extent of any "paint" that appears
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)
intfNAllocSpace allocated for zText
intfNCompleteHow much of zText has actually been
intfNFormThe number of <FORM> elements
intfNInputThe number of <INPUT> elements
intfNTextNumber of characters in zText
intfNTokenNumber of HTML tokens on the list.
TStringTGWindow::fNamename of the window used in SavePrimitive()
Bool_tTGWindow::fNeedRedrawkTRUE if window needs to be redrawn
ColorStruct_t*fNewLinkColorColor of unvisitied links. apColor[1]
TGHtmlElement*fNextPlacedNext HTML element that needs to be
ColorStruct_t*fOldLinkColorColor of visitied links. apColor[2]
UInt_tTGFrame::fOptionsframe options
intfOverrideColorsTRUE if we should override colors
intfOverrideFontsTRUE if we should override fonts
TGHtmlElement*fPFirstFirst HTML token on a list of them all
TGHtmlBlock*fPInsBlockThe TGHtmlBlock containing the cursor
TGHtmlElement*fPLastLast HTML token on the list
TGHtmlScript*fPScript<SCRIPT> currently being parsed
TGHtmlBlock*fPSelEndBlockBlock in which selection ends
TGHtmlBlock*fPSelStartBlockBlock in which selection starts
intfParaAlignmentJustification associated with <p>
const TGWindow*TGWindow::fParentParent window
intfRadioIdxUnique radio index
intfRowAlignmentJustification associated with <tr>
intfRulePaddingextra pixels above and below <HR>
intfRuleRelief3d effects on <HR>
TGLongPositionTGView::fScrollValscroll value
Int_tTGView::fScrollingscrolling direction
SHtmlIndex_tfSelBeginStart of the selection
SHtmlIndex_tfSelEndEnd of the selection
shortfSelEndIndexIndex of last selecte char in pSelEndBlock
shortfSelStartIndexIndex in pSelStartBlock of first selected
ColorStruct_t*fSelectionColorBackground color for selections
Bool_tTQObject::fSignalsBlocked! flag used for suppression of signals
SHtmlStyleStack_t*fStyleStackThe style stack
intfTableBorderMinForce tables to have min border size
intfTableRelief3d effects on <TABLE>
THashTable*fUidTableHash table for some used string values
intfUnderlineLinksTRUE if we should underline hyperlinks
intfVarIdUsed to construct a unique name for a
intfVarindIndex suffix for unique global var name
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
const char*fZBaseThe base URI
char*fZBaseHrefzBase as modified by <BASE HREF=..> markup
char*fZGotoLabel to goto right after layout
char*fZTextComplete text of the unparsed HTML
static Bool_tTQObject::fgAllSignalsBlockedflag used for suppression of all signals
static const TGGC*TGFrame::fgBckgndGC
static const TGGC*TGFrame::fgBlackGC
static Pixel_tTGFrame::fgBlackPixel
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

Class Charts

Inheritance Inherited Members Includes Libraries
Class Charts

Function documentation

TGHtml(const TGWindow* p, int w, int h, int id = -1)
 HTML Widget constructor.
~TGHtml()
 HTML widget destructor.
void UpdateBackgroundStart()
 Start background update.
void FreeColor(ColorStruct_t* color)
 Free system color.
ColorStruct_t * AllocColor(const char* name)
 Allocate system color by name.
ColorStruct_t * AllocColorByValue(ColorStruct_t* color)
 Allocate system color by value.
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
 appropriately.
void SetTableRelief(int relief)
 Sets relief mode of html table.
void SetRuleRelief(int relief)
 Sets relief mode of html rule.
void UnderlineLinks(int onoff)
 Set/reset html links underline.
void SetBaseUri(const char* uri)
 Sets base URI.
int GotoAnchor(const char* name)
 Go to anchor position.
const char * GetUid(const char* string)
 Given a string, this procedure returns a unique identifier for the
 string.

 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()
 Computes virtual size of html area.
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)
 Handles idle event.
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)
 Draw region defined by [x,y] [w,h].
Bool_t ItemLayout()
 Layout html widget.
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 HClear()
 Erase all data from the HTML widget. Bring it back to an empty screen.
Bool_t HandleTimer(TTimer* timer)
 Handle timer event.
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)
 Handle focus change event.
TGHtmlInput * GetInputElement(int x, int y)
 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.
Bool_t HandleHtmlInput(TGHtmlInput* pr, Event_t* event)
 Handle html input (button, checkbox, ...) event.
Bool_t HandleRadioButton(TGHtmlInput* p)
 Handle radio button event.
void ButtonClicked(const char* name, const char* val)
 Emit ButtonClicked() signal.
void CheckToggled(const char* name, Bool_t on, const char* val)
 Emit CheckToggled() signal.
void RadioChanged(const char* name, const char* val)
 Emit RadioChanged() signal.
void InputSelected(const char* name, const char* val)
 Emit Selected() signal.
void SubmitClicked(const char* val)
 Emit SubmitClicked() signal.
Bool_t HandleButton(Event_t* event)
 Handle mouse button 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)
 Returns html map element.
float ColorDistance(ColorStruct_t* pA, ColorStruct_t* pB)
 Compute the squared distance between two colors
int GetColorByName(const char* zColor)
 This routine returns an index between 0 and N_COLOR-1 which indicates
 which ColorStruct_t structure in the fApColor[] 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)
 Returns html element matching attribute name and value.
void UpdateSelection(int forceUpdate)
 Given the selection end-points in fSelBegin and fSelEnd, recompute
 pSelBeginBlock and fPSelEndBlock, 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 fPSelStartBlock and fPSelEndBlock 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 .fFlags field
 as appropriate.  For every TGHtmlBlock where the bit changes,
 mark that block for redrawing.
void LostSelection()
 Clear selection.
int SelectionSet(const char* startIx, const char* endIx)
 Set selection.
void UpdateInsert()
 Recompute the position of the insertion cursor based on the
 position in fIns.
int SetInsert(const char* insIx)
 Set the position of the insertion cursor.
void SavePrimitive(ostream& out, Option_t* = "")
 Save a html widget as a C++ statement(s) on output stream out.
Bool_t ProcessMessage(Long_t , Long_t , Long_t )
int GetTableRelief() const
{ return fTableRelief; }
int GetRuleRelief() const
{ return fRuleRelief; }
int GetRulePadding() const
{ return fRulePadding; }
const char * GetBaseUri() const
{ return fZBase; }
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() const
{ return fZText; }
int GetMarginWidth()
{ return fMargins.fL + fMargins.fR; }
int GetMarginHeight()
{ return fMargins.fT + fMargins.fB; }
TGHtmlImage * GetImage(TGHtmlImageMarkup* p)
void ResetBlocks()
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_t* 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_t GetCurrentStyle()
void PushStyleStack(int tag, SHtmlStyle_t style)
SHtmlStyle_t 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); }