listbox.tcl
This file is part of Unifix BWidget Toolkit
$Id: listbox.tcl,v 1.9 2002/09/11 19:33:01 hobbs Exp $
Index of commands:
- ListBox::create
- ListBox::configure
- ListBox::cget
- ListBox::insert
- ListBox::itemconfigure
- ListBox::itemcget
- ListBox::bindText
- ListBox::bindImage
- ListBox::delete
- ListBox::move
- ListBox::reorder
- ListBox::selection
- ListBox::exists
- ListBox::index
- ListBox::item - deprecated
- ListBox::items
- ListBox::see
- ListBox::edit
- ListBox::xview
- ListBox::yview
- ListBox::_update_edit_size
- ListBox::_destroy
- ListBox::_see
- ListBox::_update_scrollregion
- ListBox::_draw_item
- ListBox::_redraw_items
- ListBox::_redraw_selection
- ListBox::_redraw_listbox
- ListBox::_redraw_idle
- ListBox::_resize
- ListBox::_init_drag_cmd
- ListBox::_drop_cmd
- ListBox::_over_cmd
- ListBox::_auto_scroll
- ListBox::_scroll
| ListBox | |
| Comments | JDC: added -selectmode |
| Arguments | |
| Used by | |
| Uses | |
namespace eval ListBox { |
|
| ListBox::_auto_scroll | |
| Comments | Command ListBox::_auto_scroll |
| Arguments | path x y |
| Used by | |
| Uses | DropSite::setcursor ListBox::_scroll |
proc ListBox::_auto_scroll { path x y } { |
|
| ListBox::_destroy | |
| Comments | Command ListBox::_destroy |
| Arguments | path |
| Used by | |
| Uses | Widget::destroy |
proc ListBox::_destroy { path } { |
|
| ListBox::_draw_item | |
| Comments | Command ListBox::_draw_item |
| Arguments | path item x0 x1 y |
| Used by | |
| Uses | Widget::getoption |
proc ListBox::_draw_item { path item x0 x1 y } { |
|
| ListBox::_drop_cmd | |
| Comments | Command ListBox::_drop_cmd |
| Arguments | path source X Y op type dnddata |
| Used by | ListBox::create ListBox::configure |
| Uses | Widget::getoption |
proc ListBox::_drop_cmd { path source X Y op type dnddata } { |
|
| ListBox::_getoption | |
| Comments | Command ListBox::_getoption Returns the value of option for node. If empty, returned value is those of the ListBox. |
| Arguments | path item option |
| Used by | |
| Uses | Widget::getoption |
proc ListBox::_getoption { path item option } { |
|
| ListBox::_init_drag_cmd | |
| Comments | Command ListBox::_init_drag_cmd |
| Arguments | path X Y top |
| Used by | ListBox::create ListBox::configure |
| Uses | Widget::getoption |
proc ListBox::_init_drag_cmd { path X Y top } { |
|
| ListBox::_multiple_select | |
| Comments | Command ListBox::_multiple_select |
| Arguments | path mode x y idx |
| Used by | ListBox::create |
| Uses | |
proc ListBox::_multiple_select { path mode x y idx } { |
|
| ListBox::_over_cmd | |
| Comments | Command ListBox::_over_cmd |
| Arguments | path source event X Y op type dnddata |
| Used by | ListBox::create ListBox::configure |
| Uses | Widget::getoption DropSite::setcursor |
proc ListBox::_over_cmd { path source event X Y op type dnddata } { |
|
| ListBox::_redraw_idle | |
| Comments | Command ListBox::_redraw_idle |
| Arguments | path level |
| Used by | |
| Uses | Widget::getoption ListBox::_redraw_listbox |
proc ListBox::_redraw_idle { path level } { |
|
| ListBox::_redraw_items | |
| Comments | Command ListBox::_redraw_items |
| Arguments | path |
| Used by | |
| Uses | Widget::getoption |
proc ListBox::_redraw_items { path } { |
|
| ListBox::_redraw_listbox | |
| Comments | Command ListBox::_redraw_listbox |
| Arguments | path |
| Used by | ListBox::_resize ListBox::_redraw_idle |
| Uses | Widget::getoption |
proc ListBox::_redraw_listbox { path } { |
|
| ListBox::_redraw_selection | |
| Comments | Command ListBox::_redraw_selection |
| Arguments | path |
| Used by | |
| Uses | Widget::getoption |
proc ListBox::_redraw_selection { path } { |
|
| ListBox::_resize | |
| Comments | Command ListBox::_resize |
| Arguments | path |
| Used by | |
| Uses | ListBox::_redraw_listbox Widget::getoption |
proc ListBox::_resize { path } { |
|
| ListBox::_scroll | |
| Comments | Command ListBox::_scroll |
| Arguments | path cmd dir |
| Used by | ListBox::_auto_scroll ListBox::_scroll |
| Uses | DropSite::setcursor ListBox::_scroll |
proc ListBox::_scroll { path cmd dir } { |
|
| ListBox::_see | |
| Comments | Command ListBox::_see |
| Arguments | path idn side |
| Used by | ListBox::see ListBox::edit |
| Uses | |
proc ListBox::_see { path idn side } { |
|
| ListBox::_update_edit_size | |
| Comments | Command ListBox::_update_edit_size |
| Arguments | path entry idw wmax args |
| Used by | |
| Uses | |
proc ListBox::_update_edit_size { path entry idw wmax args } { |
|
| ListBox::_update_scrollregion | |
| Comments | Command ListBox::_update_scrollregion |
| Arguments | path |
| Used by | |
| Uses | |
proc ListBox::_update_scrollregion { path } { |
|
| ListBox::bindImage | |
| Comments | Command ListBox::bindImage |
| Arguments | path event script |
| Used by | |
| Uses | |
proc ListBox::bindImage { path event script } { |
|
| ListBox::bindText | |
| Comments | Command ListBox::bindText |
| Arguments | path event script |
| Used by | |
| Uses | |
proc ListBox::bindText { path event script } { |
|
| ListBox::cget | |
| Comments | Command ListBox::cget |
| Arguments | path option |
| Used by | |
| Uses | Widget::cget |
proc ListBox::cget { path option } { |
|
| ListBox::configure | |
| Comments | Command ListBox::configure |
| Arguments | path args |
| Used by | |
| Uses | DragSite::setdrag Widget::configure ListBox::_over_cmd DropSite::setdrop Widget::hasChanged ListBox::_init_drag_cmd ListBox::_drop_cmd |
proc ListBox::configure { path args } { |
|
| ListBox::create | |
| Comments | Command ListBox::create |
| Arguments | path args |
| Used by | |
| Uses | Widget::init DragSite::setdrag ListBox::_init_drag_cmd Widget::subcget ListBox::_multiple_select ListBox::_over_cmd Widget::cget DropSite::setdrop Widget::getoption ListBox::_drop_cmd |
proc ListBox::create { path args } { |
|
| ListBox::delete | |
| Comments | Command ListBox::delete |
| Arguments | path args |
| Used by | |
| Uses | Widget::destroy |
proc ListBox::delete { path args } { |
|
| ListBox::edit | |
| Comments | Command ListBox::edit |
| Arguments | path item text verifycmd clickres select |
| Used by | |
| Uses | Widget::getoption ListBox::_see BWidget::focus |
proc ListBox::edit { path item text {verifycmd ""} {clickres 0} {select 1}} { |
|
| ListBox::exists | |
| Comments | Command ListBox::exists |
| Arguments | path item |
| Used by | |
| Uses | |
proc ListBox::exists { path item } { |
|
| ListBox::find | |
| Comments | ListBox::find Returns the item given a position. findInfo @x,y ?confine? lineNumber |
| Arguments | path findInfo confine |
| Used by | |
| Uses | Widget::getoption |
proc ListBox::find {path findInfo {confine ""}} { |
|
| ListBox::index | |
| Comments | Command ListBox::index |
| Arguments | path item |
| Used by | |
| Uses | |
proc ListBox::index { path item } { |
|
| ListBox::insert | |
| Comments | Command ListBox::insert |
| Arguments | path index item args |
| Used by | |
| Uses | Widget::init |
proc ListBox::insert { path index item args } { |
|
| ListBox::item | |
| Comments | Command ListBox::item - deprecated |
| Arguments | path first last |
| Used by | |
| Uses | |
proc ListBox::item { path first {last ""} } { |
|
| ListBox::itemcget | |
| Comments | Command ListBox::itemcget |
| Arguments | path item option |
| Used by | |
| Uses | Widget::cget |
proc ListBox::itemcget { path item option } { |
|
| ListBox::itemconfigure | |
| Comments | Command ListBox::itemconfigure |
| Arguments | path item args |
| Used by | |
| Uses | Widget::configure Widget::hasChanged Widget::getoption |
proc ListBox::itemconfigure { path item args } { |
|
| ListBox::items | |
| Comments | Command ListBox::items |
| Arguments | path first last |
| Used by | |
| Uses | |
proc ListBox::items { path {first ""} {last ""}} { |
|
| ListBox::move | |
| Comments | Command ListBox::move |
| Arguments | path item index |
| Used by | |
| Uses | |
proc ListBox::move { path item index } { |
|
| ListBox::multipleinsert | |
| Comments | Bastien Chevreux (bach@mwgdna.com) The multipleinsert command performs inserts several items at once into the list. It is faster than calling insert multiple times as it uses the Widget::copyinit command for initializing all items after the 1st. The speedup factor is between 2 and 3 for typical usage, but could be higher for inserts with many options. Syntax: path and index are as in the insert command args is a list of even numbered elements where the 1st of each pair corresponds to the item of 'insert' and the second to args of 'insert'. Command ListBox::multipleinsert |
| Arguments | path index args |
| Used by | |
| Uses | Widget::init Widget::copyinit |
proc ListBox::multipleinsert { path index args } { |
|
| ListBox::reorder | |
| Comments | Command ListBox::reorder |
| Arguments | path neworder |
| Used by | |
| Uses | BWidget::lreorder |
proc ListBox::reorder { path neworder } { |
|
| ListBox::see | |
| Comments | Command ListBox::see |
| Arguments | path item |
| Used by | |
| Uses | Widget::getoption ListBox::_see |
proc ListBox::see { path item } { |
|
| ListBox::selection | |
| Comments | Command ListBox::selection |
| Arguments | path cmd args |
| Used by | |
| Uses | |
proc ListBox::selection { path cmd args } { |
|
| ListBox::xview | |
| Comments | Command ListBox::xview |
| Arguments | path args |
| Used by | |
| Uses | |
proc ListBox::xview { path args } { |
|
| ListBox::yview | |
| Comments | Command ListBox::yview |
| Arguments | path args |
| Used by | |
| Uses | |
proc ListBox::yview { path args } { |
|