Bool_t HandleDoubleClick(Event_t *event)
Bool_t HandleKey(Event_t *event)
TGLongPosition ToPhysical(TGLongPosition coord) const
virtual void Layout()
layout view
virtual Bool_t HandleKey(Event_t *)
TGRectangle fExposedRegion
virtual Bool_t HandleDoubleClick(Event_t *)
virtual void SetVisibleStart(Int_t newTop, Int_t direction)
Scroll view in specified direction to make newTop the visible location.
virtual void DrawRegion(Int_t x, Int_t y, UInt_t width, UInt_t height)
Draw region.
static Pixel_t GetWhitePixel()
Get white pixel value.
virtual void ChangeBackground(Pixel_t)
Change background color of the canvas frame.
virtual Bool_t HandleButton(Event_t *event)
handle button
virtual void DrawBorder()
Draw the border of the text edit widget.
virtual Bool_t ProcessMessage(Long_t msg, Long_t parm1, Long_t parm2)
Process scrollbar messages.
Bool_t HandleSelectionRequest(Event_t *event)
#define ClassDef(name, id)
Bool_t HandleCrossing(Event_t *event)
virtual Bool_t HandleSelectionRequest(Event_t *)
TGLongPosition ToVirtual(TGLongPosition coord) const
TGView & operator=(const TGView &)
Bool_t HandleSelection(Event_t *event)
Bool_t HandleButton(Event_t *event)
Bool_t HandleExpose(Event_t *event)
virtual Bool_t ItemLayout()
const TGGC & GetViewWhiteGC()
virtual Bool_t HandleSelectionClear(Event_t *)
virtual void SetBackgroundColor(Pixel_t)
Set background color of the canvas frame.
virtual Bool_t HandleMotion(Event_t *)
virtual ~TGView()
Delete view.
virtual Bool_t HandleExpose(Event_t *event)
Handle expose events.
TGLongPosition fScrollVal
virtual void SetBackgroundPixmap(Pixmap_t p)
Set backgound pixmap.
void ScrollUp(Int_t pixels)
virtual void UpdateRegion(Int_t x, Int_t y, UInt_t w, UInt_t h)
update a part of view
virtual void DoRedraw()
redraw
virtual void ScrollToPosition(TGLongPosition newPos)
Scroll the canvas to pos.
TGLongPosition GetScrollValue() const
Bool_t HandleMotion(Event_t *event)
void ScrollRight(Int_t pixels)
virtual void ScrollCanvas(Int_t newTop, Int_t direction)
Scroll the canvas to new_top in the kVertical or kHorizontal direction.
TGLongPosition GetScrollPosition() const
Bool_t HandleSelectionClear(Event_t *event)
TGViewFrame * GetCanvas() const
virtual void SetLayoutManager(TGLayoutManager *)
Set the layout manager for the composite frame.
virtual void Clear(Option_t *="")
Clear view.
virtual TGDimension GetDefaultSize() const
std::cout << fWidth << "x" << fHeight << std::endl;
void ScrollDown(Int_t pixels)
void ScrollLeft(Int_t pixels)
virtual Bool_t HandleCrossing(Event_t *)
virtual void UpdateBackgroundStart()
set some gc values
virtual Bool_t HandleSelection(Event_t *)
TGDimension GetVirtualSize() const