111 virtual void SetUserData(
void *userData) { fUserData = userData; }
209 { fMLeft = left; fMRight = right; fMTop = top; fMBottom = bottom; }
void ChangeText(const char *title)
static FontStruct_t GetDefaultFontStruct()
Return default font structure.
TGTextButton(const TGTextButton &)
ClassImp(TAlienJobStatusList) void TAlienJobStatusList TString split(jobstatus->GetKey("split"))
Print information about jobs.
Int_t GetWrapLength() const
virtual void SetRightMargin(Int_t val)
Int_t GetRightMargin() const
virtual ~TGTextButton()
Delete a text button widget.
virtual void SetTextColor(Pixel_t color, Bool_t global=kFALSE)
Changes text color.
virtual void SetTopMargin(Int_t val)
virtual void SetTextJustify(Int_t tmode)
Set text justification.
virtual void Layout()
layout text button
virtual void SetLeftMargin(Int_t val)
virtual void SetTitle(const char *label)
TString GetString() const
Bool_t HasOwnFont() const
Returns kTRUE if text attributes are unique, returns kFALSE if text attributes are shared (global)...
const char * Data() const
virtual void SetForegroundColor(Pixel_t fore)
#define ClassDef(name, id)
virtual void DoRedraw()
Draw the text button.
virtual void SetBottomMargin(Int_t val)
TGTextButton & operator=(const TGTextButton &)
void SetMargins(Int_t left=0, Int_t right=0, Int_t top=0, Int_t bottom=0)
void Emit(const char *signal)
Acitvate signal without args.
Int_t GetTopMargin() const
Int_t GetLeftMargin() const
Int_t GetTextJustify() const
void Init()
Common initialization used by the different ctors.
virtual void SetText(TGHotString *new_label)
Set new button text.
FontStruct_t GetFontStruct() const
virtual TGDimension GetDefaultSize() const
returns default size
virtual void SavePrimitive(std::ostream &out, Option_t *option="")
Save a text button widget as a C++ statement(s) on output stream out.
virtual const char * GetTitle() const
Returns title of object.
static const TGFont * fgDefaultFont
virtual Bool_t HandleKey(Event_t *event)
Handle key event. This function will be called when the hotkey is hit.
Int_t GetBottomMargin() const
const char * GetString() const
virtual void SetFont(FontStruct_t font, Bool_t global=kFALSE)
Changes text font.
const TGHotString * GetText() const
double norm(double *x, double *p)
void SetWrapLength(Int_t wl)