Handbook
Glossary
XButtonEvent
Vocabulary
x11
.
xlib
Definition
USING:
alien.c-types
classes.struct
x11.X
;
IN:
x11.xlib
STRUCT:
XButtonEvent
{
type
int
initial:
0
}
{
serial
ulong
initial:
0
}
{
send_event
Bool
initial:
0
}
{
display Display*
}
{
window
Window
initial:
0
}
{
root
Window
initial:
0
}
{
subwindow
Window
initial:
0
}
{
time
Time
initial:
0
}
{
x
int
initial:
0
}
{
y
int
initial:
0
}
{
x_root
int
initial:
0
}
{
y_root
int
initial:
0
}
{
state
uint
initial:
0
}
{
button
uint
initial:
0
}
{
same_screen
Bool
initial:
0
}
;
Methods
USING:
classes.struct
classes.struct.private
kernel
x11.xlib
;
M:
XButtonEvent
clone
clone-underlying
\
XButtonEvent
memory>struct
;
inline
USING:
accessors
classes.struct
combinators.smart
x11.xlib
;
M:
XButtonEvent
struct-slot-values
{
[
type>>
]
[
serial>>
]
[
send_event>>
]
[
display>>
]
[
window>>
]
[
root>>
]
[
subwindow>>
]
[
time>>
]
[
x>>
]
[
y>>
]
[
x_root>>
]
[
y_root>>
]
[
state>>
]
[
button>>
]
[
same_screen>>
]
}
cleave>array
;
inline