Ignore:
Timestamp:
Nov 10, 2016, 12:56:04 PM (10 years ago)
Author:
Pedro Gea <pgea@…>
Branches:
1941-docker-image-to-test, devel, master
Children:
a762e01
Parents:
0731938
Message:

Refs #1933
Se sustituyen los ::blt::tabset por NoteBook de BWidget. En total se sustituyeron 19 tabsets.
Se suspenden un par de widgets que parece que no se usan, y por tanto tampoco se les ha sustituido ::blt::tabset: bsersel, btab. bchilddetail tampoco parece usarse.
Se corrige un problem en InsertItem de tolinspe.

git-svn-id: ​https://www.tol-project.org/svn/tolp/trunk@7337 be4846ae-f051-483a-831f-b64e7d08527f

File:
1 edited

Legend:

Unmodified
Added
Removed
  • tolbase/lib/toltk/sertable.tcl

    r0731938 re933fd6  
    120120# PARAMETERS:
    121121#   this -> Instance of BayesTable
    122 #   ts   -> tabset in which options must be created
    123 #
    124 #/////////////////////////////////////////////////////////////////////////////
    125   #insertar tabset
    126   $ts insert end Series
    127   set f [frame $ts.f]
    128   $ts tab configure "Series" -text "Series" -window $f\
    129     -fill both -padx 0 -selectbackground \#d9d9d9 -bg gray75
    130 
    131   set w_tabset [::blt::tabset $f.ts -relief flat -highlightthickness 0\
    132                         -bd 0 -outerpad 0 -tier 2 -slant right -textside right]
    133   $w_tabset insert end DateFormat
    134   set f1 [frame $w_tabset.f1]
    135 
    136   $w_tabset tab configure "DateFormat" -text [mc "Date Format"]\
    137     -window $f1 -fill both -padx 0 -selectbackground \#d9d9d9 -bg gray75
     122#   ts   -> tabset (=>NoteBook) in which options must be created
     123#
     124#/////////////////////////////////////////////////////////////////////////////
     125  #insertar tabset   
     126  set num_i 1
     127  set lab_i Series
     128  $ts insert $num_i $lab_i -text "  [mc $lab_i]  " -background \#d9d9d9
     129  set tab_i [$ts getframe $lab_i]
     130  $tab_i configure -borderwidth 2 -background \#d9d9d9 
     131  set f [frame $tab_i.f]
     132  pack $tab_i.f -fill both -expand yes
     133   
     134  set w_tabset [NoteBook $f.nb -tabbevelsize 8 -tabpady {2 6} -font {Arial 8}]
     135  set num_i 0
     136  set lab_i "Date Format"
     137  $w_tabset insert $num_i $lab_i -text "  [mc $lab_i]  " -background \#d9d9d9
     138  set tab_i [$w_tabset getframe $lab_i]
     139  $tab_i configure -borderwidth 2 -background \#d9d9d9
     140  set f1 [frame $tab_i.f]
     141  pack $tab_i.f -fill both -expand yes 
     142  $w_tabset raise [$w_tabset pages 0]   
    138143
    139144  OptionsGet $this
    … …  
    142147  OptionsSet   $this
    143148
     149  $w_tabset compute_size
    144150  grid $w_tabset -sticky news 
    145151  grid rowconfigure    $f 0 -weight 1
Note: See TracChangeset for help on using the changeset viewer.