[Contents] [Index] [Help] [Retrace] [browse <] [Browse >]


NAME
    GT_BeginRefresh -- Begin refreshing friendly to GadTools. (V36)

SYNOPSIS
    GT_BeginRefresh(win)
                    A0

    VOID GT_BeginRefresh(struct window *);

FUNCTION
    Invokes the intuition.library/beginrefresh() function in a manner
    friendly to the gadget toolkit.  this function call permits the
    GadTools gadgets to refresh themselves at the correct time.
    Call gt_endrefresh() function when done.

INPUTS
    win - Pointer to window structure for which a idcmp_refreshwindow
        IDCMP event was received.

RESULT
    None.

EXAMPLE

NOTES
    The nature of GadTools precludes the use of the IDCMP flag
    WFLG_NOCAREREFRESH.  You must handle IDCMP_REFRESHWINDOW events
    in at least the minimal way, namely:

            case IDCMP_REFRESHWINDOW:
                GT_BeginRefresh(win);
                GT_EndRefresh(win, TRUE);
                break;

BUGS

SEE ALSO
    intuition.library/beginrefresh()