[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.

   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;

   SEE ALSO
        intuition.library/beginrefresh()