File: cursor.man

package info (click to toggle)
tklib 0.6%2B20190108-1
  • links: PTS, VCS
  • area: main
  • in suites: buster
  • size: 15,008 kB
  • sloc: tcl: 75,757; sh: 5,789; ansic: 792; pascal: 359; makefile: 70; sed: 53; exp: 21
file content (44 lines) | stat: -rw-r--r-- 1,305 bytes parent folder | download | duplicates (5)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
[comment {-*- tcl -*- doctools manpage}]
[manpage_begin cursor n 0.3.1]
[see_also cursors(n)]
[see_also options(n)]
[see_also Tk_GetCursor(3)]
[keywords cursor]
[copyright {Jeffrey Hobbs <jeff@hobbs.org>}]

[moddesc   {Tk cursor routines}]
[titledesc {Procedures to handle CURSOR data}]
[require Tk]
[require cursor [opt 0.3.1]]
[description]

The [package cursor] package provides commands to handle Tk cursors.

[section COMMANDS]

The following commands are available:

[list_begin definitions]

[call [cmd ::cursor::propagate] [arg widget] [arg cursor]]

Sets the cursor for the specified [arg widget] and all its descendants
to [arg cursor].

[call [cmd ::cursor::restore] [arg widget] [opt [arg cursor]]]

Restore the original or previously set cursor for the specified
[arg widget] and all its descendants.  If [arg cursor] is specified,
that will be used if on any widget that did not have a preset cursor
(set by a previous call to [cmd ::cursor::propagate]).

[call [cmd ::cursor::display] [opt [arg parent]]]

Pops up a dialog with a listbox containing all the cursor names.
Selecting a cursor name will display it in that dialog.  This is
simply for viewing any available cursors on the platform.

[list_end]
[vset CATEGORY cursor]
[include ../../support/devel/doc/feedback.inc]
[manpage_end]