67VOID_METHOD_ARG5(VirtualX,DrawBox,
Int_t,x1,
Int_t,y1,
Int_t,x2,
Int_t,y2,
TVirtualX::EBoxMode,mode,1)
68VOID_METHOD_ARG6(VirtualX,DrawText,
Int_t,
x,
Int_t,
y,
Float_t,angle,
Float_t,mgn,const
char*,
text,
TVirtualX::ETextMode,mode,1)
70VOID_METHOD_ARG4(VirtualX,
DrawLine,
Int_t,x1,
Int_t,y1,
Int_t,x2,
Int_t,y2,0)
141VOID_METHOD_ARG4(VirtualX,DrawSegments,
Drawable_t,
id,
GContext_t,gc,
Segment_t*,seg,
Int_t,nseg,1)
142VOID_METHOD_ARG4(VirtualX,SetMWMHints,
Window_t,
id,
UInt_t,value,
UInt_t,funcs,
UInt_t,input,1)
143VOID_METHOD_ARG4(VirtualX,SetDashes,
GContext_t,gc,
Int_t,offset,const
char*,dash_list,
Int_t,
n,1)
144VOID_METHOD_ARG4(VirtualX,WritePixmap,
Int_t,wid,
UInt_t,w,
UInt_t,
h,
char*,pxname,1)
145VOID_METHOD_ARG4(VirtualX,SetRGB,
Int_t,cindex,
Float_t,
r,
Float_t,
g,
Float_t,
b,1)
146VOID_METHOD_ARG4(VirtualX,PutPixel,
Drawable_t,
id,
Int_t,
x,
Int_t,
y,
ULong_t,pixel,1)
147VOID_METHOD_ARG4(VirtualX,GrabKey,
Window_t,
id,
Int_t,keycode,
UInt_t,modifier,
Bool_t,grab,1)
148VOID_METHOD_ARG4(VirtualX,FillPolygon,
Window_t,
id,
GContext_t,gc,
Point_t*,
points,
Int_t,npnt,1)
149VOID_METHOD_ARG4(VirtualX,ReparentWindow,
Window_t,
id,
Window_t,pid,
Int_t,
x,
Int_t,
y,1)
150VOID_METHOD_ARG5(VirtualX,MoveResizeWindow,
Window_t,
id,
Int_t,
x,
Int_t,
y,
UInt_t,w,
UInt_t,
h,1)
151VOID_METHOD_ARG5(VirtualX,ChangeProperty,
Window_t,
id,
Atom_t,property,
Atom_t,type,
UChar_t*,data,
Int_t,len,1)
152VOID_METHOD_ARG5(VirtualX,SetClipRegion,
Int_t,wid,
Int_t,
x,
Int_t,
y,
UInt_t,w,
UInt_t,
h,1)
153VOID_METHOD_ARG5(VirtualX,ClearArea,
Window_t,
id,
Int_t,
x,
Int_t,
y,
UInt_t,w,
UInt_t,
h,1)
154VOID_METHOD_ARG5(VirtualX,SetClipRectangles,
GContext_t,gc,
Int_t,
x,
Int_t,
y,
Rectangle_t*,recs,
Int_t,
n,1)
155VOID_METHOD_ARG6(VirtualX,GrabPointer,
Window_t,
id,
UInt_t,evmask,
Window_t,confine,
Cursor_t,cursor,
Bool_t,grab,
Bool_t,owner_events,1)
156VOID_METHOD_ARG6(VirtualX,
DrawLine,
Drawable_t,
id,
GContext_t,gc,
Int_t,x1,
Int_t,y1,
Int_t,x2,
Int_t,y2,1)
157VOID_METHOD_ARG6(VirtualX,DrawString,
Drawable_t,
id,
GContext_t,gc,
Int_t,
x,
Int_t,
y,const
char*,s,
Int_t,len,1)
158VOID_METHOD_ARG6(VirtualX,FillRectangle,
Drawable_t,
id,
GContext_t,gc,
Int_t,
x,
Int_t,
y,
UInt_t,w,
UInt_t,
h,1)
159VOID_METHOD_ARG6(VirtualX,DrawRectangle,
Drawable_t,
id,
GContext_t,gc,
Int_t,
x,
Int_t,
y,
UInt_t,w,
UInt_t,
h,1)
160VOID_METHOD_ARG7(VirtualX,GrabButton,
Window_t,
id,
EMouseButton,button,
UInt_t,modifier,
UInt_t,evmask,
Window_t,confine,
Cursor_t,cursor,
Bool_t,grab,1)
161VOID_METHOD_ARG7(VirtualX,DrawCellArray,
Int_t,x1,
Int_t,y1,
Int_t,x2,
Int_t,y2,
Int_t,nx,
Int_t,ny,
Int_t*,ic,1)
162VOID_METHOD_ARG7(VirtualX,SetWMSizeHints,
Window_t,
id,
UInt_t,wmin,
UInt_t,hmin,
UInt_t,wmax,
UInt_t,hmax,
UInt_t,winc,
UInt_t,hinc,1)
163VOID_METHOD_ARG9(VirtualX,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,1)
164VOID_METHOD_ARG9(VirtualX,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,1)
167VOID_METHOD_ARG5(VirtualX,GetGeometry,
Int_t,wid,
Int_t&,
x,
Int_t&,
y,
UInt_t&,w,
UInt_t&,
h,1)
168VOID_METHOD_ARG4(VirtualX,GetRGB,
Int_t,index,
Float_t&,
r,
Float_t&,
g,
Float_t&,
b,1)
170VOID_METHOD_ARG5(VirtualX,GetWindowSize,
Drawable_t,
id,
Int_t&,
x,
Int_t&,
y,
UInt_t&,w,
UInt_t&,
h,1)
180VOID_METHOD_ARG7(VirtualX,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,1)
181VOID_METHOD_ARG8(VirtualX,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,1)
188VOID_METHOD_ARG5(VirtualX,GetPasteBuffer,
Window_t,
id,
Atom_t,atom,
TString&,
text,
Int_t&,nchar,
Bool_t,del,1)
225RETURN_METHOD_ARG4(VirtualX,
Pixmap_t,CreateBitmap,
Drawable_t,
id,const
char*,bitmap,
UInt_t,width,
UInt_t,height)
226RETURN_METHOD_ARG7(VirtualX,
Pixmap_t,CreatePixmap,
Drawable_t,
id,const
char*,bitmap,
UInt_t,width,
UInt_t,height,
ULong_t,forecolor,
ULong_t,backcolor,
Int_t,depth)
227RETURN_METHOD_ARG11(VirtualX,
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)
229RETURN_METHOD_ARG4(VirtualX,
Int_t,RequestLocator,
Int_t,mode,
Int_t,ctyp,
Int_t&,
x,
Int_t&,
y)
232RETURN_METHOD_ARG5(VirtualX,
Bool_t,CreatePictureFromFile,
Drawable_t,
id,const
char*,filename,
Pixmap_t&,pict,
Pixmap_t&,pict_mask,
PictureAttributes_t&,attr)
233RETURN_METHOD_ARG5(VirtualX,
Bool_t,CreatePictureFromData,
Drawable_t,
id,
char**,data,
Pixmap_t&,pict,
Pixmap_t&,pict_mask,
PictureAttributes_t&,attr)
238RETURN_METHOD_ARG5(VirtualX,
unsigned char*,GetColorBits,
Drawable_t,wid,
Int_t,
x,
Int_t,
y,
UInt_t,width,
UInt_t,height)
242VOID_METHOD_ARG4(VirtualX,ShapeCombineMask,
Window_t,
id,
Int_t,
x,
Int_t,
y,
Pixmap_t,mask,1)
245RETURN_METHOD_ARG11(VirtualX,
Int_t,GetProperty,
Window_t,win,
Atom_t,prop,
Long_t,offset,
Long_t,length,
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)
247VOID_METHOD_ARG5(VirtualX,ConvertSelection,
Window_t,win,
Atom_t&,sel,
Atom_t&,target,
Atom_t&,prop,
Time_t&,stamp,1)
249VOID_METHOD_ARG6(VirtualX,ChangeProperties,
Window_t,
id,
Atom_t,property,
Atom_t,type,
Int_t,format,
UChar_t*,data,
Int_t,len,1)
252RETURN_METHOD_ARG6(VirtualX,
Window_t,FindRWindow,
Window_t,win,
Window_t,dragwin,
Window_t,input,
int,
x,
int,
y,
int,maxd);
267 if (
gDebug) printf(
"CloseDisplay\n");
276 return (
Window_t)gdk_window_get_parent((GdkWindow *)
id);
Handle_t Cursor_t
Cursor handle.
Handle_t FontH_t
Font handle (as opposed to Font_t which is an index).
Handle_t Visual_t
Visual handle.
Handle_t Display_t
Display handle.
Handle_t Pixmap_t
Pixmap handle.
ULong_t Time_t
Event time.
EInitialState
Initial window mapping state.
Handle_t Drawable_t
Drawable handle.
Handle_t Colormap_t
Colormap handle.
Handle_t GContext_t
Graphics context handle.
UInt_t Mask_t
Structure mask type.
Handle_t Region_t
Region handle.
Handle_t FontStruct_t
Pointer to font structure.
EMouseButton
Button names.
Handle_t Window_t
Window handle.
ULongptr_t Handle_t
Generic resource handle.
int Int_t
Signed integer 4 bytes (int).
float Size_t
Attribute size (float).
unsigned char UChar_t
Unsigned Character 1 byte (unsigned char).
unsigned long ULongptr_t
Unsigned integer large enough to hold a pointer (platform-dependent).
unsigned int UInt_t
Unsigned integer 4 bytes (unsigned int).
unsigned long ULong_t
Unsigned long integer 4 bytes (unsigned long). Size depends on architecture.
long Long_t
Signed long integer 4 bytes (long). Size depends on architecture.
short Width_t
Line width (short).
bool Bool_t
Boolean (0=false, 1=true) (bool).
short Font_t
Font number (short).
short Short_t
Signed Short integer 2 bytes (short).
short Color_t
Color number (short).
short Style_t
Style number (short).
float Float_t
Float 4 bytes (float).
const char Option_t
Option string (const char).
#define RETURN_METHOD_ARG3(klass, type, method, type1, par1, type2, par2, type3, par3)
#define VOID_METHOD_ARG6(klass, method, type1, par1, type2, par2, type3, par3, type4, par4, type5, par5, type6, par6, sync)
#define VOID_METHOD_ARG3(klass, method, type1, par1, type2, par2, type3, par3, sync)
#define RETURN_METHOD_ARG7(klass, type, method, type1, par1, type2, par2, type3, par3, type4, par4, type5, par5, type6, par6, type7, par7)
#define VOID_METHOD_ARG0(klass, method, sync)
#define RETURN_METHOD_ARG0(klass, type, method)
#define VOID_METHOD_ARG9(klass, method, type1, par1, type2, par2, type3, par3, type4, par4, type5, par5, type6, par6, type7, par7, type8, par8, type9, par9, sync)
#define RETURN_METHOD_ARG6(klass, type, method, type1, par1, type2, par2, type3, par3, type4, par4, type5, par5, type6, par6)
#define VOID_METHOD_ARG5(klass, method, type1, par1, type2, par2, type3, par3, type4, par4, type5, par5, sync)
#define RETURN_PROXY_OBJECT(klass)
#define DEBUG_PROFILE_PROXY_START(method)
#define RETURN_METHOD_ARG4(klass, type, method, type1, par1, type2, par2, type3, par3, type4, par4)
#define RETURN_METHOD_ARG2(klass, type, method, type1, par1, type2, par2)
#define VOID_METHOD_ARG1(klass, method, type1, par1, sync)
#define RETURN_METHOD_ARG0_CONST(klass, type, method)
#define RETURN_METHOD_ARG11(klass, type, method, type1, par1, type2, par2, type3, par3, type4, par4, type5, par5, type6, par6, type7, par7, type8, par8, type9, par9, type10, par10, type11, par11)
#define DEBUG_PROFILE_PROXY_STOP(method)
#define VOID_METHOD_ARG4(klass, method, type1, par1, type2, par2, type3, par3, type4, par4, sync)
#define RETURN_METHOD_ARG5(klass, type, method, type1, par1, type2, par2, type3, par3, type4, par4, type5, par5)
#define VOID_METHOD_ARG8(klass, method, type1, par1, type2, par2, type3, par3, type4, par4, type5, par5, type6, par6, type7, par7, type8, par8, sync)
#define VOID_METHOD_ARG2(klass, method, type1, par1, type2, par2, sync)
#define VOID_METHOD_ARG7(klass, method, type1, par1, type2, par2, type3, par3, type4, par4, type5, par5, type6, par6, type7, par7, sync)
#define RETURN_METHOD_ARG1(klass, type, method, type1, par1)
static TVirtualX * fgRealObject
Bool_t CheckEvent(Window_t id, EGEventType type, Event_t &ev) override
Check if there is for window "id" an event of type "type".
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...
Window_t GetParent(Window_t id) const override
might be thread unsafe (?)
void SendEvent(Window_t id, Event_t *ev) override
Send event ev to window id.
void CloseDisplay() override
Closes connection to display server and destroys all windows.
Window_t GetCurrentWindow() const override
Return a pointer to the current window.
Int_t EventsPending() override
Return number of pending events.
Bool_t IsCmdThread() const override
Return kTRUE if we are inside cmd/server thread.
static TVirtualX * RealObject()
void NextEvent(Event_t &event) override
Process next event in the queue - if any.
Semi-Abstract base class defining a generic interface to the underlying, low level,...
Graphics context structure.
Point structure (maps to the X11 XPoint structure).
Rectangle structure (maps to the X11 XRectangle structure).
Used for drawing line segments (maps to the X11 XSegments structure).
Attributes that can be used when creating or changing a window.
Window attributes that can be inquired.
lv DrawLine(0.33, 0.0, 0.33, 1.0)