Functions | |
def | build_attr_string (attrs, supported=True) |
def | colour_supported (term) |
def | dict_to_nvlist (dict) |
def | filtered (path, filter) |
def | get_num_columns_and_rows (widths, gap_width, term_width) |
def | get_terminal_size () |
def | nvlist_to_dict (nvlist) |
def | trim_filter (filter, levels=1) |
Variables | |
dictionary | term_attributes |
API functions. More... | |
def rtctree.utils.build_attr_string | ( | attrs, | |
supported = True |
|||
) |
def rtctree.utils.dict_to_nvlist | ( | dict | ) |
def rtctree.utils.filtered | ( | path, | |
filter | |||
) |
Check if a path is removed by a filter. Check if a path is in the provided set of paths, @ref filter. If none of the paths in filter begin with @ref path, then True is returned to indicate that the path is filtered out. If @ref path is longer than the filter, and starts with the filter, it is considered unfiltered (all paths below a filter are unfiltered). An empty filter ([]) is treated as not filtering any.
def rtctree.utils.get_num_columns_and_rows | ( | widths, | |
gap_width, | |||
term_width | |||
) |
def rtctree.utils.get_terminal_size | ( | ) |
def rtctree.utils.nvlist_to_dict | ( | nvlist | ) |
def rtctree.utils.trim_filter | ( | filter, | |
levels = 1 |
|||
) |
dictionary rtctree.utils.term_attributes |
API functions.