+2004-03-01 Jeff Hobbs <jeffh@ActiveState.com>
+
+ * tkcon.tcl: correct 'exit' in extra tabs.
+ make tkconfixed font Courier -12 (was Courier 10), use it on unix.
+ Add extra space for OS X/Aqua in statusbar (for resize handle).
+ Only use -overrelief in 8.4
+
2004-02-12 Jeff Hobbs <jeffh@ActiveState.com>
* tkcon.tcl (::tkcon::InitUI): check existence of tcl_platform(os)
}
set PRIV(base) $w
- catch {font create tkconfixed -family Courier -size 10}
+ catch {font create tkconfixed -family Courier -size -12}
set PRIV(statusbar) [set sbar [frame $w.fstatus]]
set PRIV(tabframe) [frame $sbar.tabs]
grid $sbar.tabs $sbar.cursor -sticky ew -padx $padx
grid configure $sbar.tabs -sticky nsw
grid columnconfigure $sbar 0 -weight 1
+ if {$::tcl_version >= 8.4 && [tk windowingsystem] == "aqua"} {
+ # give space for the corner resize handle
+ grid columnconfigure $sbar 2 -minsize 20
+ }
## Create console tab
set con [InitTab $w]
$con configure -font tkconfixed
}
} else {
- $con configure -font fixed
+ $con configure -font tkconfixed
}
set OPT(font) [$con cget -font]
bindtags $con [list $con TkConsole TkConsolePost $PRIV(root) all]
variable ATTACH
set numtabs [llength $PRIV(tabs)]
- if {$numtabs == 1} { return }
+ #if {$numtabs == 1} { return }
if {[regexp {^[0-9]+$} $con]} {
set curtab [lsearch -exact $PRIV(tabs) $PRIV(console)]
-yscrollcommand [list $t.lrsy set]
scrollbar $t.llsy -bd 1 -command [list $t.loadable yview]
scrollbar $t.lrsy -bd 1 -command [list $t.loaded yview]
- button $t.load -bd 1 -text ">>" -relief flat -overrelief raised \
+ button $t.load -bd 1 -text ">>" \
-command [list ::tkcon::InterpPkgLoad $app $type $t.loadable]
+ if {$::tcl_version >= 8.4} {
+ $t.load configure -relief flat -overrelief raised
+ }
set f [frame $t.btns]
button $f.refresh -width 8 -text "Refresh" -command [info level 0]