Add XfeIsPrivateComponent().

Test whether a widget is a private component of an XfeManager parent.
This commit is contained in:
ramiro 1998-04-21 17:57:20 +00:00
parent 1ce33d0f6f
commit b49bcefbdc
2 changed files with 22 additions and 0 deletions

View File

@ -633,3 +633,17 @@ XfeEventGetModifiers(XEvent * event)
return 0;
}
/*----------------------------------------------------------------------*/
/*----------------------------------------------------------------------*/
/* */
/* Test whether a widget is a private component of an XfeManager parent */
/* */
/*----------------------------------------------------------------------*/
/* extern */ Boolean
XfeIsPrivateComponent(Widget w)
{
return (XfeIsManager(_XfeParent(w)) &&
_XfeManagerPrivateComponent(w));
}
/*----------------------------------------------------------------------*/

View File

@ -417,6 +417,14 @@ extern Modifiers
XfeEventGetModifiers (XEvent * event);
/*----------------------------------------------------------------------*/
/*----------------------------------------------------------------------*/
/* */
/* Test whether a widget is a private component of an XfeManager parent */
/* */
/*----------------------------------------------------------------------*/
extern Boolean XfeIsPrivateComponent (Widget w);
/*----------------------------------------------------------------------*/
#ifdef __cplusplus /* end C++ */
}
#endif