Tk_DrawFocusHighlight(3T)k

Tk_DrawFocusHighlight(3T)k

Tk_DrawChars Home Page Subroutines Index Tk_DrawTextLayout


_________________________________________________________________

NAME
       Tk_DrawFocusHighlight  - draw the traversal highlight ring
       for a widget

SYNOPSIS
       #include <<tk.h>>

       Tk_GetPixels(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  high-
                                         light.

       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  typi-
       cally invoked by widgets during redisplay.

KEYWORDS
       focus, traversal highlight

Tk_DrawChars Home Page Subroutines Index Tk_DrawTextLayout