565 " |
565 " |
566 |
566 |
567 <resource: #canvas> |
567 <resource: #canvas> |
568 |
568 |
569 ^ |
569 ^ |
570 #(FullSpec |
570 #(FullSpec |
571 name: standardButtons |
571 name: standardButtons |
572 window: |
572 window: |
573 (WindowSpec |
573 (WindowSpec |
574 label: 'Buttons' |
574 label: 'Buttons' |
575 name: 'Buttons' |
575 name: 'Buttons' |
576 min: (Point 10 10) |
576 min: (Point 10 10) |
577 bounds: (Rectangle 0 0 440 196) |
577 bounds: (Rectangle 0 0 440 196) |
578 ) |
578 ) |
579 component: |
579 component: |
580 (SpecCollection |
580 (SpecCollection |
581 collection: ( |
581 collection: ( |
582 (ActionButtonSpec |
582 (ActionButtonSpec |
583 label: 'Button' |
583 label: 'Button' |
584 name: 'Button' |
584 name: 'Button' |
585 layout: (LayoutFrame 2 0 1 0 127 0 23 0) |
585 layout: (LayoutFrame 2 0 1 0 127 0 23 0) |
586 translateLabel: true |
586 ) |
587 ) |
587 (ActionButtonSpec |
588 (ActionButtonSpec |
588 label: 'OK' |
589 label: 'OK' |
589 name: 'Button - OK' |
590 name: 'Button - OK' |
590 layout: (LayoutFrame 2 0 33 0 127 0 55 0) |
591 layout: (LayoutFrame 2 0 33 0 127 0 55 0) |
591 translateLabel: true |
592 translateLabel: true |
592 model: doAccept |
593 model: doAccept |
593 ) |
594 ) |
594 (ActionButtonSpec |
595 (ActionButtonSpec |
595 label: 'Cancel' |
596 label: 'Cancel' |
596 name: 'Button - Cancel' |
597 name: 'Button - Cancel' |
597 layout: (LayoutFrame 2 0 65 0 127 0 87 0) |
598 layout: (LayoutFrame 2 0 65 0 127 0 87 0) |
598 translateLabel: true |
599 translateLabel: true |
599 model: doCancel |
600 model: doCancel |
600 ) |
601 ) |
601 (ActionButtonSpec |
602 (ActionButtonSpec |
602 label: 'Help' |
603 label: 'Help' |
603 name: 'Button - Help' |
604 name: 'Button - Help' |
604 layout: (LayoutFrame 2 0 97 0 127 0 119 0) |
605 layout: (LayoutFrame 2 0 97 0 127 0 119 0) |
605 translateLabel: true |
606 translateLabel: true |
606 model: help |
607 model: help |
607 ) |
608 ) |
608 (ActionButtonSpec |
609 (ActionButtonSpec |
609 label: 'Close' |
610 label: 'Close' |
610 name: 'Button - Close' |
611 name: 'Button - Close' |
611 layout: (LayoutFrame 2 0 129 0 127 0 151 0) |
612 layout: (LayoutFrame 2 0 129 0 127 0 151 0) |
612 translateLabel: true |
613 translateLabel: true |
613 model: closeRequest |
614 model: closeRequest |
614 ) |
615 ) |
615 (ToggleSpec |
616 (ToggleSpec |
616 label: 'Toggle' |
617 label: 'Toggle' |
617 name: 'Toggle' |
618 name: 'Toggle' |
618 layout: (LayoutFrame 144 0 1 0 280 0 23 0) |
619 layout: (LayoutFrame 144 0 1 0 280 0 23 0) |
619 isTriggerOnDown: true |
620 translateLabel: true |
620 lampColor: (Color 100.0 100.0 0.0) |
621 isTriggerOnDown: true |
621 ) |
622 lampColor: (Color 100.0 100.0 0.0) |
622 (RadioButtonSpec |
623 ) |
623 label: 'Radio Button' |
624 (RadioButtonSpec |
624 name: 'Radio Button' |
625 label: 'Radio Button' |
625 layout: (LayoutFrame 144 0.0 33 0 280 0 55 0) |
626 name: 'Radio Button' |
626 isTriggerOnDown: true |
627 layout: (LayoutFrame 144 0.0 33 0 280 0 55 0) |
627 ) |
628 translateLabel: true |
628 (CheckBoxSpec |
629 isTriggerOnDown: true |
629 label: 'Check Box' |
630 ) |
630 name: 'Check Box' |
631 (CheckBoxSpec |
631 layout: (LayoutFrame 142 0 65 0 278 0 87 0) |
632 label: 'Check Box' |
632 ) |
633 name: 'Check Box' |
633 (CheckToggleSpec |
634 layout: (LayoutFrame 144 0 65 0 280 0 87 0) |
634 name: 'Check Toggle' |
635 translateLabel: true |
635 layout: (LayoutOrigin 146 0 99 0) |
636 ) |
636 isTriggerOnDown: true |
637 (CheckToggleSpec |
637 showLamp: false |
638 name: 'Check Toggle' |
638 lampColor: (Color 100.0 100.0 0.0) |
639 layout: (LayoutOrigin 144 0 99 0) |
639 ) |
640 isTriggerOnDown: true |
640 (LabelSpec |
641 showLamp: false |
641 label: 'Check Toggle' |
642 lampColor: (Color 100.0 100.0 0.0) |
642 name: 'CheckToggleLabel' |
643 ) |
643 layout: (AlignmentOrigin 166 0 98 0 0 0) |
644 (LabelSpec |
644 resizeForLabel: true |
645 label: 'Check Toggle' |
645 adjust: left |
646 name: 'CheckToggleLabel' |
646 canUIDrag: false |
647 layout: (AlignmentOrigin 170 0 98 0 0 0) |
647 ) |
648 resizeForLabel: true |
648 (TriggerBoxSpec |
649 adjust: left |
649 label: 'Trigger Box' |
650 canUIDrag: false |
650 name: 'TriggerBox1' |
651 ) |
651 layout: (LayoutFrame 142 0 129 0 278 0 151 0) |
652 (ButtonSpec |
652 ) |
653 label: 'Model Button' |
653 (ButtonSpec |
654 name: 'Model Button' |
654 label: 'Model Button' |
655 layout: (LayoutFrame 296 0 1 0 432 0 23 0) |
655 name: 'Model Button' |
656 translateLabel: true |
656 layout: (LayoutFrame 296 0 1 0 432 0 23 0) |
657 ) |
657 ) |
658 (LabelSpec |
658 (LabelSpec |
659 label: 'Spin Button' |
659 label: 'Spin Button' |
660 name: 'UpDownButtonLabel' |
660 name: 'UpDownButtonLabel' |
661 layout: (AlignmentOrigin 348 0 35 0 0 0) |
661 layout: (AlignmentOrigin 348 0 35 0 0 0) |
662 resizeForLabel: true |
662 resizeForLabel: true |
663 adjust: left |
663 adjust: left |
664 canUIDrag: false |
664 canUIDrag: false |
665 ) |
665 ) |
666 (UpDownButtonSpec |
666 (UpDownButtonSpec |
667 name: 'UpDown Button' |
667 name: 'UpDown Button' |
668 layout: (LayoutFrame 296 0 33 0 341 0 55 0) |
668 layout: (LayoutFrame 296 0 33 0 341 0 55 0) |
669 orientation: horizontal |
669 orientation: horizontal |
670 ) |
670 ) |
671 (LabelSpec |
671 (LabelSpec |
672 label: 'Arrow Button' |
672 label: 'Arrow Button' |
673 name: 'ArrowButtonsLabel' |
673 name: 'ArrowButtonsLabel' |
674 layout: (AlignmentOrigin 348 0 69 0 0 0) |
674 layout: (AlignmentOrigin 348 0 69 0 0 0) |
675 resizeForLabel: true |
675 resizeForLabel: true |
676 adjust: left |
676 adjust: left |
677 canUIDrag: false |
677 canUIDrag: false |
678 ) |
678 ) |
679 (ArrowButtonSpec |
679 (ArrowButtonSpec |
680 name: 'Arrow Button' |
680 name: 'Arrow Button' |
681 layout: (LayoutFrame 296 0 65 0 318 0 87 0) |
681 layout: (LayoutFrame 296 0 65 0 318 0 87 0) |
682 isTriggerOnDown: true |
682 isTriggerOnDown: true |
683 direction: right |
683 direction: right |
684 ) |
684 ) |
685 (ActionButtonSpec |
685 (ActionButtonSpec |
686 label: '...' |
686 label: '...' |
687 name: 'Button1' |
687 name: 'Button1' |
688 layout: (LayoutFrame 0 0 160 0 20 0 182 0) |
688 layout: (LayoutFrame 2 0 160 0 22 0 182 0) |
689 translateLabel: true |
689 translateLabel: true |
690 model: someAction |
690 model: someAction |
691 ) |
691 ) |
692 ) |
692 ) |
693 |
693 |
694 ) |
694 ) |
695 ) |
695 ) |
696 ! |
696 ! |
697 |
697 |
698 standardEmbed |
698 standardEmbed |
699 "This resource specification was automatically generated |
699 "This resource specification was automatically generated |
700 by the UIPainter of ST/X." |
700 by the UIPainter of ST/X." |