- Timestamp:
- Nov 10, 2016, 1:00:27 PM (10 years ago)
- Branches:
- 1941-docker-image-to-test, devel, master
- Children:
- 06f7d3d
- Parents:
- e933fd6
- File:
-
- 1 edited
-
tolbase/lib/toltk/sergraph.tcl (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
tolbase/lib/toltk/sergraph.tcl
re933fd6 ra762e01 645 645 # PARAMETERS: 646 646 # this -> Instance of BayesTable 647 # ts -> tabset in which options must be created647 # ts -> tabset (=>NoteBook) in which options must be created 648 648 # 649 649 #///////////////////////////////////////////////////////////////////////////// 650 650 #insertar tabset 651 $ts insert end Series 652 set f [frame $ts.f] 653 $ts tab configure "Series" -text "Series" -window $f\ 654 -fill both -padx 0 -selectbackground \#d9d9d9 -bg gray75 655 656 set w_tabset [::blt::tabset $f.ts -relief flat -highlightthickness 0\ 657 -bd 0 -outerpad 0 -tier 2 -slant right -textside right] 658 $w_tabset insert end DateFormat Axis X-Markers Y-Markers Legend 659 660 set f1 [frame $w_tabset.f1] 661 set f2 [frame $w_tabset.f2] 662 set f3 [frame $w_tabset.f3] 663 set f4 [frame $w_tabset.f4] 664 set f5 [frame $w_tabset.f5] 665 666 667 $w_tabset tab configure "DateFormat" -text [mc "Date Format"]\ 668 -window $f1 -fill both -padx 0 -selectbackground \#d9d9d9 -bg gray75 669 $w_tabset tab configure "Axis" -text [mc "Axis"] \ 670 -window $f2 -fill both -padx 0 -selectbackground \#d9d9d9 -bg gray75 671 $w_tabset tab configure "X-Markers" -text [mc "X-Markers"]\ 672 -window $f3 -fill both -padx 0 -selectbackground \#d9d9d9 -bg gray75 673 $w_tabset tab configure "Y-Markers" -text [mc "Y-Markers"]\ 674 -window $f4 -fill both -padx 0 -selectbackground \#d9d9d9 -bg gray75 675 $w_tabset tab configure "Legend" -text [mc "Legend"]\ 676 -window $f5 -fill both -padx 0 -selectbackground \#d9d9d9 -bg gray75 677 678 651 set num_i 1 652 set lab_i Series 653 $ts insert $num_i $lab_i -text " [mc $lab_i] " -background \#d9d9d9 654 set tab_i [$ts getframe $lab_i] 655 $tab_i configure -borderwidth 2 -background \#d9d9d9 656 set f [frame $tab_i.f] 657 pack $tab_i.f -fill both -expand yes 658 659 set w_tabset [NoteBook $f.nb -tabbevelsize 8 -tabpady {2 6} -font {Arial 8}] 660 set num_i 0 661 foreach lab_i [list "Date Format" Axis "X-Markers" "Y-Markers" Legend] { 662 $w_tabset insert $num_i $lab_i -text " [mc $lab_i] " -background \#d9d9d9 663 set tab_i [$w_tabset getframe $lab_i] 664 $tab_i configure -borderwidth 2 -background \#d9d9d9 665 incr num_i 666 set f$num_i [frame $tab_i.f] 667 pack $tab_i.f -fill both -expand yes 668 } 669 $w_tabset raise [$w_tabset pages 0] 670 679 671 OptionsGet $this 680 681 672 OptionsCreateDateFormat $this $f1 682 673 OptionsCreateAxis $this $f2 … … 689 680 OptionsSet $this 690 681 682 $w_tabset compute_size 691 683 grid $w_tabset -sticky news 692 684 grid rowconfigure $f 0 -weight 1
Note: See TracChangeset
for help on using the changeset viewer.
