Handle_t Pixmap_t
Pixmap handle.
ULong_t Pixel_t
Pixel value.
#define ClassDef(name, id)
include TDocParser_001 C image html pict1_TDocParser_001 png width
The base class for composite widgets (menu bars, list boxes, etc.).
virtual Bool_t HandleCrossing(Event_t *)
virtual Bool_t HandleSelection(Event_t *)
virtual Bool_t HandleDoubleClick(Event_t *)
virtual Bool_t HandleMotion(Event_t *)
virtual Bool_t HandleKey(Event_t *)
virtual Bool_t HandleSelectionClear(Event_t *)
static Pixel_t GetWhitePixel()
Get white pixel value.
UInt_t fHeight
frame height
virtual Bool_t HandleSelectionRequest(Event_t *)
Encapsulate a graphics context used in the low level graphics.
Bool_t HandleDoubleClick(Event_t *event)
Bool_t HandleCrossing(Event_t *event)
Bool_t HandleSelectionRequest(Event_t *event)
Bool_t HandleSelection(Event_t *event)
Bool_t HandleKey(Event_t *event)
TGViewFrame & operator=(const TGViewFrame &)=delete
Bool_t HandleSelectionClear(Event_t *event)
Bool_t HandleButton(Event_t *event)
Bool_t HandleMotion(Event_t *event)
TGViewFrame(const TGViewFrame &)=delete
Bool_t HandleExpose(Event_t *event)
A TGView provides the infrastructure for text viewer and editor widgets.
Atom_t fClipboard
clipboard property
TGHScrollBar * fHsb
horizontal scrollbar
virtual ~TGView()
Delete view.
void ScrollLeft(Int_t pixels)
virtual Bool_t ItemLayout()
virtual Bool_t ProcessMessage(Longptr_t msg, Longptr_t parm1, Longptr_t parm2)
Process scrollbar messages.
void ScrollRight(Int_t pixels)
virtual Bool_t HandleButton(Event_t *event)
handle button
TGDimension fVirtualSize
the current virtual window size
TGVScrollBar * fVsb
vertical scrollbar
const TGGC & GetViewWhiteGC()
TGLongPosition ToPhysical(TGLongPosition coord) const
virtual void Layout()
layout view
TGLongPosition fMousePos
position of mouse
void ScrollUp(Int_t pixels)
TGLongPosition fVisible
position of visible region
void ScrollDown(Int_t pixels)
virtual TGDimension GetDefaultSize() const
std::cout << fWidth << "x" << fHeight << std::endl;
virtual void UpdateBackgroundStart()
set some gc values
TGLongPosition ToVirtual(TGLongPosition coord) const
virtual void DrawBorder()
Draw the border of the text edit widget.
TGView(const TGView &)=delete
TGViewFrame * GetCanvas() const
virtual void SetVisibleStart(Int_t newTop, Int_t direction)
Scroll view in specified direction to make newTop the visible location.
Int_t fScrolling
scrolling direction
virtual void SetBackgroundColor(Pixel_t)
Set background color of the canvas frame.
TGLongPosition GetScrollPosition() const
TGLongPosition fScrollVal
scroll value
virtual void SetLayoutManager(TGLayoutManager *)
Set the layout manager for the composite frame.
TGViewFrame * fCanvas
frame containing the text
virtual void ChangeBackground(Pixel_t)
Change background color of the canvas frame.
virtual void UpdateRegion(Int_t x, Int_t y, UInt_t w, UInt_t h)
update a part of view
virtual void ScrollCanvas(Int_t newTop, Int_t direction)
Scroll the canvas to new_top in the kVertical or kHorizontal direction.
virtual void DrawRegion(Int_t x, Int_t y, UInt_t width, UInt_t height)
Draw region.
virtual void DoRedraw()
redraw
TGGC fWhiteGC
graphics context used for scrolling generates GraphicsExposure events
virtual Bool_t HandleExpose(Event_t *event)
Handle expose events.
virtual void ScrollToPosition(TGLongPosition newPos)
Scroll the canvas to pos.
TGLongPosition GetScrollValue() const
TGDimension GetVirtualSize() const
TGView & operator=(const TGView &)=delete
virtual void Clear(Option_t *="")
Clear view.
TGRectangle fExposedRegion
exposed area
virtual void SetBackgroundPixmap(Pixmap_t p)
Set backgound pixmap.
ROOT GUI Window base class.