Role Playing Database (API Documentation)  3.1.2
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
widgetpathThe 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
whatWhat tag to bind to.
sequenceSequence to bind.
scriptStrict to bind.

◆ itemcget()

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

Gets an option from an item.

Parameters
nodeItem to get an option from.
optionThe option to fetch.
Returns
The option value.
Exceptions
Unsupported-OptionFor unsupported options.

◆ redrawdirtree()

RolePlayingDB3::LabeledDirTree::redrawdirtree ( )

Redraw directory tree


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