Changeset c00d7f5 in tol for tolbase/lib


Ignore:
Timestamp:
Jan 20, 2012, 10:40:45 PM (15 years ago)
Author:
Jorge Pérez <josp.jorge@…>
Branches:
1941-docker-image-to-test, devel, master
Children:
3a334fd
Parents:
7f06c56
Message:

refs #1396, recuperamos algunas opciones de menu contextual, el cambio de fuente solo se aplica al estilo normal, hay que revisar todavía el cambio de fuente

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

File:
1 edited

Legend:

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

    r7f06c56 rc00d7f5  
    9797}
    9898
     99proc ::TolConsole::MarkupMenu { w } {
     100  set m [ menu $w.m -tearoff 0 ]
     101 
     102  $m add command -label "[mc Find]..." -accelerator CTRL+F \
     103          -command [ list ::BayesText::FindShow $w ]
     104  $m add command -label [mc "Copy"] -accelerator CTRL+C \
     105          -command [list ::BayesText::Copy $w]
     106  $m add command -label [mc "Select all"] -accelerator CTRL+E \
     107          -command [list ::BayesText::SelectAll $w]
     108  $m add command -label "[mc Font]..." -accelerator CTRL+T \
     109          -command [list ::BayesText::FontChange $w]
     110
     111  bind $w <Button-3> "tk_popup $m %X %Y"
     112
     113 
     114}
     115
    99116#/////////////////////////////////////////////////////////////////////////////
    100117proc ::TolConsole::Create { w } {
    … …  
    209226  set widgets(info,markupviewer) [ markupviewer $w_tabset.mv \
    210227                                       -db $data(notebookdb) -showtitle 0 ]
     228
     229  MarkupMenu $widgets(info,markupviewer)
    211230
    212231  set def_font [$w_info cget -font]
Note: See TracChangeset for help on using the changeset viewer.