| Top |
| void | visu_node_mover_setNodes () |
| const GArray * | visu_node_mover_getNodes () |
| void | visu_node_mover_apply () |
| void | visu_node_mover_animate () |
| void | visu_node_mover_push () |
| void | visu_node_mover_undo () |
| gfloat | completion | Read / Write |
| GArray * | ids | Read / Write |
| VisuNodeArray * | nodes | Read / Write |
| guint | undo-stack-depth | Read |
| gboolean | valid | Read |
GObject ╰── ToolDbgObj ╰── VisuNodeMover ├── VisuNodeMoverRotation ╰── VisuNodeMoverTranslation
This is a base class to define geometry modifications with an
undo stack. The geometry modifications can be animated with
visu_node_mover_animate() or applied immediately with
visu_node_mover_apply().
void visu_node_mover_setNodes (VisuNodeMover *mover,GArray *ids);
Defines the nodes that will be affected by the modification in mover
.
Since: 3.8
const GArray *
visu_node_mover_getNodes (const VisuNodeMover *mover);
Retrieves the node ids impacted by mover
.
Since: 3.8
void
visu_node_mover_apply (VisuNodeMover *mover);
Apply the modification defined by mover
. To animate the
transition, use visu_node_mover_animate().
Since: 3.8
void
visu_node_mover_animate (VisuNodeMover *mover);
Starts the animation defined by mover
. For an application of the
change without animation, use visu_node_mover_apply().
Since: 3.8
void
visu_node_mover_push (VisuNodeMover *mover);
Push the current modification on the undo stack without actually doing the modification.
Since: 3.8
void
visu_node_mover_undo (VisuNodeMover *mover);
Undo the last modification.
Since: 3.8
“completion” property“completion” gfloat
percentage of completion during animation.
Flags: Read / Write
Allowed values: [0,1]
Default value: 0
“undo-stack-depth” property“undo-stack-depth” guint
undo stack depth.
Flags: Read
Default value: 0
“valid” property“valid” gboolean
if mover parameters are valid.
Flags: Read
Default value: FALSE