56      if (
p->fFrame != 0 ) {
 
   57         p->fFrame->UnmapWindow();
 
 
   82      if (
p->fFrame == 0) 
continue;
 
   83      if (
p->fY < 
y + 
h && 
p->fY + 
p->fH > 
y &&
 
   84          p->fX < 
x + 
w && 
p->fX + 
p->fW > 
x) {
 
   88          p->fFrame->MapWindow();
 
   92          p->fFrame->UnmapWindow();
 
 
  114   for (; 
p; 
p = 
p->fINext) {
 
  119         if (!
fExiting) 
p->fFrame->DestroyWindow();
 
 
  156         z = 
p->MarkupArg(
"type", 
"text");
 
  158         for (i = 0; i < 
int(
sizeof(
types) / 
sizeof(
types[0])); i++) {
 
 
  195   pElem->fFrame = frame;
 
  196   if (
pElem->fFrame == 0) {
 
  225      int bg = 
pElem->fStyle.fBgcolor;
 
  230      pElem->fFrame->SetBackgroundColor(
cbg->fPixel);
 
  237      pElem->fFrame->MapSubwindows();
 
  238      pElem->fFrame->Layout();
 
 
  250      switch (
pFirs->fType) {
 
  262               while (cnt > (
int)
sizeof(
zSpaces) - 1) {
 
 
  313         const char *
zValue = 
p->MarkupArg(
"value", 
"");
 
  314         const char *
sel = 
p->MarkupArg(
"selected", 
"");
 
 
  361   if (
pElem->fSized) 
return 0;
 
  371   switch (
pElem->fItype) {
 
  382         if (
pElem->MarkupArg(
"checked", 0))
 
  385         f->Resize(
f->GetDefaultSize());
 
  393         if (
pElem->MarkupArg(
"checked", 0))
 
  396         f->Resize(
f->GetDefaultSize());
 
  403         const char *z = 
pElem->MarkupArg(
"value", 0);
 
  408         f->Resize(
f->GetDefaultSize());
 
  416         const char *z = 
pElem->MarkupArg(
"value", 0);
 
  417         if (!z) z = 
"Submit";
 
  422         f->Resize(
f->GetDefaultSize());
 
  429         const char *z = 
pElem->MarkupArg(
"maxlength", 0);
 
  430         int maxlen = z ? atoi(z) : 256;
 
  432         z = 
pElem->MarkupArg(
"size", 0);
 
  433         int size = z ? atoi(z) * 5 : 150;
 
  436         z = 
pElem->MarkupArg(
"value", 0);
 
  437         if (z) 
f->AppendText(z);
 
  438         f->Resize(
size, 
f->GetDefaultHeight());
 
  445         const char *z = 
pElem->MarkupArg(
"maxlength", 0);
 
  446         int maxlen = z ? atoi(z) : 256;
 
  448         z = 
pElem->MarkupArg(
"size", 0);
 
  449         int size = z ? atoi(z) * 5 : 150;
 
  453         z = 
pElem->MarkupArg(
"value", 0);
 
  454         if (z) 
f->AppendText(z);
 
  455         f->Resize(
size, 
f->GetDefaultHeight());
 
  462         const char *z = 
pElem->MarkupArg(
"size", 0);
 
  463         int size = z ? atoi(z) : 1;
 
  473            for (
int i=0;i<
lb->GetNumberOfEntries();++i) {
 
  475               if (
te && 
te->GetText())
 
  478            height = 
lb->GetItemVsize() ? 
lb->GetItemVsize()+4 : 22;
 
  485            z = 
pElem->MarkupArg(
"multiple", 0);
 
  486            if (z) 
lb->SetMultipleSelections(
kTRUE);
 
  488            for (
int i=0;i<
lb->GetNumberOfEntries();++i) {
 
  490               if (
te && 
te->GetText())
 
  493            height = 
lb->GetItemVsize() ? 
lb->GetItemVsize() : 22;
 
 
  556         while ((
q = 
q->fPPrev))
 
 
  569   const char *
name, *z;
 
  587            if ((
name = 
p->MarkupArg(
"name", 0))) {
 
  589                  if ((z = 
q->MarkupArg(
"name", 0)) && !
strcmp(z, 
name)) {
 
 
  628   1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
 
  629   1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
 
  630   1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 1, 0, 0, 0, 0,
 
  631   0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 1, 1, 1, 1,
 
  632   1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
 
  633   0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 1, 1, 0, 0,
 
  634   1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
 
  635   0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 0, 1, 0, 1,
 
 
  637#define NeedToEscape(C) ((C)>0 && (C)<127 && gNeedEscape[(int)(C)]) 
  648      if (i > 0) str->Append(z, i);
 
  653         } 
else if (*z == 
'\n') {
 
  654            str->Append(
"%0D%0A", 6);
 
  655         } 
else if (*z == 
'\r') {
 
  660            str->Append(
zBuf, 3);
 
 
size_t size(const MatrixT &matrix)
retrieve the size of a square matrix
 
ROOT::Detail::TRangeCast< T, true > TRangeDynCast
TRangeDynCast is an adapter class that allows the typed iteration through a TCollection.
 
#define INPUT_TYPE_Button
 
#define INPUT_TYPE_Applet
 
#define INPUT_TYPE_Submit
 
#define INPUT_TYPE_Unknown
 
#define INPUT_TYPE_Hidden
 
#define INPUT_TYPE_Password
 
#define INPUT_TYPE_TextArea
 
#define INPUT_TYPE_Checkbox
 
#define INPUT_TYPE_Select
 
winID h TVirtualViewer3D TVirtualGLPainter p
 
Option_t Option_t TPoint TPoint const char GetTextMagnitude GetFillStyle GetLineColor GetLineWidth GetMarkerStyle GetTextAlign GetTextColor GetTextSize void input
 
Option_t Option_t TPoint TPoint const char GetTextMagnitude GetFillStyle GetLineColor GetLineWidth GetMarkerStyle GetTextAlign GetTextColor GetTextSize void char Point_t Rectangle_t WindowAttributes_t Float_t Float_t Float_t Int_t Int_t UInt_t UInt_t Rectangle_t Int_t Int_t Window_t TString Int_t GCValues_t GetPrimarySelectionOwner GetDisplay GetScreen GetColormap GetNativeEvent const char const char dpyName wid window const char font_name cursor keysym reg const char only_if_exist regb h Point_t winding char text const char depth char const char Int_t count const char ColorStruct_t color const char Pixmap_t Pixmap_t PictureAttributes_t attr const char char ret_data h unsigned char height h Atom_t Int_t ULong_t ULong_t unsigned char prop_list Atom_t sel
 
Option_t Option_t TPoint TPoint const char GetTextMagnitude GetFillStyle GetLineColor GetLineWidth GetMarkerStyle GetTextAlign GetTextColor GetTextSize id
 
Option_t Option_t TPoint TPoint const char GetTextMagnitude GetFillStyle GetLineColor GetLineWidth GetMarkerStyle GetTextAlign GetTextColor GetTextSize void char Point_t Rectangle_t WindowAttributes_t Float_t Float_t Float_t Int_t Int_t UInt_t UInt_t Rectangle_t Int_t Int_t Window_t TString Int_t GCValues_t GetPrimarySelectionOwner GetDisplay GetScreen GetColormap GetNativeEvent const char const char dpyName wid window const char font_name cursor keysym reg const char only_if_exist regb h Point_t winding char text const char depth char const char Int_t count const char ColorStruct_t color const char Pixmap_t Pixmap_t PictureAttributes_t attr const char char ret_data h unsigned char height h Atom_t Int_t ULong_t ULong_t unsigned char prop_list Atom_t Atom_t Atom_t Time_t type
 
Option_t Option_t TPoint TPoint const char GetTextMagnitude GetFillStyle GetLineColor GetLineWidth GetMarkerStyle GetTextAlign GetTextColor GetTextSize void char Point_t Rectangle_t height
 
A combobox (also known as a drop down listbox) allows the selection of one item out of a list of item...
 
virtual TGListBox * GetListBox() const
 
virtual void Select(Int_t id, Bool_t emit=kTRUE)
Make the selected item visible in the combo box window and emit signals according to the second param...
 
A subclasses of TGWindow, and is used as base class for some simple widgets (buttons,...
 
void Resize(UInt_t w=0, UInt_t h=0) override
Resize the frame.
 
virtual UInt_t GetDefaultWidth() const
 
virtual UInt_t GetDefaultHeight() const
 
TGHotString is a string with a "hot" character underlined.
 
const char * GetValue() const
 
TGHtmlLBEntry(const TGWindow *p, TGString *s, TGString *val, int ID)
 
~TGHtmlLBEntry() override
 
ColorStruct_t * fApColor[32]
 
TGHtmlInput * fFormElemLast
 
void EncodeText(TGString *str, const char *z)
Append to the given TString an encoded version of the given text.
 
void DeleteControls()
Delete all input controls.
 
TGHtmlInput * fFirstInput
 
void AppendText(TGString *str, TGHtmlElement *pFirst, TGHtmlElement *pEnd)
Append all text and space tokens between pStart and pEnd to the given TString.
 
void UnmapControls()
Unmap any input control that is currently mapped.
 
void AddSelectOptions(TGListBox *lb, TGHtmlElement *p, TGHtmlElement *pEnd)
The "p" argument points to a <select>.
 
int FormCount(TGHtmlInput *p, int radio)
Return the number of elments of type p in a form.
 
void SizeAndLink(TGFrame *frame, TGHtmlInput *pElem)
'frame' is the child widget that is used to implement an input element.
 
int ControlSize(TGHtmlInput *p)
This routine implements the Sizer() function for <INPUT>, <SELECT> and <TEXTAREA> markup.
 
int MapControls()
Map any control that should be visible according to the current scroll position.
 
virtual TGFrame * ProcessApplet(TGHtmlInput *)
 
void AddFormInfo(TGHtmlElement *p)
Add the DOM control information for form elements.
 
Bool_t ProcessMessage(Longptr_t, Longptr_t, Longptr_t) override
Process messages (GUI events) in the html widget.
 
This class describes layout hints used by the layout classes.
 
A listbox is a box, possibly with scrollbar, containing entries.
 
TGString wraps a TString and adds some graphics routines like drawing, size of string on screen depen...
 
const char * GetString() const
 
A text buffer is used in several widgets, like TGTextEntry, TGFileDialog, etc.
 
Yield an action as soon as it is clicked.
 
A TGTextEdit is a specialization of TGTextView.
 
A TGTextEntry is a one line text input widget.
 
Text string listbox entries.
 
Bool_t ProcessMessage(Longptr_t msg, Longptr_t parm1, Longptr_t parm2) override
Process scrollbar messages.
 
TGLongPosition fVisible
position of visible region
 
TGViewFrame * fCanvas
frame containing the text
 
ROOT GUI Window base class.
 
Short_t Max(Short_t a, Short_t b)
Returns the largest of a and b.