Tk\_DrawFocusHighlight(3) Tk Library Procedures Tk\_DrawFocusHighlight(3)

```

```

# [NAME](#NAME)

Tk\_DrawFocusHighlight - draw the traversal highlight ring for a widget

# [SYNOPSIS](#SYNOPSIS)

```
#include <tk.h>

Tk_DrawFocusHighlight(tkwin, gc, width, drawable)
```

# [ARGUMENTS](#ARGUMENTS)

Tk\_Window *tkwin* (in)

Window for which the highlight is being drawn. Used to retrieve the window's dimensions, among other things.

GC *gc* (in)

Graphics context to use for drawing the highlight.

int *width* (in)

Width of the highlight ring, in pixels.

Drawable *drawable* (in)

Drawable in which to draw the highlight; usually an offscreen pixmap for double buffering.

```
    
```

# [DESCRIPTION](#DESCRIPTION)

**Tk\_DrawFocusHighlight** is a utility procedure that draws the traversal highlight ring for a widget. It is typically invoked by widgets during redisplay.

# [KEYWORDS](#KEYWORDS)

focus, traversal highlight

4.0 Tk

---

Document: Tk_DrawFocusHighlight(3) from tk 9.1.0-r0 (Chainguard OS)
Source: https://downloads.sourceforge.net/sourceforge/tcl/tk9.1.0-src.tar.gz
