Museum

Home

Lab Overview

Retrotechnology Articles

⇒ Online Manual

Media Vault

Software Library

Restoration Projects

Artifacts Sought

DXmSvnAutoScrollCheck(3X)  —  Subroutines

Digital

NAME

DXmSvnAutoScrollCheck − Controls whether the DxmSvnAutoScrollDisplay routine should be called. 

SYNOPSIS

int DXmSvnAutoScrollCheck (widget, x, y)
   Widget widget;
   int   x;
   int   y;

DESCRIPTION

The DXmSvnAutoScrollCheck routine determines whether the cursor is currently in an area where automatic scrolling (initiated when the user moves an entry outside the window) can occur. This routine returns True if the cursor is in such an area and if there are no entries displayed in that direction. The application should call the DXmSvnAutoScrollDisplay routine if this routine returns True.  Use this routine if your application controls the dragging operations (using the DXmSvnSetApplDragging routine). 

Arguments

widgetThe identifier (widget ID) of the SVN widget. 

xAn integer that represents the x location of the cursor relative to the upper-left corner of the SVN window. 

yAn integer that represents the y location of the cursor relative to the upper-left corner of the SVN window. 

RETURN VALUES

An integer that indicates whether the DxmSvnAutoScrollDisplay routine will be called, as follows:

Value Description
0 (False) DxmSvnAutoScrollDisplay will not be called. 
1 (True) DxmSvnAutoScrollDisplay will be called. 

RELATED INFORMATION

DXmSvnSetApplDragging, and DXmSvnAutoScrollDisplay. 

Typewritten Software • bear@typewritten.org • Edmonds, WA 98026