Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
Benjamin Jakimow
EO Time Series Viewer
Commits
72877715
Commit
72877715
authored
Apr 12, 2012
by
Luke Campagnola
Browse files
docstring update
parent
41ada931
Changes
1
Hide whitespace changes
Inline
Side-by-side
examples/JoystickButton.py
View file @
72877715
# -*- coding: utf-8 -*-
# -*- coding: utf-8 -*-
"""
## Display an animated arrowhead following a curve.
JoystickButton is a button with x/y values. When the button is depressed and the mouse dragged, the x/y values change to follow the mouse.
## This example uses the CurveArrow class, which is a combination
When the mouse button is released, the x/y values change to 0,0 (rather like litting go of the joystick).
## of ArrowItem and CurvePoint.
"""
##
## To place a static arrow anywhere in a scene, use ArrowItem.
## To attach other types of item to a curve, use CurvePoint.
import
initExample
## Add path to library (just for examples; you do not need this)
import
initExample
## Add path to library (just for examples; you do not need this)
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment