Advanced Search
Mail us
Home    Manuel    Links    Faq     Some examples tcl/tk codes     Man of Bwidget with screenshot     Man of blt with screenshot


Tk_DrawFocusHighlight - draw the traversal highlight ring for a widget


#include <tk.h>
Tk_GetPixels(tkwin, gc, width, drawable)


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.


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


focus, traversal highlight
Copyright © 1995-1996 Sun Microsystems, Inc.
Copyright © 1995-1997 Roger E. Critchlow Jr.
Erreur (1146) : Table 'tcltk.tcltksamplemancode' doesn't exist

Add a code sample :

Please enter your name and your email ( the I could thank's you ). Don't enter html code in the text area If you have any problem email me at this adress
 Your name    
 Your email    
 Your example