Handbook
Glossary
clickable? ( object -- ? )
Vocabulary
ui
.
tools
.
button-list
Inputs and outputs
object
an
object
?
a
boolean
Word description
Tests if the object is an instance of the
clickable
class.
Definition
USING:
classes.tuple.private
kernel
math.private
slots.private
ui.gadgets.buttons
;
IN:
ui.tools.button-list
:
clickable?
( object -- ? )
dup
tuple?
[
layout-of
dup
1
slot
15
fixnum>=
[
15
slot
\
button
eq?
]
[
drop
f
]
if
]
[
drop
f
]
if
;