Handbook
Glossary
mods<< ( value object -- )
Vocabulary
accessors
Inputs
value
an
object
object
an
object
Outputs
None
Definition
IN:
accessors
GENERIC:
mods<<
( value object -- )
Methods
USING:
accessors
classes.struct
classes.struct.private
x11.xinput2.ffi
;
M:
XIDeviceEvent
mods<<
T{
struct-slot-spec
{
name
"mods"
}
{
offset 168
}
{
class
XIModifierState
}
{
initial
S{
XIModifierState
{
base 0
}
{
latched 0
}
{
locked 0
}
{
effective 0
}
}
}
{
type
XIModifierState
}
}
write-struct-slot
;
inline
USING:
accessors
classes.struct
classes.struct.private
x11.xinput2.ffi
;
M:
XIEnterEvent
mods<<
T{
struct-slot-spec
{
name
"mods"
}
{
offset 152
}
{
class
XIModifierState
}
{
initial
S{
XIModifierState
{
base 0
}
{
latched 0
}
{
locked 0
}
{
effective 0
}
}
}
{
type
XIModifierState
}
}
write-struct-slot
;
inline
USING:
accessors
slots.private
ui.gestures
;
M:
button-down
mods<<
2
set-slot
;
inline
USING:
accessors
slots.private
ui.gestures
;
M:
button-up
mods<<
2
set-slot
;
inline
USING:
accessors
slots.private
ui.gestures
;
M:
file-drop
mods<<
2
set-slot
;
inline
USING:
accessors
slots.private
ui.gestures
;
M:
key-gesture
mods<<
2
set-slot
;
inline