SimpleMenu.cpp
/*      Function Name: Realize
 *      Description: Realizes the widget.
 *      Arguments: w - the simple menu widget.
 *                 mask - value mask for the window to create.
 *                 attrs - attributes for the window to create.
 *      Returns: none
 */
Function Name: Realize
Description: Realizes the widget.
Arguments: w - the simple menu widget.
mask - value mask for the window to create.
attrs - attributes for the window to create.
Returns: none
Function Name : Realize Description : Realizes the widget . Arguments : w - the simple menu widget . mask - value mask for the window to create . attrs - attributes for the window to create . Returns : none
static void
Realize(Widget w, XtValueMask *mask, XSetWindowAttributes *attrs)
{
    SimpleMenuWidget smw = (SimpleMenuWidget) w;
    attrs->cursor = smw->simple_menu.cursor;
    *mask |= CWCursor;
    if ((smw->simple_menu.backing_store == Always) ||
	(smw->simple_menu.backing_store == NotUseful) ||
	(smw->simple_menu.backing_store == WhenMapped) ) {
	*mask |= CWBackingStore;
	attrs->backing_store = smw->simple_menu.backing_store;
    }
    else
	*mask &= ~CWBackingStore;
    (*superclass->core_class.realize) (w, mask, attrs);
}
static void Realize ( Widget w , XtValueMask * mask , XSetWindowAttributes * attrs ) { SimpleMenuWidget smw = ( SimpleMenuWidget ) w ; attrs -> cursor = smw -> simple_menu . cursor ; * mask |= CWCursor ; if ( ( smw -> simple_menu . backing_store == Always ) || ( smw -> simple_menu . backing_store == NotUseful ) || ( smw -> simple_menu . backing_store == WhenMapped ) ) { * mask |= CWBackingStore ; attrs -> backing_store = smw -> simple_menu . backing_store ; } else * mask &= ~ CWBackingStore ; ( * superclass -> core_class . realize ) ( w , mask , attrs ) ; }
Function Name: Realize
      Description: Realizes the widget.
Function Name : Realize Description : Realizes the widget .