return ((CompositeWidget)widget)->composite.children [0];
}
-Boolean
-lw_motif_menu_related_event_p (event)
- XEvent event;
-{
- Widget widget = XtWindowToWidget (event.xkey.display,event.xkey.window);
- WidgetClass class = XtClass (widget);
- return
- class == xmMainWindowWidgetClass
- || class == xmRowColumnWidgetClass
- || class == xmMenuShellWidgetClass;
-}
-
Boolean
lw_motif_widget_p (widget)
Widget widget;
xm_manage_resizing (w, flag);
#endif
}
-
-/* Check to see if event should be ignored by Emacs */
-Boolean
-lw_toolkit_related_event_p (event)
- XEvent *event;
-{
-#if defined (USE_MOTIF)
- return lw_motif_menu_related_event_p (event);
-#else
- return False;
-#endif
-}
-