Package libxyz :: Package ui :: Module utils
[hide private]
[frames] | no frames]

Module utils

source code

Functions [hide private]
 
refresh(func)
Invalidate canvas after calling function
source code
 
truncate(text, cols, enc=None, backward=False)
Truncate text if its length exceeds cols If backward is True, text will be truncated from the beginning
source code