Logo ROOT  
Reference Guide
Loading...
Searching...
No Matches
TGWin32 Class Reference

This class is the basic interface to the Win32 graphics system.

It is an implementation of the abstract TVirtualX class.

This code was initially developed in the context of HIGZ and PAW by Olivier Couet (package X11INT).

Definition at line 66 of file TGWin32.h.

Public Types

enum  { kSingleKey = (1ULL << (0)) , kOverwrite = (1ULL << (1)) , kWriteDelete = (1ULL << (2)) }
enum  {
  kIsOnHeap = 0x01000000 , kNotDeleted = 0x02000000 , kZombie = 0x04000000 , kInconsistent = 0x08000000 ,
  kBitMask = 0x00ffffff
}
enum  EBoxMode { kHollow , kFilled }
enum  EDeprecatedStatusBits { kObjInCanvas = (1ULL << (3)) }
enum  EDrawMode { kCopy = 1 , kXor , kInvert }
enum  EStatusBits {
  kCanDelete = (1ULL << (0)) , kMustCleanup = (1ULL << (3)) , kIsReferenced = (1ULL << (4)) , kHasUUID = (1ULL << (5)) ,
  kCannotPick = (1ULL << (6)) , kNoContextMenu = (1ULL << (8)) , kInvalidObject = (1ULL << (13))
}
enum  ETextMode { kClear , kOpaque }
enum  ETextSetMode { kCheck , kLoad }

Public Member Functions

 TGWin32 ()
 Default constructor.
 TGWin32 (const char *name, const char *title)
 Normal Constructor.
virtual ~TGWin32 ()
 destructor.
void AbstractMethod (const char *method) const
 Call this function within a function that you don't want to define as purely virtual, in order not to force all users deriving from that class to implement that maybe (on their side) unused function; but at the same time, emit a run-time warning if they try to call it, telling that it is not implemented in the derived class: action must thus be taken on the user side to override it.
Int_t AddPixmap (ULongptr_t pix, UInt_t w, UInt_t h) override
 register pixmap created by TGWin32GLManager
Int_t AddWindow (ULongptr_t qwid, UInt_t w, UInt_t h) override
 Register a window created by Qt as a ROOT window (like InitWindow()).
Bool_t AllocColor (Colormap_t cmap, ColorStruct_t &color) override
 Find and allocate a color cell according to the color values specified in the ColorStruct_t.
virtual void AppendPad (Option_t *option="")
 Append graphics object to current pad.
virtual void BeginModalSessionFor (Window_t window)
 Start a modal session for a dialog window.
void Bell (Int_t percent) override
 Sets the sound bell. Percent is loudness from -100% to 100%.
virtual void Browse (TBrowser *b)
 Browse object. May be overridden for another default action.
void ChangeActivePointerGrab (Window_t, UInt_t, Cursor_t) override
 Changes the active cursor of the specified window.
void ChangeGC (GContext_t gc, GCValues_t *gval) override
 Change entries in an existing graphics context, gc, by values from gval.
void ChangeProperties (Window_t id, Atom_t property, Atom_t type, Int_t format, UChar_t *data, Int_t len) override
 Put data into Clipboard.
void ChangeProperty (Window_t id, Atom_t property, Atom_t type, UChar_t *data, Int_t len) override
 This function alters the property for the specified window and causes the X server to generate a PropertyNotify event on that window.
void ChangeWindowAttributes (Window_t id, SetWindowAttributes_t *attr) override
 Change window attributes.
ULong_t CheckedHash ()
 Check and record whether this class has a consistent Hash/RecursiveRemove setup (*) and then return the regular Hash value for this object.
Bool_t CheckEvent (Window_t id, EGEventType type, Event_t &ev) override
 Check if there is for window "id" an event of type "type".
virtual const char * ClassName () const
 Returns name of class to which the object belongs.
void Clear (Option_t *option="") override
 Set name and title to empty strings ("").
void ClearArea (Window_t id, Int_t x, Int_t y, UInt_t w, UInt_t h) override
 Clear a window area to the bakcground color.
void ClearWindow () override
 Clear current window.
void ClearWindow (Window_t id) override
 Clear window.
void ClearWindowW (WinContext_t wctxt) override
 Clear specified window.
TObjectClone (const char *newname="") const override
 Make a clone of an object using the Streamer facility.
void CloseDisplay () override
 close display (terminate server/gMainThread thread)
void ClosePixmap () override
 Delete current pixmap.
void CloseWindow () override
 Delete current window.
Int_t Compare (const TObject *obj) const override
 Compare two TNamed objects.
void ConvertPrimarySelection (Window_t id, Atom_t clipboard, Time_t when) override
 XConvertSelection() causes a SelectionRequest event to be sent to the current primary selection owner.
void ConvertSelection (Window_t, Atom_t &, Atom_t &, Atom_t &, Time_t &) override
 Get Clipboard data.
void Copy (TAttFill &attfill) const
void Copy (TAttLine &attline) const
void Copy (TAttMarker &attmarker) const
void Copy (TAttText &atttext) const
void Copy (TObject &named) const override
 Copy this to obj.
void CopyArea (Drawable_t src, Drawable_t dest, GContext_t gc, Int_t src_x, Int_t src_y, UInt_t width, UInt_t height, Int_t dest_x, Int_t dest_y) override
 Copy a drawable (i.e.
void CopyGC (GContext_t org, GContext_t dest, Mask_t mask) override
 Copies graphics context from org to dest.
void CopyPixmap (Int_t wid, Int_t xpos, Int_t ypos) override
 Copy the pixmap wid at the position xpos, ypos in the current window.
void CopyPixmapW (WinContext_t wctxt, Int_t wid, Int_t xpos, Int_t ypos) override
 Copy the pixmap wid at the position xpos, ypos in the specified window.
Pixmap_t CreateBitmap (Drawable_t id, const char *bitmap, UInt_t width, UInt_t height) override
 Create a bitmap (i.e. pixmap with depth 1) from the bitmap data.
Cursor_t CreateCursor (ECursor cursor) override
 Create cursor handle (just return cursor from cursor pool fCursors).
GContext_t CreateGC (Drawable_t id, GCValues_t *gval) override
 Create a graphics context using the values set in gval (but only for those entries that are in the mask).
Drawable_t CreateImage (UInt_t width, UInt_t height) override
 Allocates the memory needed for an drawable.
virtual void CreateOpenGLContext (Int_t wid=0)
 Creates OpenGL context for window "wid".
virtual Handle_t CreateOpenGLContext (Window_t windowID, Handle_t sharedContext)
 Creates OpenGL context for window "windowID".
virtual Window_t CreateOpenGLWindow (Window_t parentID, UInt_t width, UInt_t height, const std::vector< std::pair< UInt_t, Int_t > > &format)
 Create window with special pixel format. Noop everywhere except Cocoa.
Bool_t CreatePictureFromData (Drawable_t id, char **data, Pixmap_t &pict, Pixmap_t &pict_mask, PictureAttributes_t &attr) override
 Create a pixture pixmap from data.
Bool_t CreatePictureFromFile (Drawable_t id, const char *filename, Pixmap_t &pict, Pixmap_t &pict_mask, PictureAttributes_t &attr) override
 Create a picture pixmap from data on file.
Pixmap_t CreatePixmap (Drawable_t id, const char *bitmap, UInt_t width, UInt_t height, ULong_t forecolor, ULong_t backcolor, Int_t depth) override
 Create a pixmap from bitmap data.
Pixmap_t CreatePixmap (Drawable_t id, UInt_t w, UInt_t h) override
 Creates a pixmap of the width and height you specified and returns a pixmap ID that identifies it.
Pixmap_t CreatePixmapFromData (unsigned char *bits, UInt_t width, UInt_t height) override
 create an image from RGB data.
Region_t CreateRegion () override
 Create a new empty region.
Window_t CreateWindow (Window_t parent, Int_t x, Int_t y, UInt_t w, UInt_t h, UInt_t border, Int_t depth, UInt_t clss, void *visual, SetWindowAttributes_t *attr, UInt_t wtype) override
 Return handle to newly created gdk window.
virtual void Delete (Option_t *option="")
 Delete this object.
void DeleteFont (FontStruct_t fs) override
 Explicitely delete font structure obtained with LoadQueryFont().
void DeleteGC (GContext_t gc) override
 Explicitely delete a graphics context.
void DeleteImage (Drawable_t img) override
 Deallocates the memory associated with the image img.
virtual void DeleteOpenGLContext (Int_t wid=0)
 Deletes OpenGL context for window "wid".
void DeletePictureData (void *data) override
 Delete picture data created by the function ReadPictureDataFromFile.
void DeletePixmap (Pixmap_t pmap) override
 Explicitely delete pixmap resource.
void DeleteProperty (Window_t, Atom_t &) override
 Deletes the specified property on the specified window.
void DestroyRegion (Region_t reg) override
 Destroy region.
void DestroySubwindows (Window_t id) override
 Destroy all internal subwindows.
void DestroyWindow (Window_t id) override
 Destroy window.
virtual void DispatchClientMessage (UInt_t messageID)
 Force processing of event, sent by SendEvent before.
const char * DisplayName (const char *dpyName=0) override
 Return hostname on which the display is opened.
Int_t DistancetoLine (Int_t px, Int_t py, Double_t xp1, Double_t yp1, Double_t xp2, Double_t yp2)
virtual Int_t DistancetoPrimitive (Int_t px, Int_t py)
 Computes distance from point (px,py) to the object.
virtual void Draw (Option_t *option="")
 Default Draw method for all objects.
void DrawBox (Int_t x1, Int_t y1, Int_t x2, Int_t y2, EBoxMode mode) override
 Draw a box.
void DrawBoxW (WinContext_t wctxt, Int_t x1, Int_t y1, Int_t x2, Int_t y2, EBoxMode mode) override
 Draw a box on specified window.
void DrawCellArray (Int_t x1, Int_t y1, Int_t x2, Int_t y2, Int_t nx, Int_t ny, Int_t *ic) override
 Draw a cell array.
virtual void DrawClass () const
 Draw class inheritance tree of the class to which this object belongs.
virtual TObjectDrawClone (Option_t *option="") const
 Draw a clone of this object in the current selected pad with: gROOT->SetSelectedPad(c1).
void DrawFillArea (Int_t n, TPoint *xy) override
 Fill area described by polygon.
void DrawFillAreaW (WinContext_t wctxt, Int_t n, TPoint *xy) override
 Fill area described by polygon in a specified window.
void DrawLine (Drawable_t id, GContext_t gc, Int_t x1, Int_t y1, Int_t x2, Int_t y2) override
 Draw a line.
void DrawLine (Int_t x1, Int_t y1, Int_t x2, Int_t y2) override
 Draw a line.
virtual void DrawLinesSegments (Int_t n, TPoint *xy)
 Draws N segments between provided points.
void DrawLinesSegmentsW (WinContext_t wctxt, Int_t n, TPoint *xy) override
 Draw N segments on specified window n : number of segments xy : list of points, 2*N size.
void DrawLineW (WinContext_t wctxt, Int_t x1, Int_t y1, Int_t x2, Int_t y2) override
 Draw a line on specified window.
void DrawPolyLine (Int_t n, TPoint *xy) override
 Draw a line through all points.
void DrawPolyLineW (WinContext_t wctxt, Int_t n, TPoint *xy) override
 Draw a line through all points in specified window.
void DrawPolyMarker (Int_t n, TPoint *xy) override
 Draw n markers with the current attributes at position x, y.
void DrawPolyMarkerW (WinContext_t wctxt, Int_t n, TPoint *xy) override
 Draw n markers with the current attributes at position x, y in specified window.
void DrawRectangle (Drawable_t id, GContext_t gc, Int_t x, Int_t y, UInt_t w, UInt_t h) override
 Draw a rectangle outline.
void DrawSegments (Drawable_t id, GContext_t gc, Segment_t *seg, Int_t nseg) override
 Draws multiple line segments. Each line is specified by a pair of points.
void DrawString (Drawable_t id, GContext_t gc, Int_t x, Int_t y, const char *s, Int_t len) override
 Draw a string using a specific graphics context in position (x,y).
void DrawText (Int_t x, Int_t y, Float_t angle, Float_t mgn, const char *text, ETextMode mode) override
 Draw text using TrueType fonts.
void DrawText (Int_t x, Int_t y, Float_t angle, Float_t mgn, const wchar_t *text, ETextMode mode) override
 Draw text using TrueType fonts.
void DrawTextW (WinContext_t wctxt, Int_t x, Int_t y, Float_t angle, Float_t mgn, const char *text, ETextMode mode) override
 Draw text using TrueType fonts on specified window.
void DrawTextW (WinContext_t wctxt, Int_t x, Int_t y, Float_t angle, Float_t mgn, const wchar_t *text, ETextMode mode) override
 Draw text using TrueType fonts on specified window.
virtual void Dump () const
 Dump contents of object on stdout.
Bool_t EmptyRegion (Region_t reg) override
 Return true if the region is empty.
Bool_t EqualRegion (Region_t rega, Region_t regb) override
 Returns true if two regions are equal.
virtual void Error (const char *method, const char *msgfmt,...) const
 Issue error message.
Int_t EventsPending () override
 Returns number of pending events.
virtual UInt_t ExecCommand (TGWin32Command *code)
 Executes the command "code" coming from the other threads (Win32).
virtual void Execute (const char *method, const char *params, Int_t *error=nullptr)
 Execute method on this object with the given parameter string, e.g.
virtual void Execute (TMethod *method, TObjArray *params, Int_t *error=nullptr)
 Execute method on this object with parameters stored in the TObjArray.
virtual void ExecuteEvent (Int_t event, Int_t px, Int_t py)
 Execute action corresponding to an event at (px,py).
virtual void Fatal (const char *method, const char *msgfmt,...) const
 Issue fatal error message.
virtual void FillBuffer (char *&buffer)
 Encode TNamed into output buffer.
void FillPolygon (Window_t id, GContext_t gc, Point_t *points, Int_t npnt) override
 FillPolygon fills the region closed by the specified path.
void FillRectangle (Drawable_t id, GContext_t gc, Int_t x, Int_t y, UInt_t w, UInt_t h) override
 Draw a filled rectangle. Filling is done according to the gc.
virtual TObjectFindObject (const char *name) const
 Must be redefined in derived classes.
virtual TObjectFindObject (const TObject *obj) const
 Must be redefined in derived classes.
Window_t FindRWindow (Window_t win, Window_t dragwin, Window_t input, int x, int y, int maxd) override
 Recursively search in the children of Window for a Window which is at location x, y and is DND aware, with a maximum depth of maxd.
virtual void FlushOpenGLBuffer (Handle_t ctx)
 Flushes OpenGL buffer.
void FreeColor (Colormap_t cmap, ULong_t pixel) override
 Free color cell with specified pixel value.
void FreeFontNames (char **fontlist) override
 Frees the specified the array of strings "fontlist".
void FreeFontStruct (FontStruct_t fs) override
 Free font structure returned by GetFontStruct().
void GetCharacterUp (Float_t &chupx, Float_t &chupy) override
 Return character up vector.
unsigned char * GetColorBits (Drawable_t wid, Int_t x, Int_t y, UInt_t width, UInt_t height) override
 Gets DIB bits x, y, width, height - position of bitmap returns a pointer on bitmap bits array in format: b1, g1, r1, 0, b2, g2, r2, 0 ... bn, gn, rn, 0 ...
Colormap_t GetColormap () const override
 Returns handle to colormap.
virtual Handle_t GetCurrentOpenGLContext ()
 Asks OpenGL subsystem about the current OpenGL context.
Window_t GetCurrentWindow () const override
 Return current window pointer. Protected method used by TGWin32TTF.
Window_t GetDefaultRootWindow () const override
 Return handle to the default root window created when calling XOpenDisplay().
Int_t GetDepth () const override
 Get maximum number of planes.
Display_t GetDisplay () const override
 Returns handle to display (might be useful in some cases where direct X11 manipulation outside of TVirtualX is needed, e.g.
Int_t GetDoubleBuffer (Int_t wid) override
 Query the double buffer value for the window wid.
EDrawMode GetDrawMode ()
EDrawMode GetDrawModeW (WinContext_t wctxt) override
 Returns window draw mode.
virtual Option_tGetDrawOption () const
 Get option used by the graphics system to draw this object.
Color_t GetFillColor () const override
 Return current fill color.
Style_t GetFillStyle () const override
 Return current fill style.
virtual Int_t GetFontAscent () const
 Returns the ascent of the current font (in pixels).
virtual Int_t GetFontAscent (const char *mess) const
 Default version is noop, but in principle what ROOT understands as ascent is text related.
virtual Bool_t GetFontAscentDescent (Font_t font, Double_t size, UInt_t &a, UInt_t &d, const char *mess)
 Returns ascent/descent for specified character string "mess" with font and size.
virtual Int_t GetFontDescent () const
 Returns the descent of the current font (in pixels.
virtual Int_t GetFontDescent (const char *mess) const
 Default version is noop, but in principle what ROOT understands as descent requires a certain text.
FontH_t GetFontHandle (FontStruct_t fs) override
 Return handle to font described by font structure.
void GetFontProperties (FontStruct_t font, Int_t &max_ascent, Int_t &max_descent) override
 Return some font properties.
FontStruct_t GetFontStruct (FontH_t fh) override
 Retrieve associated font structure once we have the font handle.
virtual FontStruct_t GetGCFont (GContext_t gc)
 Return the font associated with the graphics context gc.
void GetGCValues (GContext_t gc, GCValues_t &gval) override
 Get current values from graphics context gc.
void GetGeometry (Int_t wid, Int_t &x, Int_t &y, UInt_t &w, UInt_t &h) override
 Return position and size of window wid.
virtual const char * GetIconName () const
 Returns mime type name of object.
void GetImageSize (Drawable_t id, UInt_t &width, UInt_t &height) override
 Returns the width and height of the image id.
Window_t GetInputFocus () override
 Returns the window id of the window having the input focus.
virtual Color_t GetLineColor () const
 Return the line color.
Style_t GetLineStyle () const override
 Return current line style.
Width_t GetLineWidth () const override
 Return current line width.
virtual Color_t GetMarkerColor () const
 Return the marker color.
virtual Size_t GetMarkerSize () const
 Return the marker size.
virtual Style_t GetMarkerStyle () const
 Return the marker style.
const char * GetName () const override
 Returns name of object.
virtual Handle_t GetNativeEvent () const
 Returns the current native event handle.
virtual char * GetObjectInfo (Int_t px, Int_t py) const
 Returns string containing info about the object at position (px,py).
virtual Double_t GetOpenGLScalingFactor ()
 On a HiDPI resolution it can be > 1., this means glViewport should use scaled width and height.
virtual Option_tGetOption () const
Window_t GetParent (Window_t id) const override
 Return the parent of the window.
void GetPasteBuffer (Window_t id, Atom_t atom, TString &text, Int_t &nchar, Bool_t del) override
 Get contents of paste buffer atom into string.
ULong_t GetPixel (Color_t cindex) override
 Return pixel value associated to specified ROOT color number.
void GetPlanes (Int_t &nplanes) override
 Get maximum number of planes.
Window_t GetPrimarySelectionOwner () override
 Returns the window id of the current owner of the primary selection.
Int_t GetProperty (Window_t, Atom_t, Long_t, Long_t, Bool_t, Atom_t, Atom_t *, Int_t *, ULong_t *, ULong_t *, unsigned char **) override
 Returns the actual type of the property, the actual format of the property, and a pointer to the data actually returned.
void GetRegionBox (Region_t reg, Rectangle_t *) override
 Return smallest enclosing rectangle.
void GetRGB (Int_t index, Float_t &r, Float_t &g, Float_t &b) override
 Get rgb values for color "index".
Int_t GetScreen () const override
 Returns screen number.
virtual Short_t GetTextAlign () const
 Return the text alignment.
virtual Float_t GetTextAngle () const
 Return the text angle.
virtual Color_t GetTextColor () const
 Return the text color.
void GetTextExtent (UInt_t &w, UInt_t &h, char *mess) override
 Return the size of a character string - no longer used iw : text width ih : text height mess : message.
void GetTextExtent (UInt_t &w, UInt_t &h, wchar_t *mess) override
 Return the size of a wcharacter string - use TTF.
virtual Bool_t GetTextExtentA (Font_t font, Double_t size, UInt_t &w, UInt_t &h, const char *mess)
 Returns the size of the specified character string "mess" for font and size.
virtual Bool_t GetTextExtentA (Font_t font, Double_t size, UInt_t &w, UInt_t &h, const wchar_t *mess)
 Returns the size of the specified character string "mess" for font and size.
virtual Font_t GetTextFont () const
 Return the text font.
Float_t GetTextMagnitude () override
 Returns the current font magnification factor.
virtual Float_t GetTextSize () const
 Return the text size.
virtual Float_t GetTextSizePercent (Float_t size)
 Return the text in percent of the pad size.
virtual Float_t GetTextSizePixels (TVirtualPad &pad) const
 Return the text size in pixels for specified pad.
virtual Float_t GetTextSizeRelative (TVirtualPad &pad) const
 Return the text size in relative units.
const char * GetTitle () const override
 Returns title of object.
virtual UInt_t GetUniqueID () const
 Return the unique object id.
Visual_t GetVisual () const override
 Returns handle to visual.
void GetWindowAttributes (Window_t id, WindowAttributes_t &attr) override
 Get window attributes and return filled in attributes structure.
WinContext_t GetWindowContext (Int_t wid) override
 Returns window context for specified win id.
Window_t GetWindowID (Int_t wid) override
 Return the X11 window identifier.
void GetWindowSize (Drawable_t id, Int_t &x, Int_t &y, UInt_t &w, UInt_t &h) override
 Return geometry of window (should be called GetGeometry but signature already used).
void GrabButton (Window_t id, EMouseButton button, UInt_t modifier, UInt_t evmask, Window_t confine, Cursor_t cursor, Bool_t grab=kTRUE) override
 Establish passive grab on a certain mouse button.
void GrabKey (Window_t id, Int_t keycode, UInt_t modifier, Bool_t grab=kTRUE) override
 Establish passive grab on a certain key.
void GrabPointer (Window_t id, UInt_t evmask, Window_t confine, Cursor_t cursor, Bool_t grab=kTRUE, Bool_t owner_events=kTRUE) override
 Establish an active pointer grab.
virtual Bool_t HandleTimer (TTimer *timer)
 Execute action in response of a timer timing out.
ULong_t Hash () const override
 Return hash value for this object.
Bool_t HasInconsistentHash () const
 Return true is the type of this object is known to have an inconsistent setup for Hash and RecursiveRemove (i.e.
Bool_t HasTTFonts () const override
 Returns True when TrueType fonts are used.
void IconifyWindow (Window_t id) override
 Iconify the window.
virtual void Info (const char *method, const char *msgfmt,...) const
 Issue info message.
virtual Bool_t InheritsFrom (const char *classname) const
 Returns kTRUE if object inherits from class "classname".
virtual Bool_t InheritsFrom (const TClass *cl) const
 Returns kTRUE if object inherits from TClass cl.
Bool_t Init (void *display=0) override
 Initialize Win32 system. Returns kFALSE in case of failure.
Int_t InitWindow (ULongptr_t window) override
 Open window and return window number.
virtual void Inspect () const
 Dump contents of this object in a graphics canvas.
Atom_t InternAtom (const char *atom_name, Bool_t only_if_exist) override
 Return atom handle for atom_name.
void IntersectRegion (Region_t rega, Region_t regb, Region_t result) override
 Compute the intersection of rega and regb and return result region.
void InvertBit (UInt_t f)
TClassIsA () const override
Bool_t IsCmdThread () const override
 returns kTRUE if we are inside cmd/server thread
Bool_t IsDestructed () const
 IsDestructed.
Bool_t IsDNDAware (Window_t win, Atom_t *typelist) override
 Checks if Window win is DND aware, and knows any of the DND formats passed in argument.
virtual Bool_t IsEqual (const TObject *obj) const
 Default equal comparison (objects are equal if they have the same address in memory).
virtual Bool_t IsFolder () const
 Returns kTRUE in case object contains browsable objects (like containers or lists of other objects).
Bool_t IsOnHeap () const
Bool_t IsSortable () const override
virtual Bool_t IsTransparent () const
Bool_t IsZombie () const
Int_t KeysymToKeycode (UInt_t keysym) override
 Convert a keysym to the appropriate keycode.
char ** ListFonts (const char *fontname, Int_t max, Int_t &count) override
 Return list of font names matching "fontname".
FontStruct_t LoadQueryFont (const char *font_name) override
 Load font and query font.
void LookupString (Event_t *event, char *buf, Int_t buflen, UInt_t &keysym) override
 Convert the keycode from the event structure to a key symbol (according to the modifiers specified in the event structure and the current keyboard mapping).
void LowerWindow (Window_t id) override
 Lower window so it lays below all its siblings.
void ls (Option_t *option="") const override
 List TNamed name and title.
virtual Bool_t MakeOpenGLContextCurrent (Handle_t ctx, Window_t windowID)
 Makes context ctx current OpenGL context.
virtual void MapGCFont (GContext_t, FontStruct_t)
 Map the XftFont with the Graphics Context using it.
void MapRaised (Window_t id) override
 Map window on screen and put on top of all windows.
void MapSubwindows (Window_t id) override
 Maps all subwindows for the specified window "id" in top-to-bottom stacking order.
void MapWindow (Window_t id) override
 Map window on screen.
void MayNotUse (const char *method) const
 Use this method to signal that a method (defined in a base class) may not be called in a derived class (in principle against good design since a child class should not provide less functionality than its parent, however, sometimes it is necessary).
virtual void Modify ()
virtual void Modify ()
virtual void Modify ()
virtual void Modify ()
virtual void ModifyOn (TVirtualPad &pad)
virtual void ModifyOn (TVirtualPad &pad)
virtual void ModifyOn (TVirtualPad &pad)
virtual void ModifyOn (TVirtualPad &pad)
void MoveResizeWindow (Window_t id, Int_t x, Int_t y, UInt_t w, UInt_t h) override
 Move and resize a window.
void MoveWindow (Int_t wid, Int_t x, Int_t y) override
 Move the window wid.
void MoveWindow (Window_t id, Int_t x, Int_t y) override
 Move a window.
virtual Bool_t NeedRedraw (ULongptr_t tgwindow, Bool_t force)
 Notify the low level GUI layer ROOT requires "tgwindow" to be updated.
void NextEvent (Event_t &event) override
 Copies first pending event from event queue to Event_t structure and removes event from queue.
virtual Bool_t Notify ()
 This method must be overridden to handle object notification (the base implementation is no-op).
void Obsolete (const char *method, const char *asOfVers, const char *removedFromVers) const
 Use this method to declare a method obsolete.
Int_t OpenDisplay (const char *dpyName=0) override
 Open the display. Return -1 if the opening fails, 0 when ok.
Int_t OpenPixmap (UInt_t w, UInt_t h) override
 Open a new pixmap.
void operator delete (void *, size_t)
 Operator delete for sized deallocation.
void operator delete (void *ptr)
 Operator delete.
void operator delete (void *ptr, void *vp)
 Only called by placement new when throwing an exception.
void operator delete[] (void *, size_t)
 Operator delete [] for sized deallocation.
void operator delete[] (void *ptr)
 Operator delete [].
void operator delete[] (void *ptr, void *vp)
 Only called by placement new[] when throwing an exception.
void * operator new (size_t sz)
void * operator new (size_t sz, void *vp)
void * operator new[] (size_t sz)
void * operator new[] (size_t sz, void *vp)
virtual void Paint (Option_t *option="")
 This method must be overridden if a class wants to paint itself.
Bool_t ParseColor (Colormap_t cmap, const char *cname, ColorStruct_t &color) override
 Parse string cname containing color name, like "green" or "#00FF00".
Bool_t PointInRegion (Int_t x, Int_t y, Region_t reg) override
 Returns true if the point x,y is in the region.
Region_t PolygonRegion (Point_t *points, Int_t np, Bool_t winding) override
 Create region for the polygon defined by the points array.
virtual void Pop ()
 Pop on object drawn in a pad to the top of the display list.
void Print (Option_t *option="") const override
 Print TNamed name and title.
void PutImage (Drawable_t id, GContext_t gc, Drawable_t img, Int_t dx, Int_t dy, Int_t x, Int_t y, UInt_t w, UInt_t h) override
 Combines an image with a rectangle of the specified drawable.
void PutPixel (Drawable_t id, Int_t x, Int_t y, ULong_t pixel) override
 Overwrites the pixel in the image with the specified pixel value.
void QueryColor (Colormap_t cmap, ColorStruct_t &color) override
 Fill in the primary color components for a specific pixel value.
void QueryPointer (Int_t &ix, Int_t &iy) override
 Query pointer position.
void QueryPointer (Window_t id, Window_t &rootw, Window_t &childw, Int_t &root_x, Int_t &root_y, Int_t &win_x, Int_t &win_y, UInt_t &mask) override
 Returns the root window the pointer is logically on and the pointer coordinates relative to the root window's origin.
void RaiseWindow (Window_t id) override
 Put window on top of window stack.
virtual Int_t Read (const char *name)
 Read contents of object with specified name from the current directory.
Pixmap_t ReadGIF (Int_t x0, Int_t y0, const char *file, Window_t id=0) override
 If id is NULL - loads the specified gif file at position [x0,y0] in the current window.
Bool_t ReadPictureDataFromFile (const char *filename, char ***ret_data) override
 Read picture data from file and store in ret_data.
virtual void RecursiveRemove (TObject *obj)
 Recursively remove this object from a list.
void RemoveWindow (ULongptr_t qwid) override
 Remove a window created by Qt.
void ReparentWindow (Window_t id, Window_t pid, Int_t x, Int_t y) override
 Reparent window, make pid the new parent and position the window at position (x,y) in new parent.
Int_t RequestLocator (Int_t mode, Int_t ctyp, Int_t &x, Int_t &y) override
 Request Locator position.
Int_t RequestString (Int_t x, Int_t y, char *text) override
 Request a string.
void RescaleWindow (Int_t wid, UInt_t w, UInt_t h) override
 Rescale the window wid.
virtual void ResetAttFill (Option_t *option="")
virtual void ResetAttLine (Option_t *option="")
virtual void ResetAttMarker (Option_t *toption="")
virtual void ResetAttText (Option_t *toption="")
void ResetBit (UInt_t f)
Int_t ResizePixmap (Int_t wid, UInt_t w, UInt_t h) override
 Resize a pixmap.
void ResizeWindow (Int_t wid) override
 Resize the current window if necessary.
void ResizeWindow (Window_t id, UInt_t w, UInt_t h) override
 Resize the window.
virtual void SaveAs (const char *filename="", Option_t *option="") const
 Save this object in the file specified by filename.
virtual void SaveFillAttributes (std::ostream &out, const char *name, Int_t coldef=1, Int_t stydef=1001)
virtual void SaveLineAttributes (std::ostream &out, const char *name, Int_t coldef=1, Int_t stydef=1, Int_t widdef=1)
virtual void SaveMarkerAttributes (std::ostream &out, const char *name, Int_t coldef=1, Int_t stydef=1, Int_t sizdef=1)
virtual void SavePrimitive (std::ostream &out, Option_t *option="")
 Save a primitive as a C++ statement(s) on output stream "out".
virtual void SaveTextAttributes (std::ostream &out, const char *name, Int_t alidef=12, Float_t angdef=0, Int_t coldef=1, Int_t fondef=61, Float_t sizdef=1)
UInt_t ScreenWidthMM () const override
 Returns the width of the screen in millimeters.
void SelectInput (Window_t id, UInt_t evmask) override
 Defines which input events the window is interested in.
virtual void SelectPixmap (Int_t qpixid)
 Selects the pixmap "qpixid".
void SelectWindow (Int_t wid) override
 Select window to which subsequent output is directed.
void SendEvent (Window_t id, Event_t *ev) override
 Send event ev to window id.
void SetAttFill (WinContext_t wctxt, const TAttFill &att) override
 Set fill attributes for specified window.
void SetAttLine (WinContext_t wctxt, const TAttLine &att) override
 Set line attributes for specified window.
void SetAttMarker (WinContext_t wctxt, const TAttMarker &att) override
 Set marker attributes for speicfied window.
void SetAttText (WinContext_t wctxt, const TAttText &att) override
 Set text attributes for speicfied window.
void SetBit (UInt_t f)
void SetBit (UInt_t f, Bool_t set)
 Set or unset the user status bits as specified in f.
void SetCharacterUp (Float_t chupx, Float_t chupy) override
 Set character up vector.
void SetClassHints (Window_t id, char *className, char *resourceName) override
 Set the windows class and resource name.
void SetClipOFF (Int_t wid) override
 Turn off the clipping for the window wid.
void SetClipRectangles (GContext_t gc, Int_t x, Int_t y, Rectangle_t *recs, Int_t n) override
 Set clipping rectangles in graphics context.
void SetClipRegion (Int_t wid, Int_t x, Int_t y, UInt_t w, UInt_t h) override
 Set clipping region for the window wid.
void SetCursor (Int_t wid, ECursor cursor) override
 Set the cursor.
void SetCursor (Window_t id, Cursor_t curid) override
 Set the specified cursor.
void SetDashes (GContext_t gc, Int_t offset, const char *dash_list, Int_t n) override
 Specify a dash pattertn.
void SetDNDAware (Window_t win, Atom_t *typelist) override
 Add XdndAware property and the list of drag and drop types to the Window win.
void SetDoubleBuffer (Int_t wid, Int_t mode) override
 Set the double buffer on/off on window wid.
void SetDoubleBufferOFF () override
 Turn double buffer mode off.
void SetDoubleBufferON () override
 Turn double buffer mode on.
void SetDrawMode (EDrawMode mode) override
 Set the drawing mode.
void SetDrawModeW (WinContext_t wctxt, EDrawMode mode) override
 Set window draw mode.
virtual void SetDrawOption (Option_t *option="")
 Set drawing option for object.
virtual void SetFillAttributes ()
void SetFillColor (TColorNumber)
void SetFillColor (Color_t cindex) override
 Set color index for fill areas.
virtual void SetFillColorAlpha (Color_t fcolor, Float_t falpha)
void SetFillStyle (Style_t style) override
 Set fill area style.
void SetForeground (GContext_t gc, ULong_t foreground) override
 Set foreground color in graphics context (shortcut for ChangeGC with only foreground mask set).
void SetIconName (Window_t id, char *name) override
 Set window icon name.
void SetIconPixmap (Window_t id, Pixmap_t pic) override
 Set pixmap the WM can use when the window is iconized.
void SetInputFocus (Window_t id) override
 Set keyboard input focus to window id.
void SetKeyAutoRepeat (Bool_t on=kTRUE) override
 Turn key auto repeat on or off.
virtual void SetLineAttributes ()
void SetLineColor (TColorNumber lcolor)
void SetLineColor (Color_t cindex) override
 Set color index for lines.
virtual void SetLineColorAlpha (Color_t lcolor, Float_t lalpha)
void SetLineStyle (Style_t linestyle) override
 Set line style.
void SetLineType (Int_t n, Int_t *dash) override
 Set line type.
void SetLineWidth (Width_t width) override
 Set line width.
virtual void SetMarkerAttributes ()
void SetMarkerColor (TColorNumber lcolor)
void SetMarkerColor (Color_t cindex) override
 Set color index for markers.
virtual void SetMarkerColorAlpha (Color_t mcolor, Float_t malpha)
void SetMarkerSize (Float_t markersize) override
 Set marker size index.
void SetMarkerStyle (Style_t markerstyle) override
 Set marker style.
void SetMWMHints (Window_t id, UInt_t value, UInt_t funcs, UInt_t input) override
 Set decoration style for MWM-compatible wm (mwm, ncdwm, fvwm?).
virtual void SetName (const char *name)
 Set the name of the TNamed.
virtual void SetNameTitle (const char *name, const char *title)
 Set all the TNamed parameters (name and title).
void SetOpacity (Int_t percent) override
 Set opacity of a current window.
void SetOpacityW (WinContext_t wctxt, Int_t percent) override
 Set opacity of a specified window.
void SetPrimarySelectionOwner (Window_t id) override
 Makes the window id the current owner of the primary selection.
void SetRGB (Int_t cindex, Float_t r, Float_t g, Float_t b) override
 Set color intensities for given color index.
Bool_t SetSelectionOwner (Window_t, Atom_t &) override
 Assigns owner of Clipboard.
void SetTextAlign (Short_t talign=11) override
 Set text alignment.
virtual void SetTextAngle (Float_t tangle=0)
 Set the text angle.
virtual void SetTextAttributes ()
void SetTextColor (TColorNumber lcolor)
void SetTextColor (Color_t cindex) override
 Set color index for text.
virtual void SetTextColorAlpha (Color_t tcolor, Float_t talpha)
Int_t SetTextFont (char *fontname, ETextSetMode mode) override
 Set text font to specified name.
void SetTextFont (Font_t fontnumber) override
 Set specified font.
void SetTextMagnitude (Float_t mgn=1) override
 Sets the current text magnification factor to "mgn".
void SetTextSize (Float_t textsize) override
 Set current text size.
virtual void SetTextSizePixels (Int_t npixels)
 Set the text size in pixel.
virtual void SetTitle (const char *title="")
 Set the title of the TNamed.
void SetTypeList (Window_t win, Atom_t prop, Atom_t *typelist) override
 Add the list of drag and drop types to the Window win.
virtual void SetUniqueID (UInt_t uid)
 Set the unique object id.
void SetUserThreadId (ULong_t id)
 Set user thread id.
void SetWindowBackground (Window_t id, ULong_t color) override
 Set the window background color.
void SetWindowBackgroundPixmap (Window_t id, Pixmap_t pxm) override
 Set pixmap as window background.
void SetWindowName (Window_t id, char *name) override
 Set window name.
void SetWMPosition (Window_t id, Int_t x, Int_t y) override
 Tells the window manager the desired position [x,y] of window "id".
void SetWMSize (Window_t id, UInt_t w, UInt_t h) override
 Tells window manager the desired size of window "id".
void SetWMSizeHints (Window_t id, UInt_t wmin, UInt_t hmin, UInt_t wmax, UInt_t hmax, UInt_t winc, UInt_t hinc) override
 Give the window manager minimum and maximum size hints.
void SetWMState (Window_t id, EInitialState state) override
 Set the initial state of the window. Either kNormalState or kIconicState.
void SetWMTransientHint (Window_t id, Window_t main_id) override
 Tell window manager that window is a transient window of gdk_parent_root.
void ShapeCombineMask (Window_t id, Int_t x, Int_t y, Pixmap_t mask) override
 The Nonrectangular Window Shape Extension adds nonrectangular windows to the System.
virtual Int_t Sizeof () const
 Return size of the TNamed part of the TObject.
void Streamer (TBuffer &) override
 Stream an object of class TObject.
void StreamerNVirtual (TBuffer &ClassDef_StreamerNVirtual_b)
void SubtractRegion (Region_t rega, Region_t regb, Region_t result) override
 Subtract rega from regb.
virtual Int_t SupportsExtension (const char *ext) const
 Returns 1 if window system server supports extension given by the argument, returns 0 in case extension is not supported and returns -1 in case of error (like server not initialized).
void Sync (Int_t mode) override
 Set synchronisation on or off.
virtual void SysError (const char *method, const char *msgfmt,...) const
 Issue system error message.
Bool_t TestBit (UInt_t f) const
Int_t TestBits (UInt_t f) const
Int_t TextWidth (FontStruct_t font, const char *s, Int_t len) override
 Return length of string in pixels. Size depends on font.
void TranslateCoordinates (Window_t src, Window_t dest, Int_t src_x, Int_t src_y, Int_t &dest_x, Int_t &dest_y, Window_t &child) override
 TranslateCoordinates translates coordinates from the frame of reference of one window to another.
void UnionRectWithRegion (Rectangle_t *rect, Region_t src, Region_t dest) override
 Union of rectangle with a region.
void UnionRegion (Region_t rega, Region_t regb, Region_t result) override
 Compute the union of rega and regb and return result region.
void UnmapWindow (Window_t id) override
 Unmap window from screen.
void Update (Int_t mode=0) override
 Flush (mode = 0, default) or synchronize (mode = 1) X output buffer.
void UpdateWindow (Int_t mode) override
 Update display.
void UpdateWindowW (WinContext_t wctxt, Int_t mode) override
 Update current window mode : (1) update (0) sync.
virtual void UseCurrentStyle ()
 Set current style settings in this object This function is called when either TCanvas::UseCurrentStyle or TROOT::ForceStyle have been invoked.
virtual void Warning (const char *method, const char *msgfmt,...) const
 Issue warning message.
void Warp (Int_t ix, Int_t iy, Window_t id=0) override
 Set pointer position.
void WMDeleteNotify (Window_t id) override
 Tell WM to send message when window is closed via WM.
virtual Int_t Write (const char *name=nullptr, Int_t option=0, Int_t bufsize=0)
 Write this object to the current directory.
virtual Int_t Write (const char *name=nullptr, Int_t option=0, Int_t bufsize=0) const
 Write this object to the current directory.
Int_t WriteGIF (char *name) override
 Writes the current window into GIF file.
Int_t WriteGIFW (WinContext_t wctxt, const char *name) override
 Writes the specified window into GIF file.
void WritePixmap (Int_t wid, UInt_t w, UInt_t h, char *pxname) override
 Write the pixmap wid in the bitmap file pxname.
void XorRegion (Region_t rega, Region_t regb, Region_t result) override
 Calculate the difference between the union and intersection of two regions.

Static Public Member Functions

static TClassClass ()
static const char * Class_Name ()
static constexpr Version_t Class_Version ()
static const char * DeclFileName ()
static Longptr_t GetDtorOnly ()
 Return destructor only flag.
static Width_t GetMarkerLineWidth (Style_t style)
static Style_t GetMarkerStyleBase (Style_t style)
static Bool_t GetObjectStat ()
 Get status of object stat flag.
static TVirtualX *& Instance ()
 Returns gVirtualX global.
static void Lock ()
static void SetDtorOnly (void *obj)
 Set destructor only flag.
static void SetObjectStat (Bool_t stat)
 Turn on/off tracking of objects in the TObjectTable.
static void Unlock ()

Protected Types

enum  { kOnlyPrepStep = (1ULL << (3)) }

Protected Member Functions

Bool_t AllocColor (GdkColormap *cmap, GdkColor *color)
 Allocate color in colormap.
virtual void DoError (int level, const char *location, const char *fmt, va_list va) const
 Interface to ErrorHandler (protected).
XColor_tGetColor (Int_t cid)
 Return reference to internal color structure associated to color index cid.
GdkGC * GetGC (Int_t which) const
 Return desired Graphics Context ("which" maps directly on gGCList[]).
void MakeZombie ()
void QueryColors (GdkColormap *cmap, GdkColor *colors, Int_t ncolors)
 Returns the current RGB value for the pixel in the XColor structure.
void SavePrimitiveNameTitle (std::ostream &out, const char *variable_name)
 Save object name and title into the output stream "out".

Static Protected Member Functions

static void SavePrimitiveConstructor (std::ostream &out, TClass *cl, const char *variable_name, const char *constructor_agrs="", Bool_t empty_line=kTRUE)
 Save object constructor in the output stream "out".
static void SavePrimitiveDraw (std::ostream &out, const char *variable_name, Option_t *option=nullptr)
 Save invocation of primitive Draw() method Skipped if option contains "nodraw" string.
static TString SavePrimitiveVector (std::ostream &out, const char *prefix, Int_t len, Double_t *arr, Int_t flag=0)
 Save array in the output stream "out" as vector.

Protected Attributes

Int_t fBlueDiv
 Blue value divider.
Int_t fBlueShift
 Bits to left shift blue.
Float_t fCharacterUpX
 Character Up vector along X.
Float_t fCharacterUpY
 Character Up vector along Y.
GdkColormap * fColormap
 Default colormap, 0 if b/w.
Int_t fDepth
 Number of color planes.
EDrawMode fDrawMode
Color_t fFillColor
 Fill area color.
Style_t fFillStyle
 Fill area style.
Int_t fGreenDiv
 Green value divider.
Int_t fGreenShift
 Bits to left shift green.
Bool_t fHasTTFonts
 True when TrueType fonts are used.
Color_t fLineColor
 Line color.
Style_t fLineStyle
 Line style.
Width_t fLineWidth
 Line width.
Color_t fMarkerColor
 Marker color.
Size_t fMarkerSize
 Marker size.
Style_t fMarkerStyle
 Marker style.
TString fName
Int_t fRedDiv
 Red value divider, -1 if no TrueColor visual.
Int_t fRedShift
 Bits to left shift red, -1 if no TrueColor visual.
TObjectfRefreshTimer
 TGWin32RefreshTimer for GUI thread message handler.
Int_t fScreenNumber
 Screen number.
Short_t fTextAlign
 Text alignment.
Float_t fTextAngle
 Text angle.
Color_t fTextColor
 Text color.
Font_t fTextFont
 Text font.
Float_t fTextMagnitude
 Text Magnitude.
Float_t fTextSize
 Text size.
TString fTitle
Bool_t fUseSysPointers
 True when using system mouse pointers.
GdkVisual * fVisual
Handle_t fXEvent
 Current native (GDK) event.

Private Member Functions

Int_t AddWindowHandle ()
 Add new window handle Only for private usage.
void DrawFTGlyph (void *source, ULong_t fore, ULong_t back, GdkImage *xim, Int_t bx, Int_t by)
 Draw FT_Bitmap bitmap to xim image at position bx,by using specified foreground color.
template<class CharType>
void DrawTextHelper (WinContext_t wctxt, Int_t x, Int_t y, Float_t angle, const CharType *text, ETextMode mode)
GdkImage * GetBackground (WinContext_t wctxt, Int_t x, Int_t y, UInt_t w, UInt_t h)
 Get the background of the current window in an XImage.
void MapColorStruct (ColorStruct_t *color, GdkColor &xcolor)
 Map a ColorStruct_t to a XColor structure.
void MapCursor (ECursor cursor, Int_t &xcursor)
void MapEvent (Event_t &ev, GdkEvent &xev, Bool_t tox=kTRUE)
 Map Event_t structure to gdk_event structure.
void MapEventMask (UInt_t &emask, UInt_t &xemask, Bool_t tox=kTRUE)
 Map event mask to or from gdk.
void MapGCValues (GCValues_t &gval, ULong_t &xmask, GdkGCValues &xgval, Bool_t tox=kTRUE)
 Map a GCValues_t to a XCGValues structure if tox is true.
void MapKeySym (UInt_t &keysym, UInt_t &xkeysym, Bool_t tox=kTRUE)
 Map to and from X key symbols.
void MapModifierState (UInt_t &state, UInt_t &xstate, Bool_t tox=kTRUE)
 Map modifier key state to or from X.
void MapSetWindowAttributes (SetWindowAttributes_t *attr, ULong_t &xmask, GdkWindowAttr &xattr)
 Map a SetWindowAttributes_t to a GdkWindowAttr structure.
void PutImage (Int_t offset, Int_t itran, Int_t x0, Int_t y0, Int_t nx, Int_t ny, Int_t xmin, Int_t ymin, Int_t xmax, Int_t ymax, UChar_t *image, Drawable_t id)
 Draw image.
void RemovePixmap (GdkDrawable *pix)
 Remove the pixmap pix.
void SetColor (XWindow_t *ctxt, GdkGC *gc, Int_t ci)
 Set the foreground color in GdkGC.
void SetInput (Int_t inp)
 Set input on or off.

Static Private Member Functions

static void AddToTObjectTable (TObject *)
 Private helper function which will dispatch to TObjectTable::AddObj.

Private Attributes

UInt_t fBits
 bit field status word
TExMapfColors
 Hash list of colors.
GdkCursor * fCursors [kNumCursors]
 List of cursors.
UInt_t fUniqueID
 object unique identifier
std::unordered_map< Int_t, std::unique_ptr< XWindow_t > > fWindows

Static Private Attributes

static Longptr_t fgDtorOnly = 0
 object for which to call dtor only (i.e. no delete)
static Bool_t fgObjectStat = kTRUE
 if true keep track of objects in TObjectTable

#include <TGWin32.h>

Inheritance diagram for TGWin32:
TVirtualX TNamed TAttLine TAttFill TAttText TAttMarker TObject

Member Enumeration Documentation

◆ anonymous enum

anonymous enum
protectedinherited
Enumerator
kOnlyPrepStep 

Used to request that the class specific implementation of TObject::Write just prepare the objects to be ready to be written but do not actually write them into the TBuffer.

This is just for example by TBufferMerger to request that the TTree inside the file calls TTree::FlushBaskets (outside of the merging lock) and TBufferMerger will later ask for the write (inside the merging lock). To take advantage of this feature the class needs to overload TObject::Write and use this enum value accordingly. (See TTree::Write and TObject::Write) Do not use, this feature will be migrate to the Merge function (See TClass and TTree::Merge)

Definition at line 106 of file TObject.h.

◆ anonymous enum

anonymous enum
inherited
Enumerator
kSingleKey 

write collection with single key

kOverwrite 

overwrite existing object with same name

kWriteDelete 

write object, then delete previous key with same name

Definition at line 99 of file TObject.h.

◆ anonymous enum

anonymous enum
inherited
Enumerator
kIsOnHeap 

object is on heap

kNotDeleted 

object has not been deleted

kZombie 

object ctor failed

kInconsistent 

class overload Hash but does call RecursiveRemove in destructor

kBitMask 

Definition at line 89 of file TObject.h.

◆ EBoxMode

enum TVirtualX::EBoxMode
inherited
Enumerator
kHollow 
kFilled 

Definition at line 50 of file TVirtualX.h.

◆ EDeprecatedStatusBits

Enumerator
kObjInCanvas 

for backward compatibility only, use kMustCleanup

Definition at line 84 of file TObject.h.

◆ EDrawMode

enum TVirtualX::EDrawMode
inherited
Enumerator
kCopy 
kXor 
kInvert 

Definition at line 49 of file TVirtualX.h.

◆ EStatusBits

enum TObject::EStatusBits
inherited
Enumerator
kCanDelete 

if object in a list can be deleted

kMustCleanup 

if object destructor must call RecursiveRemove()

kIsReferenced 

if object is referenced by a TRef or TRefArray

kHasUUID 

if object has a TUUID (its fUniqueID=UUIDNumber)

kCannotPick 

if object in a pad cannot be picked

kNoContextMenu 

if object does not want context menu

kInvalidObject 

if object ctor succeeded but object should not be used

Definition at line 70 of file TObject.h.

◆ ETextMode

enum TVirtualX::ETextMode
inherited
Enumerator
kClear 
kOpaque 

Definition at line 51 of file TVirtualX.h.

◆ ETextSetMode

enum TVirtualX::ETextSetMode
inherited
Enumerator
kCheck 
kLoad 

Definition at line 52 of file TVirtualX.h.

Constructor & Destructor Documentation

◆ TGWin32() [1/2]

TGWin32::TGWin32 ( )

Default constructor.

Definition at line 772 of file TGWin32.cxx.

◆ TGWin32() [2/2]

TGWin32::TGWin32 ( const char * name,
const char * title )

Normal Constructor.

Definition at line 781 of file TGWin32.cxx.

◆ ~TGWin32()

TGWin32::~TGWin32 ( )
virtual

destructor.

Definition at line 814 of file TGWin32.cxx.

Member Function Documentation

◆ AbstractMethod()

void TObject::AbstractMethod ( const char * method) const
inherited

Call this function within a function that you don't want to define as purely virtual, in order not to force all users deriving from that class to implement that maybe (on their side) unused function; but at the same time, emit a run-time warning if they try to call it, telling that it is not implemented in the derived class: action must thus be taken on the user side to override it.

In other word, this method acts as a "runtime purely virtual" warning instead of a "compiler purely virtual" error.

Warning
This interface is a legacy function that is no longer recommended to be used by new development code.
Note
The name "AbstractMethod" does not imply that it's an abstract method in the strict C++ sense.

Definition at line 1149 of file TObject.cxx.

◆ AddPixmap()

Int_t TGWin32::AddPixmap ( ULongptr_t pix,
UInt_t w,
UInt_t h )
overridevirtual

register pixmap created by TGWin32GLManager

Reimplemented from TVirtualX.

Definition at line 7391 of file TGWin32.cxx.

◆ AddToTObjectTable()

void TObject::AddToTObjectTable ( TObject * op)
staticprivateinherited

Private helper function which will dispatch to TObjectTable::AddObj.

Included here to avoid circular dependency between header files.

Definition at line 195 of file TObject.cxx.

◆ AddWindow()

Int_t TGWin32::AddWindow ( ULongptr_t qwid,
UInt_t w,
UInt_t h )
overridevirtual

Register a window created by Qt as a ROOT window (like InitWindow()).

Reimplemented from TVirtualX.

Definition at line 7416 of file TGWin32.cxx.

◆ AddWindowHandle()

Int_t TGWin32::AddWindowHandle ( )
private

Add new window handle Only for private usage.

Definition at line 2033 of file TGWin32.cxx.

◆ AllocColor() [1/2]

Bool_t TGWin32::AllocColor ( Colormap_t cmap,
ColorStruct_t & color )
overridevirtual

Find and allocate a color cell according to the color values specified in the ColorStruct_t.

If no cell could be allocated it returns kFALSE, otherwise kTRUE.

Reimplemented from TVirtualX.

Definition at line 5707 of file TGWin32.cxx.

◆ AllocColor() [2/2]

Bool_t TGWin32::AllocColor ( GdkColormap * cmap,
GdkColor * color )
protected

Allocate color in colormap.

If we are on an <= 8 plane machine we will use XAllocColor. If we are on a >= 15 (15, 16 or 24) plane true color machine we will calculate the pixel value using: for 15 and 16 bit true colors have 6 bits precision per color however only the 5 most significant bits are used in the color index. Except for 16 bits where green uses all 6 bits. I.e.: 15 bits = rrrrrgggggbbbbb 16 bits = rrrrrggggggbbbbb for 24 bits each r, g and b are represented by 8 bits.

Since all colors are set with a max of 65535 (16 bits) per r, g, b we just right shift them by 10, 11 and 10 bits for 16 planes, and (10, 10, 10 for 15 planes) and by 8 bits for 24 planes. Returns kFALSE in case color allocation failed.

Definition at line 1074 of file TGWin32.cxx.

◆ AppendPad()

void TObject::AppendPad ( Option_t * option = "")
virtualinherited

Append graphics object to current pad.

In case no current pad is set yet, create a default canvas with the name "c1".

Definition at line 204 of file TObject.cxx.

◆ BeginModalSessionFor()

void TVirtualX::BeginModalSessionFor ( Window_t window)
virtualinherited

Start a modal session for a dialog window.

Definition at line 2699 of file TVirtualX.cxx.

◆ Bell()

void TGWin32::Bell ( Int_t percent)
overridevirtual

Sets the sound bell. Percent is loudness from -100% to 100%.

Reimplemented from TVirtualX.

Definition at line 6258 of file TGWin32.cxx.

◆ Browse()

◆ ChangeActivePointerGrab()

void TGWin32::ChangeActivePointerGrab ( Window_t win,
UInt_t mask,
Cursor_t cur )
overridevirtual

Changes the active cursor of the specified window.

Reimplemented from TVirtualX.

Definition at line 7540 of file TGWin32.cxx.

◆ ChangeGC()

void TGWin32::ChangeGC ( GContext_t gc,
GCValues_t * gval )
overridevirtual

Change entries in an existing graphics context, gc, by values from gval.

Reimplemented from TVirtualX.

Definition at line 5399 of file TGWin32.cxx.

◆ ChangeProperties()

void TGWin32::ChangeProperties ( Window_t id,
Atom_t property,
Atom_t type,
Int_t format,
UChar_t * data,
Int_t len )
overridevirtual

Put data into Clipboard.

Reimplemented from TVirtualX.

Definition at line 7594 of file TGWin32.cxx.

◆ ChangeProperty()

void TGWin32::ChangeProperty ( Window_t id,
Atom_t property,
Atom_t type,
UChar_t * data,
Int_t len )
overridevirtual

This function alters the property for the specified window and causes the X server to generate a PropertyNotify event on that window.

Reimplemented from TVirtualX.

Definition at line 6326 of file TGWin32.cxx.

◆ ChangeWindowAttributes()

void TGWin32::ChangeWindowAttributes ( Window_t id,
SetWindowAttributes_t * attr )
overridevirtual

Change window attributes.

Reimplemented from TVirtualX.

Definition at line 6281 of file TGWin32.cxx.

◆ CheckedHash()

ULong_t TObject::CheckedHash ( )
inlineinherited

Check and record whether this class has a consistent Hash/RecursiveRemove setup (*) and then return the regular Hash value for this object.

The intent is for this routine to be called instead of directly calling the function Hash during "insert" operations. See TObject::HasInconsistenTObjectHash();

(*) The setup is consistent when all classes in the class hierarchy that overload TObject::Hash do call ROOT::CallRecursiveRemoveIfNeeded in their destructor. i.e. it is safe to call the Hash virtual function during the RecursiveRemove operation.

Definition at line 332 of file TObject.h.

◆ CheckEvent()

Bool_t TGWin32::CheckEvent ( Window_t id,
EGEventType type,
Event_t & ev )
overridevirtual

Check if there is for window "id" an event of type "type".

If there is fill in the event structure and return true. If no such event return false.

Reimplemented from TVirtualX.

Definition at line 5755 of file TGWin32.cxx.

◆ Class()

TClass * TGWin32::Class ( )
static
Returns
TClass describing this class

◆ Class_Name()

const char * TGWin32::Class_Name ( )
static
Returns
Name of this class

◆ Class_Version()

constexpr Version_t TGWin32::Class_Version ( )
inlinestaticconstexpr
Returns
Version of this class

Definition at line 405 of file TGWin32.h.

◆ ClassName()

const char * TObject::ClassName ( ) const
virtualinherited

Returns name of class to which the object belongs.

Definition at line 227 of file TObject.cxx.

◆ Clear()

void TNamed::Clear ( Option_t * option = "")
overridevirtualinherited

Set name and title to empty strings ("").

Reimplemented from TObject.

Reimplemented in TPrincipal, TProcessID, TStreamerInfo, TTask, TVirtualFitter, and TVirtualStreamerInfo.

Definition at line 63 of file TNamed.cxx.

◆ ClearArea()

void TGWin32::ClearArea ( Window_t id,
Int_t x,
Int_t y,
UInt_t w,
UInt_t h )
overridevirtual

Clear a window area to the bakcground color.

Reimplemented from TVirtualX.

Definition at line 6349 of file TGWin32.cxx.

◆ ClearWindow() [1/2]

void TGWin32::ClearWindow ( )
overridevirtual

Clear current window.

Reimplemented from TVirtualX.

Definition at line 1463 of file TGWin32.cxx.

◆ ClearWindow() [2/2]

void TGWin32::ClearWindow ( Window_t id)
overridevirtual

Clear window.

Reimplemented from TVirtualX.

Definition at line 6683 of file TGWin32.cxx.

◆ ClearWindowW()

void TGWin32::ClearWindowW ( WinContext_t wctxt)
overridevirtual

Clear specified window.

Reimplemented from TVirtualX.

Definition at line 1471 of file TGWin32.cxx.

◆ Clone()

TObject * TNamed::Clone ( const char * newname = "") const
overridevirtualinherited

Make a clone of an object using the Streamer facility.

If newname is specified, this will be the name of the new object.

Reimplemented from TObject.

Reimplemented in TStreamerInfo, and TTreeIndex.

Definition at line 73 of file TNamed.cxx.

◆ CloseDisplay()

void TGWin32::CloseDisplay ( )
overridevirtual

close display (terminate server/gMainThread thread)

Reimplemented from TVirtualX.

Definition at line 845 of file TGWin32.cxx.

◆ ClosePixmap()

void TGWin32::ClosePixmap ( )
overridevirtual

Delete current pixmap.

Reimplemented from TVirtualX.

Definition at line 1492 of file TGWin32.cxx.

◆ CloseWindow()

void TGWin32::CloseWindow ( )
overridevirtual

Delete current window.

Reimplemented from TVirtualX.

Definition at line 1500 of file TGWin32.cxx.

◆ Compare()

Int_t TNamed::Compare ( const TObject * obj) const
overridevirtualinherited

Compare two TNamed objects.

Returns 0 when equal, -1 when this is smaller and +1 when bigger (like strcmp).

Reimplemented from TObject.

Reimplemented in TStructNodeProperty.

Definition at line 84 of file TNamed.cxx.

◆ ConvertPrimarySelection()

void TGWin32::ConvertPrimarySelection ( Window_t id,
Atom_t clipboard,
Time_t when )
overridevirtual

XConvertSelection() causes a SelectionRequest event to be sent to the current primary selection owner.

This event specifies the selection property (primary selection), the format into which to convert that data before storing it (target = XA_STRING), the property in which the owner will place the information (sel_property), the window that wants the information (id), and the time of the conversion request (when). The selection owner responds by sending a SelectionNotify event, which confirms the selected atom and type.

Reimplemented from TVirtualX.

Definition at line 6801 of file TGWin32.cxx.

◆ ConvertSelection()

void TGWin32::ConvertSelection ( Window_t win,
Atom_t & sel,
Atom_t & target,
Atom_t & prop,
Time_t & stamp )
overridevirtual

Get Clipboard data.

Reimplemented from TVirtualX.

Definition at line 7553 of file TGWin32.cxx.

◆ Copy() [1/5]

void TAttFill::Copy ( TAttFill & attfill) const
inherited

◆ Copy() [2/5]

void TAttLine::Copy ( TAttLine & attline) const
inherited

◆ Copy() [3/5]

void TAttMarker::Copy ( TAttMarker & attmarker) const
inherited

◆ Copy() [4/5]

void TAttText::Copy ( TAttText & atttext) const
inherited

◆ Copy() [5/5]

void TNamed::Copy ( TObject & named) const
overridevirtualinherited

Copy this to obj.

Reimplemented from TObject.

Reimplemented in TPieSlice, TProfile2D, TProfile3D, TProfile, TStyle, TSystemDirectory, TSystemFile, TText, and TXTRU.

Definition at line 93 of file TNamed.cxx.

◆ CopyArea()

void TGWin32::CopyArea ( Drawable_t src,
Drawable_t dest,
GContext_t gc,
Int_t src_x,
Int_t src_y,
UInt_t width,
UInt_t height,
Int_t dest_x,
Int_t dest_y )
overridevirtual

Copy a drawable (i.e.

pixmap) to another drawable (pixmap, window). The graphics context gc will be used and the source will be copied from src_x,src_y,src_x+width,src_y+height to dest_x,dest_y.

Reimplemented from TVirtualX.

Definition at line 6268 of file TGWin32.cxx.

◆ CopyGC()

void TGWin32::CopyGC ( GContext_t org,
GContext_t dest,
Mask_t mask )
overridevirtual

Copies graphics context from org to dest.

Only the values specified in mask are copied. Both org and dest must exist.

Reimplemented from TVirtualX.

Definition at line 5465 of file TGWin32.cxx.

◆ CopyPixmap()

void TGWin32::CopyPixmap ( Int_t wid,
Int_t xpos,
Int_t ypos )
overridevirtual

Copy the pixmap wid at the position xpos, ypos in the current window.

Reimplemented from TVirtualX.

Definition at line 1552 of file TGWin32.cxx.

◆ CopyPixmapW()

void TGWin32::CopyPixmapW ( WinContext_t wctxt,
Int_t wid,
Int_t xpos,
Int_t ypos )
overridevirtual

Copy the pixmap wid at the position xpos, ypos in the specified window.

Reimplemented from TVirtualX.

Definition at line 4202 of file TGWin32.cxx.

◆ CreateBitmap()

Pixmap_t TGWin32::CreateBitmap ( Drawable_t id,
const char * bitmap,
UInt_t width,
UInt_t height )
overridevirtual

Create a bitmap (i.e. pixmap with depth 1) from the bitmap data.

Reimplemented from TVirtualX.

Definition at line 5540 of file TGWin32.cxx.

◆ CreateCursor()

Cursor_t TGWin32::CreateCursor ( ECursor cursor)
overridevirtual

Create cursor handle (just return cursor from cursor pool fCursors).

Reimplemented from TVirtualX.

Definition at line 5493 of file TGWin32.cxx.

◆ CreateGC()

GContext_t TGWin32::CreateGC ( Drawable_t id,
GCValues_t * gval )
overridevirtual

Create a graphics context using the values set in gval (but only for those entries that are in the mask).

Reimplemented from TVirtualX.

Definition at line 5380 of file TGWin32.cxx.

◆ CreateImage()

Drawable_t TGWin32::CreateImage ( UInt_t width,
UInt_t height )
overridevirtual

Allocates the memory needed for an drawable.

Parameters
[in]widththe width of the image, in pixels
[in]heightthe height of the image, in pixels

Reimplemented from TVirtualX.

Definition at line 7218 of file TGWin32.cxx.

◆ CreateOpenGLContext() [1/2]

void TVirtualX::CreateOpenGLContext ( Int_t wid = 0)
virtualinherited

Creates OpenGL context for window "wid".

Reimplemented in TGCocoa.

Definition at line 214 of file TVirtualX.cxx.

◆ CreateOpenGLContext() [2/2]

Handle_t TVirtualX::CreateOpenGLContext ( Window_t windowID,
Handle_t sharedContext )
virtualinherited

Creates OpenGL context for window "windowID".

Reimplemented in TGCocoa.

Definition at line 236 of file TVirtualX.cxx.

◆ CreateOpenGLWindow()

Window_t TVirtualX::CreateOpenGLWindow ( Window_t parentID,
UInt_t width,
UInt_t height,
const std::vector< std::pair< UInt_t, Int_t > > & format )
virtualinherited

Create window with special pixel format. Noop everywhere except Cocoa.

Reimplemented in TGCocoa.

Definition at line 228 of file TVirtualX.cxx.

◆ CreatePictureFromData()

Bool_t TGWin32::CreatePictureFromData ( Drawable_t id,
char ** data,
Pixmap_t & pict,
Pixmap_t & pict_mask,
PictureAttributes_t & attr )
overridevirtual

Create a pixture pixmap from data.

The picture attributes are used for input and output. Returns kTRUE in case of success, kFALSE otherwise. If mask does not exist it is set to kNone.

Reimplemented from TVirtualX.

Definition at line 5598 of file TGWin32.cxx.

◆ CreatePictureFromFile()

Bool_t TGWin32::CreatePictureFromFile ( Drawable_t id,
const char * filename,
Pixmap_t & pict,
Pixmap_t & pict_mask,
PictureAttributes_t & attr )
overridevirtual

Create a picture pixmap from data on file.

The picture attributes are used for input and output. Returns kTRUE in case of success, kFALSE otherwise. If mask does not exist it is set to kNone.

Reimplemented from TVirtualX.

Definition at line 5564 of file TGWin32.cxx.

◆ CreatePixmap() [1/2]

Pixmap_t TGWin32::CreatePixmap ( Drawable_t id,
const char * bitmap,
UInt_t width,
UInt_t height,
ULong_t forecolor,
ULong_t backcolor,
Int_t depth )
overridevirtual

Create a pixmap from bitmap data.

Ones will get foreground color and zeroes background color.

Reimplemented from TVirtualX.

Definition at line 5514 of file TGWin32.cxx.

◆ CreatePixmap() [2/2]

Pixmap_t TGWin32::CreatePixmap ( Drawable_t id,
UInt_t w,
UInt_t h )
overridevirtual

Creates a pixmap of the width and height you specified and returns a pixmap ID that identifies it.

Reimplemented from TVirtualX.

Definition at line 5502 of file TGWin32.cxx.

◆ CreatePixmapFromData()

Pixmap_t TGWin32::CreatePixmapFromData ( unsigned char * bits,
UInt_t width,
UInt_t height )
overridevirtual

create an image from RGB data.

RGB data is in format : b1, g1, r1, 0, b2, g2, r2, 0 ... bn, gn, rn, 0 ..

Pixels are numbered from left to right and from top to bottom. Note that data must be 32-bit aligned

Reimplemented from TVirtualX.

Definition at line 7355 of file TGWin32.cxx.

◆ CreateRegion()

Region_t TGWin32::CreateRegion ( )
overridevirtual

Create a new empty region.

Reimplemented from TVirtualX.

Definition at line 7074 of file TGWin32.cxx.

◆ CreateWindow()

Window_t TGWin32::CreateWindow ( Window_t parent,
Int_t x,
Int_t y,
UInt_t w,
UInt_t h,
UInt_t border,
Int_t depth,
UInt_t clss,
void * visual,
SetWindowAttributes_t * attr,
UInt_t wtype )
overridevirtual

Return handle to newly created gdk window.

Reimplemented from TVirtualX.

Definition at line 4759 of file TGWin32.cxx.

◆ DeclFileName()

const char * TGWin32::DeclFileName ( )
inlinestatic
Returns
Name of the file containing the class declaration

Definition at line 405 of file TGWin32.h.

◆ Delete()

void TObject::Delete ( Option_t * option = "")
virtualinherited

◆ DeleteFont()

void TGWin32::DeleteFont ( FontStruct_t fs)
overridevirtual

Explicitely delete font structure obtained with LoadQueryFont().

Reimplemented from TVirtualX.

Definition at line 5371 of file TGWin32.cxx.

◆ DeleteGC()

void TGWin32::DeleteGC ( GContext_t gc)
overridevirtual

Explicitely delete a graphics context.

Reimplemented from TVirtualX.

Definition at line 5485 of file TGWin32.cxx.

◆ DeleteImage()

void TGWin32::DeleteImage ( Drawable_t img)
overridevirtual

Deallocates the memory associated with the image img.

Reimplemented from TVirtualX.

Definition at line 7279 of file TGWin32.cxx.

◆ DeleteOpenGLContext()

void TVirtualX::DeleteOpenGLContext ( Int_t wid = 0)
virtualinherited

Deletes OpenGL context for window "wid".

Reimplemented in TGCocoa.

Definition at line 221 of file TVirtualX.cxx.

◆ DeletePictureData()

void TGWin32::DeletePictureData ( void * data)
overridevirtual

Delete picture data created by the function ReadPictureDataFromFile.

Reimplemented from TVirtualX.

Definition at line 5644 of file TGWin32.cxx.

◆ DeletePixmap()

void TGWin32::DeletePixmap ( Pixmap_t pmap)
overridevirtual

Explicitely delete pixmap resource.

Reimplemented from TVirtualX.

Definition at line 5554 of file TGWin32.cxx.

◆ DeleteProperty()

void TGWin32::DeleteProperty ( Window_t win,
Atom_t & prop )
overridevirtual

Deletes the specified property on the specified window.

Reimplemented from TVirtualX.

Definition at line 7478 of file TGWin32.cxx.

◆ DestroyRegion()

void TGWin32::DestroyRegion ( Region_t reg)
overridevirtual

Destroy region.

Reimplemented from TVirtualX.

Definition at line 7082 of file TGWin32.cxx.

◆ DestroySubwindows()

void TGWin32::DestroySubwindows ( Window_t id)
overridevirtual

Destroy all internal subwindows.

Reimplemented from TVirtualX.

Definition at line 4628 of file TGWin32.cxx.

◆ DestroyWindow()

void TGWin32::DestroyWindow ( Window_t id)
overridevirtual

Destroy window.

Reimplemented from TVirtualX.

Definition at line 4615 of file TGWin32.cxx.

◆ DispatchClientMessage()

void TVirtualX::DispatchClientMessage ( UInt_t messageID)
virtualinherited

Force processing of event, sent by SendEvent before.

Definition at line 1841 of file TVirtualX.cxx.

◆ DisplayName()

const char * TGWin32::DisplayName ( const char * dpyName = 0)
overridevirtual

Return hostname on which the display is opened.

Reimplemented from TVirtualX.

Definition at line 1944 of file TGWin32.cxx.

◆ DistancetoLine()

Int_t TAttLine::DistancetoLine ( Int_t px,
Int_t py,
Double_t xp1,
Double_t yp1,
Double_t xp2,
Double_t yp2 )
inherited

◆ DistancetoPrimitive()

◆ DoError()

void TObject::DoError ( int level,
const char * location,
const char * fmt,
va_list va ) const
protectedvirtualinherited

Interface to ErrorHandler (protected).

Reimplemented in TThread, and TTreeViewer.

Definition at line 1059 of file TObject.cxx.

◆ Draw()

◆ DrawBox()

void TGWin32::DrawBox ( Int_t x1,
Int_t y1,
Int_t x2,
Int_t y2,
EBoxMode mode )
overridevirtual

Draw a box.

mode=0 hollow (kHollow) mode=1 solid (kSolid)

Reimplemented from TVirtualX.

Definition at line 1562 of file TGWin32.cxx.

◆ DrawBoxW()

void TGWin32::DrawBoxW ( WinContext_t wctxt,
Int_t x1,
Int_t y1,
Int_t x2,
Int_t y2,
EBoxMode mode )
overridevirtual

Draw a box on specified window.

mode=0 hollow (kHollow) mode=1 solid (kSolid)

Reimplemented from TVirtualX.

Definition at line 1572 of file TGWin32.cxx.

◆ DrawCellArray()

void TGWin32::DrawCellArray ( Int_t x1,
Int_t y1,
Int_t x2,
Int_t y2,
Int_t nx,
Int_t ny,
Int_t * ic )
overridevirtual

Draw a cell array.

x1,y1 : left down corner x2,y2 : right up corner nx,ny : array size ic : array

Draw a cell array. The drawing is done with the pixel presicion if (X2-X1)/NX (or Y) is not a exact pixel number the position of the top rigth corner may be wrong.

Reimplemented from TVirtualX.

Definition at line 1608 of file TGWin32.cxx.

◆ DrawClass()

void TObject::DrawClass ( ) const
virtualinherited

Draw class inheritance tree of the class to which this object belongs.

If a class B inherits from a class A, description of B is drawn on the right side of description of A. Member functions overridden by B are shown in class A with a blue line crossing-out the corresponding member function. The following picture is the class inheritance tree of class TPaveLabel:

Reimplemented in TGFrame, TSystemDirectory, and TSystemFile.

Definition at line 308 of file TObject.cxx.

◆ DrawClone()

TObject * TObject::DrawClone ( Option_t * option = "") const
virtualinherited

Draw a clone of this object in the current selected pad with: gROOT->SetSelectedPad(c1).

If pad was not selected - gPad will be used.

Note
For histograms, use the more specialised TH1::DrawCopy().

Reimplemented in TAxis, TCanvas, TGFrame, TSystemDirectory, and TSystemFile.

Definition at line 319 of file TObject.cxx.

◆ DrawFillArea()

void TGWin32::DrawFillArea ( Int_t n,
TPoint * xyt )
overridevirtual

Fill area described by polygon.

n : number of points xy(2,n) : list of points

Reimplemented from TVirtualX.

Definition at line 1639 of file TGWin32.cxx.

◆ DrawFillAreaW()

void TGWin32::DrawFillAreaW ( WinContext_t wctxt,
Int_t n,
TPoint * xyt )
overridevirtual

Fill area described by polygon in a specified window.

n : number of points xy(2,n) : list of points

Reimplemented from TVirtualX.

Definition at line 1649 of file TGWin32.cxx.

◆ DrawFTGlyph()

void TGWin32::DrawFTGlyph ( void * source,
ULong_t fore,
ULong_t back,
GdkImage * xim,
Int_t bx,
Int_t by )
private

Draw FT_Bitmap bitmap to xim image at position bx,by using specified foreground color.

Definition at line 1117 of file TGWin32.cxx.

◆ DrawLine() [1/2]

void TGWin32::DrawLine ( Drawable_t id,
GContext_t gc,
Int_t x1,
Int_t y1,
Int_t x2,
Int_t y2 )
overridevirtual

Draw a line.

Reimplemented from TVirtualX.

Definition at line 6338 of file TGWin32.cxx.

◆ DrawLine() [2/2]

void TGWin32::DrawLine ( Int_t x1,
Int_t y1,
Int_t x2,
Int_t y2 )
overridevirtual

Draw a line.

x1,y1 : begin of line x2,y2 : end of line

Reimplemented from TVirtualX.

Definition at line 1673 of file TGWin32.cxx.

◆ DrawLinesSegments()

void TVirtualX::DrawLinesSegments ( Int_t n,
TPoint * xy )
virtualinherited

Draws N segments between provided points.

Parameters
[in]nnumber of segemtns
[in]xylist of points, size 2*n

Reimplemented in TGX11.

Definition at line 330 of file TVirtualX.cxx.

◆ DrawLinesSegmentsW()

void TGWin32::DrawLinesSegmentsW ( WinContext_t wctxt,
Int_t n,
TPoint * xy )
overridevirtual

Draw N segments on specified window n : number of segments xy : list of points, 2*N size.

Reimplemented from TVirtualX.

Definition at line 1754 of file TGWin32.cxx.

◆ DrawLineW()

void TGWin32::DrawLineW ( WinContext_t wctxt,
Int_t x1,
Int_t y1,
Int_t x2,
Int_t y2 )
overridevirtual

Draw a line on specified window.

x1,y1 : begin of line x2,y2 : end of line

Reimplemented from TVirtualX.

Definition at line 1683 of file TGWin32.cxx.

◆ DrawPolyLine()

void TGWin32::DrawPolyLine ( Int_t n,
TPoint * xyt )
overridevirtual

Draw a line through all points.

n : number of points xy : list of points

Reimplemented from TVirtualX.

Definition at line 1702 of file TGWin32.cxx.

◆ DrawPolyLineW()

void TGWin32::DrawPolyLineW ( WinContext_t wctxt,
Int_t n,
TPoint * xyt )
overridevirtual

Draw a line through all points in specified window.

n : number of points xy : list of points

Reimplemented from TVirtualX.

Definition at line 1712 of file TGWin32.cxx.

◆ DrawPolyMarker()

void TGWin32::DrawPolyMarker ( Int_t n,
TPoint * xyt )
overridevirtual

Draw n markers with the current attributes at position x, y.

n : number of markers to draw xy : x,y coordinates of markers

Reimplemented from TVirtualX.

Definition at line 1766 of file TGWin32.cxx.

◆ DrawPolyMarkerW()

void TGWin32::DrawPolyMarkerW ( WinContext_t wctxt,
Int_t n,
TPoint * xyt )
overridevirtual

Draw n markers with the current attributes at position x, y in specified window.

n : number of markers to draw xy : x,y coordinates of markers

Reimplemented from TVirtualX.

Definition at line 1776 of file TGWin32.cxx.

◆ DrawRectangle()

void TGWin32::DrawRectangle ( Drawable_t id,
GContext_t gc,
Int_t x,
Int_t y,
UInt_t w,
UInt_t h )
overridevirtual

Draw a rectangle outline.

Reimplemented from TVirtualX.

Definition at line 6716 of file TGWin32.cxx.

◆ DrawSegments()

void TGWin32::DrawSegments ( Drawable_t id,
GContext_t gc,
Segment_t * seg,
Int_t nseg )
overridevirtual

Draws multiple line segments. Each line is specified by a pair of points.

Reimplemented from TVirtualX.

Definition at line 6727 of file TGWin32.cxx.

◆ DrawString()

void TGWin32::DrawString ( Drawable_t id,
GContext_t gc,
Int_t x,
Int_t y,
const char * s,
Int_t len )
overridevirtual

Draw a string using a specific graphics context in position (x,y).

Reimplemented from TVirtualX.

Definition at line 6619 of file TGWin32.cxx.

◆ DrawText() [1/2]

void TGWin32::DrawText ( Int_t x,
Int_t y,
Float_t angle,
Float_t mgn,
const char * text,
ETextMode mode )
overridevirtual

Draw text using TrueType fonts.

If TrueType fonts are not available the text is drawn with TGWin32::DrawText.

Reimplemented from TVirtualX.

Definition at line 1212 of file TGWin32.cxx.

◆ DrawText() [2/2]

void TGWin32::DrawText ( Int_t x,
Int_t y,
Float_t angle,
Float_t mgn,
const wchar_t * text,
ETextMode mode )
overridevirtual

Draw text using TrueType fonts.

If TrueType fonts are not available the text is drawn with TGWin32::DrawText.

Reimplemented from TVirtualX.

Definition at line 1374 of file TGWin32.cxx.

◆ DrawTextHelper()

template<class CharType>
void TGWin32::DrawTextHelper ( WinContext_t wctxt,
Int_t x,
Int_t y,
Float_t angle,
const CharType * text,
ETextMode mode )
private

Definition at line 1220 of file TGWin32.cxx.

◆ DrawTextW() [1/2]

void TGWin32::DrawTextW ( WinContext_t wctxt,
Int_t x,
Int_t y,
Float_t angle,
Float_t mgn,
const char * text,
ETextMode mode )
overridevirtual

Draw text using TrueType fonts on specified window.

If TrueType fonts are not available the text is drawn with TGWin32::DrawText.

Reimplemented from TVirtualX.

Definition at line 1364 of file TGWin32.cxx.

◆ DrawTextW() [2/2]

void TGWin32::DrawTextW ( WinContext_t wctxt,
Int_t x,
Int_t y,
Float_t angle,
Float_t mgn,
const wchar_t * text,
ETextMode mode )
overridevirtual

Draw text using TrueType fonts on specified window.

If TrueType fonts are not available the text is drawn with TGWin32::DrawText.

Reimplemented from TVirtualX.

Definition at line 1385 of file TGWin32.cxx.

◆ Dump()

void TObject::Dump ( ) const
virtualinherited

Dump contents of object on stdout.

Using the information in the object dictionary (class TClass) each data member is interpreted. If a data member is a pointer, the pointer value is printed

The following output is the Dump of a TArrow object:

fAngle 0 Arrow opening angle (degrees)
fArrowSize 0.2 Arrow Size
fOption.*fData
fX1 0.1 X of 1st point
fY1 0.15 Y of 1st point
fX2 0.67 X of 2nd point
fY2 0.83 Y of 2nd point
fUniqueID 0 object unique identifier
fBits 50331648 bit field status word
fFillColor 19 fill area color
fFillStyle 1001 fill area style
#define X(type, name)
Style_t fFillStyle
Fill area style.
Definition TAttFill.h:25
Color_t fFillColor
Fill area color.
Definition TAttFill.h:24
Width_t fLineWidth
Line width.
Definition TAttLine.h:26
Style_t fLineStyle
Line style.
Definition TAttLine.h:25
Color_t fLineColor
Line color.
Definition TAttLine.h:24
UInt_t fUniqueID
object unique identifier
Definition TObject.h:46
UInt_t fBits
bit field status word
Definition TObject.h:47
TLine * line
TCanvas * style()
Definition style.C:1

Reimplemented in TClass, TCollection, TGFrame, TGPack, and TSystemFile.

Definition at line 367 of file TObject.cxx.

◆ EmptyRegion()

Bool_t TGWin32::EmptyRegion ( Region_t reg)
overridevirtual

Return true if the region is empty.

Reimplemented from TVirtualX.

Definition at line 7149 of file TGWin32.cxx.

◆ EqualRegion()

Bool_t TGWin32::EqualRegion ( Region_t rega,
Region_t regb )
overridevirtual

Returns true if two regions are equal.

Reimplemented from TVirtualX.

Definition at line 7165 of file TGWin32.cxx.

◆ Error()

void TObject::Error ( const char * location,
const char * fmt,
... ) const
virtualinherited

Issue error message.

Use "location" to specify the method where the error occurred. Accepts standard printf formatting arguments.

Reimplemented in TFitResult.

Definition at line 1098 of file TObject.cxx.

◆ EventsPending()

Int_t TGWin32::EventsPending ( )
overridevirtual

Returns number of pending events.

Reimplemented from TVirtualX.

Definition at line 5803 of file TGWin32.cxx.

◆ ExecCommand()

UInt_t TVirtualX::ExecCommand ( TGWin32Command * code)
virtualinherited

Executes the command "code" coming from the other threads (Win32).

Reimplemented in TGCocoa.

Definition at line 554 of file TVirtualX.cxx.

◆ Execute() [1/2]

void TObject::Execute ( const char * method,
const char * params,
Int_t * error = nullptr )
virtualinherited

Execute method on this object with the given parameter string, e.g.

"3.14,1,\"text\"".

Reimplemented in ROOT::R::TRInterface, TCling, TContextMenu, TInterpreter, and TMethodCall.

Definition at line 378 of file TObject.cxx.

◆ Execute() [2/2]

void TObject::Execute ( TMethod * method,
TObjArray * params,
Int_t * error = nullptr )
virtualinherited

Execute method on this object with parameters stored in the TObjArray.

The TObjArray should contain an argv vector like:

argv[0] ... argv[n] = the list of TObjString parameters
Collectable string class.
Definition TObjString.h:28
const Int_t n
Definition legend1.C:16

Reimplemented in ROOT::R::TRInterface, TCling, TContextMenu, TInterpreter, and TMethodCall.

Definition at line 398 of file TObject.cxx.

◆ ExecuteEvent()

◆ Fatal()

void TObject::Fatal ( const char * location,
const char * fmt,
... ) const
virtualinherited

Issue fatal error message.

Use "location" to specify the method where the fatal error occurred. Accepts standard printf formatting arguments.

Definition at line 1126 of file TObject.cxx.

◆ FillBuffer()

void TNamed::FillBuffer ( char *& buffer)
virtualinherited

Encode TNamed into output buffer.

Reimplemented in TDirectoryFile, TFile, TKey, TKeySQL, TKeyXML, TSQLFile, and TXMLFile.

Definition at line 103 of file TNamed.cxx.

◆ FillPolygon()

void TGWin32::FillPolygon ( Window_t id,
GContext_t gc,
Point_t * points,
Int_t npnt )
overridevirtual

FillPolygon fills the region closed by the specified path.

The path is closed automatically if the last point in the list does not coincide with the first point. All point coordinates are treated as relative to the origin. For every pair of points inside the polygon, the line segment connecting them does not intersect the path.

Reimplemented from TVirtualX.

Definition at line 6955 of file TGWin32.cxx.

◆ FillRectangle()

void TGWin32::FillRectangle ( Drawable_t id,
GContext_t gc,
Int_t x,
Int_t y,
UInt_t w,
UInt_t h )
overridevirtual

Draw a filled rectangle. Filling is done according to the gc.

Reimplemented from TVirtualX.

Definition at line 6705 of file TGWin32.cxx.

◆ FindObject() [1/2]

TObject * TObject::FindObject ( const char * name) const
virtualinherited

Must be redefined in derived classes.

This function is typically used with TCollections, but can also be used to find an object by name inside this object.

Reimplemented in RooAbsCollection, RooLinkedList, TBtree, TCollection, TDirectory, TFolder, TGeometry, TGraph2D, TGraph, TH1, THashList, THashTable, THbookFile, TList, TListOfDataMembers, TListOfEnums, TListOfEnumsWithLock, TListOfFunctions, TListOfFunctionTemplates, TListOfTypes, TMap, TObjArray, TPad, TROOT, TViewPubDataMembers, and TViewPubFunctions.

Definition at line 425 of file TObject.cxx.

◆ FindObject() [2/2]

TObject * TObject::FindObject ( const TObject * obj) const
virtualinherited

Must be redefined in derived classes.

This function is typically used with TCollections, but can also be used to find an object inside this object.

Reimplemented in RooAbsCollection, RooLinkedList, TBtree, TCollection, TDirectory, TFolder, TGeometry, TGraph2D, TGraph, TH1, THashList, THashTable, THbookFile, TList, TListOfDataMembers, TListOfEnums, TListOfEnumsWithLock, TListOfFunctions, TListOfFunctionTemplates, TListOfTypes, TMap, TObjArray, TPad, TROOT, TViewPubDataMembers, and TViewPubFunctions.

Definition at line 435 of file TObject.cxx.

◆ FindRWindow()

Window_t TGWin32::FindRWindow ( Window_t root,
Window_t dragwin,
Window_t input,
int x,
int y,
int maxd )
overridevirtual

Recursively search in the children of Window for a Window which is at location x, y and is DND aware, with a maximum depth of maxd.

Possibility to exclude dragwin and input.

Reimplemented from TVirtualX.

Definition at line 7631 of file TGWin32.cxx.

◆ FlushOpenGLBuffer()

void TVirtualX::FlushOpenGLBuffer ( Handle_t ctx)
virtualinherited

Flushes OpenGL buffer.

Reimplemented in TGCocoa.

Definition at line 260 of file TVirtualX.cxx.

◆ FreeColor()

void TGWin32::FreeColor ( Colormap_t cmap,
ULong_t pixel )
overridevirtual

Free color cell with specified pixel value.

Reimplemented from TVirtualX.

Definition at line 5745 of file TGWin32.cxx.

◆ FreeFontNames()

void TGWin32::FreeFontNames ( char ** fontlist)
overridevirtual

Frees the specified the array of strings "fontlist".

Reimplemented from TVirtualX.

Definition at line 7210 of file TGWin32.cxx.

◆ FreeFontStruct()

void TGWin32::FreeFontStruct ( FontStruct_t fs)
overridevirtual

Free font structure returned by GetFontStruct().

Reimplemented from TVirtualX.

Definition at line 6675 of file TGWin32.cxx.

◆ GetBackground()

GdkImage * TGWin32::GetBackground ( WinContext_t wctxt,
Int_t x,
Int_t y,
UInt_t w,
UInt_t h )
private

Get the background of the current window in an XImage.

Definition at line 1394 of file TGWin32.cxx.

◆ GetCharacterUp()

void TGWin32::GetCharacterUp ( Float_t & chupx,
Float_t & chupy )
overridevirtual

Return character up vector.

Reimplemented from TVirtualX.

Definition at line 1841 of file TGWin32.cxx.

◆ GetColor()

XColor_t & TGWin32::GetColor ( Int_t cid)
protected

Return reference to internal color structure associated to color index cid.

Definition at line 1851 of file TGWin32.cxx.

◆ GetColorBits()

unsigned char * TGWin32::GetColorBits ( Drawable_t wid,
Int_t x,
Int_t y,
UInt_t width,
UInt_t height )
overridevirtual

Gets DIB bits x, y, width, height - position of bitmap returns a pointer on bitmap bits array in format: b1, g1, r1, 0, b2, g2, r2, 0 ... bn, gn, rn, 0 ...

Pixels are numbered from left to right and from top to bottom. By default all pixels from the whole drawable are returned.

Reimplemented from TVirtualX.

Definition at line 7294 of file TGWin32.cxx.

◆ GetColormap()

Colormap_t TGWin32::GetColormap ( ) const
inlineoverridevirtual

Returns handle to colormap.

Might be useful in some cases where direct X11 manipulation outside of TVirtualX is needed, e.g. GL interface.

Reimplemented from TVirtualX.

Definition at line 259 of file TGWin32.h.

◆ GetCurrentOpenGLContext()

Handle_t TVirtualX::GetCurrentOpenGLContext ( )
virtualinherited

Asks OpenGL subsystem about the current OpenGL context.

Reimplemented in TGCocoa.

Definition at line 252 of file TVirtualX.cxx.

◆ GetCurrentWindow()

Window_t TGWin32::GetCurrentWindow ( ) const
overridevirtual

Return current window pointer. Protected method used by TGWin32TTF.

Reimplemented from TVirtualX.

Definition at line 1864 of file TGWin32.cxx.

◆ GetDefaultRootWindow()

Window_t TGWin32::GetDefaultRootWindow ( ) const
overridevirtual

Return handle to the default root window created when calling XOpenDisplay().

Reimplemented from TVirtualX.

Definition at line 5316 of file TGWin32.cxx.

◆ GetDepth()

Int_t TGWin32::GetDepth ( ) const
overridevirtual

Get maximum number of planes.

Reimplemented from TVirtualX.

Definition at line 5294 of file TGWin32.cxx.

◆ GetDisplay()

Display_t TGWin32::GetDisplay ( ) const
overridevirtual

Returns handle to display (might be useful in some cases where direct X11 manipulation outside of TVirtualX is needed, e.g.

GL interface).

Reimplemented from TVirtualX.

Definition at line 5286 of file TGWin32.cxx.

◆ GetDoubleBuffer()

Int_t TGWin32::GetDoubleBuffer ( Int_t wid)
overridevirtual

Query the double buffer value for the window wid.

Reimplemented from TVirtualX.

Definition at line 1890 of file TGWin32.cxx.

◆ GetDrawMode()

EDrawMode TVirtualX::GetDrawMode ( )
inlineinherited

Definition at line 152 of file TVirtualX.h.

◆ GetDrawModeW()

TVirtualX::EDrawMode TGWin32::GetDrawModeW ( WinContext_t wctxt)
overridevirtual

Returns window draw mode.

Reimplemented from TVirtualX.

Definition at line 7774 of file TGWin32.cxx.

◆ GetDrawOption()

Option_t * TObject::GetDrawOption ( ) const
virtualinherited

Get option used by the graphics system to draw this object.

Note that before calling object.GetDrawOption(), you must have called object.Draw(..) before in the current pad.

Reimplemented in TBrowser, TFitEditor, TGedFrame, TGFileBrowser, TRootBrowser, and TRootBrowserLite.

Definition at line 445 of file TObject.cxx.

◆ GetDtorOnly()

Longptr_t TObject::GetDtorOnly ( )
staticinherited

Return destructor only flag.

Definition at line 1196 of file TObject.cxx.

◆ GetFillColor()

Color_t TGWin32::GetFillColor ( ) const
overridevirtual

Return current fill color.

Reimplemented from TAttFill.

Definition at line 3044 of file TGWin32.cxx.

◆ GetFillStyle()

Style_t TGWin32::GetFillStyle ( ) const
overridevirtual

Return current fill style.

Reimplemented from TAttFill.

Definition at line 3069 of file TGWin32.cxx.

◆ GetFontAscent() [1/2]

Int_t TVirtualX::GetFontAscent ( ) const
virtualinherited

Returns the ascent of the current font (in pixels).

The ascent of a font is the distance from the baseline to the highest position characters extend to

Reimplemented in TGQuartz.

Definition at line 687 of file TVirtualX.cxx.

◆ GetFontAscent() [2/2]

Int_t TVirtualX::GetFontAscent ( const char * mess) const
virtualinherited

Default version is noop, but in principle what ROOT understands as ascent is text related.

Reimplemented in TGQuartz.

Definition at line 696 of file TVirtualX.cxx.

◆ GetFontAscentDescent()

Bool_t TVirtualX::GetFontAscentDescent ( Font_t font,
Double_t size,
UInt_t & a,
UInt_t & d,
const char * mess )
virtualinherited

Returns ascent/descent for specified character string "mess" with font and size.

Reimplemented in TGQuartz.

Definition at line 676 of file TVirtualX.cxx.

◆ GetFontDescent() [1/2]

Int_t TVirtualX::GetFontDescent ( ) const
virtualinherited

Returns the descent of the current font (in pixels.

The descent is the distance from the base line to the lowest point characters extend to.

Reimplemented in TGQuartz.

Definition at line 706 of file TVirtualX.cxx.

◆ GetFontDescent() [2/2]

Int_t TVirtualX::GetFontDescent ( const char * mess) const
virtualinherited

Default version is noop, but in principle what ROOT understands as descent requires a certain text.

Reimplemented in TGQuartz.

Definition at line 715 of file TVirtualX.cxx.

◆ GetFontHandle()

FontH_t TGWin32::GetFontHandle ( FontStruct_t fs)
overridevirtual

Return handle to font described by font structure.

Reimplemented from TVirtualX.

Definition at line 5360 of file TGWin32.cxx.

◆ GetFontProperties()

void TGWin32::GetFontProperties ( FontStruct_t font,
Int_t & max_ascent,
Int_t & max_descent )
overridevirtual

Return some font properties.

Reimplemented from TVirtualX.

Definition at line 6641 of file TGWin32.cxx.

◆ GetFontStruct()

FontStruct_t TGWin32::GetFontStruct ( FontH_t fh)
overridevirtual

Retrieve associated font structure once we have the font handle.

Free returned FontStruct_t using FreeFontStruct().

Reimplemented from TVirtualX.

Definition at line 6667 of file TGWin32.cxx.

◆ GetGC()

GdkGC * TGWin32::GetGC ( Int_t which) const
protected

Return desired Graphics Context ("which" maps directly on gGCList[]).

Protected method used by TGWin32TTF.

Definition at line 1873 of file TGWin32.cxx.

◆ GetGCFont()

FontStruct_t TVirtualX::GetGCFont ( GContext_t gc)
virtualinherited

Return the font associated with the graphics context gc.

Definition at line 2055 of file TVirtualX.cxx.

◆ GetGCValues()

void TGWin32::GetGCValues ( GContext_t gc,
GCValues_t & gval )
overridevirtual

Get current values from graphics context gc.

Which values of the context to get is encoded in the GCValues::fMask member.

Reimplemented from TVirtualX.

Definition at line 6653 of file TGWin32.cxx.

◆ GetGeometry()

void TGWin32::GetGeometry ( Int_t wid,
Int_t & x,
Int_t & y,
UInt_t & w,
UInt_t & h )
overridevirtual

Return position and size of window wid.

wid : window identifier x,y : window position (output) w,h : window size (output) if wid < 0 the size of the display is returned

Reimplemented from TVirtualX.

Definition at line 1911 of file TGWin32.cxx.

◆ GetIconName()

const char * TObject::GetIconName ( ) const
virtualinherited

Returns mime type name of object.

Used by the TBrowser (via TGMimeTypes class). Override for class of which you would like to have different icons for objects of the same class.

Reimplemented in ROOT::Experimental::XRooFit::xRooNode, TASImage, TBranch, TBranchElement, TGeoVolume, TGMainFrame, TKey, TMethodBrowsable, TSystemFile, and TVirtualBranchBrowsable.

Definition at line 472 of file TObject.cxx.

◆ GetImageSize()

void TGWin32::GetImageSize ( Drawable_t id,
UInt_t & width,
UInt_t & height )
overridevirtual

Returns the width and height of the image id.

Reimplemented from TVirtualX.

Definition at line 7227 of file TGWin32.cxx.

◆ GetInputFocus()

Window_t TGWin32::GetInputFocus ( )
overridevirtual

Returns the window id of the window having the input focus.

Reimplemented from TVirtualX.

Definition at line 6753 of file TGWin32.cxx.

◆ GetLineColor()

virtual Color_t TAttLine::GetLineColor ( ) const
inlinevirtualinherited

Return the line color.

Reimplemented in TGraphMultiErrors, and TGWin32VirtualXProxy.

Definition at line 36 of file TAttLine.h.

◆ GetLineStyle()

Style_t TGWin32::GetLineStyle ( ) const
overridevirtual

Return current line style.

Reimplemented from TAttLine.

Definition at line 3186 of file TGWin32.cxx.

◆ GetLineWidth()

Width_t TGWin32::GetLineWidth ( ) const
overridevirtual

Return current line width.

Reimplemented from TAttLine.

Definition at line 3210 of file TGWin32.cxx.

◆ GetMarkerColor()

virtual Color_t TAttMarker::GetMarkerColor ( ) const
inlinevirtualinherited

Return the marker color.

Reimplemented in TGWin32VirtualXProxy.

Definition at line 33 of file TAttMarker.h.

◆ GetMarkerLineWidth()

Width_t TAttMarker::GetMarkerLineWidth ( Style_t style)
staticinherited

◆ GetMarkerSize()

virtual Size_t TAttMarker::GetMarkerSize ( ) const
inlinevirtualinherited

Return the marker size.

Reimplemented in TGWin32VirtualXProxy.

Definition at line 35 of file TAttMarker.h.

◆ GetMarkerStyle()

virtual Style_t TAttMarker::GetMarkerStyle ( ) const
inlinevirtualinherited

Return the marker style.

Reimplemented in TGWin32VirtualXProxy.

Definition at line 34 of file TAttMarker.h.

◆ GetMarkerStyleBase()

Style_t TAttMarker::GetMarkerStyleBase ( Style_t style)
staticinherited

◆ GetName()

const char * TNamed::GetName ( ) const
inlineoverridevirtualinherited

Returns name of object.

This default method returns the class name. Classes that give objects a name should override this method.

Reimplemented from TObject.

Definition at line 49 of file TNamed.h.

◆ GetNativeEvent()

Handle_t TVirtualX::GetNativeEvent ( ) const
virtualinherited

Returns the current native event handle.

Reimplemented in TGCocoa, TGWin32VirtualXProxy, and TGX11.

Definition at line 601 of file TVirtualX.cxx.

◆ GetObjectInfo()

char * TObject::GetObjectInfo ( Int_t px,
Int_t py ) const
virtualinherited

Returns string containing info about the object at position (px,py).

This method is typically overridden by classes of which the objects can report peculiarities for different positions. Returned string will be re-used (lock in MT environment).

Reimplemented in TASImage, TAxis3D, TColorWheel, TF1, TF2, TFileDrawMap, TGeoNode, TGeoTrack, TGeoVolume, TGL5DDataSet, TGLHistPainter, TGLParametricEquation, TGLTH3Composition, TGraph, TH1, THistPainter, TNode, TPaletteAxis, TParallelCoordVar, and TVirtualHistPainter.

Definition at line 491 of file TObject.cxx.

◆ GetObjectStat()

Bool_t TObject::GetObjectStat ( )
staticinherited

Get status of object stat flag.

Definition at line 1181 of file TObject.cxx.

◆ GetOpenGLScalingFactor()

Double_t TVirtualX::GetOpenGLScalingFactor ( )
virtualinherited

On a HiDPI resolution it can be > 1., this means glViewport should use scaled width and height.

Reimplemented in TGCocoa.

Definition at line 206 of file TVirtualX.cxx.

◆ GetOption()

virtual Option_t * TObject::GetOption ( ) const
inlinevirtualinherited

◆ GetParent()

Window_t TGWin32::GetParent ( Window_t id) const
overridevirtual

Return the parent of the window.

Reimplemented from TVirtualX.

Definition at line 5324 of file TGWin32.cxx.

◆ GetPasteBuffer()

void TGWin32::GetPasteBuffer ( Window_t id,
Atom_t atom,
TString & text,
Int_t & nchar,
Bool_t del )
overridevirtual

Get contents of paste buffer atom into string.

If del is true delete the paste buffer afterwards.

Reimplemented from TVirtualX.

Definition at line 6868 of file TGWin32.cxx.

◆ GetPixel()

ULong_t TGWin32::GetPixel ( Color_t cindex)
overridevirtual

Return pixel value associated to specified ROOT color number.

Reimplemented from TVirtualX.

Definition at line 2861 of file TGWin32.cxx.

◆ GetPlanes()

void TGWin32::GetPlanes ( Int_t & nplanes)
overridevirtual

Get maximum number of planes.

Reimplemented from TVirtualX.

Definition at line 1952 of file TGWin32.cxx.

◆ GetPrimarySelectionOwner()

Window_t TGWin32::GetPrimarySelectionOwner ( )
overridevirtual

Returns the window id of the current owner of the primary selection.

That is the window in which, for example some text is selected.

Reimplemented from TVirtualX.

Definition at line 6774 of file TGWin32.cxx.

◆ GetProperty()

Int_t TGWin32::GetProperty ( Window_t win,
Atom_t prop,
Long_t offset,
Long_t len,
Bool_t del,
Atom_t req_type,
Atom_t * act_type,
Int_t * act_format,
ULong_t * nitems,
ULong_t * bytes,
unsigned char ** prop_list )
overridevirtual

Returns the actual type of the property, the actual format of the property, and a pointer to the data actually returned.

Reimplemented from TVirtualX.

Definition at line 7492 of file TGWin32.cxx.

◆ GetRegionBox()

void TGWin32::GetRegionBox ( Region_t reg,
Rectangle_t * rect )
overridevirtual

Return smallest enclosing rectangle.

Reimplemented from TVirtualX.

Definition at line 7173 of file TGWin32.cxx.

◆ GetRGB()

void TGWin32::GetRGB ( Int_t index,
Float_t & r,
Float_t & g,
Float_t & b )
overridevirtual

Get rgb values for color "index".

Reimplemented from TVirtualX.

Definition at line 1960 of file TGWin32.cxx.

◆ GetScreen()

Int_t TGWin32::GetScreen ( ) const
inlineoverridevirtual

Returns screen number.

Might be useful in some cases where direct X11 manipulation outside of TVirtualX is needed, e.g. GL interface.

Reimplemented from TVirtualX.

Definition at line 257 of file TGWin32.h.

◆ GetTextAlign()

virtual Short_t TAttText::GetTextAlign ( ) const
inlinevirtualinherited

Return the text alignment.

Reimplemented in TGWin32VirtualXProxy.

Definition at line 35 of file TAttText.h.

◆ GetTextAngle()

virtual Float_t TAttText::GetTextAngle ( ) const
inlinevirtualinherited

Return the text angle.

Reimplemented in TGWin32VirtualXProxy.

Definition at line 36 of file TAttText.h.

◆ GetTextColor()

virtual Color_t TAttText::GetTextColor ( ) const
inlinevirtualinherited

Return the text color.

Reimplemented in TGWin32VirtualXProxy.

Definition at line 37 of file TAttText.h.

◆ GetTextExtent() [1/2]

void TGWin32::GetTextExtent ( UInt_t & w,
UInt_t & h,
char * mess )
overridevirtual

Return the size of a character string - no longer used iw : text width ih : text height mess : message.

Reimplemented from TVirtualX.

Definition at line 1980 of file TGWin32.cxx.

◆ GetTextExtent() [2/2]

void TGWin32::GetTextExtent ( UInt_t & w,
UInt_t & h,
wchar_t * mess )
overridevirtual

Return the size of a wcharacter string - use TTF.

Reimplemented from TVirtualX.

Definition at line 1991 of file TGWin32.cxx.

◆ GetTextExtentA() [1/2]

Bool_t TVirtualX::GetTextExtentA ( Font_t font,
Double_t size,
UInt_t & w,
UInt_t & h,
const char * mess )
virtualinherited

Returns the size of the specified character string "mess" for font and size.

Reimplemented in TGQuartz, and TGX11.

Definition at line 657 of file TVirtualX.cxx.

◆ GetTextExtentA() [2/2]

Bool_t TVirtualX::GetTextExtentA ( Font_t font,
Double_t size,
UInt_t & w,
UInt_t & h,
const wchar_t * mess )
virtualinherited

Returns the size of the specified character string "mess" for font and size.

Reimplemented in TGQuartz, and TGX11.

Definition at line 666 of file TVirtualX.cxx.

◆ GetTextFont()

virtual Font_t TAttText::GetTextFont ( ) const
inlinevirtualinherited

Return the text font.

Reimplemented in TGWin32VirtualXProxy.

Definition at line 38 of file TAttText.h.

◆ GetTextMagnitude()

Float_t TGWin32::GetTextMagnitude ( )
inlineoverridevirtual

Returns the current font magnification factor.

Reimplemented from TVirtualX.

Definition at line 156 of file TGWin32.h.

◆ GetTextSize()

virtual Float_t TAttText::GetTextSize ( ) const
inlinevirtualinherited

Return the text size.

Reimplemented in TGWin32VirtualXProxy.

Definition at line 39 of file TAttText.h.

◆ GetTextSizePercent()

virtual Float_t TAttText::GetTextSizePercent ( Float_t size)
virtualinherited

Return the text in percent of the pad size.

◆ GetTextSizePixels()

virtual Float_t TAttText::GetTextSizePixels ( TVirtualPad & pad) const
virtualinherited

Return the text size in pixels for specified pad.

◆ GetTextSizeRelative()

virtual Float_t TAttText::GetTextSizeRelative ( TVirtualPad & pad) const
virtualinherited

Return the text size in relative units.

◆ GetTitle()

const char * TNamed::GetTitle ( ) const
inlineoverridevirtualinherited

Returns title of object.

This default method returns the class title (i.e. description). Classes that give objects a title should override this method.

Reimplemented from TObject.

Definition at line 50 of file TNamed.h.

◆ GetUniqueID()

UInt_t TObject::GetUniqueID ( ) const
virtualinherited

Return the unique object id.

Definition at line 480 of file TObject.cxx.

◆ GetVisual()

Visual_t TGWin32::GetVisual ( ) const
inlineoverridevirtual

Returns handle to visual.

Might be useful in some cases where direct X11 manipulation outside of TVirtualX is needed, e.g. GL interface.

Reimplemented from TVirtualX.

Definition at line 256 of file TGWin32.h.

◆ GetWindowAttributes()

void TGWin32::GetWindowAttributes ( Window_t id,
WindowAttributes_t & attr )
overridevirtual

Get window attributes and return filled in attributes structure.

Reimplemented from TVirtualX.

Definition at line 5245 of file TGWin32.cxx.

◆ GetWindowContext()

WinContext_t TGWin32::GetWindowContext ( Int_t wid)
overridevirtual

Returns window context for specified win id.

Reimplemented from TVirtualX.

Definition at line 7448 of file TGWin32.cxx.

◆ GetWindowID()

Window_t TGWin32::GetWindowID ( Int_t wid)
overridevirtual

Return the X11 window identifier.

wid : Workstation identifier (input)

Reimplemented from TVirtualX.

Definition at line 2003 of file TGWin32.cxx.

◆ GetWindowSize()

void TGWin32::GetWindowSize ( Drawable_t id,
Int_t & x,
Int_t & y,
UInt_t & w,
UInt_t & h )
overridevirtual

Return geometry of window (should be called GetGeometry but signature already used).

Reimplemented from TVirtualX.

Definition at line 6931 of file TGWin32.cxx.

◆ GrabButton()

void TGWin32::GrabButton ( Window_t id,
EMouseButton button,
UInt_t modifier,
UInt_t evmask,
Window_t confine,
Cursor_t cursor,
Bool_t grab = kTRUE )
overridevirtual

Establish passive grab on a certain mouse button.

That is, when a certain mouse button is hit while certain modifier's (Shift, Control, Meta, Alt) are active then the mouse will be grabed for window id. When grab is false, ungrab the mouse button for this button and modifier.

Reimplemented from TVirtualX.

Definition at line 6408 of file TGWin32.cxx.

◆ GrabKey()

void TGWin32::GrabKey ( Window_t id,
Int_t keycode,
UInt_t modifier,
Bool_t grab = kTRUE )
overridevirtual

Establish passive grab on a certain key.

That is, when a certain key keycode is hit while certain modifier's (Shift, Control, Meta, Alt) are active then the keyboard will be grabed for window id. When grab is false, ungrab the keyboard for this key and modifier.

Reimplemented from TVirtualX.

Definition at line 6389 of file TGWin32.cxx.

◆ GrabPointer()

void TGWin32::GrabPointer ( Window_t id,
UInt_t evmask,
Window_t confine,
Cursor_t cursor,
Bool_t grab = kTRUE,
Bool_t owner_events = kTRUE )
overridevirtual

Establish an active pointer grab.

While an active pointer grab is in effect, further pointer events are only reported to the grabbing client window.

Reimplemented from TVirtualX.

Definition at line 6433 of file TGWin32.cxx.

◆ HandleTimer()

Bool_t TObject::HandleTimer ( TTimer * timer)
virtualinherited

Execute action in response of a timer timing out.

This method must be overridden if an object has to react to timers.

Reimplemented in TGCommandPlugin, TGDNDManager, TGFileContainer, TGHtml, TGLEventHandler, TGPopupMenu, TGraphTime, TGScrollBar, TGShutter, TGTextEdit, TGTextEditor, TGTextEntry, TGTextView, TGToolTip, TGuiBldDragManager, TGWindow, and TTreeViewer.

Definition at line 516 of file TObject.cxx.

◆ Hash()

ULong_t TNamed::Hash ( ) const
inlineoverridevirtualinherited

Return hash value for this object.

Note: If this routine is overloaded in a derived class, this derived class should also add

void CallRecursiveRemoveIfNeeded(TObject &obj)
call RecursiveRemove for obj if gROOT is valid and obj.TestBit(kMustCleanup) is true.
Definition TROOT.h:406

Otherwise, when RecursiveRemove is called (by ~TObject or example) for this type of object, the transversal of THashList and THashTable containers will will have to be done without call Hash (and hence be linear rather than logarithmic complexity). You will also see warnings like

Error in <ROOT::Internal::TCheckHashRecursiveRemoveConsistency::CheckRecursiveRemove>: The class SomeName overrides
TObject::Hash but does not call TROOT::RecursiveRemove in its destructor.
ULong_t Hash() const override
Return hash value for this object.
Definition TNamed.h:51
virtual void Error(const char *method, const char *msgfmt,...) const
Issue error message.
Definition TObject.cxx:1098
TObject()
TObject constructor.
Definition TObject.h:259
void RecursiveRemove(TObject *obj) override
Recursively remove this object from the list of Cleanups.
Definition TROOT.cxx:2651

Reimplemented from TObject.

Definition at line 51 of file TNamed.h.

◆ HasInconsistentHash()

Bool_t TObject::HasInconsistentHash ( ) const
inlineinherited

Return true is the type of this object is known to have an inconsistent setup for Hash and RecursiveRemove (i.e.

missing call to RecursiveRemove in destructor).

Note: Since the consistency is only tested for during inserts, this routine will return true for object that have never been inserted whether or not they have a consistent setup. This has no negative side-effect as searching for the object with the right or wrong Hash will always yield a not-found answer (Since anyway no hash can be guaranteed unique, there is always a check)

Definition at line 366 of file TObject.h.

◆ HasTTFonts()

Bool_t TGWin32::HasTTFonts ( ) const
inlineoverridevirtual

Returns True when TrueType fonts are used.

Reimplemented from TVirtualX.

Definition at line 158 of file TGWin32.h.

◆ IconifyWindow()

void TGWin32::IconifyWindow ( Window_t id)
overridevirtual

Iconify the window.

Reimplemented from TVirtualX.

Definition at line 4711 of file TGWin32.cxx.

◆ Info()

void TObject::Info ( const char * location,
const char * fmt,
... ) const
virtualinherited

Issue info message.

Use "location" to specify the method where the warning occurred. Accepts standard printf formatting arguments.

Definition at line 1072 of file TObject.cxx.

◆ InheritsFrom() [1/2]

Bool_t TObject::InheritsFrom ( const char * classname) const
virtualinherited

Returns kTRUE if object inherits from class "classname".

Reimplemented in TClass.

Definition at line 549 of file TObject.cxx.

◆ InheritsFrom() [2/2]

Bool_t TObject::InheritsFrom ( const TClass * cl) const
virtualinherited

Returns kTRUE if object inherits from TClass cl.

Reimplemented in TClass.

Definition at line 557 of file TObject.cxx.

◆ Init()

Bool_t TGWin32::Init ( void * display = 0)
overridevirtual

Initialize Win32 system. Returns kFALSE in case of failure.

Reimplemented from TVirtualX.

Definition at line 897 of file TGWin32.cxx.

◆ InitWindow()

Int_t TGWin32::InitWindow ( ULongptr_t win)
overridevirtual

Open window and return window number.

Return -1 if window initialization fails.

Reimplemented from TVirtualX.

Definition at line 2116 of file TGWin32.cxx.

◆ Inspect()

void TObject::Inspect ( ) const
virtualinherited

Dump contents of this object in a graphics canvas.

Same action as Dump but in a graphical form. In addition pointers to other objects can be followed.

The following picture is the Inspect of a histogram object:

Reimplemented in ROOT::Experimental::XRooFit::xRooNode, TGFrame, TInspectorObject, and TSystemFile.

Definition at line 570 of file TObject.cxx.

◆ Instance()

TVirtualX *& TVirtualX::Instance ( )
staticinherited

Returns gVirtualX global.

Definition at line 57 of file TVirtualX.cxx.

◆ InternAtom()

Atom_t TGWin32::InternAtom ( const char * atom_name,
Bool_t only_if_exist )
overridevirtual

Return atom handle for atom_name.

If it does not exist create it if only_if_exist is false. Atoms are used to communicate between different programs (i.e. window manager) via the X server.

Reimplemented from TVirtualX.

Definition at line 5304 of file TGWin32.cxx.

◆ IntersectRegion()

void TGWin32::IntersectRegion ( Region_t rega,
Region_t regb,
Region_t result )
overridevirtual

Compute the intersection of rega and regb and return result region.

The output region may be the same as the result region.

Reimplemented from TVirtualX.

Definition at line 7123 of file TGWin32.cxx.

◆ InvertBit()

void TObject::InvertBit ( UInt_t f)
inlineinherited

Definition at line 206 of file TObject.h.

◆ IsA()

TClass * TGWin32::IsA ( ) const
inlineoverridevirtual
Returns
TClass describing current object

Reimplemented from TObject.

Definition at line 405 of file TGWin32.h.

◆ IsCmdThread()

Bool_t TGWin32::IsCmdThread ( ) const
overridevirtual

returns kTRUE if we are inside cmd/server thread

Reimplemented from TVirtualX.

Definition at line 832 of file TGWin32.cxx.

◆ IsDestructed()

Bool_t TObject::IsDestructed ( ) const
inlineinherited

IsDestructed.

Note
This function must be non-virtual as it can be used on destructed (but not yet modified) memory. This is used for example in TClonesArray to record the element that have been destructed but not deleted and thus are ready for re-use (by operator new with placement).
Returns
true if this object's destructor has been run.

Definition at line 186 of file TObject.h.

◆ IsDNDAware()

Bool_t TGWin32::IsDNDAware ( Window_t win,
Atom_t * typelist )
overridevirtual

Checks if Window win is DND aware, and knows any of the DND formats passed in argument.

Reimplemented from TVirtualX.

Definition at line 7688 of file TGWin32.cxx.

◆ IsEqual()

Bool_t TObject::IsEqual ( const TObject * obj) const
virtualinherited

Default equal comparison (objects are equal if they have the same address in memory).

More complicated classes might want to override this function.

Reimplemented in TGObject, TObjString, TPair, and TQCommand.

Definition at line 589 of file TObject.cxx.

◆ IsFolder()

◆ IsOnHeap()

Bool_t TObject::IsOnHeap ( ) const
inlineinherited

Definition at line 160 of file TObject.h.

◆ IsSortable()

Bool_t TNamed::IsSortable ( ) const
inlineoverridevirtualinherited

Reimplemented from TObject.

Reimplemented in TStructNodeProperty.

Definition at line 52 of file TNamed.h.

◆ IsTransparent()

Bool_t TAttFill::IsTransparent ( ) const
inlinevirtualinherited

Reimplemented in TGWin32VirtualXProxy.

Definition at line 49 of file TAttFill.h.

◆ IsZombie()

Bool_t TObject::IsZombie ( ) const
inlineinherited

Definition at line 161 of file TObject.h.

◆ KeysymToKeycode()

Int_t TGWin32::KeysymToKeycode ( UInt_t keysym)
overridevirtual

Convert a keysym to the appropriate keycode.

For example keysym is a letter and keycode is the matching keyboard key (which is dependend on the current keyboard mapping).

Reimplemented from TVirtualX.

Definition at line 6695 of file TGWin32.cxx.

◆ ListFonts()

char ** TGWin32::ListFonts ( const char * fontname,
Int_t max,
Int_t & count )
overridevirtual

Return list of font names matching "fontname".

Reimplemented from TVirtualX.

Definition at line 7186 of file TGWin32.cxx.

◆ LoadQueryFont()

FontStruct_t TGWin32::LoadQueryFont ( const char * font_name)
overridevirtual

Load font and query font.

If font is not found 0 is returned, otherwise an opaque pointer to the FontStruct_t. Free the loaded font using DeleteFont().

Reimplemented from TVirtualX.

Definition at line 5336 of file TGWin32.cxx.

◆ Lock()

void TGWin32::Lock ( )
static

Definition at line 881 of file TGWin32.cxx.

◆ LookupString()

void TGWin32::LookupString ( Event_t * event,
char * buf,
Int_t buflen,
UInt_t & keysym )
overridevirtual

Convert the keycode from the event structure to a key symbol (according to the modifiers specified in the event structure and the current keyboard mapping).

In buf a null terminated ASCII string is returned representing the string that is currently mapped to the key code.

Reimplemented from TVirtualX.

Definition at line 6815 of file TGWin32.cxx.

◆ LowerWindow()

void TGWin32::LowerWindow ( Window_t id)
overridevirtual

Lower window so it lays below all its siblings.

Reimplemented from TVirtualX.

Definition at line 4657 of file TGWin32.cxx.

◆ ls()

void TNamed::ls ( Option_t * option = "") const
overridevirtualinherited

List TNamed name and title.

Reimplemented from TObject.

Reimplemented in ROOT::Experimental::XRooFit::xRooBrowser, TNode, TROOT, TStreamerBase, TStreamerElement, TStreamerInfo, TStreamerSTL, TTask, TText, and TVirtualStreamerInfo.

Definition at line 112 of file TNamed.cxx.

◆ MakeOpenGLContextCurrent()

Bool_t TVirtualX::MakeOpenGLContextCurrent ( Handle_t ctx,
Window_t windowID )
virtualinherited

Makes context ctx current OpenGL context.

Reimplemented in TGCocoa.

Definition at line 244 of file TVirtualX.cxx.

◆ MakeZombie()

void TObject::MakeZombie ( )
inlineprotectedinherited

Definition at line 55 of file TObject.h.

◆ MapColorStruct()

void TGWin32::MapColorStruct ( ColorStruct_t * color,
GdkColor & xcolor )
private

Map a ColorStruct_t to a XColor structure.

Definition at line 5672 of file TGWin32.cxx.

◆ MapCursor()

void TGWin32::MapCursor ( ECursor cursor,
Int_t & xcursor )
private

◆ MapEvent()

void TGWin32::MapEvent ( Event_t & ev,
GdkEvent & xev,
Bool_t tox = kTRUE )
private

Map Event_t structure to gdk_event structure.

If tox is false map the other way.

Definition at line 5896 of file TGWin32.cxx.

◆ MapEventMask()

void TGWin32::MapEventMask ( UInt_t & emask,
UInt_t & xemask,
Bool_t tox = kTRUE )
private

Map event mask to or from gdk.

Definition at line 4864 of file TGWin32.cxx.

◆ MapGCFont()

void TVirtualX::MapGCFont ( GContext_t ,
FontStruct_t  )
virtualinherited

Map the XftFont with the Graphics Context using it.

Definition at line 2716 of file TVirtualX.cxx.

◆ MapGCValues()

void TGWin32::MapGCValues ( GCValues_t & gval,
ULong_t & xmask,
GdkGCValues & xgval,
Bool_t tox = kTRUE )
private

Map a GCValues_t to a XCGValues structure if tox is true.

Map the other way in case tox is false.

Definition at line 4976 of file TGWin32.cxx.

◆ MapKeySym()

void TGWin32::MapKeySym ( UInt_t & keysym,
UInt_t & xkeysym,
Bool_t tox = kTRUE )
private

Map to and from X key symbols.

Keysym are the values returned by XLookUpString.

Definition at line 6828 of file TGWin32.cxx.

◆ MapModifierState()

void TGWin32::MapModifierState ( UInt_t & state,
UInt_t & xstate,
Bool_t tox = kTRUE )
private

Map modifier key state to or from X.

Definition at line 5840 of file TGWin32.cxx.

◆ MapRaised()

void TGWin32::MapRaised ( Window_t id)
overridevirtual

Map window on screen and put on top of all windows.

Reimplemented from TVirtualX.

Definition at line 4578 of file TGWin32.cxx.

◆ MapSetWindowAttributes()

void TGWin32::MapSetWindowAttributes ( SetWindowAttributes_t * attr,
ULong_t & xmask,
GdkWindowAttr & xattr )
private

Map a SetWindowAttributes_t to a GdkWindowAttr structure.

Definition at line 4943 of file TGWin32.cxx.

◆ MapSubwindows()

void TGWin32::MapSubwindows ( Window_t id)
overridevirtual

Maps all subwindows for the specified window "id" in top-to-bottom stacking order.

Reimplemented from TVirtualX.

Definition at line 4567 of file TGWin32.cxx.

◆ MapWindow()

void TGWin32::MapWindow ( Window_t id)
overridevirtual

Map window on screen.

Reimplemented from TVirtualX.

Definition at line 4552 of file TGWin32.cxx.

◆ MayNotUse()

void TObject::MayNotUse ( const char * method) const
inherited

Use this method to signal that a method (defined in a base class) may not be called in a derived class (in principle against good design since a child class should not provide less functionality than its parent, however, sometimes it is necessary).

Definition at line 1160 of file TObject.cxx.

◆ Modify() [1/4]

virtual void TAttFill::Modify ( )
virtualinherited

◆ Modify() [2/4]

virtual void TAttLine::Modify ( )
virtualinherited

◆ Modify() [3/4]

virtual void TAttMarker::Modify ( )
virtualinherited

◆ Modify() [4/4]

virtual void TAttText::Modify ( )
virtualinherited

◆ ModifyOn() [1/4]

virtual void TAttFill::ModifyOn ( TVirtualPad & pad)
virtualinherited

◆ ModifyOn() [2/4]

virtual void TAttLine::ModifyOn ( TVirtualPad & pad)
virtualinherited

◆ ModifyOn() [3/4]

virtual void TAttMarker::ModifyOn ( TVirtualPad & pad)
virtualinherited

◆ ModifyOn() [4/4]

virtual void TAttText::ModifyOn ( TVirtualPad & pad)
virtualinherited

◆ MoveResizeWindow()

void TGWin32::MoveResizeWindow ( Window_t id,
Int_t x,
Int_t y,
UInt_t w,
UInt_t h )
overridevirtual

Move and resize a window.

Reimplemented from TVirtualX.

Definition at line 4683 of file TGWin32.cxx.

◆ MoveWindow() [1/2]

void TGWin32::MoveWindow ( Int_t wid,
Int_t x,
Int_t y )
overridevirtual

Move the window wid.

wid : GdkWindow identifier. x : x new window position y : y new window position

Reimplemented from TVirtualX.

Definition at line 2015 of file TGWin32.cxx.

◆ MoveWindow() [2/2]

void TGWin32::MoveWindow ( Window_t id,
Int_t x,
Int_t y )
overridevirtual

Move a window.

Reimplemented from TVirtualX.

Definition at line 4669 of file TGWin32.cxx.

◆ NeedRedraw()

Bool_t TVirtualX::NeedRedraw ( ULongptr_t tgwindow,
Bool_t force )
virtualinherited

Notify the low level GUI layer ROOT requires "tgwindow" to be updated.

Returns kTRUE if the notification was desirable and it was sent

At the moment only Qt4 layer needs that

One needs explicitly cast the first parameter to TGWindow to make it working in the implementation.

One needs to process the notification to confine all paint operations within "expose" / "paint" like low level event or equivalent

Reimplemented in TGCocoa.

Definition at line 1337 of file TVirtualX.cxx.

◆ NextEvent()

void TGWin32::NextEvent ( Event_t & event)
overridevirtual

Copies first pending event from event queue to Event_t structure and removes event from queue.

Not all of the event fields are valid for each event type, except fType and fWindow.

Reimplemented from TVirtualX.

Definition at line 5821 of file TGWin32.cxx.

◆ Notify()

Bool_t TObject::Notify ( )
virtualinherited

This method must be overridden to handle object notification (the base implementation is no-op).

Different objects in ROOT use the Notify method for different purposes, in coordination with other objects that call this method at the appropriate time.

For example, TLeaf uses it to load class information; TBranchRef to load contents of referenced branches TBranchRef; most notably, based on Notify, TChain implements a callback mechanism to inform interested parties when it switches to a new sub-tree.

Reimplemented in h1analysis, h1analysisTreeReader, TARInterruptHandler, TASInputHandler, TASInterruptHandler, TASLogHandler, TASSigPipeHandler, TBlinkTimer, TBranchElement, TBranchRef, TBreakLineCom, TBrowserTimer, TCollection, TDelCharCom, TDelTextCom, TFileHandler, TGContainerKeyboardTimer, TGContainerScrollTimer, TGInputHandler, TGLRedrawTimer, TGTextEditHist, TGuiBldDragManagerRepeatTimer, TIdleTimer, TInsCharCom, TInsTextCom, TInterruptHandler, TLeafObject, TMessageHandler, TNotifyLink< Type >, TNotifyLink< RNoCleanupNotifierHelper >, TNotifyLink< ROOT::Detail::TBranchProxy >, TNotifyLink< TTreeReader >, TPopupDelayTimer, TProcessEventTimer, TRefTable, TRepeatTimer, TSBRepeatTimer, TSelector, TSelectorDraw, TSelectorEntries, TSignalHandler, TSingleShotCleaner, TSocketHandler, TStdExceptionHandler, TSysEvtHandler, TTermInputHandler, TThreadTimer, TTimeOutTimer, TTimer, TTipDelayTimer, TTree, TTreeFormula, TTreeFormulaManager, TTreeReader, TViewTimer, and TViewUpdateTimer.

Definition at line 618 of file TObject.cxx.

◆ Obsolete()

void TObject::Obsolete ( const char * method,
const char * asOfVers,
const char * removedFromVers ) const
inherited

Use this method to declare a method obsolete.

Specify as of which version the method is obsolete and as from which version it will be removed.

Definition at line 1169 of file TObject.cxx.

◆ OpenDisplay()

Int_t TGWin32::OpenDisplay ( const char * dpyName = 0)
overridevirtual

Open the display. Return -1 if the opening fails, 0 when ok.

Reimplemented from TVirtualX.

Definition at line 914 of file TGWin32.cxx.

◆ OpenPixmap()

Int_t TGWin32::OpenPixmap ( UInt_t w,
UInt_t h )
overridevirtual

Open a new pixmap.

w,h : Width and height of the pixmap.

Reimplemented from TVirtualX.

Definition at line 2078 of file TGWin32.cxx.

◆ operator delete() [1/3]

void TObject::operator delete ( void * ptr,
size_t size )
inherited

Operator delete for sized deallocation.

Definition at line 1234 of file TObject.cxx.

◆ operator delete() [2/3]

void TObject::operator delete ( void * ptr)
inherited

Operator delete.

Definition at line 1212 of file TObject.cxx.

◆ operator delete() [3/3]

void TObject::operator delete ( void * ptr,
void * vp )
inherited

Only called by placement new when throwing an exception.

Definition at line 1266 of file TObject.cxx.

◆ operator delete[]() [1/3]

void TObject::operator delete[] ( void * ptr,
size_t size )
inherited

Operator delete [] for sized deallocation.

Definition at line 1245 of file TObject.cxx.

◆ operator delete[]() [2/3]

void TObject::operator delete[] ( void * ptr)
inherited

Operator delete [].

Definition at line 1223 of file TObject.cxx.

◆ operator delete[]() [3/3]

void TObject::operator delete[] ( void * ptr,
void * vp )
inherited

Only called by placement new[] when throwing an exception.

Definition at line 1274 of file TObject.cxx.

◆ operator new() [1/2]

void * TObject::operator new ( size_t sz)
inlineinherited

Definition at line 189 of file TObject.h.

◆ operator new() [2/2]

void * TObject::operator new ( size_t sz,
void * vp )
inlineinherited

Definition at line 191 of file TObject.h.

◆ operator new[]() [1/2]

void * TObject::operator new[] ( size_t sz)
inlineinherited

Definition at line 190 of file TObject.h.

◆ operator new[]() [2/2]

void * TObject::operator new[] ( size_t sz,
void * vp )
inlineinherited

Definition at line 192 of file TObject.h.

◆ Paint()

void TObject::Paint ( Option_t * option = "")
virtualinherited

This method must be overridden if a class wants to paint itself.

The difference between Paint() and Draw() is that when a object draws itself it is added to the display list of the pad in which it is drawn (and automatically redrawn whenever the pad is redrawn). While paint just draws the object without adding it to the pad display list.

Reimplemented in ROOT::Experimental::RTreeMapPainter, ROOT::RGeoPainter, TAnnotation, TArrow, TASImage, TASPaletteEditor::LimitLine, TASPaletteEditor::PaintPalette, TAxis3D, TBits, TBox, TButton, TCanvas, TClassTree, TCollection, TColorWheel, TCrown, TDiamond, TDirectory, TEfficiency, TEllipse, TEveArrow, TEveCaloViz, TEveDigitSet, TEveGeoShape, TEveGeoTopNode, TEvePlot3D, TEvePointSet, TEveProjectionAxes, TEveScene, TEveShape, TEveStraightLineSet, TEveText, TEveTriangleSet, TExec, TF1, TF2, TF3, TFile, TFileDrawMap, TFrame, TGaxis, TGenerator, TGeoBoolNode, TGeoIntersection, TGeoNode, TGeoOverlap, TGeoPainter, TGeoPhysicalNode, TGeoShape, TGeoSubtraction, TGeoTrack, TGeoUnion, TGeoVGShape, TGeoVolume, TGL5DDataSet, TGLHistPainter, TGLParametricEquation, TGLTH3Composition, TGraph2D, TGraph2DPainter, TGraph, TGraphEdge, TGraphNode, TGraphPolargram, TGraphTime, TH1, THistPainter, THStack, TLatex, TLegend, TLine, TMacro, TMarker3DBox, TMarker, TMathText, TMultiGraph, TNode, TNodeDiv, TPad, TPaletteAxis, TParallelCoord, TParallelCoordRange, TParallelCoordVar, TParticle, TPave, TPaveLabel, TPaveStats, TPavesText, TPaveText, TPie, TPolyLine3D, TPolyLine, TPolyMarker3D, TPolyMarker, TPrimary, TRatioPlot, TScatter2D, TScatter, TShape, TSpectrum2Painter, TSpider, TSpline, TSQLFile, TStyle, TText, TTreePerfStats, TVirtualGeoPainter, TVirtualGeoTrack, TVirtualHistPainter, TVirtualPad, TWbox, and TXMLFile.

Definition at line 631 of file TObject.cxx.

◆ ParseColor()

Bool_t TGWin32::ParseColor ( Colormap_t cmap,
const char * cname,
ColorStruct_t & color )
overridevirtual

Parse string cname containing color name, like "green" or "#00FF00".

It returns a filled in ColorStruct_t. Returns kFALSE in case parsing failed, kTRUE in case of success. On success, the ColorStruct_t fRed, fGreen and fBlue fields are all filled in and the mask is set for all three colors, but fPixel is not set.

Reimplemented from TVirtualX.

Definition at line 5687 of file TGWin32.cxx.

◆ PointInRegion()

Bool_t TGWin32::PointInRegion ( Int_t x,
Int_t y,
Region_t reg )
overridevirtual

Returns true if the point x,y is in the region.

Reimplemented from TVirtualX.

Definition at line 7157 of file TGWin32.cxx.

◆ PolygonRegion()

Region_t TGWin32::PolygonRegion ( Point_t * points,
Int_t np,
Bool_t winding )
overridevirtual

Create region for the polygon defined by the points array.

If winding is true use WindingRule else EvenOddRule as fill rule.

Reimplemented from TVirtualX.

Definition at line 7104 of file TGWin32.cxx.

◆ Pop()

void TObject::Pop ( )
virtualinherited

Pop on object drawn in a pad to the top of the display list.

I.e. it will be drawn last and on top of all other primitives.

Reimplemented in TFrame, TPad, and TVirtualPad.

Definition at line 640 of file TObject.cxx.

◆ Print()

◆ PutImage() [1/2]

void TGWin32::PutImage ( Drawable_t id,
GContext_t gc,
Drawable_t img,
Int_t dx,
Int_t dy,
Int_t x,
Int_t y,
UInt_t w,
UInt_t h )
overridevirtual

Combines an image with a rectangle of the specified drawable.

The section of the image defined by the x, y, width, and height arguments is drawn on the specified part of the drawable.

Parameters
[in]idthe drawable
[in]gcthe GC
[in]imgthe image you want combined with the rectangle
[in]dxthe offset in X from the left edge of the image
[in]dythe offset in Y from the top edge of the image
[in]x,ycoordinates, which are relative to the origin of the drawable and are the coordinates of the subimage
[in]w,hthe width and height of the subimage, which define the rectangle dimensions

GC components in use: function, plane-mask, subwindow-mode, clip-x-origin, clip-y-origin, and clip-mask. GC mode-dependent components: foreground and background. (see also the GCValues_t structure)

Reimplemented from TVirtualX.

Definition at line 7266 of file TGWin32.cxx.

◆ PutImage() [2/2]

void TGWin32::PutImage ( Int_t offset,
Int_t itran,
Int_t x0,
Int_t y0,
Int_t nx,
Int_t ny,
Int_t xmin,
Int_t ymin,
Int_t xmax,
Int_t ymax,
UChar_t * image,
Drawable_t id )
private

Draw image.

Definition at line 4383 of file TGWin32.cxx.

◆ PutPixel()

void TGWin32::PutPixel ( Drawable_t id,
Int_t x,
Int_t y,
ULong_t pixel )
overridevirtual

Overwrites the pixel in the image with the specified pixel value.

The image must contain the x and y coordinates.

Parameters
[in]idspecifies the image
[in]x,ycoordinates
[in]pixelthe new pixel value

Reimplemented from TVirtualX.

Definition at line 7236 of file TGWin32.cxx.

◆ QueryColor()

void TGWin32::QueryColor ( Colormap_t cmap,
ColorStruct_t & color )
overridevirtual

Fill in the primary color components for a specific pixel value.

On input fPixel should be set on return the fRed, fGreen and fBlue components will be set.

Reimplemented from TVirtualX.

Definition at line 5727 of file TGWin32.cxx.

◆ QueryColors()

void TGWin32::QueryColors ( GdkColormap * cmap,
GdkColor * colors,
Int_t ncolors )
protected

Returns the current RGB value for the pixel in the XColor structure.

Definition at line 1091 of file TGWin32.cxx.

◆ QueryPointer() [1/2]

void TGWin32::QueryPointer ( Int_t & ix,
Int_t & iy )
overridevirtual

Query pointer position.

ix : X coordinate of pointer iy : Y coordinate of pointer (both coordinates are relative to the origin of the root window)

Reimplemented from TVirtualX.

Definition at line 2194 of file TGWin32.cxx.

◆ QueryPointer() [2/2]

void TGWin32::QueryPointer ( Window_t id,
Window_t & rootw,
Window_t & childw,
Int_t & root_x,
Int_t & root_y,
Int_t & win_x,
Int_t & win_y,
UInt_t & mask )
overridevirtual

Returns the root window the pointer is logically on and the pointer coordinates relative to the root window's origin.

The pointer coordinates returned to win_x and win_y are relative to the origin of the specified window. In this case, QueryPointer returns the child that contains the pointer, if any, or else kNone to childw. QueryPointer returns the current logical state of the keyboard buttons and the modifier keys in mask.

Reimplemented from TVirtualX.

Definition at line 6972 of file TGWin32.cxx.

◆ RaiseWindow()

void TGWin32::RaiseWindow ( Window_t id)
overridevirtual

Put window on top of window stack.

Reimplemented from TVirtualX.

Definition at line 4638 of file TGWin32.cxx.

◆ Read()

Int_t TObject::Read ( const char * name)
virtualinherited

Read contents of object with specified name from the current directory.

First the key with the given name is searched in the current directory, next the key buffer is deserialized into the object. The object must have been created before via the default constructor. See TObject::Write().

Reimplemented in TBuffer, TKey, TKeySQL, and TKeyXML.

Definition at line 673 of file TObject.cxx.

◆ ReadGIF()

Pixmap_t TGWin32::ReadGIF ( Int_t x0,
Int_t y0,
const char * file,
Window_t id = 0 )
overridevirtual

If id is NULL - loads the specified gif file at position [x0,y0] in the current window.

Otherwise creates pixmap from gif file

Reimplemented from TVirtualX.

Definition at line 4465 of file TGWin32.cxx.

◆ ReadPictureDataFromFile()

Bool_t TGWin32::ReadPictureDataFromFile ( const char * filename,
char *** ret_data )
overridevirtual

Read picture data from file and store in ret_data.

Returns kTRUE in case of success, kFALSE otherwise.

Reimplemented from TVirtualX.

Definition at line 5624 of file TGWin32.cxx.

◆ RecursiveRemove()

◆ RemovePixmap()

void TGWin32::RemovePixmap ( GdkDrawable * pix)
private

Remove the pixmap pix.

Definition at line 2208 of file TGWin32.cxx.

◆ RemoveWindow()

void TGWin32::RemoveWindow ( ULongptr_t qwid)
overridevirtual

Remove a window created by Qt.

Reimplemented from TVirtualX.

Definition at line 7439 of file TGWin32.cxx.

◆ ReparentWindow()

void TGWin32::ReparentWindow ( Window_t id,
Window_t pid,
Int_t x,
Int_t y )
overridevirtual

Reparent window, make pid the new parent and position the window at position (x,y) in new parent.

Reimplemented from TVirtualX.

Definition at line 4723 of file TGWin32.cxx.

◆ RequestLocator()

Int_t TGWin32::RequestLocator ( Int_t mode,
Int_t ctyp,
Int_t & x,
Int_t & y )
overridevirtual

Request Locator position.

x,y : cursor position at moment of button press (output) ctyp : cursor type (input) ctyp=1 tracking cross ctyp=2 cross-hair ctyp=3 rubber circle ctyp=4 rubber band ctyp=5 rubber rectangle

mode : input mode mode=0 request mode=1 sample

Request locator: return button number 1 = left is pressed 2 = middle is pressed 3 = right is pressed in sample mode: 11 = left is released 12 = middle is released 13 = right is released -1 = nothing is pressed or released -2 = leave the window else = keycode (keyboard is pressed)

Reimplemented from TVirtualX.

Definition at line 2239 of file TGWin32.cxx.

◆ RequestString()

Int_t TGWin32::RequestString ( Int_t x,
Int_t y,
char * text )
overridevirtual

Request a string.

x,y : position where text is displayed text : text displayed (input), edited text (output)

Request string: text is displayed and can be edited with Emacs-like keybinding return termination code (0 for ESC, 1 for RETURN)

Reimplemented from TVirtualX.

Definition at line 2394 of file TGWin32.cxx.

◆ RescaleWindow()

void TGWin32::RescaleWindow ( Int_t wid,
UInt_t w,
UInt_t h )
overridevirtual

Rescale the window wid.

wid : GdkWindow identifier w : Width h : Heigth

Reimplemented from TVirtualX.

Definition at line 2631 of file TGWin32.cxx.

◆ ResetAttFill()

virtual void TAttFill::ResetAttFill ( Option_t * option = "")
virtualinherited

Reimplemented in TGWin32VirtualXProxy.

◆ ResetAttLine()

virtual void TAttLine::ResetAttLine ( Option_t * option = "")
virtualinherited

Reimplemented in TGWin32VirtualXProxy.

◆ ResetAttMarker()

virtual void TAttMarker::ResetAttMarker ( Option_t * toption = "")
virtualinherited

Reimplemented in TGWin32VirtualXProxy.

◆ ResetAttText()

virtual void TAttText::ResetAttText ( Option_t * toption = "")
virtualinherited

Reimplemented in TGWin32VirtualXProxy.

◆ ResetBit()

void TObject::ResetBit ( UInt_t f)
inlineinherited

Definition at line 203 of file TObject.h.

◆ ResizePixmap()

int TGWin32::ResizePixmap ( Int_t wid,
UInt_t w,
UInt_t h )
overridevirtual

Resize a pixmap.

wid : pixmap to be resized w,h : Width and height of the pixmap

Reimplemented from TVirtualX.

Definition at line 2670 of file TGWin32.cxx.

◆ ResizeWindow() [1/2]

void TGWin32::ResizeWindow ( Int_t wid)
overridevirtual

Resize the current window if necessary.

Reimplemented from TVirtualX.

Definition at line 2716 of file TGWin32.cxx.

◆ ResizeWindow() [2/2]

void TGWin32::ResizeWindow ( Window_t id,
UInt_t w,
UInt_t h )
overridevirtual

Resize the window.

Reimplemented from TVirtualX.

Definition at line 4698 of file TGWin32.cxx.

◆ SaveAs()

void TObject::SaveAs ( const char * filename = "",
Option_t * option = "" ) const
virtualinherited

Save this object in the file specified by filename.

  • if "filename" contains ".root" the object is saved in filename as root binary file.
  • if "filename" contains ".xml" the object is saved in filename as a xml ascii file.
  • if "filename" contains ".cc" the object is saved in filename as C code independent from ROOT. The code is generated via SavePrimitive(). Specific code should be implemented in each object to handle this option. Like in TF1::SavePrimitive().
  • otherwise the object is written to filename as a CINT/C++ script. The C++ code to rebuild this object is generated via SavePrimitive(). The "option" parameter is passed to SavePrimitive. By default it is an empty string. It can be used to specify the Draw option in the code generated by SavePrimitive.

    The function is available via the object context menu.

Reimplemented in ROOT::Experimental::XRooFit::xRooNode, TClassTree, TFolder, TGeoVolume, TGObject, TGraph, TH1, TPad, TPaveClass, TSpline3, TSpline5, TSpline, TTreePerfStats, and TVirtualPad.

Definition at line 708 of file TObject.cxx.

◆ SaveFillAttributes()

virtual void TAttFill::SaveFillAttributes ( std::ostream & out,
const char * name,
Int_t coldef = 1,
Int_t stydef = 1001 )
virtualinherited

◆ SaveLineAttributes()

virtual void TAttLine::SaveLineAttributes ( std::ostream & out,
const char * name,
Int_t coldef = 1,
Int_t stydef = 1,
Int_t widdef = 1 )
virtualinherited

◆ SaveMarkerAttributes()

virtual void TAttMarker::SaveMarkerAttributes ( std::ostream & out,
const char * name,
Int_t coldef = 1,
Int_t stydef = 1,
Int_t sizdef = 1 )
virtualinherited

◆ SavePrimitive()

void TObject::SavePrimitive ( std::ostream & out,
Option_t * option = "" )
virtualinherited

Save a primitive as a C++ statement(s) on output stream "out".

Reimplemented in TAnnotation, TArc, TArrow, TASImage, TAxis3D, TBox, TButton, TCanvas, TChain, TCrown, TCurlyArc, TCurlyLine, TCutG, TDiamond, TEfficiency, TEllipse, TExec, TF12, TF1, TF2, TF3, TFrame, TGaxis, TGButton, TGButtonGroup, TGCanvas, TGCheckButton, TGColorSelect, TGColumnLayout, TGComboBox, TGCompositeFrame, TGContainer, TGDockableFrame, TGDoubleHSlider, TGDoubleVSlider, TGedMarkerSelect, TGedPatternSelect, TGeoArb8, TGeoBBox, TGeoBoolNode, TGeoCombiTrans, TGeoCompositeShape, TGeoCone, TGeoConeSeg, TGeoCtub, TGeoDecayChannel, TGeoElementRN, TGeoEltu, TGeoGtra, TGeoHalfSpace, TGeoHMatrix, TGeoHype, TGeoIdentity, TGeoIntersection, TGeoMaterial, TGeoMedium, TGeoMixture, TGeoPara, TGeoParaboloid, TGeoPatternCylPhi, TGeoPatternCylR, TGeoPatternParaX, TGeoPatternParaY, TGeoPatternParaZ, TGeoPatternSphPhi, TGeoPatternSphR, TGeoPatternSphTheta, TGeoPatternTrapZ, TGeoPatternX, TGeoPatternY, TGeoPatternZ, TGeoPcon, TGeoPgon, TGeoRotation, TGeoScaledShape, TGeoShapeAssembly, TGeoSphere, TGeoSubtraction, TGeoTessellated, TGeoTorus, TGeoTranslation, TGeoTrap, TGeoTrd1, TGeoTrd2, TGeoTube, TGeoTubeSeg, TGeoUnion, TGeoVolume, TGeoXtru, TGFileContainer, TGFont, TGFrame, TGFSComboBox, TGGC, TGGroupFrame, TGHButtonGroup, TGHorizontal3DLine, TGHorizontalFrame, TGHorizontalLayout, TGHProgressBar, TGHScrollBar, TGHSlider, TGHSplitter, TGHtml, TGIcon, TGLabel, TGLayoutHints, TGLineStyleComboBox, TGLineWidthComboBox, TGListBox, TGListDetailsLayout, TGListLayout, TGListTree, TGListView, TGLVContainer, TGMainFrame, TGMatrixLayout, TGMdiFrame, TGMdiMainFrame, TGMdiMenuBar, TGMenuBar, TGMenuTitle, TGNumberEntry, TGNumberEntryField, TGPictureButton, TGPopupMenu, TGProgressBar, TGRadioButton, TGraph2D, TGraph2DAsymmErrors, TGraph2DErrors, TGraph, TGraphAsymmErrors, TGraphBentErrors, TGraphEdge, TGraphErrors, TGraphMultiErrors, TGraphNode, TGraphPolar, TGraphPolargram, TGraphStruct, TGroupButton, TGRowLayout, TGShapedFrame, TGShutter, TGShutterItem, TGSplitFrame, TGStatusBar, TGTab, TGTabLayout, TGTableLayout, TGTableLayoutHints, TGTextButton, TGTextEdit, TGTextEntry, TGTextLBEntry, TGTextView, TGTileLayout, TGToolBar, TGTransientFrame, TGTripleHSlider, TGTripleVSlider, TGVButtonGroup, TGVertical3DLine, TGVerticalFrame, TGVerticalLayout, TGVFileSplitter, TGVProgressBar, TGVScrollBar, TGVSlider, TGVSplitter, TGXYLayout, TGXYLayoutHints, TH1, TH2Poly, THelix, THStack, TLatex, TLegend, TLine, TMacro, TMarker3DBox, TMarker, TMathText, TMultiGraph, TPad, TPaletteAxis, TParallelCoord, TParallelCoordVar, TPave, TPaveClass, TPaveLabel, TPaveStats, TPavesText, TPaveText, TPie, TPieSlice, TPolyLine3D, TPolyLine, TPolyMarker3D, TPolyMarker, TProfile2D, TProfile3D, TProfile, TRootContainer, TRootEmbeddedCanvas, TScatter2D, TScatter, TSlider, TSliderBox, TSpline3, TSpline5, TStyle, TText, TTreePerfStats, and TWbox.

Definition at line 858 of file TObject.cxx.

◆ SavePrimitiveConstructor()

void TObject::SavePrimitiveConstructor ( std::ostream & out,
TClass * cl,
const char * variable_name,
const char * constructor_agrs = "",
Bool_t empty_line = kTRUE )
staticprotectedinherited

Save object constructor in the output stream "out".

Can be used as first statement when implementing SavePrimitive() method for the object

Definition at line 777 of file TObject.cxx.

◆ SavePrimitiveDraw()

void TObject::SavePrimitiveDraw ( std::ostream & out,
const char * variable_name,
Option_t * option = nullptr )
staticprotectedinherited

Save invocation of primitive Draw() method Skipped if option contains "nodraw" string.

Definition at line 845 of file TObject.cxx.

◆ SavePrimitiveNameTitle()

void TNamed::SavePrimitiveNameTitle ( std::ostream & out,
const char * variable_name )
protectedinherited

Save object name and title into the output stream "out".

Definition at line 135 of file TNamed.cxx.

◆ SavePrimitiveVector()

TString TObject::SavePrimitiveVector ( std::ostream & out,
const char * prefix,
Int_t len,
Double_t * arr,
Int_t flag = 0 )
staticprotectedinherited

Save array in the output stream "out" as vector.

Create unique variable name based on prefix value Returns name of vector which can be used in constructor or in other places of C++ code If flag === kTRUE, just add empty line If flag === 111, check if array is empty and return nullptr or <vectorname>.data()

Definition at line 796 of file TObject.cxx.

◆ SaveTextAttributes()

virtual void TAttText::SaveTextAttributes ( std::ostream & out,
const char * name,
Int_t alidef = 12,
Float_t angdef = 0,
Int_t coldef = 1,
Int_t fondef = 61,
Float_t sizdef = 1 )
virtualinherited

◆ ScreenWidthMM()

UInt_t TGWin32::ScreenWidthMM ( ) const
overridevirtual

Returns the width of the screen in millimeters.

Reimplemented from TVirtualX.

Definition at line 7468 of file TGWin32.cxx.

◆ SelectInput()

void TGWin32::SelectInput ( Window_t id,
UInt_t evmask )
overridevirtual

Defines which input events the window is interested in.

By default events are propageted up the window stack. This mask can also be set at window creation time via the SetWindowAttributes_t::fEventMask attribute.

Reimplemented from TVirtualX.

Definition at line 6741 of file TGWin32.cxx.

◆ SelectPixmap()

void TVirtualX::SelectPixmap ( Int_t qpixid)
virtualinherited

Selects the pixmap "qpixid".

Reimplemented in TGCocoa.

Definition at line 911 of file TVirtualX.cxx.

◆ SelectWindow()

void TGWin32::SelectWindow ( Int_t wid)
overridevirtual

Select window to which subsequent output is directed.

Reimplemented from TVirtualX.

Definition at line 2762 of file TGWin32.cxx.

◆ SendEvent()

void TGWin32::SendEvent ( Window_t id,
Event_t * ev )
overridevirtual

Send event ev to window id.

Reimplemented from TVirtualX.

Definition at line 5789 of file TGWin32.cxx.

◆ SetAttFill()

void TGWin32::SetAttFill ( WinContext_t wctxt,
const TAttFill & att )
overridevirtual

Set fill attributes for specified window.

Reimplemented from TVirtualX.

Definition at line 3079 of file TGWin32.cxx.

◆ SetAttLine()

void TGWin32::SetAttLine ( WinContext_t wctxt,
const TAttLine & att )
overridevirtual

Set line attributes for specified window.

Reimplemented from TVirtualX.

Definition at line 3220 of file TGWin32.cxx.

◆ SetAttMarker()

void TGWin32::SetAttMarker ( WinContext_t wctxt,
const TAttMarker & att )
overridevirtual

Set marker attributes for speicfied window.

Reimplemented from TVirtualX.

Definition at line 3328 of file TGWin32.cxx.

◆ SetAttText()

void TGWin32::SetAttText ( WinContext_t wctxt,
const TAttText & att )
overridevirtual

Set text attributes for speicfied window.

Reimplemented from TVirtualX.

Definition at line 3917 of file TGWin32.cxx.

◆ SetBit() [1/2]

void TObject::SetBit ( UInt_t f)
inlineinherited

Definition at line 202 of file TObject.h.

◆ SetBit() [2/2]

void TObject::SetBit ( UInt_t f,
Bool_t set )
inherited

Set or unset the user status bits as specified in f.

Definition at line 888 of file TObject.cxx.

◆ SetCharacterUp()

void TGWin32::SetCharacterUp ( Float_t chupx,
Float_t chupy )
overridevirtual

Set character up vector.

Reimplemented from TVirtualX.

Definition at line 2788 of file TGWin32.cxx.

◆ SetClassHints()

void TGWin32::SetClassHints ( Window_t id,
char * className,
char * resourceName )
overridevirtual

Set the windows class and resource name.

Reimplemented from TVirtualX.

Definition at line 6485 of file TGWin32.cxx.

◆ SetClipOFF()

void TGWin32::SetClipOFF ( Int_t wid)
overridevirtual

Turn off the clipping for the window wid.

Reimplemented from TVirtualX.

Definition at line 2817 of file TGWin32.cxx.

◆ SetClipRectangles()

void TGWin32::SetClipRectangles ( GContext_t gc,
Int_t x,
Int_t y,
Rectangle_t * recs,
Int_t n )
overridevirtual

Set clipping rectangles in graphics context.

X, Y specify the origin of the rectangles. Recs specifies an array of rectangles that define the clipping mask and n is the number of rectangles.

Reimplemented from TVirtualX.

Definition at line 7042 of file TGWin32.cxx.

◆ SetClipRegion()

void TGWin32::SetClipRegion ( Int_t wid,
Int_t x,
Int_t y,
UInt_t w,
UInt_t h )
overridevirtual

Set clipping region for the window wid.

wid : GdkWindow indentifier x,y : origin of clipping rectangle w,h : size of clipping rectangle;

Reimplemented from TVirtualX.

Definition at line 2834 of file TGWin32.cxx.

◆ SetColor()

void TGWin32::SetColor ( XWindow_t * ctxt,
GdkGC * gc,
Int_t ci )
private

Set the foreground color in GdkGC.

Definition at line 2873 of file TGWin32.cxx.

◆ SetCursor() [1/2]

void TGWin32::SetCursor ( Int_t wid,
ECursor cursor )
overridevirtual

Set the cursor.

Reimplemented from TVirtualX.

Definition at line 2915 of file TGWin32.cxx.

◆ SetCursor() [2/2]

void TGWin32::SetCursor ( Window_t id,
Cursor_t curid )
overridevirtual

Set the specified cursor.

Reimplemented from TVirtualX.

Definition at line 2926 of file TGWin32.cxx.

◆ SetDashes()

void TGWin32::SetDashes ( GContext_t gc,
Int_t offset,
const char * dash_list,
Int_t n )
overridevirtual

Specify a dash pattertn.

Offset defines the phase of the pattern. Each element in the dash_list array specifies the length (in pixels) of a segment of the pattern. N defines the length of the list.

Reimplemented from TVirtualX.

Definition at line 5654 of file TGWin32.cxx.

◆ SetDNDAware()

void TGWin32::SetDNDAware ( Window_t win,
Atom_t * typelist )
overridevirtual

Add XdndAware property and the list of drag and drop types to the Window win.

Reimplemented from TVirtualX.

Definition at line 7707 of file TGWin32.cxx.

◆ SetDoubleBuffer()

void TGWin32::SetDoubleBuffer ( Int_t wid,
Int_t mode )
overridevirtual

Set the double buffer on/off on window wid.

wid : GdkWindow identifier. 999 means all the opened windows. mode : 1 double buffer is on 0 double buffer is off

Reimplemented from TVirtualX.

Definition at line 2947 of file TGWin32.cxx.

◆ SetDoubleBufferOFF()

void TGWin32::SetDoubleBufferOFF ( )
overridevirtual

Turn double buffer mode off.

Reimplemented from TVirtualX.

Definition at line 2983 of file TGWin32.cxx.

◆ SetDoubleBufferON()

void TGWin32::SetDoubleBufferON ( )
overridevirtual

Turn double buffer mode on.

Reimplemented from TVirtualX.

Definition at line 2993 of file TGWin32.cxx.

◆ SetDrawMode()

void TGWin32::SetDrawMode ( EDrawMode mode)
overridevirtual

Set the drawing mode.

mode : drawing mode mode=1 copy mode=2 xor mode=3 invert mode=4 set the suitable mode for cursor echo according to the vendor

Reimplemented from TVirtualX.

Definition at line 3021 of file TGWin32.cxx.

◆ SetDrawModeW()

void TGWin32::SetDrawModeW ( WinContext_t wctxt,
EDrawMode mode )
overridevirtual

Set window draw mode.

Reimplemented from TVirtualX.

Definition at line 7748 of file TGWin32.cxx.

◆ SetDrawOption()

void TObject::SetDrawOption ( Option_t * option = "")
virtualinherited

Set drawing option for object.

This option only affects the drawing style and is stored in the option field of the TObjOptLink supporting a TPad's primitive list (TList). Note that it does not make sense to call object.SetDrawOption(option) before having called object.Draw().

Reimplemented in RooPlot, TAxis, TBrowser, TGedFrame, TGFrame, TPad, TPaveStats, TRootBrowserLite, TSystemDirectory, and TSystemFile.

Definition at line 871 of file TObject.cxx.

◆ SetDtorOnly()

void TObject::SetDtorOnly ( void * obj)
staticinherited

Set destructor only flag.

Definition at line 1204 of file TObject.cxx.

◆ SetFillAttributes()

virtual void TAttFill::SetFillAttributes ( )
virtualinherited

Reimplemented in TGWin32VirtualXProxy.

◆ SetFillColor() [1/2]

void TAttFill::SetFillColor ( TColorNumber )
inherited

◆ SetFillColor() [2/2]

void TGWin32::SetFillColor ( Color_t cindex)
overridevirtual

Set color index for fill areas.

Reimplemented from TAttFill.

Definition at line 3029 of file TGWin32.cxx.

◆ SetFillColorAlpha()

virtual void TAttFill::SetFillColorAlpha ( Color_t fcolor,
Float_t falpha )
virtualinherited

Reimplemented in TGraphMultiErrors.

◆ SetFillStyle()

void TGWin32::SetFillStyle ( Style_t fstyle)
overridevirtual

Set fill area style.

fstyle : compound fill area interior style fstyle = 1000*interiorstyle + styleindex

Reimplemented from TAttFill.

Definition at line 3056 of file TGWin32.cxx.

◆ SetForeground()

void TGWin32::SetForeground ( GContext_t gc,
ULong_t foreground )
overridevirtual

Set foreground color in graphics context (shortcut for ChangeGC with only foreground mask set).

Reimplemented from TVirtualX.

Definition at line 7027 of file TGWin32.cxx.

◆ SetIconName()

void TGWin32::SetIconName ( Window_t id,
char * name )
overridevirtual

Set window icon name.

Reimplemented from TVirtualX.

Definition at line 6463 of file TGWin32.cxx.

◆ SetIconPixmap()

void TGWin32::SetIconPixmap ( Window_t id,
Pixmap_t pic )
overridevirtual

Set pixmap the WM can use when the window is iconized.

Reimplemented from TVirtualX.

Definition at line 6473 of file TGWin32.cxx.

◆ SetInput()

void TGWin32::SetInput ( Int_t inp)
private

Set input on or off.

Definition at line 3135 of file TGWin32.cxx.

◆ SetInputFocus()

void TGWin32::SetInputFocus ( Window_t id)
overridevirtual

Set keyboard input focus to window id.

Reimplemented from TVirtualX.

Definition at line 6762 of file TGWin32.cxx.

◆ SetKeyAutoRepeat()

void TGWin32::SetKeyAutoRepeat ( Bool_t on = kTRUE)
overridevirtual

Turn key auto repeat on or off.

Reimplemented from TVirtualX.

Definition at line 6374 of file TGWin32.cxx.

◆ SetLineAttributes()

virtual void TAttLine::SetLineAttributes ( )
virtualinherited

Reimplemented in TGWin32VirtualXProxy.

◆ SetLineColor() [1/2]

void TAttLine::SetLineColor ( TColorNumber lcolor)
inherited

◆ SetLineColor() [2/2]

void TGWin32::SetLineColor ( Color_t cindex)
overridevirtual

Set color index for lines.

Reimplemented from TAttLine.

Definition at line 3143 of file TGWin32.cxx.

◆ SetLineColorAlpha()

virtual void TAttLine::SetLineColorAlpha ( Color_t lcolor,
Float_t lalpha )
virtualinherited

Reimplemented in TGraphMultiErrors.

◆ SetLineStyle()

void TGWin32::SetLineStyle ( Style_t linestyle)
overridevirtual

Set line style.

Reimplemented from TAttLine.

Definition at line 3173 of file TGWin32.cxx.

◆ SetLineType()

void TGWin32::SetLineType ( Int_t n,
Int_t * dash )
overridevirtual

Set line type.

n : length of dash list dash(n) : dash segment lengths

if n <= 0 use solid lines if n > 0 use dashed lines described by DASH(N) e.g. N=4,DASH=(6,3,1,3) gives a dashed-dotted line with dash length 6 and a gap of 7 between dashes

Reimplemented from TVirtualX.

Definition at line 3165 of file TGWin32.cxx.

◆ SetLineWidth()

void TGWin32::SetLineWidth ( Width_t width)
overridevirtual

Set line width.

width : line width in pixels

Reimplemented from TAttLine.

Definition at line 3197 of file TGWin32.cxx.

◆ SetMarkerAttributes()

virtual void TAttMarker::SetMarkerAttributes ( )
virtualinherited

Reimplemented in TGWin32VirtualXProxy.

◆ SetMarkerColor() [1/2]

void TAttMarker::SetMarkerColor ( TColorNumber lcolor)
inherited

◆ SetMarkerColor() [2/2]

void TGWin32::SetMarkerColor ( Color_t cindex)
overridevirtual

Set color index for markers.

Reimplemented from TAttMarker.

Definition at line 3280 of file TGWin32.cxx.

◆ SetMarkerColorAlpha()

virtual void TAttMarker::SetMarkerColorAlpha ( Color_t mcolor,
Float_t malpha )
virtualinherited

◆ SetMarkerSize()

void TGWin32::SetMarkerSize ( Float_t msize)
overridevirtual

Set marker size index.

msize : marker scale factor

Reimplemented from TAttMarker.

Definition at line 3296 of file TGWin32.cxx.

◆ SetMarkerStyle()

void TGWin32::SetMarkerStyle ( Style_t markerstyle)
overridevirtual

Set marker style.

Reimplemented from TAttMarker.

Definition at line 3312 of file TGWin32.cxx.

◆ SetMWMHints()

void TGWin32::SetMWMHints ( Window_t id,
UInt_t value,
UInt_t funcs,
UInt_t input )
overridevirtual

Set decoration style for MWM-compatible wm (mwm, ncdwm, fvwm?).

Reimplemented from TVirtualX.

Definition at line 6524 of file TGWin32.cxx.

◆ SetName()

void TNamed::SetName ( const char * name)
virtualinherited

Set the name of the TNamed.

WARNING: if the object is a member of a THashTable or THashList container the container must be Rehash()'ed after SetName(). For example the list of objects in the current directory is a THashList.

Reimplemented in RooAbsArg, RooAbsData, RooDataHist, RooDataSet, RooFitResult, RooPlot, ROOT::Experimental::XRooFit::xRooNode, TChain, TColor, TDirectory, TEfficiency, TEventList, TEveScene, TFormula, TGraph2D, TGraph, TH1, TNode, TRotMatrix, TShape, TSystemDirectory, TSystemFile, and TTree.

Definition at line 149 of file TNamed.cxx.

◆ SetNameTitle()

void TNamed::SetNameTitle ( const char * name,
const char * title )
virtualinherited

Set all the TNamed parameters (name and title).

WARNING: if the name is changed and the object is a member of a THashTable or THashList container the container must be Rehash()'ed after SetName(). For example the list of objects in the current directory is a THashList.

Reimplemented in RooAbsArg, RooAbsData, RooDataHist, RooDataSet, RooFitResult, RooPlot, TContextMenu, TGraph2D, TGraph, TH1, and TNode.

Definition at line 163 of file TNamed.cxx.

◆ SetObjectStat()

void TObject::SetObjectStat ( Bool_t stat)
staticinherited

Turn on/off tracking of objects in the TObjectTable.

Definition at line 1188 of file TObject.cxx.

◆ SetOpacity()

void TGWin32::SetOpacity ( Int_t percent)
overridevirtual

Set opacity of a current window.

This image manipulation routine works by adding to a percent amount of neutral to each pixels RGB. Since it requires quite some additional color map entries is it only supported on displays with more than > 8 color planes (> 256 colors)

Reimplemented from TVirtualX.

Definition at line 3990 of file TGWin32.cxx.

◆ SetOpacityW()

void TGWin32::SetOpacityW ( WinContext_t wctxt,
Int_t percent )
overridevirtual

Set opacity of a specified window.

This image manipulation routine works by adding to a percent amount of neutral to each pixels RGB. Since it requires quite some additional color map entries is it only supported on displays with more than > 8 color planes (> 256 colors)

Reimplemented from TVirtualX.

Definition at line 4109 of file TGWin32.cxx.

◆ SetPrimarySelectionOwner()

void TGWin32::SetPrimarySelectionOwner ( Window_t id)
overridevirtual

Makes the window id the current owner of the primary selection.

That is the window in which, for example some text is selected.

Reimplemented from TVirtualX.

Definition at line 6783 of file TGWin32.cxx.

◆ SetRGB()

void TGWin32::SetRGB ( Int_t cindex,
Float_t r,
Float_t g,
Float_t b )
overridevirtual

Set color intensities for given color index.

cindex : color index r,g,b : red, green, blue intensities between 0.0 and 1.0

Reimplemented from TVirtualX.

Definition at line 4000 of file TGWin32.cxx.

◆ SetSelectionOwner()

Bool_t TGWin32::SetSelectionOwner ( Window_t owner,
Atom_t & sel )
overridevirtual

Assigns owner of Clipboard.

Reimplemented from TVirtualX.

Definition at line 7577 of file TGWin32.cxx.

◆ SetTextAlign()

void TGWin32::SetTextAlign ( Short_t talign = 11)
overridevirtual

Set text alignment.

txalh : horizontal text alignment txalv : vertical text alignment

Reimplemented from TAttText.

Definition at line 4037 of file TGWin32.cxx.

◆ SetTextAngle()

virtual void TAttText::SetTextAngle ( Float_t tangle = 0)
inlinevirtualinherited

Set the text angle.

Reimplemented in TGraphNode, and TGWin32VirtualXProxy.

Definition at line 49 of file TAttText.h.

◆ SetTextAttributes()

virtual void TAttText::SetTextAttributes ( )
virtualinherited

Reimplemented in TGWin32VirtualXProxy.

◆ SetTextColor() [1/2]

void TAttText::SetTextColor ( TColorNumber lcolor)
inherited

◆ SetTextColor() [2/2]

void TGWin32::SetTextColor ( Color_t cindex)
overridevirtual

Set color index for text.

Reimplemented from TAttText.

Definition at line 4050 of file TGWin32.cxx.

◆ SetTextColorAlpha()

virtual void TAttText::SetTextColorAlpha ( Color_t tcolor,
Float_t talpha )
virtualinherited

◆ SetTextFont() [1/2]

Int_t TGWin32::SetTextFont ( char * fontname,
ETextSetMode mode )
overridevirtual

Set text font to specified name.

mode : loading flag mode=0 : search if the font exist (kCheck) mode=1 : search the font and load it if it exists (kLoad) font : font name

Set text font to specified name. This function returns 0 if the specified font is found, 1 if not.

Reimplemented from TVirtualX.

Definition at line 1441 of file TGWin32.cxx.

◆ SetTextFont() [2/2]

void TGWin32::SetTextFont ( Font_t fontnumber)
overridevirtual

Set specified font.

Reimplemented from TAttText.

Definition at line 1421 of file TGWin32.cxx.

◆ SetTextMagnitude()

void TGWin32::SetTextMagnitude ( Float_t mgn = 1)
inlineoverridevirtual

Sets the current text magnification factor to "mgn".

Reimplemented from TVirtualX.

Definition at line 196 of file TGWin32.h.

◆ SetTextSize()

void TGWin32::SetTextSize ( Float_t textsize)
overridevirtual

Set current text size.

Reimplemented from TAttText.

Definition at line 1450 of file TGWin32.cxx.

◆ SetTextSizePixels()

virtual void TAttText::SetTextSizePixels ( Int_t npixels)
virtualinherited

Set the text size in pixel.

Reimplemented in TGWin32VirtualXProxy.

◆ SetTitle()

void TNamed::SetTitle ( const char * title = "")
virtualinherited

◆ SetTypeList()

void TGWin32::SetTypeList ( Window_t win,
Atom_t prop,
Atom_t * typelist )
overridevirtual

Add the list of drag and drop types to the Window win.

Reimplemented from TVirtualX.

Definition at line 7619 of file TGWin32.cxx.

◆ SetUniqueID()

void TObject::SetUniqueID ( UInt_t uid)
virtualinherited

Set the unique object id.

Definition at line 899 of file TObject.cxx.

◆ SetUserThreadId()

void TGWin32::SetUserThreadId ( ULong_t id)

Set user thread id.

This is used when an extra thread is created to process events.

Definition at line 7735 of file TGWin32.cxx.

◆ SetWindowBackground()

void TGWin32::SetWindowBackground ( Window_t id,
ULong_t color )
overridevirtual

Set the window background color.

Reimplemented from TVirtualX.

Definition at line 4733 of file TGWin32.cxx.

◆ SetWindowBackgroundPixmap()

void TGWin32::SetWindowBackgroundPixmap ( Window_t id,
Pixmap_t pxm )
overridevirtual

Set pixmap as window background.

Reimplemented from TVirtualX.

Definition at line 4749 of file TGWin32.cxx.

◆ SetWindowName()

void TGWin32::SetWindowName ( Window_t id,
char * name )
overridevirtual

Set window name.

Reimplemented from TVirtualX.

Definition at line 6453 of file TGWin32.cxx.

◆ SetWMPosition()

void TGWin32::SetWMPosition ( Window_t id,
Int_t x,
Int_t y )
overridevirtual

Tells the window manager the desired position [x,y] of window "id".

Reimplemented from TVirtualX.

Definition at line 6536 of file TGWin32.cxx.

◆ SetWMSize()

void TGWin32::SetWMSize ( Window_t id,
UInt_t w,
UInt_t h )
overridevirtual

Tells window manager the desired size of window "id".

Parameters
[in]idwindow identifier
[in]wthe width
[in]hthe height

Reimplemented from TVirtualX.

Definition at line 6550 of file TGWin32.cxx.

◆ SetWMSizeHints()

void TGWin32::SetWMSizeHints ( Window_t id,
UInt_t wmin,
UInt_t hmin,
UInt_t wmax,
UInt_t hmax,
UInt_t winc,
UInt_t hinc )
overridevirtual

Give the window manager minimum and maximum size hints.

Also specify via winc and hinc the resize increments.

Reimplemented from TVirtualX.

Definition at line 6561 of file TGWin32.cxx.

◆ SetWMState()

void TGWin32::SetWMState ( Window_t id,
EInitialState state )
overridevirtual

Set the initial state of the window. Either kNormalState or kIconicState.

Reimplemented from TVirtualX.

Definition at line 6586 of file TGWin32.cxx.

◆ SetWMTransientHint()

void TGWin32::SetWMTransientHint ( Window_t id,
Window_t main_id )
overridevirtual

Tell window manager that window is a transient window of gdk_parent_root.

Reimplemented from TVirtualX.

Definition at line 6609 of file TGWin32.cxx.

◆ ShapeCombineMask()

void TGWin32::ShapeCombineMask ( Window_t id,
Int_t x,
Int_t y,
Pixmap_t mask )
overridevirtual

The Nonrectangular Window Shape Extension adds nonrectangular windows to the System.

This allows for making shaped (partially transparent) windows

Reimplemented from TVirtualX.

Definition at line 7460 of file TGWin32.cxx.

◆ Sizeof()

Int_t TNamed::Sizeof ( ) const
virtualinherited

Return size of the TNamed part of the TObject.

Reimplemented in TDirectory, TDirectoryFile, TFile, TKey, TSQLFile, and TXMLFile.

Definition at line 182 of file TNamed.cxx.

◆ Streamer()

void TGWin32::Streamer ( TBuffer & R__b)
overridevirtual

Stream an object of class TObject.

Reimplemented from TObject.

◆ StreamerNVirtual()

void TGWin32::StreamerNVirtual ( TBuffer & ClassDef_StreamerNVirtual_b)
inline

Definition at line 405 of file TGWin32.h.

◆ SubtractRegion()

void TGWin32::SubtractRegion ( Region_t rega,
Region_t regb,
Region_t result )
overridevirtual

Subtract rega from regb.

Reimplemented from TVirtualX.

Definition at line 7132 of file TGWin32.cxx.

◆ SupportsExtension()

Int_t TVirtualX::SupportsExtension ( const char * ext) const
virtualinherited

Returns 1 if window system server supports extension given by the argument, returns 0 in case extension is not supported and returns -1 in case of error (like server not initialized).

Reimplemented in TGCocoa, and TGX11.

Definition at line 2708 of file TVirtualX.cxx.

◆ Sync()

void TGWin32::Sync ( Int_t mode)
overridevirtual

Set synchronisation on or off.

Parameters
[in]modesynchronisation on/off
  • mode=1 on
  • mode<>0 off

Reimplemented from TVirtualX.

Definition at line 4064 of file TGWin32.cxx.

◆ SysError()

void TObject::SysError ( const char * location,
const char * fmt,
... ) const
virtualinherited

Issue system error message.

Use "location" to specify the method where the system error occurred. Accepts standard printf formatting arguments.

Definition at line 1112 of file TObject.cxx.

◆ TestBit()

Bool_t TObject::TestBit ( UInt_t f) const
inlineinherited

Definition at line 204 of file TObject.h.

◆ TestBits()

Int_t TObject::TestBits ( UInt_t f) const
inlineinherited

Definition at line 205 of file TObject.h.

◆ TextWidth()

Int_t TGWin32::TextWidth ( FontStruct_t font,
const char * s,
Int_t len )
overridevirtual

Return length of string in pixels. Size depends on font.

Reimplemented from TVirtualX.

Definition at line 6633 of file TGWin32.cxx.

◆ TranslateCoordinates()

void TGWin32::TranslateCoordinates ( Window_t src,
Window_t dest,
Int_t src_x,
Int_t src_y,
Int_t & dest_x,
Int_t & dest_y,
Window_t & child )
overridevirtual

TranslateCoordinates translates coordinates from the frame of reference of one window to another.

If the point is contained in a mapped child of the destination, the id of that child is returned as well.

Reimplemented from TVirtualX.

Definition at line 6900 of file TGWin32.cxx.

◆ UnionRectWithRegion()

void TGWin32::UnionRectWithRegion ( Rectangle_t * rect,
Region_t src,
Region_t dest )
overridevirtual

Union of rectangle with a region.

Reimplemented from TVirtualX.

Definition at line 7090 of file TGWin32.cxx.

◆ UnionRegion()

void TGWin32::UnionRegion ( Region_t rega,
Region_t regb,
Region_t result )
overridevirtual

Compute the union of rega and regb and return result region.

The output region may be the same result region.

Reimplemented from TVirtualX.

Definition at line 7114 of file TGWin32.cxx.

◆ Unlock()

void TGWin32::Unlock ( )
static

Definition at line 889 of file TGWin32.cxx.

◆ UnmapWindow()

void TGWin32::UnmapWindow ( Window_t id)
overridevirtual

Unmap window from screen.

Reimplemented from TVirtualX.

Definition at line 4605 of file TGWin32.cxx.

◆ Update()

void TGWin32::Update ( Int_t mode = 0)
overridevirtual

Flush (mode = 0, default) or synchronize (mode = 1) X output buffer.

Flush flushes output buffer. Sync flushes buffer and waits till all requests have been processed by X server.

Reimplemented from TVirtualX.

Definition at line 7066 of file TGWin32.cxx.

◆ UpdateWindow()

void TGWin32::UpdateWindow ( Int_t mode)
overridevirtual

Update display.

mode : (1) update (0) sync

Synchronise client and server once (not permanent). Copy the pixmap gCws->drawing on the window gCws->window if the double buffer is on.

Reimplemented from TVirtualX.

Definition at line 4077 of file TGWin32.cxx.

◆ UpdateWindowW()

void TGWin32::UpdateWindowW ( WinContext_t wctxt,
Int_t mode )
overridevirtual

Update current window mode : (1) update (0) sync.

Synchronise client and server once (not permanent). Copy the pixmap ctxt->drawing on the window ctxt->window if the double buffer is on.

Reimplemented from TVirtualX.

Definition at line 4091 of file TGWin32.cxx.

◆ UseCurrentStyle()

void TObject::UseCurrentStyle ( )
virtualinherited

Set current style settings in this object This function is called when either TCanvas::UseCurrentStyle or TROOT::ForceStyle have been invoked.

Reimplemented in TAxis3D, TCanvas, TFrame, TGraph, TH1, TPad, TPaveStats, TPaveText, and TTree.

Definition at line 909 of file TObject.cxx.

◆ Warning()

void TObject::Warning ( const char * location,
const char * fmt,
... ) const
virtualinherited

Issue warning message.

Use "location" to specify the method where the warning occurred. Accepts standard printf formatting arguments.

Definition at line 1084 of file TObject.cxx.

◆ Warp()

void TGWin32::Warp ( Int_t ix,
Int_t iy,
Window_t id = 0 )
overridevirtual

Set pointer position.

ix : New X coordinate of pointer iy : New Y coordinate of pointer Coordinates are relative to the origin of the window id or to the origin of the current window if id == 0.

Reimplemented from TVirtualX.

Definition at line 4223 of file TGWin32.cxx.

◆ WMDeleteNotify()

void TGWin32::WMDeleteNotify ( Window_t id)
overridevirtual

Tell WM to send message when window is closed via WM.

Reimplemented from TVirtualX.

Definition at line 6359 of file TGWin32.cxx.

◆ Write() [1/2]

Int_t TObject::Write ( const char * name = nullptr,
Int_t option = 0,
Int_t bufsize = 0 )
virtualinherited

Write this object to the current directory.

For more see the const version of this method.

Reimplemented in ROOT::TBufferMergerFile, TBuffer, TCollection, TDirectory, TDirectoryFile, TFile, TMap, TParallelMergingFile, TSQLFile, TTree, and TXMLFile.

Definition at line 989 of file TObject.cxx.

◆ Write() [2/2]

Int_t TObject::Write ( const char * name = nullptr,
Int_t option = 0,
Int_t bufsize = 0 ) const
virtualinherited

Write this object to the current directory.

The data structure corresponding to this object is serialized. The corresponding buffer is written to the current directory with an associated key with name "name".

Writing an object to a file involves the following steps:

  • Creation of a support TKey object in the current directory. The TKey object creates a TBuffer object.
  • The TBuffer object is filled via the class::Streamer function.
  • If the file is compressed (default) a second buffer is created to hold the compressed buffer.
  • Reservation of the corresponding space in the file by looking in the TFree list of free blocks of the file.
  • The buffer is written to the file.

Bufsize can be given to force a given buffer size to write this object. By default, the buffersize will be taken from the average buffer size of all objects written to the current file so far.

If a name is specified, it will be the name of the key. If name is not given, the name of the key will be the name as returned by GetName().

The option can be a combination of: kSingleKey, kOverwrite or kWriteDelete Using the kOverwrite option a previous key with the same name is overwritten. The previous key is deleted before writing the new object. Using the kWriteDelete option a previous key with the same name is deleted only after the new object has been written. This option is safer than kOverwrite but it is slower. NOTE: Neither kOverwrite nor kWriteDelete reduces the size of a TFile– the space is simply freed up to be overwritten; in the case of a TTree, it is more complicated. If one opens a TTree, appends some entries, then writes it out, the behaviour is effectively the same. If, however, one creates a new TTree and writes it out in this way, only the metadata is replaced, effectively making the old data invisible without deleting it. TTree::Delete() can be used to mark all disk space occupied by a TTree as free before overwriting its metadata this way. The kSingleKey option is only used by TCollection::Write() to write a container with a single key instead of each object in the container with its own key.

An object is read from the file into memory via TKey::Read() or via TObject::Read().

The function returns the total number of bytes written to the file. It returns 0 if the object cannot be written.

Reimplemented in TBuffer, TCollection, TDirectory, TDirectoryFile, TFile, TMap, TParallelMergingFile, TSQLFile, TTree, and TXMLFile.

Definition at line 964 of file TObject.cxx.

◆ WriteGIF()

Int_t TGWin32::WriteGIF ( char * name)
overridevirtual

Writes the current window into GIF file.

Reimplemented from TVirtualX.

Definition at line 4287 of file TGWin32.cxx.

◆ WriteGIFW()

Int_t TGWin32::WriteGIFW ( WinContext_t wctxt,
const char * name )
overridevirtual

Writes the specified window into GIF file.

Reimplemented from TVirtualX.

Definition at line 4295 of file TGWin32.cxx.

◆ WritePixmap()

void TGWin32::WritePixmap ( Int_t wid,
UInt_t w,
UInt_t h,
char * pxname )
overridevirtual

Write the pixmap wid in the bitmap file pxname.

wid : Pixmap address w,h : Width and height of the pixmap. lenname : pixmap name length pxname : pixmap name

Reimplemented from TVirtualX.

Definition at line 4247 of file TGWin32.cxx.

◆ XorRegion()

void TGWin32::XorRegion ( Region_t rega,
Region_t regb,
Region_t result )
overridevirtual

Calculate the difference between the union and intersection of two regions.

Reimplemented from TVirtualX.

Definition at line 7141 of file TGWin32.cxx.

Member Data Documentation

◆ fBits

UInt_t TObject::fBits
privateinherited

bit field status word

Definition at line 47 of file TObject.h.

◆ fBlueDiv

Int_t TGWin32::fBlueDiv
protected

Blue value divider.

Definition at line 112 of file TGWin32.h.

◆ fBlueShift

Int_t TGWin32::fBlueShift
protected

Bits to left shift blue.

Definition at line 115 of file TGWin32.h.

◆ fCharacterUpX

Float_t TGWin32::fCharacterUpX
protected

Character Up vector along X.

Definition at line 106 of file TGWin32.h.

◆ fCharacterUpY

Float_t TGWin32::fCharacterUpY
protected

Character Up vector along Y.

Definition at line 107 of file TGWin32.h.

◆ fColormap

GdkColormap* TGWin32::fColormap
protected

Default colormap, 0 if b/w.

Definition at line 102 of file TGWin32.h.

◆ fColors

TExMap* TGWin32::fColors
private

Hash list of colors.

Definition at line 78 of file TGWin32.h.

◆ fCursors

GdkCursor* TGWin32::fCursors[kNumCursors]
private

List of cursors.

Definition at line 79 of file TGWin32.h.

◆ fDepth

Int_t TGWin32::fDepth
protected

Number of color planes.

Definition at line 109 of file TGWin32.h.

◆ fDrawMode

EDrawMode TVirtualX::fDrawMode
protectedinherited

Definition at line 55 of file TVirtualX.h.

◆ fFillColor

Color_t TAttFill::fFillColor
protectedinherited

Fill area color.

Definition at line 24 of file TAttFill.h.

◆ fFillStyle

Style_t TAttFill::fFillStyle
protectedinherited

Fill area style.

Definition at line 25 of file TAttFill.h.

◆ fgDtorOnly

Longptr_t TObject::fgDtorOnly = 0
staticprivateinherited

object for which to call dtor only (i.e. no delete)

Definition at line 49 of file TObject.h.

◆ fgObjectStat

Bool_t TObject::fgObjectStat = kTRUE
staticprivateinherited

if true keep track of objects in TObjectTable

Definition at line 50 of file TObject.h.

◆ fGreenDiv

Int_t TGWin32::fGreenDiv
protected

Green value divider.

Definition at line 111 of file TGWin32.h.

◆ fGreenShift

Int_t TGWin32::fGreenShift
protected

Bits to left shift green.

Definition at line 114 of file TGWin32.h.

◆ fHasTTFonts

Bool_t TGWin32::fHasTTFonts
protected

True when TrueType fonts are used.

Definition at line 104 of file TGWin32.h.

◆ fLineColor

Color_t TAttLine::fLineColor
protectedinherited

Line color.

Definition at line 24 of file TAttLine.h.

◆ fLineStyle

Style_t TAttLine::fLineStyle
protectedinherited

Line style.

Definition at line 25 of file TAttLine.h.

◆ fLineWidth

Width_t TAttLine::fLineWidth
protectedinherited

Line width.

Definition at line 26 of file TAttLine.h.

◆ fMarkerColor

Color_t TAttMarker::fMarkerColor
protectedinherited

Marker color.

Definition at line 24 of file TAttMarker.h.

◆ fMarkerSize

Size_t TAttMarker::fMarkerSize
protectedinherited

Marker size.

Definition at line 26 of file TAttMarker.h.

◆ fMarkerStyle

Style_t TAttMarker::fMarkerStyle
protectedinherited

Marker style.

Definition at line 25 of file TAttMarker.h.

◆ fName

TString TNamed::fName
protectedinherited

Definition at line 32 of file TNamed.h.

◆ fRedDiv

Int_t TGWin32::fRedDiv
protected

Red value divider, -1 if no TrueColor visual.

Definition at line 110 of file TGWin32.h.

◆ fRedShift

Int_t TGWin32::fRedShift
protected

Bits to left shift red, -1 if no TrueColor visual.

Definition at line 113 of file TGWin32.h.

◆ fRefreshTimer

TObject* TGWin32::fRefreshTimer
protected

TGWin32RefreshTimer for GUI thread message handler.

Definition at line 117 of file TGWin32.h.

◆ fScreenNumber

Int_t TGWin32::fScreenNumber
protected

Screen number.

Definition at line 103 of file TGWin32.h.

◆ fTextAlign

Short_t TAttText::fTextAlign
protectedinherited

Text alignment.

Definition at line 26 of file TAttText.h.

◆ fTextAngle

Float_t TAttText::fTextAngle
protectedinherited

Text angle.

Definition at line 24 of file TAttText.h.

◆ fTextColor

Color_t TAttText::fTextColor
protectedinherited

Text color.

Definition at line 27 of file TAttText.h.

◆ fTextFont

Font_t TAttText::fTextFont
protectedinherited

Text font.

Definition at line 28 of file TAttText.h.

◆ fTextMagnitude

Float_t TGWin32::fTextMagnitude
protected

Text Magnitude.

Definition at line 108 of file TGWin32.h.

◆ fTextSize

Float_t TAttText::fTextSize
protectedinherited

Text size.

Definition at line 25 of file TAttText.h.

◆ fTitle

TString TNamed::fTitle
protectedinherited

Definition at line 33 of file TNamed.h.

◆ fUniqueID

UInt_t TObject::fUniqueID
privateinherited

object unique identifier

Definition at line 46 of file TObject.h.

◆ fUseSysPointers

Bool_t TGWin32::fUseSysPointers
protected

True when using system mouse pointers.

Definition at line 105 of file TGWin32.h.

◆ fVisual

GdkVisual* TGWin32::fVisual
protected

Definition at line 101 of file TGWin32.h.

◆ fWindows

std::unordered_map<Int_t,std::unique_ptr<XWindow_t> > TGWin32::fWindows
private

Definition at line 77 of file TGWin32.h.

◆ fXEvent

Handle_t TGWin32::fXEvent
protected

Current native (GDK) event.

Definition at line 116 of file TGWin32.h.


The documentation for this class was generated from the following files: