Debian Codegraph @

pod/pTk/DrawFocHlt.pod

raw
1 # Copyright (c) 1995-1996 Sun Microsystems, Inc.
2 # See the file "license.terms" for information on usage and redistribution
3 # of this file, and for a DISCLAIMER OF ALL WARRANTIES.
4 #
5 #
6
7 =head1 NAME
8
9 Tk_DrawFocusHighlight - draw the traversal highlight ring for a widget
10
11 =for category C Programming
12
13 =head1 SYNOPSIS
14
15 B<#include E<lt>tk.hE<gt>>
16
17 B<Tk_GetPixels(>I<tkwin, gc, width, drawable>B<)>
18
19 =head1 ARGUMENTS
20
21 =over 4
22
23 =item Tk_Window tkwin (in)
24
25 Window for which the highlight is being drawn. Used to retrieve
26 the window's dimensions, among other things.
27
28 =item GC gc (in)
29
30 Graphics context to use for drawing the highlight.
31
32 =item int width (in)
33
34 Width of the highlight ring, in pixels.
35
36 =item Drawable drawable (in)
37
38 Drawable in which to draw the highlight; usually an offscreen
39 pixmap for double buffering.
40
41 =back
42
43 =head1 DESCRIPTION
44
45 B<Tk_DrawFocusHighlight> is a utility procedure that draws the
46 traversal highlight ring for a widget.
47 It is typically invoked by widgets during redisplay.
48
49 =head1 KEYWORDS
50
51 focus, traversal highlight