Logo ROOT  
Reference Guide
GuiTypes.h File Reference
#include "Rtypes.h"
Include dependency graph for GuiTypes.h:
This graph shows which files directly or indirectly include this file:

Classes

struct  ColorStruct_t
 
struct  Event_t
 
struct  GCValues_t
 
struct  PictureAttributes_t
 
struct  Point_t
 
struct  Rectangle_t
 
struct  Segment_t
 
struct  SetWindowAttributes_t
 
struct  WindowAttributes_t
 

Typedefs

typedef Handle_t Atom_t
 
typedef Handle_t Colormap_t
 
typedef Handle_t Cursor_t
 
typedef Handle_t Display_t
 
typedef Handle_t Drawable_t
 
typedef Handle_t FontH_t
 
typedef Handle_t FontStruct_t
 
typedef Handle_t GContext_t
 
typedef ULong_t Handle_t
 
typedef Handle_t KeySym_t
 
typedef UInt_t Mask_t
 
typedef ULong_t Pixel_t
 
typedef Handle_t Pixmap_t
 
typedef Handle_t Region_t
 
typedef ULong_t Time_t
 
typedef Handle_t Visual_t
 
typedef Handle_t Window_t
 

Enumerations

enum  { kDefaultScrollBarWidth = 16 }
 
enum  EGEventType {
  kGKeyPress , kKeyRelease , kButtonPress , kButtonRelease ,
  kMotionNotify , kEnterNotify , kLeaveNotify , kFocusIn ,
  kFocusOut , kExpose , kConfigureNotify , kMapNotify ,
  kUnmapNotify , kDestroyNotify , kClientMessage , kSelectionClear ,
  kSelectionRequest , kSelectionNotify , kColormapNotify , kButtonDoubleClick ,
  kOtherEvent
}
 
enum  EGraphicsFunction {
  kGXclear = 0 , kGXand , kGXandReverse , kGXcopy ,
  kGXandInverted , kGXnoop , kGXxor , kGXor ,
  kGXnor , kGXequiv , kGXinvert , kGXorReverse ,
  kGXcopyInverted , kGXorInverted , kGXnand , kGXset
}
 
enum  EGuiConstants {
  kNotUseful = 0 , kWhenMapped = 1 , kAlways = 2 , kIsUnmapped = 0 ,
  kIsUnviewable = 1 , kIsViewable = 2 , kInputOutput = 1 , kInputOnly = 2 ,
  kLineSolid = 0 , kLineOnOffDash = 1 , kLineDoubleDash = 2 , kCapNotLast = 0 ,
  kCapButt = 1 , kCapRound = 2 , kCapProjecting = 3 , kJoinMiter = 0 ,
  kJoinRound = 1 , kJoinBevel = 2 , kFillSolid = 0 , kFillTiled = 1 ,
  kFillStippled = 2 , kFillOpaqueStippled = 3 , kEvenOddRule = 0 , kWindingRule = 1 ,
  kClipByChildren = 0 , kIncludeInferiors = 1 , kArcChord = 0 , kArcPieSlice = 1
}
 
enum  EInitialState { kNormalState = BIT(0) , kIconicState = BIT(1) }
 
enum  EMouseButton {
  kAnyButton , kButton1 , kButton2 , kButton3 ,
  kButton4 , kButton5 , kButton6 , kButton7
}
 
enum  EXMagic {
  kNotifyNormal = 0 , kNotifyGrab = 1 , kNotifyUngrab = 2 , kNotifyPointer = 5 ,
  kColormapUninstalled = 0 , kColormapInstalled = 1
}
 

Variables

const Mask_t kAnyModifier = BIT(15)
 
const Mask_t kButton1Mask = BIT(8)
 
const Mask_t kButton2Mask = BIT(9)
 
const Mask_t kButton3Mask = BIT(10)
 
const Mask_t kButton4Mask = BIT(11)
 
const Mask_t kButton5Mask = BIT(12)
 
const Mask_t kButton6Mask = BIT(13)
 
const Mask_t kButton7Mask = BIT(14)
 
const Mask_t kButtonMotionMask = BIT(5)
 
const Mask_t kButtonPressMask = BIT(2)
 
const Mask_t kButtonReleaseMask = BIT(3)
 
const Mask_t kColormapChangeMask = BIT(12)
 
const Handle_t kCopyFromParent = 0
 
const Atom_t kCutBuffer = 9
 
const Mask_t kDoBlue = BIT(2)
 
const Mask_t kDoGreen = BIT(1)
 
const Mask_t kDoRed = BIT(0)
 
const Mask_t kEnterWindowMask = BIT(8)
 
const Mask_t kExposureMask = BIT(6)
 
const Mask_t kFocusChangeMask = BIT(10)
 
const Mask_t kGCArcMode = BIT(22)
 
const Mask_t kGCBackground = BIT(3)
 
const Mask_t kGCCapStyle = BIT(6)
 
const Mask_t kGCClipMask = BIT(19)
 
const Mask_t kGCClipXOrigin = BIT(17)
 
const Mask_t kGCClipYOrigin = BIT(18)
 
const Mask_t kGCDashList = BIT(21)
 
const Mask_t kGCDashOffset = BIT(20)
 
const Mask_t kGCFillRule = BIT(9)
 
const Mask_t kGCFillStyle = BIT(8)
 
const Mask_t kGCFont = BIT(14)
 
const Mask_t kGCForeground = BIT(2)
 
const Mask_t kGCFunction = BIT(0)
 
const Mask_t kGCGraphicsExposures = BIT(16)
 
const Mask_t kGCJoinStyle = BIT(7)
 
const Mask_t kGCLineStyle = BIT(5)
 
const Mask_t kGCLineWidth = BIT(4)
 
const Mask_t kGCPlaneMask = BIT(1)
 
const Mask_t kGCStipple = BIT(11)
 
const Mask_t kGCSubwindowMode = BIT(15)
 
const Mask_t kGCTile = BIT(10)
 
const Mask_t kGCTileStipXOrigin = BIT(12)
 
const Mask_t kGCTileStipYOrigin = BIT(13)
 
const Mask_t kKeyControlMask = BIT(2)
 
const Mask_t kKeyLockMask = BIT(1)
 
const Mask_t kKeyMod1Mask = BIT(3)
 
const Mask_t kKeyMod2Mask = BIT(4)
 
const Mask_t kKeyMod3Mask = BIT(5)
 
const Mask_t kKeyMod4Mask = BIT(6)
 
const Mask_t kKeyMod5Mask = BIT(7)
 
const Mask_t kKeyPressMask = BIT(0)
 
const Mask_t kKeyReleaseMask = BIT(1)
 
const Mask_t kKeyShiftMask = BIT(0)
 
const Mask_t kLeaveWindowMask = BIT(9)
 
const Int_t kMaxPixel = 32000
 
const Mask_t kNoEventMask = 0
 
const Handle_t kNone = 0
 
const Mask_t kOwnerGrabButtonMask = BIT(11)
 
const Mask_t kPACloseness = BIT(5)
 
const Mask_t kPAColormap = BIT(0)
 
const Mask_t kPADepth = BIT(1)
 
const Mask_t kPAHotspot = BIT(3)
 
const Handle_t kParentRelative = 1
 
const Mask_t kPAReturnPixels = BIT(4)
 
const Mask_t kPASize = BIT(2)
 
const Mask_t kPointerMotionMask = BIT(4)
 
const Atom_t kPrimarySelection = 1
 
const Mask_t kStructureNotifyMask = BIT(7)
 
const Mask_t kWABackingPixel = BIT(9)
 
const Mask_t kWABackingPlanes = BIT(8)
 
const Mask_t kWABackingStore = BIT(7)
 
const Mask_t kWABackPixel = BIT(1)
 
const Mask_t kWABackPixmap = BIT(0)
 
const Mask_t kWABitGravity = BIT(5)
 
const Mask_t kWABorderPixel = BIT(3)
 
const Mask_t kWABorderPixmap = BIT(2)
 
const Mask_t kWABorderWidth = BIT(4)
 
const Mask_t kWAColormap = BIT(14)
 
const Mask_t kWACursor = BIT(15)
 
const Mask_t kWADontPropagate = BIT(13)
 
const Mask_t kWAEventMask = BIT(12)
 
const Mask_t kWAOverrideRedirect = BIT(10)
 
const Mask_t kWASaveUnder = BIT(11)
 
const Mask_t kWAWinGravity = BIT(6)
 

Typedef Documentation

◆ Atom_t

typedef Handle_t Atom_t

Definition at line 36 of file GuiTypes.h.

◆ Colormap_t

Definition at line 32 of file GuiTypes.h.

◆ Cursor_t

typedef Handle_t Cursor_t

Definition at line 33 of file GuiTypes.h.

◆ Display_t

Definition at line 26 of file GuiTypes.h.

◆ Drawable_t

Definition at line 30 of file GuiTypes.h.

◆ FontH_t

typedef Handle_t FontH_t

Definition at line 34 of file GuiTypes.h.

◆ FontStruct_t

Definition at line 38 of file GuiTypes.h.

◆ GContext_t

Definition at line 37 of file GuiTypes.h.

◆ Handle_t

typedef ULong_t Handle_t

Definition at line 25 of file GuiTypes.h.

◆ KeySym_t

typedef Handle_t KeySym_t

Definition at line 35 of file GuiTypes.h.

◆ Mask_t

typedef UInt_t Mask_t

Definition at line 40 of file GuiTypes.h.

◆ Pixel_t

typedef ULong_t Pixel_t

Definition at line 39 of file GuiTypes.h.

◆ Pixmap_t

typedef Handle_t Pixmap_t

Definition at line 29 of file GuiTypes.h.

◆ Region_t

typedef Handle_t Region_t

Definition at line 31 of file GuiTypes.h.

◆ Time_t

typedef ULong_t Time_t

Definition at line 41 of file GuiTypes.h.

◆ Visual_t

typedef Handle_t Visual_t

Definition at line 27 of file GuiTypes.h.

◆ Window_t

typedef Handle_t Window_t

Definition at line 28 of file GuiTypes.h.

Enumeration Type Documentation

◆ anonymous enum

anonymous enum
Enumerator
kDefaultScrollBarWidth 

Definition at line 85 of file GuiTypes.h.

◆ EGEventType

Enumerator
kGKeyPress 
kKeyRelease 
kButtonPress 
kButtonRelease 
kMotionNotify 
kEnterNotify 
kLeaveNotify 
kFocusIn 
kFocusOut 
kExpose 
kConfigureNotify 
kMapNotify 
kUnmapNotify 
kDestroyNotify 
kClientMessage 
kSelectionClear 
kSelectionRequest 
kSelectionNotify 
kColormapNotify 
kButtonDoubleClick 
kOtherEvent 

Definition at line 58 of file GuiTypes.h.

◆ EGraphicsFunction

Enumerator
kGXclear 
kGXand 
kGXandReverse 
kGXcopy 
kGXandInverted 
kGXnoop 
kGXxor 
kGXor 
kGXnor 
kGXequiv 
kGXinvert 
kGXorReverse 
kGXcopyInverted 
kGXorInverted 
kGXnand 
kGXset 

Definition at line 66 of file GuiTypes.h.

◆ EGuiConstants

Enumerator
kNotUseful 
kWhenMapped 
kAlways 
kIsUnmapped 
kIsUnviewable 
kIsViewable 
kInputOutput 
kInputOnly 
kLineSolid 
kLineOnOffDash 
kLineDoubleDash 
kCapNotLast 
kCapButt 
kCapRound 
kCapProjecting 
kJoinMiter 
kJoinRound 
kJoinBevel 
kFillSolid 
kFillTiled 
kFillStippled 
kFillOpaqueStippled 
kEvenOddRule 
kWindingRule 
kClipByChildren 
kIncludeInferiors 
kArcChord 
kArcPieSlice 

Definition at line 43 of file GuiTypes.h.

◆ EInitialState

Enumerator
kNormalState 
kIconicState 

Definition at line 344 of file GuiTypes.h.

◆ EMouseButton

Enumerator
kAnyButton 
kButton1 
kButton2 
kButton3 
kButton4 
kButton5 
kButton6 
kButton7 

Definition at line 213 of file GuiTypes.h.

◆ EXMagic

enum EXMagic
Enumerator
kNotifyNormal 
kNotifyGrab 
kNotifyUngrab 
kNotifyPointer 
kColormapUninstalled 
kColormapInstalled 

Definition at line 218 of file GuiTypes.h.

Variable Documentation

◆ kAnyModifier

const Mask_t kAnyModifier = BIT(15)

Definition at line 209 of file GuiTypes.h.

◆ kButton1Mask

const Mask_t kButton1Mask = BIT(8)

Definition at line 202 of file GuiTypes.h.

◆ kButton2Mask

const Mask_t kButton2Mask = BIT(9)

Definition at line 203 of file GuiTypes.h.

◆ kButton3Mask

const Mask_t kButton3Mask = BIT(10)

Definition at line 204 of file GuiTypes.h.

◆ kButton4Mask

const Mask_t kButton4Mask = BIT(11)

Definition at line 205 of file GuiTypes.h.

◆ kButton5Mask

const Mask_t kButton5Mask = BIT(12)

Definition at line 206 of file GuiTypes.h.

◆ kButton6Mask

const Mask_t kButton6Mask = BIT(13)

Definition at line 207 of file GuiTypes.h.

◆ kButton7Mask

const Mask_t kButton7Mask = BIT(14)

Definition at line 208 of file GuiTypes.h.

◆ kButtonMotionMask

const Mask_t kButtonMotionMask = BIT(5)

Definition at line 163 of file GuiTypes.h.

◆ kButtonPressMask

const Mask_t kButtonPressMask = BIT(2)

Definition at line 160 of file GuiTypes.h.

◆ kButtonReleaseMask

const Mask_t kButtonReleaseMask = BIT(3)

Definition at line 161 of file GuiTypes.h.

◆ kColormapChangeMask

const Mask_t kColormapChangeMask = BIT(12)

Definition at line 170 of file GuiTypes.h.

◆ kCopyFromParent

const Handle_t kCopyFromParent = 0

Definition at line 88 of file GuiTypes.h.

◆ kCutBuffer

const Atom_t kCutBuffer = 9

Definition at line 367 of file GuiTypes.h.

◆ kDoBlue

const Mask_t kDoBlue = BIT(2)

Definition at line 320 of file GuiTypes.h.

◆ kDoGreen

const Mask_t kDoGreen = BIT(1)

Definition at line 319 of file GuiTypes.h.

◆ kDoRed

const Mask_t kDoRed = BIT(0)

Definition at line 318 of file GuiTypes.h.

◆ kEnterWindowMask

const Mask_t kEnterWindowMask = BIT(8)

Definition at line 166 of file GuiTypes.h.

◆ kExposureMask

const Mask_t kExposureMask = BIT(6)

Definition at line 164 of file GuiTypes.h.

◆ kFocusChangeMask

const Mask_t kFocusChangeMask = BIT(10)

Definition at line 168 of file GuiTypes.h.

◆ kGCArcMode

const Mask_t kGCArcMode = BIT(22)

Definition at line 307 of file GuiTypes.h.

◆ kGCBackground

const Mask_t kGCBackground = BIT(3)

Definition at line 288 of file GuiTypes.h.

◆ kGCCapStyle

const Mask_t kGCCapStyle = BIT(6)

Definition at line 291 of file GuiTypes.h.

◆ kGCClipMask

const Mask_t kGCClipMask = BIT(19)

Definition at line 304 of file GuiTypes.h.

◆ kGCClipXOrigin

const Mask_t kGCClipXOrigin = BIT(17)

Definition at line 302 of file GuiTypes.h.

◆ kGCClipYOrigin

const Mask_t kGCClipYOrigin = BIT(18)

Definition at line 303 of file GuiTypes.h.

◆ kGCDashList

const Mask_t kGCDashList = BIT(21)

Definition at line 306 of file GuiTypes.h.

◆ kGCDashOffset

const Mask_t kGCDashOffset = BIT(20)

Definition at line 305 of file GuiTypes.h.

◆ kGCFillRule

const Mask_t kGCFillRule = BIT(9)

Definition at line 294 of file GuiTypes.h.

◆ kGCFillStyle

const Mask_t kGCFillStyle = BIT(8)

Definition at line 293 of file GuiTypes.h.

◆ kGCFont

const Mask_t kGCFont = BIT(14)

Definition at line 299 of file GuiTypes.h.

◆ kGCForeground

const Mask_t kGCForeground = BIT(2)

Definition at line 287 of file GuiTypes.h.

◆ kGCFunction

const Mask_t kGCFunction = BIT(0)

Definition at line 285 of file GuiTypes.h.

◆ kGCGraphicsExposures

const Mask_t kGCGraphicsExposures = BIT(16)

Definition at line 301 of file GuiTypes.h.

◆ kGCJoinStyle

const Mask_t kGCJoinStyle = BIT(7)

Definition at line 292 of file GuiTypes.h.

◆ kGCLineStyle

const Mask_t kGCLineStyle = BIT(5)

Definition at line 290 of file GuiTypes.h.

◆ kGCLineWidth

const Mask_t kGCLineWidth = BIT(4)

Definition at line 289 of file GuiTypes.h.

◆ kGCPlaneMask

const Mask_t kGCPlaneMask = BIT(1)

Definition at line 286 of file GuiTypes.h.

◆ kGCStipple

const Mask_t kGCStipple = BIT(11)

Definition at line 296 of file GuiTypes.h.

◆ kGCSubwindowMode

const Mask_t kGCSubwindowMode = BIT(15)

Definition at line 300 of file GuiTypes.h.

◆ kGCTile

const Mask_t kGCTile = BIT(10)

Definition at line 295 of file GuiTypes.h.

◆ kGCTileStipXOrigin

const Mask_t kGCTileStipXOrigin = BIT(12)

Definition at line 297 of file GuiTypes.h.

◆ kGCTileStipYOrigin

const Mask_t kGCTileStipYOrigin = BIT(13)

Definition at line 298 of file GuiTypes.h.

◆ kKeyControlMask

const Mask_t kKeyControlMask = BIT(2)

Definition at line 196 of file GuiTypes.h.

◆ kKeyLockMask

const Mask_t kKeyLockMask = BIT(1)

Definition at line 195 of file GuiTypes.h.

◆ kKeyMod1Mask

const Mask_t kKeyMod1Mask = BIT(3)

Definition at line 197 of file GuiTypes.h.

◆ kKeyMod2Mask

const Mask_t kKeyMod2Mask = BIT(4)

Definition at line 198 of file GuiTypes.h.

◆ kKeyMod3Mask

const Mask_t kKeyMod3Mask = BIT(5)

Definition at line 199 of file GuiTypes.h.

◆ kKeyMod4Mask

const Mask_t kKeyMod4Mask = BIT(6)

Definition at line 200 of file GuiTypes.h.

◆ kKeyMod5Mask

const Mask_t kKeyMod5Mask = BIT(7)

Definition at line 201 of file GuiTypes.h.

◆ kKeyPressMask

const Mask_t kKeyPressMask = BIT(0)

Definition at line 158 of file GuiTypes.h.

◆ kKeyReleaseMask

const Mask_t kKeyReleaseMask = BIT(1)

Definition at line 159 of file GuiTypes.h.

◆ kKeyShiftMask

const Mask_t kKeyShiftMask = BIT(0)

Definition at line 194 of file GuiTypes.h.

◆ kLeaveWindowMask

const Mask_t kLeaveWindowMask = BIT(9)

Definition at line 167 of file GuiTypes.h.

◆ kMaxPixel

const Int_t kMaxPixel = 32000

Definition at line 368 of file GuiTypes.h.

◆ kNoEventMask

const Mask_t kNoEventMask = 0

Definition at line 157 of file GuiTypes.h.

◆ kNone

const Handle_t kNone = 0

Definition at line 87 of file GuiTypes.h.

◆ kOwnerGrabButtonMask

const Mask_t kOwnerGrabButtonMask = BIT(11)

Definition at line 169 of file GuiTypes.h.

◆ kPACloseness

const Mask_t kPACloseness = BIT(5)

Definition at line 341 of file GuiTypes.h.

◆ kPAColormap

const Mask_t kPAColormap = BIT(0)

Definition at line 336 of file GuiTypes.h.

◆ kPADepth

const Mask_t kPADepth = BIT(1)

Definition at line 337 of file GuiTypes.h.

◆ kPAHotspot

const Mask_t kPAHotspot = BIT(3)

Definition at line 339 of file GuiTypes.h.

◆ kParentRelative

const Handle_t kParentRelative = 1

Definition at line 89 of file GuiTypes.h.

◆ kPAReturnPixels

const Mask_t kPAReturnPixels = BIT(4)

Definition at line 340 of file GuiTypes.h.

◆ kPASize

const Mask_t kPASize = BIT(2)

Definition at line 338 of file GuiTypes.h.

◆ kPointerMotionMask

const Mask_t kPointerMotionMask = BIT(4)

Definition at line 162 of file GuiTypes.h.

◆ kPrimarySelection

const Atom_t kPrimarySelection = 1

Definition at line 366 of file GuiTypes.h.

◆ kStructureNotifyMask

const Mask_t kStructureNotifyMask = BIT(7)

Definition at line 165 of file GuiTypes.h.

◆ kWABackingPixel

const Mask_t kWABackingPixel = BIT(9)

Definition at line 147 of file GuiTypes.h.

◆ kWABackingPlanes

const Mask_t kWABackingPlanes = BIT(8)

Definition at line 146 of file GuiTypes.h.

◆ kWABackingStore

const Mask_t kWABackingStore = BIT(7)

Definition at line 145 of file GuiTypes.h.

◆ kWABackPixel

const Mask_t kWABackPixel = BIT(1)

Definition at line 139 of file GuiTypes.h.

◆ kWABackPixmap

const Mask_t kWABackPixmap = BIT(0)

Definition at line 138 of file GuiTypes.h.

◆ kWABitGravity

const Mask_t kWABitGravity = BIT(5)

Definition at line 143 of file GuiTypes.h.

◆ kWABorderPixel

const Mask_t kWABorderPixel = BIT(3)

Definition at line 141 of file GuiTypes.h.

◆ kWABorderPixmap

const Mask_t kWABorderPixmap = BIT(2)

Definition at line 140 of file GuiTypes.h.

◆ kWABorderWidth

const Mask_t kWABorderWidth = BIT(4)

Definition at line 142 of file GuiTypes.h.

◆ kWAColormap

const Mask_t kWAColormap = BIT(14)

Definition at line 152 of file GuiTypes.h.

◆ kWACursor

const Mask_t kWACursor = BIT(15)

Definition at line 153 of file GuiTypes.h.

◆ kWADontPropagate

const Mask_t kWADontPropagate = BIT(13)

Definition at line 151 of file GuiTypes.h.

◆ kWAEventMask

const Mask_t kWAEventMask = BIT(12)

Definition at line 150 of file GuiTypes.h.

◆ kWAOverrideRedirect

const Mask_t kWAOverrideRedirect = BIT(10)

Definition at line 148 of file GuiTypes.h.

◆ kWASaveUnder

const Mask_t kWASaveUnder = BIT(11)

Definition at line 149 of file GuiTypes.h.

◆ kWAWinGravity

const Mask_t kWAWinGravity = BIT(6)

Definition at line 144 of file GuiTypes.h.