1Tk_DrawFocusHighlight(3) Tk Library Procedures Tk_DrawFocusHighlight(3)
2
3
4
5______________________________________________________________________________
6
8 Tk_DrawFocusHighlight - draw the traversal highlight ring for a widget
9
11 #include <tk.h>
12
13 Tk_DrawFocusHighlight(tkwin, gc, width, drawable)
14
16 Tk_Window tkwin (in) Window for which the highlight is
17 being drawn. Used to retrieve the
18 window's dimensions, among other
19 things.
20
21 GC gc (in) Graphics context to use for drawing
22 the highlight.
23
24 int width (in) Width of the highlight ring, in pix‐
25 els.
26
27 Drawable drawable (in) Drawable in which to draw the high‐
28 light; usually an offscreen pixmap
29 for double buffering.
30_________________________________________________________________
31
32
34 Tk_DrawFocusHighlight is a utility procedure that draws the traversal
35 highlight ring for a widget. It is typically invoked by widgets during
36 redisplay.
37
38
40 focus, traversal highlight
41
42
43
44Tk 4.0 Tk_DrawFocusHighlight(3)