virtual void Resize(UInt_t w=0, UInt_t h=0)
Resize the frame.
virtual TGDimension GetDefaultSize() const
std::cout << fWidth << "x" << fHeight << std::endl;
virtual Int_t GetPosition() const
virtual void SetRange(Int_t min, Int_t max)
TGSlider & operator=(const TGSlider &)
virtual void MapSubwindows()
virtual void SetState(Bool_t state)
Set state of widget. If kTRUE=enabled, kFALSE=disabled.
virtual void Resize(TGDimension size)
Resize the frame.
TGSlider(const TGSlider &)
virtual Bool_t HandleConfigureNotify(Event_t *event)=0
This event is generated when the frame is resized.
virtual void DoRedraw()
Redraw the frame.
const TGPicture * fDisabledPic
#define ClassDef(name, id)
static Pixel_t GetDefaultFrameBackground()
Get default frame background.
TString GetTypeString() const
Returns the slider type as a string - used in SavePrimitive().
void FreePicture(const TGPicture *pic)
Free picture resource.
virtual Bool_t HandleButton(Event_t *event)=0
void Emit(const char *signal)
Acitvate signal without args.
virtual void ChangeSliderPic(const char *name)
virtual void Resize(TGDimension size)
Resize the frame.
virtual void SavePrimitive(std::ostream &out, Option_t *option="")
Save a frame widget as a C++ statement(s) on output stream out.
virtual TGDimension GetDefaultSize() const
std::cout << fWidth << "x" << fHeight << std::endl;
virtual Int_t GetMaxPosition() const
virtual void SetPosition(Int_t pos)
virtual void SetScale(Int_t scale)
virtual void Resize(UInt_t w, UInt_t h)
Resize the frame.
virtual void PositionChanged(Int_t pos)
const TGPicture * GetPicture(const char *name)
Get picture from the picture pool.
virtual void SetEnabled(Bool_t flag=kTRUE)
virtual Int_t GetMinPosition() const
virtual Bool_t HandleMotion(Event_t *event)=0
virtual void Resize(UInt_t w, UInt_t h)
Resize the frame.
virtual void CreateDisabledPicture()
Creates disabled picture.
void NeedRedraw(TGWindow *w, Bool_t force=kFALSE)
Set redraw flags.
virtual Int_t GetScale() const
virtual void MapSubwindows()
const TGPicture * fSliderPic