  foreach labf {labf1 labf2} {
                    LabelFrame::configure $topf.$labf -background $bg
                    set subf [LabelFrame::getframe $topf.$labf]
                    ScrolledWindow::configure $subf.sw -background $bg
                    $subf.sw.lb configure -background $bg
                }
                LabelFrame::configure $topf.labf3 -background $bg
                set subf [LabelFrame::getframe $topf.labf3]
                foreach w [winfo children $subf] {
                    $w configure -background $bg
                }
            }

            "toolbar" {
                $path configure -background $bg
                ComboBox::configure $path.font -background $bg
                ComboBox::configure $path.size -background $bg
                foreach st $_styles {
                    $path.$st configure -background $bg
                }
            }
        }
    }
    return $res
}


# ----------------------------------------------------------------------------
#  Command SelectFont::cget
# ----------------------------------------------------------------------------
proc SelectFont::cget { path option } {
    return [Widget::cget "$path#SelectFont" $option]
}


# ----------------------------------------------------------------------------
#  Command SelectFont::loadfont
# ----------------------------------------------------------------------------
proc SelectFont::loadfont {{which all}} {
    variable _families

    # initialize families
    if {![info exists _families(all)]} {
	set _families(all) [lsort -dictionary [font families]]
    }

    if {[regexp {fixed|variable} $which] && ![info exists _families($which)]} {
	# initialize families
	set _families(fixed) {}
	set _families(variable) {}
	foreach family $_families(all) {
	    if { [font metrics [list $family] -fixed] } {
		lappend _families(fixed) $family
	    } else {
		lappend _families(variable) $family
	    }
	}
    }
    return
}


proc SelectFont::_update_family { path listbox } {
    set sel [$listbox curselection]
    Widget::setoption $path#SelectFont -family [$listbox get $sel]

    _update $path
}


proc SelectFont::_update_size { path listbox } {
    set sel [$listbox curselection]
    Widget::setoption $path#SelectFont -size [$listbox get $sel]

    _update $path
}


# ----------------------------------------------------------------------------
#  Command SelectFont::_update_style
# ----------------------------------------------------------------------------
proc SelectFont::_update_style { path style } {
    Widget::getVariable $path#SelectFont data

    if { $data($style) == 1 } {
        $path.$style configure -relief raised
        set data($style) 0
    } else {
        $path.$style configure -relief sunken
        set data($style) 1
    }

    _update $path
}


# ----------------------------------------------------------------------------
#  Command SelectFont::_update
# ----------------------------------------------------------------------------
proc SelectFont::_update { path } {
    variable _families
    variable _sizes
    variable _styleOff

    set widg $path#SelectFont

    Widget::getVariable $widg data

    set type    [Widget::getoption $widg -type]
    set size    [Widget::getoption $widg -size]
    set family  [Widget::getoption $widg -family]
    set _styles [Widget::getoption $widg -styles]

    set font    [list $family $size]

    if {[Widget::getoption $widg -querysystem]} {
	set 