Role Playing Database (API Documentation) 3.1.3

Public Member Functions | List of all members
RolePlayingDB3::LabeledDirTree Class Reference

## Public Member Functions
| itemcget (node, option)
| redrawdirtree ()
| binditem (what, sequence, script)
| LabeledDirTree (...)

## Detailed Description

Labeled Directory Tree Widget

## Constructor & Destructor Documentation

## ◆ LabeledDirTree()

RolePlayingDB3::LabeledDirTree::LabeledDirTree | ( |  | ... | ) |

Constructor. Build the widget.

Parameters

  widgetpath | The widget path.
  ... | Options: -auto Passed to the scrolling window. -scrollbar Passed to the scrolling window. -showextension Show the file's extension. -directory The root directory. -filepattern The file pattern to use. -sortfunction Sorting function. -opendirs Open dirs initially or not. -nofiles Controls whether to include files or not. -label Label text for the widget.

## Member Function Documentation

## ◆ binditem()

RolePlayingDB3::LabeledDirTree::binditem | ( | what | ,
|  | sequence | ,
|  | script |
| ) |  |

Bind events to items

Parameters

  what | What tag to bind to.
  sequence | Sequence to bind.
  script | Strict to bind.

## ◆ itemcget()

RolePlayingDB3::LabeledDirTree::itemcget | ( | node | ,
|  | option |
| ) |  |

Gets an option from an item.

Parameters

  node | Item to get an option from.
  option | The option to fetch.

Returns
  The option value.

Exceptions

  Unsupported-Option | For unsupported options.

## ◆ redrawdirtree()

RolePlayingDB3::LabeledDirTree::redrawdirtree | ( |  | ) |

Redraw directory tree

The documentation for this class was generated from the following file:

- RPGUtilities.tcl