Lines Matching defs:preferred
415 Boolean query; /* query child's preferred geom? */
444 XtWidgetGeometry preferred;
471 preferred.width = child->core.width;
472 preferred.height = child->core.height;
477 (void) XtQueryGeometry( child, &intended, &preferred );
478 if ( !(preferred.request_mode & CWWidth) )
479 preferred.width = intended.width;
480 if ( !(preferred.request_mode & CWHeight) )
481 preferred.height = intended.height;
492 if (w->viewport.allowhoriz && preferred.width > clip_width) { \
502 intended.width = preferred.width; \
506 if (w->viewport.allowvert && preferred.height > clip_height) {
516 intended.height = preferred.height;
518 if (!w->viewport.allowhoriz || preferred.width < clip_width) {
522 if (!w->viewport.allowvert || preferred.height < clip_height) {
621 XtWidgetGeometry preferred;
650 XtQueryGeometry( child, intended, &preferred );
653 if ( preferred.request_mode & CWWidth )
654 intended->width = preferred.width;
659 if ( preferred.request_mode & CWHeight )
660 intended->height = preferred.height;