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/corgraph.tcl

    r0731938 re933fd6  
    259259# PARAMETERS:
    260260#   this -> Instance of BayesTable
    261 #   ts   -> tabset in which options must be created
     261#   ts   -> tabset (=>NoteBook) in which options must be created
    262262#
    263263#/////////////////////////////////////////////////////////////////////////////
    264264  ReadIniOpc $this
    265265  #insertar tabset
    266   $ts insert end Autocorrelation
    267   set f [frame $ts.f1]
    268   $ts tab configure "Autocorrelation" -text [mc "Autocorrelation"]\
    269       -window $f -fill both -padx 0 -selectbackground \#d9d9d9 -bg gray75
    270 
    271   set w_tabset [::blt::tabset $f.ts -relief flat -highlightthickness 0\
    272                         -bd 0 -outerpad 0 -tier 2 -slant right -textside right]
    273   $w_tabset insert end Parameters
    274 
    275   set f1 [frame $w_tabset.f1]
    276  
    277   $w_tabset tab configure "Parameters" -text [mc "Parameters"]\
    278     -window $f1 -fill both -padx 0 -selectbackground \#d9d9d9 -bg gray75
     266  set num_i 1
     267  set lab_i Autocorrelation
     268  $ts insert $num_i $lab_i -text "  [mc $lab_i]  " -background \#d9d9d9
     269  set tab_i [$ts getframe $lab_i]
     270  $tab_i configure -borderwidth 2 -background \#d9d9d9 
     271  set f [frame $tab_i.f]
     272  pack $tab_i.f -fill both -expand yes
     273   
     274  set w_tabset [NoteBook $f.nb -tabbevelsize 8 -tabpady {2 6} -font {Arial 8}]
     275  set num_i 0
     276  set lab_i Parameters
     277  $w_tabset insert $num_i $lab_i -text "  [mc $lab_i]  " -background \#d9d9d9
     278  set tab_i [$w_tabset getframe $lab_i]
     279  $tab_i configure -borderwidth 2 -background \#d9d9d9
     280  set f1 [frame $tab_i.f]
     281  pack $tab_i.f -fill both -expand yes 
     282  $w_tabset raise [$w_tabset pages 0]
    279283 
    280284  OptionsGet $this
    … …  
    284288  #OptionsSet   $this
    285289 
     290  $w_tabset compute_size
    286291  grid $w_tabset -sticky news 
    287292  grid rowconfigure    $f 0 -weight 1
Note: See TracChangeset for help on using the changeset viewer.