Home › Tk Library Procedures Tk
Tk_DrawFocusHighlight C API
Draw the traversal highlight ring for a widget
literal type exactly as shown
argument replace with your value
?optional? may be omitted
Synopsis#
#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.
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#
Copyright#
- Copyright © 1995-1996 Sun Microsystems, Inc