/* Redisplay the contents of the widget, without first clearing it. */
void
-XtNoClearRefreshWidget (widget)
- Widget widget;
+XtNoClearRefreshWidget (Widget widget)
{
XEvent event;
* Apply a function to all the subwidgets of a given widget recursively.
*/
void
-XtApplyToWidgets (w, proc, arg)
- Widget w;
- XtApplyToWidgetsProc proc;
- XtPointer arg;
+XtApplyToWidgets (Widget w, XtApplyToWidgetsProc proc, XtPointer arg)
{
if (XtIsComposite (w))
{
int nkids = cw->composite.num_children;
Widget *kids = (Widget *) malloc (sizeof (Widget) * nkids);
int i;
- lwlib_bcopy ((char *) cw->composite.children, (char *) kids,
- sizeof (Widget) * nkids);
+ memcpy ((char *) kids, (char *) cw->composite.children,
+ sizeof (Widget) * nkids);
for (i = 0; i < nkids; i++)
/* This prevent us from using gadgets, why is it here? */
/* if (XtIsWidget (kids [i])) */
* Stop as soon as the function returns non NULL and returns this as a value.
*/
void *
-XtApplyUntilToWidgets (w, proc, arg)
- Widget w;
- XtApplyUntilToWidgetsProc proc;
- XtPointer arg;
+XtApplyUntilToWidgets (Widget w, XtApplyUntilToWidgetsProc proc, XtPointer arg)
{
void* result;
if (XtIsComposite (w))
* Returns a copy of the list of all children of a composite widget
*/
Widget *
-XtCompositeChildren (widget, number)
- Widget widget;
- unsigned int* number;
+XtCompositeChildren (Widget widget, unsigned int *number)
{
CompositeWidget cw = (CompositeWidget)widget;
Widget* result;
}
Boolean
-XtWidgetBeingDestroyedP (widget)
- Widget widget;
+XtWidgetBeingDestroyedP (Widget widget)
{
return widget->core.being_destroyed;
}
void
-XtSafelyDestroyWidget (widget)
- Widget widget;
+XtSafelyDestroyWidget (Widget widget)
{
#if 0