nanogui ~master (2021-04-26T14:20:51Z)
Dub
Repo
Widget.mouseButtonEvent
nanogui
widget
Widget
Handle a mouse button event (default implementation: propagate to children)
class
Widget
bool
mouseButtonEvent
(
Vector2i
p
,
MouseButton
button
,
bool
down
,
int
modifiers
)
Meta
Source
See Implementation
nanogui
widget
Widget
constructors
this
destructors
~this
functions
absolutePosition
add
addChild
childAt
childCount
childIndex
children
contains
cursor
draw
enabled
findWidget
fixedHeight
fixedSize
fixedWidth
focusEvent
focused
fontSize
hasFontSize
height
iconExtraScale
icon_scale
id
keyboardCharacterEvent
keyboardEvent
layout
mouseButtonEvent
mouseDragEvent
mouseEnterEvent
mouseMotionEvent
parent
performLayout
position
preferredSize
removeChild
requestFocus
screen
scrollEvent
setId
size
theme
tooltip
visible
visibleRecursive
width
window
variables
mChildren
mCursor
mEnabled
mFixedSize
mFocused
mFontSize
mIconExtraScale
mId
mLayout
mMouseFocus
mParent
mPos
mSize
mTheme
mTooltip
mVisible
Handle a mouse button event (default implementation: propagate to children)