utils.tcl
This file is part of Unifix BWidget Toolkit
$Id: utils.tcl,v 1.5 2002/01/28 21:56:32 patthoyts Exp $
Index of commands:
- GlobalVar::exists
- GlobalVar::setvarvar
- GlobalVar::getvarvar
- BWidget::assert
- BWidget::clonename
- BWidget::get3dcolor
- BWidget::XLFDfont
- BWidget::place
- BWidget::grab
- BWidget::focus
| BWidget | |
| Comments | |
| Arguments | |
| Used by | |
| Uses | |
namespace eval BWidget { |
|
| BWidget::XLFDfont | |
| Comments | Command BWidget::XLFDfont |
| Arguments | cmd args |
| Used by | |
| Uses | |
proc BWidget::XLFDfont { cmd args } { |
|
| BWidget::assert | |
| Comments | Command BWidget::assert |
| Arguments | exp msg |
| Used by | |
| Uses | |
proc BWidget::assert { exp {msg ""}} { |
|
| BWidget::clonename | |
| Comments | Command BWidget::clonename |
| Arguments | menu |
| Used by | DynamicHelp::register |
| Uses | |
proc BWidget::clonename { menu } { |
|
| BWidget::focus | |
| Comments | Command BWidget::focus |
| Arguments | option path |
| Used by | Tree::edit ComboBox::_mapliste Dialog::withdraw Dialog::draw Dialog::_destroy ListBox::edit DragSite::_init_drag ComboBox::_unmapliste DragSite::_end_drag |
| Uses | |
proc BWidget::focus { option path } { |
|
| BWidget::get3dcolor | |
| Comments | Command BWidget::get3dcolor |
| Arguments | path bgcolor |
| Used by | NoteBook::configure ArrowButton::_redraw_relief NoteBook::create |
| Uses | |
proc BWidget::get3dcolor { path bgcolor } { |
|
| BWidget::getname | |
| Comments | Command BWidget::getname |
| Arguments | name |
| Used by | Button::configure Button::create BWLabel::create SelectFont::create SelectColor::dialog BWLabel::configure |
| Uses | |
proc BWidget::getname { name } { |
|
| BWidget::grab | |
| Comments | Command BWidget::grab |
| Arguments | option path |
| Used by | Dialog::_destroy ComboBox::_unmapliste DragSite::_end_drag Dialog::draw SelectColor::menu ComboBox::_mapliste ProgressDlg::create Dialog::withdraw DragSite::_init_drag |
| Uses | |
proc BWidget::grab { option path } { |
|
| BWidget::lreorder | |
| Comments | Command BWidget::lreorder |
| Arguments | list neworder |
| Used by | Tree::reorder ListBox::reorder |
| Uses | |
proc BWidget::lreorder { list neworder } { |
|
| BWidget::parsetext | |
| Comments | Command BWidget::parsetext |
| Arguments | text |
| Used by | |
| Uses | |
proc BWidget::parsetext { text } { |
|
| BWidget::place | |
| Comments | Command BWidget::place Notes: For Windows systems with more than one monitor the available screen area may have negative positions. Geometry settings with negative numbers are used under X to place wrt the right or bottom of the screen. On windows, Tk continues to do this. However, a geometry such as 100x100+-200-100 can be used to place a window onto a secondary monitor. Passing the + gets Tk to pass the remainder unchanged so the Windows manager then handles -200 which is a position on the left hand monitor. I've tested this for left, right, above and below the primary monitor. Currently there is no way to ask Tk the extent of the Windows desktop in a multi monitor system. Nor what the legal co-ordinate range might be. |
| Arguments | path w h args |
| Used by | SelectColor::menu ComboBox::_mapliste Dialog::draw |
| Uses | |
proc BWidget::place { path w h args } { |
|
| BWidget::refocus | |
| Comments | BWidget::refocus -- Helper function used to redirect focus from a container frame in a megawidget to a component widget. Only redirects focus if focus is already on the container. Arguments: container container widget to redirect from. component component widget to redirect to. Results: None. |
| Arguments | container component |
| Used by | Tree::create |
| Uses | |
proc BWidget::refocus {container component} { |
|
| GlobalVar | |
| Comments | |
| Arguments | |
| Used by | |
| Uses | |
namespace eval GlobalVar { |
|
| GlobalVar::exists | |
| Comments | Command GlobalVar::exists |
| Arguments | varName |
| Used by | ProgressBar::_modify |
| Uses | |
proc GlobalVar::exists { varName } { |
|
| GlobalVar::getvar | |
| Comments | Command GlobalVar::getvar |
| Arguments | varName |
| Used by | ProgressBar::_modify DynamicHelp::_motion_info |
| Uses | |
proc GlobalVar::getvar { varName } { |
|
| GlobalVar::setvar | |
| Comments | Command GlobalVar::setvar |
| Arguments | varName value |
| Used by | DynamicHelp::_menu_info DynamicHelp::_leave_info DynamicHelp::_motion_info BWLabel::_drop_cmd |
| Uses | |
proc GlobalVar::setvar { varName value } { |
|
| GlobalVar::tracevar | |
| Comments | Command GlobalVar::tracevar |
| Arguments | cmd varName args |
| Used by | ProgressBar::configure ProgressBar::_destroy ProgressBar::create |
| Uses | |
proc GlobalVar::tracevar { cmd varName args } { |
|