Tk_DrawFocusHighlight(3tk)

Tk_DrawFocusHighlight3tk

Draw the traversal highlight ring for a widget

Usage

#include <tk.h>

Tk_DrawFocusHighlight(tkwin, gc, width, drawable)

    


    

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.


    


            

Overview

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

Keywords

focus, traversal highlight

Releases

18 releases since Debian 1.1 (Buzz); the text changed 8 times.

  1. 1.1–1.3
  2. 2.0–2.1
  3. 2.2
  4. 3.0–4.0
  5. 5.0
  6. 6.0
  7. 7
  8. 8–11
  9. 12–13

From tk8.6-doc 8.6.16-1 in Debian 13 (Trixie). Also shipped by tk9.0-doc. Parsed by carta from the page's man source.