CorsixTH Lua Documentation

FilteredTreeControl Class

A sortable tree control that accomodates a certain file type and also possibly shows their last modification dates.

Declared on: line 78 of Lua/dialogs/resizables/file_browser.lua.
Inheritance: FilteredTreeControl » TreeControl » Window

Method Index

Member Index

(*) only used in superclass methods
function FilteredTreeControl:FilteredTreeControl(root, x, y, width, height, col_bg, col_fg, has_font, show_dates)

Parameters:

NameTypeDescription
root ? ?
x ? ?
y ? ?
width ? ?
height ? ?
col_bg ? ?
col_fg ? ?
has_font ? ?
show_dates ? ?

Declared on: line 82 of Lua/dialogs/resizables/file_browser.lua.

function FilteredTreeControl:drawExtraOnRow(canvas, node, x, y)

Parameters:

NameTypeDescription
canvas ? ?
node ? ?
x ? ?
y ? ?

Overrides: TreeControl:drawExtraOnRow.
Declared on: line 137 of Lua/dialogs/resizables/file_browser.lua.

function FilteredTreeControl:sortBy(sort_by, order)

Sorts the list according to the given parameters.

Parameters:

NameTypeDescription
sort_by ? Either "name" or "date".
order ? Either "ascending" or "descending"

Declared on: line 113 of Lua/dialogs/resizables/file_browser.lua.

Page generated on Sat Feb 07, 2015 at 18:38:28 by LDocGen.