Changeset 1609
- Timestamp:
- Nov 3, 2009, 2:24:14 PM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/gui/scripts/xyprint.tcl
r1608 r1609 528 528 -textvariable [itcl::scope _settings($this-layout-width)] 529 529 bind $page.width <KeyPress-Return> [itcl::code $this ApplyLayoutSettings] 530 Rappture::Tooltip::for $page.width \ 531 "Set the width (inches) of the output image. Must be a positive number." 530 532 531 533 label $page.height_l -text "height" … … 533 535 -textvariable [itcl::scope _settings($this-layout-height)] 534 536 bind $page.height <KeyPress-Return> [itcl::code $this ApplyLayoutSettings] 537 Rappture::Tooltip::for $page.height \ 538 "Set the height (inches) of the output image. Must be a positive number" 535 539 536 540 label $page.margin_l -text "Margins" … … 540 544 -textvariable [itcl::scope _settings($this-layout-leftmargin)] 541 545 bind $page.left <KeyPress-Return> [itcl::code $this ApplyLayoutSettings] 546 Rappture::Tooltip::for $page.left \ 547 "Set the size (inches) of the left margin. If zero, the size is automatically determined." 542 548 543 549 label $page.right_l -text "right" … … 545 551 -textvariable [itcl::scope _settings($this-layout-rightmargin)] 546 552 bind $page.right <KeyPress-Return> [itcl::code $this ApplyLayoutSettings] 553 Rappture::Tooltip::for $page.right \ 554 "Set the size (inches) of the right margin. If zero, the size is automatically determined." 555 547 556 548 557 label $page.top_l -text "top" … … 550 559 -textvariable [itcl::scope _settings($this-layout-topmargin)] 551 560 bind $page.top <KeyPress-Return> [itcl::code $this ApplyLayoutSettings] 561 Rappture::Tooltip::for $page.top \ 562 "Set the size (inches) of the top margin. If zero, the size is automatically determined." 552 563 553 564 label $page.bottom_l -text "bottom" … … 555 566 -textvariable [itcl::scope _settings($this-layout-bottommargin)] 556 567 bind $page.bottom <KeyPress-Return> [itcl::code $this ApplyLayoutSettings] 568 Rappture::Tooltip::for $page.bottom \ 569 "Set the size (inches) of the bottom margin. If zero, the size is automatically determined." 557 570 558 571 blt::table $page \ … … 594 607 595 608 bind $page.format <<Value>> [itcl::code $this ApplyGeneralSettings] 609 Rappture::Tooltip::for $page.format \ 610 "Set the format of the image." 596 611 597 612 label $page.style_l -text "style" … … 601 616 "gekco" "G Klimeck" 602 617 bind $page.style <<Value>> [itcl::code $this ApplyGeneralSettings] 618 Rappture::Tooltip::for $page.format \ 619 "Set the style template." 603 620 604 621 checkbutton $page.remember -text "remember settings" \ 605 622 -variable [itcl::scope _settings($this-general-remember)] 623 Rappture::Tooltip::for $page.remember \ 624 "Remember the settings. They will be override the default settings." 606 625 607 626 blt::table $page \ … … 639 658 -variable [itcl::scope _settings($this-legend-hide)] \ 640 659 -command [itcl::code $this ApplyLegendSettings] 660 Rappture::Tooltip::for $page.show \ 661 "Display the legend." 641 662 642 663 label $page.position_l -text "position" … … 649 670 "plotarea" "inside plot" 650 671 bind $page.position <<Value>> [itcl::code $this ApplyLegendSettings] 672 Rappture::Tooltip::for $page.position \ 673 "Set the position of the legend. This option and the anchor determine the legend's location." 651 674 652 675 Rappture::Combobox $page.anchor -width 10 -editable no … … 662 685 "w" "west" 663 686 bind $page.anchor <<Value>> [itcl::code $this ApplyLegendSettings] 687 Rappture::Tooltip::for $page.anchor \ 688 "Set the anchor of the legend. This option and the anchor determine the legend's location." 664 689 665 690 checkbutton $page.border -text "border" \ … … 668 693 -onvalue 1 -offvalue 0 \ 669 694 -command [itcl::code $this ApplyLegendSettings] 695 Rappture::Tooltip::for $page.border \ 696 "Display a solid border around the legend." 670 697 671 698 label $page.slider_l -text "legend\nentry" -font "Arial 10" -justify right … … 675 702 -command [itcl::code $this GetElement] 676 703 } 677 checkbutton $page.hide -text "hide" \ 678 -font "Arial 10" \ 679 -variable [itcl::scope _settings($this-element-hide)] \ 680 -command [itcl::code $this ApplyElementSettings] 704 Rappture::Tooltip::for $page.slider \ 705 "Select the current entry." 681 706 682 707 label $page.label_l -text "label" -font "Arial 10" … … 686 711 -textvariable [itcl::scope _settings($this-element-label)] 687 712 bind $page.label <KeyPress-Return> [itcl::code $this ApplyElementSettings] 713 Rappture::Tooltip::for $page.label \ 714 "Set the label of the current entry in the legend." 688 715 689 716 label $page.color_l -text "color " -font "Arial 10" … … 709 736 "#00ff00" "green1" 710 737 bind $page.color <<Value>> [itcl::code $this ApplyElementSettings] 738 Rappture::Tooltip::for $page.color \ 739 "Set the color of the current entry." 711 740 712 741 label $page.dashes_l -text "line style" -font "Arial 10" … … 719 748 "2 4 2 2" "dashdotdot" 720 749 bind $page.dashes <<Value>> [itcl::code $this ApplyElementSettings] 750 Rappture::Tooltip::for $page.dashes \ 751 "Set the line style of the current entry." 721 752 722 753 label $page.symbol_l -text "symbol" -font "Arial 10" … … 733 764 "triangle" "triangle" 734 765 bind $page.symbol <<Value>> [itcl::code $this ApplyElementSettings] 766 Rappture::Tooltip::for $page.symbol \ 767 "Set the symbol of the current entry. \"none\" display no symbols." 735 768 736 769 label $page.font_l -text "font" … … 743 776 "times" "times" 744 777 bind $page.fontfamily <<Value>> [itcl::code $this ApplyLegendSettings] 778 Rappture::Tooltip::for $page.fontfamily \ 779 "Set the font of entries in the legend." 745 780 746 781 Rappture::Combobox $page.fontsize -width 4 -editable no … … 756 791 "20" "20" 757 792 bind $page.fontsize <<Value>> [itcl::code $this ApplyLegendSettings] 793 Rappture::Tooltip::for $page.fontsize \ 794 "Set the size (points) of the font." 758 795 759 796 Rappture::PushButton $page.fontweight \ … … 764 801 -command [itcl::code $this ApplyLegendSettings] \ 765 802 -variable [itcl::scope _settings($this-legend-font-weight)] 803 Rappture::Tooltip::for $page.fontweight \ 804 "Use the bold version of the font." 766 805 767 806 Rappture::PushButton $page.fontslant \ … … 772 811 -command [itcl::code $this ApplyLegendSettings] \ 773 812 -variable [itcl::scope _settings($this-legend-font-slant)] 813 Rappture::Tooltip::for $page.fontslant \ 814 "Use the italic version of the font." 774 815 775 816 blt::table $page \ … … 813 854 } 814 855 bind $itk_component(axis_combo) <<Value>> [itcl::code $this GetAxis] 856 Rappture::Tooltip::for $page.axis \ 857 "Select the current axis." 815 858 816 859 label $page.title_l -text "title" -font "Arial 10" … … 818 861 -textvariable [itcl::scope _settings($this-axis-title)] 819 862 bind $page.title <KeyPress-Return> [itcl::code $this ApplyAxisSettings] 863 Rappture::Tooltip::for $page.title \ 864 "Set the title of the current axis." 820 865 821 866 label $page.min_l -text "min" -font "Arial 10" … … 823 868 -textvariable [itcl::scope _settings($this-axis-min)] 824 869 bind $page.min <KeyPress-Return> [itcl::code $this ApplyAxisSettings] 870 Rappture::Tooltip::for $page.min \ 871 "Set the minimum limit for the current axis. If empty, the minimum is automatically determined." 825 872 826 873 label $page.max_l -text "max" -font "Arial 10" … … 828 875 -textvariable [itcl::scope _settings($this-axis-max)] 829 876 bind $page.max <KeyPress-Return> [itcl::code $this ApplyAxisSettings] 877 Rappture::Tooltip::for $page.max \ 878 "Set the maximum limit for the current axis. If empty, the maximum is automatically determined." 830 879 831 880 label $page.subdivisions_l -text "subdivisions" -font "Arial 10" … … 834 883 bind $page.subdivisions <KeyPress-Return> \ 835 884 [itcl::code $this ApplyAxisSettings] 885 Rappture::Tooltip::for $page.subdivisions \ 886 "Set the number of subdivisions (minor ticks) for the current axis." 836 887 837 888 label $page.stepsize_l -text "step size" -font "Arial 10" … … 839 890 -textvariable [itcl::scope _settings($this-axis-stepsize)] 840 891 bind $page.stepsize <KeyPress-Return> [itcl::code $this ApplyAxisSettings] 892 Rappture::Tooltip::for $page.stepsize \ 893 "Set the interval between major ticks for the current axis. If zero, the interval is automatically determined." 841 894 842 895 checkbutton $page.loose -text "loose limits" \ … … 844 897 -variable [itcl::scope _settings($this-axis-loose)] \ 845 898 -command [itcl::code $this ApplyAxisSettings] 899 Rappture::Tooltip::for $page.loose \ 900 "Set major ticks outside of the limits for the current axis." 846 901 847 902 label $page.plotpad_l -text "pad" … … 849 904 -textvariable [itcl::scope _settings($this-axis-plotpad)] 850 905 bind $page.plotpad <KeyPress-Return> [itcl::code $this ApplyAxisSettings] 906 Rappture::Tooltip::for $page.plotpad \ 907 "Set padding (points) between the current axis and the plot." 851 908 852 909 checkbutton $page.grid -text "show grid lines" \ 853 910 -variable [itcl::scope _settings($this-axis-grid)] \ 854 911 -command [itcl::code $this ApplyAxisSettings] 912 Rappture::Tooltip::for $page.grid \ 913 "Display grid lines for the current axis." 855 914 856 915 checkbutton $page.zero -text "mark zero" \ … … 858 917 -variable [itcl::scope _settings($this-axis-zero)] \ 859 918 -command [itcl::code $this ApplyAxisSettings] 919 Rappture::Tooltip::for $page.zero \ 920 "Display a line at zero for the current axis." 860 921 861 922 label $page.tickfont_l -text "tick font" … … 868 929 "times" "times" 869 930 bind $page.tickfontfamily <<Value>> [itcl::code $this ApplyAxisSettings] 931 Rappture::Tooltip::for $page.tickfontfamily \ 932 "Set the font of the ticks for the current axis." 870 933 871 934 Rappture::Combobox $page.tickfontsize -width 4 -editable no … … 881 944 "20" "20" 882 945 bind $page.tickfontsize <<Value>> [itcl::code $this ApplyAxisSettings] 946 Rappture::Tooltip::for $page.tickfontsize \ 947 "Set the size (points) of the tick font." 883 948 884 949 Rappture::PushButton $page.tickfontweight \ … … 889 954 -command [itcl::code $this ApplyAxisSettings] \ 890 955 -variable [itcl::scope _settings($this-axis-tickfont-weight)] 956 Rappture::Tooltip::for $page.tickfontweight \ 957 "Use the bold version of the tick font." 891 958 892 959 Rappture::PushButton $page.tickfontslant \ … … 897 964 -command [itcl::code $this ApplyAxisSettings] \ 898 965 -variable [itcl::scope _settings($this-axis-tickfont-slant)] 966 Rappture::Tooltip::for $page.tickfontslant \ 967 "Use the italic version of the tick font." 899 968 900 969 label $page.titlefont_l -text "title font" … … 907 976 "times" "times" 908 977 bind $page.titlefontfamily <<Value>> [itcl::code $this ApplyAxisSettings] 978 Rappture::Tooltip::for $page.titlefontfamily \ 979 "Set the font of the title for the current axis." 909 980 910 981 Rappture::Combobox $page.titlefontsize -width 4 -editable no … … 920 991 "20" "20" 921 992 bind $page.tickfontsize <<Value>> [itcl::code $this ApplyAxisSettings] 993 Rappture::Tooltip::for $page.titlefontsize \ 994 "Set the size (point) of the title font." 922 995 923 996 Rappture::PushButton $page.titlefontweight \ … … 928 1001 -command [itcl::code $this ApplyAxisSettings] \ 929 1002 -variable [itcl::scope _settings($this-axis-titlefont-weight)] 1003 Rappture::Tooltip::for $page.titlefontweight \ 1004 "Use the bold version of the title font." 930 1005 931 1006 Rappture::PushButton $page.titlefontslant \ … … 936 1011 -command [itcl::code $this ApplyAxisSettings] \ 937 1012 -variable [itcl::scope _settings($this-axis-titlefont-slant)] 1013 Rappture::Tooltip::for $page.titlefontslant \ 1014 "Use the italic version of the title font." 938 1015 939 1016 blt::table $page \
Note: See TracChangeset
for help on using the changeset viewer.