File: get-selection.help.tcl

package info (click to toggle)
din 5.2.1-6
  • links: PTS, VCS
  • area: main
  • in suites: bullseye, buster, sid
  • size: 2,200 kB
  • sloc: cpp: 9,369; sh: 6,563; ansic: 2,977; tcl: 1,770; makefile: 283
file content (16 lines) | stat: -rw-r--r-- 637 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
set get-selection(name) get-selection
set get-selection(short) gsel
set get-selection(purpose) {get list of selected vertices & tangents in a curve editor}
set get-selection(invoke) {get-selection OR gsel}
set get-selection(help) {
  format of list is:

  {curve-name what id x y}...{curve-name what id x y}...{curve-name what id x y}
}
set get-selection(examples) {
  get-selected ;# return list of selected vertices & tangents in curve editor
  ;# sample response:
    {L v 1 0 0} {L lt 1 0 0} {L rt 1 0 0}
  ;# 3 items selected
  ;# curve-name = L, what = v (vertex), lt (left tangent), rt (right tangent), id = 1,
  ;# x = 0, y = 0}