Role Playing Database (API Documentation)  3.1.2
Public Member Functions | List of all members
RolePlayingDB3::ScrolledList Class Reference

Public Member Functions

 items ()
 
 itemcget (item, option)
 
 insert (where,...)
 
 ScrolledList (...)
 

Detailed Description

Scrolled Listbox many ttk::treeview methods passed through to the list, otherwise methods to simulate BWindget List are provided.

Constructor & Destructor Documentation

◆ ScrolledList()

RolePlayingDB3::ScrolledList::ScrolledList (   ...)

Constructor – build a scrolled list box.

Parameters
widgetpath
...Options:
  • -auto Passed to scroll window.
  • -scrollbar Passed to scroll window.
All of the options (except -xscrollcommand, -yscrollcommand,
-show, -columns, and -displaycolumns) that the ttk::treeview command takes.

Member Function Documentation

◆ insert()

RolePlayingDB3::ScrolledList::insert ( where  ,
  ... 
)

Insert an item at a specified location.

Parameters
whereIndex to insert at (end == at the end).
...Options: passed through to ttk::treview's insert method.

◆ itemcget()

RolePlayingDB3::ScrolledList::itemcget ( item  ,
option   
)

Get an item's property

Parameters
itemItem id.
optionThe option to fetch.
Returns
the item property.

◆ items()

RolePlayingDB3::ScrolledList::items ( )

Return a list of item ids in the list

Returns
a list of item ids.

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