PtScrollbarCallback

PtScrollbarCallback -- handle movement callback information.

Synopsis

class PtScrollbarCallback
{
    action;      // unsigned integer
    position;    // integer
}
		

Description

This class holds information from Pt_CB_SCROLL_MOVE (in PtScrollbar) as well as Pt_CB_SCROLLED_X and Pt_CB_SCROLLED_Y (in PtScrollArea). These callbacks are generated when the position of the handle of a scrollbar is changed.

Also see Pt_CB_SCROLL_MOVE in the PtScrollbar section, or Pt_CB_SCROLLED_X in the PtScrollArea section, of the Photon documentation.

Instance Variables

action

This instance variable monitors the action of the scrollbar handle, and takes one of the following values:

position

An integer specifying the position of the scrollbar handle.

Associated Classes

PtScrollbar, PtCallbackInfo

Copyright 1995-2002 by Cogent Real-Time Systems, Inc.