96      Error(
"AddButton", 
"pixmap not found: %s", 
button->fPixmap);
 
  119   Connect(
pbut, 
"Pressed()" , 
"TGToolBar", 
this, 
"ButtonPressed()");
 
  120   Connect(
pbut, 
"Released()", 
"TGToolBar", 
this, 
"ButtonReleased()");
 
  121   Connect(
pbut, 
"Clicked()" , 
"TGToolBar", 
this, 
"ButtonClicked()");
 
 
  146   Connect(
pbut, 
"Pressed()" , 
"TGToolBar", 
this, 
"ButtonPressed()");
 
  147   Connect(
pbut, 
"Released()", 
"TGToolBar", 
this, 
"ButtonReleased()");
 
  148   Connect(
pbut, 
"Clicked()" , 
"TGToolBar", 
this, 
"ButtonClicked()");
 
 
  275   out << 
"\n   // tool bar\n";
 
  277   out << 
"   TGToolBar *" << 
GetName() << 
" = new TGToolBar(" << 
fParent->GetName() << 
"," << 
GetWidth() << 
"," 
  281      out << 
"   " << 
GetName() << 
"->SetName(\"" << 
GetName() << 
"\");\n";
 
  291            out << 
"   ToolBarData_t toolbardata;\n";
 
  298         out << 
"   toolbardata.fPixmap = \"" << 
picname.ReplaceSpecialCppChars() << 
"\";\n";
 
  299         out << 
"   toolbardata.fTipText = \"" 
  302            out << 
"   toolbardata.fStayDown = kTRUE;\n";
 
  304            out << 
"   toolbardata.fStayDown = kFALSE;\n";
 
  305         out << 
"   toolbardata.fId = " << i + 1 << 
";\n";
 
  306         out << 
"   toolbardata.fButton = nullptr;\n";
 
  307         out << 
"   " << 
GetName() << 
"->AddButton(" << 
GetParent()->GetName() << 
", &toolbardata, " 
  308             << 
f->fLayout->GetPadLeft() << 
");\n";
 
  310            out << 
"   toolbardata.fButton->SetState(kButtonDown);\n";
 
  313            out << 
"   toolbardata.fButton->SetState(kButtonDisabled);\n";
 
  316            out << 
"   toolbardata.fButton->SetState(kButtonEngaged);\n";
 
  320         f->fFrame->SavePrimitive(out, 
option);
 
  321         out << 
"   " << 
GetName() << 
"->AddFrame(" << 
f->fFrame->GetName();
 
  322         f->fLayout->SavePrimitive(out, 
option);
 
 
ULong_t Pixel_t
Pixel value.
ROOT::Detail::TRangeCast< T, true > TRangeDynCast
TRangeDynCast is an adapter class that allows the typed iteration through a TCollection.
void Error(const char *location, const char *msgfmt,...)
Use this function in case an error occurred.
winID h TVirtualViewer3D TVirtualGLPainter p
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 button
R__EXTERN void * gTQSender
R__EXTERN TSystem * gSystem
const TGPicture * GetPicture(const char *name)
Get picture from the picture pool.
void FreePicture(const TGPicture *pic)
Free picture resource.
The base class for composite widgets (menu bars, list boxes, etc.).
virtual void AddFrame(TGFrame *f, TGLayoutHints *l=nullptr)
Add frame to the composite frame using the specified layout hints.
virtual TList * GetList() const
Int_t MustCleanup() const override
virtual void Cleanup()
Cleanup and delete all objects contained in this composite frame.
TString SaveCtorArgs(std::ostream &out, UInt_t dflt_options=kChildFrame, Bool_t check_white_pixel=kFALSE)
Return options and custom color as constructor args Used in the SavePrimitive methods,...
This class describes layout hints used by the layout classes.
TGClient * fClient
Connection to display server.
The TGPicture class implements pictures and icons used in the different GUI elements and widgets.
ROOT GUI Window base class.
const TGWindow * fParent
Parent window.
virtual void SetWindowName(const char *name=nullptr)
Set window name.
const TGWindow * GetParent() const
const char * GetName() const override
Return unique name, used in SavePrimitive methods.
void Clear(Option_t *option="") override
Remove all objects from the list.
void Add(TObject *obj) override
TMap implements an associative array of (key,value) pairs using a THashTable for efficient retrieval ...
void Add(TObject *obj) override
This function may not be used (but we need to provide it since it is a pure virtual in TCollection).
TObject * FindObject(const char *keyname) const override
Check if a (key,value) pair exists with keyname as name of the key.
TObject * GetValue(const char *keyname) const
Returns a pointer to the value associated with keyname as name of the key.
Mother of all ROOT objects.
Class used by TMap to store (key,value) pairs.
Bool_t Connect(const char *signal, const char *receiver_class, void *receiver, const char *slot)
Non-static method is used to connect from the signal of this object to the receiver slot.
TString & ReplaceSpecialCppChars()
Find special characters which are typically used in printf() calls and replace them by appropriate es...
virtual Bool_t ExpandPathName(TString &path)
Expand a pathname getting rid of special shell characters like ~.
virtual const char * UnixPathName(const char *unixpathname)
Convert from a local pathname to a Unix pathname.