File: MwTraverse.c

package info (click to toggle)
mowitz 0.2.0-1
  • links: PTS
  • area: main
  • in suites: woody
  • size: 4,168 kB
  • ctags: 4,214
  • sloc: ansic: 30,869; sh: 9,051; makefile: 169
file content (21 lines) | stat: -rw-r--r-- 752 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
/***************************************************************************/
/* 	This code is part of X-toolkit widget library called Nws 	   */
/*	Copyright (c) 1997,1998,1999 Ondrejicka Stefan			   */
/*	(ondrej@idata.sk)						   */
/*	Distributed under GPL 2 or later				   */
/***************************************************************************/

#include <X11/IntrinsicP.h>
#include "MwTraverse.h"
#include "MwBaseConstP.h"
#include "MwBaseCompP.h"

void MwSetTraverseDirection(w , where)
Widget w;
int where;
{
	if (XtIsSubclass(w , mwBaseCompWidgetClass))
		((MwBaseCompWidget)w)->baseComp.traverse_direction = where;
	else if (XtIsSubclass(w , mwBaseConstWidgetClass))
		((MwBaseConstWidget)w)->baseConst.traverse_direction = where;
}